From 6dc6578481ce4f7259fa318ce360998578513cab Mon Sep 17 00:00:00 2001 From: Damien <damien.burel@maarch.org> Date: Tue, 13 Mar 2018 14:15:04 +0100 Subject: [PATCH] FEAT #134 Angular Cli : Performance is Coming --- .angular-cli.json | 26 + ...ministration-settings-modal.component.html | 9 +- .../entity-administration.component.html | 12 - .../Views/header.component.html | 53 - .../css/jstree-custom.min.css | 2 +- apps/maarch_entreprise/define.php | 34 - apps/maarch_entreprise/index.php | 17 - .../action-administration.component.js | 0 .../action-administration.component.ts | 2 +- .../actions-administration.component.js | 0 .../actions-administration.component.ts | 2 +- .../administration-routing.module.js | 2 +- .../administration-routing.module.ts | 5 +- .../administration.component.js | 0 .../administration.component.ts | 2 +- .../administration/administration.module.ts | 4 +- .../basket-administration.component.ts | 7 +- .../baskets-administration.component.ts | 2 +- ...diffusionModel-administration.component.ts | 2 +- ...iffusionModels-administration.component.ts | 2 +- .../doctypes-administration.component.ts | 11 +- .../entities-administration.component.ts | 11 +- .../entity-administration.component.js | 104 - .../entity-administration.component.ts | 102 - .../group-administration.component.ts | 2 +- .../groups-administration.component.ts | 4 +- .../history-administration.component.ts | 3 +- .../historyBatch-administration.component.ts | 3 +- .../notification-administration.component.ts | 2 +- .../notifications-administration.component.ts | 4 +- ...tions-schedule-administration.component.ts | 2 +- .../parameter-administration.component.js | 0 .../parameter-administration.component.ts | 2 +- .../parameters-administration.component.js | 0 .../parameters-administration.component.ts | 2 +- .../priorities-administration.component.js | 0 .../priorities-administration.component.ts | 2 +- .../priority-administration.component.js | 0 .../priority-administration.component.ts | 2 +- .../reports-administration.component.js | 0 .../reports-administration.component.ts | 2 +- .../status-administration.component.js | 0 .../status-administration.component.ts | 4 +- .../statuses-administration.component.js | 0 .../statuses-administration.component.ts | 18 +- .../update-status-administration.component.ts | 7 +- .../user-administration.component.js | 0 .../user-administration.component.ts | 4 +- .../users-administration.component.js | 0 .../users-administration.component.ts | 6 +- .../js/angular/app/app-routing.module.ts | 4 +- .../js/angular/app/app.component.js | 9 +- .../js/angular/app/app.component.ts | 11 +- .../js/angular/app/app.module.js | 12 +- .../js/angular/app/app.module.ts | 2 - .../js/angular/app/header.component.js | 62 - .../js/angular/app/header.component.ts | 60 - .../js/angular/app/menu/menu-nav.component.js | 2 +- .../js/angular/app/menu/menu-nav.component.ts | 2 +- .../js/angular/app/menu/menu.component.js | 2 +- .../js/angular/app/menu/menu.component.ts | 2 +- .../js/angular/app/profile.component.js | 6 +- .../js/angular/app/profile.component.ts | 6 +- .../angular/app/signature-book.component.js | 2 +- .../angular/app/signature-book.component.ts | 2 +- apps/maarch_entreprise/js/angular/index.html | 13 + .../js/angular/main.bundle.min.js | 1 - .../js/angular/systemjs.config.js | 70 - .../js/angular/tsconfig.app.json | 12 + apps/maarch_entreprise/js/angularFunctions.js | 93 +- package-lock.json | 5905 +++++++++++++++-- package.json | 13 +- rest/index.php | 2 +- src/core/controllers/CoreController.php | 22 +- 74 files changed, 5400 insertions(+), 1395 deletions(-) create mode 100644 .angular-cli.json delete mode 100644 apps/maarch_entreprise/Views/entity-administration.component.html delete mode 100755 apps/maarch_entreprise/Views/header.component.html delete mode 100755 apps/maarch_entreprise/define.php mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/action-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/administration.module.ts delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.js delete mode 100644 apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/status-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/status-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/user-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/user-administration.component.ts mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/users-administration.component.js mode change 100755 => 100644 apps/maarch_entreprise/js/angular/app/administration/users-administration.component.ts delete mode 100755 apps/maarch_entreprise/js/angular/app/header.component.js delete mode 100755 apps/maarch_entreprise/js/angular/app/header.component.ts create mode 100644 apps/maarch_entreprise/js/angular/index.html delete mode 100755 apps/maarch_entreprise/js/angular/main.bundle.min.js delete mode 100755 apps/maarch_entreprise/js/angular/systemjs.config.js create mode 100644 apps/maarch_entreprise/js/angular/tsconfig.app.json diff --git a/.angular-cli.json b/.angular-cli.json new file mode 100644 index 00000000000..205b6e9a46b --- /dev/null +++ b/.angular-cli.json @@ -0,0 +1,26 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "project": { + "name": "maarchCourrier" + }, + "apps": [ + { + "root": "apps/maarch_entreprise/js/angular", + "outDir": "dist", + "assets": [ + "assets", + "favicon.ico" + ], + "index": "index.html", + "main": "main.ts", + "prefix": "app", + "styles": [ + ], + "scripts": [] + } + ], + "defaults": { + "styleExt": "css", + "component": {} + } +} diff --git a/apps/maarch_entreprise/Views/basket-administration-settings-modal.component.html b/apps/maarch_entreprise/Views/basket-administration-settings-modal.component.html index 60c820d3376..4a8f01c4e7e 100644 --- a/apps/maarch_entreprise/Views/basket-administration-settings-modal.component.html +++ b/apps/maarch_entreprise/Views/basket-administration-settings-modal.component.html @@ -13,7 +13,14 @@ [(ngModel)]="data.action.used_in_basketlist">{{lang.usedInBasketlist}}</mat-checkbox> </div> </div> - <mat-tab-group [(selectedIndex)]="selectedTabIndex_1"> + <mat-form-field style="margin-top:5px;"> + <mat-select id="actionPages" name="actionPages" placeholder="{{lang.resultPages}}" [(ngModel)]="data.group.result_page"> + <mat-option *ngFor="let page of data.pages" [value]="page.id"> + {{page.label}} + </mat-option> + </mat-select> + </mat-form-field> + <mat-tab-group> <mat-tab *ngIf="data.action.keyword == 'redirect'||data.action.keyword == 'indexing'"> <ng-template mat-tab-label *ngIf="data.action.keyword == 'redirect'"> {{lang.redirects}} diff --git a/apps/maarch_entreprise/Views/entity-administration.component.html b/apps/maarch_entreprise/Views/entity-administration.component.html deleted file mode 100644 index c5d204d5c49..00000000000 --- a/apps/maarch_entreprise/Views/entity-administration.component.html +++ /dev/null @@ -1,12 +0,0 @@ -<div class="page-header"> -</div> -<div *ngIf="loading"> - <mat-spinner style="margin:auto;"></mat-spinner> -</div> -<div *ngIf="!loading" class="container-fluid"> - <div class="row row-eq-height"> - <div class="col-md-offset-4 col-md-4" style="border-left:solid 1px white;border-right:solid 1px white;background-color: #CEE9F1;border-top: solid 2px #FDD16C;border-bottom: solid 2px #FDD16C;padding:10px;"> - <h2>Informations</h2> - </div> - </div> -</div> diff --git a/apps/maarch_entreprise/Views/header.component.html b/apps/maarch_entreprise/Views/header.component.html deleted file mode 100755 index 8035954cc35..00000000000 --- a/apps/maarch_entreprise/Views/header.component.html +++ /dev/null @@ -1,53 +0,0 @@ -<md-toolbar color="primary"> - <button tooltip="Menu" tooltip-delay="1000" mat-button matInput [mdMenuTriggerFor]="mySetting">{{applicationName}}</button> - <span id="globalSearch"> - <form class="example-form"> - <mat-form-field> - <button mat-button mdPrefix [mdMenuTriggerFor]="searchTarget"><i class="fa fa-bars fa-2x"></i></button> - <input type="tel" matInput placeholder="Rechercher dans : global"> - </mat-form-field> - </form> - </span> - <span style="flex: 1 1 auto;"></span> - <button tooltip="Administration" tooltip-delay="1000" md-icon-button [mdMenuTriggerFor]="myAdmin"> - <i class="fa fa-cogs fa-2x"></i> - </button> - <button tooltip="Mes notifications" tooltip-delay="1000" md-icon-button [mdMenuTriggerFor]="myNotif"> - <i class="fa fa-bell fa-2x"></i> - <sub class="badge text-warning">0</sub> - </button> - <button tooltip="Mes paramètres" tooltip-delay="1000" md-icon-button [mdMenuTriggerFor]="myProfil"> - <i class="fa fa-user fa-2x"></i> - </button> - <md-menu #mySetting="mdMenu"> - <button *ngFor="let menu of menuList" routerLink="{{menu.link}}" md-menu-item> - <span><i class="fa {{menu.icon}}"></i> {{menu.label}}</span> - </button> - </md-menu> - <md-menu #myNotif="mdMenu"> - <button md-menu-item disabled> - <span style="opacity:0.5;"><i class="fa fa-times"></i> Aucune notification</span> - </button> - </md-menu> - <md-menu #myProfil="mdMenu"> - <button *ngFor="let profil of profilList" routerLink="{{profil.link}}" md-menu-item> - <span><i class="fa {{profil.style}}"></i> {{profil.label}}</span> - </button> - </md-menu> - <md-menu #myAdmin="mdMenu"> - <button *ngFor="let admin of adminList" routerLink="{{admin.servicepage}}" tooltip="{{admin.comment}}" tooltip-position="before" tooltip-delay="1000" md-menu-item [disabled]="admin.angular == 'false'"> - <span><i class="fa {{admin.style}}"></i> {{admin.name}}</span> - </button> - <button *ngFor="let adminMod of adminListModule" routerLink="{{adminMod.servicepage}}" tooltip="{{adminMod.comment}}" tooltip-position="before" tooltip-delay="1000" md-menu-item [disabled]="adminMod.angular == 'false'"> - <span><i class="fa {{adminMod.style}}"></i> {{adminMod.name}}</span> - </button> - </md-menu> - <md-menu #searchTarget="mdMenu"> - <button md-menu-item> - <span>Courriers</span> - </button> - <button md-menu-item> - <span>Contacts</span> - </button> - </md-menu> -</md-toolbar> diff --git a/apps/maarch_entreprise/css/jstree-custom.min.css b/apps/maarch_entreprise/css/jstree-custom.min.css index 89b68099e7c..a1195a605e2 100644 --- a/apps/maarch_entreprise/css/jstree-custom.min.css +++ b/apps/maarch_entreprise/css/jstree-custom.min.css @@ -1 +1 @@ -.jstree-node,.jstree-children,.jstree-container-ul{display:block;margin:0;padding:0;list-style-type:none;list-style-image:none}.jstree-node{white-space:nowrap}.jstree-anchor{display:inline-block;color:#333;white-space:nowrap;padding:0 4px 0 1px;margin:0;vertical-align:top}.jstree-anchor:focus{outline:0}.jstree-anchor,.jstree-anchor:link,.jstree-anchor:visited,.jstree-anchor:hover,.jstree-anchor:active{text-decoration:none;color:inherit}.jstree-icon{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-icon:empty{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-ocl{cursor:pointer}.jstree-leaf>.jstree-ocl{cursor:default}.jstree .jstree-open>.jstree-children{display:block}.jstree .jstree-closed>.jstree-children,.jstree .jstree-leaf>.jstree-children{display:none}.jstree-anchor>.jstree-themeicon{margin-right:2px}.jstree-no-icons .jstree-themeicon,.jstree-anchor>.jstree-themeicon-hidden{display:none}.jstree-rtl .jstree-anchor{padding:0 1px 0 4px}.jstree-rtl .jstree-anchor>.jstree-themeicon{margin-left:2px;margin-right:0}.jstree-rtl .jstree-node{margin-left:0}.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-wholerow-ul{position:relative;display:inline-block;min-width:100%}.jstree-wholerow-ul .jstree-leaf>.jstree-ocl{cursor:pointer}.jstree-wholerow-ul .jstree-anchor,.jstree-wholerow-ul .jstree-icon{position:relative}.jstree-wholerow-ul .jstree-wholerow{width:100%;cursor:pointer;position:absolute;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vakata-context{display:none}.vakata-context,.vakata-context ul{margin:0;padding:2px;position:absolute;background:#f5f5f5;border:1px solid #979797;-moz-box-shadow:5px 5px 4px -4px #666;-webkit-box-shadow:2px 2px 2px #999;box-shadow:2px 2px 2px #999}.vakata-context ul{list-style:none;left:100%;margin-top:-2.7em;margin-left:-4px}.vakata-context .vakata-context-right ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context li{list-style:none;display:inline}.vakata-context li>a{display:block;padding:0 2em;text-decoration:none;width:auto;color:#000;white-space:nowrap;line-height:2.4em;-moz-text-shadow:1px 1px 0 #fff;-webkit-text-shadow:1px 1px 0 #fff;text-shadow:1px 1px 0 #fff;-moz-border-radius:1px;-webkit-border-radius:1px;border-radius:1px}.vakata-context li>a:hover{position:relative;background-color:#e8eff7;-moz-box-shadow:0 0 2px #0a6aa1;-webkit-box-shadow:0 0 2px #0a6aa1;box-shadow:0 0 2px #0a6aa1}.vakata-context li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAIORI4JlrqN1oMSnmmZDQUAOw==);background-position:right center;background-repeat:no-repeat}.vakata-context li>a:focus{outline:0}.vakata-context .vakata-context-hover>a{position:relative;background-color:#e8eff7;-moz-box-shadow:0 0 2px #0a6aa1;-webkit-box-shadow:0 0 2px #0a6aa1;box-shadow:0 0 2px #0a6aa1}.vakata-context .vakata-context-separator>a,.vakata-context .vakata-context-separator>a:hover{background:#fff;border:0;border-top:1px solid #e2e3e3;height:1px;min-height:1px;max-height:1px;padding:0;margin:0 0 0 2.4em;border-left:1px solid #e0e0e0;-moz-text-shadow:0 0 0 transparent;-webkit-text-shadow:0 0 0 transparent;text-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.vakata-context .vakata-contextmenu-disabled a,.vakata-context .vakata-contextmenu-disabled a:hover{color:silver;background-color:transparent;border:0;box-shadow:0 0 0}.vakata-context li>a>i{text-decoration:none;display:inline-block;width:2.4em;height:2.4em;background:0 0;margin:0 0 0 -2em;vertical-align:top;text-align:center;line-height:2.4em}.vakata-context li>a>i:empty{width:2.4em;line-height:2.4em}.vakata-context li>a .vakata-contextmenu-sep{display:inline-block;width:1px;height:2.4em;background:#fff;margin:0 .5em 0 0;border-left:1px solid #e2e3e3}.vakata-context .vakata-contextmenu-shortcut{font-size:.8em;color:silver;opacity:.5;display:none}.vakata-context-rtl ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context-rtl li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAINjI+AC7rWHIsPtmoxLAA7);background-position:left center;background-repeat:no-repeat}.vakata-context-rtl .vakata-context-separator>a{margin:0 2.4em 0 0;border-left:0;border-right:1px solid #e2e3e3}.vakata-context-rtl .vakata-context-left ul{right:auto;left:100%;margin-left:-4px;margin-right:auto}.vakata-context-rtl li>a>i{margin:0 -2em 0 0}.vakata-context-rtl li>a .vakata-contextmenu-sep{margin:0 0 0 .5em;border-left-color:#fff;background:#e2e3e3}#jstree-marker{position:absolute;top:0;left:0;margin:-5px 0 0 0;padding:0;border-right:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid;width:0;height:0;font-size:0;line-height:0}#jstree-dnd{line-height:16px;margin:0;padding:4px}#jstree-dnd .jstree-icon,#jstree-dnd .jstree-copy{display:inline-block;text-decoration:none;margin:0 2px 0 0;padding:0;width:16px;height:16px}#jstree-dnd .jstree-ok{background:green}#jstree-dnd .jstree-er{background:red}#jstree-dnd .jstree-copy{margin:0 2px}.jstree-proton .jstree-node,.jstree-proton .jstree-icon{background-repeat:no-repeat;background-color:transparent}.jstree-proton .jstree-anchor,.jstree-proton .jstree-wholerow{transition:background-color .15s,box-shadow .15s,color .15s}.jstree-proton .jstree-hovered{background:#76b6ec;color:#fff;border-radius:3px;box-shadow:inset 0 0 1px #76b6ec}.jstree-proton .jstree-clicked{background:#3392e3;color:#fff;border-radius:3px;box-shadow:inset 0 0 1px #3392e3}.jstree-proton .jstree-no-icons .jstree-anchor>.jstree-themeicon{display:none}.jstree-proton .jstree-disabled{background:0 0;color:#666}.jstree-proton .jstree-disabled.jstree-hovered{background:0 0;box-shadow:none}.jstree-proton .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton .jstree-disabled>.jstree-icon{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");-webkit-filter:grayscale(100%)}.jstree-proton .jstree-search{font-style:italic;color:#8b0000;font-weight:700}.jstree-proton .jstree-no-checkboxes .jstree-checkbox{display:none!important}.jstree-proton.jstree-checkbox-no-clicked .jstree-clicked{background:0 0;color:inherit;box-shadow:none}.jstree-proton.jstree-checkbox-no-clicked .jstree-clicked.jstree-hovered{background:#76b6ec;color:#fff}.jstree-proton.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked{background:0 0;color:inherit}.jstree-proton.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked.jstree-wholerow-hovered{background:#76b6ec;color:#fff}.jstree-proton>.jstree-striped{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==) left top repeat}.jstree-proton>.jstree-wholerow-ul .jstree-hovered,.jstree-proton>.jstree-wholerow-ul .jstree-clicked{background:0 0;box-shadow:none;border-radius:0}.jstree-proton .jstree-wholerow{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.jstree-proton .jstree-wholerow-hovered{background:#76b6ec}.jstree-proton .jstree-wholerow-clicked{background:#3392e3;background:-moz-linear-gradient(top,#3392e3 0,#3392e3 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#3392e3),color-stop(100%,#3392e3));background:-webkit-linear-gradient(top,#3392e3 0,#3392e3 100%);background:-o-linear-gradient(top,#3392e3 0,#3392e3 100%);background:-ms-linear-gradient(top,#3392e3 0,#3392e3 100%);background:linear-gradient(to bottom,#3392e3 0,#3392e3 100%)}.jstree-proton .jstree-node{min-height:22px;line-height:22px;margin-left:22px;min-width:22px}.jstree-proton .jstree-anchor{line-height:22px;margin:1px 0 2px;height:22px}.jstree-proton .jstree-icon{width:22px;height:22px;line-height:22px}.jstree-proton .jstree-icon:empty{width:22px;height:22px;line-height:22px}.jstree-proton.jstree-rtl .jstree-node{margin-right:22px}.jstree-proton .jstree-wholerow{height:22px}.jstree-proton .jstree-node,.jstree-proton .jstree-icon{background-size:320px 96px;background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png)}.jstree-proton .jstree-node{background-position:-293px -5px;background-repeat:repeat-y}.jstree-proton .jstree-last{background:0 0}.jstree-proton .jstree-open>.jstree-ocl{background-position:-133px -5px}.jstree-proton .jstree-closed>.jstree-ocl{background-position:-101px -5px}.jstree-proton .jstree-leaf>.jstree-ocl{background-position:-69px -5px}.jstree-proton .jstree-themeicon{background-position:-261px -7px}.jstree-proton>.jstree-no-dots .jstree-node,.jstree-proton>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-37px -5px}.jstree-proton>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-5px -5px}.jstree-proton .jstree-disabled{background:0 0}.jstree-proton .jstree-disabled.jstree-hovered{background:0 0}.jstree-proton .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton .jstree-checkbox{background-position:-165px -5px}.jstree-proton .jstree-checkbox:hover{background-position:-165px -37px}.jstree-proton.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton .jstree-checked>.jstree-checkbox{background-position:-229px -5px}.jstree-proton.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton .jstree-checked>.jstree-checkbox:hover{background-position:-229px -37px}.jstree-proton .jstree-anchor>.jstree-undetermined{background-position:-197px -5px}.jstree-proton .jstree-anchor>.jstree-undetermined:hover{background-position:-197px -37px}.jstree-proton>.jstree-striped{background-size:auto 44px}.jstree-proton.jstree-rtl .jstree-node{background-size:320px 96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-proton.jstree-rtl .jstree-last{background:0 0}.jstree-proton.jstree-rtl .jstree-open>.jstree-ocl{background-position:-133px -37px}.jstree-proton.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-101px -37px}.jstree-proton.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-69px -37px}.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-37px -37px}.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-5px -37px}.jstree-proton .jstree-themeicon-custom{background-color:transparent;background-size:320px 96px;background-image:none;background-position:0 0}.jstree-proton>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/throbber.gif) center center no-repeat}.jstree-proton .jstree-file{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -101px -69px no-repeat}.jstree-proton .jstree-folder{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -261px -5px no-repeat}.jstree-proton>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton{line-height:22px;padding:0 4px}#jstree-dnd.jstree-proton .jstree-ok,#jstree-dnd.jstree-proton .jstree-er{background-size:320px 96px;background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton i{background:0 0;width:22px;height:22px;line-height:22px}#jstree-dnd.jstree-proton .jstree-ok{background-position:-5px -69px}#jstree-dnd.jstree-proton .jstree-er{background-position:-37px -69px}.jstree-proton.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==)}.jstree-proton.jstree-rtl .jstree-last{background:0 0}.jstree-proton-small .jstree-node{min-height:18px;line-height:18px;margin-left:18px;min-width:18px}.jstree-proton-small .jstree-anchor{line-height:18px;margin:1px 0 2px;height:18px}.jstree-proton-small .jstree-icon{width:18px;height:18px;line-height:18px}.jstree-proton-small .jstree-icon:empty{width:18px;height:18px;line-height:18px}.jstree-proton-small.jstree-rtl .jstree-node{margin-right:18px}.jstree-proton-small .jstree-wholerow{height:18px}.jstree-proton-small .jstree-node,.jstree-proton-small .jstree-icon{background-size:320px 96px;background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png)}.jstree-proton-small .jstree-node{background-position:-295px -7px;background-repeat:repeat-y}.jstree-proton-small .jstree-last{background:0 0}.jstree-proton-small .jstree-open>.jstree-ocl{background-position:-135px -7px}.jstree-proton-small .jstree-closed>.jstree-ocl{background-position:-103px -7px}.jstree-proton-small .jstree-leaf>.jstree-ocl{background-position:-71px -7px}.jstree-proton-small .jstree-themeicon{background-position:-263px -9px}.jstree-proton-small>.jstree-no-dots .jstree-node,.jstree-proton-small>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-small>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -7px}.jstree-proton-small>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -7px}.jstree-proton-small .jstree-disabled{background:0 0}.jstree-proton-small .jstree-disabled.jstree-hovered{background:0 0}.jstree-proton-small .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton-small .jstree-checkbox{background-position:-167px -7px}.jstree-proton-small .jstree-checkbox:hover{background-position:-167px -39px}.jstree-proton-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton-small .jstree-checked>.jstree-checkbox{background-position:-231px -7px}.jstree-proton-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton-small .jstree-checked>.jstree-checkbox:hover{background-position:-231px -39px}.jstree-proton-small .jstree-anchor>.jstree-undetermined{background-position:-199px -7px}.jstree-proton-small .jstree-anchor>.jstree-undetermined:hover{background-position:-199px -39px}.jstree-proton-small>.jstree-striped{background-size:auto 36px}.jstree-proton-small.jstree-rtl .jstree-node{background-size:320px 96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-proton-small.jstree-rtl .jstree-last{background:0 0}.jstree-proton-small.jstree-rtl .jstree-open>.jstree-ocl{background-position:-135px -39px}.jstree-proton-small.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-103px -39px}.jstree-proton-small.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-71px -39px}.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -39px}.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -39px}.jstree-proton-small .jstree-themeicon-custom{background-color:transparent;background-size:320px 96px;background-image:none;background-position:0 0}.jstree-proton-small>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/throbber.gif) center center no-repeat}.jstree-proton-small .jstree-file{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -103px -71px no-repeat}.jstree-proton-small .jstree-folder{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -263px -7px no-repeat}.jstree-proton-small>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton-small{line-height:18px;padding:0 4px}#jstree-dnd.jstree-proton-small .jstree-ok,#jstree-dnd.jstree-proton-small .jstree-er{background-size:320px 96px;background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton-small i{background:0 0;width:18px;height:18px;line-height:18px}#jstree-dnd.jstree-proton-small .jstree-ok{background-position:-7px -71px}#jstree-dnd.jstree-proton-small .jstree-er{background-position:-39px -71px}.jstree-proton-small.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==)}.jstree-proton-small.jstree-rtl .jstree-last{background:0 0}.jstree-proton-large .jstree-node{min-height:32px;line-height:32px;margin-left:32px;min-width:32px}.jstree-proton-large .jstree-anchor{line-height:32px;margin:1px 0 2px;height:32px}.jstree-proton-large .jstree-icon{width:32px;height:32px;line-height:32px}.jstree-proton-large .jstree-icon:empty{width:32px;height:32px;line-height:32px}.jstree-proton-large.jstree-rtl .jstree-node{margin-right:32px}.jstree-proton-large .jstree-wholerow{height:32px}.jstree-proton-large .jstree-node,.jstree-proton-large .jstree-icon{background-size:320px 96px;background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png)}.jstree-proton-large .jstree-node{background-position:-288px 0;background-repeat:repeat-y}.jstree-proton-large .jstree-last{background:0 0}.jstree-proton-large .jstree-open>.jstree-ocl{background-position:-128px 0}.jstree-proton-large .jstree-closed>.jstree-ocl{background-position:-96px 0}.jstree-proton-large .jstree-leaf>.jstree-ocl{background-position:-64px 0}.jstree-proton-large .jstree-themeicon{background-position:-256px -2px}.jstree-proton-large>.jstree-no-dots .jstree-node,.jstree-proton-large>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-large>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px 0}.jstree-proton-large>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 0}.jstree-proton-large .jstree-disabled{background:0 0}.jstree-proton-large .jstree-disabled.jstree-hovered{background:0 0}.jstree-proton-large .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton-large .jstree-checkbox{background-position:-160px 0}.jstree-proton-large .jstree-checkbox:hover{background-position:-160px -32px}.jstree-proton-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton-large .jstree-checked>.jstree-checkbox{background-position:-224px 0}.jstree-proton-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton-large .jstree-checked>.jstree-checkbox:hover{background-position:-224px -32px}.jstree-proton-large .jstree-anchor>.jstree-undetermined{background-position:-192px 0}.jstree-proton-large .jstree-anchor>.jstree-undetermined:hover{background-position:-192px -32px}.jstree-proton-large>.jstree-striped{background-size:auto 64px}.jstree-proton-large.jstree-rtl .jstree-node{background-size:320px 96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-proton-large.jstree-rtl .jstree-last{background:0 0}.jstree-proton-large.jstree-rtl .jstree-open>.jstree-ocl{background-position:-128px -32px}.jstree-proton-large.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-96px -32px}.jstree-proton-large.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-64px -32px}.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px -32px}.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 -32px}.jstree-proton-large .jstree-themeicon-custom{background-color:transparent;background-size:320px 96px;background-image:none;background-position:0 0}.jstree-proton-large>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/throbber.gif) center center no-repeat}.jstree-proton-large .jstree-file{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -96px -64px no-repeat}.jstree-proton-large .jstree-folder{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -256px 0 no-repeat}.jstree-proton-large>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton-large{line-height:32px;padding:0 4px}#jstree-dnd.jstree-proton-large .jstree-ok,#jstree-dnd.jstree-proton-large .jstree-er{background-size:320px 96px;background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton-large i{background:0 0;width:32px;height:32px;line-height:32px}#jstree-dnd.jstree-proton-large .jstree-ok{background-position:0 -64px}#jstree-dnd.jstree-proton-large .jstree-er{background-position:-32px -64px}.jstree-proton-large.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==)}.jstree-proton-large.jstree-rtl .jstree-last{background:0 0}@media (max-width:768px){#jstree-dnd.jstree-dnd-responsive{line-height:30px;font-weight:700;font-size:1.1em;text-shadow:1px 1px #fff}#jstree-dnd.jstree-dnd-responsive>i{background:0 0;width:30px;height:30px}#jstree-dnd.jstree-dnd-responsive>.jstree-ok{background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-position:0 -150px;background-size:90px 180px}#jstree-dnd.jstree-dnd-responsive>.jstree-er{background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-position:-30px -150px;background-size:90px 180px}#jstree-marker.jstree-dnd-responsive{border-left-width:10px;border-top-width:10px;border-bottom-width:10px;margin-top:-10px}}@media (max-width:768px){.jstree-proton-responsive .jstree-container-ul{overflow:hidden}.jstree-proton-responsive .jstree-icon{background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-size:90px 180px}.jstree-proton-responsive .jstree-node,.jstree-proton-responsive .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-responsive .jstree-node{min-height:30px;line-height:30px;margin-left:30px;min-width:30px;white-space:nowrap}.jstree-proton-responsive .jstree-anchor{line-height:38px;height:38px;margin:0}.jstree-proton-responsive .jstree-icon,.jstree-proton-responsive .jstree-icon:empty{margin-top:4px;width:30px;height:30px;line-height:30px}.jstree-proton-responsive>.jstree-container-ul>.jstree-node{margin-left:0}.jstree-proton-responsive.jstree-rtl .jstree-node{margin-left:0;margin-right:30px}.jstree-proton-responsive.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-proton-responsive .jstree-ocl,.jstree-proton-responsive .jstree-themeicon,.jstree-proton-responsive .jstree-checkbox{background-size:90px 180px}.jstree-proton-responsive .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-responsive .jstree-open>.jstree-ocl{background-position:0 0!important}.jstree-proton-responsive .jstree-closed>.jstree-ocl{background-position:0 -30px!important}.jstree-proton-responsive.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-30px 0!important}.jstree-proton-responsive .jstree-themeicon{background-position:-30px -30px}.jstree-proton-responsive .jstree-checkbox,.jstree-proton-responsive .jstree-checkbox:hover{background-position:-30px -60px}.jstree-proton-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton-responsive .jstree-checked>.jstree-checkbox,.jstree-proton-responsive .jstree-checked>.jstree-checkbox:hover{background-position:0 -60px}.jstree-proton-responsive .jstree-anchor>.jstree-undetermined,.jstree-proton-responsive .jstree-anchor>.jstree-undetermined:hover{background-position:0 -90px}.jstree-proton-responsive>.jstree-striped{background:0 0}.jstree-proton-responsive .jstree-wholerow-ul li{position:relative}.jstree-proton-responsive .jstree-wholerow-ul .jstree-wholerow{position:absolute;top:0;left:-1000px;right:-1000px;width:auto;height:100%}.jstree-proton-responsive .jstree-wholerow{border-top:1px solid rgba(0,0,0,.05);background:rgba(0,0,0,.02);height:30px}.jstree-proton-responsive .jstree-wholerow-hovered{background:#76b6ec}.jstree-proton-responsive .jstree-wholerow-clicked{background:#3392e3}.jstree-proton-responsive .jstree-children .jstree-open+.jstree-open{box-shadow:none}.jstree-proton-responsive .jstree-node,.jstree-proton-responsive .jstree-icon,.jstree-proton-responsive .jstree-node>.jstree-ocl,.jstree-proton-responsive .jstree-themeicon,.jstree-proton-responsive .jstree-checkbox{background-image:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-size:90px 180px}.jstree-proton-responsive .jstree-node{background-position:-60px 0;background-repeat:repeat-y}.jstree-proton-responsive .jstree-last{background:0 0}.jstree-proton-responsive .jstree-leaf>.jstree-ocl{background-position:-30px -90px}.jstree-proton-responsive .jstree-last>.jstree-ocl{background-position:-30px -120px}.jstree-proton-responsive .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-proton-responsive .jstree-file{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png) 0 -120px no-repeat;background-size:90px 180px}.jstree-proton-responsive .jstree-folder{background:url(../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png) -30px -30px no-repeat;background-size:90px 180px}.jstree-proton-responsive>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}}@font-face{font-family:'Titillium Web';src:url(fonts/titillium/titilliumweb-extralight-webfont.eot);src:url(fonts/titillium/titilliumweb-extralight-webfont.eot?#iefix) format('embedded-opentype'),url(fonts/titillium/titilliumweb-extralight-webfont.woff) format('woff'),url(fonts/titillium/titilliumweb-extralight-webfont.ttf) format('truetype'),url(fonts/titillium/titilliumweb-extralight-webfont.svg#titillium_webthin) format('svg');font-weight:300;font-style:normal}@font-face{font-family:'Titillium Web';src:url(fonts/titillium/titilliumweb-regular-webfont.eot);src:url(fonts/titillium/titilliumweb-regular-webfont.eot?#iefix) format('embedded-opentype'),url(fonts/titillium/titilliumweb-regular-webfont.woff) format('woff'),url(fonts/titillium/titilliumweb-regular-webfont.ttf) format('truetype'),url(fonts/titillium/titilliumweb-regular-webfont.svg#titillium_webregular) format('svg');font-weight:400;font-style:normal}@font-face{font-family:'Titillium Web';src:url(fonts/titillium/titilliumweb-bold-webfont.eot);src:url(fonts/titillium/titilliumweb-bold-webfont.eot?#iefix) format('embedded-opentype'),url(fonts/titillium/titilliumweb-bold-webfont.woff) format('woff'),url(fonts/titillium/titilliumweb-bold-webfont.ttf) format('truetype'),url(fonts/titillium/titilliumweb-bold-webfont.svg#titillium_webbold) format('svg');font-weight:700;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Titillium Web';src:url(fonts/titillium/titilliumweb-extralight-webfont.svg#titillium_webthin) format('svg');font-weight:300;font-style:normal}@font-face{font-family:'Titillium Web';src:url(fonts/titillium/titilliumweb-regular-webfont.svg#titillium_webregular) format('svg');font-weight:400;font-style:normal}@font-face{font-family:'Titillium Web';src:url(fonts/titillium/titilliumweb-bold-webfont.svg#titillium_webbold) format('svg');font-weight:700;font-style:normal}}.jstree-proton{font-family:'Titillium Web',sans-serif,Arial,sans-serif} \ No newline at end of file +.jstree-node,.jstree-children,.jstree-container-ul{display:block;margin:0;padding:0;list-style-type:none;list-style-image:none}.jstree-node{white-space:nowrap}.jstree-anchor{display:inline-block;color:#333;white-space:nowrap;padding:0 4px 0 1px;margin:0;vertical-align:top}.jstree-anchor:focus{outline:0}.jstree-anchor,.jstree-anchor:link,.jstree-anchor:visited,.jstree-anchor:hover,.jstree-anchor:active{text-decoration:none;color:inherit}.jstree-icon{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-icon:empty{display:inline-block;text-decoration:none;margin:0;padding:0;vertical-align:top;text-align:center}.jstree-ocl{cursor:pointer}.jstree-leaf>.jstree-ocl{cursor:default}.jstree .jstree-open>.jstree-children{display:block}.jstree .jstree-closed>.jstree-children,.jstree .jstree-leaf>.jstree-children{display:none}.jstree-anchor>.jstree-themeicon{margin-right:2px}.jstree-no-icons .jstree-themeicon,.jstree-anchor>.jstree-themeicon-hidden{display:none}.jstree-rtl .jstree-anchor{padding:0 1px 0 4px}.jstree-rtl .jstree-anchor>.jstree-themeicon{margin-left:2px;margin-right:0}.jstree-rtl .jstree-node{margin-left:0}.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-wholerow-ul{position:relative;display:inline-block;min-width:100%}.jstree-wholerow-ul .jstree-leaf>.jstree-ocl{cursor:pointer}.jstree-wholerow-ul .jstree-anchor,.jstree-wholerow-ul .jstree-icon{position:relative}.jstree-wholerow-ul .jstree-wholerow{width:100%;cursor:pointer;position:absolute;left:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vakata-context{display:none}.vakata-context,.vakata-context ul{margin:0;padding:2px;position:absolute;background:#f5f5f5;border:1px solid #979797;-moz-box-shadow:5px 5px 4px -4px #666;-webkit-box-shadow:2px 2px 2px #999;box-shadow:2px 2px 2px #999}.vakata-context ul{list-style:none;left:100%;margin-top:-2.7em;margin-left:-4px}.vakata-context .vakata-context-right ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context li{list-style:none;display:inline}.vakata-context li>a{display:block;padding:0 2em;text-decoration:none;width:auto;color:#000;white-space:nowrap;line-height:2.4em;-moz-text-shadow:1px 1px 0 #fff;-webkit-text-shadow:1px 1px 0 #fff;text-shadow:1px 1px 0 #fff;-moz-border-radius:1px;-webkit-border-radius:1px;border-radius:1px}.vakata-context li>a:hover{position:relative;background-color:#e8eff7;-moz-box-shadow:0 0 2px #0a6aa1;-webkit-box-shadow:0 0 2px #0a6aa1;box-shadow:0 0 2px #0a6aa1}.vakata-context li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAIORI4JlrqN1oMSnmmZDQUAOw==);background-position:right center;background-repeat:no-repeat}.vakata-context li>a:focus{outline:0}.vakata-context .vakata-context-hover>a{position:relative;background-color:#e8eff7;-moz-box-shadow:0 0 2px #0a6aa1;-webkit-box-shadow:0 0 2px #0a6aa1;box-shadow:0 0 2px #0a6aa1}.vakata-context .vakata-context-separator>a,.vakata-context .vakata-context-separator>a:hover{background:#fff;border:0;border-top:1px solid #e2e3e3;height:1px;min-height:1px;max-height:1px;padding:0;margin:0 0 0 2.4em;border-left:1px solid #e0e0e0;-moz-text-shadow:0 0 0 transparent;-webkit-text-shadow:0 0 0 transparent;text-shadow:0 0 0 transparent;-moz-box-shadow:0 0 0 transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.vakata-context .vakata-contextmenu-disabled a,.vakata-context .vakata-contextmenu-disabled a:hover{color:silver;background-color:transparent;border:0;box-shadow:0 0 0}.vakata-context li>a>i{text-decoration:none;display:inline-block;width:2.4em;height:2.4em;background:0 0;margin:0 0 0 -2em;vertical-align:top;text-align:center;line-height:2.4em}.vakata-context li>a>i:empty{width:2.4em;line-height:2.4em}.vakata-context li>a .vakata-contextmenu-sep{display:inline-block;width:1px;height:2.4em;background:#fff;margin:0 .5em 0 0;border-left:1px solid #e2e3e3}.vakata-context .vakata-contextmenu-shortcut{font-size:.8em;color:silver;opacity:.5;display:none}.vakata-context-rtl ul{left:auto;right:100%;margin-left:auto;margin-right:-4px}.vakata-context-rtl li>a.vakata-context-parent{background-image:url(data:image/gif;base64,R0lGODlhCwAHAIAAACgoKP///yH5BAEAAAEALAAAAAALAAcAAAINjI+AC7rWHIsPtmoxLAA7);background-position:left center;background-repeat:no-repeat}.vakata-context-rtl .vakata-context-separator>a{margin:0 2.4em 0 0;border-left:0;border-right:1px solid #e2e3e3}.vakata-context-rtl .vakata-context-left ul{right:auto;left:100%;margin-left:-4px;margin-right:auto}.vakata-context-rtl li>a>i{margin:0 -2em 0 0}.vakata-context-rtl li>a .vakata-contextmenu-sep{margin:0 0 0 .5em;border-left-color:#fff;background:#e2e3e3}#jstree-marker{position:absolute;top:0;left:0;margin:-5px 0 0 0;padding:0;border-right:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid;width:0;height:0;font-size:0;line-height:0}#jstree-dnd{line-height:16px;margin:0;padding:4px}#jstree-dnd .jstree-icon,#jstree-dnd .jstree-copy{display:inline-block;text-decoration:none;margin:0 2px 0 0;padding:0;width:16px;height:16px}#jstree-dnd .jstree-ok{background:green}#jstree-dnd .jstree-er{background:red}#jstree-dnd .jstree-copy{margin:0 2px}.jstree-proton .jstree-node,.jstree-proton .jstree-icon{background-repeat:no-repeat;background-color:transparent}.jstree-proton .jstree-anchor,.jstree-proton .jstree-wholerow{transition:background-color .15s,box-shadow .15s,color .15s}.jstree-proton .jstree-hovered{background:#76b6ec;color:#fff;border-radius:3px;box-shadow:inset 0 0 1px #76b6ec}.jstree-proton .jstree-clicked{background:#3392e3;color:#fff;border-radius:3px;box-shadow:inset 0 0 1px #3392e3}.jstree-proton .jstree-no-icons .jstree-anchor>.jstree-themeicon{display:none}.jstree-proton .jstree-disabled{background:0 0;color:#666}.jstree-proton .jstree-disabled.jstree-hovered{background:0 0;box-shadow:none}.jstree-proton .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton .jstree-disabled>.jstree-icon{opacity:.8;filter:url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale");-webkit-filter:grayscale(100%)}.jstree-proton .jstree-search{font-style:italic;color:#8b0000;font-weight:700}.jstree-proton .jstree-no-checkboxes .jstree-checkbox{display:none!important}.jstree-proton.jstree-checkbox-no-clicked .jstree-clicked{background:0 0;color:inherit;box-shadow:none}.jstree-proton.jstree-checkbox-no-clicked .jstree-clicked.jstree-hovered{background:#76b6ec;color:#fff}.jstree-proton.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked{background:0 0;color:inherit}.jstree-proton.jstree-checkbox-no-clicked>.jstree-wholerow-ul .jstree-wholerow-clicked.jstree-wholerow-hovered{background:#76b6ec;color:#fff}.jstree-proton>.jstree-striped{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==) left top repeat}.jstree-proton>.jstree-wholerow-ul .jstree-hovered,.jstree-proton>.jstree-wholerow-ul .jstree-clicked{background:0 0;box-shadow:none;border-radius:0}.jstree-proton .jstree-wholerow{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.jstree-proton .jstree-wholerow-hovered{background:#76b6ec}.jstree-proton .jstree-wholerow-clicked{background:#3392e3;background:-moz-linear-gradient(top,#3392e3 0,#3392e3 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0,#3392e3),color-stop(100%,#3392e3));background:-webkit-linear-gradient(top,#3392e3 0,#3392e3 100%);background:-o-linear-gradient(top,#3392e3 0,#3392e3 100%);background:-ms-linear-gradient(top,#3392e3 0,#3392e3 100%);background:linear-gradient(to bottom,#3392e3 0,#3392e3 100%)}.jstree-proton .jstree-node{min-height:22px;line-height:22px;margin-left:22px;min-width:22px}.jstree-proton .jstree-anchor{line-height:22px;margin:1px 0 2px;height:22px}.jstree-proton .jstree-icon{width:22px;height:22px;line-height:22px}.jstree-proton .jstree-icon:empty{width:22px;height:22px;line-height:22px}.jstree-proton.jstree-rtl .jstree-node{margin-right:22px}.jstree-proton .jstree-wholerow{height:22px}.jstree-proton .jstree-node,.jstree-proton .jstree-icon{background-size:320px 96px;background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png)}.jstree-proton .jstree-node{background-position:-293px -5px;background-repeat:repeat-y}.jstree-proton .jstree-last{background:0 0}.jstree-proton .jstree-open>.jstree-ocl{background-position:-133px -5px}.jstree-proton .jstree-closed>.jstree-ocl{background-position:-101px -5px}.jstree-proton .jstree-leaf>.jstree-ocl{background-position:-69px -5px}.jstree-proton .jstree-themeicon{background-position:-261px -7px}.jstree-proton>.jstree-no-dots .jstree-node,.jstree-proton>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-37px -5px}.jstree-proton>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-5px -5px}.jstree-proton .jstree-disabled{background:0 0}.jstree-proton .jstree-disabled.jstree-hovered{background:0 0}.jstree-proton .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton .jstree-checkbox{background-position:-165px -5px}.jstree-proton .jstree-checkbox:hover{background-position:-165px -37px}.jstree-proton.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton .jstree-checked>.jstree-checkbox{background-position:-229px -5px}.jstree-proton.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton .jstree-checked>.jstree-checkbox:hover{background-position:-229px -37px}.jstree-proton .jstree-anchor>.jstree-undetermined{background-position:-197px -5px}.jstree-proton .jstree-anchor>.jstree-undetermined:hover{background-position:-197px -37px}.jstree-proton>.jstree-striped{background-size:auto 44px}.jstree-proton.jstree-rtl .jstree-node{background-size:320px 96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-proton.jstree-rtl .jstree-last{background:0 0}.jstree-proton.jstree-rtl .jstree-open>.jstree-ocl{background-position:-133px -37px}.jstree-proton.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-101px -37px}.jstree-proton.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-69px -37px}.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-37px -37px}.jstree-proton.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-5px -37px}.jstree-proton .jstree-themeicon-custom{background-color:transparent;background-size:320px 96px;background-image:none;background-position:0 0}.jstree-proton>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/throbber.gif) center center no-repeat}.jstree-proton .jstree-file{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -101px -69px no-repeat}.jstree-proton .jstree-folder{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -261px -5px no-repeat}.jstree-proton>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton{line-height:22px;padding:0 4px}#jstree-dnd.jstree-proton .jstree-ok,#jstree-dnd.jstree-proton .jstree-er{background-size:320px 96px;background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton i{background:0 0;width:22px;height:22px;line-height:22px}#jstree-dnd.jstree-proton .jstree-ok{background-position:-5px -69px}#jstree-dnd.jstree-proton .jstree-er{background-position:-37px -69px}.jstree-proton.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==)}.jstree-proton.jstree-rtl .jstree-last{background:0 0}.jstree-proton-small .jstree-node{min-height:18px;line-height:18px;margin-left:18px;min-width:18px}.jstree-proton-small .jstree-anchor{line-height:18px;margin:1px 0 2px;height:18px}.jstree-proton-small .jstree-icon{width:18px;height:18px;line-height:18px}.jstree-proton-small .jstree-icon:empty{width:18px;height:18px;line-height:18px}.jstree-proton-small.jstree-rtl .jstree-node{margin-right:18px}.jstree-proton-small .jstree-wholerow{height:18px}.jstree-proton-small .jstree-node,.jstree-proton-small .jstree-icon{background-size:320px 96px;background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png)}.jstree-proton-small .jstree-node{background-position:-295px -7px;background-repeat:repeat-y}.jstree-proton-small .jstree-last{background:0 0}.jstree-proton-small .jstree-open>.jstree-ocl{background-position:-135px -7px}.jstree-proton-small .jstree-closed>.jstree-ocl{background-position:-103px -7px}.jstree-proton-small .jstree-leaf>.jstree-ocl{background-position:-71px -7px}.jstree-proton-small .jstree-themeicon{background-position:-263px -9px}.jstree-proton-small>.jstree-no-dots .jstree-node,.jstree-proton-small>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-small>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -7px}.jstree-proton-small>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -7px}.jstree-proton-small .jstree-disabled{background:0 0}.jstree-proton-small .jstree-disabled.jstree-hovered{background:0 0}.jstree-proton-small .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton-small .jstree-checkbox{background-position:-167px -7px}.jstree-proton-small .jstree-checkbox:hover{background-position:-167px -39px}.jstree-proton-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton-small .jstree-checked>.jstree-checkbox{background-position:-231px -7px}.jstree-proton-small.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton-small .jstree-checked>.jstree-checkbox:hover{background-position:-231px -39px}.jstree-proton-small .jstree-anchor>.jstree-undetermined{background-position:-199px -7px}.jstree-proton-small .jstree-anchor>.jstree-undetermined:hover{background-position:-199px -39px}.jstree-proton-small>.jstree-striped{background-size:auto 36px}.jstree-proton-small.jstree-rtl .jstree-node{background-size:320px 96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-proton-small.jstree-rtl .jstree-last{background:0 0}.jstree-proton-small.jstree-rtl .jstree-open>.jstree-ocl{background-position:-135px -39px}.jstree-proton-small.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-103px -39px}.jstree-proton-small.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-71px -39px}.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-39px -39px}.jstree-proton-small.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:-7px -39px}.jstree-proton-small .jstree-themeicon-custom{background-color:transparent;background-size:320px 96px;background-image:none;background-position:0 0}.jstree-proton-small>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/throbber.gif) center center no-repeat}.jstree-proton-small .jstree-file{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -103px -71px no-repeat}.jstree-proton-small .jstree-folder{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -263px -7px no-repeat}.jstree-proton-small>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton-small{line-height:18px;padding:0 4px}#jstree-dnd.jstree-proton-small .jstree-ok,#jstree-dnd.jstree-proton-small .jstree-er{background-size:320px 96px;background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton-small i{background:0 0;width:18px;height:18px;line-height:18px}#jstree-dnd.jstree-proton-small .jstree-ok{background-position:-7px -71px}#jstree-dnd.jstree-proton-small .jstree-er{background-position:-39px -71px}.jstree-proton-small.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg==)}.jstree-proton-small.jstree-rtl .jstree-last{background:0 0}.jstree-proton-large .jstree-node{min-height:32px;line-height:32px;margin-left:32px;min-width:32px}.jstree-proton-large .jstree-anchor{line-height:32px;margin:1px 0 2px;height:32px}.jstree-proton-large .jstree-icon{width:32px;height:32px;line-height:32px}.jstree-proton-large .jstree-icon:empty{width:32px;height:32px;line-height:32px}.jstree-proton-large.jstree-rtl .jstree-node{margin-right:32px}.jstree-proton-large .jstree-wholerow{height:32px}.jstree-proton-large .jstree-node,.jstree-proton-large .jstree-icon{background-size:320px 96px;background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png)}.jstree-proton-large .jstree-node{background-position:-288px 0;background-repeat:repeat-y}.jstree-proton-large .jstree-last{background:0 0}.jstree-proton-large .jstree-open>.jstree-ocl{background-position:-128px 0}.jstree-proton-large .jstree-closed>.jstree-ocl{background-position:-96px 0}.jstree-proton-large .jstree-leaf>.jstree-ocl{background-position:-64px 0}.jstree-proton-large .jstree-themeicon{background-position:-256px -2px}.jstree-proton-large>.jstree-no-dots .jstree-node,.jstree-proton-large>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-large>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px 0}.jstree-proton-large>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 0}.jstree-proton-large .jstree-disabled{background:0 0}.jstree-proton-large .jstree-disabled.jstree-hovered{background:0 0}.jstree-proton-large .jstree-disabled.jstree-clicked{background:#efefef}.jstree-proton-large .jstree-checkbox{background-position:-160px 0}.jstree-proton-large .jstree-checkbox:hover{background-position:-160px -32px}.jstree-proton-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton-large .jstree-checked>.jstree-checkbox{background-position:-224px 0}.jstree-proton-large.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton-large .jstree-checked>.jstree-checkbox:hover{background-position:-224px -32px}.jstree-proton-large .jstree-anchor>.jstree-undetermined{background-position:-192px 0}.jstree-proton-large .jstree-anchor>.jstree-undetermined:hover{background-position:-192px -32px}.jstree-proton-large>.jstree-striped{background-size:auto 64px}.jstree-proton-large.jstree-rtl .jstree-node{background-size:320px 96px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg==);background-position:100% 1px;background-repeat:repeat-y}.jstree-proton-large.jstree-rtl .jstree-last{background:0 0}.jstree-proton-large.jstree-rtl .jstree-open>.jstree-ocl{background-position:-128px -32px}.jstree-proton-large.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-96px -32px}.jstree-proton-large.jstree-rtl .jstree-leaf>.jstree-ocl{background-position:-64px -32px}.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-node,.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-open>.jstree-ocl{background-position:-32px -32px}.jstree-proton-large.jstree-rtl>.jstree-no-dots .jstree-closed>.jstree-ocl{background-position:0 -32px}.jstree-proton-large .jstree-themeicon-custom{background-color:transparent;background-size:320px 96px;background-image:none;background-position:0 0}.jstree-proton-large>.jstree-container-ul .jstree-loading>.jstree-ocl{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/throbber.gif) center center no-repeat}.jstree-proton-large .jstree-file{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -96px -64px no-repeat}.jstree-proton-large .jstree-folder{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png) -256px 0 no-repeat}.jstree-proton-large>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}#jstree-dnd.jstree-proton-large{line-height:32px;padding:0 4px}#jstree-dnd.jstree-proton-large .jstree-ok,#jstree-dnd.jstree-proton-large .jstree-er{background-size:320px 96px;background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton-large i{background:0 0;width:32px;height:32px;line-height:32px}#jstree-dnd.jstree-proton-large .jstree-ok{background-position:0 -64px}#jstree-dnd.jstree-proton-large .jstree-er{background-position:-32px -64px}.jstree-proton-large.jstree-rtl .jstree-node{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg==)}.jstree-proton-large.jstree-rtl .jstree-last{background:0 0}@media (max-width:768px){#jstree-dnd.jstree-dnd-responsive{line-height:30px;font-weight:700;font-size:1.1em;text-shadow:1px 1px #fff}#jstree-dnd.jstree-dnd-responsive>i{background:0 0;width:30px;height:30px}#jstree-dnd.jstree-dnd-responsive>.jstree-ok{background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-position:0 -150px;background-size:90px 180px}#jstree-dnd.jstree-dnd-responsive>.jstree-er{background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-position:-30px -150px;background-size:90px 180px}#jstree-marker.jstree-dnd-responsive{border-left-width:10px;border-top-width:10px;border-bottom-width:10px;margin-top:-10px}}@media (max-width:768px){.jstree-proton-responsive .jstree-container-ul{overflow:hidden}.jstree-proton-responsive .jstree-icon{background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-size:90px 180px}.jstree-proton-responsive .jstree-node,.jstree-proton-responsive .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-responsive .jstree-node{min-height:30px;line-height:30px;margin-left:30px;min-width:30px;white-space:nowrap}.jstree-proton-responsive .jstree-anchor{line-height:38px;height:38px;margin:0}.jstree-proton-responsive .jstree-icon,.jstree-proton-responsive .jstree-icon:empty{margin-top:4px;width:30px;height:30px;line-height:30px}.jstree-proton-responsive>.jstree-container-ul>.jstree-node{margin-left:0}.jstree-proton-responsive.jstree-rtl .jstree-node{margin-left:0;margin-right:30px}.jstree-proton-responsive.jstree-rtl .jstree-container-ul>.jstree-node{margin-right:0}.jstree-proton-responsive .jstree-ocl,.jstree-proton-responsive .jstree-themeicon,.jstree-proton-responsive .jstree-checkbox{background-size:90px 180px}.jstree-proton-responsive .jstree-leaf>.jstree-ocl{background:0 0}.jstree-proton-responsive .jstree-open>.jstree-ocl{background-position:0 0!important}.jstree-proton-responsive .jstree-closed>.jstree-ocl{background-position:0 -30px!important}.jstree-proton-responsive.jstree-rtl .jstree-closed>.jstree-ocl{background-position:-30px 0!important}.jstree-proton-responsive .jstree-themeicon{background-position:-30px -30px}.jstree-proton-responsive .jstree-checkbox,.jstree-proton-responsive .jstree-checkbox:hover{background-position:-30px -60px}.jstree-proton-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox,.jstree-proton-responsive.jstree-checkbox-selection .jstree-clicked>.jstree-checkbox:hover,.jstree-proton-responsive .jstree-checked>.jstree-checkbox,.jstree-proton-responsive .jstree-checked>.jstree-checkbox:hover{background-position:0 -60px}.jstree-proton-responsive .jstree-anchor>.jstree-undetermined,.jstree-proton-responsive .jstree-anchor>.jstree-undetermined:hover{background-position:0 -90px}.jstree-proton-responsive>.jstree-striped{background:0 0}.jstree-proton-responsive .jstree-wholerow-ul li{position:relative}.jstree-proton-responsive .jstree-wholerow-ul .jstree-wholerow{position:absolute;top:0;left:-1000px;right:-1000px;width:auto;height:100%}.jstree-proton-responsive .jstree-wholerow{border-top:1px solid rgba(0,0,0,.05);background:rgba(0,0,0,.02);height:30px}.jstree-proton-responsive .jstree-wholerow-hovered{background:#76b6ec}.jstree-proton-responsive .jstree-wholerow-clicked{background:#3392e3}.jstree-proton-responsive .jstree-children .jstree-open+.jstree-open{box-shadow:none}.jstree-proton-responsive .jstree-node,.jstree-proton-responsive .jstree-icon,.jstree-proton-responsive .jstree-node>.jstree-ocl,.jstree-proton-responsive .jstree-themeicon,.jstree-proton-responsive .jstree-checkbox{background-image:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png);background-size:90px 180px}.jstree-proton-responsive .jstree-node{background-position:-60px 0;background-repeat:repeat-y}.jstree-proton-responsive .jstree-last{background:0 0}.jstree-proton-responsive .jstree-leaf>.jstree-ocl{background-position:-30px -90px}.jstree-proton-responsive .jstree-last>.jstree-ocl{background-position:-30px -120px}.jstree-proton-responsive .jstree-themeicon-custom{background-color:transparent;background-image:none;background-position:0 0}.jstree-proton-responsive .jstree-file{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png) 0 -120px no-repeat;background-size:90px 180px}.jstree-proton-responsive .jstree-folder{background:url(../../../node_modules/jstree-bootstrap-theme/dist/themes/proton/30px.png) -30px -30px no-repeat;background-size:90px 180px}.jstree-proton-responsive>.jstree-container-ul>.jstree-node{margin-left:0;margin-right:0}}@font-face{font-family:'Titillium Web';font-weight:300;font-style:normal}@font-face{font-family:'Titillium Web';font-weight:400;font-style:normal}@font-face{font-family:'Titillium Web';font-weight:700;font-style:normal}@media screen and (-webkit-min-device-pixel-ratio:0){@font-face{font-family:'Titillium Web';font-weight:300;font-style:normal}@font-face{font-family:'Titillium Web';font-weight:400;font-style:normal}@font-face{font-family:'Titillium Web';font-weight:700;font-style:normal}}.jstree-proton{font-family:'Titillium Web',sans-serif,Arial,sans-serif} \ No newline at end of file diff --git a/apps/maarch_entreprise/define.php b/apps/maarch_entreprise/define.php deleted file mode 100755 index e08ee41280d..00000000000 --- a/apps/maarch_entreprise/define.php +++ /dev/null @@ -1,34 +0,0 @@ -<?php -/* -* Copyright 2008-2017 Maarch -* -* This file is part of Maarch Framework. -* -* Maarch Framework is free software: you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation, either version 3 of the License, or -* (at your option) any later version. -* -* Maarch Framework is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Maarch Framework. If not, see <http://www.gnu.org/licenses/>. -*/ - -/** - * Ce fichier a mettre en paralléle dans le custom, permet de mettre des definitions spécifique au custom (exemple langue ou remplacement de define de ce fichier de base) - **/ - if(file_exists('apps/maarch_entreprise/define_custom.php')) { - require_once 'apps/maarch_entreprise/define_custom.php'; - } - -// Variable pour activer les vues V2 -if (!defined('V2_ENABLED')) { - define('V2_ENABLED', false); -} -if (!defined('PROD_MODE')) { - define('PROD_MODE', false); -} diff --git a/apps/maarch_entreprise/index.php b/apps/maarch_entreprise/index.php index 2036aae70a9..469c1a6dfbf 100755 --- a/apps/maarch_entreprise/index.php +++ b/apps/maarch_entreprise/index.php @@ -40,7 +40,6 @@ include_once '../../core/class/class_functions.php'; include_once '../../core/class/class_db_pdo.php'; include_once '../../core/init.php'; -include_once 'apps/maarch_entreprise/define.php'; if ($_SESSION['config']['usePHPIDS'] == 'true') { include 'apps/maarch_entreprise/phpids_control.php'; @@ -372,20 +371,4 @@ if (file_exists($path)) { </div> </div> </body> -<?php -if (PROD_MODE) { -?> -<!-- <script src="js/angular/main.bundle.min.js"></script>--> -<?php -} else { - ?> - <script src="../../node_modules/systemjs/dist/system.src.js"></script> - <script src="js/angular/systemjs.config.js"></script> -<!-- <script>--> -<!-- System.import('js/angular/main.js').catch(function(err){ console.error(err); });--> -<!-- </script>--> - <?php -} -?> - </html> diff --git a/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts old mode 100755 new mode 100644 index 7cde5f2254b..2a8dad01258 --- a/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/action-administration.component.ts @@ -11,7 +11,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["action-administrationView"], + templateUrl: "../../../../Views/action-administration.component.html", providers: [NotificationService] }) export class ActionAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.ts old mode 100755 new mode 100644 index ce3b37da47f..66fb1acdb17 --- a/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/actions-administration.component.ts @@ -12,7 +12,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["actions-administrationView"], + templateUrl: "../../../../Views/actions-administration.component.html", providers: [NotificationService] }) diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js b/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js index 4f02b1a6781..cadc321f8f4 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js +++ b/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.js @@ -42,7 +42,7 @@ var AdministrationRoutingModule = /** @class */ (function () { core_1.NgModule({ imports: [ router_1.RouterModule.forChild([ - { path: 'administration', component: administration_component_1.AdministrationComponent }, + { path: '', component: administration_component_1.AdministrationComponent }, { path: 'administration/users', component: users_administration_component_1.UsersAdministrationComponent }, { path: 'administration/users/new', component: user_administration_component_1.UserAdministrationComponent }, { path: 'administration/users/:id', component: user_administration_component_1.UserAdministrationComponent }, diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.ts b/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.ts old mode 100755 new mode 100644 index a7680f6dc72..cad066a4720 --- a/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/administration-routing.module.ts @@ -10,9 +10,8 @@ import { BasketsAdministrationComponent } from './baskets-administ import { BasketAdministrationComponent } from './basket-administration.component'; import { DoctypesAdministrationComponent } from './doctypes-administration.component'; import { DiffusionModelsAdministrationComponent } from './diffusionModels-administration.component'; -import { DiffusionModelAdministrationComponent } from './diffusionModel-administration.component'; +import { DiffusionModelAdministrationComponent } from './diffusionModel-administration.component'; import { EntitiesAdministrationComponent } from './entities-administration.component'; -import { EntityAdministrationComponent } from './entity-administration.component'; import { StatusesAdministrationComponent } from './statuses-administration.component'; import { StatusAdministrationComponent } from './status-administration.component'; import { ActionsAdministrationComponent } from './actions-administration.component'; @@ -48,8 +47,6 @@ import { UpdateStatusAdministrationComponent } from './update-status-ad { path: 'administration/diffusionModels/new', component: DiffusionModelAdministrationComponent }, { path: 'administration/diffusionModels/:id', component: DiffusionModelAdministrationComponent }, { path: 'administration/entities', component: EntitiesAdministrationComponent }, - { path: 'administration/entities/new', component: EntityAdministrationComponent }, - { path: 'administration/entities/:id', component: EntityAdministrationComponent }, { path: 'administration/statuses', component: StatusesAdministrationComponent }, { path: 'administration/statuses/new', component: StatusAdministrationComponent }, { path: 'administration/statuses/:identifier', component: StatusAdministrationComponent }, diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts old mode 100755 new mode 100644 index 28a038877a4..0781847f7cf --- a/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/administration.component.ts @@ -10,7 +10,7 @@ declare const angularGlobals: any; @Component({ - templateUrl: angularGlobals.administrationView, + templateUrl: "../../../../Views/administration.component.html" }) export class AdministrationComponent implements OnInit { mobileQuery: MediaQueryList; diff --git a/apps/maarch_entreprise/js/angular/app/administration/administration.module.ts b/apps/maarch_entreprise/js/angular/app/administration/administration.module.ts old mode 100755 new mode 100644 index e84992a7697..8a534348da7 --- a/apps/maarch_entreprise/js/angular/app/administration/administration.module.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/administration.module.ts @@ -4,7 +4,7 @@ import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; import { MenuComponent } from '../menu/menu.component'; -import { MenuNavComponent } from '../menu/menu-nav.component'; +import { MenuNavComponent } from '../menu/menu-nav.component'; import { AppMaterialModule } from '../app-material.module'; import { AdministrationRoutingModule } from './administration-routing.module'; @@ -16,7 +16,6 @@ import { GroupAdministrationComponent } from './group-administra import { BasketsAdministrationComponent } from './baskets-administration.component'; import { BasketAdministrationComponent, BasketAdministrationSettingsModalComponent, BasketAdministrationGroupListModalComponent } from './basket-administration.component'; import { EntitiesAdministrationComponent, EntitiesAdministrationRedirectModalComponent} from './entities-administration.component'; -import { EntityAdministrationComponent } from './entity-administration.component'; import { DiffusionModelsAdministrationComponent } from './diffusionModels-administration.component'; import { DiffusionModelAdministrationComponent } from './diffusionModel-administration.component'; import { DoctypesAdministrationComponent, DoctypesAdministrationRedirectModalComponent } from './doctypes-administration.component'; @@ -57,7 +56,6 @@ import { NotificationAdministrationComponent } from './notification-adm BasketAdministrationComponent, DoctypesAdministrationComponent, EntitiesAdministrationComponent, - EntityAdministrationComponent, StatusesAdministrationComponent, StatusAdministrationComponent, ActionsAdministrationComponent, diff --git a/apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.ts index 154e82ff4a3..3c72a2549fc 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/basket-administration.component.ts @@ -14,7 +14,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["basket-administrationView"], + templateUrl: "../../../../Views/basket-administration.component.html", providers: [NotificationService] }) export class BasketAdministrationComponent implements OnInit { @@ -261,7 +261,7 @@ export class BasketAdministrationComponent implements OnInit { } @Component({ - templateUrl: angularGlobals["basket-administration-settings-modalView"], + templateUrl: "../../../../Views/basket-administration-settings-modal.component.html", styles: [".mat-dialog-content{height: 65vh;}"] }) export class BasketAdministrationSettingsModalComponent extends AutoCompletePlugin { @@ -463,9 +463,8 @@ export class BasketAdministrationSettingsModalComponent extends AutoCompletePlug } } -import { FormGroup, Validators } from '@angular/forms'; @Component({ - templateUrl: angularGlobals["basket-administration-groupList-modalView"], + templateUrl: "../../../../Views/basket-administration-groupList-modal.component.html", styles: [".mat-dialog-content{height: 65vh;}"] }) export class BasketAdministrationGroupListModalComponent { diff --git a/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts index 7e4fdd19211..65add83753f 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/baskets-administration.component.ts @@ -12,7 +12,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["baskets-administrationView"], + templateUrl: "../../../../Views/baskets-administration.component.html", providers: [NotificationService] }) export class BasketsAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts index 91d0aa5cfb4..c99a800f5e1 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/diffusionModel-administration.component.ts @@ -14,7 +14,7 @@ declare const angularGlobals: any; @Component({ - templateUrl: angularGlobals["diffusionModel-administrationView"], + templateUrl: "../../../../Views/diffusionModel-administration.component.html", providers: [NotificationService] }) export class DiffusionModelAdministrationComponent extends AutoCompletePlugin implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts index dd4ce69fe88..7f528279925 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/diffusionModels-administration.component.ts @@ -11,7 +11,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["diffusionModels-administrationView"], + templateUrl: "../../../../Views/diffusionModels-administration.component.html", providers: [NotificationService] }) export class DiffusionModelsAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.ts index 040ecea67b3..1e8d7bc878b 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/doctypes-administration.component.ts @@ -10,7 +10,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["doctypes-administrationView"], + templateUrl: "../../../../Views/doctypes-administration.component.html", providers: [NotificationService] }) @@ -49,18 +49,11 @@ export class DoctypesAdministrationComponent implements OnInit { this.mobileQuery.addListener(this._mobileQueryListener); } - updateBreadcrumb(applicationName: string) { - if ($j('#ariane')[0]) { - $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Typologie documentaire"; - } - } - ngOnDestroy(): void { this.mobileQuery.removeListener(this._mobileQueryListener); } ngOnInit(): void { - this.updateBreadcrumb(angularGlobals.applicationName); this.coreUrl = angularGlobals.coreUrl; this.loading = true; @@ -371,7 +364,7 @@ export class DoctypesAdministrationComponent implements OnInit { } @Component({ - templateUrl: angularGlobals["doctypes-administration-redirect-modalView"], + templateUrl: "../../../../Views/doctypes-administration-redirect-modal.component.html" }) export class DoctypesAdministrationRedirectModalComponent { lang: any = LANG; diff --git a/apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.ts index 8c0a9ebf0e2..47408556240 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/entities-administration.component.ts @@ -14,7 +14,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["entities-administrationView"], + templateUrl: "../../../../Views/entities-administration.component.html", providers: [NotificationService] }) export class EntitiesAdministrationComponent extends AutoCompletePlugin implements OnInit { @@ -55,18 +55,11 @@ export class EntitiesAdministrationComponent extends AutoCompletePlugin implemen this.mobileQuery.addListener(this._mobileQueryListener); } - updateBreadcrumb(applicationName: string) { - if ($j('#ariane')[0]) { - $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Entités"; - } - } - ngOnDestroy(): void { this.mobileQuery.removeListener(this._mobileQueryListener); } ngOnInit(): void { - this.updateBreadcrumb(angularGlobals.applicationName); this.coreUrl = angularGlobals.coreUrl; this.loading = true; @@ -620,7 +613,7 @@ export class EntitiesAdministrationComponent extends AutoCompletePlugin implemen } } @Component({ - templateUrl: angularGlobals["entities-administration-redirect-modalView"], + templateUrl: "../../../../Views/entities-administration-redirect-modal.component.html" }) export class EntitiesAdministrationRedirectModalComponent extends AutoCompletePlugin { lang: any = LANG; diff --git a/apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.js deleted file mode 100644 index 565d521717b..00000000000 --- a/apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.js +++ /dev/null @@ -1,104 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - 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--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var core_1 = require("@angular/core"); -var http_1 = require("@angular/common/http"); -var router_1 = require("@angular/router"); -var translate_component_1 = require("../translate.component"); -var notification_service_1 = require("../notification.service"); -var EntityAdministrationComponent = /** @class */ (function () { - function EntityAdministrationComponent(http, route, router, notify) { - this.http = http; - this.route = route; - this.router = router; - this.notify = notify; - this.lang = translate_component_1.LANG; - this.entity = {}; - this.loading = false; - } - EntityAdministrationComponent.prototype.updateBreadcrumb = function (applicationName) { - if ($j('#ariane')[0]) { - $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > <a onclick='location.hash = \"/administration/entities\"' style='cursor: pointer'>Entités</a>"; - } - }; - EntityAdministrationComponent.prototype.ngOnInit = function () { - var _this = this; - this.updateBreadcrumb(angularGlobals.applicationName); - this.coreUrl = angularGlobals.coreUrl; - this.loading = true; - this.route.params.subscribe(function (params) { - if (typeof params['id'] == "undefined") { - _this.creationMode = true; - _this.entityIdAvailable = false; - _this.loading = false; - } - else { - _this.creationMode = false; - _this.entityIdAvailable = true; - _this.id = params['id']; - _this.http.get(_this.coreUrl + "rest/entities/" + _this.id + "/details") - .subscribe(function (data) { - _this.entity = data.basket; - _this.loading = false; - }, function () { - location.href = "index.php"; - }); - } - }); - }; - EntityAdministrationComponent.prototype.isAvailable = function () { - var _this = this; - if (this.entity.id) { - this.http.get(this.coreUrl + "rest/entities/" + this.entity.id) - .subscribe(function () { - _this.entityIdAvailable = false; - }, function (err) { - _this.entityIdAvailable = false; - if (err.error.errors == "Entity not found") { - _this.entityIdAvailable = true; - } - }); - } - else { - this.entityIdAvailable = false; - } - }; - EntityAdministrationComponent.prototype.onSubmit = function () { - var _this = this; - if (this.creationMode) { - this.http.post(this.coreUrl + "rest/entities", this.entity) - .subscribe(function (data) { - _this.notify.success(_this.lang.entityAdded); - _this.router.navigate(["/administration/entities"]); - }, function (err) { - _this.notify.error(err.error.errors); - }); - } - else { - this.http.put(this.coreUrl + "rest/entities/" + this.id, this.entity) - .subscribe(function (data) { - _this.notify.success(_this.lang.entityUpdated); - _this.router.navigate(["/administration/entities"]); - }, function (err) { - _this.notify.error(err.error.errors); - }); - } - }; - EntityAdministrationComponent = __decorate([ - core_1.Component({ - templateUrl: angularGlobals["entity-administrationView"], - providers: [notification_service_1.NotificationService] - }), - __metadata("design:paramtypes", [http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, notification_service_1.NotificationService]) - ], EntityAdministrationComponent); - return EntityAdministrationComponent; -}()); -exports.EntityAdministrationComponent = EntityAdministrationComponent; diff --git a/apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.ts deleted file mode 100644 index f9d7b3d9e4e..00000000000 --- a/apps/maarch_entreprise/js/angular/app/administration/entity-administration.component.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { Component, OnInit} from '@angular/core'; -import { HttpClient } from '@angular/common/http'; -import { Router, ActivatedRoute } from '@angular/router'; -import { LANG } from '../translate.component'; -import { NotificationService } from '../notification.service'; - -declare function $j(selector: any) : any; - -declare var angularGlobals : any; - - -@Component({ - templateUrl : angularGlobals["entity-administrationView"], - providers : [NotificationService] -}) -export class EntityAdministrationComponent implements OnInit { - - coreUrl : string; - lang : any = LANG; - - id : string; - creationMode : boolean; - - entity : any = {}; - entityIdAvailable : boolean; - - loading : boolean = false; - - - constructor(public http: HttpClient, private route: ActivatedRoute, private router: Router, private notify: NotificationService) { - } - - updateBreadcrumb(applicationName: string) { - if ($j('#ariane')[0]) { - $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > <a onclick='location.hash = \"/administration/entities\"' style='cursor: pointer'>Entités</a>"; - } - } - - ngOnInit(): void { - this.updateBreadcrumb(angularGlobals.applicationName); - this.coreUrl = angularGlobals.coreUrl; - - this.loading = true; - - this.route.params.subscribe((params) => { - if (typeof params['id'] == "undefined") { - this.creationMode = true; - this.entityIdAvailable = false; - this.loading = false; - } else { - this.creationMode = false; - this.entityIdAvailable = true; - this.id = params['id']; - this.http.get(this.coreUrl + "rest/entities/" + this.id + "/details") - .subscribe((data : any) => { - this.entity = data.basket; - - this.loading = false; - }, () => { - location.href = "index.php"; - }); - } - }); - } - - isAvailable() { - if (this.entity.id) { - this.http.get(this.coreUrl + "rest/entities/" + this.entity.id) - .subscribe(() => { - this.entityIdAvailable = false; - }, (err) => { - this.entityIdAvailable = false; - if (err.error.errors == "Entity not found") { - this.entityIdAvailable = true; - } - }); - } else { - this.entityIdAvailable = false; - } - } - - onSubmit() { - if (this.creationMode) { - this.http.post(this.coreUrl + "rest/entities", this.entity) - .subscribe((data : any) => { - this.notify.success(this.lang.entityAdded); - this.router.navigate(["/administration/entities"]); - }, (err) => { - this.notify.error(err.error.errors); - }); - } else { - this.http.put(this.coreUrl + "rest/entities/" + this.id, this.entity) - .subscribe((data : any) => { - this.notify.success(this.lang.entityUpdated); - this.router.navigate(["/administration/entities"]); - }, (err) => { - this.notify.error(err.error.errors); - }); - } - } - -} \ No newline at end of file diff --git a/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts index 4a412b926d3..24857bf44d8 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/group-administration.component.ts @@ -12,7 +12,7 @@ declare const angularGlobals : any; @Component({ - templateUrl : angularGlobals["group-administrationView"], + templateUrl: "../../../../Views/group-administration.component.html", providers : [NotificationService] }) export class GroupAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts index a5e6ee93555..57775c06b67 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/groups-administration.component.ts @@ -11,7 +11,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["groups-administrationView"], + templateUrl: "../../../../Views/groups-administration.component.html", providers: [NotificationService] }) export class GroupsAdministrationComponent implements OnInit { @@ -127,7 +127,7 @@ export class GroupsAdministrationComponent implements OnInit { } } @Component({ - templateUrl: angularGlobals["groups-administration-redirect-modalView"], + templateUrl: "../../../../Views/groups-administration-redirect-modal.component.html" }) export class GroupsAdministrationRedirectModalComponent { lang: any = LANG; diff --git a/apps/maarch_entreprise/js/angular/app/administration/history-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/history-administration.component.ts index 8b652fd4b83..44d3a536e50 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/history-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/history-administration.component.ts @@ -12,8 +12,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["history-administrationView"], - styleUrls: [], + templateUrl: "../../../../Views/history-administration.component.html", providers: [NotificationService] }) diff --git a/apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.ts index da837cc0c86..fb6ef7c1e75 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/historyBatch-administration.component.ts @@ -12,8 +12,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["historyBatch-administrationView"], - styleUrls: [], + templateUrl: "../../../../Views/historyBatch-administration.component.html", providers: [NotificationService] }) diff --git a/apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.ts index 62dbc603e5d..fb9d60c3258 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/notification-administration.component.ts @@ -11,7 +11,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["notification-administrationView"], + templateUrl: "../../../../Views/notification-administration.component.html", providers: [NotificationService] }) export class NotificationAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.ts index 3d764d2a752..6f1de1f61ee 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/notifications-administration.component.ts @@ -3,7 +3,7 @@ import { MediaMatcher } from '@angular/cdk/layout'; import { HttpClient } from '@angular/common/http'; import { LANG } from '../translate.component'; import { NotificationService } from '../notification.service'; -import { MatPaginator, MatTableDataSource, MatSort, MatDialog, MatDialogConfig, MatDialogRef, MAT_DIALOG_DATA } from '@angular/material'; +import { MatPaginator, MatTableDataSource, MatSort } from '@angular/material'; declare function $j(selector: any): any; @@ -12,7 +12,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["notifications-administrationView"], + templateUrl: "../../../../Views/notifications-administration.component.html", providers: [NotificationService] }) export class NotificationsAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.ts index a3c08aad38e..b11c9ef68b5 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/notifications-schedule-administration.component.ts @@ -13,7 +13,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["notifications-schedule-administrationView"], + templateUrl: "../../../../Views/notifications-schedule-administration.component.html", providers: [NotificationService] }) export class NotificationsScheduleAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts old mode 100755 new mode 100644 index fa4da4b63d8..fdb26500527 --- a/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/parameter-administration.component.ts @@ -11,7 +11,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals['parameter-administrationView'], + templateUrl: "../../../../Views/parameter-administration.component.html", providers: [NotificationService] }) export class ParameterAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.ts old mode 100755 new mode 100644 index 7897a26e83d..5f6fb04e844 --- a/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/parameters-administration.component.ts @@ -11,7 +11,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["parameters-administrationView"], + templateUrl: "../../../../Views/parameters-administration.component.html", providers: [NotificationService] }) export class ParametersAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.ts old mode 100755 new mode 100644 index f5595a30134..0ee7d78c609 --- a/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/priorities-administration.component.ts @@ -10,7 +10,7 @@ declare function $j(selector: any): any; declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["priorities-administrationView"], + templateUrl: "../../../../Views/priorities-administration.component.html", providers: [NotificationService] }) export class PrioritiesAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.ts old mode 100755 new mode 100644 index 1a0126a087b..d280642934d --- a/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/priority-administration.component.ts @@ -11,7 +11,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["priority-administrationView"], + templateUrl: "../../../../Views/priority-administration.component.html", providers: [NotificationService] }) export class PriorityAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.ts old mode 100755 new mode 100644 index ce318ab4356..4243a2aff9f --- a/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/reports-administration.component.ts @@ -10,7 +10,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["reports-administrationView"], + templateUrl: "../../../../Views/reports-administration.component.html", providers: [NotificationService] }) export class ReportsAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.ts old mode 100755 new mode 100644 index ca16c5b585d..0126e8e3a3f --- a/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/status-administration.component.ts @@ -10,8 +10,8 @@ declare function $j(selector: any): any; declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals['status-administrationView'], - styleUrls: ['css/status-administration.component.css'], + templateUrl: "../../../../Views/status-administration.component.html", + // styleUrls: ['css/status-administration.component.css'], providers: [NotificationService] }) export class StatusAdministrationComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.ts old mode 100755 new mode 100644 index 2358397e0af..469e7ebd082 --- a/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/statuses-administration.component.ts @@ -1,7 +1,6 @@ import { ChangeDetectorRef, Component, OnInit, ViewChild } from '@angular/core'; import { MediaMatcher } from '@angular/cdk/layout'; import { HttpClient } from '@angular/common/http'; -import { Router, ActivatedRoute } from '@angular/router'; import { LANG } from '../translate.component'; import { NotificationService } from '../notification.service'; import { MatPaginator, MatTableDataSource, MatSort } from '@angular/material'; @@ -11,8 +10,7 @@ declare function $j(selector: any): any; declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals['statuses-administrationView'], - styleUrls: [], + templateUrl: "../../../../Views/statuses-administration.component.html", providers: [NotificationService] }) export class StatusesAdministrationComponent implements OnInit { @@ -21,7 +19,6 @@ export class StatusesAdministrationComponent implements OnInit { coreUrl: string; lang: any = LANG; - nbStatus: number; statuses: Status[] = []; loading: boolean = false; @@ -49,15 +46,11 @@ export class StatusesAdministrationComponent implements OnInit { ngOnInit(): void { this.coreUrl = angularGlobals.coreUrl; - - this.prepareStatus(); - this.loading = true; this.http.get(this.coreUrl + 'rest/statuses') .subscribe((data: any) => { this.statuses = data.statuses; - this.updateBreadcrumb(angularGlobals.applicationName); this.loading = false; setTimeout(() => { this.dataSource = new MatTableDataSource(this.statuses); @@ -70,15 +63,6 @@ export class StatusesAdministrationComponent implements OnInit { }); } - prepareStatus() { - $j('#inner_content').remove(); - } - - updateBreadcrumb(applicationName: string) { - $j('#ariane')[0].innerHTML = "<a href='index.php?reinit=true'>" + applicationName + "</a> > " + - "<a onclick='location.hash = \"/administration\"' style='cursor: pointer'>" + this.lang.administration + "</a> > " + this.lang.statuses; - } - deleteStatus(status: any) { var resp = confirm(this.lang.confirmAction + ' ' + this.lang.delete + ' « ' + status.id + ' »'); if (resp) { diff --git a/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts index f84a8b51d3d..06a7bd0bd3a 100644 --- a/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/update-status-administration.component.ts @@ -4,11 +4,6 @@ import { HttpClient } from '@angular/common/http'; import { LANG } from '../translate.component'; import { NotificationService } from '../notification.service'; -import { FormControl } from '@angular/forms'; -import { Observable } from 'rxjs/Observable'; -import { startWith } from 'rxjs/operators/startWith'; -import { map } from 'rxjs/operators/map'; - import { AutoCompletePlugin } from '../../plugins/autocomplete.plugin'; declare function $j(selector: any): any; @@ -17,7 +12,7 @@ declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["update-status-administrationView"], + templateUrl: "../../../../Views/update-status-administration.component.html", providers: [NotificationService] }) export class UpdateStatusAdministrationComponent extends AutoCompletePlugin implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.ts old mode 100755 new mode 100644 index a7a64fac76a..cee8be2cae0 --- a/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/user-administration.component.ts @@ -13,8 +13,8 @@ declare const angularGlobals: any; @Component({ - templateUrl: angularGlobals["user-administrationView"], - styleUrls: ['css/user-administration.component.css'], + templateUrl: "../../../../Views/user-administration.component.html", + styleUrls: ['../../../../css/user-administration.component.css'], providers: [NotificationService] }) export class UserAdministrationComponent extends AutoCompletePlugin implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.js b/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.js old mode 100755 new mode 100644 diff --git a/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.ts b/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.ts old mode 100755 new mode 100644 index e65b0fd41b5..7d95fa63402 --- a/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.ts +++ b/apps/maarch_entreprise/js/angular/app/administration/users-administration.component.ts @@ -12,8 +12,8 @@ declare function $j(selector: any): any; declare var angularGlobals: any; @Component({ - templateUrl: angularGlobals["users-administrationView"], - styleUrls: ['css/users-administration.component.css'], + templateUrl: "../../../../Views/users-administration.component.html", + styleUrls: ['../../../../css/users-administration.component.css'], providers: [NotificationService] }) export class UsersAdministrationComponent extends AutoCompletePlugin implements OnInit { @@ -212,7 +212,7 @@ export class UsersAdministrationComponent extends AutoCompletePlugin implements } } @Component({ - templateUrl: angularGlobals["users-administration-redirect-modalView"], + templateUrl: "../../../../Views/users-administration-redirect-modal.component.html" }) export class UsersAdministrationRedirectModalComponent extends AutoCompletePlugin { lang: any = LANG; diff --git a/apps/maarch_entreprise/js/angular/app/app-routing.module.ts b/apps/maarch_entreprise/js/angular/app/app-routing.module.ts index 8bd3e182123..95c274bfcc9 100755 --- a/apps/maarch_entreprise/js/angular/app/app-routing.module.ts +++ b/apps/maarch_entreprise/js/angular/app/app-routing.module.ts @@ -1,8 +1,8 @@ import { NgModule } from '@angular/core'; -import { RouterModule, Routes } from '@angular/router'; +import { RouterModule } from '@angular/router'; import { ProfileComponent } from './profile.component'; -import { SignatureBookComponent, SafeUrlPipe } from './signature-book.component'; +import { SignatureBookComponent } from './signature-book.component'; @NgModule({ diff --git a/apps/maarch_entreprise/js/angular/app/app.component.js b/apps/maarch_entreprise/js/angular/app/app.component.js index 56c08f3b6cf..5c0b7725914 100755 --- a/apps/maarch_entreprise/js/angular/app/app.component.js +++ b/apps/maarch_entreprise/js/angular/app/app.component.js @@ -30,11 +30,10 @@ var AppComponent = /** @class */ (function () { template: "<router-outlet></router-outlet>", encapsulation: core_1.ViewEncapsulation.None, styleUrls: [ - '../../node_modules/bootstrap/dist/css/bootstrap.min.css', - 'css/maarch-material.css', - 'css/engine.css', - 'css/jstree-custom.min.css', - '../../node_modules/ng2-dnd/bundles/style.css' + '../../../../../node_modules/bootstrap/dist/css/bootstrap.min.css', + '../../../css/maarch-material.css', + '../../../css/engine.css', + '../../../../../node_modules/ng2-dnd/bundles/style.css' ], viewProviders: [material_1.MatIconRegistry], providers: [ diff --git a/apps/maarch_entreprise/js/angular/app/app.component.ts b/apps/maarch_entreprise/js/angular/app/app.component.ts index 280be1ec2d3..5fa8b78f741 100755 --- a/apps/maarch_entreprise/js/angular/app/app.component.ts +++ b/apps/maarch_entreprise/js/angular/app/app.component.ts @@ -12,15 +12,14 @@ export const myCustomTooltipDefaults: MatTooltipDefaultOptions = { @Component({ selector: 'my-app', - //template: `<menu-app></menu-app><router-outlet></router-outlet>`, template: `<router-outlet></router-outlet>`, encapsulation: ViewEncapsulation.None, styleUrls: [ - '../../node_modules/bootstrap/dist/css/bootstrap.min.css', - 'css/maarch-material.css', - 'css/engine.css', - 'css/jstree-custom.min.css', //treejs module - '../../node_modules/ng2-dnd/bundles/style.css' + '../../../../../node_modules/bootstrap/dist/css/bootstrap.min.css', + '../../../css/maarch-material.css', + '../../../css/engine.css', + '../../../css/jstree-custom.min.css', //treejs module + '../../../../../node_modules/ng2-dnd/bundles/style.css' ], viewProviders: [MatIconRegistry], diff --git a/apps/maarch_entreprise/js/angular/app/app.module.js b/apps/maarch_entreprise/js/angular/app/app.module.js index ca5de8c4923..78283c3ed65 100755 --- a/apps/maarch_entreprise/js/angular/app/app.module.js +++ b/apps/maarch_entreprise/js/angular/app/app.module.js @@ -12,11 +12,13 @@ var animations_1 = require("@angular/platform-browser/animations"); var forms_1 = require("@angular/forms"); var http_1 = require("@angular/common/http"); var app_material_module_1 = require("./app-material.module"); -//import { HeaderComponent } from './header.component'; +var header_component_1 = require("./header.component"); var notification_service_1 = require("./notification.service"); var app_component_1 = require("./app.component"); var app_routing_module_1 = require("./app-routing.module"); -var administration_module_1 = require("./administration/administration.module"); +// import { AdministrationModule } from './administration/administration.module'; +var menu_component_1 = require("./menu/menu.component"); +var menu_nav_component_1 = require("./menu/menu-nav.component"); var profile_component_1 = require("./profile.component"); var signature_book_component_1 = require("./signature-book.component"); var AppModule = /** @class */ (function () { @@ -29,14 +31,16 @@ var AppModule = /** @class */ (function () { animations_1.BrowserAnimationsModule, forms_1.FormsModule, http_1.HttpClientModule, - administration_module_1.AdministrationModule, + // AdministrationModule, app_routing_module_1.AppRoutingModule, app_material_module_1.AppMaterialModule ], declarations: [ - //HeaderComponent, + header_component_1.HeaderComponent, app_component_1.AppComponent, profile_component_1.ProfileComponent, + menu_component_1.MenuComponent, + menu_nav_component_1.MenuNavComponent, signature_book_component_1.SignatureBookComponent, signature_book_component_1.SafeUrlPipe, notification_service_1.CustomSnackbarComponent diff --git a/apps/maarch_entreprise/js/angular/app/app.module.ts b/apps/maarch_entreprise/js/angular/app/app.module.ts index 9f72f2fcdc2..710727326ba 100755 --- a/apps/maarch_entreprise/js/angular/app/app.module.ts +++ b/apps/maarch_entreprise/js/angular/app/app.module.ts @@ -5,7 +5,6 @@ import { FormsModule } from '@angular/forms'; import { HttpClientModule } from '@angular/common/http'; import { AppMaterialModule } from './app-material.module'; -//import { HeaderComponent } from './header.component'; import { CustomSnackbarComponent } from './notification.service'; import { AppComponent } from './app.component'; @@ -26,7 +25,6 @@ import { SignatureBookComponent, SafeUrlPipe } from './signature-book.component AppMaterialModule ], declarations: [ - //HeaderComponent, AppComponent, ProfileComponent, SignatureBookComponent, diff --git a/apps/maarch_entreprise/js/angular/app/header.component.js b/apps/maarch_entreprise/js/angular/app/header.component.js deleted file mode 100755 index 2aaf9f65389..00000000000 --- a/apps/maarch_entreprise/js/angular/app/header.component.js +++ /dev/null @@ -1,62 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - 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--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var core_1 = require("@angular/core"); -var http_1 = require("@angular/common/http"); -var HeaderComponent = /** @class */ (function () { - function HeaderComponent(http) { - this.http = http; - this.applicationName = ""; - this.adminList = []; - this.adminListModule = []; - this.menuList = []; - this.profilList = []; - this.notifList = []; - } - HeaderComponent.prototype.prepareHeader = function () { - $j('#maarch_content').remove(); - }; - HeaderComponent.prototype.ngOnInit = function () { - var _this = this; - this.prepareHeader(); - this.coreUrl = angularGlobals.coreUrl; - this.http.get(this.coreUrl + 'rest/administration') - .subscribe(function (data) { - _this.menuList = data.menu.menuList; - _this.applicationName = data.menu.applicationName[0]; - _this.adminList = data.application; - _this.adminListModule = data.modules; - }); - this.profilList = [ - { - label: 'Mon profil', - link: '/profile', - style: 'fa-user' - }, - { label: 'Déconnexion', - link: '/logout', - style: 'fa-sign-out' - } - ]; - }; - HeaderComponent = __decorate([ - core_1.Component({ - selector: 'menu-app', - templateUrl: angularGlobals["headerView"], - styleUrls: [ - 'css/header.component.css', - ] - }), - __metadata("design:paramtypes", [http_1.HttpClient]) - ], HeaderComponent); - return HeaderComponent; -}()); -exports.HeaderComponent = HeaderComponent; diff --git a/apps/maarch_entreprise/js/angular/app/header.component.ts b/apps/maarch_entreprise/js/angular/app/header.component.ts deleted file mode 100755 index e3015adc887..00000000000 --- a/apps/maarch_entreprise/js/angular/app/header.component.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { Component, OnInit } from '@angular/core'; -import { HttpClient } from '@angular/common/http'; - -declare function $j(selector: any) : any; - -declare var angularGlobals : any; - - -@Component({ - selector: 'menu-app', - templateUrl : angularGlobals["headerView"], - styleUrls : [ - 'css/header.component.css', //load specific custom css - ] -}) -export class HeaderComponent implements OnInit { - - coreUrl : string; - - applicationName : string = ""; - adminList : any[] = []; - adminListModule : any[] = []; - menuList : any[] = []; - profilList : any[] = []; - notifList : any[] = []; - - - constructor(public http: HttpClient) { - } - - prepareHeader() { - $j('#maarch_content').remove(); - } - - ngOnInit(): void { - this.prepareHeader(); - - this.coreUrl = angularGlobals.coreUrl; - - this.http.get(this.coreUrl + 'rest/administration') - .subscribe((data : any) => { - this.menuList = data.menu.menuList; - this.applicationName = data.menu.applicationName[0]; - this.adminList = data.application; - this.adminListModule = data.modules; - }); - - this.profilList = [ - { - label : 'Mon profil', - link : '/profile', - style : 'fa-user' - }, - { label : 'Déconnexion', - link : '/logout', - style : 'fa-sign-out' - } - ] - } -} diff --git a/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js b/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js index f8a09bf3f23..c2483c2fca7 100644 --- a/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js +++ b/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.js @@ -28,7 +28,7 @@ var MenuNavComponent = /** @class */ (function () { MenuNavComponent = __decorate([ core_1.Component({ selector: 'menu-nav', - templateUrl: angularGlobals["menuNavView"], + templateUrl: "../../../../Views/menuNav.component.html", }), __metadata("design:paramtypes", [http_1.HttpClient, common_1.Location]) ], MenuNavComponent); diff --git a/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.ts b/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.ts index 562c69b800e..9e1730c96e9 100644 --- a/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.ts +++ b/apps/maarch_entreprise/js/angular/app/menu/menu-nav.component.ts @@ -10,7 +10,7 @@ declare var angularGlobals : any; @Component({ selector: 'menu-nav', - templateUrl : angularGlobals["menuNavView"], + templateUrl : "../../../../Views/menuNav.component.html", }) export class MenuNavComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/menu/menu.component.js b/apps/maarch_entreprise/js/angular/app/menu/menu.component.js index 2c90d36e6b9..988597f9d0c 100644 --- a/apps/maarch_entreprise/js/angular/app/menu/menu.component.js +++ b/apps/maarch_entreprise/js/angular/app/menu/menu.component.js @@ -23,7 +23,7 @@ var MenuComponent = /** @class */ (function () { MenuComponent = __decorate([ core_1.Component({ selector: 'menu-app', - templateUrl: angularGlobals["menuView"], + templateUrl: "../../../../Views/menu.component.html", }), __metadata("design:paramtypes", [http_1.HttpClient]) ], MenuComponent); diff --git a/apps/maarch_entreprise/js/angular/app/menu/menu.component.ts b/apps/maarch_entreprise/js/angular/app/menu/menu.component.ts index d3e4f10b5d1..88e69cb979b 100644 --- a/apps/maarch_entreprise/js/angular/app/menu/menu.component.ts +++ b/apps/maarch_entreprise/js/angular/app/menu/menu.component.ts @@ -9,7 +9,7 @@ declare var angularGlobals : any; @Component({ selector: 'menu-app', - templateUrl : angularGlobals["menuView"], + templateUrl : "../../../../Views/menu.component.html", }) export class MenuComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/app/profile.component.js b/apps/maarch_entreprise/js/angular/app/profile.component.js index 3c4e59a4ea1..d3346ff55e1 100755 --- a/apps/maarch_entreprise/js/angular/app/profile.component.js +++ b/apps/maarch_entreprise/js/angular/app/profile.component.js @@ -110,7 +110,7 @@ var ProfileComponent = /** @class */ (function () { this.updateBreadcrumb(angularGlobals.applicationName); this.coreUrl = angularGlobals.coreUrl; this.loading = true; - this.http.get(this.coreUrl + 'rest/currentUser/profile') + this.http.get('../../rest/currentUser/profile') .subscribe(function (data) { _this.user = data; _this.user.baskets.forEach(function (value, index) { @@ -431,8 +431,8 @@ var ProfileComponent = /** @class */ (function () { ], ProfileComponent.prototype, "sort", void 0); ProfileComponent = __decorate([ core_1.Component({ - templateUrl: angularGlobals.profileView, - styleUrls: ['../../node_modules/bootstrap/dist/css/bootstrap.min.css', 'css/profile.component.css'], + templateUrl: "../../../Views/profile.component.html", + styleUrls: ['../../../css/profile.component.css'], providers: [notification_service_1.NotificationService] }), __metadata("design:paramtypes", [http_1.HttpClient, core_1.NgZone, notification_service_1.NotificationService]) diff --git a/apps/maarch_entreprise/js/angular/app/profile.component.ts b/apps/maarch_entreprise/js/angular/app/profile.component.ts index 8dda25f837d..16c5fedc05e 100755 --- a/apps/maarch_entreprise/js/angular/app/profile.component.ts +++ b/apps/maarch_entreprise/js/angular/app/profile.component.ts @@ -13,8 +13,8 @@ declare var angularGlobals : any; @Component({ - templateUrl : angularGlobals.profileView, - styleUrls : ['../../node_modules/bootstrap/dist/css/bootstrap.min.css', 'css/profile.component.css'], + templateUrl : "../../../Views/profile.component.html", + styleUrls : ['../../../css/profile.component.css'], providers : [NotificationService] }) export class ProfileComponent implements OnInit { @@ -125,7 +125,7 @@ export class ProfileComponent implements OnInit { this.loading = true; - this.http.get(this.coreUrl + 'rest/currentUser/profile') + this.http.get('../../rest/currentUser/profile') .subscribe((data : any) => { this.user = data; diff --git a/apps/maarch_entreprise/js/angular/app/signature-book.component.js b/apps/maarch_entreprise/js/angular/app/signature-book.component.js index b33a947855c..c8fb2c8ae23 100755 --- a/apps/maarch_entreprise/js/angular/app/signature-book.component.js +++ b/apps/maarch_entreprise/js/angular/app/signature-book.component.js @@ -516,7 +516,7 @@ var SignatureBookComponent = /** @class */ (function () { }; SignatureBookComponent = __decorate([ core_1.Component({ - templateUrl: angularGlobals["signature-bookView"], + templateUrl: "../../../Views/signature-book.component.html", }), __metadata("design:paramtypes", [http_1.HttpClient, router_1.ActivatedRoute, router_1.Router, core_1.NgZone]) ], SignatureBookComponent); diff --git a/apps/maarch_entreprise/js/angular/app/signature-book.component.ts b/apps/maarch_entreprise/js/angular/app/signature-book.component.ts index fb06d5be39b..460199e79bb 100755 --- a/apps/maarch_entreprise/js/angular/app/signature-book.component.ts +++ b/apps/maarch_entreprise/js/angular/app/signature-book.component.ts @@ -24,7 +24,7 @@ export class SafeUrlPipe implements PipeTransform { } @Component({ - templateUrl: angularGlobals["signature-bookView"], + templateUrl: "../../../Views/signature-book.component.html", }) export class SignatureBookComponent implements OnInit { diff --git a/apps/maarch_entreprise/js/angular/index.html b/apps/maarch_entreprise/js/angular/index.html new file mode 100644 index 00000000000..929a63bd012 --- /dev/null +++ b/apps/maarch_entreprise/js/angular/index.html @@ -0,0 +1,13 @@ +<!doctype html> +<html lang="en"> +<head> + <meta charset="utf-8"> + <title>MaarchCourrier</title> + + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="icon" type="image/x-icon" href="favicon.ico"> +</head> +<body> + <app-root></app-root> +</body> +</html> diff --git a/apps/maarch_entreprise/js/angular/main.bundle.min.js b/apps/maarch_entreprise/js/angular/main.bundle.min.js deleted file mode 100755 index 2536ff4b945..00000000000 --- a/apps/maarch_entreprise/js/angular/main.bundle.min.js +++ /dev/null @@ -1 +0,0 @@ -!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).main=t()}}(function(){return function o(a,s,l){function c(n,t){if(!s[n]){if(!a[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(u)return u(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[n]={exports:{}};a[n][0].call(i.exports,function(t){var e=a[n][1][t];return c(e||t)},i,i.exports,o,a,s,l)}return s[n].exports}for(var u="function"==typeof require&&require,t=0;t<l.length;t++)c(l[t]);return c}({1:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=t("../notification.service"),p=function(){function t(t,e,n,r,i,o){this.http=n,this.route=r,this.router=i,this.notify=o,this.lang=c.LANG,this.action={},this.statuses=[],this.actionPagesList=[],this.categoriesList=[],this.keywordsList=[],this.loading=!1,$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){var e="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > <a onclick='location.hash = \"/administration/actions\"' style='cursor: pointer'>"+this.lang.actions+"</a> > ";1==this.creationMode?e+=this.lang.actionCreation:e+=this.lang.actionModification,$j("#ariane")[0].innerHTML=e},t.prototype.prepareActions=function(){$j("#inner_content").remove()},t.prototype.ngOnInit=function(){var e=this;this.prepareActions(),this.loading=!0,this.coreUrl=angularGlobals.coreUrl,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.http.get(e.coreUrl+"rest/initAction").subscribe(function(t){e.action=t.action,e.categoriesList=t.categoriesList,e.statuses=t.statuses,e.actionPagesList=t.action_pagesList,e.keywordsList=t.keywordsList,e.loading=!1})):(e.creationMode=!1,e.http.get(e.coreUrl+"rest/actions/"+t.id).subscribe(function(t){e.action=t.action,e.categoriesList=t.categoriesList,e.statuses=t.statuses,e.actionPagesList=t.action_pagesList,e.keywordsList=t.keywordsList,e.loading=!1}))}),this.updateBreadcrumb(angularGlobals.applicationName)},t.prototype.onSubmit=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/actions",this.action).subscribe(function(t){e.router.navigate(["/administration/actions"]),e.notify.success(e.lang.actionAdded)},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/actions/"+this.action.id,this.action).subscribe(function(t){e.router.navigate(["/administration/actions"]),e.notify.success(e.lang.actionUpdated)},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["action-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.ActivatedRoute,l.Router,u.NotificationService])],t)}();n.ActionAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],2:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.search=null,this.actions=[],this.titles=[],this.loading=!1,this.displayedColumns=["id","label_action","history","is_folder_action","actions"],this.dataSource=new u.MatTableDataSource(this.actions),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > "+this.lang.actions)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.updateBreadcrumb(angularGlobals.applicationName),$j("#inner_content").remove(),this.http.get(this.coreUrl+"rest/actions").subscribe(function(t){e.actions=t.actions,e.loading=!1,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.actions),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(t){console.log(t),location.href="index.php"})},t.prototype.deleteAction=function(t){var e=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+t.label_action+" »")&&this.http.delete(this.coreUrl+"rest/actions/"+t.id).subscribe(function(t){e.actions=t.action,e.dataSource=new u.MatTableDataSource(e.actions),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort,e.notify.success(e.lang.actionDeleted)},function(t){e.notify.error(t.error.errors)})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["actions-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.ActionsAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],3:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a};Object.defineProperty(n,"__esModule",{value:!0});var i=t("@angular/core"),o=t("@angular/router"),a=t("./administration.component"),s=t("./users-administration.component"),l=t("./user-administration.component"),c=t("./groups-administration.component"),u=t("./group-administration.component"),p=t("./baskets-administration.component"),d=t("./basket-administration.component"),h=t("./doctypes-administration.component"),f=t("./diffusionModels-administration.component"),m=t("./diffusionModel-administration.component"),g=t("./entities-administration.component"),y=t("./entity-administration.component"),v=t("./statuses-administration.component"),b=t("./status-administration.component"),_=t("./actions-administration.component"),w=t("./action-administration.component"),C=t("./parameter-administration.component"),x=t("./parameters-administration.component"),S=t("./priorities-administration.component"),E=t("./priority-administration.component"),k=t("./reports-administration.component"),O=t("./notifications-administration.component"),P=t("./notification-administration.component"),A=t("./notifications-schedule-administration.component"),D=t("./history-administration.component"),T=t("./historyBatch-administration.component"),M=t("./update-status-administration.component"),I=function(){function t(){}return t=r([i.NgModule({imports:[o.RouterModule.forChild([{path:"administration",component:a.AdministrationComponent},{path:"administration/users",component:s.UsersAdministrationComponent},{path:"administration/users/new",component:l.UserAdministrationComponent},{path:"administration/users/:id",component:l.UserAdministrationComponent},{path:"administration/groups",component:c.GroupsAdministrationComponent},{path:"administration/groups/new",component:u.GroupAdministrationComponent},{path:"administration/groups/:id",component:u.GroupAdministrationComponent},{path:"administration/baskets",component:p.BasketsAdministrationComponent},{path:"administration/baskets/new",component:d.BasketAdministrationComponent},{path:"administration/baskets/:id",component:d.BasketAdministrationComponent},{path:"administration/doctypes",component:h.DoctypesAdministrationComponent},{path:"administration/diffusionModels",component:f.DiffusionModelsAdministrationComponent},{path:"administration/diffusionModels/new",component:m.DiffusionModelAdministrationComponent},{path:"administration/diffusionModels/:id",component:m.DiffusionModelAdministrationComponent},{path:"administration/entities",component:g.EntitiesAdministrationComponent},{path:"administration/entities/new",component:y.EntityAdministrationComponent},{path:"administration/entities/:id",component:y.EntityAdministrationComponent},{path:"administration/statuses",component:v.StatusesAdministrationComponent},{path:"administration/statuses/new",component:b.StatusAdministrationComponent},{path:"administration/statuses/:identifier",component:b.StatusAdministrationComponent},{path:"administration/parameters",component:x.ParametersAdministrationComponent},{path:"administration/parameters/new",component:C.ParameterAdministrationComponent},{path:"administration/parameters/:id",component:C.ParameterAdministrationComponent},{path:"administration/reports",component:k.ReportsAdministrationComponent},{path:"administration/priorities",component:S.PrioritiesAdministrationComponent},{path:"administration/priorities/new",component:E.PriorityAdministrationComponent},{path:"administration/priorities/:id",component:E.PriorityAdministrationComponent},{path:"administration/actions",component:_.ActionsAdministrationComponent},{path:"administration/actions/new",component:w.ActionAdministrationComponent},{path:"administration/actions/:id",component:w.ActionAdministrationComponent},{path:"administration/notifications",component:O.NotificationsAdministrationComponent},{path:"administration/notifications/new",component:P.NotificationAdministrationComponent},{path:"administration/notifications/schedule",component:A.NotificationsScheduleAdministrationComponent},{path:"administration/notifications/:identifier",component:P.NotificationAdministrationComponent},{path:"administration/history",component:D.HistoryAdministrationComponent},{path:"administration/historyBatch",component:T.HistoryBatchAdministrationComponent},{path:"administration/update-status",component:M.UpdateStatusAdministrationComponent}])],exports:[o.RouterModule]})],t)}();n.AdministrationRoutingModule=I},{"./action-administration.component":1,"./actions-administration.component":2,"./administration.component":4,"./basket-administration.component":6,"./baskets-administration.component":7,"./diffusionModel-administration.component":8,"./diffusionModels-administration.component":9,"./doctypes-administration.component":10,"./entities-administration.component":11,"./entity-administration.component":12,"./group-administration.component":13,"./groups-administration.component":14,"./history-administration.component":15,"./historyBatch-administration.component":16,"./notification-administration.component":17,"./notifications-administration.component":18,"./notifications-schedule-administration.component":19,"./parameter-administration.component":20,"./parameters-administration.component":21,"./priorities-administration.component":22,"./priority-administration.component":23,"./reports-administration.component":24,"./status-administration.component":25,"./statuses-administration.component":26,"./update-status-administration.component":27,"./user-administration.component":28,"./users-administration.component":29,"@angular/core":64,"@angular/router":70}],4:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=function(){function t(t,e,n,r){this.http=n,this.router=r,this.lang=c.LANG,this.organisationServices=[],this.productionServices=[],this.classementServices=[],this.supervisionServices=[],this.loading=!1,$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.prepareAdministration=function(){$j("#inner_content").remove(),$j("#menunav").hide(),$j("#divList").remove(),$j("#magicContactsTable").remove(),$j("#manageBasketsOrderTable").remove(),$j("#controlParamTechnicTable").remove(),$j("#container").width("99%"),$j("#content h1")[0]&&$j("#content h1")[0]!=$j("my-app h1")[0]&&$j("#content h1")[0].remove()},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > Administration")},t.prototype.ngOnInit=function(){var e=this;this.prepareAdministration(),this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/administration").subscribe(function(t){e.organisationServices=t.administrations.organisation,e.productionServices=t.administrations.production,e.classementServices=t.administrations.classement,e.supervisionServices=t.administrations.supervision,e.loading=!1})},t.prototype.goToSpecifiedAdministration=function(t){"true"==t.angular?this.router.navigate([t.servicepage]):window.location.assign(t.servicepage)},t=r([o.Component({templateUrl:angularGlobals.administrationView}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.Router])],t)}();n.AdministrationComponent=u},{"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],5:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a};Object.defineProperty(n,"__esModule",{value:!0});var i=t("@angular/core"),o=t("@angular/common"),a=t("@angular/forms"),s=t("@angular/common/http"),l=t("../menu/menu.component"),c=t("../menu/menu-nav.component"),u=t("../app-material.module"),p=t("./administration-routing.module"),d=t("./administration.component"),h=t("./users-administration.component"),f=t("./groups-administration.component"),m=t("./user-administration.component"),g=t("./group-administration.component"),y=t("./baskets-administration.component"),v=t("./basket-administration.component"),b=t("./entities-administration.component"),_=t("./entity-administration.component"),w=t("./diffusionModels-administration.component"),C=t("./diffusionModel-administration.component"),x=t("./doctypes-administration.component"),S=t("./statuses-administration.component"),E=t("./status-administration.component"),k=t("./actions-administration.component"),O=t("./action-administration.component"),P=t("./parameters-administration.component"),A=t("./parameter-administration.component"),D=t("./priorities-administration.component"),T=t("./priority-administration.component"),M=t("./reports-administration.component"),I=t("./history-administration.component"),R=t("./historyBatch-administration.component"),N=t("./update-status-administration.component"),L=t("./notifications-administration.component"),j=t("./notifications-schedule-administration.component"),F=t("./notification-administration.component"),V=function(){function t(){}return t=r([i.NgModule({imports:[o.CommonModule,a.FormsModule,a.ReactiveFormsModule,s.HttpClientModule,u.AppMaterialModule,p.AdministrationRoutingModule],declarations:[l.MenuComponent,c.MenuNavComponent,d.AdministrationComponent,h.UsersAdministrationComponent,m.UserAdministrationComponent,f.GroupsAdministrationComponent,g.GroupAdministrationComponent,y.BasketsAdministrationComponent,v.BasketAdministrationComponent,x.DoctypesAdministrationComponent,b.EntitiesAdministrationComponent,_.EntityAdministrationComponent,S.StatusesAdministrationComponent,E.StatusAdministrationComponent,k.ActionsAdministrationComponent,O.ActionAdministrationComponent,P.ParametersAdministrationComponent,A.ParameterAdministrationComponent,D.PrioritiesAdministrationComponent,T.PriorityAdministrationComponent,M.ReportsAdministrationComponent,I.HistoryAdministrationComponent,R.HistoryBatchAdministrationComponent,N.UpdateStatusAdministrationComponent,L.NotificationsAdministrationComponent,j.NotificationsScheduleAdministrationComponent,F.NotificationAdministrationComponent,h.UsersAdministrationRedirectModalComponent,b.EntitiesAdministrationRedirectModalComponent,f.GroupsAdministrationRedirectModalComponent,v.BasketAdministrationSettingsModalComponent,v.BasketAdministrationGroupListModalComponent,x.DoctypesAdministrationRedirectModalComponent,w.DiffusionModelsAdministrationComponent,C.DiffusionModelAdministrationComponent],entryComponents:[h.UsersAdministrationRedirectModalComponent,b.EntitiesAdministrationRedirectModalComponent,f.GroupsAdministrationRedirectModalComponent,v.BasketAdministrationSettingsModalComponent,v.BasketAdministrationGroupListModalComponent,x.DoctypesAdministrationRedirectModalComponent]})],t)}();n.AdministrationModule=V},{"../app-material.module":30,"../menu/menu-nav.component":35,"../menu/menu.component":36,"./action-administration.component":1,"./actions-administration.component":2,"./administration-routing.module":3,"./administration.component":4,"./basket-administration.component":6,"./baskets-administration.component":7,"./diffusionModel-administration.component":8,"./diffusionModels-administration.component":9,"./doctypes-administration.component":10,"./entities-administration.component":11,"./entity-administration.component":12,"./group-administration.component":13,"./groups-administration.component":14,"./history-administration.component":15,"./historyBatch-administration.component":16,"./notification-administration.component":17,"./notifications-administration.component":18,"./notifications-schedule-administration.component":19,"./parameter-administration.component":20,"./parameters-administration.component":21,"./priorities-administration.component":22,"./priority-administration.component":23,"./reports-administration.component":24,"./status-administration.component":25,"./statuses-administration.component":26,"./update-status-administration.component":27,"./user-administration.component":28,"./users-administration.component":29,"@angular/common":62,"@angular/common/http":61,"@angular/core":64,"@angular/forms":65}],6:[function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=this&&this.__param||function(n,r){return function(t,e){r(t,e,n)}};Object.defineProperty(n,"__esModule",{value:!0});var c=t("@angular/core"),i=t("@angular/cdk/layout"),u=t("@angular/common/http"),p=t("@angular/router"),d=t("../translate.component"),h=t("../notification.service"),f=t("@angular/material"),m=t("../../plugins/autocomplete.plugin"),g=function(){function t(t,e,n,r,i,o,a){this.http=n,this.route=r,this.router=i,this.notify=o,this.dialog=a,this.lang=d.LANG,this.config={},this.basket={},this.basketGroups=[],this.allGroups=[],this.actionsList=[],this.resultPages=[],this.loading=!1,this.displayedColumns=["label_action","actions"],$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.basketIdAvailable=!1,e.loading=!1):(e.creationMode=!1,e.basketIdAvailable=!0,e.id=t.id,e.http.get(e.coreUrl+"rest/baskets/"+e.id).subscribe(function(t){e.basket=t.basket,e.basket.id=t.basket.basket_id,e.basket.name=t.basket.basket_name,e.basket.description=t.basket.basket_desc,e.basket.clause=t.basket.basket_clause,e.basket.isSearchBasket="Y"!=t.basket.is_visible,e.basket.isFolderBasket="Y"==t.basket.is_folder_basket,e.basket.flagNotif="Y"==t.basket.flag_notif,e.http.get(e.coreUrl+"rest/baskets/"+e.id+"/groups").subscribe(function(t){e.allGroups=t.allGroups,e.allGroups.forEach(function(e){e.isUsed=!1,t.groups.forEach(function(t){e.group_id==t.group_id&&(e.isUsed=!0)})}),t.groups.forEach(function(t){t.groupActions.forEach(function(t){t.used_in_basketlist="Y"==t.used_in_basketlist,t.used_in_action_page="Y"==t.used_in_action_page,t.default_action_list="Y"==t.default_action_list})}),e.basketGroups=t.groups,e.resultPages=t.pages,e.loading=!1},function(){location.href="index.php"})},function(){location.href="index.php"}))})},t.prototype.openSettings=function(t,e){var n=this;this.config={data:{group:t,action:e,pages:this.resultPages}},this.dialogRef=this.dialog.open(y,this.config),this.dialogRef.afterClosed().subscribe(function(t){t&&n.http.put(n.coreUrl+"rest/baskets/"+n.id+"/groups/"+t.group.group_id,{result_page:t.group.result_page,groupActions:t.group.groupActions}).subscribe(function(t){n.notify.success(n.lang.basketUpdated)},function(t){n.notify.error(t.error.errors)}),n.dialogRef=null})},t.prototype.isAvailable=function(){var e=this;this.basket.id?this.http.get(this.coreUrl+"rest/baskets/"+this.basket.id).subscribe(function(){e.basketIdAvailable=!1},function(t){e.basketIdAvailable=!1,"Basket not found"==t.error.errors&&(e.basketIdAvailable=!0)}):this.basketIdAvailable=!1},t.prototype.onSubmit=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/baskets",this.basket).subscribe(function(){e.notify.success(e.lang.basketAdded),e.router.navigate(["/administration/baskets"])},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/baskets/"+this.id,this.basket).subscribe(function(){e.notify.success(e.lang.basketUpdated),e.router.navigate(["/administration/baskets"])},function(t){e.notify.error(t.error.errors)})},t.prototype.initAction=function(t){this.dataSource=new f.MatTableDataSource(this.basketGroups[t].groupActions),this.dataSource.sort=this.sort},t.prototype.setDefaultAction=function(t,e){t.groupActions.forEach(function(t){e.id==t.id?t.default_action_list=!0:t.default_action_list=!1}),this.addAction(t)},t.prototype.unlinkGroup=function(e){var n=this;confirm(this.lang.unlinkGroup+" ?")&&this.http.delete(this.coreUrl+"rest/baskets/"+this.id+"/groups/"+this.basketGroups[e].group_id).subscribe(function(){n.allGroups.forEach(function(t){t.group_id==n.basketGroups[e].group_id&&(t.isUsed=!1)}),n.basketGroups.splice(e,1),n.notify.success(n.lang.basketUpdated)},function(t){n.notify.error(t.error.errors)})},t.prototype.linkGroup=function(){var n=this;this.config={data:{basketId:this.basket.id,groups:this.allGroups,linkedGroups:this.basketGroups}},this.dialogRef=this.dialog.open(v,this.config),this.dialogRef.afterClosed().subscribe(function(e){e&&n.http.post(n.coreUrl+"rest/baskets/"+n.id+"/groups",e).subscribe(function(){n.basketGroups.push(e),n.allGroups.forEach(function(t){t.group_id==e.group_id&&(t.isUsed=!0)}),n.notify.success(n.lang.basketUpdated)},function(t){n.notify.error(t.error.errors)}),n.dialogRef=null})},t.prototype.addAction=function(t){var e=this;this.http.put(this.coreUrl+"rest/baskets/"+this.id+"/groups/"+t.group_id,{result_page:t.result_page,groupActions:t.groupActions}).subscribe(function(){e.notify.success(e.lang.basketUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.unlinkAction=function(t,e){var n=this;confirm(this.lang.unlinkAction+" ?")&&(e.checked=!1,this.http.put(this.coreUrl+"rest/baskets/"+this.id+"/groups/"+t.group_id,{result_page:t.result_page,groupActions:t.groupActions}).subscribe(function(){n.notify.success(n.lang.basketUpdated)},function(t){n.notify.error(t.error.errors)}))},a([c.ViewChild(f.MatPaginator),s("design:type",f.MatPaginator)],t.prototype,"paginator",void 0),a([c.ViewChild(f.MatSort),s("design:type",f.MatSort)],t.prototype,"sort",void 0),t=a([c.Component({templateUrl:angularGlobals["basket-administrationView"],providers:[h.NotificationService]}),s("design:paramtypes",[c.ChangeDetectorRef,i.MediaMatcher,u.HttpClient,p.ActivatedRoute,p.Router,h.NotificationService,f.MatDialog])],t)}();n.BasketAdministrationComponent=g;var y=function(i){function t(t,e,n){var r=i.call(this,t,["users"])||this;return r.http=t,r.data=e,r.dialogRef=n,r.lang=d.LANG,r.allEntities=[],r}return o(t,i),t.prototype.ngOnInit=function(){var e=this;this.http.get(this.coreUrl+"rest/entities").subscribe(function(t){[{id:"ALL_ENTITIES",keyword:"ALL_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:"Toutes les entités"},{id:"ENTITIES_JUST_BELOW",keyword:"ENTITIES_JUST_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:"Immédiatement inférieur à mon entité primaire"},{id:"ENTITIES_BELOW",keyword:"ENTITIES_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:"Inférieur à toutes mes entités"},{id:"ALL_ENTITIES_BELOW",keyword:"ALL_ENTITIES_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:"Inférieur à mon entité primaire"},{id:"MY_ENTITIES",keyword:"MY_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:"Mes entités"},{id:"MY_PRIMARY_ENTITY",keyword:"MY_PRIMARY_ENTITY",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:"Mon entité primaire"},{id:"SAME_LEVEL_ENTITIES",keyword:"SAME_LEVEL_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:"Même niveau de mon entité primaire"}].forEach(function(t){e.allEntities.push(t)}),t.entities.forEach(function(t){e.allEntities.push(t)})},function(){location.href="index.php"}),this.http.get(this.coreUrl+"rest/statuses").subscribe(function(t){e.statuses=t.statuses})},t.prototype.initService=function(){var r=this;this.allEntities.forEach(function(e){e.state={opened:!1,selected:!1},r.data.action.redirects.forEach(function(t){e.id==t.keyword&&"ENTITY"==t.redirect_mode&&(e.state={opened:!0,selected:!0})})}),$j("#jstree").jstree({checkbox:{three_state:!1},core:{themes:{name:"proton",responsive:!0},data:this.allEntities},plugins:["checkbox","search"]}),$j("#jstree").on("select_node.jstree",function(t,e){e.node.original.keyword?r.data.action.redirects.push({action_id:r.data.action.id,entity_id:"",keyword:e.node.id,redirect_mode:"ENTITY"}):r.data.action.redirects.push({action_id:r.data.action.id,entity_id:e.node.id,keyword:"",redirect_mode:"ENTITY"})}).on("deselect_node.jstree",function(t,n){r.data.action.redirects.forEach(function(t){if(n.node.original.keyword){if(t.keyword==n.node.original.keyword){var e=r.data.action.redirects.indexOf(t);r.data.action.redirects.splice(e,1)}}else if(t.entity_id==n.node.id){e=r.data.action.redirects.indexOf(t);r.data.action.redirects.splice(e,1)}})}).jstree();var t=!1;$j("#jstree_search").keyup(function(){t&&clearTimeout(t),t=setTimeout(function(){var t=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(t)},250)})},t.prototype.initService2=function(){var r=this;this.allEntities.forEach(function(e){e.state={opened:!1,selected:!1},r.data.action.redirects.forEach(function(t){e.id==t.keyword&&"USERS"==t.redirect_mode&&(e.state={opened:!0,selected:!0})})}),$j("#jstree2").jstree({checkbox:{three_state:!1},core:{themes:{name:"proton",responsive:!0},data:this.allEntities},plugins:["checkbox","search"]}),$j("#jstree2").on("select_node.jstree",function(t,e){e.node.original.keyword?r.data.action.redirects.push({action_id:r.data.action.id,entity_id:"",keyword:e.node.id,redirect_mode:"USERS"}):r.data.action.redirects.push({action_id:r.data.action.id,entity_id:e.node.id,keyword:"",redirect_mode:"USERS"})}).on("deselect_node.jstree",function(t,n){r.data.action.redirects.forEach(function(t){if(n.node.original.keyword){if(t.keyword==n.node.original.keyword){var e=r.data.action.redirects.indexOf(t);r.data.action.redirects.splice(e,1)}}else if(t.entity_id==n.node.id){e=r.data.action.redirects.indexOf(t);r.data.action.redirects.splice(e,1)}})}).jstree();var t=!1;$j("#jstree_search2").keyup(function(){t&&clearTimeout(t),t=setTimeout(function(){var t=$j("#jstree_search2").val();$j("#jstree2").jstree(!0).search(t)},250)})},t=a([c.Component({templateUrl:angularGlobals["basket-administration-settings-modalView"],styles:[".mat-dialog-content{height: 65vh;}"]}),l(1,c.Inject(f.MAT_DIALOG_DATA)),s("design:paramtypes",[u.HttpClient,Object,f.MatDialogRef])],t)}(m.AutoCompletePlugin);n.BasketAdministrationSettingsModalComponent=y;var v=function(){function t(t,e,n){this.http=t,this.data=e,this.dialogRef=n,this.lang=d.LANG,this.actionAll=[],this.newBasketGroup={}}return t.prototype.ngOnInit=function(){var r=this;this.coreUrl=angularGlobals.coreUrl,this.http.get(this.coreUrl+"rest/actions").subscribe(function(t){t.actions.forEach(function(t){t.where_clause="",t.used_in_basketlist=!1,t.default_action_list=!1,t.used_in_action_page=!0,t.statuses=[],t.redirects=[],t.checked=!1,r.actionAll.push(t)})},function(t){location.href="index.php"}),this.data.groups.forEach(function(n){r.data.linkedGroups.forEach(function(t){if(n.group_id==t.group_id){var e=r.data.groups.indexOf(n);r.data.groups.splice(e,1)}})})},t.prototype.validateForm=function(t){0==this.data.linkedGroups.length?(this.newBasketGroup.result_page="list_with_attachments",this.actionAll[0].used_in_action_page=!0,this.actionAll[0].default_action_list=!0,this.actionAll[0].checked=!0,this.newBasketGroup.groupActions=this.actionAll):this.newBasketGroup=JSON.parse(JSON.stringify(this.data.linkedGroups[this.data.linkedGroups.length-1])),this.newBasketGroup.group_id=t.group_id,this.dialogRef.close(this.newBasketGroup)},t=a([c.Component({templateUrl:angularGlobals["basket-administration-groupList-modalView"],styles:[".mat-dialog-content{height: 65vh;}"]}),l(1,c.Inject(f.MAT_DIALOG_DATA)),s("design:paramtypes",[u.HttpClient,Object,f.MatDialogRef])],t)}();n.BasketAdministrationGroupListModalComponent=v},{"../../plugins/autocomplete.plugin":44,"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66,"@angular/router":70}],7:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.baskets=[],this.basketsOrder=[],this.loading=!1,this.displayedColumns=["basket_id","basket_name","basket_desc","actions"],$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Bannettes")},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/baskets").subscribe(function(t){e.baskets=t.baskets,e.loading=!1,setTimeout(function(){e.http.get(e.coreUrl+"rest/sortedBaskets").subscribe(function(t){e.basketsOrder=t.baskets},function(){location.href="index.php"}),e.dataSource=new u.MatTableDataSource(e.baskets),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"})},t.prototype.delete=function(t){var e=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+t.basket_name+" »")&&this.http.delete(this.coreUrl+"rest/baskets/"+t.basket_id).subscribe(function(t){e.notify.success(e.lang.basketDeleted),e.baskets=t.baskets,e.dataSource=new u.MatTableDataSource(e.baskets),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort,e.http.get(e.coreUrl+"rest/sortedBaskets").subscribe(function(t){e.basketsOrder=t.baskets},function(){location.href="index.php"})},function(t){e.notify.error(t.error.errors)})},t.prototype.updateBasketOrder=function(t){var e=this;this.http.put(this.coreUrl+"rest/sortedBaskets/"+t.basket_id,this.basketsOrder).subscribe(function(t){e.baskets=t.baskets,e.notify.success(e.lang.modificationSaved)},function(t){e.notify.error(t.error.errors)})},r([o.ViewChild("snav2"),i("design:type",u.MatSidenav)],t.prototype,"sidenav",void 0),r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["baskets-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.BasketsAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],8:[function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var l=t("@angular/core"),c=t("@angular/cdk/layout"),u=t("@angular/common/http"),p=t("@angular/router"),d=t("../translate.component"),h=t("../notification.service"),f=t("@angular/material"),s=function(s){function t(t,e,n,r,i,o){var a=s.call(this,n,["users"])||this;return a.http=n,a.route=r,a.router=i,a.notify=o,a.lang=d.LANG,a.diffusionModel={},a.loading=!1,a.itemTypeList=[],a.displayedColumns=["firstname","lastname"],$j("link[href='merged_css.php']").remove(),a.mobileQuery=e.matchMedia("(max-width: 768px)"),a._mobileQueryListener=function(){return t.detectChanges()},a.mobileQuery.addListener(a._mobileQueryListener),a}return i(t,s),t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){var e="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > <a onclick='location.hash = \"/administration/groups\"' style='cursor: pointer'>"+this.lang.groups+"</a> > ";1==this.creationMode?e+=this.lang.groupCreation:e+=this.lang.groupModification,$j("#ariane")[0].innerHTML=e},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.loading=!1,e.updateBreadcrumb(angularGlobals.applicationName),e.itemTypeList=[{id:"VISA_CIRCUIT",label:e.lang.visa},{id:"AVIS_CIRCUIT",label:e.lang.avis}]):(e.creationMode=!1,e.http.get(e.coreUrl+"rest/listTemplates/"+t.id).subscribe(function(t){e.updateBreadcrumb(angularGlobals.applicationName),e.diffusionModel=t.listTemplate,e.diffusionModel.diffusionList[0]&&(e.idCircuit=e.diffusionModel.diffusionList[0].id),e.loading=!1,setTimeout(function(){e.dataSource=new f.MatTableDataSource(e.diffusionModel),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"}))})},t.prototype.addElemListModel=function(t){var n=this,r={object_id:this.diffusionModel.entity_id,object_type:this.diffusionModel.object_type,title:this.diffusionModel.title,description:this.diffusionModel.description,items:Array()};if("VISA_CIRCUIT"==this.diffusionModel.object_type)var e="sign";else e="avis";var i={id:"",item_type:"user_id",item_mode:e,item_id:t.id,sequence:this.diffusionModel.diffusionList.length,idToDisplay:t.idToDisplay,descriptionToDisplay:t.otherInfo};this.diffusionModel.diffusionList.forEach(function(t,e){t.sequence=e,"VISA_CIRCUIT"==n.diffusionModel.object_type?t.item_mode="visa":t.item_mode="avis",r.items.push({id:t.id,item_id:t.item_id,item_type:"user_id",item_mode:t.item_mode,sequence:t.sequence})}),r.items.push(i),0<this.diffusionModel.diffusionList.length?this.http.put(this.coreUrl+"rest/listTemplates/"+this.idCircuit,r).subscribe(function(t){n.idCircuit=t.id,n.diffusionModel.diffusionList.push(i),n.notify.success(n.lang.diffusionModelUpdated)},function(t){n.notify.error(t.error.errors)}):this.http.post(this.coreUrl+"rest/listTemplates",r).subscribe(function(t){n.idCircuit=t.id,n.diffusionModel.diffusionList.push(i),n.notify.success(n.lang.diffusionModelUpdated)},function(t){n.notify.error(t.error.errors)}),this.userCtrl.setValue("")},t.prototype.updateDiffList=function(){var n=this,r={object_id:this.diffusionModel.entity_id,object_type:this.diffusionModel.object_type,title:this.diffusionModel.title,description:this.diffusionModel.description,items:Array()};this.diffusionModel.diffusionList.forEach(function(t,e){t.sequence=e,"VISA_CIRCUIT"==n.diffusionModel.object_type?e==n.diffusionModel.diffusionList.length-1?t.item_mode="sign":t.item_mode="visa":t.item_mode="avis",r.items.push({id:t.id,item_id:t.item_id,item_type:"user_id",item_mode:t.item_mode,sequence:t.sequence})}),this.http.put(this.coreUrl+"rest/listTemplates/"+this.idCircuit,r).subscribe(function(t){n.idCircuit=t.id,n.notify.success(n.lang.diffusionModelUpdated)},function(t){n.notify.error(t.error.errors)})},t.prototype.removeDiffList=function(t,e){var n=this;if(this.diffusionModel.diffusionList.splice(e,1),0<this.diffusionModel.diffusionList.length){var r={object_id:this.diffusionModel.entity_id,object_type:this.diffusionModel.object_type,title:this.diffusionModel.title,description:this.diffusionModel.description,items:Array()};this.diffusionModel.diffusionList.forEach(function(t,e){t.sequence=e,"VISA_CIRCUIT"==n.diffusionModel.object_type?e==n.diffusionModel.diffusionList.length-1?t.item_mode="sign":t.item_mode="visa":t.item_mode="avis",r.items.push({item_id:t.item_id,item_type:"user_id",item_mode:t.item_mode,sequence:t.sequence})}),this.http.put(this.coreUrl+"rest/listTemplates/"+this.idCircuit,r).subscribe(function(t){n.idCircuit=t.id,n.notify.success(n.lang.diffusionModelUpdated)},function(t){n.notify.error(t.error.errors)})}else this.http.delete(this.coreUrl+"rest/listTemplates/"+this.idCircuit).subscribe(function(t){n.idCircuit=null,n.notify.success(n.lang.diffusionModelUpdated)},function(t){n.notify.error(t.error.errors)})},o([l.ViewChild(f.MatPaginator),a("design:type",f.MatPaginator)],t.prototype,"paginator",void 0),o([l.ViewChild(f.MatSort),a("design:type",f.MatSort)],t.prototype,"sort",void 0),t=o([l.Component({templateUrl:angularGlobals["diffusionModel-administrationView"],providers:[h.NotificationService]}),a("design:paramtypes",[l.ChangeDetectorRef,c.MediaMatcher,u.HttpClient,p.ActivatedRoute,p.Router,h.NotificationService])],t)}(t("../../plugins/autocomplete.plugin").AutoCompletePlugin);n.DiffusionModelAdministrationComponent=s},{"../../plugins/autocomplete.plugin":44,"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66,"@angular/router":70}],9:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r,i){this.http=n,this.notify=r,this.dialog=i,this.config={},this.lang=l.LANG,this.listTemplates=[],this.listTemplatesForAssign=[],this.loading=!1,this.displayedColumns=["title","description","object_type","actions"],this.dataSource=new u.MatTableDataSource(this.listTemplates),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Groupes")},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/listTemplates").subscribe(function(t){t.listTemplates.forEach(function(t){-1==t.object_id.indexOf("VISA_CIRCUIT_")&&-1==t.object_id.indexOf("AVIS_CIRCUIT_")||e.listTemplates.push(t)}),e.loading=!1,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.listTemplates),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"})},t.prototype.delete=function(n){var r=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+n.title+" »")&&this.http.delete(this.coreUrl+"rest/listTemplates/"+n.id).subscribe(function(t){setTimeout(function(){var e=0;r.listTemplates.forEach(function(t){t.id==n.id&&r.listTemplates.splice(e,1),e++}),r.dataSource=new u.MatTableDataSource(r.listTemplates),r.dataSource.paginator=r.paginator,r.dataSource.sort=r.sort},0),r.notify.success(r.lang.diffusionModelDeleted)},function(t){r.notify.error(t.error.errors)})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["diffusionModels-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService,u.MatDialog])],t)}();n.DiffusionModelsAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],10:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=this&&this.__param||function(n,r){return function(t,e){r(t,e,n)}};Object.defineProperty(n,"__esModule",{value:!0});var a=t("@angular/core"),s=t("@angular/cdk/layout"),l=t("@angular/common/http"),c=t("../translate.component"),u=t("../notification.service"),p=t("@angular/material"),d=function(){function t(t,e,n,r,i){this.http=n,this.notify=r,this.dialog=i,this.config={},this.lang=c.LANG,this.doctypes=[],this.currentType=!1,this.currentSecondLevel=!1,this.currentFirstLevel=!1,this.firstLevels=!1,this.folderTypes=!1,this.types=!1,this.secondLevels=!1,this.processModes=!1,this.models=!1,this.loading=!1,this.creationMode=!1,this.newSecondLevel=!1,this.displayedColumns=["label","use","mandatory","column"],this.dataSource=new p.MatTableDataSource(this.currentType.indexes),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Typologie documentaire")},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var n=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/doctypes").subscribe(function(t){n.doctypes=t.structure,setTimeout(function(){$j("#jstree").jstree({checkbox:{three_state:!1},core:{themes:{name:"proton",responsive:!0},data:n.doctypes,check_callback:!0},plugins:["search","dnd","contextmenu"]});var t=!1;$j("#jstree_search").keyup(function(){t&&clearTimeout(t),t=setTimeout(function(){var t=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(t)},250)}),$j("#jstree").on("select_node.jstree",function(t,e){n.loadDoctype(e,!1)}).on("move_node.jstree",function(t,e){n.loadDoctype(e,!0)}).jstree()},0),$j("#jstree").jstree("select_node",n.doctypes[0]),n.loading=!1},function(){location.href="index.php"})},t.prototype.loadDoctype=function(e,n){var r=this;this.creationMode=!1,e.node.original.type_id?(this.currentFirstLevel=!1,this.currentSecondLevel=!1,this.http.get(this.coreUrl+"rest/doctypes/types/"+e.node.original.type_id).subscribe(function(t){r.currentType=t.doctype,r.secondLevels=t.secondLevel,r.processModes=t.processModes,r.models=t.models,r.loadIndexesTable(),n&&(r.currentType?(r.newSecondLevel=e.parent.replace("secondlevel_",""),!isNaN(parseFloat(r.newSecondLevel))&&isFinite(r.newSecondLevel)?r.currentType.doctypes_second_level_id!=r.newSecondLevel&&(r.currentType.doctypes_second_level_id=r.newSecondLevel,r.saveType()):alert(r.lang.cantMoveDoctype)):alert(r.lang.noDoctypeSelected))},function(t){r.notify.error(t.error.errors)})):e.node.original.doctypes_second_level_id?(this.currentFirstLevel=!1,this.currentType=!1,this.http.get(this.coreUrl+"rest/doctypes/secondLevel/"+e.node.original.doctypes_second_level_id).subscribe(function(t){r.currentSecondLevel=t.secondLevel,r.firstLevels=t.firstLevel},function(t){r.notify.error(t.error.errors)})):(this.currentSecondLevel=!1,this.currentType=!1,this.http.get(this.coreUrl+"rest/doctypes/firstLevel/"+e.node.original.doctypes_first_level_id).subscribe(function(t){r.currentFirstLevel=t.firstLevel,r.folderTypes=t.folderTypes},function(t){r.notify.error(t.error.errors)}))},t.prototype.loadIndexesTable=function(){this.dataSource=new p.MatTableDataSource(this.currentType.indexes),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort},t.prototype.resetDatas=function(){this.currentFirstLevel=!1,this.currentSecondLevel=!1,this.currentType=!1},t.prototype.refreshTree=function(){$j("#jstree").jstree(!0).settings.core.data=this.doctypes,$j("#jstree").jstree("refresh")},t.prototype.saveFirstLevel=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/doctypes/firstLevel",this.currentFirstLevel).subscribe(function(t){e.resetDatas(),e.readMode(),e.doctypes=t.doctypeTree,e.refreshTree(),e.notify.success(e.lang.firstLevelAdded)},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/doctypes/firstLevel/"+this.currentFirstLevel.doctypes_first_level_id,this.currentFirstLevel).subscribe(function(t){e.doctypes=t.doctypeTree,e.refreshTree(),e.notify.success(e.lang.firstLevelUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.saveSecondLevel=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/doctypes/secondLevel",this.currentSecondLevel).subscribe(function(t){e.resetDatas(),e.readMode(),e.doctypes=t.doctypeTree,e.refreshTree(),e.notify.success(e.lang.secondLevelAdded)},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/doctypes/secondLevel/"+this.currentSecondLevel.doctypes_second_level_id,this.currentSecondLevel).subscribe(function(t){e.doctypes=t.doctypeTree,e.refreshTree(),e.notify.success(e.lang.secondLevelUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.saveType=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/doctypes/types",this.currentType).subscribe(function(t){e.resetDatas(),e.readMode(),e.doctypes=t.doctypeTree,e.refreshTree(),e.notify.success(e.lang.documentTypeAdded)},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/doctypes/types/"+this.currentType.type_id,this.currentType).subscribe(function(t){e.doctypes=t.doctypeTree,e.refreshTree(),e.notify.success(e.lang.documentTypeUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.readMode=function(){this.creationMode=!1,$j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("select_node",this.doctypes[0])},t.prototype.removeFirstLevel=function(){var e=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentFirstLevel.doctypes_first_level_label+" »")&&this.http.delete(this.coreUrl+"rest/doctypes/firstLevel/"+this.currentFirstLevel.doctypes_first_level_id).subscribe(function(t){e.resetDatas(),e.readMode(),e.doctypes=t.doctypeTree,e.refreshTree(),$j("#jstree").jstree("select_node",e.doctypes[0]),e.notify.success(e.lang.firstLevelDeleted)},function(t){e.notify.error(t.error.errors)})},t.prototype.removeSecondLevel=function(){var e=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentSecondLevel.doctypes_second_level_label+" »")&&this.http.delete(this.coreUrl+"rest/doctypes/secondLevel/"+this.currentSecondLevel.doctypes_second_level_id).subscribe(function(t){e.resetDatas(),e.readMode(),e.doctypes=t.doctypeTree,e.refreshTree(),$j("#jstree").jstree("select_node",e.doctypes[0]),e.notify.success(e.lang.secondLevelDeleted)},function(t){e.notify.error(t.error.errors)})},t.prototype.removeType=function(){var e=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentType.description+" »")&&this.http.delete(this.coreUrl+"rest/doctypes/types/"+this.currentType.type_id).subscribe(function(t){0==t.deleted?(e.resetDatas(),e.readMode(),e.doctypes=t.doctypeTree,e.refreshTree(),$j("#jstree").jstree("select_node",e.doctypes[0]),e.notify.success(e.lang.documentTypeDeleted)):(e.config={data:{count:t.deleted,types:t.doctypes}},e.dialogRef=e.dialog.open(h,e.config),e.dialogRef.afterClosed().subscribe(function(t){t&&e.http.put(e.coreUrl+"rest/doctypes/types/"+e.currentType.type_id+"/redirect",t).subscribe(function(t){e.resetDatas(),e.readMode(),e.doctypes=t.doctypeTree,e.refreshTree(),$j("#jstree").jstree("select_node",e.doctypes[0]),e.notify.success(e.lang.documentTypeDeleted)},function(t){e.notify.error(t.error.errors)}),e.dialogRef=null}))},function(t){e.notify.error(t.error.errors)})},t.prototype.prepareDoctypeAdd=function(){var e=this;this.currentFirstLevel={},this.currentSecondLevel={},this.currentType={},$j("#jstree").jstree("deselect_all"),this.http.get(this.coreUrl+"rest/administration/doctypes/new").subscribe(function(t){e.folderTypes=t.folderTypes,e.firstLevels=t.firstLevel,e.secondLevels=t.secondLevel,e.processModes=t.processModes,e.models=t.models,e.currentType.indexes=t.indexes,e.loadIndexesTable()},function(t){e.notify.error(t.error.errors)}),this.creationMode=!0},t.prototype.selectIndexesUse=function(t,e){this.currentType.indexes[e].use=t.checked},t.prototype.selectIndexesMandatory=function(t,e){this.currentType.indexes[e].mandatory=t.checked},r([a.ViewChild(p.MatPaginator),i("design:type",p.MatPaginator)],t.prototype,"paginator",void 0),r([a.ViewChild(p.MatSort),i("design:type",p.MatSort)],t.prototype,"sort",void 0),t=r([a.Component({templateUrl:angularGlobals["doctypes-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[a.ChangeDetectorRef,s.MediaMatcher,l.HttpClient,u.NotificationService,p.MatDialog])],t)}();n.DoctypesAdministrationComponent=d;var h=function(){function t(t,e,n){this.http=t,this.data=e,this.dialogRef=n,this.lang=c.LANG}return t=r([a.Component({templateUrl:angularGlobals["doctypes-administration-redirect-modalView"]}),o(1,a.Inject(p.MAT_DIALOG_DATA)),i("design:paramtypes",[l.HttpClient,Object,p.MatDialogRef])],t)}();n.DoctypesAdministrationRedirectModalComponent=h},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],11:[function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=this&&this.__param||function(n,r){return function(t,e){r(t,e,n)}};Object.defineProperty(n,"__esModule",{value:!0});var c=t("@angular/core"),i=t("@angular/cdk/layout"),u=t("@angular/common/http"),p=t("../translate.component"),d=t("../notification.service"),h=t("@angular/material"),f=t("../../plugins/autocomplete.plugin"),m=function(a){function t(t,e,n,r,i){var o=a.call(this,n,["usersAndEntities","visaUsers"])||this;return o.http=n,o.notify=r,o.dialog=i,o.lang=p.LANG,o.isDraggable=!0,o.entities=[],o.currentEntity={},o.config={},o.loading=!1,o.creationMode=!1,o.displayedColumns=["firstname","lastname"],o.dataSource=new h.MatTableDataSource(o.currentEntity.users),$j("link[href='merged_css.php']").remove(),o.mobileQuery=e.matchMedia("(max-width: 768px)"),o._mobileQueryListener=function(){return t.detectChanges()},o.mobileQuery.addListener(o._mobileQueryListener),o}return o(t,a),t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Entités")},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var n=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/entityTypes").subscribe(function(t){n.entityTypeList=t.types},function(t){n.notify.error(t.error.errors)}),this.http.get(this.coreUrl+"rest/entities").subscribe(function(t){n.entities=t.entities,setTimeout(function(){$j("#jstree").jstree({checkbox:{deselect_all:!0,three_state:!1},core:{themes:{name:"proton",responsive:!0},multiple:!1,data:n.entities,check_callback:function(t,e,n,r,i){if("move_node"==t)return!!n.original.allowed}},dnd:{is_draggable:function(t){for(var e=0,n=t.length;e<n;e++)if(!t[e].original.allowed)return!1;return!0}},plugins:["checkbox","search","dnd","sort"]}),$j("#jstree").jstree("select_node",n.entities[0]);var t=!1;$j("#jstree_search").keyup(function(){t&&clearTimeout(t),t=setTimeout(function(){var t=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(t)},250)}),$j("#jstree").on("select_node.jstree",function(t,e){0==n.sidenav.opened&&n.sidenav.open(),1==n.creationMode?n.currentEntity.parent_entity_id=e.node.id:n.loadEntity(e.node.id)}).on("deselect_node.jstree",function(t,e){n.sidenav.close()}).on("move_node.jstree",function(t,e){n.currentEntity.parent_entity_id!=n.currentEntity.entity_id&&(n.currentEntity.parent_entity_id=e.parent),n.moveEntity()}).jstree(),$j(document).on("dnd_start.vakata",function(t,e){$j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("select_node",e.data.nodes[0])})},0),n.loading=!1},function(){location.href="index.php"})},t.prototype.loadEntity=function(t){var e=this;this.http.get(this.coreUrl+"rest/entities/"+t+"/details").subscribe(function(t){e.currentEntity=t.entity,e.currentEntity.visaTemplate[0]&&(e.idCircuitVisa=e.currentEntity.visaTemplate[0].id),e.dataSource=new h.MatTableDataSource(e.currentEntity.users),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},function(t){e.notify.error(t.error.errors)})},t.prototype.addElemListModel=function(n){var r=this,i={object_id:this.currentEntity.entity_id,object_type:"entity_id",title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,items:Array()},o=!1,t={};if(this.currentEntity.roles.forEach(function(e){1==e.available&&r.currentEntity.listTemplate[e.id]&&r.currentEntity.listTemplate[e.id].forEach(function(t){i.items.push({item_type:t.item_type,item_mode:e.id,item_id:t.item_id,sequence:t.sequence}),t.item_id==n.id&&(o=!0)})}),!o){if(0==this.currentEntity.listTemplate.dest.length&&"user"==n.type)t={item_type:"user_id",item_id:n.id,labelToDisplay:n.idToDisplay,descriptionToDisplay:n.otherInfo,item_mode:"dest",sequence:0},this.currentEntity.listTemplate.dest.unshift(t),i.items.push({item_type:"user_id",item_mode:"dest",item_id:t.item_id,sequence:t.sequence});else{t={item_type:"user"==n.type?"user_id":"entity_id",item_id:n.id,labelToDisplay:n.idToDisplay,descriptionToDisplay:n.otherInfo,item_mode:"cc",sequence:0},this.currentEntity.listTemplate.cc.unshift(t),i.items.push({item_type:t.item_type,item_mode:"cc",item_id:t.item_id,sequence:0})}this.currentEntity.listTemplate.id?this.http.put(this.coreUrl+"rest/listTemplates/"+this.currentEntity.listTemplate.id,i).subscribe(function(t){r.currentEntity.listTemplate.id=t.id,r.notify.success(r.lang.entityUpdated)},function(t){r.notify.error(t.error.errors)}):this.http.post(this.coreUrl+"rest/listTemplates",i).subscribe(function(t){r.currentEntity.listTemplate.id=t.id,r.notify.success(r.lang.entityUpdated)},function(t){r.notify.error(t.error.errors)})}this.elementCtrl.setValue("")},t.prototype.addElemListModelVisa=function(t){var e=this,n={object_id:this.currentEntity.entity_id,object_type:"VISA_CIRCUIT",title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,items:Array()},r={id:"",item_type:"user_id",item_mode:"sign",item_id:t.id,sequence:this.currentEntity.visaTemplate.length,idToDisplay:t.idToDisplay,descriptionToDisplay:t.otherInfo};this.currentEntity.visaTemplate.forEach(function(t,e){t.sequence=e,t.item_mode="visa",n.items.push({id:t.id,item_id:t.item_id,item_type:"user_id",item_mode:t.item_mode,sequence:t.sequence})}),n.items.push(r),0<this.currentEntity.visaTemplate.length?this.http.put(this.coreUrl+"rest/listTemplates/"+this.idCircuitVisa,n).subscribe(function(t){e.idCircuitVisa=t.id,e.currentEntity.visaTemplate.push(r),e.notify.success(e.lang.entityUpdated)},function(t){e.notify.error(t.error.errors)}):this.http.post(this.coreUrl+"rest/listTemplates",n).subscribe(function(t){e.idCircuitVisa=t.id,e.currentEntity.visaTemplate.push(r),e.notify.success(e.lang.entityUpdated)},function(t){e.notify.error(t.error.errors)}),this.userCtrl.setValue("")},t.prototype.saveEntity=function(){var e=this;"#"==this.currentEntity.parent_entity_id&&(this.currentEntity.parent_entity_id=""),this.creationMode?this.http.post(this.coreUrl+"rest/entities",this.currentEntity).subscribe(function(t){e.entities=t.entities,$j("#jstree").jstree(!0).settings.core.data=e.entities,$j("#jstree").jstree("refresh"),e.notify.success(e.lang.entityAdded),e.creationMode=!1},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/entities/"+this.currentEntity.entity_id,this.currentEntity).subscribe(function(t){e.entities=t.entities,$j("#jstree").jstree(!0).settings.core.data=e.entities,$j("#jstree").jstree("refresh"),e.notify.success(e.lang.entityUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.moveEntity=function(){var e=this;this.http.put(this.coreUrl+"rest/entities/"+this.currentEntity.entity_id,this.currentEntity).subscribe(function(t){e.notify.success(e.lang.entityUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.readMode=function(){this.creationMode=!1,this.isDraggable=!0,$j("#jstree").jstree("deselect_all");for(var t=0;t<this.entities.length;t++)if(this.entities[t].entity_id==this.currentEntity.parent_entity_id){$j("#jstree").jstree("select_node",this.entities[t]);break}},t.prototype.removeEntity=function(){var n=this;0<this.currentEntity.documents||0<this.currentEntity.redirects||0<this.currentEntity.instances||0<this.currentEntity.users.length?(this.config={data:{entity:this.currentEntity}},this.dialogRef=this.dialog.open(g,this.config),this.dialogRef.afterClosed().subscribe(function(t){console.log(t),t&&n.http.put(n.coreUrl+"rest/entities/"+t.entity_id+"/reassign/"+t.redirectEntity,{}).subscribe(function(t){n.entities=t.entities,$j("#jstree").jstree(!0).settings.core.data=n.entities,$j("#jstree").jstree("refresh"),n.notify.success(n.lang.entityDeleted);for(var e=0;e<n.entities.length;e++)if(1==n.entities[e].allowed){$j("#jstree").jstree("select_node",n.entities[e]);break}},function(t){n.notify.error(t.error.errors)}),n.dialogRef=null})):confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentEntity.entity_label+" »")&&this.http.delete(this.coreUrl+"rest/entities/"+this.currentEntity.entity_id).subscribe(function(t){n.entities=t.entities,$j("#jstree").jstree(!0).settings.core.data=n.entities,$j("#jstree").jstree("refresh"),n.notify.success(n.lang.entityDeleted);for(var e=0;e<n.entities.length;e++)if(1==n.entities[e].allowed){$j("#jstree").jstree("select_node",n.entities[e]);break}},function(t){n.notify.error(t.error.errors)})},t.prototype.prepareEntityAdd=function(){if(this.creationMode=!0,this.isDraggable=!1,console.log(this.currentEntity.entity_id),this.currentEntity.entity_id){for(var t=0;t<this.entities.length;t++)if(this.entities[t].entity_id==this.currentEntity.entity_id){this.currentEntity={entity_type:this.entityTypeList[0].id},this.currentEntity.parent_entity_id=this.entities[t].entity_id;break}}else{this.currentEntity={entity_type:this.entityTypeList[0].id},$j("#jstree").jstree("deselect_all");for(t=0;t<this.entities.length;t++)if(1==this.entities[t].allowed){$j("#jstree").jstree("select_node",this.entities[t]);break}}},t.prototype.updateStatus=function(t,e){var n=this;this.http.put(this.coreUrl+"rest/entities/"+t.entity_id+"/status",{method:e}).subscribe(function(t){n.notify.success("")},function(t){n.notify.error(t.error.errors)})},t.prototype.updateDiffList=function(e,t){var n=this,r={object_id:this.currentEntity.entity_id,object_type:"entity_id",title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,items:Array()};"dest"==t&&0<this.currentEntity.listTemplate.dest.length&&(this.currentEntity.listTemplate.dest.forEach(function(t){t.item_id!=e.item_id&&n.currentEntity.listTemplate.cc.push(t)}),this.currentEntity.listTemplate.dest=[e]),this.currentEntity.roles.forEach(function(e){1==e.available&&n.currentEntity.listTemplate[e.id]&&n.currentEntity.listTemplate[e.id].forEach(function(t){r.items.push({item_id:t.item_id,item_type:t.item_type,item_mode:e.id,sequence:t.sequence})})}),this.currentEntity.listTemplate.id?this.http.put(this.coreUrl+"rest/listTemplates/"+this.currentEntity.listTemplate.id,r).subscribe(function(t){n.currentEntity.listTemplate.id=t.id,n.notify.success(n.lang.entityUpdated)},function(t){n.notify.error(t.error.errors)}):this.http.post(this.coreUrl+"rest/listTemplates",r).subscribe(function(t){n.currentEntity.listTemplate.id=t.id,n.notify.success(n.lang.entityUpdated)},function(t){n.notify.error(t.error.errors)})},t.prototype.updateDiffListVisa=function(t){var n=this,r={object_id:this.currentEntity.entity_id,object_type:"VISA_CIRCUIT",title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,items:Array()};this.currentEntity.visaTemplate.forEach(function(t,e){(t.sequence=e)==n.currentEntity.visaTemplate.length-1?t.item_mode="sign":t.item_mode="visa",r.items.push({id:t.id,item_id:t.item_id,item_type:"user_id",item_mode:t.item_mode,sequence:t.sequence})}),this.http.put(this.coreUrl+"rest/listTemplates/"+this.idCircuitVisa,r).subscribe(function(t){n.idCircuitVisa=t.id,n.notify.success(n.lang.entityUpdated)},function(t){n.notify.error(t.error.errors)})},t.prototype.removeDiffList=function(t,e){var n=this;this.currentEntity.listTemplate[e].splice(t,1);var r={object_id:this.currentEntity.entity_id,object_type:"entity_id",title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,items:Array()};this.currentEntity.roles.forEach(function(e){1==e.available&&n.currentEntity.listTemplate[e.id]&&n.currentEntity.listTemplate[e.id].forEach(function(t){r.items.push({item_id:t.item_id,item_type:t.item_type,item_mode:e.id,sequence:t.sequence})})}),this.http.put(this.coreUrl+"rest/listTemplates/"+this.currentEntity.listTemplate.id,r).subscribe(function(t){n.currentEntity.listTemplate.id=t.id,n.notify.success(n.lang.entityUpdated)},function(t){n.notify.error(t.error.errors)})},t.prototype.removeDiffListVisa=function(t,e){var n=this;if(this.currentEntity.visaTemplate.splice(e,1),0<this.currentEntity.visaTemplate.length){var r={object_id:this.currentEntity.entity_id,object_type:"VISA_CIRCUIT",title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,items:Array()};this.currentEntity.visaTemplate.forEach(function(t,e){(t.sequence=e)==n.currentEntity.visaTemplate.length-1?t.item_mode="sign":t.item_mode="visa",r.items.push({item_id:t.item_id,item_type:"user_id",item_mode:t.item_mode,sequence:t.sequence})}),this.http.put(this.coreUrl+"rest/listTemplates/"+this.idCircuitVisa,r).subscribe(function(t){n.idCircuitVisa=t.id,n.notify.success(n.lang.entityUpdated)},function(t){n.notify.error(t.error.errors)})}else this.http.delete(this.coreUrl+"rest/listTemplates/"+this.idCircuitVisa).subscribe(function(t){n.idCircuitVisa=null,n.notify.success(n.lang.entityUpdated)},function(t){n.notify.error(t.error.errors)})},s([c.ViewChild("snav2"),l("design:type",h.MatSidenav)],t.prototype,"sidenav",void 0),s([c.ViewChild(h.MatPaginator),l("design:type",h.MatPaginator)],t.prototype,"paginator",void 0),s([c.ViewChild(h.MatSort),l("design:type",h.MatSort)],t.prototype,"sort",void 0),t=s([c.Component({templateUrl:angularGlobals["entities-administrationView"],providers:[d.NotificationService]}),l("design:paramtypes",[c.ChangeDetectorRef,i.MediaMatcher,u.HttpClient,d.NotificationService,h.MatDialog])],t)}(f.AutoCompletePlugin);n.EntitiesAdministrationComponent=m;var g=function(i){function t(t,e,n){var r=i.call(this,t,["entities"])||this;return r.http=t,r.data=e,r.dialogRef=n,r.lang=p.LANG,r}return o(t,i),t=s([c.Component({templateUrl:angularGlobals["entities-administration-redirect-modalView"]}),a(1,c.Inject(h.MAT_DIALOG_DATA)),l("design:paramtypes",[u.HttpClient,Object,h.MatDialogRef])],t)}(f.AutoCompletePlugin);n.EntitiesAdministrationRedirectModalComponent=g},{"../../plugins/autocomplete.plugin":44,"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],12:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/common/http"),s=t("@angular/router"),l=t("../translate.component"),c=t("../notification.service"),u=function(){function t(t,e,n,r){this.http=t,this.route=e,this.router=n,this.notify=r,this.lang=l.LANG,this.entity={},this.loading=!1}return t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > <a onclick='location.hash = \"/administration/entities\"' style='cursor: pointer'>Entités</a>")},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.entityIdAvailable=!1,e.loading=!1):(e.creationMode=!1,e.entityIdAvailable=!0,e.id=t.id,e.http.get(e.coreUrl+"rest/entities/"+e.id+"/details").subscribe(function(t){e.entity=t.basket,e.loading=!1},function(){location.href="index.php"}))})},t.prototype.isAvailable=function(){var e=this;this.entity.id?this.http.get(this.coreUrl+"rest/entities/"+this.entity.id).subscribe(function(){e.entityIdAvailable=!1},function(t){e.entityIdAvailable=!1,"Entity not found"==t.error.errors&&(e.entityIdAvailable=!0)}):this.entityIdAvailable=!1},t.prototype.onSubmit=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/entities",this.entity).subscribe(function(t){e.notify.success(e.lang.entityAdded),e.router.navigate(["/administration/entities"])},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/entities/"+this.id,this.entity).subscribe(function(t){e.notify.success(e.lang.entityUpdated),e.router.navigate(["/administration/entities"])},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["entity-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[a.HttpClient,s.ActivatedRoute,s.Router,c.NotificationService])],t)}();n.EntityAdministrationComponent=u},{"../notification.service":37,"../translate.component":40,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],13:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=t("../notification.service"),p=t("@angular/material"),d=function(){function t(t,e,n,r,i,o){this.http=n,this.route=r,this.router=i,this.notify=o,this.lang=c.LANG,this.group={security:{}},this.loading=!1,this.displayedColumns=["firstname","lastname"],$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){var e="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > <a onclick='location.hash = \"/administration/groups\"' style='cursor: pointer'>"+this.lang.groups+"</a> > ";1==this.creationMode?e+=this.lang.groupCreation:e+=this.lang.groupModification,$j("#ariane")[0].innerHTML=e},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.loading=!1,e.updateBreadcrumb(angularGlobals.applicationName)):(e.creationMode=!1,e.http.get(e.coreUrl+"rest/groups/"+t.id+"/details").subscribe(function(t){e.updateBreadcrumb(angularGlobals.applicationName),e.group=t.group,e.loading=!1,setTimeout(function(){e.dataSource=new p.MatTableDataSource(e.group.users),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"}))})},t.prototype.onSubmit=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/groups",this.group).subscribe(function(t){e.notify.success(e.lang.groupAdded),e.router.navigate(["/administration/groups/"+t.group])},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/groups/"+this.group.id,{description:this.group.group_desc,security:this.group.security}).subscribe(function(t){e.notify.success(e.lang.groupUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.updateService=function(e){var n=this;this.http.put(this.coreUrl+"rest/groups/"+this.group.id+"/services/"+e.id,e).subscribe(function(t){n.notify.success(n.lang.groupUpdated)},function(t){e.checked=!e.checked,n.notify.error(t.error.errors)})},r([o.ViewChild(p.MatPaginator),i("design:type",p.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(p.MatSort),i("design:type",p.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["group-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.ActivatedRoute,l.Router,u.NotificationService])],t)}();n.GroupAdministrationComponent=d},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66,"@angular/router":70}],14:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=this&&this.__param||function(n,r){return function(t,e){r(t,e,n)}};Object.defineProperty(n,"__esModule",{value:!0});var a=t("@angular/core"),s=t("@angular/cdk/layout"),l=t("@angular/common/http"),c=t("../translate.component"),u=t("../notification.service"),p=t("@angular/material"),d=function(){function t(t,e,n,r,i){this.http=n,this.notify=r,this.dialog=i,this.config={},this.lang=c.LANG,this.groups=[],this.groupsForAssign=[],this.loading=!1,this.displayedColumns=["group_id","group_desc","actions"],this.dataSource=new p.MatTableDataSource(this.groups),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Groupes")},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/groups").subscribe(function(t){e.groups=t.groups,e.loading=!1,setTimeout(function(){e.dataSource=new p.MatTableDataSource(e.groups),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"})},t.prototype.preDelete=function(e){var n=this;0==e.users.length?confirm("Etes vous sûr de vouloir supprimer ce groupe ?")&&this.deleteGroup(e):(this.groupsForAssign=[],this.groups.forEach(function(t){e.group_id!=t.group_id&&n.groupsForAssign.push(t)}),this.config={data:{id:e.id,group_desc:e.group_desc,groupsForAssign:this.groupsForAssign,users:e.users}},this.dialogRef=this.dialog.open(h,this.config),this.dialogRef.afterClosed().subscribe(function(t){t&&("_NO_REPLACEMENT"==t?n.deleteGroup(e):n.http.put(n.coreUrl+"rest/groups/"+e.id+"/reassign/"+t,{}).subscribe(function(t){n.deleteGroup(e)},function(t){n.notify.error(t.error.errors)})),n.dialogRef=null}))},t.prototype.deleteGroup=function(t){var e=this;this.http.delete(this.coreUrl+"rest/groups/"+t.id).subscribe(function(t){setTimeout(function(){e.groups=t.groups,e.dataSource=new p.MatTableDataSource(e.groups),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0),e.notify.success(e.lang.groupDeleted)},function(t){e.notify.error(t.error.errors)})},r([a.ViewChild(p.MatPaginator),i("design:type",p.MatPaginator)],t.prototype,"paginator",void 0),r([a.ViewChild(p.MatSort),i("design:type",p.MatSort)],t.prototype,"sort",void 0),t=r([a.Component({templateUrl:angularGlobals["groups-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[a.ChangeDetectorRef,s.MediaMatcher,l.HttpClient,u.NotificationService,p.MatDialog])],t)}();n.GroupsAdministrationComponent=d;var h=function(){function t(t,e,n){this.http=t,this.data=e,this.dialogRef=n,this.lang=c.LANG}return t=r([a.Component({templateUrl:angularGlobals["groups-administration-redirect-modalView"]}),o(1,a.Inject(p.MAT_DIALOG_DATA)),i("design:paramtypes",[l.HttpClient,Object,p.MatDialogRef])],t)}();n.GroupsAdministrationRedirectModalComponent=h},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],15:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.loading=!1,this.data=[],this.CurrentYear=(new Date).getFullYear(),this.currentMonth=(new Date).getMonth()+1,this.minDate=new Date,this.displayedColumns=["event_date","event_type","user_id","info","remote_ip"],this.dataSource=new u.MatTableDataSource(this.data),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > "+this.lang.history)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.updateBreadcrumb(angularGlobals.applicationName),$j("#inner_content").remove(),this.minDate=new Date(this.CurrentYear+"-"+this.currentMonth+"-01"),this.http.get(this.coreUrl+"rest/administration/history/eventDate/"+this.minDate.toJSON()).subscribe(function(t){e.data=t.historyList,e.loading=!1,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.data),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(t){console.log(t),location.href="index.php"})},t.prototype.refreshHistory=function(t){var e=this;this.http.get(this.coreUrl+"rest/administration/history/eventDate/"+this.minDate.toJSON()).subscribe(function(t){e.data=t.historyList,e.dataSource=new u.MatTableDataSource(e.data),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},function(t){console.log(t),location.href="index.php"})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["history-administrationView"],styleUrls:[],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.HistoryAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],16:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.loading=!1,this.data=[],this.CurrentYear=(new Date).getFullYear(),this.currentMonth=(new Date).getMonth()+1,this.minDate=new Date,this.displayedColumns=["batch_id","event_date","total_processed","total_errors","info","module_name"],this.dataSource=new u.MatTableDataSource(this.data),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > "+this.lang.historyBatch)},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.updateBreadcrumb(angularGlobals.applicationName),$j("#inner_content").remove(),this.minDate=new Date(this.CurrentYear+"-"+this.currentMonth+"-01"),this.http.get(this.coreUrl+"rest/administration/historyBatch/eventDate/"+this.minDate.toJSON()).subscribe(function(t){e.data=t.historyList,e.loading=!1,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.data),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(t){console.log(t),location.href="index.php"})},t.prototype.refreshHistory=function(){var e=this;this.http.get(this.coreUrl+"rest/administration/historyBatch/eventDate/"+this.minDate.toJSON()).subscribe(function(t){e.data=t.historyList,e.dataSource=new u.MatTableDataSource(e.data),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},function(t){console.log(t),location.href="index.php"})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["historyBatch-administrationView"],styleUrls:[],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.HistoryBatchAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],17:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=t("../notification.service"),p=function(){function t(t,e,n,r,i,o){this.http=n,this.route=r,this.router=i,this.notify=o,this.notification={diffusionType_label:null},this.loading=!1,this.lang=c.LANG,$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.updateBreadcrumb=function(t){var e="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > <a onclick='location.hash = \"/administration/notifications\"' style='cursor: pointer'>"+this.lang.notifications+"</a> > ";1==this.creationMode?e+=this.lang.notificationCreation:e+=this.lang.notificationModification,$j("#ariane")[0].innerHTML=e},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.loading=!0,this.coreUrl=angularGlobals.coreUrl,this.route.params.subscribe(function(t){void 0===t.identifier?(e.creationMode=!0,e.http.get(e.coreUrl+"rest/administration/notifications/new").subscribe(function(t){e.notification=t.notification,e.loading=!1},function(t){e.notify.error(t.error.errors)})):(e.creationMode=!1,e.http.get(e.coreUrl+"rest/notifications/"+t.identifier).subscribe(function(t){e.notification=t.notification,e.loading=!1},function(t){e.notify.error(t.error.errors)}))}),this.updateBreadcrumb(angularGlobals.applicationName)},t.prototype.createScript=function(){var e=this;this.http.post(this.coreUrl+"rest/scriptNotification",this.notification).subscribe(function(t){e.notification.scriptcreated=t,e.notify.success(e.lang.ScriptCreated)},function(t){e.notify.error(t.error.errors)})},t.prototype.selectAll=function(t){var e=t.target.getAttribute("data-target");$j("#"+e+" option").prop("selected",!0),$j("#"+e).trigger("chosen:updated")},t.prototype.unselectAll=function(t){var e=t.target.getAttribute("data-target");$j("#"+e+" option").prop("selected",!1),$j("#"+e).trigger("chosen:updated")},t.prototype.onSubmit=function(){var e=this;$j("#groupslist").val()?this.notification.diffusion_properties=$j("#groupslist").val():$j("#entitieslist").val()?this.notification.diffusion_properties=$j("#entitieslist").val():$j("#statuseslist").val()?this.notification.diffusion_properties=$j("#statuseslist").val():$j("#userslist").val()&&(this.notification.diffusion_properties=$j("#userslist").val()),null==$j("#joinDocJd").val()?this.notification.attachfor_properties="":$j("#groupslistJd").val()?this.notification.attachfor_properties=$j("#groupslistJd").val():$j("#entitieslistJd").val()?this.notification.attachfor_properties=$j("#entitieslistJd").val():$j("#statuseslistJd").val()?this.notification.attachfor_properties=$j("#statuseslistJd").val():$j("#userslistJd").val()&&(this.notification.attachfor_properties=$j("#userslistJd").val()),this.creationMode?this.http.post(this.coreUrl+"rest/notifications",this.notification).subscribe(function(t){e.router.navigate(["/administration/notifications"]),e.notify.success(e.lang.NotificationAdded)},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/notifications/"+this.notification.notification_sid,this.notification).subscribe(function(t){e.router.navigate(["/administration/notifications"]),e.notify.success(e.lang.notificationUpdated)},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["notification-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.ActivatedRoute,l.Router,u.NotificationService])],t)}();n.NotificationAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],18:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.notifications=[],this.loading=!1,this.lang=l.LANG,this.displayedColumns=["notification_id","description","is_enabled","notifications"],this.dataSource=new u.MatTableDataSource(this.notifications),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/notifications").subscribe(function(t){e.notifications=t.notifications,e.loading=!1,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.notifications),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(t){e.notify.error(t.error.errors)})},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > "+this.lang.notifications)},t.prototype.deleteNotification=function(t){var e=this;confirm(this.lang.deleteMsg)&&this.http.delete(this.coreUrl+"rest/notifications/"+t.notification_sid).subscribe(function(t){e.notifications=t.notifications,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.notifications),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0),e.notify.success(e.lang.notificationDeleted)},function(t){e.notify.error(t.error.errors)})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["notifications-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.NotificationsAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],19:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=t("../notification.service"),p=function(){function t(t,e,n,r,i){this.http=n,this.router=r,this.notify=i,this.crontab=[],this.authorizedNotification=[],this.loading=!1,this.lang=c.LANG,$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/notifications/schedule").subscribe(function(t){e.crontab=t.crontab,e.authorizedNotification=t.authorizedNotification,e.loading=!1},function(t){e.notify.error(t.error.errors)})},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > <a onclick='location.hash = \"/administration/notifications\"' style='cursor: pointer'>"+this.lang.notifications+"</a> > "+this.lang.notificationsSchedule)},t.prototype.onSubmit=function(){var e=this;this.http.post(this.coreUrl+"rest/notifications/schedule",this.crontab).subscribe(function(t){e.router.navigate(["/administration/notifications"]),e.notify.success(e.lang.NotificationScheduleUpdated)},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["notifications-schedule-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.Router,u.NotificationService])],t)}();n.NotificationsScheduleAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],20:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=t("../notification.service"),p=function(){function t(t,e,n,r,i,o){this.http=n,this.route=r,this.router=i,this.notify=o,this.lang=c.LANG,this.parameter={},this.loading=!1,$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){var e="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > <a onclick='location.hash = \"/administration/parameters\"' style='cursor: pointer'>"+this.lang.parameters+"</a> > ";1==this.creationMode?e+=this.lang.parameterCreation:e+=this.lang.parameterModification,$j("#ariane")[0].innerHTML=e},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.updateBreadcrumb(angularGlobals.applicationName),e.loading=!1):(e.creationMode=!1,e.http.get(e.coreUrl+"rest/parameters/"+t.id).subscribe(function(t){e.parameter=t.parameter,e.updateBreadcrumb(angularGlobals.applicationName),"number"==typeof e.parameter.param_value_int?e.type="int":e.parameter.param_value_date?e.type="date":e.type="string",e.loading=!1},function(){location.href="index.php"}))})},t.prototype.onSubmit=function(){var e=this;"date"==this.type?(this.parameter.param_value_int=null,this.parameter.param_value_string=null):"int"==this.type?(this.parameter.param_value_date=null,this.parameter.param_value_string=null):"string"==this.type&&(this.parameter.param_value_date=null,this.parameter.param_value_int=null),1==this.creationMode?this.http.post(this.coreUrl+"rest/parameters",this.parameter).subscribe(function(t){e.router.navigate(["administration/parameters"]),e.notify.success(e.lang.parameterAdded)},function(t){e.notify.error(t.error.errors)}):0==this.creationMode&&this.http.put(this.coreUrl+"rest/parameters/"+this.parameter.id,this.parameter).subscribe(function(t){e.router.navigate(["administration/parameters"]),e.notify.success(e.lang.parameterUpdated)},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["parameter-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.ActivatedRoute,l.Router,u.NotificationService])],t)}();n.ParameterAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],21:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.parameters={},this.loading=!1,this.displayedColumns=["id","description","value","actions"],$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > "+this.lang.parameters)},t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/parameters").subscribe(function(t){e.parameters=t.parameters,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.parameters),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0),e.loading=!1})},t.prototype.deleteParameter=function(t){var e=this;confirm(this.lang.deleteMsg)&&this.http.delete(this.coreUrl+"rest/parameters/"+t).subscribe(function(t){e.parameters=t.parameters,e.dataSource=new u.MatTableDataSource(e.parameters),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort,e.notify.success(e.lang.parameterDeleted)},function(t){e.notify.error(t.error.errors)})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["parameters-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.ParametersAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],22:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.loading=!1,this.priorities=[],this.displayedColumns=["label","delays","working_days","default_priority","actions"],$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/priorities").subscribe(function(t){e.priorities=t.priorities,e.loading=!1,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.priorities),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"})},t.prototype.deletePriority=function(t){var e=this;confirm(this.lang.deleteMsg)&&this.http.delete(this.coreUrl+"rest/priorities/"+t).subscribe(function(t){e.priorities=t.priorities,e.dataSource=new u.MatTableDataSource(e.priorities),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort,e.notify.success(e.lang.priorityDeleted)},function(t){e.notify.error(t.error.errors)})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["priorities-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.PrioritiesAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],23:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=t("../notification.service"),p=function(){function t(t,e,n,r,i,o){this.http=n,this.route=r,this.router=i,this.notify=o,this.lang=c.LANG,this.loading=!1,this.priority={useDoctypeDelay:!1,color:"#135f7f",delays:"0",working_days:"false",default_priority:!1},$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.loading=!1):(e.creationMode=!1,e.id=t.id,e.http.get(e.coreUrl+"rest/priorities/"+e.id).subscribe(function(t){e.priority=t.priority,e.priority.useDoctypeDelay=null!=e.priority.delays,!0===e.priority.working_days?e.priority.working_days="true":e.priority.working_days="false",e.loading=!1},function(){location.href="index.php"}))})},t.prototype.onSubmit=function(){var e=this;0==this.priority.useDoctypeDelay&&(this.priority.delays=null),this.priority.working_days="true"==this.priority.working_days,this.creationMode?this.http.post(this.coreUrl+"rest/priorities",this.priority).subscribe(function(){e.notify.success(e.lang.priorityAdded),e.router.navigate(["/administration/priorities"])},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/priorities/"+this.id,this.priority).subscribe(function(){e.notify.success(e.lang.priorityUpdated),e.router.navigate(["/administration/priorities"])},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["priority-administrationView"],providers:[u.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.ActivatedRoute,l.Router,u.NotificationService])],t)}();n.PriorityAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],24:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.groups=[],this.reports=[],this.selectedGroup="",this.loading=!1,this.loadingOptions=!1,$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > "+this.lang.reports)},t.prototype.ngOnInit=function(){var e=this;this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/reports/groups").subscribe(function(t){e.groups=t.groups,e.loadReports(0),e.loading=!1},function(){location.href="index.php"})},t.prototype.loadReports=function(t){var e=this;this.selectedGroup=this.groups[t].group_id,this.loadingOptions=!0,this.http.get(this.coreUrl+"rest/reports/groups/"+this.groups[t].group_id).subscribe(function(t){e.reports=t.reports,e.loadingOptions=!1},function(t){e.notify.error(t.error.errors)})},t.prototype.saveReport=function(){var e=this;this.http.put(this.coreUrl+"rest/reports/groups/"+this.selectedGroup,this.reports).subscribe(function(){e.notify.success(e.lang.modificationSaved)},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["reports-administrationView"],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.ReportsAdministrationComponent=u},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64}],25:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("@angular/router"),c=t("../translate.component"),u=t("../notification.service"),p=function(){function t(t,e,n,r,i,o){this.http=n,this.route=r,this.router=i,this.notify=o,this.lang=c.LANG,this.status={id:null,label_status:null,can_be_searched:null,can_be_modified:null,is_folder_status:null,img_filename:null},this.statusImages="",this.loading=!1,$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.loading=!0,this.coreUrl=angularGlobals.coreUrl,this.prepareStatus(),this.route.params.subscribe(function(t){void 0===t.identifier?(e.http.get(e.coreUrl+"rest/administration/statuses/new").subscribe(function(t){e.status.img_filename="fm-letter",e.status.can_be_searched=!0,e.status.can_be_modified=!0,e.statusImages=t.statusImages,e.creationMode=!0,e.loading=!1}),e.statusIdAvailable=!1):(e.creationMode=!1,e.statusIdentifier=t.identifier,e.getStatusInfos(e.statusIdentifier),e.statusIdAvailable=!0,e.loading=!1),e.updateBreadcrumb(angularGlobals.applicationName)})},t.prototype.prepareStatus=function(){$j("#inner_content").remove()},t.prototype.updateBreadcrumb=function(t){var e="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > <a onclick='location.hash = \"/administration/statuses\"' style='cursor: pointer'>"+this.lang.statuses+"</a> > ";1==this.creationMode?e+=this.lang.statusCreation:e+=this.lang.statusModification,$j("#ariane")[0].innerHTML=e},t.prototype.getStatusInfos=function(t){var e=this;this.http.get(this.coreUrl+"rest/statuses/"+t).subscribe(function(t){e.status=t.status[0],"Y"==e.status.can_be_searched?e.status.can_be_searched=!0:e.status.can_be_searched=!1,"Y"==e.status.can_be_modified?e.status.can_be_modified=!0:e.status.can_be_modified=!1,"Y"==e.status.is_folder_status?e.status.is_folder_status=!0:e.status.is_folder_status=!1,e.statusImages=t.statusImages},function(t){e.notify.error(t.error.errors)})},t.prototype.isAvailable=function(){var e=this;this.status.id?this.http.get(this.coreUrl+"rest/status/"+this.status.id).subscribe(function(){e.statusIdAvailable=!1},function(t){e.statusIdAvailable=!1,"id not found"==t.error.errors&&(e.statusIdAvailable=!0)}):this.statusIdAvailable=!1},t.prototype.submitStatus=function(){var e=this;1==this.creationMode?this.http.post(this.coreUrl+"rest/statuses",this.status).subscribe(function(t){e.notify.success(e.lang.statusAdded),e.router.navigate(["administration/statuses"])},function(t){e.notify.error(t.error.errors)}):0==this.creationMode&&this.http.put(this.coreUrl+"rest/statuses/"+this.statusIdentifier,this.status).subscribe(function(t){e.notify.success(e.lang.statusUpdated),e.router.navigate(["administration/statuses"])},function(t){e.notify.error(t.error.errors)})},t=r([o.Component({templateUrl:angularGlobals["status-administrationView"],styleUrls:["css/status-administration.component.css"],providers:[u.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,l.ActivatedRoute,l.Router,u.NotificationService])],t)}();n.StatusAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/router":70}],26:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/cdk/layout"),s=t("@angular/common/http"),l=t("../translate.component"),c=t("../notification.service"),u=t("@angular/material"),p=function(){function t(t,e,n,r){this.http=n,this.notify=r,this.lang=l.LANG,this.statuses=[],this.loading=!1,this.displayedColumns=["img_filename","id","label_status","identifier"],this.dataSource=new u.MatTableDataSource(this.statuses),$j("link[href='merged_css.php']").remove(),this.mobileQuery=e.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return t.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.prepareStatus(),this.loading=!0,this.http.get(this.coreUrl+"rest/statuses").subscribe(function(t){e.statuses=t.statuses,e.updateBreadcrumb(angularGlobals.applicationName),e.loading=!1,setTimeout(function(){e.dataSource=new u.MatTableDataSource(e.statuses),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(t){e.notify.error(t.error.errors)})},t.prototype.prepareStatus=function(){$j("#inner_content").remove()},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>"+this.lang.administration+"</a> > "+this.lang.statuses},t.prototype.deleteStatus=function(t){var e=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+t.id+" »")&&this.http.delete(this.coreUrl+"rest/statuses/"+t.identifier).subscribe(function(t){e.statuses=t.statuses,e.dataSource=new u.MatTableDataSource(e.statuses),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort,e.notify.success(e.lang.statusDeleted)},function(t){e.notify.error(t.error.errors)})},r([o.ViewChild(u.MatPaginator),i("design:type",u.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(u.MatSort),i("design:type",u.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals["statuses-administrationView"],styleUrls:[],providers:[c.NotificationService]}),i("design:paramtypes",[o.ChangeDetectorRef,a.MediaMatcher,s.HttpClient,c.NotificationService])],t)}();n.StatusesAdministrationComponent=p},{"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],27:[function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),a=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},s=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var l=t("@angular/core"),c=t("@angular/cdk/layout"),u=t("@angular/common/http"),p=t("../translate.component"),d=t("../notification.service"),o=function(o){function t(t,e,n,r){var i=o.call(this,n,["statuses"])||this;return i.http=n,i.notify=r,i.lang=p.LANG,i.statuses=[],i.statusId="",i.resId="",i.chrono="",i.loading=!1,$j("link[href='merged_css.php']").remove(),i.mobileQuery=e.matchMedia("(max-width: 768px)"),i._mobileQueryListener=function(){return t.detectChanges()},i.mobileQuery.addListener(i._mobileQueryListener),i}return i(t,o),t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > <a onclick='location.hash = \"/administration\"' style='cursor: pointer'>Administration</a> > Changement du statut")},t.prototype.ngOnInit=function(){this.loading=!0,this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!1},t.prototype.onSubmit=function(){var e=this,t={status:this.statusId};""!=this.resId?t.resId=this.resId:""!=this.chrono&&(t.chrono=this.chrono),this.http.put(this.coreUrl+"rest/res/resource/status",t).subscribe(function(){e.resId="",e.chrono="",e.statusId="",e.notify.success(e.lang.modificationSaved)},function(t){e.notify.error(t.error.errors)})},t.prototype.resetInput=function(t){0==t.index?this.resId="":this.chrono=""},t=a([l.Component({templateUrl:angularGlobals["update-status-administrationView"],providers:[d.NotificationService]}),s("design:paramtypes",[l.ChangeDetectorRef,c.MediaMatcher,u.HttpClient,d.NotificationService])],t)}(t("../../plugins/autocomplete.plugin").AutoCompletePlugin);n.UpdateStatusAdministrationComponent=o},{"../../plugins/autocomplete.plugin":44,"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64}],28:[function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},a=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var s=t("@angular/core"),c=t("@angular/cdk/layout"),u=t("@angular/common/http"),p=t("@angular/router"),d=t("../translate.component"),h=t("../notification.service"),f=t("@angular/material"),l=function(l){function t(t,e,n,r,i,o,a){var s=l.call(this,n,["users"])||this;return s.http=n,s.route=r,s.router=i,s.zone=o,s.notify=a,s.lang=d.LANG,s._search="",s.user={},s.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""},s.userAbsenceModel=[],s.userList=[],s.selectedSignature=-1,s.selectedSignatureLabel="",s.data=[],s.CurrentYear=(new Date).getFullYear(),s.currentMonth=(new Date).getMonth()+1,s.minDate=new Date,s.loading=!1,s.displayedColumns=["event_date","event_type","info","remote_ip"],s.dataSource=new f.MatTableDataSource(s.data),$j("link[href='merged_css.php']").remove(),s.mobileQuery=e.matchMedia("(max-width: 768px)"),s._mobileQueryListener=function(){return t.detectChanges()},s.mobileQuery.addListener(s._mobileQueryListener),window.angularUserAdministrationComponent={componentAfterUpload:function(t){return s.processAfterUpload(t)}},s}return i(t,l),t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){void 0===t.id?(e.creationMode=!0,e.loading=!1):(e.creationMode=!1,e.serialId=t.id,e.http.get(e.coreUrl+"rest/users/"+e.serialId+"/details").subscribe(function(t){e.user=t,e.data=t.history,e.userId=t.user_id,e.minDate=new Date(e.CurrentYear+"-"+e.currentMonth+"-01"),e.loading=!1,setTimeout(function(){e.dataSource=new f.MatTableDataSource(e.data),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"}))})},t.prototype.toogleRedirect=function(t){$j("#redirectUser_"+t.group_id+"_"+t.basket_id).toggle(),this.http.get(this.coreUrl+"rest/users").subscribe(function(t){},function(){location.href="index.php"})},t.prototype.initService=function(){var n=this;if(0==$j(".jstree-container-ul").length){$j("#jstree").jstree({checkbox:{three_state:!1},core:{themes:{name:"proton",responsive:!0},data:this.user.allEntities},plugins:["checkbox","search"]}),$j("#jstree").on("select_node.jstree",function(t,e){n.addEntity(e.node.id)}).on("deselect_node.jstree",function(t,e){n.deleteEntity(e.node.id)}).jstree();var t=!1;$j("#jstree_search").keyup(function(){t&&clearTimeout(t),t=setTimeout(function(){var t=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(t)},250)})}},t.prototype.processAfterUpload=function(t){var e=this;this.zone.run(function(){return e.resfreshUpload(t)})},t.prototype.resfreshUpload=function(t){this.signatureModel.size<=2e6?(this.signatureModel.base64=t.replace(/^data:.*?;base64,/,""),this.signatureModel.base64ForJs=t):(this.signatureModel.name="",this.signatureModel.size=0,this.signatureModel.type="",this.signatureModel.base64="",this.signatureModel.base64ForJs="",this.notify.error("Taille maximum de fichier dépassée (2 MB)"))},t.prototype.clickOnUploader=function(t){$j("#"+t).click()},t.prototype.uploadSignatureTrigger=function(t){var e=this;if(t.target.files&&t.target.files[0]){var n=new FileReader;this.signatureModel.name=t.target.files[0].name,this.signatureModel.size=t.target.files[0].size,this.signatureModel.type=t.target.files[0].type,""==this.signatureModel.label&&(this.signatureModel.label=this.signatureModel.name),n.readAsDataURL(t.target.files[0]),n.onload=function(t){window.angularUserAdministrationComponent.componentAfterUpload(t.target.result),e.submitSignature()}}},t.prototype.displaySignatureEditionForm=function(t){this.selectedSignature=t,this.selectedSignatureLabel=this.user.signatures[t].signature_label},t.prototype.resetPassword=function(t){var e=this;confirm(this.lang.confirmAction+" "+this.lang.resetPsw)&&this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/password",{}).subscribe(function(t){e.notify.success(e.lang.pswReseted)},function(t){e.notify.error(t.error.errors)})},t.prototype.toggleGroup=function(t){var e=this;if(1==$j("#"+t.group_id+"-input").is(":checked")){var n={groupId:t.group_id,role:t.role};this.http.post(this.coreUrl+"rest/users/"+this.serialId+"/groups",n).subscribe(function(t){e.user.groups=t.groups,e.user.allGroups=t.allGroups,e.user.baskets=t.baskets,e.notify.success(e.lang.groupAdded)},function(t){e.notify.error(t.error.errors)})}else this.http.delete(this.coreUrl+"rest/users/"+this.serialId+"/groups/"+t.group_id).subscribe(function(t){e.user.groups=t.groups,e.user.allGroups=t.allGroups,e.notify.success(e.lang.groupDeleted)},function(t){e.notify.error(t.error.errors)})},t.prototype.updateGroup=function(t){var e=this;this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/groups/"+t.group_id,t).subscribe(function(t){e.notify.success(e.lang.groupUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.addEntity=function(t){var e=this,n={entityId:t,role:""};this.http.post(this.coreUrl+"rest/users/"+this.serialId+"/entities",n).subscribe(function(t){e.user.entities=t.entities,e.user.allEntities=t.allEntities,e.notify.success(e.lang.entityAdded)},function(t){e.notify.error(t.error.errors)})},t.prototype.updateEntity=function(t){var e=this;this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/entities/"+t.entity_id,t).subscribe(function(t){e.notify.success(e.lang.entityUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.updatePrimaryEntity=function(e){var n=this;this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/entities/"+e.entity_id+"/primaryEntity",{}).subscribe(function(t){n.user.entities=t.entities,n.notify.success(n.lang.entityTooglePrimary+" « "+e.entity_id+" »")},function(t){n.notify.error(t.error.errors)})},t.prototype.deleteEntity=function(t){var e=this;this.http.delete(this.coreUrl+"rest/users/"+this.serialId+"/entities/"+t).subscribe(function(t){e.user.entities=t.entities,e.user.allEntities=t.allEntities,e.notify.success(e.lang.entityDeleted)},function(t){e.notify.error(t.error.errors)})},t.prototype.submitSignature=function(){var e=this;this.http.post(this.coreUrl+"rest/users/"+this.serialId+"/signatures",this.signatureModel).subscribe(function(t){e.user.signatures=t.signatures,e.notify.success(e.lang.signAdded),e.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""}},function(t){e.notify.error(t.error.errors)})},t.prototype.updateSignature=function(e){var n=this,t=this.user.signatures[e].id,r=this.user.signatures[e].signature_label;this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/signatures/"+t,{label:r}).subscribe(function(t){n.user.signatures[e].signature_label=t.signature.signature_label,n.notify.success(n.lang.signUpdated)},function(t){n.notify.error(t.error.errors)})},t.prototype.deleteSignature=function(t){var e=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+t.signature_label+" »")&&this.http.delete(this.coreUrl+"rest/users/"+this.serialId+"/signatures/"+t.id).subscribe(function(t){e.user.signatures=t.signatures,e.notify.success(e.lang.signDeleted)},function(t){e.notify.error(t.error.errors)})},t.prototype.test=function(t){var e=this;if(t.mouseEvent.dataTransfer.files&&t.mouseEvent.dataTransfer.files[0]){var n=new FileReader;this.signatureModel.name=t.mouseEvent.dataTransfer.files[0].name,this.signatureModel.size=t.mouseEvent.dataTransfer.files[0].size,this.signatureModel.type=t.mouseEvent.dataTransfer.files[0].type,""==this.signatureModel.label&&(this.signatureModel.label=this.signatureModel.name),n.readAsDataURL(t.mouseEvent.dataTransfer.files[0]),n.onload=function(t){window.angularUserAdministrationComponent.componentAfterUpload(t.target.result),e.submitSignature()}}},t.prototype.addBasketRedirection=function(t,e){if("ABS"!=this.user.status)confirm(this.lang.confirmAction+" "+this.lang.activateAbs);"ABS"==this.user.status&&(this.userAbsenceModel.push({basketId:this.user.baskets[t].basket_id,basketName:this.user.baskets[t].basket_name,virtual:this.user.baskets[t].is_virtual,basketOwner:this.user.baskets[t].basket_owner,newUser:this.user.baskets[t].userToDisplay}),this.activateAbsence())},t.prototype.delBasketRedirection=function(t){this.user.baskets[t].userToDisplay=""},t.prototype.toggleBasket=function(t){var e=this;this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/baskets",{basketId:t.basket_id,groupSerialId:t.groupSerialId,allowed:t.allowed}).subscribe(function(t){e.notify.success(e.lang.basketUpdated)},function(t){e.notify.error(t.error.errors)})},t.prototype.activateAbsence=function(){var e=this;this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/status",{status:"ABS"}).subscribe(function(t){e.user.status=t.user.status,e.userAbsenceModel=[],e.notify.success(e.lang.absOn)},function(t){e.notify.error(t.error.errors)})},t.prototype.desactivateAbsence=function(){var n=this;this.http.put(this.coreUrl+"rest/users/"+this.serialId+"/status",{status:"OK"}).subscribe(function(t){for(var e in n.user.status=t.user.status,n.user.baskets)n.user.baskets[e].userToDisplay="";n.notify.success(n.lang.absOff)},function(t){n.notify.error(t.error.errors)})},t.prototype.onSubmit=function(){var e=this;this.creationMode?this.http.post(this.coreUrl+"rest/users",this.user).subscribe(function(t){e.notify.success(e.lang.userAdded),e.router.navigate(["/administration/users/"+t.user.id])},function(t){e.notify.error(t.error.errors)}):this.http.put(this.coreUrl+"rest/users/"+this.serialId,this.user).subscribe(function(t){e.notify.success(e.lang.userUpdated)},function(t){e.notify.error(t.error.errors)})},o([s.ViewChild(f.MatPaginator),a("design:type",f.MatPaginator)],t.prototype,"paginator",void 0),o([s.ViewChild(f.MatSort),a("design:type",f.MatSort)],t.prototype,"sort",void 0),t=o([s.Component({templateUrl:angularGlobals["user-administrationView"],styleUrls:["css/user-administration.component.css"],providers:[h.NotificationService]}),a("design:paramtypes",[s.ChangeDetectorRef,c.MediaMatcher,u.HttpClient,p.ActivatedRoute,p.Router,s.NgZone,h.NotificationService])],t)}(t("../../plugins/autocomplete.plugin").AutoCompletePlugin);n.UserAdministrationComponent=l},{"../../plugins/autocomplete.plugin":44,"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66,"@angular/router":70}],29:[function(t,e,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),s=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},l=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},a=this&&this.__param||function(n,r){return function(t,e){r(t,e,n)}};Object.defineProperty(n,"__esModule",{value:!0});var c=t("@angular/core"),i=t("@angular/cdk/layout"),u=t("@angular/common/http"),p=t("../translate.component"),d=t("../notification.service"),h=t("@angular/material"),f=t("../../plugins/autocomplete.plugin"),m=function(a){function t(t,e,n,r,i){var o=a.call(this,n,["users"])||this;return o.http=n,o.notify=r,o.dialog=i,o.lang=p.LANG,o.loading=!1,o.data=[],o.config={},o.userDestRedirect={},o.userDestRedirectModels=[],o.dataSource=new h.MatTableDataSource(o.data),o.displayedColumns=["user_id","lastname","firstname","status","mail","actions"],$j("link[href='merged_css.php']").remove(),o.mobileQuery=e.matchMedia("(max-width: 768px)"),o._mobileQueryListener=function(){return t.detectChanges()},o.mobileQuery.addListener(o._mobileQueryListener),o}return o(t,a),t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},t.prototype.ngOnInit=function(){var e=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/users").subscribe(function(t){e.data=t.users,e.loading=!1,setTimeout(function(){e.dataSource=new h.MatTableDataSource(e.data),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(){location.href="index.php"})},t.prototype.suspendUser=function(e){var n=this;"Y"==e.inDiffListDest?(this.userDestRedirect=e,this.http.get(this.coreUrl+"rest/listTemplates/entityDest/itemId/"+e.user_id).subscribe(function(t){n.userDestRedirectModels=t.listTemplates,n.config={data:{userDestRedirect:n.userDestRedirect,userDestRedirectModels:n.userDestRedirectModels}},n.dialogRef=n.dialog.open(g,n.config),n.dialogRef.afterClosed().subscribe(function(t){t&&(e.enabled="N",e.redirectListModels=t,n.http.put(n.coreUrl+"rest/listTemplates/entityDest/itemId/"+e.user_id,e).subscribe(function(t){t.errors?(e.enabled="Y",n.notify.error(t.errors)):n.http.put(n.coreUrl+"rest/users/"+e.id,e).subscribe(function(){e.inDiffListDest="N",n.notify.success(n.lang.userSuspended)},function(t){e.enabled="Y",n.notify.error(t.error.errors)})},function(t){n.notify.error(t.error.errors)})),n.dialogRef=null})},function(t){console.log(t),location.href="index.php"})):confirm(this.lang.confirmAction+" "+this.lang.suspend+" « "+e.user_id+" »")&&(e.enabled="N",this.http.put(this.coreUrl+"rest/users/"+e.id,e).subscribe(function(){n.notify.success(n.lang.userSuspended)},function(t){e.enabled="Y",n.notify.error(t.error.errors)}))},t.prototype.activateUser=function(e){var n=this;confirm(this.lang.confirmAction+" "+this.lang.authorize+" « "+e.user_id+" »")&&(e.enabled="Y",this.http.put(this.coreUrl+"rest/users/"+e.id,e).subscribe(function(){n.notify.success(n.lang.userAuthorized)},function(t){e.enabled="N",n.notify.error(t.error.errors)}))},t.prototype.deleteUser=function(e){var n=this;"Y"==e.inDiffListDest?(this.userDestRedirect=e,this.http.get(this.coreUrl+"rest/listTemplates/entityDest/itemId/"+e.user_id).subscribe(function(t){n.userDestRedirectModels=t.listTemplates,n.config={data:{userDestRedirect:n.userDestRedirect,userDestRedirectModels:n.userDestRedirectModels}},n.dialogRef=n.dialog.open(g,n.config),n.dialogRef.afterClosed().subscribe(function(t){t&&(e.redirectListModels=t,n.http.put(n.coreUrl+"rest/listTemplates/entityDest/itemId/"+e.user_id,e).subscribe(function(t){t.errors?n.notify.error(t.errors):n.http.delete(n.coreUrl+"rest/users/"+e.id).subscribe(function(){for(var t in n.data)n.data[t].id==e.id&&n.data.splice(Number(t),1);n.dataSource=new h.MatTableDataSource(n.data),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort,n.notify.success(n.lang.userDeleted+" « "+e.user_id+" »")},function(t){n.notify.error(t.error.errors)})},function(t){n.notify.error(t.error.errors)}))})},function(t){n.notify.error(t.error.errors)})):confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+e.user_id+" »")&&this.http.delete(this.coreUrl+"rest/users/"+e.id,e).subscribe(function(){for(var t in n.data)n.data[t].id==e.id&&n.data.splice(Number(t),1);n.dataSource=new h.MatTableDataSource(n.data),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort,n.notify.success(n.lang.userDeleted)},function(t){n.notify.error(t.error.errors)})},s([c.ViewChild(h.MatPaginator),l("design:type",h.MatPaginator)],t.prototype,"paginator",void 0),s([c.ViewChild(h.MatSort),l("design:type",h.MatSort)],t.prototype,"sort",void 0),t=s([c.Component({templateUrl:angularGlobals["users-administrationView"],styleUrls:["css/users-administration.component.css"],providers:[d.NotificationService]}),l("design:paramtypes",[c.ChangeDetectorRef,i.MediaMatcher,u.HttpClient,d.NotificationService,h.MatDialog])],t)}(f.AutoCompletePlugin);n.UsersAdministrationComponent=m;var g=function(i){function t(t,e,n){var r=i.call(this,t,["users"])||this;return r.http=t,r.data=e,r.dialogRef=n,r.lang=p.LANG,r}return o(t,i),t.prototype.sendFunction=function(){var e=!0;return this.data.userDestRedirectModels.each(function(t){t.redirectUserId||(e=!1)}),e},t=s([c.Component({templateUrl:angularGlobals["users-administration-redirect-modalView"]}),a(1,c.Inject(h.MAT_DIALOG_DATA)),l("design:paramtypes",[u.HttpClient,Object,h.MatDialogRef])],t)}(f.AutoCompletePlugin);n.UsersAdministrationRedirectModalComponent=g},{"../../plugins/autocomplete.plugin":44,"../notification.service":37,"../translate.component":40,"@angular/cdk/layout":53,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],30:[function(t,e,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),o=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a};Object.defineProperty(n,"__esModule",{value:!0});var a=t("@angular/material"),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){if("string"==typeof t&&-1<t.indexOf("/")){var e=t.split("/"),n=Number(e[2]),r=Number(e[1])-1,i=Number(e[0]);return new Date(n,r,i)}var o="number"==typeof t?t:Date.parse(t);return isNaN(o)?null:new Date(o)},e.prototype.format=function(t,e){if("input"==e){var n=t.getDate(),r=t.getMonth()+1,i=t.getFullYear();return this._to2digit(n)+"/"+this._to2digit(r)+"/"+i}return t.toDateString()},e.prototype._to2digit=function(t){return("00"+t).slice(-2)},e}(a.NativeDateAdapter);n.AppDateAdapter=s,n.APP_DATE_FORMATS={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric",day:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};var l=t("@angular/core"),c=t("ng2-dnd"),u=t("@angular/material"),p=t("./french-paginator-intl"),d=function(){function t(){}return t=o([l.NgModule({imports:[u.MatCheckboxModule,u.MatSelectModule,u.MatSlideToggleModule,u.MatInputModule,u.MatTooltipModule,u.MatTabsModule,u.MatSidenavModule,u.MatButtonModule,u.MatCardModule,u.MatButtonToggleModule,u.MatProgressSpinnerModule,u.MatToolbarModule,u.MatMenuModule,u.MatGridListModule,u.MatTableModule,u.MatPaginatorModule,u.MatSortModule,u.MatDatepickerModule,u.MatNativeDateModule,u.MatExpansionModule,u.MatAutocompleteModule,u.MatSnackBarModule,u.MatIconModule,u.MatDialogModule,u.MatListModule,u.MatChipsModule,u.MatStepperModule,u.MatRadioModule,u.MatSliderModule,c.DndModule.forRoot()],exports:[u.MatCheckboxModule,u.MatSelectModule,u.MatSlideToggleModule,u.MatInputModule,u.MatTooltipModule,u.MatTabsModule,u.MatSidenavModule,u.MatButtonModule,u.MatCardModule,u.MatButtonToggleModule,u.MatProgressSpinnerModule,u.MatToolbarModule,u.MatMenuModule,u.MatGridListModule,u.MatTableModule,u.MatPaginatorModule,u.MatSortModule,u.MatDatepickerModule,u.MatNativeDateModule,u.MatExpansionModule,u.MatAutocompleteModule,u.MatSnackBarModule,u.MatIconModule,u.MatDialogModule,u.MatListModule,u.MatChipsModule,u.MatStepperModule,u.MatRadioModule,u.MatSliderModule,c.DndModule],providers:[{provide:u.MatPaginatorIntl,useValue:p.getFrenchPaginatorIntl()},{provide:a.DateAdapter,useClass:s},{provide:a.MAT_DATE_FORMATS,useValue:n.APP_DATE_FORMATS},{provide:a.MAT_DATE_LOCALE,useValue:"fr-FR"}]})],t)}();n.AppMaterialModule=d},{"./french-paginator-intl":34,"@angular/core":64,"@angular/material":66,"ng2-dnd":71}],31:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a};Object.defineProperty(n,"__esModule",{value:!0});var i=t("@angular/core"),o=t("@angular/router"),a=t("./profile.component"),s=t("./signature-book.component"),l=function(){function t(){}return t=r([i.NgModule({imports:[o.RouterModule.forRoot([{path:"profile",component:a.ProfileComponent},{path:"groups/:groupId/baskets/:basketId/signatureBook/:resId",component:s.SignatureBookComponent},{path:"**",redirectTo:"",pathMatch:"full"}],{useHash:!0})],exports:[o.RouterModule]})],t)}();n.AppRoutingModule=l},{"./profile.component":38,"./signature-book.component":39,"@angular/core":64,"@angular/router":70}],32:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/platform-browser"),s=t("@angular/material"),l=t("@angular/material");n.myCustomTooltipDefaults={showDelay:500,hideDelay:0,touchendHideDelay:0};var c=function(){function t(t,e){t.addSvgIcon("maarchLogo",e.bypassSecurityTrustResourceUrl("img/logo_white.svg")).addSvgIcon("maarchLogoOnly",e.bypassSecurityTrustResourceUrl("img/logo_only_white.svg"))}return t=r([o.Component({selector:"my-app",template:"<router-outlet></router-outlet>",encapsulation:o.ViewEncapsulation.None,styleUrls:["../../node_modules/bootstrap/dist/css/bootstrap.min.css","css/maarch-material.css","css/engine.css","css/jstree-custom.min.css","../../node_modules/ng2-dnd/bundles/style.css"],viewProviders:[s.MatIconRegistry],providers:[{provide:l.MAT_TOOLTIP_DEFAULT_OPTIONS,useValue:n.myCustomTooltipDefaults}]}),i("design:paramtypes",[s.MatIconRegistry,a.DomSanitizer])],t)}();n.AppComponent=c},{"@angular/core":64,"@angular/material":66,"@angular/platform-browser":69}],33:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a};Object.defineProperty(n,"__esModule",{value:!0});var i=t("@angular/core"),o=t("@angular/platform-browser"),a=t("@angular/platform-browser/animations"),s=t("@angular/forms"),l=t("@angular/common/http"),c=t("./app-material.module"),u=t("./notification.service"),p=t("./app.component"),d=t("./app-routing.module"),h=t("./administration/administration.module"),f=t("./profile.component"),m=t("./signature-book.component"),g=function(){function t(){}return t=r([i.NgModule({imports:[o.BrowserModule,a.BrowserAnimationsModule,s.FormsModule,l.HttpClientModule,h.AdministrationModule,d.AppRoutingModule,c.AppMaterialModule],declarations:[p.AppComponent,f.ProfileComponent,m.SignatureBookComponent,m.SafeUrlPipe,u.CustomSnackbarComponent],entryComponents:[u.CustomSnackbarComponent],bootstrap:[p.AppComponent]})],t)}();n.AppModule=g},{"./administration/administration.module":5,"./app-material.module":30,"./app-routing.module":31,"./app.component":32,"./notification.service":37,"./profile.component":38,"./signature-book.component":39,"@angular/common/http":61,"@angular/core":64,"@angular/forms":65,"@angular/platform-browser":69,"@angular/platform-browser/animations":68}],34:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("@angular/material"),i=function(t,e,n){if(0==n||0==e)return"0 de "+n;var r=t*e;r<(n=Math.max(n,0))&&Math.min(r+e,n);return"Page "+(t+1)+" / "+Math.ceil(n/e)};n.getFrenchPaginatorIntl=function(){var t=new r.MatPaginatorIntl;return t.itemsPerPageLabel="Afficher:",t.nextPageLabel="Page suivante",t.previousPageLabel="Page précédente",t.getRangeLabel=i,t}},{"@angular/material":66}],35:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/common/http"),s=t("@angular/common"),l=t("../translate.component"),c=function(){function t(t,e){this.http=t,this._location=e,this.lang=l.LANG}return t.prototype.ngOnInit=function(){this.coreUrl=angularGlobals.coreUrl},t.prototype.backClicked=function(){this._location.back()},t=r([o.Component({selector:"menu-nav",templateUrl:angularGlobals.menuNavView}),i("design:paramtypes",[a.HttpClient,s.Location])],t)}();n.MenuNavComponent=c},{"../translate.component":40,"@angular/common":62,"@angular/common/http":61,"@angular/core":64}],36:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/common/http"),s=t("../translate.component"),l=function(){function t(t){this.http=t,this.lang=s.LANG}return t.prototype.ngOnInit=function(){this.coreUrl=angularGlobals.coreUrl},t=r([o.Component({selector:"menu-app",templateUrl:angularGlobals.menuView}),i("design:paramtypes",[a.HttpClient])],t)}();n.MenuComponent=l},{"../translate.component":40,"@angular/common/http":61,"@angular/core":64}],37:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},o=this&&this.__param||function(n,r){return function(t,e){r(t,e,n)}};Object.defineProperty(n,"__esModule",{value:!0});var a=t("@angular/material"),s=t("@angular/core"),l=t("@angular/material"),c=function(){function t(t){this.data=t}return t=r([s.Component({selector:"custom-snackbar",template:'<mat-grid-list cols="4" rowHeight="1:1"><mat-grid-tile colspan="1"><mat-icon class="fa fa-{{data.icon}} fa-2x"></mat-icon></mat-grid-tile><mat-grid-tile colspan="3">{{data.message}}</mat-grid-tile></mat-grid-list>'}),o(0,s.Inject(l.MAT_SNACK_BAR_DATA)),i("design:paramtypes",[Object])],t)}();n.CustomSnackbarComponent=c;var u=function(){function t(t){this.snackBar=t}return t.prototype.success=function(t){this.snackBar.openFromComponent(c,{duration:2e3,data:{message:t,icon:"info-circle"}})},t.prototype.error=function(t){this.snackBar.openFromComponent(c,{duration:2e3,data:{message:t,icon:"exclamation-triangle"}})},t=r([s.Injectable(),i("design:paramtypes",[a.MatSnackBar])],t)}();n.NotificationService=u},{"@angular/core":64,"@angular/material":66}],38:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/common/http"),s=t("./translate.component"),l=t("./notification.service"),c=t("@angular/material"),u=function(){function t(t,e,n){var r=this;this.http=t,this.zone=e,this.notify=n,this.lang=s.LANG,this.user={baskets:[]},this.histories=[],this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},this.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""},this.mailSignatureModel={selected:0,htmlBody:"",title:""},this.userAbsenceModel=[],this.basketsToRedirect=[],this.showPassword=!1,this.selectedSignature=-1,this.selectedSignatureLabel="",this.loading=!1,this.displayAbsenceButton=!1,this.displayedColumns=["event_date","info"],this.dataSource=new c.MatTableDataSource(this.histories),window.angularProfileComponent={componentAfterUpload:function(t){return r.processAfterUpload(t)}}}return t.prototype.applyFilter=function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t},t.prototype.prepareProfile=function(){$j("#inner_content").remove(),$j("#menunav").hide(),$j("#divList").remove(),$j("#magicContactsTable").remove(),$j("#manageBasketsOrderTable").remove(),$j("#controlParamTechnicTable").remove(),$j("#container").width("99%"),$j("#content h1")[0]&&$j("#content h1")[0]!=$j("my-app h1")[0]&&$j("#content h1")[0].remove(),tinymce.baseURL="../../node_modules/tinymce",tinymce.suffix=".min",tinymce.init({selector:"textarea#emailSignature",statusbar:!1,language:"fr_FR",language_url:"tools/tinymce/langs/fr_FR.js",height:"200",plugins:["textcolor"],external_plugins:{bdesk_photo:"../../apps/maarch_entreprise/tools/tinymce/bdesk_photo/plugin.min.js"},menubar:!1,toolbar:"undo | bold italic underline | alignleft aligncenter alignright | bdesk_photo | forecolor",theme_buttons1_add:"fontselect,fontsizeselect",theme_buttons2_add_before:"cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",theme_buttons2_add:"separator,insertdate,inserttime,preview,separator,forecolor,backcolor",theme_buttons3_add_before:"tablecontrols,separator",theme_buttons3_add:"separator,print,separator,ltr,rtl,separator,fullscreen,separator,insertlayer,moveforward,movebackward,absolut",theme_toolbar_align:"left",theme_advanced_toolbar_location:"top",theme_styles:"Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1"})},t.prototype.updateBreadcrumb=function(t){$j("#ariane")[0]&&($j("#ariane")[0].innerHTML="<a href='index.php?reinit=true'>"+t+"</a> > Profil")},t.prototype.ngOnInit=function(){var r=this;this.prepareProfile(),this.updateBreadcrumb(angularGlobals.applicationName),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.http.get(this.coreUrl+"rest/currentUser/profile").subscribe(function(t){r.user=t,r.user.baskets.forEach(function(e,n){r.user.baskets[n].disabled=!1,r.user.redirectedBaskets.forEach(function(t){e.basket_id==t.basket_id&&e.basket_owner==t.basket_owner&&(r.user.baskets[n].disabled=!0)})}),setTimeout(function(){$j("#absenceUser").typeahead({order:"asc",display:"idToDisplay",templateValue:"{{id}}",source:{ajax:{type:"GET",dataType:"json",url:r.coreUrl+"rest/autocomplete/users"}}})},0),r.loading=!1})},t.prototype.processAfterUpload=function(t){var e=this;this.zone.run(function(){return e.resfreshUpload(t)})},t.prototype.resfreshUpload=function(t){this.signatureModel.size<=2e6?(this.signatureModel.base64=t.replace(/^data:.*?;base64,/,""),this.signatureModel.base64ForJs=t):(this.signatureModel.name="",this.signatureModel.size=0,this.signatureModel.type="",this.signatureModel.base64="",this.signatureModel.base64ForJs="",errorNotification("Taille maximum de fichier dépassée (2 MB)"))},t.prototype.displayPassword=function(){this.showPassword=!this.showPassword},t.prototype.clickOnUploader=function(t){$j("#"+t).click()},t.prototype.uploadSignatureTrigger=function(t){if(t.target.files&&t.target.files[0]){var e=new FileReader;this.signatureModel.name=t.target.files[0].name,this.signatureModel.size=t.target.files[0].size,this.signatureModel.type=t.target.files[0].type,""==this.signatureModel.label&&(this.signatureModel.label=this.signatureModel.name),e.readAsDataURL(t.target.files[0]),e.onload=function(t){window.angularProfileComponent.componentAfterUpload(t.target.result)}}},t.prototype.displaySignatureEditionForm=function(t){this.selectedSignature=t,this.selectedSignatureLabel=this.user.signatures[t].signature_label},t.prototype.changeEmailSignature=function(){var t=$j("#emailSignaturesSelect").prop("selectedIndex");0<(this.mailSignatureModel.selected=t)?(tinymce.get("emailSignature").setContent(this.user.emailSignatures[t-1].html_body),this.mailSignatureModel.title=this.user.emailSignatures[t-1].title):(tinymce.get("emailSignature").setContent(""),this.mailSignatureModel.title="")},t.prototype.addBasketRedirection=function(){var r=this;if(void 0!==this.basketsToRedirect[0]&&$j("#absenceUser")[0].value){var e=[];this.basketsToRedirect.forEach(function(t){e.push({basketId:r.user.baskets[t].basket_id,basketName:r.user.baskets[t].basket_name,virtual:r.user.baskets[t].is_virtual,basketOwner:r.user.baskets[t].basket_owner,newUser:$j("#absenceUser")[0].value})}),this.http.post(this.coreUrl+"rest/users/"+this.user.id+"/redirectedBaskets",e).subscribe(function(t){$j("#selectBasketAbsenceUser option").prop("selected",!1),$j("#absenceUser")[0].value="",r.basketsToRedirect=[],r.user.redirectedBaskets=t.redirectedBaskets,r.user.baskets.forEach(function(e,n){r.user.baskets[n].disabled=!1,r.user.redirectedBaskets.forEach(function(t){e.basket_id==t.basket_id&&e.basket_owner==t.basket_owner&&(r.user.baskets[n].disabled=!0)})})},function(t){r.notify.error(t.error.errors)})}else this.notify.error("Veuillez sélectionner au moins une bannette et un utilisateur")},t.prototype.delBasketRedirection=function(t){var r=this;this.http.delete(this.coreUrl+"rest/users/"+this.user.id+"/redirectedBaskets/"+t.basket_id).subscribe(function(t){r.user.redirectedBaskets=t.redirectedBaskets,r.user.baskets.forEach(function(e,n){r.user.baskets[n].disabled=!1,r.user.redirectedBaskets.forEach(function(t){e.basket_id==t.basket_id&&e.basket_owner==t.basket_owner&&(r.user.baskets[n].disabled=!0)})}),r.notify.success(r.lang.modificationSaved)},function(t){r.notify.error(t.error.errors)})},t.prototype.updateBasketColor=function(t,e){var n=this;this.http.put(this.coreUrl+"rest/currentUser/groups/"+this.user.regroupedBaskets[t].groupId+"/baskets/"+this.user.regroupedBaskets[t].baskets[e].basket_id,{color:this.user.regroupedBaskets[t].baskets[e].color}).subscribe(function(t){n.user.regroupedBaskets=t.userBaskets},function(t){n.notify.error(t.error.errors)})},t.prototype.activateAbsence=function(){var e=this;confirm("Voulez-vous vraiment activer votre absence ? Vous serez automatiquement déconnecté.")&&this.http.put(this.coreUrl+"rest/users/"+this.user.id+"/status",{status:"ABS"}).subscribe(function(){location.hash="",location.search="?display=true&page=logout&abs_mode"},function(t){e.notify.error(t.error.errors)})},t.prototype.askRedirectBasket=function(){confirm("Voulez-vous rediriger vos bannettes avant de vous mettre en absence ?")?(this.displayAbsenceButton=!0,$j("#redirectBasketCard").click()):this.activateAbsence()},t.prototype.updatePassword=function(){var e=this;this.http.put(this.coreUrl+"rest/currentUser/password",this.passwordModel).subscribe(function(t){e.showPassword=!1,e.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},successNotification(t.success)},function(t){errorNotification(t.error.errors)})},t.prototype.submitEmailSignature=function(){var e=this;this.mailSignatureModel.htmlBody=tinymce.get("emailSignature").getContent(),this.http.post(this.coreUrl+"rest/currentUser/emailSignature",this.mailSignatureModel).subscribe(function(t){t.errors?errorNotification(t.errors):(e.user.emailSignatures=t.emailSignatures,e.mailSignatureModel={selected:0,htmlBody:"",title:""},tinymce.get("emailSignature").setContent(""),successNotification(t.success))})},t.prototype.updateEmailSignature=function(){var e=this;this.mailSignatureModel.htmlBody=tinymce.get("emailSignature").getContent();var t=this.user.emailSignatures[this.mailSignatureModel.selected-1].id;this.http.put(this.coreUrl+"rest/currentUser/emailSignature/"+t,this.mailSignatureModel).subscribe(function(t){t.errors?errorNotification(t.errors):(e.user.emailSignatures[e.mailSignatureModel.selected-1].title=t.emailSignature.title,e.user.emailSignatures[e.mailSignatureModel.selected-1].html_body=t.emailSignature.html_body,successNotification(t.success))})},t.prototype.deleteEmailSignature=function(){var e=this;if(confirm("Voulez-vous vraiment supprimer la signature de mail ?")){var t=this.user.emailSignatures[this.mailSignatureModel.selected-1].id;this.http.delete(this.coreUrl+"rest/currentUser/emailSignature/"+t).subscribe(function(t){t.errors?errorNotification(t.errors):(e.user.emailSignatures=t.emailSignatures,e.mailSignatureModel={selected:0,htmlBody:"",title:""},tinymce.get("emailSignature").setContent(""),successNotification(t.success))})}},t.prototype.submitSignature=function(){var e=this;this.http.post(this.coreUrl+"rest/users/"+this.user.id+"/signatures",this.signatureModel).subscribe(function(t){e.user.signatures=t.signatures,e.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""},successNotification(t.success)},function(t){errorNotification(t.error.errors)})},t.prototype.updateSignature=function(){var e=this,t=this.user.signatures[this.selectedSignature].id;this.http.put(this.coreUrl+"rest/users/"+this.user.id+"/signatures/"+t,{label:this.selectedSignatureLabel}).subscribe(function(t){e.user.signatures[e.selectedSignature].signature_label=t.signature.signature_label,e.selectedSignature=-1,e.selectedSignatureLabel="",successNotification(t.success)},function(t){errorNotification(t.error.errors)})},t.prototype.deleteSignature=function(t){var e=this;confirm("Voulez-vous vraiment supprimer la signature ?")&&this.http.delete(this.coreUrl+"rest/users/"+this.user.id+"/signatures/"+t).subscribe(function(t){e.user.signatures=t.signatures,successNotification(t.success)},function(t){errorNotification(t.error.errors)})},t.prototype.getHistories=function(){var e=this;0==this.histories.length&&this.http.get(this.coreUrl+"rest/histories/users/"+this.user.id).subscribe(function(t){e.histories=t.histories,setTimeout(function(){e.dataSource=new c.MatTableDataSource(e.histories),e.dataSource.paginator=e.paginator,e.dataSource.sort=e.sort},0)},function(t){e.notify.error(t.error.errors)})},t.prototype.onSubmit=function(){var e=this;this.http.put(this.coreUrl+"rest/currentUser/profile",this.user).subscribe(function(){e.notify.success(e.lang.modificationSaved)},function(t){e.notify.error(t.error.errors)})},r([o.ViewChild(c.MatPaginator),i("design:type",c.MatPaginator)],t.prototype,"paginator",void 0),r([o.ViewChild(c.MatSort),i("design:type",c.MatSort)],t.prototype,"sort",void 0),t=r([o.Component({templateUrl:angularGlobals.profileView,styleUrls:["../../node_modules/bootstrap/dist/css/bootstrap.min.css","css/profile.component.css"],providers:[l.NotificationService]}),i("design:paramtypes",[a.HttpClient,o.NgZone,l.NotificationService])],t)}();n.ProfileComponent=u},{"./notification.service":37,"./translate.component":40,"@angular/common/http":61,"@angular/core":64,"@angular/material":66}],39:[function(t,e,n){"use strict";var r=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},i=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};Object.defineProperty(n,"__esModule",{value:!0});var o=t("@angular/core"),a=t("@angular/common/http"),s=t("@angular/platform-browser"),l=t("@angular/router"),c=function(){function t(t){this.sanitizer=t}return t.prototype.transform=function(t){return this.sanitizer.bypassSecurityTrustResourceUrl(t)},t=r([o.Pipe({name:"safeUrl"}),i("design:paramtypes",[s.DomSanitizer])],t)}();n.SafeUrlPipe=c;var u=function(){function t(t,e,n,r){var i=this;this.http=t,this.route=e,this.router=n,this.zone=r,this.signatureBook={currentAction:{},consigne:"",documents:[],attachments:[],resList:[],resListIndex:0,lang:{}},this.rightSelectedThumbnail=0,this.leftSelectedThumbnail=0,this.rightViewerLink="",this.leftViewerLink="",this.headerTab=1,this.showTopRightPanel=!1,this.showTopLeftPanel=!1,this.showResLeftPanel=!0,this.showLeftPanel=!0,this.showRightPanel=!0,this.showAttachmentPanel=!1,this.showSignaturesPanel=!1,this.loading=!1,this.loadingSign=!1,this.leftContentWidth="44%",this.rightContentWidth="44%",this.notesViewerLink="",this.visaViewerLink="",this.histViewerLink="",this.linksViewerLink="",this.attachmentsViewerLink="",window.angularSignatureBookComponent={componentAfterAttach:function(t){return i.processAfterAttach(t)},componentAfterAction:function(){return i.processAfterAction()},componentAfterNotes:function(){return i.processAfterNotes()},componentAfterLinks:function(){return i.processAfterLinks()}}}return t.prototype.prepareSignatureBook=function(){$j("#inner_content").remove(),$j("#header").remove(),$j("#viewBasketsTitle").remove(),$j("#homePageWelcomeTitle").remove(),$j("#footer").remove(),$j("#container").width("99%")},t.prototype.ngOnInit=function(){var e=this;this.prepareSignatureBook(),this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe(function(t){e.resId=+t.resId,e.basketId=t.basketId,e.groupId=t.groupId,e.signatureBook.resList=[],lockDocument(e.resId),setInterval(function(){lockDocument(e.resId)},5e4),e.http.get(e.coreUrl+"rest/groups/"+e.groupId+"/baskets/"+e.basketId+"/signatureBook/"+e.resId).subscribe(function(t){if(t.error)return location.hash="",void(location.search="");e.signatureBook=t,e.headerTab=1,e.leftSelectedThumbnail=0,e.rightSelectedThumbnail=0,e.leftViewerLink="",e.rightViewerLink="",e.showLeftPanel=!0,e.showRightPanel=!0,e.showResLeftPanel=!0,e.showTopLeftPanel=!1,e.showTopRightPanel=!1,e.showAttachmentPanel=!1,e.notesViewerLink="index.php?display=true&module=notes&page=notes&identifier="+e.resId+"&origin=document&coll_id=letterbox_coll&load&size=full",e.visaViewerLink="index.php?display=true&page=show_visa_tab&module=visa&resId="+e.resId+"&collId=letterbox_coll&visaStep=true",e.histViewerLink="index.php?display=true&page=show_history_tab&resId="+e.resId+"&collId=letterbox_coll",e.linksViewerLink="index.php?display=true&page=show_links_tab&id="+e.resId,e.attachmentsViewerLink="index.php?display=true&module=attachments&page=frame_list_attachments&resId="+e.resId+"&noModification=true&template_selected=documents_list_attachments_simple&load&attach_type_exclude=converted_pdf,print_folder",e.leftContentWidth="44%",e.rightContentWidth="44%",e.signatureBook.documents[0]&&(e.leftViewerLink=e.signatureBook.documents[0].viewerLink,"outgoing"==e.signatureBook.documents[0].category_id&&(e.headerTab=3)),e.signatureBook.attachments[0]&&(e.rightViewerLink=e.signatureBook.attachments[0].viewerLink),e.displayPanel("RESLEFT"),e.loading=!1,setTimeout(function(){$j("#rightPanelContent").niceScroll({touchbehavior:!1,cursorcolor:"#666",cursoropacitymax:.6,cursorwidth:4}),0==$j(".tooltipstered").length&&$j("#obsVersion").tooltipster({interactive:!0})},0)},function(t){errorNotification(JSON.parse(t._body).errors),setTimeout(function(){e.backToBasket()},2e3)})})},t.prototype.ngOnDestroy=function(){delete window.angularSignatureBookComponent},t.prototype.processAfterAttach=function(t){var e=this;this.zone.run(function(){return e.refreshAttachments(t)})},t.prototype.processAfterNotes=function(){var t=this;this.zone.run(function(){return t.refreshNotes()})},t.prototype.processAfterLinks=function(){var t=this;this.zone.run(function(){return t.refreshLinks()})},t.prototype.processAfterAction=function(){for(var t=this,e=-1,n=this.signatureBook.resList.length,r=0;r<n;r++)this.signatureBook.resList[r].res_id==this.resId&&(this.signatureBook.resList[r+1]?e=this.signatureBook.resList[r+1].res_id:0<r&&(e=this.signatureBook.resList[r-1].res_id));0<n&&(unlockDocument(this.resId),0<=e?($j("#send").removeAttr("disabled"),$j("#send").css("opacity","1"),this.zone.run(function(){return t.changeLocation(e,"action")})):this.zone.run(function(){return t.backToBasket()}))},t.prototype.changeSignatureBookLeftContent=function(t){this.headerTab=t,this.showTopLeftPanel=!1},t.prototype.changeRightViewer=function(t){this.showAttachmentPanel=!1,this.signatureBook.attachments[t]?this.rightViewerLink=this.signatureBook.attachments[t].viewerLink:this.rightViewerLink="",this.rightSelectedThumbnail=t},t.prototype.changeLeftViewer=function(t){this.leftViewerLink=this.signatureBook.documents[t].viewerLink,this.leftSelectedThumbnail=t},t.prototype.displayPanel=function(t){var n=this;"TOPRIGHT"==t?this.showTopRightPanel=!this.showTopRightPanel:"TOPLEFT"==t?this.showTopLeftPanel=!this.showTopLeftPanel:"LEFT"==t?(this.showLeftPanel=!this.showLeftPanel,this.showResLeftPanel=!1,this.showLeftPanel?(this.rightContentWidth="48%",this.leftContentWidth="48%",$j("#hideLeftContent").css("background","#CEE9F1")):(this.rightContentWidth="96%",$j("#hideLeftContent").css("background","none"))):"RESLEFT"==t?(this.showResLeftPanel=!this.showResLeftPanel,this.showResLeftPanel?(this.rightContentWidth="44%",this.leftContentWidth="44%",0!=this.signatureBook.resList.length&&null!=this.signatureBook.resList[0].allSigned||this.http.get(this.coreUrl+"rest/"+this.basketId+"/signatureBook/resList/details").subscribe(function(t){n.signatureBook.resList=t.resList,n.signatureBook.resList.forEach(function(t,e){t.res_id==n.resId&&(n.signatureBook.resListIndex=e)}),setTimeout(function(){$j("#resListContent").niceScroll({touchbehavior:!1,cursorcolor:"#666",cursoropacitymax:.6,cursorwidth:4}),$j("#resListContent").scrollTop(0),$j("#resListContent").scrollTop($j(".resListContentFrameSelected").offset().top-42)},0)})):(this.rightContentWidth="48%",this.leftContentWidth="48%")):"MIDDLE"==t&&(this.showRightPanel=!this.showRightPanel,this.showResLeftPanel=!1,this.showRightPanel?(this.rightContentWidth="48%",this.leftContentWidth="48%",$j("#contentLeft").css("border-right","solid 1px")):(this.leftContentWidth="96%",$j("#contentLeft").css("border-right","none")))},t.prototype.displayAttachmentPanel=function(){this.showAttachmentPanel=!this.showAttachmentPanel,this.rightSelectedThumbnail=0,this.signatureBook.attachments[0]&&(this.rightViewerLink=this.signatureBook.attachments[0].viewerLink)},t.prototype.refreshAttachments=function(e){var o=this;"rightContent"==e?this.http.get(this.coreUrl+"rest/signatureBook/"+this.resId+"/incomingMailAttachments").subscribe(function(t){o.signatureBook.documents=t}):this.http.get(this.coreUrl+"rest/signatureBook/"+this.resId+"/attachments").subscribe(function(t){var n=0;if("add"==e){var r=!1;t.forEach(function(t,e){r||o.signatureBook.attachments[e]&&t.res_id==o.signatureBook.attachments[e].res_id||(n=e,r=!0)})}else if("edit"==e){var i=o.signatureBook.attachments[o.rightSelectedThumbnail].res_id;t.forEach(function(t,e){t.res_id==i&&(n=e)})}o.signatureBook.attachments=t,"add"==e||"edit"==e?o.changeRightViewer(n):"del"==e&&o.changeRightViewer(0)})},t.prototype.addAttachmentIframe=function(){showAttachmentsForm("index.php?display=true&module=attachments&page=attachments_content&docId="+this.resId)},t.prototype.editAttachmentIframe=function(t){var e;t.canModify&&"SIGN"!=t.status&&(0==t.res_id?e=t.res_id_version:0==t.res_id_version&&(e=t.res_id),modifyAttachmentsForm("index.php?display=true&module=attachments&page=attachments_content&id="+e+"&relation="+t.relation+"&docId="+this.resId,"98%","auto"))},t.prototype.delAttachment=function(t){var e=this;if(t.canDelete){if(this.signatureBook.attachments.length<=1)var n=confirm("Attention, ceci est votre dernière pièce jointe pour ce courrier, voulez-vous vraiment la supprimer ?");else n=confirm("Voulez-vous vraiment supprimer la pièce jointe ?");var r;if(n)0==t.res_id?r=t.res_id_version:0==t.res_id_version&&(r=t.res_id),this.http.get("index.php?display=true&module=attachments&page=del_attachment&id="+r+"&relation="+t.relation+"&rest=true").subscribe(function(){e.refreshAttachments("del")})}},t.prototype.refreshNotes=function(){var e=this;this.http.get(this.coreUrl+"rest/res/"+this.resId+"/notes/count").subscribe(function(t){e.signatureBook.nbNotes=t})},t.prototype.refreshLinks=function(){var e=this;this.http.get(this.coreUrl+"rest/links/resId/"+this.resId).subscribe(function(t){e.signatureBook.nbLinks=t.length})},t.prototype.signFile=function(t,e){var n=this;if(!this.loadingSign&&this.signatureBook.canSign){this.loadingSign=!0;var r="index.php?display=true&module=visa&page=sign_file&collId=letterbox_coll&resIdMaster="+this.resId+"&signatureId="+e.id;0==t.res_id?"outgoing_mail"==t.attachment_type&&"outgoing"==this.signatureBook.documents[0].category_id?r+="&isVersion&isOutgoing&id="+t.res_id_version:r+="&isVersion&id="+t.res_id_version:0==t.res_id_version&&("outgoing_mail"==t.attachment_type&&"outgoing"==this.signatureBook.documents[0].category_id?r+="&isOutgoing&id="+t.res_id:r+="&id="+t.res_id),this.http.get(r,e).subscribe(function(t){if(0==t.status){n.rightViewerLink="index.php?display=true&module=attachments&page=view_attachment&res_id_master="+n.resId+"&id="+t.new_id+"&isVersion=false",n.signatureBook.attachments[n.rightSelectedThumbnail].viewerLink=n.rightViewerLink,n.signatureBook.attachments[n.rightSelectedThumbnail].status="SIGN",n.signatureBook.attachments[n.rightSelectedThumbnail].idToDl=t.new_id;var e=!0;n.signatureBook.attachments.forEach(function(t){t.sign&&"SIGN"!=t.status&&(e=!1)}),0<n.signatureBook.resList.length&&(n.signatureBook.resList[n.signatureBook.resListIndex].allSigned=e),3==n.headerTab&&(n.changeSignatureBookLeftContent(0),setTimeout(function(){n.changeSignatureBookLeftContent(3)},0))}else alert(t.error);n.showSignaturesPanel=!1,n.loadingSign=!1})}},t.prototype.unsignFile=function(t){var e,n,r,i=this;0==t.res_id?(n=t.res_id_version,e="res_version_attachments",r="true"):0==t.res_id_version&&(n=t.res_id,e="res_attachments",r="false"),this.http.put(this.coreUrl+"rest/"+e+"/"+n+"/unsign",{}).subscribe(function(){i.rightViewerLink="index.php?display=true&module=attachments&page=view_attachment&res_id_master="+i.resId+"&id="+t.viewerNoSignId+"&isVersion="+r,i.signatureBook.attachments[i.rightSelectedThumbnail].viewerLink=i.rightViewerLink,i.signatureBook.attachments[i.rightSelectedThumbnail].status="A_TRA",i.signatureBook.attachments[i.rightSelectedThumbnail].idToDl=n,0<i.signatureBook.resList.length&&(i.signatureBook.resList[i.signatureBook.resListIndex].allSigned=!1),3==i.headerTab&&(i.changeSignatureBookLeftContent(0),setTimeout(function(){i.changeSignatureBookLeftContent(3)},0))})},t.prototype.backToBasket=function(){unlockDocument(this.resId),location.hash="",location.reload()},t.prototype.backToDetails=function(){unlockDocument(this.resId),location.hash="",location.search="?page=details&dir=indexing_searching&id="+this.resId},t.prototype.changeLocation=function(n,r){var i=this;this.http.get(this.coreUrl+"rest/res/"+n+"/lock").subscribe(function(t){if(t.lock)"view"==r?alert("Courrier verrouillé par "+t.lockBy):"action"==r&&(alert("Courrier suivant verrouillé par "+t.lockBy),i.backToBasket());else{var e="/groups/"+i.groupId+"/baskets/"+i.basketId+"/signatureBook/"+n;i.router.navigate([e])}})},t.prototype.validForm=function(){var n=this;""!=$j("#signatureBookActions option:selected")[0].value?1==this.signatureBook.listinstance.requested_signature?this.http.get(this.coreUrl+"rest/listinstance/"+this.signatureBook.listinstance.listinstance_id).subscribe(function(t){var e=!0;0==t.signatory&&(e=confirm("Vous n’avez signé aucun document. Êtes-vous sûr de vouloir continuer ?")),e&&n.sendActionForm()}):this.sendActionForm():alert("Aucune action choisie")},t.prototype.sendActionForm=function(){var e=this;unlockDocument(this.resId),0==this.signatureBook.resList.length?this.http.get(this.coreUrl+"rest/"+this.basketId+"/signatureBook/resList").subscribe(function(t){e.signatureBook.resList=t.resList,valid_action_form("empty","index.php?display=true&page=manage_action&module=core",e.signatureBook.currentAction.id,e.resId,"res_letterbox","null","letterbox_coll","page",!1,[$j("#signatureBookActions option:selected")[0].value])}):valid_action_form("empty","index.php?display=true&page=manage_action&module=core",this.signatureBook.currentAction.id,this.resId,"res_letterbox","null","letterbox_coll","page",!1,[$j("#signatureBookActions option:selected")[0].value])},t=r([o.Component({templateUrl:angularGlobals["signature-bookView"]}),i("design:paramtypes",[a.HttpClient,l.ActivatedRoute,l.Router,o.NgZone])],t)}();n.SignatureBookComponent=u},{"@angular/common/http":61,"@angular/core":64,"@angular/platform-browser":69,"@angular/router":70}],40:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("../lang/lang-en"),i=t("../lang/lang-fr"),o={};"en"==angularGlobals.lang?o=r.LANG_EN:"fr"==angularGlobals.lang&&(o=i.LANG_FR),n.LANG=o},{"../lang/lang-en":41,"../lang/lang-fr":42}],41:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LANG_EN={abs:"Absent",action:"Action",actionAdded:"Action added",actionAvailable:"Availables actions",actionCreation:"Action creation",actionDeleted:"Action deleted",actionHistory:"Log action in history",actionHistoryDesc:"Lets you plot this action in the document history. It is strongly recommended to check this option",actionModification:"Action modification",actionName:"Action name",actionPage:"Result page of the action",actionParameters:"Action parameters",actions:"Action(s)",actionUpdated:"Action updated",activateAbsence:"Activate absence",active:"Active",add:"Add",address:"Address",addStatus:"Add a status",addUser:"Add a user",addUserOrEntity:"Add a user / an entity",addVisaSignUser:"Add a visa / sign user",administration:"Administration",administrationServices:"Administration services",allActions:"All actions",application:"Application",archivalAgency:"Archival agency",archivalAgreement:"Archival agreement",associatedStatus:"Associated status",attachments:"Attachments",authorize:"Authorize",autoLogoutAbsence:"You are going to be automaticaly disconnected after your redirections",available:"available",availableGroups:"Available groups",availableStatuses:"Available statuses",avis:"Avis circuit",back:"Back",basket:"Basket",basketAdded:"Basket added",basketCreation:"Basket creation",basketDeleted:"Basket deleted",basketModification:"Basket modification",basketNotification:"Toggle notification for this basket",baskets:"Baskets",basketsOrder:"Manage baskets order",basketUpdated:"Basket updated",browsing:"Browsing",calDays:"calendar days",canBeModified:"Index modification",canBeSearched:"Searchable",cancel:"Cancel",cases:"Cases",changeMyPassword:"Change my password",chooseBasket:"Choose a basket",chooseCategoryAssociation:"Choose one or some associatedd categories",chooseDefaultAction:"Choose main action",chooseEntity:"Choose a entity",chooseGroup:"Choose a group",chooseRedirectGroup:"Choose another group",chronoNumber:"Chrono number",city:"City",clause:"Clause",clickOn:"Click on",color:"Color",content_management:"Ressource revision",country:"Country",createScriptNotification:"Create the script",currentPsw:"Current password",default:"default",defaultAction:"Default action",delete:"Delete",deleteMsg:"Do you really want to delete this element",desactivateAbsence:"Deactivate absence",description:"Description",diffusionList:"Diffusion list",diffusionModelCreation:"Diffusion model creation",diffusionModelDeleted:"Diffusion model deleted",diffusionModelModification:"Diffusion model modification",diffusionModels:"Diffusion models",diffusionModelUpdated:"Diffusion model updated",diffusionType:"Diffusion type",display:"display",documents:"document(s)",doNotModifyUnlessExpert:"Do not edit this section unless you know what you are doing. Incorrect settings can cause the application to malfunction !",email:"Email",emailSignatures:"Email signatures",entities:"Entities",entityAdded:"Entité added",entityDeleted:"Entité deleted",entityFullName:"Full name",entityTooglePrimary:"Pass to primary entity",entityType:"Entity type",entityUpdated:"Entité updated",entityReplacement:"Entity replacement",export_seda:"Seda export",fileplan:"Fileplan",filterBy:"Filter by",fingerprint:"Digital fingerprint",firstname:"Firstname",folder:"Folder",folders:"Folders",for:"for",functionnalities:"Functionnalities",groupAdded:"Group added",groupCreation:"Create group",groupDeleted:"Group deleted",groupModification:"Modify group",groupRedirect:"Group change",groups:"Groups",groupUpdated:"Group updated",history:"Historique",historyBatch:"Historique des batchs",home:"Accueil",id:"Login",imgRelated:"Associated image",inactive:"Inactive",indexing:"Indexing",informations:"Informations",initials:"Initials",isAssociatedTo:"is associated to",isCopyTo:"is in copy to",isDestTo:"is in destination to",isFolderAction:"Folder action",isFolderActionDesc:"Use this action in a folder folder",isFolderBasket:"Folder basket",isFolderStatus:"Folder status",isLinkedTo:"Is linked to",isSearchBasket:"Only search basket",isSytemAction:"System action",keyword:"Keyword",keywordHelp:"Keyword help",keywordHelpDesc_1:"Identifier of logged user",keywordHelpDesc_10:"Immediate sub-entities (n-1) of entities passed in argument",keywordHelpDesc_11:"Example of security definition for a group (where clause) : access of main entity of logged user or sub-entity of this entity",keywordHelpDesc_2:"Email of logged user",keywordHelpDesc_3:"All entities linked to logged user. Sub-entities are excludes",keywordHelpDesc_4:"Primary entity of logged user",keywordHelpDesc_5:"Sub-entities of argument list, can be @my_entities or @my_primary_entity",keywordHelpDesc_6:"Parent entity passed to argument",keywordHelpDesc_7:"All entities to the same level of entity in argument",keywordHelpDesc_8:"All entities with de same type passed in argument",keywordHelpDesc_9:"All entities (enabled)",keywordHelper:"Hide / Display keyword help",label:"Label",lastname:"Lastname",life_cycle:"Life cycle",linkGroup:"Link a group",logout:"Logout",maarchApplication:"Maarch App",manageAbsences:"Manage absences",manageSignatures:"Manage signatures",menus:"Menus",modificationSaved:"Modification has been saved",module:"Module",modules:"Modules",moreOptions:"More options",move:"Move",myMenu:"Personal menu",myProfile:"My profile",newAction:"New action",newElement:"New element",newPsw:"New password",newSignature:"New signature",no:"No",noReplacement:"No replacement",notes:"Notes",NotificationAdded:"Notification added",notificationCreation:"Notification creation",notificationDeleted:"Notification deleted",NotificationDiffusionType:"Diffusion type",NotificationEnabled:"Enabled",NotificationEvent:"Event",NotificationJoinDocument:"Join document to notification",NotificationModel:"Model",notificationModification:"Notification modification",notifications:"Notification(s)",notificationSchedule:"Notifications schedule",NotificationScheduleInfo:"This part is used to define when notifications will be sent.\n\nIf you choose * from all the drop-down lists, the notification will be sent every minute 365 days a year.\n\nFrequency example :\n14 30 * * * [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les jours à 14h30\n9 30 * * Lundi [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les lundi à 9h30",NotificationScheduleUpdated:"Schedule updated",notificationsSchedule:"Notifications schedule",NotificationToEnable:"To enable",notificationUpdated:"Notification updated",otherActions:"Other(s) action(s)",otherInformations:"Other(s) information(s)",otherParameters:"Other(s) parameter(s)",outOf:"of",page:"Page",parameter:"Parameter",parameterAdded:"Parameter added",parameterCreation:"Parameter creation",parameterDeleted:"Parameter deleted",parameterModification:"Parameter modification",parameters:"Parameters",parameterUpdated:"Parameter updated",phoneNumber:"Phone number",primaryEntity:"Primary entity",priorities:"Priorities",priorityAdded:"Priority added",priorityCreation:"Priority creation",priorityDeleted:"Priority deleted",priorityModification:"Priority modification",priorityUpdated:"Priority updated",privileges:"Privileges",processAction:"Process action(s)",processDelay:"Process delay",processDelayDoctype:"doctype delay is used",processType:"Process type",pswReseted:"Password reseted",record:"element(s)",records:"result(s)",recordsPerPage:"result per page",redirects:"Redirections",reinitPassword:"Reset password",relatedUsers:"Related users",renewPsw:"Enter the password again",reports:"Reports",resetPsw:"Reset password",resId:"Res Identifier",resultPages:"Rseult pages",role:"Role",save:"Save",sbSignatures:"Signature Book Signatures",ScriptCreated:"Script created",search:"Search",searchEntities:"Search entity",secondaryEntity:"Secondary entity",selectAll:"Select all",sendmail:"Sendmail",shortLabel:"Short label",signAdded:"Sign added",signDeleted:"Sign deleted",signUpdated:"Sign updated",siretCode:"SIRET code",status:"Status",statusAdded:"Status added",statusCreation:"Status creation",statusDeleted:"Status deleted",statuses:"Statuses",statusModification:"Status modification",statusName:"Status name",statusUpdated:"Status updated",suspend:"Suspend",system:"System",systemParameters:"System parameters",tags:"Tags",templates:"Templates",thesaurus:"Thesaurus",to:"to",toDefault:"default",toEntities:"To entities",tools:"Tools",tooltipFolderStatus:"If checked, status can be used for folder baskets",tooltipIndexStatus:"If checked, you can edit metadatas of the documents having this status",tooltipSearchStatus:"If checked, the status will be offered in the search criteria STATUS of the advanced search",toSchedule:"To schedule",toStatuses:"To statuses",toStatusesDesc:"You cannot choose a status, a default status has been chosen for this action.",totalErrors:"Errors element(s)",totalProcessed:"Processed element(s)",toUsersEntities:"To users in entities",type:"Type",unlinkAction:"Unlink action",unlinkGroup:"Unlink group",unselectAll:"Unselect all",update:"Update",updateStatus:"Document status modification",updateStatusInformationsChrono:"When typing the CHRONO of a document, you will modify its status. The document will be present in the basket depending of the status you have chosen.",updateStatusInformationsGed:"When typing the GED NUMBER of a document, you will modify its status. The document will be present in the basket depending of the status you have chosen.",uploadSignFile:"Upload a sign file",uploadSignFileInfo:"Click to add sign file from your computer",usedInActionPage:"Used in action page",usedInBasketlist:"Used in basket list",user:"user",userCreation:"User Creation",userModification:"User Modification",validate:"Validate",validateAction:"Validate action(s)",value:"value",view:"View",visa:"Visa circuit",whereClauseAction:"Where clause condition of action display",workingDays:"Working days",yes:"Yes",zipcode:"Zip code",doctypesAdmin:"Document types",firstLevelDoctype:"Folder",secondLevelDoctype:"Sub-folder",doctype:"Document types",folderTypeList:"Folder types list",firstLevelAttached:"Attach to folder",secondLevelAttached:"Attach to subfolder",retentionFinalDisposition:"Sort final",retentionRule:"Retention rules",durationCurrentUse:"Duration current use",processDelayDay:"Process delay (in days)",delay1:"Reminder period 1 before term (in days)",delay2:"Reminder period 2 after term (in days)",processMode:"Process modes",loadedFile:"Loaded file",generatedFile:"Generated file",destruction:"Destruction",conservation:"Retention",firstLevelAdded:"Folder added",firstLevelUpdated:"Folder updated",firstLevelDeleted:"Folder deleted",secondLevelAdded:"Subfolder added",secondLevelUpdated:"Subfolder updated",secondLevelDeleted:"Subfolder deleted",documentTypeAdded:"Document type added",documentTypeUpdated:"Document type updated",documentTypeDeleted:"Document type deleted",documentTypeReplacement:"Document type replacement",transferToDoctype:"Replace by this document type",complementaryFields:"Complementary fields",archival:"Archival",field:"Field",mandatory:"Mandatory",fieldType:"Field type",fieldNature:"Field nature",databaseColumn:"DB column",used:"Utilisé",toolTipDeleteDoctype:"If mails are attached to this type of document, a reassignment screen will be displayed.",cantMoveDoctype:"The document type can only be moved in a sub-folder",noDoctypeSelected:"No document type selected",tooltipPriorityDelay:"Use this processing time instead of the one defined in the document type",tooltipPriorityDefault:"Set this priority by default when saving a mail",defaultPriority:"Default priority",chooseColor:"Choose a color"}},{}],42:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LANG_FR={abs:"Absent",absOff:"Absence désactivée",absOn:"Absence activée",action:"Action",actionAdded:"Action ajoutée",actionAvailable:"Actions disponibles",actionCreation:"Création d'une action",actionDeleted:"Action supprimée",actionHistory:"Tracer l'action",actionHistoryDesc:"Permet tracer cette action dans l'historique du document. Il est fortement recommandé de cocher cette option.",actionModification:"Modification de l'action",actionName:"Nom de l'action",actionPage:"Page de résultat de l'action",actionParameters:"Paramétrage d'action",actions:"Action(s)",actionUpdated:"Action modifiée",activateAbs:"Activer l'absence",activateAbsence:"Activer l'absence",active:"Actif",add:"Ajouter",address:"Adresse",addStatus:"Ajouter un statut",addUser:"Ajouter un utilisateur",addUserOrEntity:"Ajouter un utilisateur / une entité",addVisaSignUser:"Ajouter un viseur / signataire",administration:"Administration",administrationServices:"Droits d'administration",allActions:"Toutes les actions",application:"Application",archivalAgency:"Convention d'archivage",archivalAgreement:"Service d'archive",associatedStatus:"Statut associé",attachments:"Pièces jointes",authorize:"Autoriser",autoLogoutAbsence:"Vous allez être automatiquement déconnecté après avoir défini vos redirections de bannettes",available:"disponible",availableGroups:"Groupes disponibles",availableStatuses:"Statuts disponibles",avis:"Circuit d'avis",back:"Retour",basket:"Bannette",basketAdded:"Bannette ajoutée",basketCreation:"Création d'une bannette",basketDeleted:"Bannette supprimée",basketModification:"Modification d'une bannette",basketNotification:"Activer / désactiver la notification de cette bannette",baskets:"Bannettes",basketsOrder:"Gérer l'ordre des bannettes",basketUpdated:"Bannette modifiée",browsing:"Navigation",calDays:"jour(s) calendaire(s)",canBeModified:"Modification des index",canBeSearched:"Recherche",cancel:"Annuler",cases:"Affaires",changeMyPassword:"Modifier mon mot de passe",chooseBasket:"Choisissez une banette",chooseCategoryAssociation:"Choisissez une ou plusieurs catégories associée",chooseCategoryAssociationHelp:"Si aucune catégorie sélectionnée alors l'action est valable pour toutes les catégories",chooseDefaultAction:"Choisissez une action principale",chooseEntity:"Choisissez une entité",chooseGroup:"Choisissez un groupe",chooseRedirectGroup:"Choisissez un groupe de remplacement",chronoNumber:"Numéro chrono",city:"Ville",clauseGroup:"Périmètre documentaire",clause:"Clause",clickOn:"Cliquez sur",color:"Couleur",confirmAction:"Voulez-vous vraiment effectuer cette action ?",content_management:"Versionning de document",country:"Pays",createScriptNotification:"Créer le script",currentPsw:"Mot de passe actuel",dataOfMonth:"Données du mois",date:"Date",default:"par défaut",defaultAction:"Action par défaut",delete:"Supprimer",deleteMsg:"Voulez-vous vraiment supprimer cet élément ?",desactivateAbsence:"Désactiver l'absence",description:"Description",diffusionList:"Liste de diffusion",diffusionModelCreation:"Création d'un modèle de diffusion",diffusionModelDeleted:"Modèle de diffusion supprimé",diffusionModelModification:"Modification d'un modèle de diffusion",diffusionModels:"Modèles de diffusion",diffusionModelUpdated:"Modèle de diffusion mis à jour",diffusionType:"Type de Modèle",display:"affichage",documents:"document(s)",doNotModifyUnlessExpert:"Ne pas modifier cette section à moins de savoir ce que vous faites. Un mauvais paramètrage peut entrainer des dysfonctionnements de l'application!",email:"Courriel",emailSignatures:"Signatures de courriel",entities:"Entités",entityAdded:"Entité ajoutée",entityDeleted:"Entité supprimée",entityFullName:"Bloc arborescence",entityTooglePrimary:"Passage en entité primaire",entityType:"Type d'entité",entityUpdated:"Entité modifiée",entityReplacement:"Remplacement de l'entité",entries:"entrée(s)",event:"Événement",export_seda:"Export seda",fileplan:"Plan de classement personnel",filterBy:"Filtrer",filteredFrom:"filtré sur un ensemble de",fingerprint:"Empreinte numérique",firstname:"Prénom",folder:"Dossier",folders:"Dossiers",for:"pour",functionnalities:"Fonctionnalités",groupAdded:"Groupe ajouté",groupCreation:"Création d'un groupe",groupDeleted:"Groupe supprimé",groupModification:"Modification d'un groupe",groupRedirect:"Changement de groupe",groups:"Groupes",groupUpdated:"Groupe modifié",history:"Historique",historyBatch:"Historique des batchs",home:"Accueil",id:"Identifiant",imgRelated:"Image associée",inactive:"Inactif",indexing:"Indexations",informations:"Informations",infosActions:"Vous devez choisir au moins un statut et / ou un script.",initials:"Initiales",integer:"Entier",ip:"Adresse IP",isAssociatedTo:"est associé à ",isCopyTo:"est en copie de",isDestTo:"est en destination de",isFolderAction:"Action de dossier",isFolderActionDesc:"Permet d'utiliser cette action dans une bannette de dossier",isFolderBasket:"Bannette de dossier",isFolderStatus:"Statut de dossier",isLinkedTo:"Est associé à ",isSearchBasket:"Bannette de recherche uniquement",isSytemAction:"Action système",keyword:"Mot-clé",keywordHelp:"Aide sur les mots-clés",keywordHelpDesc_1:"Identifiant de l'utilisateur connecté",keywordHelpDesc_10:"Sous-entités immédiates (n-1) des entités données en argument",keywordHelpDesc_11:"Exemple dans la définition de la sécurité d'un groupe (where clause) : accès sur les ressources concernant le service d'appartenance principal de l'utilisateur connecté, ou les sous-services de ce service",keywordHelpDesc_2:"Courriel de l'utilisateur connecté",keywordHelpDesc_3:"Toutes les entités rattachées à l'utilisateur connecté. N'inclut pas les sous-entités",keywordHelpDesc_4:"Entité primaire de l'utilisateur connecté",keywordHelpDesc_5:"Sous-entités de la liste d'argument, qui peut aussi être @my_entities ou @my_primary_entity",keywordHelpDesc_6:"Entité parente de l'entité en argument",keywordHelpDesc_7:"Toutes les entités du même niveau que l'entité en argument",keywordHelpDesc_8:"Toutes les entités du même type mis en argument",keywordHelpDesc_9:"Toutes les entités (actives)",keywordHelper:"Afficher / Cacher l'aide sur les mots-clés",label:"Libellé",last:"dernier",lastname:"Nom",life_cycle:"Cycle de vie",linkGroup:"Associer un groupe",logout:"Se déconnecter",maarchApplication:"Application Maarch",manageAbsences:"Rediriger mes bannettes",manageSignatures:"Gérer les signatures",menus:"Menus",modificationSaved:"Modification enregistrée",module:"Module",modules:"Modules",moreOptions:"Plus d'options",move:"Déplacer",myMenu:"Menu personnel",myProfile:"Mon profil",newAction:"Nouvelle action",newElement:"Nouvel élément",newPsw:"Nouveau mot de passe",newSignature:"Nouvelle signature",next:"Suivant",no:"Non",noRecord:"Aucun élément",noReplacement:"Aucun remplacement",noResult:"Aucun résultat",notes:"Annotations",NotificationAdded:"Notification ajoutée",notificationCreation:"Création d'une notification",notificationDeleted:"Notification supprimée",NotificationDiffusionType:"Type de diffusion",NotificationEnabled:"Activée",NotificationEvent:"Evènement",NotificationJoinDocument:"Joindre le document à la notification",NotificationModel:"Modèle",notificationModification:"Modification de la notification",notifications:"Notification(s)",notificationSchedule:"Planifier les notifications",NotificationScheduleInfo:"Cette partie permet de définir quand seront envoyées les notifications.\n\nSi vous choisissez * dans toutes les listes déroulantes, la notification sera envoyée toutes les minutes 365 jours par an.\n\nExemple de fréquence :\n14 30 * * * [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les jours à 14h30\n9 30 * * Lundi [courrier] Nouveaux courriers à traiter : La notification sera envoyée tous les lundi à 9h30",NotificationScheduleUpdated:"Planification mise à jour",notificationsSchedule:"Planification des notifications",NotificationToEnable:"Activer",notificationUpdated:"Notification mise à jour",otherActions:"Action(s) supplémentaire(s)",otherInformations:"Information(s) complémentaire(s)",otherParameters:"Autre(s) paramètre(s)",outOf:"sur",page:"Page",parameter:"Paramètre",parameterAdded:"Paramètre ajouté",parameterCreation:"Création d'un paramètre",parameterDeleted:"Paramètre supprimé",parameterModification:"Modification d'un paramètre",parameters:"Paramètres",parameterUpdated:"Paramètre modifié",phoneNumber:"Numéro de téléphone",previous:"Précédent",primaryEntity:"Entité primaire",priorities:"Priorité(s)",priorityAdded:"Priorité ajoutée",priorityCreation:"Création d'une priorité",priorityDeleted:"Priorité supprimée",priorityModification:"Modification d'une priorité",priorityUpdated:"Priorité modifiée",privileges:"Privilèges",processAction:"Action(s) de traitement",processDelay:"Délai de traitement",processDelayDoctype:"utilise le délai selon le type de document",processType:"Type de traitement",pswReseted:"Mot de passe réinitialisé",record:"élément(s)",records:"résultats",recordsPerPage:"résultats par page",redirects:"Redirections",reinitPassword:"Réinitialiser le mot de passe",relatedUsers:"Utilisateur(s) associé(s)",renewPsw:"Retaper le mot de passe",reports:"Statistiques",resetPsw:"Réinitialiser le mot de passe",resId:"Identifiant GED",resultPages:"Pages de résultat",role:"Rôle",save:"Enregistrer",sbSignatures:"Signatures de parapheur",ScriptCreated:"Script créé",search:"Chercher",searchEntities:"Rechercher une entité",secondaryEntity:"Entitté secondaire",selectAll:"Sélectionner tout",sendmail:"Envoi de courriels",shortLabel:"Libellé court",signAdded:"Signature ajoutée",signDeleted:"Signature supprimée",signUpdated:"Signature modifiée",siretCode:"Numéro SIRET",status:"Statut",statusAdded:"Statut ajouté",statusCreation:"Création d'un statut",statusDeleted:"Statut supprimé",statuses:"Statut(s)",statusModification:"Modification du statut",statusName:"Nom du statut",statusUpdated:"Statut mis à jour",string:"Chaine de caratère",suspend:"Suspendre",system:"Système",systemParameters:"paramètres système",tags:"Mots clés",templates:"Modèles de documents",thesaurus:"Thésaurus",to:"vers",toDefault:"par défaut",toEntities:"Vers les services",tools:"Outils",tooltipFolderStatus:"Si coché, le statut pourra être utilisé pour des bannettes de dossiers",tooltipIndexStatus:"Si coché, vous pourrez modifier les meta-données des documents ayant ce statut",tooltipSearchStatus:"Si coché, le statut vous sera proposé dans le critère de recherche STATUTS de la recherche avancée",toSchedule:"Planifier",toStatuses:"Vers les statuts",toStatusesDesc:"Vous ne pouvez pas choisir de statut, un statut est dèja pré-définit pour cette action.",totalErrors:"Élément(s) en erreur",totalProcessed:"Élément(s) analysé(s)",toUsersEntities:"Vers les utilisateurs des services",type:"Type",unlinkAction:"Dissocier l'action",unlinkGroup:"Dissocier le groupe",unselectAll:"Tout désélectionner",update:"Modifier",updateStatus:"Changement de statut de courrier",updateStatusInformationsChrono:"En saisissant le NUMÉRO CHRONO du document, vous modifierez le statut du courrier. Le courrier sera disponible dans la bannette des utilisateurs auquel il était affecté suivant le statut que vous aurez défini.",updateStatusInformationsGed:"En saisissant l'IDENTIFIANT GED du document, vous modifierez le statut du courrier. Le courrier sera disponible dans la bannette des utilisateurs auquel il était affecté suivant le statut que vous aurez défini.",uploadSignFile:"Déposer une signature",uploadSignFileInfo:"Cliquer pour ajouter une signature depuis votre poste",usedInActionPage:"Action sur la page d'action",usedInBasketlist:"Action sur la liste de résultat",user:"utilisateur",userAdded:"Utilisateur ajouté",userAuthorized:"Utilisateur autorisé",userCreation:"Création d'un utilisateur",userDeleted:"Utilisateur supprimé",userModification:"Modification de l'utilisateur",users:"Utilisateur(s)",userSuspended:"Utilisateur suspendu",userUpdated:"Utilisateur modifié",validate:"Valider",validateAction:"Action(s) de qualification",value:"valeur",view:"Consulter",visa:"Circuit de visa",whereClauseAction:"Condition d'apparition de l'action (where clause)",workingDays:"jour(s) ouvré(s)",yes:"Oui",zipcode:"Code postal",doctypesAdmin:"Typologie(s) documentaire(s)",firstLevelDoctype:"Chemise",secondLevelDoctype:"Sous-chemise",doctype:"Type de document",folderTypeList:"Liste des types de dossier",firstLevelAttached:"Rattacher à la chemise",secondLevelAttached:"Rattacher à la sous-chemise",retentionFinalDisposition:"Sort final",retentionRule:"Règle de conservation",durationCurrentUse:"Durée d'utilité courante",processDelayDay:"Délai de traitement (en jours)",delay1:"Délai relance 1 avant terme (en jours)",delay2:"Délai relance 2 après terme (en jours)",processMode:"Mode de traitement",loadedFile:"Fichier importé",generatedFile:"Fichier généré",destruction:"Destruction",conservation:"Conservation",firstLevelAdded:"Chemise créée",firstLevelUpdated:"Chemise mise à jour",firstLevelDeleted:"Chemise supprimée",secondLevelAdded:"Sous-chemise créée",secondLevelUpdated:"Sous-chemise mise à jour",secondLevelDeleted:"Sous-chemise supprimée",chooseModel:"Choisissez un modèle",documentTypeAdded:"Type de document ajouté",documentTypeUpdated:"Type de document mis à jour",documentTypeDeleted:"Type de document supprimé",documentTypeReplacement:"Remplacement du type de document",transferToDoctype:"Remplacer par le type de document",complementaryFields:"Champs complémentaires",archival:"Archivage",field:"Champ",mandatory:"Obligatoire",fieldType:"Type champ",fieldNature:"Nature champ",databaseColumn:"Colonne BDD",used:"Utilisé",toolTipDeleteDoctype:"Si des courriers sont rattachés à ce type de document, un écran de réaffectation s'affichera",cantMoveDoctype:"Le type de document peut uniquement être déplacé dans une sous-chemise",noDoctypeSelected:"Aucun type de document sélectionné",tooltipPriorityDelay:"Utiliser ce délai de traitement au lieu de celui défini dans le type document",tooltipPriorityDefault:"Positionner cette priorité par défaut lors de l'enregistrement d'un courrier",defaultPriority:"Priorité par défaut",chooseColor:"Choisissez une couleur"}},{}],43:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("@angular/platform-browser-dynamic"),i=t("@angular/core"),o=t("./app/app.module");i.enableProdMode(),r.platformBrowserDynamic().bootstrapModule(o.AppModule)},{"./app/app.module":33,"@angular/core":64,"@angular/platform-browser-dynamic":67}],44:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=t("@angular/forms"),i=t("rxjs/operators/startWith"),o=t("rxjs/operators/map"),a=function(){function t(t,e){var n=this;this.http=t,this.userList=[],this.elemList=[],this.statusesList=[],this.coreUrl=angularGlobals.coreUrl,-1!=e.indexOf("users")&&(this.userCtrl=new r.FormControl,this.http.get(this.coreUrl+"rest/autocomplete/users").subscribe(function(t){n.userList=t,n.filteredUsers=n.userCtrl.valueChanges.pipe(i.startWith(""),o.map(function(t){return t?n.autocompleteFilterUser(t):n.userList.slice()}))},function(){location.href="index.php"})),-1!=e.indexOf("statuses")&&(this.statusCtrl=new r.FormControl,this.http.get(this.coreUrl+"rest/autocomplete/statuses").subscribe(function(t){n.statusesList=t,n.filteredStatuses=n.statusCtrl.valueChanges.pipe(i.startWith(""),o.map(function(t){return t?n.autocompleteFilterStatuses(t):n.statusesList.slice()}))},function(){location.href="index.php"})),-1!=e.indexOf("usersAndEntities")&&(this.elementCtrl=new r.FormControl,this.elemList=[],this.http.get(this.coreUrl+"rest/autocomplete/users").subscribe(function(t){n.elemList=t,n.http.get(n.coreUrl+"rest/autocomplete/entities").subscribe(function(t){n.elemList=n.elemList.concat(t),n.filteredElements=n.elementCtrl.valueChanges.pipe(i.startWith(""),o.map(function(t){return t?n.autocompleteFilterElements(t):n.elemList.slice()}))},function(){location.href="index.php"})},function(){location.href="index.php"})),-1!=e.indexOf("entities")?(this.elementCtrl=new r.FormControl,this.elemList=[],this.http.get(this.coreUrl+"rest/autocomplete/entities").subscribe(function(t){n.elemList=t,n.filteredElements=n.elementCtrl.valueChanges.pipe(i.startWith(""),o.map(function(t){return t?n.autocompleteFilterElements(t):n.elemList.slice()}))},function(){location.href="index.php"})):-1!=e.indexOf("visaUsers")&&(this.userCtrl=new r.FormControl,this.http.get(this.coreUrl+"rest/autocomplete/users/visa").subscribe(function(t){n.userList=t,n.filteredUsers=n.userCtrl.valueChanges.pipe(i.startWith(""),o.map(function(t){return t?n.autocompleteFilterUser(t):n.userList.slice()}))},function(){location.href="index.php"}))}return t.prototype.autocompleteFilterUser=function(e){return this.userList.filter(function(t){return 0<=t.idToDisplay.toLowerCase().indexOf(e.toLowerCase())})},t.prototype.autocompleteFilterStatuses=function(e){return this.statusesList.filter(function(t){return 0<=t.idToDisplay.toLowerCase().indexOf(e.toLowerCase())})},t.prototype.autocompleteFilterElements=function(e){return this.elemList.filter(function(t){return 0<=t.idToDisplay.toLowerCase().indexOf(e.toLowerCase())})},t}();n.AutoCompletePlugin=a},{"@angular/forms":65,"rxjs/operators/map":136,"rxjs/operators/startWith":145}],45:[function(t,e,n){var r,i;r=this,i=function(t,z){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function n(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var G=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t};function W(t){switch(t.length){case 0:return new z.NoopAnimationPlayer;case 1:return t[0];default:return new z.ɵAnimationGroupPlayer(t)}}function x(t,o,e,n,a,s){void 0===a&&(a={}),void 0===s&&(s={});var l=[],c=[],u=-1,p=null;if(n.forEach(function(r){var t=r.offset,e=t==u,i=e&&p||{};Object.keys(r).forEach(function(t){var e=t,n=r[t];if("offset"!==t)switch(e=o.normalizePropertyName(e,l),n){case z.ɵPRE_STYLE:n=a[t];break;case z.AUTO_STYLE:n=s[t];break;default:n=o.normalizeStyleValue(t,e,n,l)}i[e]=n}),e||c.push(i),p=i,u=t}),l.length){throw new Error("Unable to animate due to the following errors:\n - "+l.join("\n - "))}return c}function s(t,e,n,r){switch(e){case"start":t.onStart(function(){return r(n&&i(n,"start",t.totalTime))});break;case"done":t.onDone(function(){return r(n&&i(n,"done",t.totalTime))});break;case"destroy":t.onDestroy(function(){return r(n&&i(n,"destroy",t.totalTime))})}}function i(t,e,n){var r=l(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==n?t.totalTime:n),i=t._data;return null!=i&&(r._data=i),r}function l(t,e,n,r,i,o){return void 0===i&&(i=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:r,phaseName:i,totalTime:o}}function q(t,e,n){var r;return t instanceof Map?(r=t.get(e))||t.set(e,r=n):(r=t[e])||(r=t[e]=n),r}function c(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var e=function(t,e){return!1},o=function(t,e){return!1},a=function(t,e,n){return[]};if("undefined"!=typeof Element){if(e=function(t,e){return t.contains(e)},Element.prototype.matches)o=function(t,e){return t.matches(e)};else{var u=Element.prototype,p=u.matchesSelector||u.mozMatchesSelector||u.msMatchesSelector||u.oMatchesSelector||u.webkitMatchesSelector;p&&(o=function(t,e){return p.apply(t,[e])})}a=function(t,e,n){var r=[];if(n)r.push.apply(r,t.querySelectorAll(e));else{var i=t.querySelector(e);i&&r.push(i)}return r}}var d=null,h=!1;function f(t){d||(d=Y()||{},h=!!d.style&&"WebkitAppearance"in d.style);var e=!0;d.style&&"ebkit"!=t.substring(1,6)&&(!(e=t in d.style)&&h&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in d.style));return e}function Y(){return"undefined"!=typeof document?document.body:null}var m=o,g=e,y=a,v=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return f(t)},t.prototype.matchesElement=function(t,e){return m(t,e)},t.prototype.containsElement=function(t,e){return g(t,e)},t.prototype.query=function(t,e,n){return y(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o){return void 0===o&&(o=[]),new z.NoopAnimationPlayer},t}(),b=function(){function t(){}return t.NOOP=new v,t}(),_=1e3,$="ng-enter",K="ng-leave",w="ng-trigger",C=".ng-trigger",S="ng-animating",Q=".ng-animating";function E(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:k(parseFloat(e[1]),e[2])}function k(t,e){switch(e){case"s":return t*_;default:return t}}function O(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var r,i=0,o="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};r=k(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=k(Math.floor(parseFloat(s)),a[4]));var l=a[5];l&&(o=l)}else r=t;if(!n){var c=!1,u=e.length;r<0&&(e.push("Duration values below 0 are not allowed for this animation step."),c=!0),i<0&&(e.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&e.splice(u,0,'The provided timing value "'+t+'" is invalid.')}return{duration:r,delay:i,easing:o}}(t,e,n)}function P(e,n){return void 0===n&&(n={}),Object.keys(e).forEach(function(t){n[t]=e[t]}),n}function A(t){var e={};return Array.isArray(t)?t.forEach(function(t){return D(t,!1,e)}):D(t,!1,e),e}function D(t,e,n){if(void 0===n&&(n={}),e)for(var r in t)n[r]=t[r];else P(t,n);return n}function X(n,r){n.style&&Object.keys(r).forEach(function(t){var e=j(t);n.style[e]=r[t]})}function Z(n,t){n.style&&Object.keys(t).forEach(function(t){var e=j(t);n.style[e]=""})}function T(t){return Array.isArray(t)?1==t.length?t[0]:z.sequence(t):t}var M=new RegExp("{{\\s*(.+?)\\s*}}","g");function I(t){var e=[];if("string"==typeof t){for(var n=t.toString(),r=void 0;r=M.exec(n);)e.push(r[1]);M.lastIndex=0}return e}function R(t,r,i){var e=t.toString(),n=e.replace(M,function(t,e){var n=r[e];return r.hasOwnProperty(e)||(i.push("Please provide a value for the animation param "+e),n=""),n.toString()});return n==e?t:n}function N(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var L=/-+([a-z0-9])/g;function j(t){return t.replace(L,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function F(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}var V="*";function B(t,e){var n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],a=i[2],s=i[3];e.push(J(o,s));var l=o==V&&s==V;"<"!=a[0]||l||e.push(J(s,o))}(t,n,e)}):n.push(t),n}var U=new Set(["true","1"]),H=new Set(["false","0"]);function J(i,o){var a=U.has(i)||H.has(i),s=U.has(o)||H.has(o);return function(t,e){var n=i==V||i==t,r=o==V||o==e;return!n&&a&&"boolean"==typeof t&&(n=t?U.has(i):H.has(i)),!r&&s&&"boolean"==typeof e&&(r=e?U.has(o):H.has(o)),n&&r}}var tt=":self",et=new RegExp("s*"+tt+"s*,?","g");function nt(t,e,n){return new rt(t).build(e,n)}var rt=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new it(e);return this._resetContextStyleTimingState(n),F(this,T(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,i){var o=this,a=i.queryCount=0,s=i.depCount=0,l=[],c=[];return"@"==t.name.charAt(0)&&i.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(o._resetContextStyleTimingState(i),0==t.type){var e=t,n=e.name;n.split(/\s*,\s*/).forEach(function(t){e.name=t,l.push(o.visitState(e,i))}),e.name=n}else if(1==t.type){var r=o.visitTransition(t,i);a+=r.queryCount,s+=r.depCount,c.push(r)}else i.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:l,transitions:c,queryCount:a,depCount:s,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(ot(t)){var e=t;Object.keys(e).forEach(function(t){I(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var a=N(i.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n=F(this,T(t.animation),e);return{type:1,matchers:B(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:at(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return F(n,t,e)}),options:at(t.options)}},t.prototype.visitGroup=function(t,n){var r=this,i=n.currentTime,o=0,e=t.steps.map(function(t){n.currentTime=i;var e=F(r,t,n);return o=Math.max(o,n.currentTime),e});return n.currentTime=o,{type:3,steps:e,options:at(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t){var r=O(t,e).duration;return st(r,0,"")}var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var o=st(0,0,"");return o.dynamic=!0,o.strValue=i,o}return st((n=n||O(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:z.style({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=z.style(s)}e.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,e);l.isEmptyStep=a,n=l}return{type:4,timings:r,style:n,options:e.currentAnimateTimings=null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==z.AUTO_STYLE?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var i=!1,o=null;return n.forEach(function(t){if(ot(t)){var e=t,n=e.easing;if(n&&(o=n,delete e.easing),!i)for(var r in e){if(0<=e[r].toString().indexOf("{{")){i=!0;break}}}}),{type:6,styles:n,easing:o,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,u){var p=this,e=u.currentAnimateTimings,d=u.currentTime,h=u.currentTime;e&&0<h&&(h-=e.duration+e.delay),t.styles.forEach(function(c){"string"!=typeof c&&Object.keys(c).forEach(function(t){if(p._driver.validateStyleProperty(t)){var e,n,r,i,o,a=u.collectedStyles[u.currentQuerySelector],s=a[t],l=!0;s&&(h!=d&&h>=s.startTime&&d<=s.endTime&&(u.errors.push('The CSS property "'+t+'" that exists between the times of "'+s.startTime+'ms" and "'+s.endTime+'ms" is also being animated in a parallel animation between the times of "'+h+'ms" and "'+d+'ms"'),l=!1),h=s.startTime),l&&(a[t]={startTime:h,endTime:d}),u.options&&(e=c[t],n=u.options,r=u.errors,i=n.params||{},(o=I(e)).length&&o.forEach(function(t){i.hasOwnProperty(t)||r.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else u.errors.push('The provided animation property "'+t+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,i){var o=this,a={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push("keyframes() must be placed inside of a call to animate()"),a;var s=0,l=[],c=!1,u=!1,p=0,e=t.steps.map(function(t){var e=o._makeStyleAst(t,i),n=null!=e.offset?e.offset:function(t){if("string"==typeof t)return null;var n=null;if(Array.isArray(t))t.forEach(function(t){if(ot(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}});else if(ot(t)&&t.hasOwnProperty("offset")){var e=t;n=parseFloat(e.offset),delete e.offset}return n}(e.styles),r=0;return null!=n&&(s++,r=e.offset=n),u=u||r<0||1<r,c=c||r<p,p=r,l.push(r),e});u&&i.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),c&&i.errors.push("Please ensure that all keyframe offsets are in order");var n=t.steps.length,d=0;0<s&&s<n?i.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==s&&(d=1/(n-1));var h=n-1,f=i.currentTime,m=i.currentAnimateTimings,g=m.duration;return e.forEach(function(t,e){var n=0<d?e==h?1:d*e:l[e],r=n*g;i.currentTime=f+m.delay+r,m.duration=r,o._validateStyleAst(t,i),t.offset=n,a.styles.push(t)}),a},t.prototype.visitReference=function(t,e){return{type:8,animation:F(this,T(t.animation),e),options:at(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:at(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:at(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++;var i=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return t==tt});e&&(t=t.replace(et,""));return[t=t.replace(/@\*/g,C).replace(/@\w+/g,function(t){return C+"-"+t.substr(1)}).replace(/:animating/g,Q),e]}((e.currentQuery=t).selector),o=i[0],a=i[1];e.currentQuerySelector=n.length?n+" "+o:o,q(e.collectedStyles,e.currentQuerySelector,{});var s=F(this,T(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:at(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:O(t.timings,e.errors,!0);return{type:12,animation:F(this,T(t.animation),e),timings:n,options:null}},t}();var it=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ot(t){return!Array.isArray(t)&&"object"==typeof t}function at(t){var e;return t?(t=P(t)).params&&(t.params=(e=t.params)?P(e):null):t={},t}function st(t,e,n){return{duration:t,delay:e,easing:n}}function lt(t,e,n,r,i,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var ct=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),ut=new RegExp(":enter","g"),pt=new RegExp(":leave","g");function dt(t,e,n,r,i,o,a,s,l,c){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===c&&(c=[]),(new ht).buildKeyframes(t,e,n,r,i,o,a,s,l,c)}var ht=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,a,s,l,c){void 0===c&&(c=[]),l=l||new ct;var u=new mt(t,e,l,r,i,c,[]);u.options=s,u.currentTimeline.setStyles([o],null,u.errors,s),F(this,n,u);var p=u.timelines.filter(function(t){return t.containsAnimation()});if(p.length&&Object.keys(a).length){var d=p[p.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,u.errors,s)}return p.length?p.map(function(t){return t.buildKeyframes()}):[lt(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,n,e){var r=n.currentTimeline.currentTime,i=null!=e.duration?E(e.duration):null,o=null!=e.delay?E(e.delay):null;return 0!==i&&t.forEach(function(t){var e=n.appendInstructionToTimeline(t,i,o);r=Math.max(r,e.duration+e.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),F(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ft);var a=E(o.delay);i.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return F(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(n,r){var i=this,o=[],a=r.currentTimeline.currentTime,s=n.options&&n.options.delay?E(n.options.delay):0;n.steps.forEach(function(t){var e=r.createSubContext(n.options);s&&e.delayNextStep(s),F(i,t,e),a=Math.max(a,e.currentTimeline.currentTime),o.push(e.currentTimeline)}),o.forEach(function(t){return r.currentTimeline.mergeTimelineCollectedStyles(t)}),r.transformIntoNewTimeline(a),r.previousNode=n},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return O(e.params?R(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,n){var e=n.currentAnimateTimings,r=n.currentTimeline.duration,i=e.duration,o=n.createSubContext().currentTimeline;o.easing=e.easing,t.styles.forEach(function(t){var e=t.offset||0;o.forwardTime(e*i),o.setStyles(t.styles,t.easing,n.errors,n.options),o.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(o),n.transformIntoNewTimeline(r+i),n.previousNode=t},t.prototype.visitQuery=function(i,o){var a=this,t=o.currentTimeline.currentTime,e=i.options||{},s=e.delay?E(e.delay):0;s&&(6===o.previousNode.type||0==t&&o.currentTimeline.getCurrentStyleProperties().length)&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=ft);var l=t,n=o.invokeQuery(i.selector,i.originalSelector,i.limit,i.includeSelf,!!e.optional,o.errors);o.currentQueryTotal=n.length;var c=null;n.forEach(function(t,e){o.currentQueryIndex=e;var n=o.createSubContext(i.options,t);s&&n.delayNextStep(s),t===o.element&&(c=n.currentTimeline),F(a,i.animation,n),n.currentTimeline.applyStylesToKeyframe();var r=n.currentTimeline.currentTime;l=Math.max(l,r)}),o.currentQueryIndex=0,o.currentQueryTotal=0,o.transformIntoNewTimeline(l),c&&(o.currentTimeline.mergeTimelineCollectedStyles(c),o.currentTimeline.snapshotCurrentStyles()),o.previousNode=i},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var c=l.currentTime;F(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},t}(),ft={},mt=function(){function o(t,e,n,r,i,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ft,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new gt(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(o.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),o.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=E(r.duration)),null!=r.delay&&(i.delay=E(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){e&&a.hasOwnProperty(t)||(a[t]=R(o[t],a,n.errors))})}}},o.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},o.prototype.createSubContext=function(t,e,n){void 0===t&&(t=null);var r=e||this.element,i=new o(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,(i.parentContext=this).subContextCount++,i},o.prototype.transformIntoNewTimeline=function(t){return this.previousNode=ft,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},o.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new yt(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},o.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},o.prototype.delayNextStep=function(t){0<t&&this.currentTimeline.delayNextStep(t)},o.prototype.invokeQuery=function(t,e,n,r,i,o){var a=[];if(r&&a.push(this.element),0<t.length){t=(t=t.replace(ut,"."+this._enterClassName)).replace(pt,"."+this._leaveClassName);var s=1!=n,l=this._driver.query(this.element,t,s);0!==n&&(l=n<0?l.slice(l.length+n,l.length):l.slice(0,n)),a.push.apply(a,l)}return i||0!=a.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},o}(),gt=function(){function n(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return n.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return 0<this.getCurrentStyleProperties().length;default:return!0}},n.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(n.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),n.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},n.prototype.fork=function(t,e){return this.applyStylesToKeyframe(),new n(this._driver,t,e||this.currentTime,this._elementTimelineStylesLookup)},n.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},n.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},n.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},n.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},n.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},n.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||z.AUTO_STYLE,e._currentKeyframe[t]=z.AUTO_STYLE}),this._currentEmptyStepKeyframe=this._currentKeyframe},n.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o,a,s,l,c=r&&r.params||{},u=(o=t,a=this._globalTimelineStyles,l={},o.forEach(function(t){"*"===t?(s=s||Object.keys(a)).forEach(function(t){l[t]=z.AUTO_STYLE}):D(t,!1,l)}),l);Object.keys(u).forEach(function(t){var e=R(u[t],c,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:z.AUTO_STYLE),i._updateStyle(t,e)})},n.prototype.applyStylesToKeyframe=function(){var n=this,r=this._pendingStyles,t=Object.keys(r);0!=t.length&&(this._pendingStyles={},t.forEach(function(t){var e=r[t];n._currentKeyframe[t]=e}),Object.keys(this._localTimelineStyles).forEach(function(t){n._currentKeyframe.hasOwnProperty(t)||(n._currentKeyframe[t]=n._localTimelineStyles[t])}))},n.prototype.snapshotCurrentStyles=function(){var n=this;Object.keys(this._localTimelineStyles).forEach(function(t){var e=n._localTimelineStyles[t];n._pendingStyles[t]=e,n._updateStyle(t,e)})},n.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(n.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),n.prototype.mergeTimelineCollectedStyles=function(r){var i=this;Object.keys(r._styleSummary).forEach(function(t){var e=i._styleSummary[t],n=r._styleSummary[t];(!e||n.time>e.time)&&i._updateStyle(t,n.value)})},n.prototype.buildKeyframes=function(){var r=this;this.applyStylesToKeyframe();var i=new Set,o=new Set,a=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(t,e){var n=D(t,!0);Object.keys(n).forEach(function(t){var e=n[t];e==z.ɵPRE_STYLE?i.add(t):e==z.AUTO_STYLE&&o.add(t)}),a||(n.offset=e/r.duration),s.push(n)});var t=i.size?N(i.values()):[],e=o.size?N(o.values()):[];if(a){var n=s[0],l=P(n);n.offset=0,l.offset=1,s=[n,l]}return lt(this.element,s,t,e,this.duration,this.startTime,this.easing,!1)},n}(),yt=function(l){function t(t,e,n,r,i,o,a){void 0===a&&(a=!1);var s=l.call(this,t,e,o.delay)||this;return s.element=e,s.keyframes=n,s.preStyleProps=r,s.postStyleProps=i,s._stretchStartingKeyframe=a,s.timings={duration:o.duration,delay:o.delay,easing:o.easing},s}return n(t,l),t.prototype.containsAnimation=function(){return 1<this.keyframes.length},t.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,l=D(t[0],!1);l.offset=0,o.push(l);var c=D(t[0],!1);c.offset=vt(s),o.push(c);for(var u=t.length-1,p=1;p<=u;p++){var d=D(t[p],!1),h=n+d.offset*r;d.offset=vt(h/a),o.push(d)}r=a,n=0,i="",t=o}return lt(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(gt);function vt(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var bt,_t,wt=function(){function t(t,e){var n=[],r=nt(this._driver=t,e,n);if(n.length){var i="animation validation failed:\n"+n.join("\n");throw new Error(i)}this._animationAst=r}return t.prototype.buildTimelines=function(t,e,n,r,i){var o=Array.isArray(e)?A(e):e,a=Array.isArray(n)?A(n):n,s=[];i=i||new ct;var l=dt(this._driver,t,this._animationAst,$,K,o,a,r,i,s);if(s.length){var c="animation building failed:\n"+s.join("\n");throw new Error(c)}return l},t}(),Ct=function(){},xt=function(){function t(){}return t.prototype.normalizePropertyName=function(t,e){return t},t.prototype.normalizeStyleValue=function(t,e,n,r){return n},t}(),St=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.normalizePropertyName=function(t,e){return j(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(Et[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(Ct),Et=(bt="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(","),_t={},bt.forEach(function(t){return _t[t]=!0}),_t);function kt(t,e,n,r,i,o,a,s,l,c,u,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:u,errors:p}}var Ot={},Pt=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return n=this.ast.matchers,r=t,i=e,n.some(function(t){return t(r,i)});var n,r,i},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,i,e,n,r,o,a,s,l){var c=[],u=this.ast.options&&this.ast.options.params||Ot,p=a&&a.params||Ot,d=this.buildStyles(e,p,c),h=s&&s.params||Ot,f=this.buildStyles(n,h,c),m=new Set,g=new Map,y=new Map,v="void"===n,b={params:G({},u,h)},_=dt(t,i,this.ast.animation,r,o,d,f,b,l,c);if(c.length)return kt(i,this._triggerName,e,n,v,d,f,[],[],g,y,c);_.forEach(function(t){var e=t.element,n=q(g,e,{});t.preStyleProps.forEach(function(t){return n[t]=!0});var r=q(y,e,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),e!==i&&m.add(e)});var w=N(m.values());return kt(i,this._triggerName,e,n,v,d,f,_,w,g,y)},t}();var At=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(n,r){var i={},o=P(this.defaultParams);return Object.keys(n).forEach(function(t){var e=n[t];null!=e&&(o[t]=e)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var n=t;Object.keys(n).forEach(function(t){var e=n[t];1<e.length&&(e=R(e,o,r)),i[t]=e})}}),i},t}();var Dt=function(){function t(e,t){var n,r,i=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(t){var e=t.options&&t.options.params||{};i.states[t.name]=new At(t.style,e)}),Tt(this.states,"true","1"),Tt(this.states,"false","0"),t.transitions.forEach(function(t){i.transitionFactories.push(new Pt(e,t,i.states))}),this.fallbackTransition=(n=e,r=this.states,new Pt(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},r))}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return 0<this.ast.queryCount},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(e,n){return this.transitionFactories.find(function(t){return t.match(e,n)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Tt(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var Mt=new ct,It=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=nt(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=x(this._driver,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],a=this._animations[t],s=new Map;if(a?(i=dt(this._driver,e,a,$,K,{},{},n,Mt,o)).forEach(function(t){var e=q(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(e,n){Object.keys(e).forEach(function(t){e[t]=r._driver.computeStyle(n,t,z.AUTO_STYLE)})});var l=W(i.map(function(t){var e=s.get(t.element);return r._buildPlayer(t,{},e)}));return(this._playersById[t]=l).onDestroy(function(){return r.destroy(t)}),this.players.push(l),l},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);0<=n&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=l(e,"","","");return s(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else{var o=r[0]||{};this.create(t,e,o)}else this.register(t,r[0])},t}(),Rt="ng-animate-queued",Nt="ng-animate-disabled",Lt=".ng-animate-disabled",jt=[],Ft={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},Vt={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Bt="__ng_removed",Ut=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n,r=t&&t.hasOwnProperty("value"),i=r?t.value:t;if(this.value=null!=(n=i)?n:null,r){var o=P(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),Ht="void",zt=new Ut(Ht),Gt=new Ut("DELETED"),Wt=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Jt(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=q(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};a.push(s);var l=q(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(Jt(t,w),Jt(t,w+"-"+e),l[e]=zt),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);0<=t&&a.splice(t,1),o._triggers[e]||delete l[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(r,e,t,n){var i=this;void 0===n&&(n=!0);var o=this._getTrigger(e),a=new Yt(this.id,e,r),s=this._engine.statesByElement.get(r);s||(Jt(r,w),Jt(r,w+"-"+e),this._engine.statesByElement.set(r,s={}));var l=s[e],c=new Ut(t,this.id);if(!(t&&t.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s[e]=c,l){if(l===Gt)return a}else l=zt;if(c.value===Ht||l.value!==c.value){var u=q(this._engine.playersByElement,r,[]);u.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var p=o.matchTransition(l.value,c.value),d=!1;if(!p){if(!n)return;p=o.fallbackTransition,d=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:r,triggerName:e,transition:p,fromState:l,toState:c,player:a,isFallbackTransition:d}),d||(Jt(r,Rt),a.onStart(function(){te(r,Rt)})),a.onDone(function(){var t=i.players.indexOf(a);0<=t&&i.players.splice(t,1);var e=i._engine.playersByElement.get(r);if(e){var n=e.indexOf(a);0<=n&&e.splice(n,1)}}),this.players.push(a),u.push(a),a}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(l.params,c.params)){var h=[],f=o.matchStyles(l.value,l.params,h),m=o.matchStyles(c.value,c.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(function(){Z(r,f),X(r,m)})}},t.prototype.deregister=function(n){var r=this;delete this._triggers[n],this._engine.statesByElement.forEach(function(t,e){delete t[n]}),this._elementListeners.forEach(function(t,e){r._elementListeners.set(e,t.filter(function(t){return t.name!=n}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,n,e){var r=this;void 0===e&&(e=!1),this._engine.driver.query(t,C,!0).forEach(function(e){if(!e[Bt]){var t=r._engine.fetchNamespacesByElement(e);t.size?t.forEach(function(t){return t.triggerLeaveAnimation(e,n,!1,!0)}):r.clearElementCache(e)}})},t.prototype.triggerLeaveAnimation=function(n,t,e,r){var i=this,o=this._engine.statesByElement.get(n);if(o){var a=[];if(Object.keys(o).forEach(function(t){if(i._triggers[t]){var e=i.trigger(n,t,Ht,r);e&&a.push(e)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,t),e&&W(a).onDone(function(){return i._engine.processLeaveNode(n)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(a){var s=this,t=this._elementListeners.get(a);if(t){var l=new Set;t.forEach(function(t){var e=t.name;if(!l.has(e)){l.add(e);var n=s._triggers[e].fallbackTransition,r=s._engine.statesByElement.get(a)[e]||zt,i=new Ut(Ht),o=new Yt(s.id,e,a);s._engine.totalQueuedPlayers++,s._queue.push({element:a,triggerName:e,transition:n,fromState:r,toState:i,player:o,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,r=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(t):[];if(o&&o.length)i=!0;else for(var a=t;a=a.parentNode;){if(r.statesByElement.get(a)){i=!0;break}}}this.prepareLeaveAnimationListeners(t),i?r.markElementAsRemoved(this.id,t,!1,e):(r.afterFlush(function(){return n.clearElementCache(t)}),r.destroyInnerAnimations(t),r._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){Jt(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(i){var o=this,a=[];return this._queue.forEach(function(n){var t=n.player;if(!t.destroyed){var r=n.element,e=o._elementListeners.get(r);e&&e.forEach(function(t){if(t.name==n.triggerName){var e=l(r,n.triggerName,n.fromState.value,n.toState.value);e._data=i,s(n.player,t.phase,e,t.callback)}}),t.markedForDestroy?o._engine.afterFlush(function(){t.destroy()}):a.push(n)}}),this._queue=[],a.sort(function(t,e){var n=t.transition.ast.depCount,r=e.transition.ast.depCount;return 0==n||0==r?n-r:o._engine.driver.containsElement(t.element,e.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(function(t){return t.element===e})||t},t}(),qt=function(){function t(t,e){this.driver=t,this._normalizer=e,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new Wt(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){var n=this._namespaceList.length-1;if(0<=n){for(var r=!1,i=n;0<=i;i--){var o=this._namespaceList[i];if(this.driver.containsElement(o.hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);0<=t&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&e.add(a)}}return e},t.prototype.trigger=function(t,e,n,r){return!!$t(e)&&(this._fetchNamespace(t).trigger(e,n,r),!0)},t.prototype.insertNode=function(t,e,n,r){if($t(e)){var i=e[Bt];i&&i.setForRemoval&&(i.setForRemoval=!1),t&&this._fetchNamespace(t).insertNode(e,n),r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Jt(t,Nt)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),te(t,Nt))},t.prototype.removeNode=function(t,e,n){if($t(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[Bt]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return $t(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,C,!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,Q,!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()});var n=this.statesByElement.get(t);n&&Object.keys(n).forEach(function(t){return n[t]=Gt})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var e=this;return new Promise(function(t){if(e.players.length)return W(e.players).onDone(function(){return t()});t()})},t.prototype.processLeaveNode=function(e){var n=this,t=e[Bt];if(t&&t.setForRemoval){if(e[Bt]=Ft,t.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(t.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,Lt)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Lt,!0).forEach(function(t){n.markElementAsDisabled(e,!1)})},t.prototype.flush=function(t){var n=this;void 0===t&&(t=-1);var e=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,e){return n._balanceNamespaceList(t,e)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++){Jt(this.collectedEnterElements[r],"ng-star-inserted")}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{e=this._flushAnimations(i,t)}finally{for(r=0;r<i.length;r++)i[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++){var o=this.collectedLeaveElements[r];this.processLeaveNode(o)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var a=this._whenQuietFns;this._whenQuietFns=[],e.length?W(e).onDone(function(){a.forEach(function(t){return t()})}):a.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var u=this,p=new ct,d=[],h=new Map,s=[],l=new Map,c=new Map,f=new Map,m=new Set;this.disabledNodes.forEach(function(t){m.add(t);for(var e=u.driver.query(t,".ng-animate-queued",!0),n=0;n<e.length;n++)m.add(e[n])});var g=Y(),n=Array.from(this.statesByElement.keys()),r=Xt(n,this.collectedEnterElements),y=new Map,i=0;r.forEach(function(t,e){var n=$+i++;y.set(e,n),t.forEach(function(t){return Jt(t,n)})});for(var o=[],a=new Set,v=new Set,b=0;b<this.collectedLeaveElements.length;b++){(L=(N=this.collectedLeaveElements[b])[Bt])&&L.setForRemoval&&(o.push(N),a.add(N),L.hasAnimation?this.driver.query(N,".ng-star-inserted",!0).forEach(function(t){return a.add(t)}):v.add(N))}var _=new Map,w=Xt(n,Array.from(a));w.forEach(function(t,e){var n=K+i++;_.set(e,n),t.forEach(function(t){return Jt(t,n)})}),t.push(function(){r.forEach(function(t,e){var n=y.get(e);t.forEach(function(t){return te(t,n)})}),w.forEach(function(t,e){var n=_.get(e);t.forEach(function(t){return te(t,n)})}),o.forEach(function(t){u.processLeaveNode(t)})});for(var C=[],x=[],S=this._namespaceList.length-1;0<=S;S--){this._namespaceList[S].drainQueuedTransitions(e).forEach(function(t){var e=t.player;C.push(e);var n=t.element;if(g&&u.driver.containsElement(g,n)){var r=_.get(n),i=y.get(n),o=u._buildInstruction(t,p,i,r);if(o.errors&&o.errors.length)x.push(o);else{if(t.isFallbackTransition)return e.onStart(function(){return Z(n,o.fromStyles)}),e.onDestroy(function(){return X(n,o.toStyles)}),void d.push(e);o.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),p.append(n,o.timelines);var a={instruction:o,player:e,element:n};s.push(a),o.queriedElements.forEach(function(t){return q(l,t,[]).push(e)}),o.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=c.get(e);r||c.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),o.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=f.get(e);r||f.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}}else e.destroy()})}if(x.length){var E=[];x.forEach(function(t){E.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return E.push("- "+t+"\n")})}),C.forEach(function(t){return t.destroy()}),this.reportError(E)}var k=new Map,O=new Map;s.forEach(function(t){var e=t.element;p.has(e)&&(O.set(e,e),u._beforeAnimationBuild(t.player.namespaceId,t.instruction,k))}),d.forEach(function(t){var e=t.element;u._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){q(k,e,[]).push(t),t.destroy()})});var P=o.filter(function(t){return ne(t,c,f)}),A=new Map;Qt(A,this.driver,v,f,z.AUTO_STYLE).forEach(function(t){ne(t,c,f)&&P.push(t)});var D=new Map;r.forEach(function(t,e){Qt(D,u.driver,new Set(t),c,z.ɵPRE_STYLE)}),P.forEach(function(t){var e=A.get(t),n=D.get(t);A.set(t,G({},e,n))});var T=[],M=[],I={};s.forEach(function(t){var e=t.element,n=t.player,r=t.instruction;if(p.has(e)){if(m.has(e))return n.onDestroy(function(){return X(e,r.toStyles)}),void d.push(n);var i=I;if(1<O.size){for(var o=e,a=[];o=o.parentNode;){var s=O.get(o);if(s){i=s;break}a.push(o)}a.forEach(function(t){return O.set(t,i)})}var l=u._buildAnimation(n.namespaceId,r,k,h,D,A);if(n.setRealPlayer(l),i===I)T.push(n);else{var c=u.playersByElement.get(i);c&&c.length&&(n.parentPlayer=W(c)),d.push(n)}}else Z(e,r.fromStyles),n.onDestroy(function(){return X(e,r.toStyles)}),M.push(n),m.has(e)&&d.push(n)}),M.forEach(function(t){var e=h.get(t.element);if(e&&e.length){var n=W(e);t.setRealPlayer(n)}}),d.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var R=0;R<o.length;R++){var N,L=(N=o[R])[Bt];if(te(N,K),!L||!L.hasAnimation){var j=[];if(l.size){var F=l.get(N);F&&F.length&&j.push.apply(j,F);for(var V=this.driver.query(N,Q,!0),B=0;B<V.length;B++){var U=l.get(V[B]);U&&U.length&&j.push.apply(j,U)}}var H=j.filter(function(t){return!t.destroyed});H.length?ee(this,N,H):this.processLeaveNode(N)}}return o.length=0,T.forEach(function(e){u.players.push(e),e.onDone(function(){e.destroy();var t=u.players.indexOf(e);u.players.splice(t,1)}),e.play()}),T},t.prototype.elementContainsData=function(t,e){var n=!1,r=e[Bt];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,r,i){var o=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(o=a)}else{var s=this.playersByElement.get(t);if(s){var l=!i||i==Ht;s.forEach(function(t){t.queued||(l||t.triggerName==r)&&o.push(t)})}}return(n||r)&&(o=o.filter(function(t){return(!n||n==t.namespaceId)&&(!r||r==t.triggerName)})),o},t.prototype._beforeAnimationBuild=function(t,i,o){for(var e=i.triggerName,a=i.element,s=i.isRemovalTransition?void 0:t,l=i.isRemovalTransition?void 0:e,n=function(t){var e=t.element,n=e!==a,r=q(o,e,[]);c._getPreviousPlayers(e,n,s,l,i.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),r.push(t)})},c=this,r=0,u=i.timelines;r<u.length;r++){n(u[r])}Z(a,i.fromStyles)},t.prototype._buildAnimation=function(d,t,h,f,m,g){var y=this,v=t.triggerName,b=t.element,_=[],w=new Set,C=new Set,e=t.timelines.map(function(t){var n=t.element;w.add(n);var e=n[Bt];if(e&&e.removedBeforeQueried)return new z.NoopAnimationPlayer;var r,i,o=n!==b,a=(r=(h.get(n)||jt).map(function(t){return t.getRealPlayer()}),i=[],function t(e,n){for(var r=0;r<e.length;r++){var i=e[r];i instanceof z.ɵAnimationGroupPlayer?t(i.players,n):n.push(i)}}(r,i),i).filter(function(t){var e=t;return!!e.element&&e.element===n}),s=m.get(n),l=g.get(n),c=x(y.driver,y._normalizer,0,t.keyframes,s,l),u=y._buildPlayer(t,c,a);if(t.subTimeline&&f&&C.add(n),o){var p=new Yt(d,v,n);p.setRealPlayer(u),_.push(p)}return u});_.forEach(function(t){q(y.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var r;if(t instanceof Map){if(r=t.get(e)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&t.delete(e)}}else if(r=t[e]){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&delete t[e]}return r}(y.playersByQueriedElement,t.element,t)})}),w.forEach(function(t){return Jt(t,S)});var n=W(e);return n.onDestroy(function(){w.forEach(function(t){return te(t,S)}),X(b,t.toStyles)}),C.forEach(function(t){q(f,t,[]).push(n)}),n},t.prototype._buildPlayer=function(t,e,n){return 0<e.length?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new z.NoopAnimationPlayer},t}(),Yt=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new z.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.queued=!0}return t.prototype.setRealPlayer=function(n){var t=this;this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(function(e){t._queuedCallbacks[e].forEach(function(t){return s(n,e,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){q(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function $t(t){return t&&1===t.nodeType}function Kt(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Qt(e,i,t,n,o){var r=[];t.forEach(function(t){return r.push(Kt(t))});var a=[];n.forEach(function(t,n){var r={};t.forEach(function(t){var e=r[t]=i.computeStyle(n,t,o);e&&0!=e.length||(n[Bt]=Vt,a.push(n))}),e.set(n,r)});var s=0;return t.forEach(function(t){return Kt(t,r[s++])}),a}function Xt(t,e){var i=new Map;if(t.forEach(function(t){return i.set(t,[])}),0==e.length)return i;var o=1,a=new Set(e),s=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return o;var n=s.get(e);if(n)return n;var r=e.parentNode;return n=i.has(r)?r:a.has(r)?o:t(r),s.set(e,n),n}(t);e!==o&&i.get(e).push(t)}),i}var Zt="$$classes";function Jt(t,e){if(t.classList)t.classList.add(e);else{var n=t[Zt];n||(n=t[Zt]={}),n[e]=!0}}function te(t,e){if(t.classList)t.classList.remove(e);else{var n=t[Zt];n&&delete n[e]}}function ee(t,e,n){W(n).onDone(function(){return t.processLeaveNode(e)})}function ne(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach(function(t){return i.add(t)}):e.set(t,r),n.delete(t),!0}var re=function(){function t(t,e){var n=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new qt(t,e),this._timelineEngine=new It(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,a=this._triggerCache[o];if(!a){var s=[],l=nt(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=new Dt(r,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,r,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=c(n),o=i[0],a=i[1],s=r;this._timelineEngine.command(o,e,a,s)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=c(n),a=o[0],s=o[1];return this._timelineEngine.listen(a,e,s,i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),ie=function(){function t(t,e,n,r){void 0===r&&(r=[]);var i,o,a=this;this.element=t,this.keyframes=e,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,i=this._duration,o=this._delay,(0===i||0===o)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return a.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes.map(function(t){return D(t,!1)}),n=Object.keys(this.previousStyles);if(n.length&&t.length){var r=t[0],i=[];if(n.forEach(function(t){r.hasOwnProperty(t)||i.push(t),r[t]=e.previousStyles[t]}),i.length)for(var o=this,a=function(){var e=t[s];i.forEach(function(t){e[t]=oe(o.element,t)})},s=1;s<t.length;s++)a()}this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var e=this,n={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(t){"offset"!=t&&(n[t]=e._finished?e._finalKeyframe[t]:oe(e.element,t))}),this.currentSnapshot=n},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}();function oe(t,e){return window.getComputedStyle(t)[e]}var ae=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return f(t)},t.prototype.matchesElement=function(t,e){return m(t,e)},t.prototype.containsElement=function(t,e){return g(t,e)},t.prototype.query=function(t,e,n){return y(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.animate=function(t,e,n,r,i,o){void 0===o&&(o=[]);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var s=o.filter(function(t){return t instanceof ie});return new ie(t,e,a,s)},t}();t.AnimationDriver=b,t.ɵAnimation=wt,t.ɵAnimationStyleNormalizer=Ct,t.ɵNoopAnimationStyleNormalizer=xt,t.ɵWebAnimationsStyleNormalizer=St,t.ɵNoopAnimationDriver=v,t.ɵAnimationEngine=re,t.ɵWebAnimationsDriver=ae,t.ɵsupportsWebAnimations=function(){return"undefined"!=typeof Element&&"function"==typeof Element.prototype.animate},t.ɵWebAnimationsPlayer=ie,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/animations")):i((r.ng=r.ng||{},r.ng.animations=r.ng.animations||{},r.ng.animations.browser={}),r.ng.animations)},{"@angular/animations":46}],46:[function(t,e,n){var r;r=this,function(t){"use strict";var e=function(){},n=function(){};function a(t){Promise.resolve(null).then(t)}var r=function(){function t(){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=0}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;a(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),i=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,r=0,i=0,o=this.players.length;0==o?a(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==o&&e._onFinish()}),t.onDestroy(function(){++r==o&&e._onDestroy()}),t.onStart(function(){++i==o&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var n=t*this.totalTime;this.players.forEach(function(t){var e=t.totalTime?Math.min(1,n/t.totalTime):1;t.setPosition(e)})},t.prototype.getPosition=function(){var n=0;return this.players.forEach(function(t){var e=t.getPosition();n=Math.min(e,n)}),n},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}();t.AnimationBuilder=e,t.AnimationFactory=n,t.AUTO_STYLE="*",t.animate=function(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}},t.animateChild=function(t){return void 0===t&&(t=null),{type:9,options:t}},t.animation=function(t,e){return void 0===e&&(e=null),{type:8,animation:t,options:e}},t.group=function(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}},t.keyframes=function(t){return{type:5,steps:t}},t.query=function(t,e,n){return void 0===n&&(n=null),{type:11,selector:t,animation:e,options:n}},t.sequence=function(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}},t.stagger=function(t,e){return{type:12,timings:t,animation:e}},t.state=function(t,e,n){return{type:0,name:t,styles:e,options:n}},t.style=function(t){return{type:6,styles:t,offset:null}},t.transition=function(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}},t.trigger=function(t,e){return{type:7,name:t,definitions:e,options:{}}},t.useAnimation=function(t,e){return void 0===e&&(e=null),{type:10,animation:t,options:e}},t.NoopAnimationPlayer=r,t.ɵAnimationGroupPlayer=i,t.ɵPRE_STYLE="!",Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof n&&void 0!==e?n:(r.ng=r.ng||{},r.ng.animations={}))},{}],47:[function(t,e,n){var r,i;r=this,i=function(t,l,e,n,o,r,c,i,a,s,u,p,d,h){"use strict";var f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function m(t,e){function n(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var g=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return!!((e=t).offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)&&"visible"===getComputedStyle(t).visibility;var e},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(t){return null}}(t.ownerDocument.defaultView||window);if(e){var n=e&&e.nodeName.toLowerCase();if(-1===v(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}var r,i,o,a=t.nodeName.toLowerCase(),s=v(t);if(t.hasAttribute("contenteditable"))return-1!==s;if("iframe"===a)return!1;if("audio"===a){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===a){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==a||!this._platform.BLINK&&!this._platform.WEBKIT)&&((!this._platform.WEBKIT||!this._platform.IOS||(i=(r=t).nodeName.toLowerCase(),"text"===(o="input"===i&&r.type)||"password"===o||"select"===i||"textarea"===i))&&0<=t.tabIndex)},t.prototype.isFocusable=function(t){return function(t){if(e=t,n=e,"input"==n.nodeName.toLowerCase()&&"hidden"==e.type)return!1;var e,n;return o=t,a=o.nodeName.toLowerCase(),"input"===a||"select"===a||"button"===a||"textarea"===a||(r=t,i=r,"a"==i.nodeName.toLowerCase()&&r.hasAttribute("href"))||t.hasAttribute("contenteditable")||y(t);var r,i;var o,a}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[{type:o.Platform}]},t}();function y(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function v(t){if(!y(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var b=function(){function t(t,e,n,r,i){void 0===i&&(i=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;this._startAnchor||(this._startAnchor=this._createAnchor()),this._endAnchor||(this._endAnchor=this._createAnchor()),this._ngZone.runOutsideAngular(function(){t._startAnchor.addEventListener("focus",function(){t.focusLastTabbableElement()}),t._endAnchor.addEventListener("focus",function(){t.focusFirstTabbableElement()}),t._element.parentNode&&(t._element.parentNode.insertBefore(t._startAnchor,t._element),t._element.parentNode.insertBefore(t._endAnchor,t._element.nextSibling))})},t.prototype.focusInitialElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n<e.length;n++)e[n].hasAttribute("cdk-focus-"+t)?console.warn("Found use of deprecated attribute 'cdk-focus-"+t+"', use 'cdkFocusRegion"+t+"' instead.",e[n]):e[n].hasAttribute("cdk-focus-region-"+t)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+t+"', use 'cdkFocusRegion"+t+"' instead.",e[n]);return"start"==t?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)},t.prototype.focusInitialElement=function(){var t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return this._element.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead.",this._element),t?(t.focus(),!0):this.focusFirstTabbableElement()},t.prototype.focusFirstTabbableElement=function(){var t=this._getRegionBoundary("start");return t&&t.focus(),!!t},t.prototype.focusLastTabbableElement=function(){var t=this._getRegionBoundary("end");return t&&t.focus(),!!t},t.prototype._getFirstTabbableElement=function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=0;n<e.length;n++){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._getLastTabbableElement=function(t){if(this._checker.isFocusable(t)&&this._checker.isTabbable(t))return t;for(var e=t.children||t.childNodes,n=e.length-1;0<=n;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return t.tabIndex=this._enabled?0:-1,t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(n.take(1)).subscribe(t)},t}(),_=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new b(t,this._checker,this._ngZone,this._document,e)},t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[{type:g},{type:l.NgZone},{type:void 0,decorators:[{type:l.Inject,args:[r.DOCUMENT]}]}]},t}(),w=function(){function t(t,e){this._elementRef=t,this._focusTrapFactory=e,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(t.prototype,"disabled",{get:function(){return!this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=!e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.focusTrap.destroy()},t.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors()},t.decorators=[{type:l.Directive,args:[{selector:"cdk-focus-trap"}]}],t.ctorParameters=function(){return[{type:l.ElementRef},{type:_}]},t.propDecorators={disabled:[{type:l.Input}]},t}(),C=function(){function t(t,e,n){this._elementRef=t,this._focusTrapFactory=e,this._previouslyFocusedElement=null,this._document=n,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this.focusTrap.enabled},set:function(t){this.focusTrap.enabled=e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoCapture",{get:function(){return this._autoCapture},set:function(t){this._autoCapture=e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)},t.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())},t.decorators=[{type:l.Directive,args:[{selector:"[cdkTrapFocus]",exportAs:"cdkTrapFocus"}]}],t.ctorParameters=function(){return[{type:l.ElementRef},{type:_},{type:void 0,decorators:[{type:l.Inject,args:[r.DOCUMENT]}]}]},t.propDecorators={enabled:[{type:l.Input,args:["cdkTrapFocus"]}],autoCapture:[{type:l.Input,args:["cdkTrapFocusAutoCapture"]}]},t}(),x=" ";function S(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var E="cdk-describedby-message-container",k="cdk-describedby-message",O="cdk-describedby-host",P=0,A=new Map,D=null,T=function(){function t(t){this._document=t}return t.prototype.describe=function(t,e){this._canBeDescribed(t,e)&&(A.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))},t.prototype.removeDescription=function(t,e){if(this._canBeDescribed(t,e)){this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e);var n=A.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e),D&&0===D.childNodes.length&&this._deleteMessagesContainer()}},t.prototype.ngOnDestroy=function(){for(var t=this._document.querySelectorAll("["+O+"]"),e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute(O);D&&this._deleteMessagesContainer(),A.clear()},t.prototype._createMessageElement=function(t){var e=this._document.createElement("div");e.setAttribute("id",k+"-"+P++),e.appendChild(this._document.createTextNode(t)),D||this._createMessagesContainer(),D.appendChild(e),A.set(t,{messageElement:e,referenceCount:0})},t.prototype._deleteMessageElement=function(t){var e=A.get(t),n=e&&e.messageElement;D&&n&&D.removeChild(n),A.delete(t)},t.prototype._createMessagesContainer=function(){(D=this._document.createElement("div")).setAttribute("id",E),D.setAttribute("aria-hidden","true"),D.style.display="none",this._document.body.appendChild(D)},t.prototype._deleteMessagesContainer=function(){D&&D.parentNode&&(D.parentNode.removeChild(D),D=null)},t.prototype._removeCdkDescribedByReferenceIds=function(t){var e=S(t,"aria-describedby").filter(function(t){return 0!=t.indexOf(k)});t.setAttribute("aria-describedby",e.join(" "))},t.prototype._addMessageReference=function(t,e){var n,r,i,o,a=A.get(e);n=t,r="aria-describedby",i=a.messageElement.id,(o=S(n,r)).some(function(t){return t.trim()==i.trim()})||(o.push(i.trim()),n.setAttribute(r,o.join(x))),t.setAttribute(O,""),a.referenceCount++},t.prototype._removeMessageReference=function(t,e){var n,r,i,o,a=A.get(e);a.referenceCount--,n=t,r="aria-describedby",i=a.messageElement.id,o=S(n,r).filter(function(t){return t!=i.trim()}),n.setAttribute(r,o.join(x)),t.removeAttribute(O)},t.prototype._isElementDescribedByMessage=function(t,e){var n=S(t,"aria-describedby"),r=A.get(e),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)},t.prototype._canBeDescribed=function(t,e){return t.nodeType===this._document.ELEMENT_NODE&&null!=e&&!!(""+e).trim()},t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:l.Inject,args:[r.DOCUMENT]}]}]},t}();function M(t,e){return t||new T(e)}var I={provide:T,deps:[[new l.Optional,new l.SkipSelf,T],r.DOCUMENT],useFactory:M},R=function(){function t(t){var n=this;this._items=t,this._activeItemIndex=-1,this._wrap=!1,this._letterKeyStream=new c.Subject,this._typeaheadSubscription=i.Subscription.EMPTY,this._vertical=!0,this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new c.Subject,this.change=new c.Subject,t.changes.subscribe(function(t){if(n._activeItem){var e=t.toArray().indexOf(n._activeItem);-1<e&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}})}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(){return this._wrap=!0,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withTypeAhead=function(t){var o=this;if(void 0===t&&(t=200),this._items.length&&this._items.some(function(t){return"function"!=typeof t.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(d.tap(function(t){return o._pressedLetters.push(t)}),s.debounceTime(t),u.filter(function(){return 0<o._pressedLetters.length}),p.map(function(){return o._pressedLetters.join("")})).subscribe(function(t){for(var e=o._items.toArray(),n=1;n<e.length+1;n++){var r=(o._activeItemIndex+n)%e.length,i=e[r];if(!o._skipPredicateFn(i)&&0===i.getLabel().toUpperCase().trim().indexOf(t)){o.setActiveItem(r);break}}o._pressedLetters=[]}),this},t.prototype.setActiveItem=function(t){var e=this._activeItemIndex;this._activeItemIndex=t,this._activeItem=this._items.toArray()[t],this._activeItemIndex!==e&&this.change.next(t)},t.prototype.onKeydown=function(t){var e=t.keyCode;switch(e){case a.TAB:return void this.tabOut.next();case a.DOWN_ARROW:if(this._vertical){this.setNextItemActive();break}return;case a.UP_ARROW:if(this._vertical){this.setPreviousItemActive();break}return;case a.RIGHT_ARROW:if("ltr"===this._horizontal){this.setNextItemActive();break}if("rtl"===this._horizontal){this.setPreviousItemActive();break}return;case a.LEFT_ARROW:if("ltr"===this._horizontal){this.setPreviousItemActive();break}if("rtl"===this._horizontal){this.setNextItemActive();break}return;default:return void(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=a.A&&e<=a.Z||e>=a.ZERO&&e<=a.NINE)&&this._letterKeyStream.next(String.fromCharCode(e)))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItemIndex=function(t){this._activeItemIndex=t},t.prototype._setActiveItemByDelta=function(t,e){void 0===e&&(e=this._items.toArray()),this._wrap?this._setActiveInWrapMode(t,e):this._setActiveInDefaultMode(t,e)},t.prototype._setActiveInWrapMode=function(t,e){for(var n=1;n<=e.length;n++){var r=(this._activeItemIndex+t*n+e.length)%e.length,i=e[r];if(!this._skipPredicateFn(i))return void this.setActiveItem(r)}},t.prototype._setActiveInDefaultMode=function(t,e){this._setActiveItemByIndex(this._activeItemIndex+t,t,e)},t.prototype._setActiveItemByIndex=function(t,e,n){if(void 0===n&&(n=this._items.toArray()),n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t}(),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return m(t,e),t.prototype.setActiveItem=function(t){this.activeItem&&this.activeItem.setInactiveStyles(),e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.setActiveStyles()},t}(R),L=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._origin="program",t}return m(t,e),t.prototype.setFocusOrigin=function(t){return this._origin=t,this},t.prototype.setActiveItem=function(t){e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.focus(this._origin)},t}(R),j=new l.InjectionToken("liveAnnouncerElement"),F=function(){function t(t,e){this._document=e,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(e,t){var n=this;return void 0===t&&(t="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",t),new Promise(function(t){setTimeout(function(){n._liveElement.textContent=e,t()},100)})},t.prototype.ngOnDestroy=function(){this._liveElement&&this._liveElement.parentNode&&this._liveElement.parentNode.removeChild(this._liveElement)},t.prototype._createLiveElement=function(){var t=this._document.createElement("div");return t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t},t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:l.Optional},{type:l.Inject,args:[j]}]},{type:void 0,decorators:[{type:l.Inject,args:[r.DOCUMENT]}]}]},t}();function V(t,e,n){return t||new F(e,n)}var B={provide:F,deps:[[new l.Optional,new l.SkipSelf,F],[new l.Optional,new l.Inject(j)],r.DOCUMENT],useFactory:V},U=function(){function t(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._unregisterGlobalListeners=function(){},this._monitoredElementCount=0}return t.prototype.monitor=function(e,t,n){var r=this;if(t instanceof l.Renderer2||(n=t),n=!!n,!this._platform.isBrowser)return h.of(null);if(this._elementInfo.has(e)){var i=this._elementInfo.get(e);return i.checkChildren=n,i.subject.asObservable()}var o={unlisten:function(){},checkChildren:n,subject:new c.Subject};this._elementInfo.set(e,o),this._incrementMonitoredElementCount();var a=function(t){return r._onFocus(t,e)},s=function(t){return r._onBlur(t,e)};return this._ngZone.runOutsideAngular(function(){e.addEventListener("focus",a,!0),e.addEventListener("blur",s,!0)}),o.unlisten=function(){e.removeEventListener("focus",a,!0),e.removeEventListener("blur",s,!0)},o.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=this._elementInfo.get(t);e&&(e.unlisten(),e.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e){this._setOriginForCurrentEventQueue(e),t.focus()},t.prototype.ngOnDestroy=function(){var n=this;this._elementInfo.forEach(function(t,e){return n.stopMonitoring(e)})},t.prototype._registerGlobalListeners=function(){var e=this;if(this._platform.isBrowser){var t=function(){e._lastTouchTarget=null,e._setOriginForCurrentEventQueue("keyboard")},n=function(){e._lastTouchTarget||e._setOriginForCurrentEventQueue("mouse")},r=function(t){null!=e._touchTimeoutId&&clearTimeout(e._touchTimeoutId),e._lastTouchTarget=t.target,e._touchTimeoutId=setTimeout(function(){return e._lastTouchTarget=null},650)},i=function(){e._windowFocused=!0,e._windowFocusTimeoutId=setTimeout(function(){return e._windowFocused=!1},0)};this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",t,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("touchstart",r,!o.supportsPassiveEventListeners()||{passive:!0,capture:!0}),window.addEventListener("focus",i)}),this._unregisterGlobalListeners=function(){document.removeEventListener("keydown",t,!0),document.removeEventListener("mousedown",n,!0),document.removeEventListener("touchstart",r,!o.supportsPassiveEventListeners()||{passive:!0,capture:!0}),window.removeEventListener("focus",i),clearTimeout(e._windowFocusTimeoutId),clearTimeout(e._touchTimeoutId),clearTimeout(e._originTimeoutId)}}},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._origin=t,this._originTimeoutId=setTimeout(function(){return e._origin=null},0)},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);n&&(n.checkChildren||e===t.target)&&(this._origin||(this._windowFocused&&this._lastFocusOrigin?this._origin=this._lastFocusOrigin:this._wasCausedByTouch(t)?this._origin="touch":this._origin="program"),this._setClasses(e,this._origin),n.subject.next(this._origin),this._lastFocusOrigin=this._origin,this._origin=null)},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),n.subject.next(null))},t.prototype._incrementMonitoredElementCount=function(){1==++this._monitoredElementCount&&this._registerGlobalListeners()},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(this._unregisterGlobalListeners(),this._unregisterGlobalListeners=function(){})},t.decorators=[{type:l.Injectable}],t.ctorParameters=function(){return[{type:l.NgZone},{type:o.Platform}]},t}(),H=function(){function t(t,e){var n=this;this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new l.EventEmitter,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef.nativeElement,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return n.cdkFocusChange.emit(t)})}return t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef.nativeElement),this._monitorSubscription.unsubscribe()},t.decorators=[{type:l.Directive,args:[{selector:"[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]"}]}],t.ctorParameters=function(){return[{type:l.ElementRef},{type:U}]},t.propDecorators={cdkFocusChange:[{type:l.Output}]},t}();function z(t,e,n){return t||new U(e,n)}var G={provide:U,deps:[[new l.Optional,new l.SkipSelf,U],l.NgZone,o.Platform],useFactory:z};var W=function(){function t(){}return t.decorators=[{type:l.NgModule,args:[{imports:[r.CommonModule,o.PlatformModule],declarations:[C,w,H],exports:[C,w,H],providers:[g,_,T,B,I,G]}]}],t.ctorParameters=function(){return[]},t}();t.FocusTrapDirective=C,t.MESSAGES_CONTAINER_ID=E,t.CDK_DESCRIBEDBY_ID_PREFIX=k,t.CDK_DESCRIBEDBY_HOST_ATTRIBUTE=O,t.AriaDescriber=T,t.ARIA_DESCRIBER_PROVIDER_FACTORY=M,t.ARIA_DESCRIBER_PROVIDER=I,t.ActiveDescendantKeyManager=N,t.FocusKeyManager=L,t.ListKeyManager=R,t.FocusTrap=b,t.FocusTrapFactory=_,t.FocusTrapDeprecatedDirective=w,t.CdkTrapFocus=C,t.InteractivityChecker=g,t.LIVE_ANNOUNCER_ELEMENT_TOKEN=j,t.LiveAnnouncer=F,t.LIVE_ANNOUNCER_PROVIDER_FACTORY=V,t.LIVE_ANNOUNCER_PROVIDER=B,t.TOUCH_BUFFER_MS=650,t.FocusMonitor=U,t.CdkMonitorFocus=H,t.FOCUS_MONITOR_PROVIDER_FACTORY=z,t.FOCUS_MONITOR_PROVIDER=G,t.isFakeMousedownFromScreenReader=function(t){return 0===t.buttons},t.A11yModule=W,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/coercion"),t("rxjs/operators/take"),t("@angular/cdk/platform"),t("@angular/common"),t("rxjs/Subject"),t("rxjs/Subscription"),t("@angular/cdk/keycodes"),t("rxjs/operators/debounceTime"),t("rxjs/operators/filter"),t("rxjs/operators/map"),t("rxjs/operators/tap"),t("rxjs/observable/of")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.a11y=r.ng.cdk.a11y||{}),r.ng.core,r.ng.cdk.coercion,r.Rx.operators,r.ng.cdk.platform,r.ng.common,r.Rx,r.Rx,r.ng.cdk.keycodes,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.Rx.Observable)},{"@angular/cdk/coercion":50,"@angular/cdk/keycodes":52,"@angular/cdk/platform":56,"@angular/common":62,"@angular/core":64,"rxjs/Subject":79,"rxjs/Subscription":82,"rxjs/observable/of":107,"rxjs/operators/debounceTime":128,"rxjs/operators/filter":132,"rxjs/operators/map":136,"rxjs/operators/take":147,"rxjs/operators/tap":150}],48:[function(t,e,n){var r,i;r=this,i=function(t,i,e,n){"use strict";var r=0,o=function(){function t(){this.id="cdk-accordion-"+r++,this._multi=!1}return Object.defineProperty(t.prototype,"multi",{get:function(){return this._multi},set:function(t){this._multi=n.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.decorators=[{type:i.Directive,args:[{selector:"cdk-accordion, [cdkAccordion]",exportAs:"cdkAccordion"}]}],t.ctorParameters=function(){return[]},t.propDecorators={multi:[{type:i.Input}]},t}(),a=0,s=function(){function t(t,e,n){var r=this;this.accordion=t,this._changeDetectorRef=e,this._expansionDispatcher=n,this.closed=new i.EventEmitter,this.opened=new i.EventEmitter,this.destroyed=new i.EventEmitter,this.expandedChange=new i.EventEmitter,this.id="cdk-accordion-child-"+a++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=n.listen(function(t,e){r.accordion&&!r.accordion.multi&&r.accordion.id===e&&r.id!==t&&(r.expanded=!1)})}return Object.defineProperty(t.prototype,"expanded",{get:function(){return this._expanded},set:function(t){if(t=n.coerceBooleanProperty(t),this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();var e=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,e)}else this.closed.emit();this._changeDetectorRef.markForCheck()}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=n.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.destroyed.emit(),this._removeUniqueSelectionListener()},t.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},t.prototype.close=function(){this.disabled||(this.expanded=!1)},t.prototype.open=function(){this.disabled||(this.expanded=!0)},t.decorators=[{type:i.Directive,args:[{selector:"cdk-accordion-item",exportAs:"cdkAccordionItem"}]}],t.ctorParameters=function(){return[{type:o,decorators:[{type:i.Optional}]},{type:i.ChangeDetectorRef},{type:e.UniqueSelectionDispatcher}]},t.propDecorators={closed:[{type:i.Output}],opened:[{type:i.Output}],destroyed:[{type:i.Output}],expandedChange:[{type:i.Output}],expanded:[{type:i.Input}],disabled:[{type:i.Input}]},t}(),l=function(){function t(){}return t.decorators=[{type:i.NgModule,args:[{exports:[o,s],declarations:[o,s],providers:[e.UNIQUE_SELECTION_DISPATCHER_PROVIDER]}]}],t.ctorParameters=function(){return[]},t}();t.CdkAccordionItem=s,t.CdkAccordion=o,t.CdkAccordionModule=l,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/collections"),t("@angular/cdk/coercion")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.accordion=r.ng.cdk.accordion||{}),r.ng.core,r.ng.cdk.collections,r.ng.cdk.coercion)},{"@angular/cdk/coercion":50,"@angular/cdk/collections":51,"@angular/core":64}],49:[function(t,e,n){var r,i;r=this,i=function(t,r,e){"use strict";var n=new r.InjectionToken("cdk-dir-doc"),i=function(){function t(t){if(this.value="ltr",this.change=new r.EventEmitter,t){var e=t.body?t.body.dir:null,n=t.documentElement?t.documentElement.dir:null;this.value=e||n||"ltr"}}return t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:r.Optional},{type:r.Inject,args:[n]}]}]},t}(),o=function(){function t(){this._dir="ltr",this._isInitialized=!1,this.change=new r.EventEmitter}return Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir},set:function(t){var e=this._dir;this._dir=t,e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.dir},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){this.change.complete()},t.decorators=[{type:r.Directive,args:[{selector:"[dir]",providers:[{provide:i,useExisting:t}],host:{"[dir]":"dir"},exportAs:"dir"}]}],t.ctorParameters=function(){return[]},t.propDecorators={change:[{type:r.Output,args:["dirChange"]}],dir:[{type:r.Input}]},t}(),a=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{exports:[o],declarations:[o],providers:[{provide:n,useExisting:e.DOCUMENT},i]}]}],t.ctorParameters=function(){return[]},t}();t.Directionality=i,t.DIR_DOCUMENT=n,t.Dir=o,t.BidiModule=a,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/common")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.bidi=r.ng.cdk.bidi||{}),r.ng.core,r.ng.common)},{"@angular/common":62,"@angular/core":64}],50:[function(t,e,n){var r;r=this,function(t){"use strict";function n(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}t.coerceBooleanProperty=function(t){return null!=t&&""+t!="false"},t.coerceNumberProperty=function(t,e){return void 0===e&&(e=0),n(t)?Number(t):e},t._isNumberValue=n,t.coerceArray=function(t){return Array.isArray(t)?t:[t]},Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof n&&void 0!==e?n:(r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.coercion=r.ng.cdk.coercion||{}))},{}],51:[function(t,e,n){var r,i;r=this,i=function(t,i,e){"use strict";var n=function(){},r=function(){function t(t,e,n){void 0===t&&(t=!1),void 0===n&&(n=!0);var r=this;this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.onChange=this._emitChanges?new i.Subject:null,e&&e.length&&(t?e.forEach(function(t){return r._markSelected(t)}):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._verifyValueAssignment(t),t.forEach(function(t){return e._markSelected(t)}),this._emitChangeEvent()},t.prototype.deselect=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._verifyValueAssignment(t),t.forEach(function(t){return e._unmarkSelected(t)}),this._emitChangeEvent()},t.prototype.toggle=function(t){this.isSelected(t)?this.deselect(t):this.select(t)},t.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},t.prototype.isSelected=function(t){return this._selection.has(t)},t.prototype.isEmpty=function(){return 0===this._selection.size},t.prototype.hasValue=function(){return!this.isEmpty()},t.prototype.sort=function(t){this._multiple&&this._selected&&this._selected.sort(t)},t.prototype._emitChangeEvent=function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.onChange&&this.onChange.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])},t.prototype._markSelected=function(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))},t.prototype._unmarkSelected=function(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))},t.prototype._unmarkAll=function(){var e=this;this.isEmpty()||this._selection.forEach(function(t){return e._unmarkSelected(t)})},t.prototype._verifyValueAssignment=function(t){if(1<t.length&&!this._multiple)throw o()},t}();function o(){return Error("Cannot pass multiple values into SelectionModel with single-value mode.")}var a=function(){function t(){this._listeners=[]}return t.prototype.notify=function(t,e){for(var n=0,r=this._listeners;n<r.length;n++){(0,r[n])(t,e)}},t.prototype.listen=function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter(function(t){return e!==t})}},t.prototype.ngOnDestroy=function(){this._listeners=[]},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}();function s(t){return t||new a}var l={provide:a,deps:[[new e.Optional,new e.SkipSelf,a]],useFactory:s};t.UniqueSelectionDispatcher=a,t.UNIQUE_SELECTION_DISPATCHER_PROVIDER=l,t.DataSource=n,t.SelectionModel=r,t.getMultipleValuesInSingleSelectionError=o,t.ɵa=s,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("rxjs/Subject"),t("@angular/core")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.collections=r.ng.cdk.collections||{}),r.Rx,r.ng.core)},{"@angular/core":64,"rxjs/Subject":79}],52:[function(t,e,n){var r;r=this,function(t){"use strict";t.UP_ARROW=38,t.DOWN_ARROW=40,t.RIGHT_ARROW=39,t.LEFT_ARROW=37,t.PAGE_UP=33,t.PAGE_DOWN=34,t.HOME=36,t.END=35,t.ENTER=13,t.SPACE=32,t.TAB=9,t.ESCAPE=27,t.BACKSPACE=8,t.DELETE=46,t.A=65,t.Z=90,t.ZERO=48,t.NINE=57,t.COMMA=188,Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof n&&void 0!==e?n:(r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.keycodes=r.ng.cdk.keycodes||{}))},{}],53:[function(t,e,n){var r,i;r=this,i=function(t,e,n,r,i,o,a,s,l,c){"use strict";var u=new Map,p=function(){function t(t){this.platform=t,this._matchMedia=this.platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):d}return t.prototype.matchMedia=function(t){return this.platform.WEBKIT&&function(t){if(!u.has(t))try{var e=document.createElement("style");if(e.setAttribute("type","text/css"),!e.sheet){var n="@media "+t+" {.fx-query-test{ }}";e.appendChild(document.createTextNode(n))}document.getElementsByTagName("head")[0].appendChild(e),u.set(t,e)}catch(t){console.error(t)}}(t),this._matchMedia(t)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:n.Platform}]},t}();function d(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var h=function(){function t(t,e){this.mediaMatcher=t,this.zone=e,this._queries=new Map,this._destroySubject=new r.Subject}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return s.coerceArray(t).some(function(t){return e._registerQuery(t).mql.matches})},t.prototype.observe=function(t){var e=this,n=s.coerceArray(t).map(function(t){return e._registerQuery(t).observable});return l.combineLatest(n,function(t,e){return{matches:!!(t&&t.matches||e&&e.matches)}})},t.prototype._registerQuery=function(t){var n=this;if(this._queries.has(t))return this._queries.get(t);var r=this.mediaMatcher.matchMedia(t),e={observable:c.fromEventPattern(function(e){r.addListener(function(t){return n.zone.run(function(){return e(t)})})},function(e){r.removeListener(function(t){return n.zone.run(function(){return e(t)})})}).pipe(a.takeUntil(this._destroySubject),o.startWith(r),i.map(function(t){return{matches:t.matches}})),mql:r};return this._queries.set(t,e),e},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:p},{type:e.NgZone}]},t}(),f=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[h,p],imports:[n.PlatformModule]}]}],t.ctorParameters=function(){return[]},t}();t.LayoutModule=f,t.BreakpointObserver=h,t.Breakpoints={XSmall:"(max-width: 599px)",Small:"(min-width: 600px) and (max-width: 959px)",Medium:"(min-width: 960px) and (max-width: 1279px)",Large:"(min-width: 1280px) and (max-width: 1919px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599px) and (orientation: portrait), (max-width: 959px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},t.MediaMatcher=p,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/platform"),t("rxjs/Subject"),t("rxjs/operators/map"),t("rxjs/operators/startWith"),t("rxjs/operators/takeUntil"),t("@angular/cdk/coercion"),t("rxjs/observable/combineLatest"),t("rxjs/observable/fromEventPattern")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.layout=r.ng.cdk.layout||{}),r.ng.core,r.ng.cdk.platform,r.Rx,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.ng.cdk.coercion,r.Rx.Observable,r.Rx.Observable)},{"@angular/cdk/coercion":50,"@angular/cdk/platform":56,"@angular/core":64,"rxjs/Subject":79,"rxjs/observable/combineLatest":97,"rxjs/observable/fromEventPattern":104,"rxjs/operators/map":136,"rxjs/operators/startWith":145,"rxjs/operators/takeUntil":149}],54:[function(t,e,n){var r,i;r=this,i=function(t,r,e,i,n){"use strict";var o=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.decorators=[{type:r.Injectable}],t.ctorParameters=function(){return[]},t}(),a=function(){function t(t,e,n){this._mutationObserverFactory=t,this._elementRef=e,this._ngZone=n,this._disabled=!1,this.event=new r.EventEmitter,this._debouncer=new i.Subject}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;0<this.debounce?this._ngZone.runOutsideAngular(function(){e._debouncer.pipe(n.debounceTime(e.debounce)).subscribe(function(t){return e.event.emit(t)})}):this._debouncer.subscribe(function(t){return e.event.emit(t)}),this._observer=this._ngZone.runOutsideAngular(function(){return e._mutationObserverFactory.create(function(t){e._debouncer.next(t)})}),this.disabled||this._enable()},t.prototype.ngOnChanges=function(t){t.disabled&&(t.disabled.currentValue?this._disable():this._enable())},t.prototype.ngOnDestroy=function(){this._disable(),this._debouncer.complete()},t.prototype._disable=function(){this._observer&&this._observer.disconnect()},t.prototype._enable=function(){this._observer&&this._observer.observe(this._elementRef.nativeElement,{characterData:!0,childList:!0,subtree:!0})},t.decorators=[{type:r.Directive,args:[{selector:"[cdkObserveContent]",exportAs:"cdkObserveContent"}]}],t.ctorParameters=function(){return[{type:o},{type:r.ElementRef},{type:r.NgZone}]},t.propDecorators={event:[{type:r.Output,args:["cdkObserveContent"]}],disabled:[{type:r.Input,args:["cdkObserveContentDisabled"]}],debounce:[{type:r.Input}]},t}(),s=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{exports:[a],declarations:[a],providers:[o]}]}],t.ctorParameters=function(){return[]},t}();t.ObserveContent=a,t.MutationObserverFactory=o,t.CdkObserveContent=a,t.ObserversModule=s,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/coercion"),t("rxjs/Subject"),t("rxjs/operators/debounceTime")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.observers=r.ng.cdk.observers||{}),r.ng.core,r.ng.cdk.coercion,r.Rx,r.Rx.operators)},{"@angular/cdk/coercion":50,"@angular/core":64,"rxjs/Subject":79,"rxjs/operators/debounceTime":128}],55:[function(t,e,n){var r,i;r=this,i=function(t,o,e,n,r,a,i,s,l,c,u,p,d){"use strict";var h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};var f=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},m=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}(),g=function(e){var n=this;this.scrollStrategy=new m,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.direction="ltr",e&&Object.keys(e).filter(function(t){return void 0!==e[t]}).forEach(function(t){return n[t]=e[t]})},y=function(t,e,n,r){this.offsetX=n,this.offsetY=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY},v=function(){},b=function(){function t(t,e){this.connectionPair=t,this.scrollableViewProperties=e}return t.ctorParameters=function(){return[{type:y},{type:v,decorators:[{type:o.Optional}]}]},t}();function _(){return Error("Scroll strategy has already been attached.")}var w=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run(function(){return i._overlayRef.detach()})}}return t.prototype.attach=function(t){if(this._overlayRef)throw _();this._overlayRef=t},t.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&1<this._config.threshold?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),C=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=-this._previousScrollPosition.left+"px",t.style.top=-this._previousScrollPosition.top+"px",t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=this._document.body,n=t.style.scrollBehavior||"",r=e.style.scrollBehavior||"";this._isEnabled=!1,t.style.left=this._previousHTMLStyles.left,t.style.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),t.style.scrollBehavior=e.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.style.scrollBehavior=n,e.style.scrollBehavior=r}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function x(o,t){return t.some(function(t){var e=o.bottom<t.top,n=o.top>t.bottom,r=o.right<t.left,i=o.left>t.right;return e||n||r||i})}function S(o,t){return t.some(function(t){var e=o.top<t.top,n=o.bottom>t.bottom,r=o.left<t.left,i=o.right>t.right;return e||n||r||i})}var E=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw _();this._overlayRef=t},t.prototype.enable=function(){var i=this;if(!this._scrollSubscription){var t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(function(){if(i._overlayRef.updatePosition(),i._config&&i._config.autoClose){var t=i._overlayRef.overlayElement.getBoundingClientRect(),e=i._viewportRuler.getViewportSize(),n=e.width,r=e.height;x(t,[{width:n,height:r,bottom:r,right:n,top:0,left:0}])&&(i.disable(),i._ngZone.run(function(){return i._overlayRef.detach()}))}})}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),k=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new m},this.close=function(t){return new w(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new C(i._viewportRuler,i._document)},this.reposition=function(t){return new E(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r}return t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:e.ScrollDispatcher},{type:e.ViewportRuler},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},t}(),O=function(){function t(t,e,n,r,i,o){this._portalOutlet=t,this._pane=e,this._config=n,this._ngZone=r,this._keyboardDispatcher=i,this._document=o,this._backdropElement=null,this._backdropClick=new s.Subject,this._attachments=new s.Subject,this._detachments=new s.Subject,this._keydownEvents=new s.Subject,n.scrollStrategy&&n.scrollStrategy.attach(this)}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(i.take(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&(Array.isArray(this._config.panelClass)?this._config.panelClass.forEach(function(t){return e._pane.classList.add(t)}):this._pane.classList.add(this._config.panelClass)),this._attachments.next(),this._keyboardDispatcher.add(this),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEvents.asObservable()},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},t.prototype.updateSize=function(t){this._config=f({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=f({},this._config,{direction:t}),this._updateElementDirection()},t.prototype._updateElementDirection=function(){this._pane.setAttribute("dir",this._config.direction)},t.prototype._updateElementSize=function(){(this._config.width||0===this._config.width)&&(this._pane.style.width=P(this._config.width)),(this._config.height||0===this._config.height)&&(this._pane.style.height=P(this._config.height)),(this._config.minWidth||0===this._config.minWidth)&&(this._pane.style.minWidth=P(this._config.minWidth)),(this._config.minHeight||0===this._config.minHeight)&&(this._pane.style.minHeight=P(this._config.minHeight)),(this._config.maxWidth||0===this._config.maxWidth)&&(this._pane.style.maxWidth=P(this._config.maxWidth)),(this._config.maxHeight||0===this._config.maxHeight)&&(this._pane.style.maxHeight=P(this._config.maxHeight))},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var e=this,t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._backdropElement.classList.add(this._config.backdropClass),this._pane.parentElement.insertBefore(this._backdropElement,this._pane),this._backdropElement.addEventListener("click",function(t){return e._backdropClick.next(t)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)},t.prototype._updateStackingOrder=function(){this._pane.nextSibling&&this._pane.parentNode.appendChild(this._pane)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null)};e.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&e.classList.remove(this._config.backdropClass),e.addEventListener("transitionend",n),e.style.pointerEvents="none",this._ngZone.runOutsideAngular(function(){setTimeout(n,500)})}},t}();function P(t){return"string"==typeof t?t:t+"px"}var A=function(){function t(t,e,n,r,i){this._connectedTo=n,this._viewportRuler=r,this._document=i,this._dir="ltr",this._offsetX=0,this._offsetY=0,this.scrollables=[],this._resizeSubscription=l.Subscription.EMPTY,this._preferredPositions=[],this._applied=!1,this._positionLocked=!1,this._onPositionChange=new s.Subject,this._origin=this._connectedTo.nativeElement,this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._dir},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._onPositionChange.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;this._pane=t.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){return e.apply()})},t.prototype.dispose=function(){this._applied=!1,this._resizeSubscription.unsubscribe(),this._onPositionChange.complete()},t.prototype.detach=function(){this._applied=!1,this._resizeSubscription.unsubscribe()},t.prototype.apply=function(){if(this._applied&&this._positionLocked&&this._lastConnectedPosition)this.recalculateLastPosition();else{this._applied=!0;for(var t,e,n=this._pane,r=this._origin.getBoundingClientRect(),i=n.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),a=0,s=this._preferredPositions;a<s.length;a++){var l=s[a],c=this._getOriginConnectionPoint(r,l),u=this._getOverlayPoint(c,i,o,l);if(u.fitsInViewport)return this._setElementPosition(n,i,u,l),void(this._lastConnectedPosition=l);(!t||t.visibleArea<u.visibleArea)&&(t=u,e=l)}this._setElementPosition(n,i,t,e)}},t.prototype.recalculateLastPosition=function(){if(this._lastConnectedPosition){var t=this._origin.getBoundingClientRect(),e=this._pane.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._lastConnectedPosition||this._preferredPositions[0],i=this._getOriginConnectionPoint(t,r),o=this._getOverlayPoint(i,e,n,r);this._setElementPosition(this._pane,e,o,r)}},t.prototype.withScrollableContainers=function(t){this.scrollables=t},t.prototype.withFallbackPosition=function(t,e,n,r){var i=new y(t,e,n,r);return this._preferredPositions.push(i),this},t.prototype.withDirection=function(t){return this._dir=t,this},t.prototype.withOffsetX=function(t){return this._offsetX=t,this},t.prototype.withOffsetY=function(t){return this._offsetY=t,this},t.prototype.withLockedPosition=function(t){return this._positionLocked=t,this},t.prototype.withPositions=function(t){return this._preferredPositions=t.slice(),this},t.prototype.setOrigin=function(t){return this._origin=t.nativeElement,this},t.prototype._getStartX=function(t){return this._isRtl?t.right:t.left},t.prototype._getEndX=function(t){return this._isRtl?t.left:t.right},t.prototype._getOriginConnectionPoint=function(t,e){var n=this._getStartX(t),r=this._getEndX(t);return{x:"center"==e.originX?n+t.width/2:"start"==e.originX?n:r,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n,r){var i,o;i="center"==r.overlayX?-e.width/2:"start"===r.overlayX?this._isRtl?-e.width:0:this._isRtl?0:-e.width,o="center"==r.overlayY?-e.height/2:"top"==r.overlayY?0:-e.height;var a=void 0===r.offsetX?this._offsetX:r.offsetX,s=void 0===r.offsetY?this._offsetY:r.offsetY,l=t.x+i+a,c=t.y+o+s,u=0-l,p=l+e.width-n.width,d=0-c,h=c+e.height-n.height,f=this._subtractOverflows(e.width,u,p)*this._subtractOverflows(e.height,d,h);return{x:l,y:c,fitsInViewport:e.width*e.height===f,visibleArea:f}},t.prototype._getScrollVisibility=function(t){var e=this._origin.getBoundingClientRect(),n=t.getBoundingClientRect(),r=this.scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:S(e,r),isOriginOutsideView:x(e,r),isOverlayClipped:S(n,r),isOverlayOutsideView:x(n,r)}},t.prototype._setElementPosition=function(e,t,n,r){var i,o="bottom"===r.overlayY?"bottom":"top",a="top"===o?n.y:this._document.documentElement.clientHeight-(n.y+t.height),s="left"===(i="rtl"===this._dir?"end"===r.overlayX?"left":"right":"end"===r.overlayX?"right":"left")?n.x:this._document.documentElement.clientWidth-(n.x+t.width);["top","bottom","left","right"].forEach(function(t){return e.style[t]=null}),e.style[o]=a+"px",e.style[i]=s+"px";var l=this._getScrollVisibility(e),c=new b(r,l);this._onPositionChange.next(c)},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(t,e){return t-Math.max(e,0)},t)},t}(),D=function(){function t(t){this._document=t,this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height="",this._wrapper=null}return t.prototype.attach=function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height})},t.prototype.top=function(t){return void 0===t&&(t=""),this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this},t.prototype.left=function(t){return void 0===t&&(t=""),this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this},t.prototype.bottom=function(t){return void 0===t&&(t=""),this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this},t.prototype.right=function(t){return void 0===t&&(t=""),this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this},t.prototype.width=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this},t.prototype.height=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this},t.prototype.centerHorizontally=function(t){return void 0===t&&(t=""),this.left(t),this._justifyContent="center",this},t.prototype.centerVertically=function(t){return void 0===t&&(t=""),this.top(t),this._alignItems="center",this},t.prototype.apply=function(){if(this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement;!this._wrapper&&t.parentNode&&(this._wrapper=this._document.createElement("div"),this._wrapper.classList.add("cdk-global-overlay-wrapper"),t.parentNode.insertBefore(this._wrapper,t),this._wrapper.appendChild(t));var e=t.style,n=t.parentNode.style,r=this._overlayRef.getConfig();e.position=this._cssPosition,e.marginLeft="100%"===r.width?"0":this._leftOffset,e.marginTop="100%"===r.height?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,n.justifyContent="100%"===r.width?"flex-start":this._justifyContent,n.alignItems="100%"===r.height?"flex-start":this._alignItems}},t.prototype.dispose=function(){this._wrapper&&this._wrapper.parentNode&&(this._wrapper.parentNode.removeChild(this._wrapper),this._wrapper=null)},t}(),T=function(){function t(t,e){this._viewportRuler=t,this._document=e}return t.prototype.global=function(){return new D(this._document)},t.prototype.connectedTo=function(t,e,n){return new A(e,n,t,this._viewportRuler,this._document)},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:e.ViewportRuler},{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},t}(),M=function(){function t(t){this._document=t,this._attachedOverlays=[]}return t.prototype.ngOnDestroy=function(){this._unsubscribeFromKeydownEvents()},t.prototype.add=function(t){this._keydownEventSubscription||this._subscribeToKeydownEvents(),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);-1<e&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._unsubscribeFromKeydownEvents()},t.prototype._subscribeToKeydownEvents=function(){var e=this,t=u.fromEvent(this._document.body,"keydown",!0);this._keydownEventSubscription=t.pipe(c.filter(function(){return!!e._attachedOverlays.length})).subscribe(function(t){e._selectOverlayFromEvent(t)._keydownEvents.next(t)})},t.prototype._unsubscribeFromKeydownEvents=function(){this._keydownEventSubscription&&(this._keydownEventSubscription.unsubscribe(),this._keydownEventSubscription=null)},t.prototype._selectOverlayFromEvent=function(e){return this._attachedOverlays.find(function(t){return t.overlayElement===e.target||t.overlayElement.contains(e.target)})||this._attachedOverlays[this._attachedOverlays.length-1]},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},t}();function I(t,e){return t||new M(e)}var R={provide:M,deps:[[new o.Optional,new o.SkipSelf,M],n.DOCUMENT],useFactory:I},N=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},t}();function L(t,e){return t||new N(e)}var j={provide:N,deps:[[new o.Optional,new o.SkipSelf,N],n.DOCUMENT],useFactory:L},F=0,V=function(){function t(t,e,n,r,i,o,a,s,l){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._appRef=o,this._injector=a,this._ngZone=s,this._document=l}return t.prototype.create=function(t){var e=this._createPaneElement(),n=this._createPortalOutlet(e);return new O(n,e,new g(t),this._ngZone,this._keyboardDispatcher,this._document)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(){var t=this._document.createElement("div");return t.id="cdk-overlay-"+F++,t.classList.add("cdk-overlay-pane"),this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return new a.DomPortalOutlet(t,this._componentFactoryResolver,this._appRef,this._injector)},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:k},{type:N},{type:o.ComponentFactoryResolver},{type:T},{type:M},{type:o.ApplicationRef},{type:o.Injector},{type:o.NgZone},{type:void 0,decorators:[{type:o.Inject,args:[n.DOCUMENT]}]}]},t}(),B=[new y({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new y({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new y({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new y({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"})],U=new o.InjectionToken("cdk-connected-overlay-scroll-strategy");function H(t){return function(){return t.scrollStrategies.reposition()}}var z={provide:U,deps:[V],useFactory:H},G=function(){function t(t){this.elementRef=t}return t.decorators=[{type:o.Directive,args:[{selector:"[cdk-overlay-origin], [overlay-origin], [cdkOverlayOrigin]",exportAs:"cdkOverlayOrigin"}]}],t.ctorParameters=function(){return[{type:o.ElementRef}]},t}(),W=function(){function t(t,e,n,r,i){this._overlay=t,this._scrollStrategy=r,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._backdropSubscription=l.Subscription.EMPTY,this._offsetX=0,this._offsetY=0,this.scrollStrategy=this._scrollStrategy(),this.open=!1,this.backdropClick=new o.EventEmitter,this.positionChange=new o.EventEmitter,this.attach=new o.EventEmitter,this.detach=new o.EventEmitter,this._templatePortal=new a.TemplatePortal(e,n)}return Object.defineProperty(t.prototype,"offsetX",{get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._position.withOffsetX(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"offsetY",{get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._position.withOffsetY(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=p.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(t){this._lockPosition=p.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOrigin",{get:function(){return this.origin},set:function(t){this.origin=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedPositions",{get:function(){return this.positions},set:function(t){this.positions=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOffsetX",{get:function(){return this.offsetX},set:function(t){this.offsetX=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOffsetY",{get:function(){return this.offsetY},set:function(t){this.offsetY=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedWidth",{get:function(){return this.width},set:function(t){this.width=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedHeight",{get:function(){return this.height},set:function(t){this.height=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedMinWidth",{get:function(){return this.minWidth},set:function(t){this.minWidth=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedMinHeight",{get:function(){return this.minHeight},set:function(t){this.minHeight=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedBackdropClass",{get:function(){return this.backdropClass},set:function(t){this.backdropClass=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedScrollStrategy",{get:function(){return this.scrollStrategy},set:function(t){this.scrollStrategy=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedOpen",{get:function(){return this.open},set:function(t){this.open=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedHasBackdrop",{get:function(){return this.hasBackdrop},set:function(t){this.hasBackdrop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._destroyOverlay()},t.prototype.ngOnChanges=function(t){this._position&&((t.positions||t._deprecatedPositions)&&this._position.withPositions(this.positions),t.lockPosition&&this._position.withLockedPosition(this.lockPosition),(t.origin||t._deprecatedOrigin)&&(this._position.setOrigin(this.origin.elementRef),this.open&&this._position.apply())),(t.open||t._deprecatedOpen)&&(this.open?this._attachOverlay():this._detachOverlay())},t.prototype._createOverlay=function(){this.positions&&this.positions.length||(this.positions=B),this._overlayRef=this._overlay.create(this._buildConfig())},t.prototype._buildConfig=function(){var t=this._position=this._createPositionStrategy(),e=new g({positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),e},t.prototype._createPositionStrategy=function(){for(var e=this,t=this.positions[0],n={originX:t.originX,originY:t.originY},r={overlayX:t.overlayX,overlayY:t.overlayY},i=this._overlay.position().connectedTo(this.origin.elementRef,n,r).withOffsetX(this.offsetX).withOffsetY(this.offsetY).withLockedPosition(this.lockPosition),o=1;o<this.positions.length;o++)i.withFallbackPosition({originX:this.positions[o].originX,originY:this.positions[o].originY},{overlayX:this.positions[o].overlayX,overlayY:this.positions[o].overlayY});return i.onPositionChange.subscribe(function(t){return e.positionChange.emit(t)}),i},t.prototype._attachOverlay=function(){var e=this;this._overlayRef?this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}):(this._createOverlay(),this._overlayRef.keydownEvents().subscribe(function(t){t.keyCode===d.ESCAPE&&e._detachOverlay()})),this._position.withDirection(this.dir),this._overlayRef.setDirection(this.dir),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop&&(this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(t){e.backdropClick.emit(t)}))},t.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},t.prototype._destroyOverlay=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},t.decorators=[{type:o.Directive,args:[{selector:"[cdk-connected-overlay], [connected-overlay], [cdkConnectedOverlay]",exportAs:"cdkConnectedOverlay"}]}],t.ctorParameters=function(){return[{type:V},{type:o.TemplateRef},{type:o.ViewContainerRef},{type:void 0,decorators:[{type:o.Inject,args:[U]}]},{type:r.Directionality,decorators:[{type:o.Optional}]}]},t.propDecorators={origin:[{type:o.Input,args:["cdkConnectedOverlayOrigin"]}],positions:[{type:o.Input,args:["cdkConnectedOverlayPositions"]}],offsetX:[{type:o.Input,args:["cdkConnectedOverlayOffsetX"]}],offsetY:[{type:o.Input,args:["cdkConnectedOverlayOffsetY"]}],width:[{type:o.Input,args:["cdkConnectedOverlayWidth"]}],height:[{type:o.Input,args:["cdkConnectedOverlayHeight"]}],minWidth:[{type:o.Input,args:["cdkConnectedOverlayMinWidth"]}],minHeight:[{type:o.Input,args:["cdkConnectedOverlayMinHeight"]}],backdropClass:[{type:o.Input,args:["cdkConnectedOverlayBackdropClass"]}],scrollStrategy:[{type:o.Input,args:["cdkConnectedOverlayScrollStrategy"]}],open:[{type:o.Input,args:["cdkConnectedOverlayOpen"]}],hasBackdrop:[{type:o.Input,args:["cdkConnectedOverlayHasBackdrop"]}],lockPosition:[{type:o.Input,args:["cdkConnectedOverlayLockPosition"]}],_deprecatedOrigin:[{type:o.Input,args:["origin"]}],_deprecatedPositions:[{type:o.Input,args:["positions"]}],_deprecatedOffsetX:[{type:o.Input,args:["offsetX"]}],_deprecatedOffsetY:[{type:o.Input,args:["offsetY"]}],_deprecatedWidth:[{type:o.Input,args:["width"]}],_deprecatedHeight:[{type:o.Input,args:["height"]}],_deprecatedMinWidth:[{type:o.Input,args:["minWidth"]}],_deprecatedMinHeight:[{type:o.Input,args:["minHeight"]}],_deprecatedBackdropClass:[{type:o.Input,args:["backdropClass"]}],_deprecatedScrollStrategy:[{type:o.Input,args:["scrollStrategy"]}],_deprecatedOpen:[{type:o.Input,args:["open"]}],_deprecatedHasBackdrop:[{type:o.Input,args:["hasBackdrop"]}],backdropClick:[{type:o.Output}],positionChange:[{type:o.Output}],attach:[{type:o.Output}],detach:[{type:o.Output}]},t}(),q=[V,T,R,e.VIEWPORT_RULER_PROVIDER,j,z],Y=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{imports:[r.BidiModule,a.PortalModule,e.ScrollDispatchModule],exports:[W,G,e.ScrollDispatchModule],declarations:[W,G],providers:[q,k]}]}],t.ctorParameters=function(){return[]},t}(),$=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(t,e){function n(){this.constructor=t}h(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(t,e),t.prototype._createContainer=function(){var t=this;e.prototype._createContainer.call(this),this._adjustParentForFullscreenChange(),this._addFullscreenChangeListener(function(){return t._adjustParentForFullscreenChange()})},t.prototype._adjustParentForFullscreenChange=function(){this._containerElement&&(this.getFullscreenElement()||document.body).appendChild(this._containerElement)},t.prototype._addFullscreenChangeListener=function(t){document.fullscreenEnabled?document.addEventListener("fullscreenchange",t):document.webkitFullscreenEnabled?document.addEventListener("webkitfullscreenchange",t):document.mozFullScreenEnabled?document.addEventListener("mozfullscreenchange",t):document.msFullscreenEnabled&&document.addEventListener("MSFullscreenChange",t)},t.prototype.getFullscreenElement=function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||null},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[]},t}(N);t.Overlay=V,t.OverlayContainer=N,t.CdkOverlayOrigin=G,t.CdkConnectedOverlay=W,t.FullscreenOverlayContainer=$,t.OverlayRef=O,t.ViewportRuler=e.ViewportRuler,t.OverlayKeyboardDispatcher=M,t.OverlayPositionBuilder=T,t.GlobalPositionStrategy=D,t.ConnectedPositionStrategy=A,t.VIEWPORT_RULER_PROVIDER=e.VIEWPORT_RULER_PROVIDER,t.ConnectedOverlayDirective=W,t.OverlayOrigin=G,t.OverlayConfig=g,t.ConnectionPositionPair=y,t.ScrollingVisibility=v,t.ConnectedOverlayPositionChange=b,t.CdkScrollable=e.CdkScrollable,t.ScrollDispatcher=e.ScrollDispatcher,t.ScrollStrategyOptions=k,t.RepositionScrollStrategy=E,t.CloseScrollStrategy=w,t.NoopScrollStrategy=m,t.BlockScrollStrategy=C,t.OVERLAY_PROVIDERS=q,t.OverlayModule=Y,t.ɵg=R,t.ɵf=I,t.ɵb=j,t.ɵa=L,t.ɵc=U,t.ɵe=z,t.ɵd=H,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/scrolling"),t("@angular/common"),t("@angular/cdk/bidi"),t("@angular/cdk/portal"),t("rxjs/operators/take"),t("rxjs/Subject"),t("rxjs/Subscription"),t("rxjs/operators/filter"),t("rxjs/observable/fromEvent"),t("@angular/cdk/coercion"),t("@angular/cdk/keycodes")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.overlay=r.ng.cdk.overlay||{}),r.ng.core,r.ng.cdk.scrolling,r.ng.common,r.ng.cdk.bidi,r.ng.cdk.portal,r.Rx.operators,r.Rx,r.Rx,r.Rx.operators,r.Rx.Observable,r.ng.cdk.coercion,r.ng.cdk.keycodes)},{"@angular/cdk/bidi":49,"@angular/cdk/coercion":50,"@angular/cdk/keycodes":52,"@angular/cdk/portal":57,"@angular/cdk/scrolling":58,"@angular/common":62,"@angular/core":64,"rxjs/Subject":79,"rxjs/Subscription":82,"rxjs/observable/fromEvent":103,"rxjs/operators/filter":132,"rxjs/operators/take":147}],56:[function(t,e,n){var r,i;r=this,i=function(t,e){"use strict";var n,r,i="undefined"!=typeof Intl&&Intl.v8BreakIterator,o=function(){function t(){this.isBrowser="object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!i)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[]},t}();var a=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];var s=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{providers:[o]}]}],t.ctorParameters=function(){return[]},t}();t.Platform=o,t.supportsPassiveEventListeners=function(){if(null==n&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return n=!0}}))}finally{n=n||!1}return n},t.getSupportedInputTypes=function(){if(r)return r;if("object"!=typeof document||!document)return r=new Set(a);var e=document.createElement("input");return r=new Set(a.filter(function(t){return e.setAttribute("type",t),e.type===t}))},t.PlatformModule=s,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.platform=r.ng.cdk.platform||{}),r.ng.core)},{"@angular/core":64}],57:[function(t,e,n){var r,i;r=this,i=function(t,r){"use strict";var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function e(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function n(){throw Error("Host already has a portal attached")}var o=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&n(),(this._attachedHost=t).attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),a=function(i){function t(t,e,n){var r=i.call(this)||this;return r.component=t,r.viewContainerRef=e,r.injector=n,r}return e(t,i),t}(o),s=function(i){function t(t,e,n){var r=i.call(this)||this;return r.templateRef=t,r.viewContainerRef=e,r.context=n,r}return e(t,i),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,e){return void 0===e&&(e=this.context),this.context=e,i.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,i.prototype.detach.call(this)},t}(o),l=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&n(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof s?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),c=function(o){function t(t,e,n,r){var i=o.call(this)||this;return i.outletElement=t,i._componentFactoryResolver=e,i._appRef=n,i._defaultInjector=r,i}return e(t,o),t.prototype.attachComponentPortal=function(t){var e,n=this,r=this._componentFactoryResolver.resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.parentInjector),this.setDisposeFn(function(){return e.destroy()})):(e=r.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},t.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(r);-1!==t&&n.remove(t)}),r},t.prototype.dispose=function(){o.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},t}(l),u=function(n){function t(t,e){return n.call(this,t,e)||this}return e(t,n),t.decorators=[{type:r.Directive,args:[{selector:"[cdk-portal], [cdkPortal], [portal]",exportAs:"cdkPortal"}]}],t.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.ViewContainerRef}]},t}(s),p=function(i){function t(t,e){var n=i.call(this)||this;return n._componentFactoryResolver=t,n._viewContainerRef=e,n._isInitialized=!1,n.attached=new r.EventEmitter,n}return e(t,i),Object.defineProperty(t.prototype,"_deprecatedPortal",{get:function(){return this.portal},set:function(t){this.portal=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_deprecatedPortalHost",{get:function(){return this.portal},set:function(t){this.portal=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&i.prototype.detach.call(this),t&&i.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){i.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,n=this._componentFactoryResolver.resolveComponentFactory(t.component),r=e.createComponent(n,e.length,t.injector||e.parentInjector);return i.prototype.setDisposeFn.call(this,function(){return r.destroy()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t.prototype.attachTemplatePortal=function(t){var e=this;t.setAttachedHost(this);var n=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return i.prototype.setDisposeFn.call(this,function(){return e._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n},t.decorators=[{type:r.Directive,args:[{selector:"[cdkPortalOutlet], [cdkPortalHost], [portalHost]",exportAs:"cdkPortalOutlet, cdkPortalHost",inputs:["portal: cdkPortalOutlet"]}]}],t.ctorParameters=function(){return[{type:r.ComponentFactoryResolver},{type:r.ViewContainerRef}]},t.propDecorators={_deprecatedPortal:[{type:r.Input,args:["portalHost"]}],_deprecatedPortalHost:[{type:r.Input,args:["cdkPortalHost"]}],attached:[{type:r.Output,args:["attached"]}]},t}(l),d=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{exports:[u,p],declarations:[u,p]}]}],t.ctorParameters=function(){return[]},t}(),h=function(){function t(t,e){this._parentInjector=t,this._customTokens=e}return t.prototype.get=function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)},t}();t.DomPortalHost=c,t.PortalHostDirective=p,t.TemplatePortalDirective=u,t.BasePortalHost=l,t.Portal=o,t.ComponentPortal=a,t.TemplatePortal=s,t.BasePortalOutlet=l,t.DomPortalOutlet=c,t.CdkPortal=u,t.CdkPortalOutlet=p,t.PortalModule=d,t.PortalInjector=h,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.portal=r.ng.cdk.portal||{}),r.ng.core)},{"@angular/core":64}],58:[function(t,e,n){var r,i;r=this,i=function(t,e,n,i,o,a,r,s,l,c){"use strict";var u=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new i.Subject,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(n){var r=this;return void 0===n&&(n=20),this._platform.isBrowser?o.Observable.create(function(t){r._globalSubscription||r._addGlobalListener();var e=0<n?r._scrolled.pipe(s.auditTime(n)).subscribe(t):r._scrolled.subscribe(t);return r._scrolledCount++,function(){e.unsubscribe(),r._scrolledCount--,r._scrolledCount||r._removeGlobalListener()}}):a.of()},t.prototype.ngOnDestroy=function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,e){return n.deregister(e)})},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(l.filter(function(t){return!t||-1<n.indexOf(t)}))},t.prototype.getAncestorScrollContainers=function(n){var r=this,i=[];return this.scrollContainers.forEach(function(t,e){r._scrollableContainsElement(e,n)&&i.push(e)}),i},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return r.fromEvent(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:e.NgZone},{type:n.Platform}]},t}();function p(t,e,n){return t||new u(e,n)}var d={provide:u,deps:[[new e.Optional,new e.SkipSelf,u],e.NgZone,n.Platform],useFactory:p},h=function(){function t(t,e,n){var r=this;this._elementRef=t,this._scroll=e,this._ngZone=n,this._elementScrolled=new i.Subject,this._scrollListener=function(t){return r._elementScrolled.next(t)}}return t.prototype.ngOnInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){t.getElementRef().nativeElement.addEventListener("scroll",t._scrollListener)}),this._scroll.register(this)},t.prototype.ngOnDestroy=function(){this._scroll.deregister(this),this._scrollListener&&this.getElementRef().nativeElement.removeEventListener("scroll",this._scrollListener)},t.prototype.elementScrolled=function(){return this._elementScrolled.asObservable()},t.prototype.getElementRef=function(){return this._elementRef},t.decorators=[{type:e.Directive,args:[{selector:"[cdk-scrollable], [cdkScrollable]"}]}],t.ctorParameters=function(){return[{type:e.ElementRef},{type:u},{type:e.NgZone}]},t}(),f=function(){function t(t,e){var n=this;this._platform=t,this._change=t.isBrowser?e.runOutsideAngular(function(){return c.merge(r.fromEvent(window,"resize"),r.fromEvent(window,"orientationchange"))}):a.of(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),0<t?this._change.pipe(s.auditTime(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.decorators=[{type:e.Injectable}],t.ctorParameters=function(){return[{type:n.Platform},{type:e.NgZone}]},t}();function m(t,e,n){return t||new f(e,n)}var g={provide:f,deps:[[new e.Optional,new e.SkipSelf,f],n.Platform,e.NgZone],useFactory:m},y=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{imports:[n.PlatformModule],exports:[h],declarations:[h],providers:[d]}]}],t.ctorParameters=function(){return[]},t}();t.DEFAULT_SCROLL_TIME=20,t.ScrollDispatcher=u,t.SCROLL_DISPATCHER_PROVIDER_FACTORY=p,t.SCROLL_DISPATCHER_PROVIDER=d,t.CdkScrollable=h,t.DEFAULT_RESIZE_TIME=20,t.ViewportRuler=f,t.VIEWPORT_RULER_PROVIDER_FACTORY=m,t.VIEWPORT_RULER_PROVIDER=g,t.ScrollDispatchModule=y,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/platform"),t("rxjs/Subject"),t("rxjs/Observable"),t("rxjs/observable/of"),t("rxjs/observable/fromEvent"),t("rxjs/operators/auditTime"),t("rxjs/operators/filter"),t("rxjs/observable/merge")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.scrolling=r.ng.cdk.scrolling||{}),r.ng.core,r.ng.cdk.platform,r.Rx,r.Rx,r.Rx.Observable,r.Rx.Observable,r.Rx.operators,r.Rx.operators,r.Rx.Observable)},{"@angular/cdk/platform":56,"@angular/core":64,"rxjs/Observable":75,"rxjs/Subject":79,"rxjs/observable/fromEvent":103,"rxjs/observable/merge":106,"rxjs/observable/of":107,"rxjs/operators/auditTime":123,"rxjs/operators/filter":132}],59:[function(t,e,n){var r,i;r=this,i=function(t,n,r,e,i,o,a,s){"use strict";var l=function(){function t(t){this.template=t}return t.decorators=[{type:n.Directive,args:[{selector:"[cdkStepLabel]"}]}],t.ctorParameters=function(){return[{type:n.TemplateRef}]},t}(),c=0,u=function(){},p=function(){function t(t){this._stepper=t,this.interacted=!1,this._editable=!0,this._optional=!1,this._customCompleted=null}return Object.defineProperty(t.prototype,"editable",{get:function(){return this._editable},set:function(t){this._editable=e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"optional",{get:function(){return this._optional},set:function(t){this._optional=e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"completed",{get:function(){return null==this._customCompleted?this._defaultCompleted:this._customCompleted},set:function(t){this._customCompleted=e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_defaultCompleted",{get:function(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted},enumerable:!0,configurable:!0}),t.prototype.select=function(){this._stepper.selected=this},t.prototype.reset=function(){this.interacted=!1,null!=this._customCompleted&&(this._customCompleted=!1),this.stepControl&&this.stepControl.reset()},t.prototype.ngOnChanges=function(){this._stepper._stateChanged()},t.decorators=[{type:n.Component,args:[{selector:"cdk-step",exportAs:"cdkStep",template:"<ng-template><ng-content></ng-content></ng-template>",encapsulation:n.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:n.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:d,decorators:[{type:n.Inject,args:[n.forwardRef(function(){return d})]}]}]},t.propDecorators={stepLabel:[{type:n.ContentChild,args:[l]}],content:[{type:n.ViewChild,args:[n.TemplateRef]}],stepControl:[{type:n.Input}],label:[{type:n.Input}],editable:[{type:n.Input}],optional:[{type:n.Input}],completed:[{type:n.Input}]},t}(),d=function(){function t(t,e){this._dir=t,this._changeDetectorRef=e,this._destroyed=new a.Subject,this._linear=!1,this._selectedIndex=0,this.selectionChange=new n.EventEmitter,this._focusIndex=0,this._orientation="horizontal",this._groupId=c++}return Object.defineProperty(t.prototype,"linear",{get:function(){return this._linear},set:function(t){this._linear=e.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){if(this._steps){if(t<0||t>this._steps.length-1)throw Error("cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.");this._anyControlsInvalidOrPending(t)||t<this._selectedIndex&&!this._steps.toArray()[t].editable?this._stepHeader.toArray()[t].nativeElement.blur():this._selectedIndex!=t&&(this._emitStepperSelectionEvent(t),this._focusIndex=this._selectedIndex)}else this._selectedIndex=this._focusIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._steps.toArray()[this.selectedIndex]},set:function(t){this.selectedIndex=this._steps.toArray().indexOf(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype.next=function(){this.selectedIndex=Math.min(this._selectedIndex+1,this._steps.length-1)},t.prototype.previous=function(){this.selectedIndex=Math.max(this._selectedIndex-1,0)},t.prototype.reset=function(){this.selectedIndex=0,this._steps.forEach(function(t){return t.reset()}),this._stateChanged()},t.prototype._getStepLabelId=function(t){return"cdk-step-label-"+this._groupId+"-"+t},t.prototype._getStepContentId=function(t){return"cdk-step-content-"+this._groupId+"-"+t},t.prototype._stateChanged=function(){this._changeDetectorRef.markForCheck()},t.prototype._getAnimationDirection=function(t){var e=t-this._selectedIndex;return e<0?"rtl"===this._layoutDirection()?"next":"previous":0<e?"rtl"===this._layoutDirection()?"previous":"next":"current"},t.prototype._getIndicatorType=function(t){var e=this._steps.toArray()[t];return e.completed&&this._selectedIndex!=t?e.editable?"edit":"done":"number"},t.prototype._emitStepperSelectionEvent=function(t){var e=this._steps.toArray();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:this._selectedIndex,selectedStep:e[t],previouslySelectedStep:e[this._selectedIndex]}),this._selectedIndex=t,this._stateChanged()},t.prototype._onKeydown=function(t){var e=t.keyCode;e===r.RIGHT_ARROW&&("rtl"===this._layoutDirection()?this._focusPreviousStep():this._focusNextStep(),t.preventDefault()),e===r.LEFT_ARROW&&("rtl"===this._layoutDirection()?this._focusNextStep():this._focusPreviousStep(),t.preventDefault()),"vertical"!==this._orientation||e!==r.UP_ARROW&&e!==r.DOWN_ARROW||(e===r.UP_ARROW?this._focusPreviousStep():this._focusNextStep(),t.preventDefault()),e!==r.SPACE&&e!==r.ENTER||(this.selectedIndex=this._focusIndex,t.preventDefault()),e===r.HOME&&(this._focusStep(0),t.preventDefault()),e===r.END&&(this._focusStep(this._steps.length-1),t.preventDefault())},t.prototype._focusNextStep=function(){this._focusStep((this._focusIndex+1)%this._steps.length)},t.prototype._focusPreviousStep=function(){this._focusStep((this._focusIndex+this._steps.length-1)%this._steps.length)},t.prototype._focusStep=function(t){this._focusIndex=t,this._stepHeader.toArray()[this._focusIndex].nativeElement.focus()},t.prototype._anyControlsInvalidOrPending=function(t){var e=this._steps.toArray();return e[this._selectedIndex].interacted=!0,!!(this._linear&&0<=t)&&e.slice(0,t).some(function(t){var e=t.stepControl;return(e?e.invalid||e.pending||!t.interacted:!t.completed)&&!t.optional})},t.prototype._layoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.decorators=[{type:n.Directive,args:[{selector:"[cdkStepper]",exportAs:"cdkStepper"}]}],t.ctorParameters=function(){return[{type:o.Directionality,decorators:[{type:n.Optional}]},{type:n.ChangeDetectorRef}]},t.propDecorators={_steps:[{type:n.ContentChildren,args:[p]}],linear:[{type:n.Input}],selectedIndex:[{type:n.Input}],selected:[{type:n.Input}],selectionChange:[{type:n.Output}]},t}(),h=function(){function t(t){this._stepper=t,this.type="submit"}return t.decorators=[{type:n.Directive,args:[{selector:"button[cdkStepperNext]",host:{"(click)":"_stepper.next()","[type]":"type"}}]}],t.ctorParameters=function(){return[{type:d}]},t.propDecorators={type:[{type:n.Input}]},t}(),f=function(){function t(t){this._stepper=t,this.type="button"}return t.decorators=[{type:n.Directive,args:[{selector:"button[cdkStepperPrevious]",host:{"(click)":"_stepper.previous()","[type]":"type"}}]}],t.ctorParameters=function(){return[{type:d}]},t.propDecorators={type:[{type:n.Input}]},t}(),m=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{imports:[o.BidiModule,s.CommonModule],exports:[p,d,l,h,f],declarations:[p,d,l,h,f]}]}],t.ctorParameters=function(){return[]},t}();t.StepperSelectionEvent=u,t.CdkStep=p,t.CdkStepper=d,t.CdkStepLabel=l,t.CdkStepperNext=h,t.CdkStepperPrevious=f,t.CdkStepperModule=m,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/keycodes"),t("@angular/cdk/coercion"),t("@angular/forms"),t("@angular/cdk/bidi"),t("rxjs/Subject"),t("@angular/common")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.stepper=r.ng.cdk.stepper||{}),r.ng.core,r.ng.cdk.keycodes,r.ng.cdk.coercion,r.ng.forms,r.ng.cdk.bidi,r.Rx,r.ng.common)},{"@angular/cdk/bidi":49,"@angular/cdk/coercion":50,"@angular/cdk/keycodes":52,"@angular/common":62,"@angular/core":64,"@angular/forms":65,"rxjs/Subject":79}],60:[function(t,e,n){var r,i;r=this,i=function(t,r,e,n,i,o,a,s,l){"use strict";var c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function u(t,e){function n(){this.constructor=t}c(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var p="<ng-container cdkCellOutlet></ng-container>",d=function(){function t(t,e){this.template=t,this._differs=e}return t.prototype.ngOnChanges=function(t){var e=t.columns.currentValue||[];this._columnsDiffer||(this._columnsDiffer=this._differs.find(e).create(),this._columnsDiffer.diff(e))},t.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},t}(),h=function(n){function t(t,e){return n.call(this,t,e)||this}return u(t,n),t.decorators=[{type:r.Directive,args:[{selector:"[cdkHeaderRowDef]",inputs:["columns: cdkHeaderRowDef"]}]}],t.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.IterableDiffers}]},t}(d),f=function(n){function t(t,e){return n.call(this,t,e)||this}return u(t,n),t.decorators=[{type:r.Directive,args:[{selector:"[cdkRowDef]",inputs:["columns: cdkRowDefColumns","when: cdkRowDefWhen"]}]}],t.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.IterableDiffers}]},t}(d),m=function(){function e(t){this._viewContainer=t,e.mostRecentCellOutlet=this}return e.mostRecentCellOutlet=null,e.decorators=[{type:r.Directive,args:[{selector:"[cdkCellOutlet]"}]}],e.ctorParameters=function(){return[{type:r.ViewContainerRef}]},e}(),g=function(){function t(){}return t.decorators=[{type:r.Component,args:[{selector:"cdk-header-row",template:p,host:{class:"cdk-header-row",role:"row"},changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[]},t}(),y=function(){function t(){}return t.decorators=[{type:r.Component,args:[{selector:"cdk-row",template:p,host:{class:"cdk-row",role:"row"},changeDetection:r.ChangeDetectionStrategy.OnPush,encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[]},t}(),v=function(){function t(t){this.template=t}return t.decorators=[{type:r.Directive,args:[{selector:"[cdkCellDef]"}]}],t.ctorParameters=function(){return[{type:r.TemplateRef}]},t}(),b=function(){function t(t){this.template=t}return t.decorators=[{type:r.Directive,args:[{selector:"[cdkHeaderCellDef]"}]}],t.ctorParameters=function(){return[{type:r.TemplateRef}]},t}(),_=function(){function t(){}return Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),t.decorators=[{type:r.Directive,args:[{selector:"[cdkColumnDef]"}]}],t.ctorParameters=function(){return[]},t.propDecorators={name:[{type:r.Input,args:["cdkColumnDef"]}],cell:[{type:r.ContentChild,args:[v]}],headerCell:[{type:r.ContentChild,args:[b]}]},t}(),w=function(){function t(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}return t.decorators=[{type:r.Directive,args:[{selector:"cdk-header-cell",host:{class:"cdk-header-cell",role:"columnheader"}}]}],t.ctorParameters=function(){return[{type:_},{type:r.ElementRef}]},t}(),C=function(){function t(t,e){e.nativeElement.classList.add("cdk-column-"+t.cssClassFriendlyName)}return t.decorators=[{type:r.Directive,args:[{selector:"cdk-cell",host:{class:"cdk-cell",role:"gridcell"}}]}],t.ctorParameters=function(){return[{type:_},{type:r.ElementRef}]},t}();function x(t){return Error('Could not find column with id "'+t+'".')}var S=function(){function t(t){this.viewContainer=t}return t.decorators=[{type:r.Directive,args:[{selector:"[rowPlaceholder]"}]}],t.ctorParameters=function(){return[{type:r.ViewContainerRef}]},t}(),E=function(){function t(t){this.viewContainer=t}return t.decorators=[{type:r.Directive,args:[{selector:"[headerRowPlaceholder]"}]}],t.ctorParameters=function(){return[{type:r.ViewContainerRef}]},t}(),k="\n <ng-container headerRowPlaceholder></ng-container>\n <ng-container rowPlaceholder></ng-container>",O=(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}u(e,t)}(r.EmbeddedViewRef),function(){function t(t,e,n,r){this._differs=t,this._changeDetectorRef=e,this._onDestroy=new o.Subject,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._headerRowDefChanged=!1,this.viewChange=new i.BehaviorSubject({start:0,end:Number.MAX_VALUE}),r||n.nativeElement.setAttribute("role","grid")}return Object.defineProperty(t.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(t){r.isDevMode()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+"."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._dataDiffer=this._differs.find([]).create(this._trackByFn),this._headerRowDef&&(this._headerRowDefChanged=!0)},t.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDef&&!this._rowDefs.length)throw Error("Missing definitions for header and row, cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._renderHeaderRow(),this._headerRowDefChanged=!1),this.dataSource&&0<this._rowDefs.length&&!this._renderChangeSubscription&&this._observeRenderChanges()},t.prototype.ngOnDestroy=function(){this._rowPlaceholder.viewContainer.clear(),this._headerRowPlaceholder.viewContainer.clear(),this._onDestroy.next(),this._onDestroy.complete(),this.dataSource instanceof e.DataSource&&this.dataSource.disconnect(this)},t.prototype.renderRows=function(){var i=this,t=this._dataDiffer.diff(this._data);if(t){var o=this._rowPlaceholder.viewContainer;t.forEachOperation(function(t,e,n){if(null==t.previousIndex)i._insertRow(t.item,n);else if(null==n)o.remove(e);else{var r=o.get(e);o.move(r,n)}}),this._updateRowIndexContext(),t.forEachIdentityChange(function(t){o.get(t.currentIndex).context.$implicit=t.item})}},t.prototype.setHeaderRowDef=function(t){this._headerRowDef=t,this._headerRowDefChanged=!0},t.prototype.addColumnDef=function(t){this._customColumnDefs.add(t)},t.prototype.removeColumnDef=function(t){this._customColumnDefs.delete(t)},t.prototype.addRowDef=function(t){this._customRowDefs.add(t)},t.prototype.removeRowDef=function(t){this._customRowDefs.delete(t)},t.prototype._cacheColumnDefs=function(){var n=this;this._columnDefsByName.clear();var e=this._contentColumnDefs?this._contentColumnDefs.toArray():[];this._customColumnDefs.forEach(function(t){return e.push(t)}),e.forEach(function(t){if(n._columnDefsByName.has(t.name))throw e=t.name,Error('Duplicate column definition name provided: "'+e+'".');var e;n._columnDefsByName.set(t.name,t)})},t.prototype._cacheRowDefs=function(){var e=this;this._rowDefs=this._contentRowDefs?this._contentRowDefs.toArray():[],this._customRowDefs.forEach(function(t){return e._rowDefs.push(t)});var t=this._rowDefs.filter(function(t){return!t.when});if(1<t.length)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]},t.prototype._renderUpdatedColumns=function(){var e=this;this._rowDefs.forEach(function(t){t.getColumnsDiff()&&(e._dataDiffer.diff([]),e._rowPlaceholder.viewContainer.clear(),e.renderRows())}),this._headerRowDef&&this._headerRowDef.getColumnsDiff()&&this._renderHeaderRow()},t.prototype._switchDataSource=function(t){this._data=[],this.dataSource instanceof e.DataSource&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowPlaceholder.viewContainer.clear()),this._dataSource=t},t.prototype._observeRenderChanges=function(){var e=this;if(this.dataSource){var t;if(this.dataSource.connect instanceof Function?t=this.dataSource.connect(this):this.dataSource instanceof a.Observable?t=this.dataSource:Array.isArray(this.dataSource)&&(t=s.of(this.dataSource)),void 0===t)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=t.pipe(n.takeUntil(this._onDestroy)).subscribe(function(t){e._data=t,e.renderRows()})}},t.prototype._renderHeaderRow=function(){0<this._headerRowPlaceholder.viewContainer.length&&this._headerRowPlaceholder.viewContainer.clear();var t=this._getHeaderCellTemplatesForRow(this._headerRowDef);t.length&&(this._headerRowPlaceholder.viewContainer.createEmbeddedView(this._headerRowDef.template,{cells:t}),t.forEach(function(t){m.mostRecentCellOutlet&&m.mostRecentCellOutlet._viewContainer.createEmbeddedView(t.template,{})}),this._changeDetectorRef.markForCheck())},t.prototype._getRowDef=function(e,n){if(1==this._rowDefs.length)return this._rowDefs[0];var t=this._rowDefs.find(function(t){return t.when&&t.when(n,e)})||this._defaultRowDef;if(!t)throw Error("Could not find a matching row definition for the provided row data.");return t},t.prototype._insertRow=function(t,e){var n=this._getRowDef(t,e),r={$implicit:t};this._rowPlaceholder.viewContainer.createEmbeddedView(n.template,r,e),this._getCellTemplatesForRow(n).forEach(function(t){m.mostRecentCellOutlet&&m.mostRecentCellOutlet._viewContainer.createEmbeddedView(t.template,r)}),this._changeDetectorRef.markForCheck()},t.prototype._updateRowIndexContext=function(){for(var t=this._rowPlaceholder.viewContainer,e=0,n=t.length;e<n;e++){var r=t.get(e);r.context.index=e,r.context.count=n,r.context.first=0===e,r.context.last=e===n-1,r.context.even=e%2==0,r.context.odd=!r.context.even}},t.prototype._getHeaderCellTemplatesForRow=function(t){var n=this;return t&&t.columns?t.columns.map(function(t){var e=n._columnDefsByName.get(t);if(!e)throw x(t);return e.headerCell}):[]},t.prototype._getCellTemplatesForRow=function(t){var n=this;return t.columns?t.columns.map(function(t){var e=n._columnDefsByName.get(t);if(!e)throw x(t);return e.cell}):[]},t.decorators=[{type:r.Component,args:[{selector:"cdk-table",exportAs:"cdkTable",template:k,host:{class:"cdk-table"},encapsulation:r.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:r.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:r.IterableDiffers},{type:r.ChangeDetectorRef},{type:r.ElementRef},{type:void 0,decorators:[{type:r.Attribute,args:["role"]}]}]},t.propDecorators={trackBy:[{type:r.Input}],dataSource:[{type:r.Input}],_rowPlaceholder:[{type:r.ViewChild,args:[S]}],_headerRowPlaceholder:[{type:r.ViewChild,args:[E]}],_contentColumnDefs:[{type:r.ContentChildren,args:[_]}],_contentRowDefs:[{type:r.ContentChildren,args:[f]}],_headerRowDef:[{type:r.ContentChild,args:[h]}]},t}()),P=[O,f,v,m,b,_,C,y,w,g,h,S,E],A=function(){function t(){}return t.decorators=[{type:r.NgModule,args:[{imports:[l.CommonModule],exports:[P],declarations:[P]}]}],t.ctorParameters=function(){return[]},t}();t.DataSource=e.DataSource,t.RowPlaceholder=S,t.HeaderRowPlaceholder=E,t.CDK_TABLE_TEMPLATE=k,t.CdkTable=O,t.CdkCellDef=v,t.CdkHeaderCellDef=b,t.CdkColumnDef=_,t.CdkHeaderCell=w,t.CdkCell=C,t.CDK_ROW_TEMPLATE=p,t.BaseRowDef=d,t.CdkHeaderRowDef=h,t.CdkRowDef=f,t.CdkCellOutlet=m,t.CdkHeaderRow=g,t.CdkRow=y,t.CdkTableModule=A,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/collections"),t("rxjs/operators/takeUntil"),t("rxjs/BehaviorSubject"),t("rxjs/Subject"),t("rxjs/Observable"),t("rxjs/observable/of"),t("@angular/common")):i((r.ng=r.ng||{},r.ng.cdk=r.ng.cdk||{},r.ng.cdk.table=r.ng.cdk.table||{}),r.ng.core,r.ng.cdk.collections,r.Rx.operators,r.Rx,r.Rx,r.Rx,r.Rx.Observable,r.ng.common)},{"@angular/cdk/collections":51,"@angular/common":62,"@angular/core":64,"rxjs/BehaviorSubject":72,"rxjs/Observable":75,"rxjs/Subject":79,"rxjs/observable/of":107,"rxjs/operators/takeUntil":149}],61:[function(t,e,n){var r,i;r=this,i=function(t,n,c,u,p,d,r,e,i){"use strict";var o=function(){},a=function(){},f=function(){function n(r){var o=this;this.normalizedNames=new Map,this.lazyUpdate=null,r?this.lazyInit="string"==typeof r?function(){o.headers=new Map,r.split("\n").forEach(function(t){var e=t.indexOf(":");if(0<e){var n=t.slice(0,e),r=n.toLowerCase(),i=t.slice(e+1).trim();o.maybeSetNormalizedName(n,r),o.headers.has(r)?o.headers.get(r).push(i):o.headers.set(r,[i])}})}:function(){o.headers=new Map,Object.keys(r).forEach(function(t){var e=r[t],n=t.toLowerCase();"string"==typeof e&&(e=[e]),0<e.length&&(o.headers.set(n,e),o.maybeSetNormalizedName(t,n))})}:this.headers=new Map}return n.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},n.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&0<e.length?e[0]:null},n.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},n.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},n.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},n.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},n.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},n.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},n.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},n.prototype.copyFrom=function(e){var n=this;e.init(),Array.from(e.headers.keys()).forEach(function(t){n.headers.set(t,e.headers.get(t)),n.normalizedNames.set(t,e.normalizedNames.get(t))})},n.prototype.clone=function(t){var e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([t]),e},n.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},n.prototype.forEach=function(e){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(t){return e(n.normalizedNames.get(t),n.headers.get(t))})},n}(),l=function(){function t(){}return t.prototype.encodeKey=function(t){return s(t)},t.prototype.encodeValue=function(t){return s(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function s(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var h=function(){function n(n){void 0===n&&(n={});var t,a,s,r=this;if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new l,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=n.fromString,a=this.encoder,s=new Map,0<t.length&&t.split("&").forEach(function(t){var e=t.indexOf("="),n=-1==e?[a.decodeKey(t),""]:[a.decodeKey(t.slice(0,e)),a.decodeValue(t.slice(e+1))],r=n[0],i=n[1],o=s.get(r)||[];o.push(i),s.set(r,o)}),s)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(t){var e=n.fromObject[t];r.map.set(t,Array.isArray(e)?e:[e])})):this.map=null}return n.prototype.has=function(t){return this.init(),this.map.has(t)},n.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},n.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},n.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},n.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},n.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},n.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},n.prototype.toString=function(){var n=this;return this.init(),this.keys().map(function(t){var e=n.encoder.encodeKey(t);return n.map.get(t).map(function(t){return e+"="+n.encoder.encodeValue(t)}).join("&")}).join("&")},n.prototype.clone=function(t){var e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([t]),e},n.prototype.init=function(){var i=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return i.map.set(t,i.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var e=("a"===t.op?i.map.get(t.param):void 0)||[];e.push(t.value),i.map.set(t.param,e);break;case"d":if(void 0===t.value){i.map.delete(t.param);break}var n=i.map.get(t.param)||[],r=n.indexOf(t.value);-1!==r&&n.splice(r,1),0<n.length?i.map.set(t.param,n):i.map.delete(t.param)}}),this.cloneFrom=null)},n}();function m(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function g(t){return"undefined"!=typeof Blob&&t instanceof Blob}function y(t){return"undefined"!=typeof FormData&&t instanceof FormData}var v=function(){function c(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new f),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?"),s=-1===a?"?":a<e.length-1?"&":"";this.urlWithParams=e+s+o}}else this.params=new h,this.urlWithParams=e}return c.prototype.serializeBody=function(){return null===this.body?null:m(this.body)||g(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof h?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},c.prototype.detectContentTypeHeader=function(){return null===this.body?null:y(this.body)?null:g(this.body)?this.body.type||null:m(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof h?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},c.prototype.clone=function(n){void 0===n&&(n={});var t=n.method||this.method,e=n.url||this.url,r=n.responseType||this.responseType,i=void 0!==n.body?n.body:this.body,o=void 0!==n.withCredentials?n.withCredentials:this.withCredentials,a=void 0!==n.reportProgress?n.reportProgress:this.reportProgress,s=n.headers||this.headers,l=n.params||this.params;return void 0!==n.setHeaders&&(s=Object.keys(n.setHeaders).reduce(function(t,e){return t.set(e,n.setHeaders[e])},s)),n.setParams&&(l=Object.keys(n.setParams).reduce(function(t,e){return t.set(e,n.setParams[e])},l)),new c(t,e,i,{params:l,headers:s,reportProgress:a,responseType:r,withCredentials:o})},c}(),b={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};b[b.Sent]="Sent",b[b.UploadProgress]="UploadProgress",b[b.ResponseHeader]="ResponseHeader",b[b.DownloadProgress]="DownloadProgress",b[b.Response]="Response",b[b.User]="User";var _=function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new f,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=200<=this.status&&this.status<300},w=function(n){function e(t){void 0===t&&(t={});var e=n.call(this,t)||this;return e.type=b.ResponseHeader,e}return r.__extends(e,n),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(_),C=function(n){function e(t){void 0===t&&(t={});var e=n.call(this,t)||this;return e.type=b.Response,e.body=void 0!==t.body?t.body:null,e}return r.__extends(e,n),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(_),x=function(n){function t(t){var e=n.call(this,t,0,"Unknown Error")||this;return e.name="HttpErrorResponse",e.ok=!1,200<=e.status&&e.status<300?e.message="Http failure during parsing for "+(t.url||"(unknown url)"):e.message="Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,e.error=t.error||null,e}return r.__extends(t,n),t}(_);function S(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var E=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof v)r=t;else{var o=void 0;o=n.headers instanceof f?n.headers:new f(n.headers);var a=void 0;n.params&&(a=n.params instanceof h?n.params:new h({fromObject:n.params})),r=new v(t,e,void 0!==n.body?n.body:null,{headers:o,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=u.concatMap.call(c.of(r),function(t){return i.handler.handle(t)});if(t instanceof v||"events"===n.observe)return s;var l=p.filter.call(s,function(t){return t instanceof C});switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return d.map.call(l,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return d.map.call(l,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return d.map.call(l,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return d.map.call(l,function(t){return t.body})}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new h).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,S(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,S(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,S(n,e))},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:o}]},t}(),k=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),O=new n.InjectionToken("HTTP_INTERCEPTORS"),P=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[]},t}(),A=0,D=function(){},T=function(){function t(t,e){this.callbackMap=t,this.document=e}return t.prototype.nextCallback=function(){return"ng_jsonp_callback_"+A++},t.prototype.handle=function(u){var p=this;if("JSONP"!==u.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==u.responseType)throw new Error("JSONP requests must use Json response type.");return new i.Observable(function(e){var n=p.nextCallback(),r=u.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,"="+n+"$1"),t=p.document.createElement("script");t.src=r;var i=null,o=!1,a=!1;p.callbackMap[n]=function(t){delete p.callbackMap[n],a||(i=t,o=!0)};var s=function(){t.parentNode&&t.parentNode.removeChild(t),delete p.callbackMap[n]},l=function(t){a||(s(),o?(e.next(new C({body:i,status:200,statusText:"OK",url:r})),e.complete()):e.error(new x({url:r,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")})))},c=function(t){a||(s(),e.error(new x({error:t,status:0,statusText:"JSONP Error",url:r})))};return t.addEventListener("load",l),t.addEventListener("error",c),p.document.body.appendChild(t),e.next({type:b.Sent}),function(){a=!0,t.removeEventListener("load",l),t.removeEventListener("error",c),s()}})},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:D},{type:void 0,decorators:[{type:n.Inject,args:[e.DOCUMENT]}]}]},t}(),M=function(){function t(t){this.jsonp=t}return t.prototype.intercept=function(t,e){return"JSONP"===t.method?this.jsonp.handle(t):e.handle(t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:T}]},t}(),I=/^\)\]\}',?\n/;var R=function(){},N=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[]},t}(),L=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(d){var h=this;if("JSONP"===d.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.Observable(function(l){var c=h.xhrFactory.build();if(c.open(d.method,d.urlWithParams),d.withCredentials&&(c.withCredentials=!0),d.headers.forEach(function(t,e){return c.setRequestHeader(t,e.join(","))}),d.headers.has("Accept")||c.setRequestHeader("Accept","application/json, text/plain, */*"),!d.headers.has("Content-Type")){var t=d.detectContentTypeHeader();null!==t&&c.setRequestHeader("Content-Type",t)}if(d.responseType){var e=d.responseType.toLowerCase();c.responseType="json"!==e?e:"text"}var n=d.serializeBody(),o=null,u=function(){if(null!==o)return o;var t,e=1223===c.status?204:c.status,n=c.statusText||"OK",r=new f(c.getAllResponseHeaders()),i=("responseURL"in(t=c)&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null)||d.url;return o=new w({headers:r,status:e,statusText:n,url:i})},r=function(){var t=u(),e=t.headers,n=t.status,r=t.statusText,i=t.url,o=null;204!==n&&(o=void 0===c.response?c.responseText:c.response),0===n&&(n=o?200:0);var a=200<=n&&n<300;if("json"===d.responseType&&"string"==typeof o){var s=o;o=o.replace(I,"");try{o=""!==o?JSON.parse(o):null}catch(t){o=s,a&&(a=!1,o={error:t,text:o})}}a?(l.next(new C({body:o,headers:e,status:n,statusText:r,url:i||void 0})),l.complete()):l.error(new x({error:o,headers:e,status:n,statusText:r,url:i||void 0}))},i=function(t){var e=new x({error:t,status:c.status||0,statusText:c.statusText||"Unknown Error"});l.error(e)},a=!1,s=function(t){a||(l.next(u()),a=!0);var e={type:b.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),"text"===d.responseType&&c.responseText&&(e.partialText=c.responseText),l.next(e)},p=function(t){var e={type:b.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),l.next(e)};return c.addEventListener("load",r),c.addEventListener("error",i),d.reportProgress&&(c.addEventListener("progress",s),null!==n&&c.upload&&c.upload.addEventListener("progress",p)),c.send(n),l.next({type:b.Sent}),function(){c.removeEventListener("error",i),c.removeEventListener("load",r),d.reportProgress&&(c.removeEventListener("progress",s),null!==n&&c.upload&&c.upload.removeEventListener("progress",p)),c.abort()}})},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:R}]},t}(),j=new n.InjectionToken("XSRF_COOKIE_NAME"),F=new n.InjectionToken("XSRF_HEADER_NAME"),V=function(){},B=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=e.ɵparseCookieValue(t,this.cookieName),this.lastCookieString=t),this.lastToken},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:n.Inject,args:[e.DOCUMENT]}]},{type:void 0,decorators:[{type:n.Inject,args:[n.PLATFORM_ID]}]},{type:void 0,decorators:[{type:n.Inject,args:[j]}]}]},t}(),U=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:V},{type:void 0,decorators:[{type:n.Inject,args:[F]}]}]},t}(),H=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(O,[]);this.chain=e.reduceRight(function(t,e){return new k(t,e)},this.backend)}return this.chain.handle(t)},t.decorators=[{type:n.Injectable}],t.ctorParameters=function(){return[{type:a},{type:n.Injector}]},t}();function z(){return"object"==typeof window?window:{}}var G=function(){function e(){}return e.disable=function(){return{ngModule:e,providers:[{provide:U,useClass:P}]}},e.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:j,useValue:t.cookieName}:[],t.headerName?{provide:F,useValue:t.headerName}:[]]}},e.decorators=[{type:n.NgModule,args:[{providers:[U,{provide:O,useExisting:U,multi:!0},{provide:V,useClass:B},{provide:j,useValue:"XSRF-TOKEN"},{provide:F,useValue:"X-XSRF-TOKEN"}]}]}],e.ctorParameters=function(){return[]},e}(),W=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{imports:[G.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})],providers:[E,{provide:o,useClass:H},L,{provide:a,useExisting:L},N,{provide:R,useExisting:N}]}]}],t.ctorParameters=function(){return[]},t}(),q=function(){function t(){}return t.decorators=[{type:n.NgModule,args:[{providers:[T,{provide:D,useFactory:z},{provide:O,useClass:M,multi:!0}]}]}],t.ctorParameters=function(){return[]},t}();t.HttpBackend=a,t.HttpHandler=o,t.HttpClient=E,t.HttpHeaders=f,t.HTTP_INTERCEPTORS=O,t.JsonpClientBackend=T,t.JsonpInterceptor=M,t.HttpClientJsonpModule=q,t.HttpClientModule=W,t.HttpClientXsrfModule=G,t.ɵinterceptingHandler=function(t,e){return void 0===e&&(e=[]),e?e.reduceRight(function(t,e){return new k(t,e)},t):t},t.HttpParams=h,t.HttpUrlEncodingCodec=l,t.HttpRequest=v,t.HttpErrorResponse=x,t.HttpEventType=b,t.HttpHeaderResponse=w,t.HttpResponse=C,t.HttpResponseBase=_,t.HttpXhrBackend=L,t.XhrFactory=R,t.HttpXsrfTokenExtractor=V,t.ɵa=P,t.ɵb=D,t.ɵc=H,t.ɵd=z,t.ɵe=N,t.ɵh=B,t.ɵi=U,t.ɵf=j,t.ɵg=F,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("rxjs/observable/of"),t("rxjs/operator/concatMap"),t("rxjs/operator/filter"),t("rxjs/operator/map"),t("tslib"),t("@angular/common"),t("rxjs/Observable")):i((r.ng=r.ng||{},r.ng.common=r.ng.common||{},r.ng.common.http={}),r.ng.core,r.Rx.Observable,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.tslib,r.ng.common,r.Rx)},{"@angular/common":62,"@angular/core":64,"rxjs/Observable":75,"rxjs/observable/of":107,"rxjs/operator/concatMap":112,"rxjs/operator/filter":114,"rxjs/operator/map":117,tslib:178}],62:[function(t,e,n){var r,i;r=this,i=function(t,o){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function e(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i=function(){},a=new o.InjectionToken("Location Initialized"),s=function(){},l=new o.InjectionToken("appBaseHref"),c=function(){function r(t){var e=this;this._subject=new o.EventEmitter,this._platformStrategy=t;var n=this._platformStrategy.getBaseHref();this._baseHref=r.stripTrailingSlash(u(n)),this._platformStrategy.onPopState(function(t){e._subject.emit({url:e.path(!0),pop:!0,type:t.type})})}return r.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},r.prototype.isCurrentPathEqualTo=function(t,e){return void 0===e&&(e=""),this.path()==this.normalize(t+r.normalizeQueryParams(e))},r.prototype.normalize=function(t){return r.stripTrailingSlash((e=this._baseHref,n=u(t),e&&n.startsWith(e)?n.substring(e.length):n));var e,n},r.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},r.prototype.go=function(t,e){void 0===e&&(e=""),this._platformStrategy.pushState(null,"",t,e)},r.prototype.replaceState=function(t,e){void 0===e&&(e=""),this._platformStrategy.replaceState(null,"",t,e)},r.prototype.forward=function(){this._platformStrategy.forward()},r.prototype.back=function(){this._platformStrategy.back()},r.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},r.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},r.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},r.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length,r=n-("/"===t[n-1]?1:0);return t.slice(0,r)+t.slice(n)},r.decorators=[{type:o.Injectable}],r.ctorParameters=function(){return[{type:s}]},r}();function u(t){return t.replace(/\/index.html$/,"")}var p=function(r){function t(t,e){var n=r.call(this)||this;return n._platformLocation=t,n._baseHref="",null!=e&&(n._baseHref=e),n}return e(t,r),t.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),0<e.length?e.substring(1):e},t.prototype.prepareExternalUrl=function(t){var e=c.joinWithSlash(this._baseHref,t);return 0<e.length?"#"+e:e},t.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},t.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:i},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[l]}]}]},t}(s),d=function(r){function t(t,e){var n=r.call(this)||this;if(n._platformLocation=t,null==e&&(e=n._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return n._baseHref=e,n}return e(t,r),t.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(t){return c.joinWithSlash(this._baseHref,t)},t.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},t.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},t.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:i},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[l]}]}]},t}(s),h={AOA:[,"Kz"],ARS:[,"$"],AUD:["A$","$"],BAM:[,"KM"],BBD:[,"$"],BDT:[,"৳"],BMD:[,"$"],BND:[,"$"],BOB:[,"Bs"],BRL:["R$"],BSD:[,"$"],BWP:[,"P"],BYN:[,"Ñ€."],BZD:[,"$"],CAD:["CA$","$"],CLP:[,"$"],CNY:["CNÂ¥","Â¥"],COP:[,"$"],CRC:[,"â‚¡"],CUC:[,"$"],CUP:[,"$"],CZK:[,"KÄ"],DKK:[,"kr"],DOP:[,"$"],EGP:[,"E£"],ESP:[,"₧"],EUR:["€"],FJD:[,"$"],FKP:[,"£"],GBP:["£"],GEL:[,"₾"],GIP:[,"£"],GNF:[,"FG"],GTQ:[,"Q"],GYD:[,"$"],HKD:["HK$","$"],HNL:[,"L"],HRK:[,"kn"],HUF:[,"Ft"],IDR:[,"Rp"],ILS:["₪"],INR:["₹"],ISK:[,"kr"],JMD:[,"$"],JPY:["Â¥"],KHR:[,"៛"],KMF:[,"CF"],KPW:[,"â‚©"],KRW:["â‚©"],KYD:[,"$"],KZT:[,"₸"],LAK:[,"â‚"],LBP:[,"L£"],LKR:[,"Rs"],LRD:[,"$"],LTL:[,"Lt"],LVL:[,"Ls"],MGA:[,"Ar"],MMK:[,"K"],MNT:[,"â‚®"],MUR:[,"Rs"],MXN:["MX$","$"],MYR:[,"RM"],NAD:[,"$"],NGN:[,"₦"],NIO:[,"C$"],NOK:[,"kr"],NPR:[,"Rs"],NZD:["NZ$","$"],PHP:[,"₱"],PKR:[,"Rs"],PLN:[,"zÅ‚"],PYG:[,"₲"],RON:[,"lei"],RUB:[,"₽"],RUR:[,"Ñ€."],RWF:[,"RF"],SBD:[,"$"],SEK:[,"kr"],SGD:[,"$"],SHP:[,"£"],SRD:[,"$"],SSP:[,"£"],STD:[,"Db"],SYP:[,"£"],THB:[,"฿"],TOP:[,"T$"],TRY:[,"₺"],TTD:[,"$"],TWD:["NT$","$"],UAH:[,"â‚´"],USD:["$"],UYU:[,"$"],VEF:[,"Bs"],VND:["â‚«"],XAF:["FCFA"],XCD:["EC$","$"],XOF:["CFA"],XPF:["CFPF"],ZAR:[,"R"],ZMW:[,"ZK"]};var f=["en",[["a","p"],["AM","PM"]],[["AM","PM"],,],[["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"]],,[["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"]],,[["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}",,"{1} 'at' {0}"],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],m={};function g(t,e,n){"string"!=typeof e&&(n=e,e=t[0]),e=e.toLowerCase().replace(/_/g,"-"),m[e]=t,n&&(m[e][18]=n)}var E={Decimal:0,Percent:1,Currency:2,Scientific:3};E[E.Decimal]="Decimal",E[E.Percent]="Percent",E[E.Currency]="Currency",E[E.Scientific]="Scientific";var y={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};y[y.Zero]="Zero",y[y.One]="One",y[y.Two]="Two",y[y.Few]="Few",y[y.Many]="Many",y[y.Other]="Other";var v={Format:0,Standalone:1};v[v.Format]="Format",v[v.Standalone]="Standalone";var b={Narrow:0,Abbreviated:1,Wide:2,Short:3};b[b.Narrow]="Narrow",b[b.Abbreviated]="Abbreviated",b[b.Wide]="Wide",b[b.Short]="Short";var _={Short:0,Medium:1,Long:2,Full:3};_[_.Short]="Short",_[_.Medium]="Medium",_[_.Long]="Long",_[_.Full]="Full";var k={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};k[k.Decimal]="Decimal",k[k.Group]="Group",k[k.List]="List",k[k.PercentSign]="PercentSign",k[k.PlusSign]="PlusSign",k[k.MinusSign]="MinusSign",k[k.Exponential]="Exponential",k[k.SuperscriptingExponent]="SuperscriptingExponent",k[k.PerMille]="PerMille",k[k.Infinity]="Infinity",k[k.NaN]="NaN",k[k.TimeSeparator]="TimeSeparator",k[k.CurrencyDecimal]="CurrencyDecimal",k[k.CurrencyGroup]="CurrencyGroup";var w={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6};function C(t){return B(t)[0]}function x(t,e,n){var r=B(t);return F(F([r[1],r[2]],e),n)}function S(t,e,n){var r=B(t);return F(F([r[3],r[4]],e),n)}function O(t,e,n){var r=B(t);return F(F([r[5],r[6]],e),n)}function P(t,e){return F(B(t)[7],e)}function A(t,e){return F(B(t)[10],e)}function D(t,e){return F(B(t)[11],e)}function T(t,e){return F(B(t)[12],e)}function M(t,e){var n=B(t),r=n[13][e];if(void 0===r){if(e===k.CurrencyDecimal)return n[13][k.Decimal];if(e===k.CurrencyGroup)return n[13][k.Group]}return r}function I(t,e){return B(t)[14][e]}function R(t){return B(t)[17]}function N(t){if(!t[18])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function L(t){var e=B(t);return N(e),(e[18][2]||[]).map(function(t){return"string"==typeof t?V(t):[V(t[0]),V(t[1])]})}function j(t,e,n){var r=B(t);return N(r),F(F([r[18][0],r[18][1]],e)||[],n)||[]}function F(t,e){for(var n=e;-1<n;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function V(t){var e=t.split(":");return{hours:+e[0],minutes:+e[1]}}function B(t){var e=t.toLowerCase().replace(/_/g,"-"),n=m[e];if(n)return n;var r=e.split("-")[0];if(n=m[r])return n;if("en"===r)return f;throw new Error('Missing locale data for the locale "'+t+'".')}function U(t,e){var n=h[t]||[],r=n[1];return"narrow"===e&&"string"==typeof r?r:n[0]||t}w[w.Sunday]="Sunday",w[w.Monday]="Monday",w[w.Tuesday]="Tuesday",w[w.Wednesday]="Wednesday",w[w.Thursday]="Thursday",w[w.Friday]="Friday",w[w.Saturday]="Saturday";var H=new o.InjectionToken("UseV4Plurals"),z=function(){};function G(t,e,n,r){var i="="+t;if(-1<e.indexOf(i))return i;if(i=n.getPluralCategory(t,r),-1<e.indexOf(i))return i;if(-1<e.indexOf("other"))return"other";throw new Error('No plural message found for value "'+t+'"')}var W=function(r){function t(t,e){var n=r.call(this)||this;return n.locale=t,n.deprecatedPluralFn=e,n}return e(t,r),t.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):R(e||this.locale)(t)){case y.Zero:return"zero";case y.One:return"one";case y.Two:return"two";case y.Few:return"few";case y.Many:return"many";default:return"other"}},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]},{type:void 0,decorators:[{type:o.Optional},{type:o.Inject,args:[H]}]}]},t}(z);function q(t,e){"string"==typeof e&&(e=parseInt(e,10));var n=e,r=n.toString().replace(/^[^.]*\.?/,""),i=Math.floor(Math.abs(n)),o=r.length,a=parseInt(r,10),s=parseInt(n.toString().replace(/^[^.]*\.?|0+$/g,""),10)||0;switch(t.split("-")[0].toLowerCase()){case"af":case"asa":case"az":case"bem":case"bez":case"bg":case"brx":case"ce":case"cgg":case"chr":case"ckb":case"ee":case"el":case"eo":case"es":case"eu":case"fo":case"fur":case"gsw":case"ha":case"haw":case"hu":case"jgo":case"jmc":case"ka":case"kk":case"kkj":case"kl":case"ks":case"ksb":case"ky":case"lb":case"lg":case"mas":case"mgo":case"ml":case"mn":case"nb":case"nd":case"ne":case"nn":case"nnh":case"nyn":case"om":case"or":case"os":case"ps":case"rm":case"rof":case"rwk":case"saq":case"seh":case"sn":case"so":case"sq":case"ta":case"te":case"teo":case"tk":case"tr":case"ug":case"uz":case"vo":case"vun":case"wae":case"xog":return 1===n?y.One:y.Other;case"ak":case"ln":case"mg":case"pa":case"ti":return n===Math.floor(n)&&0<=n&&n<=1?y.One:y.Other;case"am":case"as":case"bn":case"fa":case"gu":case"hi":case"kn":case"mr":case"zu":return 0===i||1===n?y.One:y.Other;case"ar":return 0===n?y.Zero:1===n?y.One:2===n?y.Two:n%100===Math.floor(n%100)&&3<=n%100&&n%100<=10?y.Few:n%100===Math.floor(n%100)&&11<=n%100&&n%100<=99?y.Many:y.Other;case"ast":case"ca":case"de":case"en":case"et":case"fi":case"fy":case"gl":case"it":case"nl":case"sv":case"sw":case"ur":case"yi":return 1===i&&0===o?y.One:y.Other;case"be":return n%10==1&&n%100!=11?y.One:n%10===Math.floor(n%10)&&2<=n%10&&n%10<=4&&!(12<=n%100&&n%100<=14)?y.Few:n%10==0||n%10===Math.floor(n%10)&&5<=n%10&&n%10<=9||n%100===Math.floor(n%100)&&11<=n%100&&n%100<=14?y.Many:y.Other;case"br":return n%10==1&&n%100!=11&&n%100!=71&&n%100!=91?y.One:n%10==2&&n%100!=12&&n%100!=72&&n%100!=92?y.Two:n%10===Math.floor(n%10)&&(3<=n%10&&n%10<=4||n%10==9)&&!(10<=n%100&&n%100<=19||70<=n%100&&n%100<=79||90<=n%100&&n%100<=99)?y.Few:0!==n&&n%1e6==0?y.Many:y.Other;case"bs":case"hr":case"sr":return 0===o&&i%10==1&&i%100!=11||a%10==1&&a%100!=11?y.One:0===o&&i%10===Math.floor(i%10)&&2<=i%10&&i%10<=4&&!(12<=i%100&&i%100<=14)||a%10===Math.floor(a%10)&&2<=a%10&&a%10<=4&&!(12<=a%100&&a%100<=14)?y.Few:y.Other;case"cs":case"sk":return 1===i&&0===o?y.One:i===Math.floor(i)&&2<=i&&i<=4&&0===o?y.Few:0!==o?y.Many:y.Other;case"cy":return 0===n?y.Zero:1===n?y.One:2===n?y.Two:3===n?y.Few:6===n?y.Many:y.Other;case"da":return 1===n||0!==s&&(0===i||1===i)?y.One:y.Other;case"dsb":case"hsb":return 0===o&&i%100==1||a%100==1?y.One:0===o&&i%100==2||a%100==2?y.Two:0===o&&i%100===Math.floor(i%100)&&3<=i%100&&i%100<=4||a%100===Math.floor(a%100)&&3<=a%100&&a%100<=4?y.Few:y.Other;case"ff":case"fr":case"hy":case"kab":return 0===i||1===i?y.One:y.Other;case"fil":return 0===o&&(1===i||2===i||3===i)||0===o&&i%10!=4&&i%10!=6&&i%10!=9||0!==o&&a%10!=4&&a%10!=6&&a%10!=9?y.One:y.Other;case"ga":return 1===n?y.One:2===n?y.Two:n===Math.floor(n)&&3<=n&&n<=6?y.Few:n===Math.floor(n)&&7<=n&&n<=10?y.Many:y.Other;case"gd":return 1===n||11===n?y.One:2===n||12===n?y.Two:n===Math.floor(n)&&(3<=n&&n<=10||13<=n&&n<=19)?y.Few:y.Other;case"gv":return 0===o&&i%10==1?y.One:0===o&&i%10==2?y.Two:0!==o||i%100!=0&&i%100!=20&&i%100!=40&&i%100!=60&&i%100!=80?0!==o?y.Many:y.Other:y.Few;case"he":return 1===i&&0===o?y.One:2===i&&0===o?y.Two:0!==o||0<=n&&n<=10||n%10!=0?y.Other:y.Many;case"is":return 0===s&&i%10==1&&i%100!=11||0!==s?y.One:y.Other;case"ksh":return 0===n?y.Zero:1===n?y.One:y.Other;case"kw":case"naq":case"se":case"smn":return 1===n?y.One:2===n?y.Two:y.Other;case"lag":return 0===n?y.Zero:0!==i&&1!==i||0===n?y.Other:y.One;case"lt":return n%10!=1||11<=n%100&&n%100<=19?n%10===Math.floor(n%10)&&2<=n%10&&n%10<=9&&!(11<=n%100&&n%100<=19)?y.Few:0!==a?y.Many:y.Other:y.One;case"lv":case"prg":return n%10==0||n%100===Math.floor(n%100)&&11<=n%100&&n%100<=19||2===o&&a%100===Math.floor(a%100)&&11<=a%100&&a%100<=19?y.Zero:n%10==1&&n%100!=11||2===o&&a%10==1&&a%100!=11||2!==o&&a%10==1?y.One:y.Other;case"mk":return 0===o&&i%10==1||a%10==1?y.One:y.Other;case"mt":return 1===n?y.One:0===n||n%100===Math.floor(n%100)&&2<=n%100&&n%100<=10?y.Few:n%100===Math.floor(n%100)&&11<=n%100&&n%100<=19?y.Many:y.Other;case"pl":return 1===i&&0===o?y.One:0===o&&i%10===Math.floor(i%10)&&2<=i%10&&i%10<=4&&!(12<=i%100&&i%100<=14)?y.Few:0===o&&1!==i&&i%10===Math.floor(i%10)&&0<=i%10&&i%10<=1||0===o&&i%10===Math.floor(i%10)&&5<=i%10&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&12<=i%100&&i%100<=14?y.Many:y.Other;case"pt":return n===Math.floor(n)&&0<=n&&n<=2&&2!==n?y.One:y.Other;case"ro":return 1===i&&0===o?y.One:0!==o||0===n||1!==n&&n%100===Math.floor(n%100)&&1<=n%100&&n%100<=19?y.Few:y.Other;case"ru":case"uk":return 0===o&&i%10==1&&i%100!=11?y.One:0===o&&i%10===Math.floor(i%10)&&2<=i%10&&i%10<=4&&!(12<=i%100&&i%100<=14)?y.Few:0===o&&i%10==0||0===o&&i%10===Math.floor(i%10)&&5<=i%10&&i%10<=9||0===o&&i%100===Math.floor(i%100)&&11<=i%100&&i%100<=14?y.Many:y.Other;case"shi":return 0===i||1===n?y.One:n===Math.floor(n)&&2<=n&&n<=10?y.Few:y.Other;case"si":return 0===n||1===n||0===i&&1===a?y.One:y.Other;case"sl":return 0===o&&i%100==1?y.One:0===o&&i%100==2?y.Two:0===o&&i%100===Math.floor(i%100)&&3<=i%100&&i%100<=4||0!==o?y.Few:y.Other;case"tzm":return n===Math.floor(n)&&0<=n&&n<=1||n===Math.floor(n)&&11<=n&&n<=99?y.One:y.Other;default:return y.Other}}var Y=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._applyInitialClasses(!0),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyInitialClasses(!1),this._applyClasses(this._rawClass,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._cleanupClasses(this._rawClass),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(o.ɵisListLikeIterable(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._cleanupClasses=function(t){this._applyClasses(t,!0),this._applyInitialClasses(!1)},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+o.ɵstringify(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyInitialClasses=function(e){var n=this;this._initialClasses.forEach(function(t){return n._toggleClass(t,!e)})},t.prototype._applyClasses=function(e,n){var r=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(t){return r._toggleClass(t,!n)}):Object.keys(e).forEach(function(t){null!=e[t]&&r._toggleClass(t,!n)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t.decorators=[{type:o.Directive,args:[{selector:"[ngClass]"}]}],t.ctorParameters=function(){return[{type:o.IterableDiffers},{type:o.KeyValueDiffers},{type:o.ElementRef},{type:o.Renderer2}]},t.propDecorators={klass:[{type:o.Input,args:["class"]}],ngClass:[{type:o.Input}]},t}(),$=function(){function t(t){this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return t.prototype.ngOnChanges=function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(o.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var r=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(o.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(r,this._viewContainerRef.length,e,this.ngComponentOutletContent)}},t.prototype.ngOnDestroy=function(){this._moduleRef&&this._moduleRef.destroy()},t.decorators=[{type:o.Directive,args:[{selector:"[ngComponentOutlet]"}]}],t.ctorParameters=function(){return[{type:o.ViewContainerRef}]},t.propDecorators={ngComponentOutlet:[{type:o.Input}],ngComponentOutletInjector:[{type:o.Input}],ngComponentOutletContent:[{type:o.Input}],ngComponentOutletNgModuleFactory:[{type:o.Input}]},t}(),K=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Q=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._differ=null}return Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){o.isDevMode()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){if("ngForOf"in t){var e=t.ngForOf.currentValue;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((n=e).name||typeof n)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var n},t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this.ngForOf);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var o=this,a=[];t.forEachOperation(function(t,e,n){if(null==t.previousIndex){var r=o._viewContainer.createEmbeddedView(o._template,new K(null,o.ngForOf,-1,-1),n),i=new X(t,r);a.push(i)}else if(null==n)o._viewContainer.remove(e);else{r=o._viewContainer.get(e);o._viewContainer.move(r,n);i=new X(t,r);a.push(i)}});for(var e=0;e<a.length;e++)this._perViewChange(a[e].view,a[e].record);e=0;for(var n=this._viewContainer.length;e<n;e++){var r=this._viewContainer.get(e);r.context.index=e,r.context.count=n}t.forEachIdentityChange(function(t){o._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.decorators=[{type:o.Directive,args:[{selector:"[ngFor][ngForOf]"}]}],t.ctorParameters=function(){return[{type:o.ViewContainerRef},{type:o.TemplateRef},{type:o.IterableDiffers}]},t.propDecorators={ngForOf:[{type:o.Input}],ngForTrackBy:[{type:o.Input}],ngForTemplate:[{type:o.Input}]},t}(),X=function(t,e){this.record=t,this.view=e};var Z=function(){function t(t,e){this._viewContainer=t,this._context=new J,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},t.decorators=[{type:o.Directive,args:[{selector:"[ngIf]"}]}],t.ctorParameters=function(){return[{type:o.ViewContainerRef},{type:o.TemplateRef}]},t.propDecorators={ngIf:[{type:o.Input}],ngIfThen:[{type:o.Input}],ngIfElse:[{type:o.Input}]},t}(),J=function(){this.$implicit=null,this.ngIf=null},tt=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),et=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++){this._defaultViews[e].enforceState(t)}}},t.decorators=[{type:o.Directive,args:[{selector:"[ngSwitch]"}]}],t.ctorParameters=function(){return[]},t.propDecorators={ngSwitch:[{type:o.Input}]},t}(),nt=function(){function t(t,e,n){(this.ngSwitch=n)._addCase(),this._view=new tt(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t.decorators=[{type:o.Directive,args:[{selector:"[ngSwitchCase]"}]}],t.ctorParameters=function(){return[{type:o.ViewContainerRef},{type:o.TemplateRef},{type:et,decorators:[{type:o.Host}]}]},t.propDecorators={ngSwitchCase:[{type:o.Input}]},t}(),rt=function(){function t(t,e,n){n._addDefault(new tt(t,e))}return t.decorators=[{type:o.Directive,args:[{selector:"[ngSwitchDefault]"}]}],t.ctorParameters=function(){return[{type:o.ViewContainerRef},{type:o.TemplateRef},{type:et,decorators:[{type:o.Host}]}]},t}(),it=function(){function t(t){this._localization=t,this._caseViews={}}return Object.defineProperty(t.prototype,"ngPlural",{set:function(t){this._switchValue=t,this._updateView()},enumerable:!0,configurable:!0}),t.prototype.addCase=function(t,e){this._caseViews[t]=e},t.prototype._updateView=function(){this._clearViews();var t=Object.keys(this._caseViews),e=G(this._switchValue,t,this._localization);this._activateView(this._caseViews[e])},t.prototype._clearViews=function(){this._activeView&&this._activeView.destroy()},t.prototype._activateView=function(t){t&&(this._activeView=t,this._activeView.create())},t.decorators=[{type:o.Directive,args:[{selector:"[ngPlural]"}]}],t.ctorParameters=function(){return[{type:z}]},t.propDecorators={ngPlural:[{type:o.Input}]},t}(),ot=function(){function t(t,e,n,r){this.value=t;var i=!isNaN(Number(t));r.addCase(i?"="+t:t,new tt(n,e))}return t.decorators=[{type:o.Directive,args:[{selector:"[ngPluralCase]"}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Attribute,args:["ngPluralCase"]}]},{type:o.TemplateRef},{type:o.ViewContainerRef},{type:it,decorators:[{type:o.Host}]}]},t}(),at=function(){function t(t,e,n){this._differs=t,this._ngEl=e,this._renderer=n}return Object.defineProperty(t.prototype,"ngStyle",{set:function(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._differ){var t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}},t.prototype._applyChanges=function(t){var e=this;t.forEachRemovedItem(function(t){return e._setStyle(t.key,null)}),t.forEachAddedItem(function(t){return e._setStyle(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._setStyle(t.key,t.currentValue)})},t.prototype._setStyle=function(t,e){var n=t.split("."),r=n[0],i=n[1];null!=(e=null!=e&&i?""+e+i:e)?this._renderer.setStyle(this._ngEl.nativeElement,r,e):this._renderer.removeStyle(this._ngEl.nativeElement,r)},t.decorators=[{type:o.Directive,args:[{selector:"[ngStyle]"}]}],t.ctorParameters=function(){return[{type:o.KeyValueDiffers},{type:o.ElementRef},{type:o.Renderer2}]},t.propDecorators={ngStyle:[{type:o.Input}]},t}(),st=function(){function t(t){this._viewContainerRef=t}return t.prototype.ngOnChanges=function(t){this._shouldRecreateView(t)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},t.prototype._shouldRecreateView=function(t){var e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)},t.prototype._hasContextShapeChanged=function(t){var e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(var r=0,i=n;r<i.length;r++){var o=i[r];if(-1===e.indexOf(o))return!0}return!1}return!0},t.prototype._updateExistingContext=function(t){for(var e=0,n=Object.keys(t);e<n.length;e++){var r=n[e];this._viewRef.context[r]=this.ngTemplateOutletContext[r]}},t.decorators=[{type:o.Directive,args:[{selector:"[ngTemplateOutlet]"}]}],t.ctorParameters=function(){return[{type:o.ViewContainerRef}]},t.propDecorators={ngTemplateOutletContext:[{type:o.Input}],ngTemplateOutlet:[{type:o.Input}]},t}(),lt=[Y,$,Q,Z,st,at,et,nt,rt,it,ot],ct={},ut=/((?:[^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]*)/,pt={Short:0,ShortGMT:1,Long:2,Extended:3};pt[pt.Short]="Short",pt[pt.ShortGMT]="ShortGMT",pt[pt.Long]="Long",pt[pt.Extended]="Extended";var dt={FullYear:0,Month:1,Date:2,Hours:3,Minutes:4,Seconds:5,Milliseconds:6,Day:7};dt[dt.FullYear]="FullYear",dt[dt.Month]="Month",dt[dt.Date]="Date",dt[dt.Hours]="Hours",dt[dt.Minutes]="Minutes",dt[dt.Seconds]="Seconds",dt[dt.Milliseconds]="Milliseconds",dt[dt.Day]="Day";var ht={DayPeriods:0,Days:1,Months:2,Eras:3};function ft(n,t,r,e){t=function t(e,n){var r=C(e);ct[r]=ct[r]||{};if(ct[r][n])return ct[r][n];var i="";switch(n){case"shortDate":i=A(e,_.Short);break;case"mediumDate":i=A(e,_.Medium);break;case"longDate":i=A(e,_.Long);break;case"fullDate":i=A(e,_.Full);break;case"shortTime":i=D(e,_.Short);break;case"mediumTime":i=D(e,_.Medium);break;case"longTime":i=D(e,_.Long);break;case"fullTime":i=D(e,_.Full);break;case"short":var o=t(e,"shortTime"),a=t(e,"shortDate");i=mt(T(e,_.Short),[o,a]);break;case"medium":var s=t(e,"mediumTime"),l=t(e,"mediumDate");i=mt(T(e,_.Medium),[s,l]);break;case"long":var c=t(e,"longTime"),u=t(e,"longDate");i=mt(T(e,_.Long),[c,u]);break;case"full":var p=t(e,"fullTime"),d=t(e,"fullDate");i=mt(T(e,_.Full),[p,d])}i&&(ct[r][n]=i);return i}(r,t)||t;for(var i,o=[];t;){if(!(i=ut.exec(t))){o.push(t);break}var a=(o=o.concat(i.slice(1))).pop();if(!a)break;t=a}var s,l,c,u,p,d,h,f=n.getTimezoneOffset();e&&(f=St(e,f),l=e,c=!0?-1:1,u=(s=n).getTimezoneOffset(),p=St(l,u),d=s,h=c*(p-u),(d=new Date(d.getTime())).setMinutes(d.getMinutes()+h),n=d);var m="";return o.forEach(function(t){var e=function(t){if(xt[t])return xt[t];var e;switch(t){case"G":case"GG":case"GGG":e=vt(ht.Eras,b.Abbreviated);break;case"GGGG":e=vt(ht.Eras,b.Wide);break;case"GGGGG":e=vt(ht.Eras,b.Narrow);break;case"y":e=yt(dt.FullYear,1,0,!1,!0);break;case"yy":e=yt(dt.FullYear,2,0,!0,!0);break;case"yyy":e=yt(dt.FullYear,3,0,!1,!0);break;case"yyyy":e=yt(dt.FullYear,4,0,!1,!0);break;case"M":case"L":e=yt(dt.Month,1,1);break;case"MM":case"LL":e=yt(dt.Month,2,1);break;case"MMM":e=vt(ht.Months,b.Abbreviated);break;case"MMMM":e=vt(ht.Months,b.Wide);break;case"MMMMM":e=vt(ht.Months,b.Narrow);break;case"LLL":e=vt(ht.Months,b.Abbreviated,v.Standalone);break;case"LLLL":e=vt(ht.Months,b.Wide,v.Standalone);break;case"LLLLL":e=vt(ht.Months,b.Narrow,v.Standalone);break;case"w":e=Ct(1);break;case"ww":e=Ct(2);break;case"W":e=Ct(1,!0);break;case"d":e=yt(dt.Date,1);break;case"dd":e=yt(dt.Date,2);break;case"E":case"EE":case"EEE":e=vt(ht.Days,b.Abbreviated);break;case"EEEE":e=vt(ht.Days,b.Wide);break;case"EEEEE":e=vt(ht.Days,b.Narrow);break;case"EEEEEE":e=vt(ht.Days,b.Short);break;case"a":case"aa":case"aaa":e=vt(ht.DayPeriods,b.Abbreviated);break;case"aaaa":e=vt(ht.DayPeriods,b.Wide);break;case"aaaaa":e=vt(ht.DayPeriods,b.Narrow);break;case"b":case"bb":case"bbb":e=vt(ht.DayPeriods,b.Abbreviated,v.Standalone,!0);break;case"bbbb":e=vt(ht.DayPeriods,b.Wide,v.Standalone,!0);break;case"bbbbb":e=vt(ht.DayPeriods,b.Narrow,v.Standalone,!0);break;case"B":case"BB":case"BBB":e=vt(ht.DayPeriods,b.Abbreviated,v.Format,!0);break;case"BBBB":e=vt(ht.DayPeriods,b.Wide,v.Format,!0);break;case"BBBBB":e=vt(ht.DayPeriods,b.Narrow,v.Format,!0);break;case"h":e=yt(dt.Hours,1,-12);break;case"hh":e=yt(dt.Hours,2,-12);break;case"H":e=yt(dt.Hours,1);break;case"HH":e=yt(dt.Hours,2);break;case"m":e=yt(dt.Minutes,1);break;case"mm":e=yt(dt.Minutes,2);break;case"s":e=yt(dt.Seconds,1);break;case"ss":e=yt(dt.Seconds,2);break;case"S":e=yt(dt.Milliseconds,1);break;case"SS":e=yt(dt.Milliseconds,2);break;case"SSS":e=yt(dt.Milliseconds,3);break;case"Z":case"ZZ":case"ZZZ":e=bt(pt.Short);break;case"ZZZZZ":e=bt(pt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=bt(pt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=bt(pt.Long);break;default:return null}return xt[t]=e}(t);m+=e?e(n,r,f):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),m}function mt(t,n){return n&&(t=t.replace(/\{([^}]+)}/g,function(t,e){return null!=n&&e in n?n[e]:t})),t}function gt(t,e,n,r,i){void 0===n&&(n="-");var o="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,o=n));for(var a=""+t;a.length<e;)a="0"+a;return r&&(a=a.substr(a.length-e)),o+a}function yt(r,i,o,a,s){return void 0===o&&(o=0),void 0===a&&(a=!1),void 0===s&&(s=!1),function(t,e){var n=function(t,e,n){switch(t){case dt.FullYear:return e.getFullYear();case dt.Month:return e.getMonth();case dt.Date:return e.getDate();case dt.Hours:return e.getHours();case dt.Minutes:return e.getMinutes();case dt.Seconds:return e.getSeconds();case dt.Milliseconds:var r=1===n?100:2===n?10:1;return Math.round(e.getMilliseconds()/r);case dt.Day:return e.getDay();default:throw new Error('Unknown DateType value "'+t+'".')}}(r,t,i);return(0<o||-o<n)&&(n+=o),r===dt.Hours&&0===n&&-12===o&&(n=12),gt(n,i,M(e,k.MinusSign),a,s)}}function vt(n,r,i,o){return void 0===i&&(i=v.Format),void 0===o&&(o=!1),function(t,e){return function(t,e,n,r,i,o){switch(n){case ht.Months:return O(e,i,r)[t.getMonth()];case ht.Days:return S(e,i,r)[t.getDay()];case ht.DayPeriods:var u=t.getHours(),p=t.getMinutes();if(o){var d,a=L(e),h=j(e,i,r);if(a.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=n.hours,i=n.minutes,o=t[1],a=o.hours,s=o.minutes;r<=u&&i<=p&&(u<a||u===a&&p<s)&&(d=h[e])}else{var l=t.hours,c=t.minutes;l===u&&c===p&&(d=h[e])}}),d)return d}return x(e,i,r)[u<12?0:1];case ht.Eras:return P(e,r)[t.getFullYear()<=0?0:1];default:var s=n;throw new Error("unexpected translation type "+s)}}(t,e,n,r,i,o)}}function bt(a){return function(t,e,n){var r=-1*n,i=M(e,k.MinusSign),o=0<r?Math.floor(r/60):Math.ceil(r/60);switch(a){case pt.Short:return(0<=r?"+":"")+gt(o,2,i)+gt(Math.abs(r%60),2,i);case pt.ShortGMT:return"GMT"+(0<=r?"+":"")+gt(o,1,i);case pt.Long:return"GMT"+(0<=r?"+":"")+gt(o,2,i)+":"+gt(Math.abs(r%60),2,i);case pt.Extended:return 0===n?"Z":(0<=r?"+":"")+gt(o,2,i)+":"+gt(Math.abs(r%60),2,i);default:throw new Error('Unknown zone width "'+a+'"')}}}ht[ht.DayPeriods]="DayPeriods",ht[ht.Days]="Days",ht[ht.Months]="Months",ht[ht.Eras]="Eras";var _t=0,wt=4;function Ct(u,p){return void 0===p&&(p=!1),function(t,e){var n,r,i,o;if(p){var a=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();n=1+Math.floor((s+a)/7)}else{var l=(i=t.getFullYear(),o=new Date(i,_t,1).getDay(),new Date(i,0,1+(o<=wt?wt:wt+7)-o)),c=(r=t,new Date(r.getFullYear(),r.getMonth(),r.getDate()+(wt-r.getDay()))).getTime()-l.getTime();n=1+Math.round(c/6048e5)}return gt(n,u,M(e,k.MinusSign))}}var xt={};function St(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function Et(t,e){return Error("InvalidPipeArgument: '"+e+"' for pipe '"+o.ɵstringify(t)+"'")}var kt=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Ot=function(){function u(t){this.locale=t}return u.prototype.transform=function(t,e,n,r){if(void 0===e&&(e="mediumDate"),null==t||""===t||t!=t)return null;var i,o;if("string"==typeof t&&(t=t.trim()),At(t))i=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var a=t.split("-").map(function(t){return+t}),s=a[0],l=a[1],c=a[2];i=new Date(s,l-1,c)}else i="string"==typeof t&&(o=t.match(kt))?Pt(o):new Date(t);else i=new Date(parseFloat(t));if(!At(i))throw Et(u,t);return ft(i,e,r||this.locale,n)},u.decorators=[{type:o.Pipe,args:[{name:"date",pure:!0}]}],u.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},u}();function Pt(t){var e=new Date(0),n=0,r=0,i=t[8]?e.setUTCFullYear:e.setFullYear,o=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=+(t[9]+t[10]),r=+(t[9]+t[11])),i.call(e,+t[1],+t[2]-1,+t[3]);var a=+(t[4]||"0")-n,s=+(t[5]||"0")-r,l=+(t[6]||"0"),c=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(e,a,s,l,c),e}function At(t){return t instanceof Date&&!isNaN(t.valueOf())}var Dt,Tt=function(){function t(){}return t.format=function(t,e,n,r){void 0===r&&(r={});var i=r.minimumIntegerDigits,o=r.minimumFractionDigits,a=r.maximumFractionDigits,s=r.currency,l=r.currencyAsSymbol,c=void 0!==l&&l,u={minimumIntegerDigits:i,minimumFractionDigits:o,maximumFractionDigits:a,style:E[n].toLowerCase()};return n==E.Currency&&(u.currency="string"==typeof s?s:void 0,u.currencyDisplay=c?"symbol":"code"),new Intl.NumberFormat(e,u).format(t)},t}(),Mt=/((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/,It={yMMMdjms:zt(Ht([Bt("year",1),Ut("month",3),Bt("day",1),Bt("hour",1),Bt("minute",1),Bt("second",1)])),yMdjm:zt(Ht([Bt("year",1),Bt("month",1),Bt("day",1),Bt("hour",1),Bt("minute",1)])),yMMMMEEEEd:zt(Ht([Bt("year",1),Ut("month",4),Ut("weekday",4),Bt("day",1)])),yMMMMd:zt(Ht([Bt("year",1),Ut("month",4),Bt("day",1)])),yMMMd:zt(Ht([Bt("year",1),Ut("month",3),Bt("day",1)])),yMd:zt(Ht([Bt("year",1),Bt("month",1),Bt("day",1)])),jms:zt(Ht([Bt("hour",1),Bt("second",1),Bt("minute",1)])),jm:zt(Ht([Bt("hour",1),Bt("minute",1)]))},Rt={yyyy:zt(Bt("year",4)),yy:zt(Bt("year",2)),y:zt(Bt("year",1)),MMMM:zt(Ut("month",4)),MMM:zt(Ut("month",3)),MM:zt(Bt("month",2)),M:zt(Bt("month",1)),LLLL:zt(Ut("month",4)),L:zt(Ut("month",1)),dd:zt(Bt("day",2)),d:zt(Bt("day",1)),HH:Nt(Lt(zt(Vt(Bt("hour",2),!1)))),H:Lt(zt(Vt(Bt("hour",1),!1))),hh:Nt(Lt(zt(Vt(Bt("hour",2),!0)))),h:Lt(zt(Vt(Bt("hour",1),!0))),jj:zt(Bt("hour",2)),j:zt(Bt("hour",1)),mm:Nt(zt(Bt("minute",2))),m:zt(Bt("minute",1)),ss:Nt(zt(Bt("second",2))),s:zt(Bt("second",1)),sss:zt(Bt("second",3)),EEEE:zt(Ut("weekday",4)),EEE:zt(Ut("weekday",3)),EE:zt(Ut("weekday",2)),E:zt(Ut("weekday",1)),a:(Dt=zt(Vt(Bt("hour",1),!0)),function(t,e){return Dt(t,e).split(" ")[1]}),Z:Ft("short"),z:Ft("long"),ww:zt({}),w:zt({}),G:zt(Ut("era",1)),GG:zt(Ut("era",2)),GGG:zt(Ut("era",3)),GGGG:zt(Ut("era",4))};function Nt(r){return function(t,e){var n=r(t,e);return 1==n.length?"0"+n:n}}function Lt(n){return function(t,e){return n(t,e).split(" ")[0]}}function jt(t,e,n){return new Intl.DateTimeFormat(e,n).format(t).replace(/[\u200e\u200f]/g,"")}function Ft(t){var r={hour:"2-digit",hour12:!1,timeZoneName:t};return function(t,e){var n=jt(t,e,r);return n?n.substring(3):""}}function Vt(t,e){return t.hour12=e,t}function Bt(t,e){var n={};return n[t]=2===e?"2-digit":"numeric",n}function Ut(t,e){var n={};return n[t]=e<4?1<e?"short":"narrow":"long",n}function Ht(t){return t.reduce(function(t,e){return n({},t,e)},{})}function zt(n){return function(t,e){return jt(t,e,n)}}var Gt=new Map;var Wt=function(){function t(){}return t.format=function(t,e,n){return function(t,i,o){var e=It[t];if(e)return e(i,o);var n=t,r=Gt.get(n);if(!r){r=[];var a=void 0;Mt.exec(t);for(var s=t;s;)(a=Mt.exec(s))?s=(r=r.concat(a.slice(1))).pop():(r.push(s),s=null);Gt.set(n,r)}return r.reduce(function(t,e){var n,r=Rt[e];return t+(r?r(i,o):"''"===(n=e)?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'"))},"")}(n,t,e)},t}(),qt=function(){function l(t){this._locale=t}return l.prototype.transform=function(t,e){if(void 0===e&&(e="mediumDate"),null==t||""===t||t!=t)return null;var n;if("string"==typeof t&&(t=t.trim()),Yt(t))n=t;else if(isNaN(t-parseFloat(t)))if("string"==typeof t&&/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var r=t.split("-").map(function(t){return parseInt(t,10)}),i=r[0],o=r[1],a=r[2];n=new Date(i,o-1,a)}else n=new Date(t);else n=new Date(parseFloat(t));if(!Yt(n)){var s=void 0;if("string"!=typeof t||!(s=t.match(kt)))throw Et(l,t);n=Pt(s)}return Wt.format(n,this._locale,l._ALIASES[e]||e)},l._ALIASES={medium:"yMMMdjms",short:"yMdjm",fullDate:"yMMMMEEEEd",longDate:"yMMMMd",mediumDate:"yMMMd",shortDate:"yMd",mediumTime:"jms",shortTime:"jm"},l.decorators=[{type:o.Pipe,args:[{name:"date",pure:!0}]}],l.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},l}();function Yt(t){return t instanceof Date&&!isNaN(t.valueOf())}var $t=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Kt=22,Qt=".",Xt="0",Zt=";",Jt=",",te="#",ee="¤",ne="%";function re(t,e,n,r,i){void 0===i&&(i=null);var o,a={str:null},s=I(e,n);if("string"!=typeof t||isNaN(+t-parseFloat(t))){if("number"!=typeof t)return a.error=t+" is not a number",a;o=t}else o=+t;var l=function(t,e){void 0===e&&(e="-");var n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},r=t.split(Zt),i=r[0],o=r[1],a=-1!==i.indexOf(Qt)?i.split(Qt):[i.substring(0,i.lastIndexOf(Xt)+1),i.substring(i.lastIndexOf(Xt)+1)],s=a[0],l=a[1]||"";n.posPre=s.substr(0,s.indexOf(te));for(var c=0;c<l.length;c++){var u=l.charAt(c);u===Xt?n.minFrac=n.maxFrac=c+1:u===te?n.maxFrac=c+1:n.posSuf+=u}var p=s.split(Jt);if(n.gSize=p[1]?p[1].length:0,n.lgSize=p[2]||p[1]?(p[2]||p[1]).length:0,o){var d=i.length-n.posPre.length-n.posSuf.length,h=o.indexOf(te);n.negPre=o.substr(0,h).replace(/'/g,""),n.negSuf=o.substr(h+d).replace(/'/g,"")}else n.negPre=e+n.posPre,n.negSuf=n.posSuf;return n}(s,M(e,k.MinusSign)),c="",u=!1;if(isFinite(o)){var p=function(t){var e,n,r,i,o,a=Math.abs(t)+"",s=0;-1<(n=a.indexOf(Qt))&&(a=a.replace(Qt,""));0<(r=a.search(/e/i))?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length);for(r=0;a.charAt(r)===Xt;r++);if(r===(o=a.length))e=[0],n=1;else{for(o--;a.charAt(o)===Xt;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+a.charAt(r)}Kt<n&&(e=e.splice(0,Kt-1),s=n-1,n=1);return{digits:e,exponent:s,integerLen:n}}(o);n===E.Percent&&(p=function(t){if(0===t.digits[0])return t;var e=t.digits.length-t.integerLen;t.exponent?t.exponent+=2:(0===e?t.digits.push(0,0):1===e&&t.digits.push(0),t.integerLen+=2);return t}(p));var d=l.minInt,h=l.minFrac,f=l.maxFrac;if(r){var m=r.match($t);if(null===m)return a.error=r+" is not a valid digit info",a;var g=m[1],y=m[3],v=m[5];null!=g&&(d=ie(g)),null!=y&&(h=ie(y)),null!=v?f=ie(v):null!=y&&f<h&&(f=h)}!function(t,e,n){if(n<e)throw new Error("The minimum number of digits after fraction ("+e+") is higher than the maximum ("+n+").");var r=t.digits,i=r.length-t.integerLen,o=Math.min(Math.max(e,i),n),a=o+t.integerLen,s=r[a];if(0<a){r.splice(Math.max(t.integerLen,a));for(var l=a;l<r.length;l++)r[l]=0}else{i=Math.max(0,i),t.integerLen=1,r.length=Math.max(1,a=o+1),r[0]=0;for(var c=1;c<a;c++)r[c]=0}if(5<=s)if(a-1<0){for(var u=0;a<u;u--)r.unshift(0),t.integerLen++;r.unshift(1),t.integerLen++}else r[a-1]++;for(;i<Math.max(0,o);i++)r.push(0);var p=0!==o,d=e+t.integerLen,h=r.reduceRight(function(t,e,n,r){return e+=t,r[n]=e<10?e:e-10,p&&(0===r[n]&&d<=n?r.pop():p=!1),10<=e?1:0},0);h&&(r.unshift(h),t.integerLen++)}(p,h,f);var b=p.digits,_=p.integerLen,w=p.exponent,C=[];for(u=b.every(function(t){return!t});_<d;_++)b.unshift(0);for(;_<0;_++)b.unshift(0);0<_?C=b.splice(_,b.length):(C=b,b=[0]);var x=[];for(b.length>=l.lgSize&&x.unshift(b.splice(-l.lgSize,b.length).join(""));b.length>l.gSize;)x.unshift(b.splice(-l.gSize,b.length).join(""));b.length&&x.unshift(b.join(""));var S=i?k.CurrencyGroup:k.Group;if(c=x.join(M(e,S)),C.length)c+=M(e,i?k.CurrencyDecimal:k.Decimal)+C.join("");w&&(c+=M(e,k.Exponential)+"+"+w)}else c=M(e,k.Infinity);return c=o<0&&!u?l.negPre+c+l.negSuf:l.posPre+c+l.posSuf,n===E.Currency&&null!==i?a.str=c.replace(ee,i).replace(ee,""):n===E.Percent?a.str=c.replace(new RegExp(ne,"g"),M(e,k.PercentSign)):a.str=c,a}function ie(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}function oe(t,e,n,r,i,o,a){if(void 0===o&&(o=null),void 0===a&&(a=!1),null==n)return null;if("number"!=typeof(n="string"!=typeof n||isNaN(+n-parseFloat(n))?n:+n))throw Et(t,n);var s,l,c;if(r!==E.Currency&&(s=1,l=0,c=3),i){var u=i.match($t);if(null===u)throw new Error(i+" is not a valid digit info for number pipes");null!=u[1]&&(s=ie(u[1])),null!=u[3]&&(l=ie(u[3])),null!=u[5]&&(c=ie(u[5]))}return Tt.format(n,e,r,{minimumIntegerDigits:s,minimumFractionDigits:l,maximumFractionDigits:c,currency:o,currencyAsSymbol:a})}var ae=function(){function n(t){this._locale=t}return n.prototype.transform=function(t,e){return oe(n,this._locale,t,E.Decimal,e)},n.decorators=[{type:o.Pipe,args:[{name:"number"}]}],n.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},n}(),se=function(){function n(t){this._locale=t}return n.prototype.transform=function(t,e){return oe(n,this._locale,t,E.Percent,e)},n.decorators=[{type:o.Pipe,args:[{name:"percent"}]}],n.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},n}(),le=function(){function i(t){this._locale=t}return i.prototype.transform=function(t,e,n,r){return void 0===e&&(e="USD"),void 0===n&&(n=!1),oe(i,this._locale,t,E.Currency,r,e,n)},i.decorators=[{type:o.Pipe,args:[{name:"currency"}]}],i.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},i}(),ce=[ae,se,le,qt],ue=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),pe=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),de=new ue,he=function(){function e(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,o.WrappedValue.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var n=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(t){return n._updateLatestValue(e,t)})},e.prototype._selectStrategy=function(t){if(o.ɵisPromise(t))return pe;if(o.ɵisObservable(t))return de;throw Et(e,t)},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},e.decorators=[{type:o.Pipe,args:[{name:"async",pure:!1}]}],e.ctorParameters=function(){return[{type:o.ChangeDetectorRef}]},e}(),fe=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw Et(e,t);return t.toLowerCase()},e.decorators=[{type:o.Pipe,args:[{name:"lowercase"}]}],e.ctorParameters=function(){return[]},e}();var me=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw Et(e,t);return t.split(/\b/g).map(function(t){return(e=t)?e[0].toUpperCase()+e.substr(1).toLowerCase():e;var e}).join("")},e.decorators=[{type:o.Pipe,args:[{name:"titlecase"}]}],e.ctorParameters=function(){return[]},e}(),ge=function(){function e(){}return e.prototype.transform=function(t){if(!t)return t;if("string"!=typeof t)throw Et(e,t);return t.toUpperCase()},e.decorators=[{type:o.Pipe,args:[{name:"uppercase"}]}],e.ctorParameters=function(){return[]},e}(),ye=/#/g,ve=function(){function r(t){this._localization=t}return r.prototype.transform=function(t,e,n){if(null==t)return"";if("object"!=typeof e||null===e)throw Et(r,e);return e[G(t,Object.keys(e),this._localization,n)].replace(ye,t.toString())},r.decorators=[{type:o.Pipe,args:[{name:"i18nPlural",pure:!0}]}],r.ctorParameters=function(){return[{type:z}]},r}(),be=function(){function n(){}return n.prototype.transform=function(t,e){if(null==t)return"";if("object"!=typeof e||"string"!=typeof t)throw Et(n,e);return e.hasOwnProperty(t)?e[t]:e.hasOwnProperty("other")?e.other:""},n.decorators=[{type:o.Pipe,args:[{name:"i18nSelect",pure:!0}]}],n.ctorParameters=function(){return[]},n}(),_e=function(){function t(){}return t.prototype.transform=function(t){return JSON.stringify(t,null,2)},t.decorators=[{type:o.Pipe,args:[{name:"json",pure:!1}]}],t.ctorParameters=function(){return[]},t}(),we=function(){function a(t){this._locale=t}return a.prototype.transform=function(t,e,n){if(Se(t))return null;var r=re(t,n=n||this._locale,E.Decimal,e),i=r.str,o=r.error;if(o)throw Et(a,o);return i},a.decorators=[{type:o.Pipe,args:[{name:"number"}]}],a.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},a}(),Ce=function(){function a(t){this._locale=t}return a.prototype.transform=function(t,e,n){if(Se(t))return null;var r=re(t,n=n||this._locale,E.Percent,e),i=r.str,o=r.error;if(o)throw Et(a,o);return i},a.decorators=[{type:o.Pipe,args:[{name:"percent"}]}],a.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},a}(),xe=function(){function c(t){this._locale=t}return c.prototype.transform=function(t,e,n,r,i){if(void 0===n&&(n="symbol"),Se(t))return null;i=i||this._locale,"boolean"==typeof n&&(console&&console.warn&&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?"symbol":"code");var o=e||"USD";"code"!==n&&(o=U(o,"symbol"===n?"wide":"narrow"));var a=re(t,i,E.Currency,r,o),s=a.str,l=a.error;if(l)throw Et(c,l);return s},c.decorators=[{type:o.Pipe,args:[{name:"currency"}]}],c.ctorParameters=function(){return[{type:void 0,decorators:[{type:o.Inject,args:[o.LOCALE_ID]}]}]},c}();function Se(t){return null==t||""===t||t!=t}var Ee=function(){function r(){}return r.prototype.transform=function(t,e,n){if(null==t)return t;if(!this.supports(t))throw Et(r,t);return t.slice(e,n)},r.prototype.supports=function(t){return"string"==typeof t||Array.isArray(t)},r.decorators=[{type:o.Pipe,args:[{name:"slice",pure:!1}]}],r.ctorParameters=function(){return[]},r}(),ke=[he,ge,fe,_e,Ee,we,Ce,me,xe,Ot,ve,be],Oe=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{declarations:[lt,ke],exports:[lt,ke],providers:[{provide:z,useClass:W}]}]}],t.ctorParameters=function(){return[]},t}(),Pe=q,Ae=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{declarations:[ce],exports:[ce],providers:[{provide:H,useValue:Pe}]}]}],t.ctorParameters=function(){return[]},t}(),De=new o.InjectionToken("DocumentToken"),Te="browser",Me="server",Ie="browserWorkerApp",Re="browserWorkerUi";var Ne=new o.Version("5.2.8");t.ɵregisterLocaleData=g,t.NgLocaleLocalization=W,t.NgLocalization=z,t.registerLocaleData=g,t.Plural=y,t.NumberFormatStyle=E,t.FormStyle=v,t.TranslationWidth=b,t.FormatWidth=_,t.NumberSymbol=k,t.WeekDay=w,t.getCurrencySymbol=U,t.getLocaleDayPeriods=x,t.getLocaleDayNames=S,t.getLocaleMonthNames=O,t.getLocaleId=C,t.getLocaleEraNames=P,t.getLocaleWeekEndRange=function(t){return B(t)[9]},t.getLocaleFirstDayOfWeek=function(t){return B(t)[8]},t.getLocaleDateFormat=A,t.getLocaleDateTimeFormat=T,t.getLocaleExtraDayPeriodRules=L,t.getLocaleExtraDayPeriods=j,t.getLocalePluralCase=R,t.getLocaleTimeFormat=D,t.getLocaleNumberSymbol=M,t.getLocaleNumberFormat=I,t.getLocaleCurrencyName=function(t){return B(t)[16]||null},t.getLocaleCurrencySymbol=function(t){return B(t)[15]||null},t.ɵparseCookieValue=function(t,e){e=encodeURIComponent(e);for(var n=0,r=t.split(";");n<r.length;n++){var i=r[n],o=i.indexOf("="),a=-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],s=a[1];if(a[0].trim()===e)return decodeURIComponent(s)}return null},t.CommonModule=Oe,t.DeprecatedI18NPipesModule=Ae,t.NgClass=Y,t.NgForOf=Q,t.NgForOfContext=K,t.NgIf=Z,t.NgIfContext=J,t.NgPlural=it,t.NgPluralCase=ot,t.NgStyle=at,t.NgSwitch=et,t.NgSwitchCase=nt,t.NgSwitchDefault=rt,t.NgTemplateOutlet=st,t.NgComponentOutlet=$,t.DOCUMENT=De,t.AsyncPipe=he,t.DatePipe=Ot,t.I18nPluralPipe=ve,t.I18nSelectPipe=be,t.JsonPipe=_e,t.LowerCasePipe=fe,t.CurrencyPipe=xe,t.DecimalPipe=we,t.PercentPipe=Ce,t.SlicePipe=Ee,t.UpperCasePipe=ge,t.TitleCasePipe=me,t.DeprecatedDatePipe=qt,t.DeprecatedCurrencyPipe=le,t.DeprecatedDecimalPipe=ae,t.DeprecatedPercentPipe=se,t.ɵPLATFORM_BROWSER_ID=Te,t.ɵPLATFORM_SERVER_ID=Me,t.ɵPLATFORM_WORKER_APP_ID=Ie,t.ɵPLATFORM_WORKER_UI_ID=Re,t.isPlatformBrowser=function(t){return t===Te},t.isPlatformServer=function(t){return t===Me},t.isPlatformWorkerApp=function(t){return t===Ie},t.isPlatformWorkerUi=function(t){return t===Re},t.VERSION=Ne,t.PlatformLocation=i,t.LOCATION_INITIALIZED=a,t.LocationStrategy=s,t.APP_BASE_HREF=l,t.HashLocationStrategy=p,t.PathLocationStrategy=d,t.Location=c,t.ɵe=lt,t.ɵd=B,t.ɵa=H,t.ɵb=q,t.ɵg=ce,t.ɵf=ke,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core")):i((r.ng=r.ng||{},r.ng.common={}),r.ng.core)},{"@angular/core":64}],63:[function(t,e,n){var r;r=this,function(t){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function f(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var m=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t};var c=T("Inject",function(t){return{token:t}}),u=T("InjectionToken",function(t){return{_desc:t}});var p=T("Attribute",function(t){return{attributeName:t}});var e=T("ContentChildren",function(t,e){return void 0===e&&(e={}),m({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)}),n=T("ContentChild",function(t,e){return void 0===e&&(e={}),m({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)}),i=T("ViewChildren",function(t,e){return void 0===e&&(e={}),m({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)}),o=T("ViewChild",function(t,e){return m({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)});var d=T("Directive",function(t){return void 0===t&&(t={}),t});var v={Emulated:0,Native:1,None:2};v[v.Emulated]="Emulated",v[v.Native]="Native",v[v.None]="None";var h={OnPush:0,Default:1};h[h.OnPush]="OnPush",h[h.Default]="Default";var g=T("Component",function(t){return void 0===t&&(t={}),m({changeDetection:h.Default},t)});var a=T("Pipe",function(t){return m({pure:!0},t)});var y=T("Input",function(t){return{bindingPropertyName:t}});var b=T("Output",function(t){return{bindingPropertyName:t}});var _=T("HostBinding",function(t){return{hostPropertyName:t}});var w=T("HostListener",function(t,e){return{eventName:t,args:e}});var s=T("NgModule",function(t){return t});var l={name:"custom-elements"},C={name:"no-errors-schema"},x=T("Optional"),S=T("Injectable"),E=T("Self"),k=T("SkipSelf"),O=T("Host"),P=Function,A={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};A[A.NONE]="NONE",A[A.HTML]="HTML",A[A.STYLE]="STYLE",A[A.SCRIPT]="SCRIPT",A[A.URL]="URL",A[A.RESOURCE_URL]="RESOURCE_URL";var D={Error:0,Warning:1,Ignore:2};function T(r,i){var t=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=i?i.apply(void 0,t):{};return m({ngMetadataName:r},n)};return t.isTypeOf=function(t){return t&&t.ngMetadataName===r},t.ngMetadataName=r,t}D[D.Error]="Error",D[D.Warning]="Warning",D[D.Ignore]="Ignore";var M=Object.freeze({Inject:function(){},createInject:c,createInjectionToken:u,Attribute:function(){},createAttribute:p,Query:function(){},createContentChildren:e,createContentChild:n,createViewChildren:i,createViewChild:o,Directive:function(){},createDirective:d,Component:function(){},ViewEncapsulation:v,ChangeDetectionStrategy:h,createComponent:g,Pipe:function(){},createPipe:a,Input:function(){},createInput:y,Output:function(){},createOutput:b,HostBinding:function(){},createHostBinding:_,HostListener:function(){},createHostListener:w,NgModule:function(){},createNgModule:s,ModuleWithProviders:function(){},SchemaMetadata:function(){},CUSTOM_ELEMENTS_SCHEMA:l,NO_ERRORS_SCHEMA:C,createOptional:x,createInjectable:S,createSelf:E,createSkipSelf:k,createHost:O,Type:P,SecurityContext:A,NodeFlags:{None:0,TypeElement:1,TypeText:2,ProjectedTemplate:4,CatRenderNode:3,TypeNgContent:8,TypePipe:16,TypePureArray:32,TypePureObject:64,TypePurePipe:128,CatPureExpression:224,TypeValueProvider:256,TypeClassProvider:512,TypeFactoryProvider:1024,TypeUseExistingProvider:2048,LazyProvider:4096,PrivateProvider:8192,TypeDirective:16384,Component:32768,CatProviderNoDirective:3840,CatProvider:20224,OnInit:65536,OnDestroy:131072,DoCheck:262144,OnChanges:524288,AfterContentInit:1048576,AfterContentChecked:2097152,AfterViewInit:4194304,AfterViewChecked:8388608,EmbeddedViews:16777216,ComponentView:33554432,TypeContentQuery:67108864,TypeViewQuery:134217728,StaticQuery:268435456,DynamicQuery:536870912,CatQuery:201326592,Types:201347067},DepFlags:{None:0,SkipSelf:1,Optional:2,Value:8},ArgumentType:{Inline:0,Dynamic:1},BindingFlags:{TypeElementAttribute:1,TypeElementClass:2,TypeElementStyle:4,TypeProperty:8,SyntheticProperty:16,SyntheticHostProperty:32,CatSyntheticProperty:48,Types:15},QueryBindingType:{First:0,All:1},QueryValueType:{ElementRef:0,RenderElement:1,TemplateRef:2,ViewContainerRef:3,Provider:4},ViewFlags:{None:0,OnPush:2},MissingTranslationStrategy:D,MetadataFactory:function(){},Route:function(){}}),I=/-+([a-z0-9])/g;function R(t,e){return N(t,":",e)}function N(t,e,n){var r=t.indexOf(e);return-1==r?n:[t.slice(0,r).trim(),t.slice(r+1).trim()]}function L(t,e,n){return Array.isArray(t)?e.visitArray(t,n):"object"==typeof(r=t)&&null!==r&&Object.getPrototypeOf(r)===Y?e.visitStringMap(t,n):null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t?e.visitPrimitive(t,n):e.visitOther(t,n);var r}function j(t){return null!=t}function F(t){return void 0===t?null:t}var V=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return L(t,n,e)})},t.prototype.visitStringMap=function(e,n){var r=this,i={};return Object.keys(e).forEach(function(t){i[t]=L(e[t],r,n)}),i},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),B=function(t){if(X(t))throw new Error("Illegal state: value cannot be a promise");return t},U=function(t,e){return X(t)?t.then(e):e(t)},H=function(t){return t.some(X)?Promise.all(t):t};function z(t,e){var n=Error(t);return n[G]=!0,e&&(n[W]=e),n}var G="ngSyntaxError",W="ngParseErrors";function q(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var Y=Object.getPrototypeOf({});function $(t){for(var e="",n=0;n<t.length;n++){var r=t.charCodeAt(n);if(55296<=r&&r<=56319&&t.length>n+1){var i=t.charCodeAt(n+1);56320<=i&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?e+=String.fromCharCode(r):r<=2047?e+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?e+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(e+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return e}function K(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(K).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Q(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")?t():t}function X(t){return!!t&&"function"==typeof t.then}var Z=function(t){var e=(this.full=t).split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")},J=new Z("5.2.8"),tt=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),et=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),nt=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),rt=function(){function t(t,e,n,r,i,o){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.isAnimation=this.type===ft.Animation}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},t}(),it=function(){function o(t,e,n,r,i){this.name=t,this.target=e,this.phase=n,this.handler=r,this.sourceSpan=i,this.fullName=o.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}return o.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},o.prototype.visit=function(t,e){return t.visitEvent(this,e)},o}(),ot=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),at=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),st=function(){function t(t,e,n,r,i,o,a,s,l,c,u,p,d){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=a,this.hasViewContainer=s,this.queryMatches=l,this.children=c,this.ngContentIndex=u,this.sourceSpan=p,this.endSourceSpan=d}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),lt=function(){function t(t,e,n,r,i,o,a,s,l,c,u){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=a,this.queryMatches=s,this.children=l,this.ngContentIndex=c,this.sourceSpan=u}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),ct=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),ut=function(){function t(t,e,n,r,i,o){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}(),pt=function(){function t(t,e,n,r,i,o,a){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=a}return t.prototype.visit=function(t,e){return null},t}(),dt={PublicService:0,PrivateService:1,Component:2,Directive:3,Builtin:4};dt[dt.PublicService]="PublicService",dt[dt.PrivateService]="PrivateService",dt[dt.Component]="Component",dt[dt.Directive]="Directive",dt[dt.Builtin]="Builtin";var ht=function(){function t(t,e,n){this.index=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitNgContent(this,e)},t}(),ft={Property:0,Attribute:1,Class:2,Style:3,Animation:4};ft[ft.Property]="Property",ft[ft.Attribute]="Attribute",ft[ft.Class]="Class",ft[ft.Style]="Style",ft[ft.Animation]="Animation";var mt=function(){function t(){}return t.prototype.visitNgContent=function(t,e){},t.prototype.visitEmbeddedTemplate=function(t,e){},t.prototype.visitElement=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t.prototype.visitBoundText=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t}(),gt=function(t){function e(){return t.call(this)||this}return f(e,t),e.prototype.visitEmbeddedTemplate=function(e,t){return this.visitChildren(t,function(t){t(e.attrs),t(e.references),t(e.variables),t(e.directives),t(e.providers),t(e.children)})},e.prototype.visitElement=function(e,t){return this.visitChildren(t,function(t){t(e.attrs),t(e.inputs),t(e.outputs),t(e.references),t(e.directives),t(e.providers),t(e.children)})},e.prototype.visitDirective=function(e,t){return this.visitChildren(t,function(t){t(e.inputs),t(e.hostProperties),t(e.hostEvents)})},e.prototype.visitChildren=function(e,t){var n=[],r=this;return t(function(t){t&&t.length&&n.push(yt(r,t,e))}),[].concat.apply([],n)},e}(mt);function yt(e,t,n){void 0===n&&(n=null);var r=[],i=e.visit?function(t){return e.visit(t,n)||t.visit(e,n)}:function(t){return t.visit(e,n)};return t.forEach(function(t){var e=i(t);e&&r.push(e)}),r}var vt=function(t){var e=void 0===t?{}:t,n=e.defaultEncapsulation,r=void 0===n?v.Emulated:n,i=e.useJit,o=void 0===i||i,a=e.jitDevMode,s=void 0!==a&&a,l=e.missingTranslation,c=void 0===l?null:l,u=e.enableLegacyTemplate,p=e.preserveWhitespaces,d=e.strictInjectionParameters;this.defaultEncapsulation=r,this.useJit=!!o,this.jitDevMode=!!s,this.missingTranslation=c,this.enableLegacyTemplate=!0===u,this.preserveWhitespaces=bt(F(p)),this.strictInjectionParameters=!0===d};function bt(t,e){return void 0===e&&(e=!0),null===t?e:t}var _t=function(){function t(t,e,n){this.filePath=t,this.name=e,this.members=n}return t.prototype.assertNoMembers=function(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got "+JSON.stringify(this)+".")},t}(),wt=function(){function t(){this.cache=new Map}return t.prototype.get=function(t,e,n){var r='"'+t+'".'+e+((n=n||[]).length?"."+n.join("."):""),i=this.cache.get(r);return i||(i=new _t(t,e,n),this.cache.set(r,i)),i},t}(),Ct=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function xt(t){return t.replace(/\W/g,"_")}var St=0;function Et(t){if(!t||!t.reference)return null;var e=t.reference;if(e instanceof _t)return e.name;if(e.__anonymousType)return e.__anonymousType;var n=K(e);return 0<=n.indexOf("(")?(n="anonymous_"+St++,e.__anonymousType=n):n=xt(n),n}function kt(t){var e=t.reference;return e instanceof _t?e.filePath:"./"+K(e)}function Ot(t,e){return"View_"+Et({reference:t})+"_"+e}function Pt(t){return"RenderType_"+Et({reference:t})}function At(t){return"HostView_"+Et({reference:t})}function Dt(t){return Et({reference:t})+"NgFactory"}var Tt={Pipe:0,Directive:1,NgModule:2,Injectable:3};function Mt(t){return null!=t.value?xt(t.value):Et(t.identifier)}function It(t){return null!=t.identifier?t.identifier.reference:t.value}Tt[Tt.Pipe]="Pipe",Tt[Tt.Directive]="Directive",Tt[Tt.NgModule]="NgModule",Tt[Tt.Injectable]="Injectable";var Rt=function(t){var e=void 0===t?{}:t,n=e.moduleUrl,r=e.styles,i=e.styleUrls;this.moduleUrl=n||null,this.styles=Bt(r),this.styleUrls=Bt(i)},Nt=function(){function t(t){var e=t.encapsulation,n=t.template,r=t.templateUrl,i=t.htmlAst,o=t.styles,a=t.styleUrls,s=t.externalStylesheets,l=t.animations,c=t.ngContentSelectors,u=t.interpolation,p=t.isInline,d=t.preserveWhitespaces;if(this.encapsulation=e,this.template=n,this.templateUrl=r,this.htmlAst=i,this.styles=Bt(o),this.styleUrls=Bt(a),this.externalStylesheets=Bt(s),this.animations=l?Ht(l):[],this.ngContentSelectors=c||[],u&&2!=u.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=u,this.isInline=p,this.preserveWhitespaces=d}return t.prototype.toSummary=function(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation}},t}(),Lt=function(){function E(t){var e=t.isHost,n=t.type,r=t.isComponent,i=t.selector,o=t.exportAs,a=t.changeDetection,s=t.inputs,l=t.outputs,c=t.hostListeners,u=t.hostProperties,p=t.hostAttributes,d=t.providers,h=t.viewProviders,f=t.queries,m=t.guards,g=t.viewQueries,y=t.entryComponents,v=t.template,b=t.componentViewType,_=t.rendererType,w=t.componentFactory;this.isHost=!!e,this.type=n,this.isComponent=r,this.selector=i,this.exportAs=o,this.changeDetection=a,this.inputs=s,this.outputs=l,this.hostListeners=c,this.hostProperties=u,this.hostAttributes=p,this.providers=Bt(d),this.viewProviders=Bt(h),this.queries=Bt(f),this.guards=m,this.viewQueries=Bt(g),this.entryComponents=Bt(y),this.template=v,this.componentViewType=b,this.rendererType=_,this.componentFactory=w}return E.create=function(t){var e=t.isHost,n=t.type,r=t.isComponent,i=t.selector,o=t.exportAs,a=t.changeDetection,s=t.inputs,l=t.outputs,c=t.host,u=t.providers,p=t.viewProviders,d=t.queries,h=t.guards,f=t.viewQueries,m=t.entryComponents,g=t.template,y=t.componentViewType,v=t.rendererType,b=t.componentFactory,_={},w={},C={};null!=c&&Object.keys(c).forEach(function(t){var e=c[t],n=t.match(Ct);null===n?C[t]=e:null!=n[1]?w[n[1]]=e:null!=n[2]&&(_[n[2]]=e)});var x={};null!=s&&s.forEach(function(t){var e=R(t,[t,t]);x[e[0]]=e[1]});var S={};return null!=l&&l.forEach(function(t){var e=R(t,[t,t]);S[e[0]]=e[1]}),new E({isHost:e,type:n,isComponent:!!r,selector:i,exportAs:o,changeDetection:a,inputs:x,outputs:S,hostListeners:_,hostProperties:w,hostAttributes:C,providers:u,viewProviders:p,queries:d,guards:h,viewQueries:f,entryComponents:m,template:g,componentViewType:y,rendererType:v,componentFactory:b})},E.prototype.toSummary=function(){return{summaryKind:Tt.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}},E}(),jt=function(){function t(t){var e=t.type,n=t.name,r=t.pure;this.type=e,this.name=n,this.pure=!!r}return t.prototype.toSummary=function(){return{summaryKind:Tt.Pipe,type:this.type,name:this.name,pure:this.pure}},t}(),Ft=function(){function t(t){var e=t.type,n=t.providers,r=t.declaredDirectives,i=t.exportedDirectives,o=t.declaredPipes,a=t.exportedPipes,s=t.entryComponents,l=t.bootstrapComponents,c=t.importedModules,u=t.exportedModules,p=t.schemas,d=t.transitiveModule,h=t.id;this.type=e||null,this.declaredDirectives=Bt(r),this.exportedDirectives=Bt(i),this.declaredPipes=Bt(o),this.exportedPipes=Bt(a),this.providers=Bt(n),this.entryComponents=Bt(s),this.bootstrapComponents=Bt(l),this.importedModules=Bt(c),this.exportedModules=Bt(u),this.schemas=Bt(p),this.id=h||null,this.transitiveModule=d||null}return t.prototype.toSummary=function(){var t=this.transitiveModule;return{summaryKind:Tt.NgModule,type:this.type,entryComponents:t.entryComponents,providers:t.providers,modules:t.modules,exportedDirectives:t.exportedDirectives,exportedPipes:t.exportedPipes}},t}(),Vt=function(){function t(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}return t.prototype.addProvider=function(t,e){this.providers.push({provider:t,module:e})},t.prototype.addDirective=function(t){this.directivesSet.has(t.reference)||(this.directivesSet.add(t.reference),this.directives.push(t))},t.prototype.addExportedDirective=function(t){this.exportedDirectivesSet.has(t.reference)||(this.exportedDirectivesSet.add(t.reference),this.exportedDirectives.push(t))},t.prototype.addPipe=function(t){this.pipesSet.has(t.reference)||(this.pipesSet.add(t.reference),this.pipes.push(t))},t.prototype.addExportedPipe=function(t){this.exportedPipesSet.has(t.reference)||(this.exportedPipesSet.add(t.reference),this.exportedPipes.push(t))},t.prototype.addModule=function(t){this.modulesSet.has(t.reference)||(this.modulesSet.add(t.reference),this.modules.push(t))},t.prototype.addEntryComponent=function(t){this.entryComponentsSet.has(t.componentType)||(this.entryComponentsSet.add(t.componentType),this.entryComponents.push(t))},t}();function Bt(t){return t||[]}var Ut=function(t,e){var n=e.useClass,r=e.useValue,i=e.useExisting,o=e.useFactory,a=e.deps,s=e.multi;this.token=t,this.useClass=n||null,this.useValue=r,this.useExisting=i,this.useFactory=o||null,this.dependencies=a||null,this.multi=!!s};function Ht(t){return t.reduce(function(t,e){var n=Array.isArray(e)?Ht(e):e;return t.concat(n)},[])}function zt(t){return t.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function Gt(t,e,n){var r;return r=n.isInline?e.type.reference instanceof _t?e.type.reference.filePath+"."+e.type.reference.name+".html":Et(t)+"/"+Et(e.type)+".html":n.templateUrl,e.type.reference instanceof _t?r:zt(r)}function Wt(t,e){var n=t.moduleUrl.split(/\/\\/g);return zt("css/"+e+n[n.length-1]+".ngstyle.js")}function qt(t){return zt(Et(t.type)+"/module.ngfactory.js")}function Yt(t,e){return zt(Et(t)+"/"+Et(e.type)+".ngfactory.js")}var $t=function(){function t(t,e){void 0===e&&(e=-1),this.path=t,this.position=e}return Object.defineProperty(t.prototype,"empty",{get:function(){return!this.path||!this.path.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"head",{get:function(){return this.path[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tail",{get:function(){return this.path[this.path.length-1]},enumerable:!0,configurable:!0}),t.prototype.parentOf=function(t){return t&&this.path[this.path.indexOf(t)-1]},t.prototype.childOf=function(t){return this.path[this.path.indexOf(t)+1]},t.prototype.first=function(t){for(var e=this.path.length-1;0<=e;e--){var n=this.path[e];if(n instanceof t)return n}},t.prototype.push=function(t){this.path.push(t)},t.prototype.pop=function(){return this.path.pop()},t}(),Kt=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),Qt=function(){function t(t,e,n,r,i){this.switchValue=t,this.type=e,this.cases=n,this.sourceSpan=r,this.switchValueSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansion(this,e)},t}(),Xt=function(){function t(t,e,n,r,i){this.value=t,this.expression=e,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=i}return t.prototype.visit=function(t,e){return t.visitExpansionCase(this,e)},t}(),Zt=function(){function t(t,e,n,r){this.name=t,this.value=e,this.sourceSpan=n,this.valueSpan=r}return t.prototype.visit=function(t,e){return t.visitAttribute(this,e)},t}(),Jt=function(){function t(t,e,n,r,i,o){void 0===i&&(i=null),void 0===o&&(o=null),this.name=t,this.attrs=e,this.children=n,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=o}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),te=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitComment(this,e)},t}();function ee(e,t,n){void 0===n&&(n=null);var r=[],i=e.visit?function(t){return e.visit(t,n)||t.visit(e,n)}:function(t){return t.visit(e,n)};return t.forEach(function(t){var e=i(t);e&&r.push(e)}),r}var ne=function(){function t(){}return t.prototype.visitElement=function(e,t){this.visitChildren(t,function(t){t(e.attrs),t(e.children)})},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(e,t){return this.visitChildren(t,function(t){t(e.cases)})},t.prototype.visitExpansionCase=function(t,e){},t.prototype.visitChildren=function(e,t){var n=[],r=this;return t(function(t){t&&n.push(ee(r,t,e))}),[].concat.apply([],n)},t}();function re(t,e){if(null!=e){if(!Array.isArray(e))throw new Error("Expected '"+t+"' to be an array of strings.");for(var n=0;n<e.length;n+=1)if("string"!=typeof e[n])throw new Error("Expected '"+t+"' to be an array of strings.")}}var ie=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function oe(t,e){if(!(null==e||Array.isArray(e)&&2==e.length))throw new Error("Expected '"+t+"' to be an array, [start, end].");if(null!=e){var n=e[0],r=e[1];ie.forEach(function(t){if(t.test(n)||t.test(r))throw new Error("['"+n+"', '"+r+"'] contains unusable interpolation symbol.")})}}var ae=function(){function e(t,e){this.start=t,this.end=e}return e.fromArray=function(t){return t?(oe("interpolation",t),new e(t[0],t[1])):se},e}(),se=new ae("{{","}}"),le=function(t,e){this.style=t,this.styleUrls=e};function ce(t){if(null==t||0===t.length||"/"==t[0])return!1;var e=t.match(de);return null===e||"package"==e[1]||"asset"==e[1]}var ue=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,pe=/\/\*(?!#\s*(?:sourceURL|sourceMappingURL)=)[\s\S]+?\*\//g,de=/^([^:/?#]+):/,he={RAW_TEXT:0,ESCAPABLE_RAW_TEXT:1,PARSABLE_DATA:2};function fe(t){if(":"!=t[0])return[null,t];var e=t.indexOf(":",1);if(-1==e)throw new Error('Unsupported format "'+t+'" expecting ":namespace:name"');return[t.slice(1,e),t.slice(e+1)]}function me(t){return"ng-container"===fe(t)[1]}function ge(t){return"ng-content"===fe(t)[1]}function ye(t){return"ng-template"===fe(t)[1]}function ve(t){return null===t?null:fe(t)[0]}function be(t,e){return t?":"+t+":"+e:e}he[he.RAW_TEXT]="RAW_TEXT",he[he.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",he[he.PARSABLE_DATA]="PARSABLE_DATA";var _e={Aacute:"Ã",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à ",alefsym:"ℵ",Alpha:"Α",alpha:"α",amp:"&",and:"∧",ang:"∠",apos:"'",Aring:"Ã…",aring:"Ã¥",asymp:"≈",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",bdquo:"„",Beta:"Î’",beta:"β",brvbar:"¦",bull:"•",cap:"∩",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",Chi:"Χ",chi:"χ",circ:"ˆ",clubs:"♣",cong:"≅",copy:"©",crarr:"↵",cup:"∪",curren:"¤",dagger:"†",Dagger:"‡",darr:"↓",dArr:"⇓",deg:"°",Delta:"Δ",delta:"δ",diams:"♦",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",empty:"∅",emsp:" ",ensp:" ",Epsilon:"Ε",epsilon:"ε",equiv:"≡",Eta:"Η",eta:"η",ETH:"Ã",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",exist:"∃",fnof:"Æ’",forall:"∀",frac12:"½",frac14:"¼",frac34:"¾",frasl:"â„",Gamma:"Γ",gamma:"γ",ge:"≥",gt:">",harr:"↔",hArr:"⇔",hearts:"♥",hellip:"…",Iacute:"Ã",iacute:"Ã",Icirc:"ÃŽ",icirc:"î",iexcl:"¡",Igrave:"ÃŒ",igrave:"ì",image:"â„‘",infin:"∞",int:"∫",Iota:"Ι",iota:"ι",iquest:"¿",isin:"∈",Iuml:"Ã",iuml:"ï",Kappa:"Κ",kappa:"κ",Lambda:"Λ",lambda:"λ",lang:"⟨",laquo:"«",larr:"â†",lArr:"â‡",lceil:"⌈",ldquo:"“",le:"≤",lfloor:"⌊",lowast:"∗",loz:"â—Š",lrm:"‎",lsaquo:"‹",lsquo:"‘",lt:"<",macr:"¯",mdash:"—",micro:"µ",middot:"·",minus:"−",Mu:"Îœ",mu:"μ",nabla:"∇",nbsp:" ",ndash:"–",ne:"≠",ni:"∋",not:"¬",notin:"∉",nsub:"⊄",Ntilde:"Ñ",ntilde:"ñ",Nu:"Î",nu:"ν",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",OElig:"Å’",oelig:"Å“",Ograve:"Ã’",ograve:"ò",oline:"‾",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",oplus:"⊕",or:"∨",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",otimes:"⊗",Ouml:"Ö",ouml:"ö",para:"¶",permil:"‰",perp:"⊥",Phi:"Φ",phi:"φ",Pi:"Î ",pi:"Ï€",piv:"Ï–",plusmn:"±",pound:"£",prime:"′",Prime:"″",prod:"âˆ",prop:"âˆ",Psi:"Ψ",psi:"ψ",quot:'"',radic:"√",rang:"⟩",raquo:"»",rarr:"→",rArr:"⇒",rceil:"⌉",rdquo:"â€",real:"â„œ",reg:"®",rfloor:"⌋",Rho:"Ρ",rho:"Ï",rlm:"â€",rsaquo:"›",rsquo:"’",sbquo:"‚",Scaron:"Å ",scaron:"Å¡",sdot:"â‹…",sect:"§",shy:"Â",Sigma:"Σ",sigma:"σ",sigmaf:"Ï‚",sim:"∼",spades:"â™ ",sub:"⊂",sube:"⊆",sum:"∑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supe:"⊇",szlig:"ß",Tau:"Τ",tau:"Ï„",there4:"∴",Theta:"Θ",theta:"θ",thetasym:"Ï‘",thinsp:" ",THORN:"Þ",thorn:"þ",tilde:"Ëœ",times:"×",trade:"â„¢",Uacute:"Ú",uacute:"ú",uarr:"↑",uArr:"⇑",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",upsih:"Ï’",Upsilon:"Î¥",upsilon:"Ï…",Uuml:"Ãœ",uuml:"ü",weierp:"℘",Xi:"Ξ",xi:"ξ",Yacute:"Ã",yacute:"ý",yen:"Â¥",yuml:"ÿ",Yuml:"Ÿ",Zeta:"Ζ",zeta:"ζ",zwj:"â€",zwnj:"‌"},we="";_e.ngsp=we;var Ce="select",xe="link",Se="rel",Ee="href",ke="stylesheet",Oe="style",Pe="script",Ae="ngNonBindable",De="ngProjectAs";function Te(t){var n=null,r=null,i=null,o=!1,a=null;t.attrs.forEach(function(t){var e=t.name.toLowerCase();e==Ce?n=t.value:e==Ee?r=t.value:e==Se?i=t.value:t.name==Ae?o=!0:t.name==De&&0<t.value.length&&(a=t.value)}),n=function(t){if(null===t||0===t.length)return"*";return t}(n);var e=t.name.toLowerCase(),s=Me.OTHER;return ge(e)?s=Me.NG_CONTENT:e==Oe?s=Me.STYLE:e==Pe?s=Me.SCRIPT:e==xe&&i==ke&&(s=Me.STYLESHEET),new Ie(s,n,r,o,a)}var Me={NG_CONTENT:0,STYLE:1,STYLESHEET:2,SCRIPT:3,OTHER:4};Me[Me.NG_CONTENT]="NG_CONTENT",Me[Me.STYLE]="STYLE",Me[Me.STYLESHEET]="STYLESHEET",Me[Me.SCRIPT]="SCRIPT",Me[Me.OTHER]="OTHER";var Ie=function(t,e,n,r,i){this.type=t,this.selectAttr=e,this.hrefAttr=n,this.nonBindable=r,this.projectAs=i};var Re=function(){function t(t,e,n,r){this._resourceLoader=t,this._urlResolver=e,this._htmlParser=n,this._config=r,this._resourceLoaderCache=new Map}return t.prototype.clearCache=function(){this._resourceLoaderCache.clear()},t.prototype.clearCacheFor=function(t){var e=this;if(t.isComponent){var n=t.template;this._resourceLoaderCache.delete(n.templateUrl),n.externalStylesheets.forEach(function(t){e._resourceLoaderCache.delete(t.moduleUrl)})}},t.prototype._fetch=function(t){var e=this._resourceLoaderCache.get(t);return e||(e=this._resourceLoader.get(t),this._resourceLoaderCache.set(t,e)),e},t.prototype.normalizeTemplate=function(e){var n=this;if(j(e.template)){if(j(e.templateUrl))throw z("'"+K(e.componentType)+"' component cannot define both template and templateUrl");if("string"!=typeof e.template)throw z("The template specified for component "+K(e.componentType)+" is not a string")}else{if(!j(e.templateUrl))throw z("No template specified for component "+K(e.componentType));if("string"!=typeof e.templateUrl)throw z("The templateUrl specified for component "+K(e.componentType)+" is not a string")}if(j(e.preserveWhitespaces)&&"boolean"!=typeof e.preserveWhitespaces)throw z("The preserveWhitespaces option for component "+K(e.componentType)+" must be a boolean");return U(this._preParseTemplate(e),function(t){return n._normalizeTemplateMetadata(e,t)})},t.prototype._preParseTemplate=function(e){var t,n,r=this;return null!=e.template?(t=e.template,n=e.moduleUrl):(n=this._urlResolver.resolve(e.moduleUrl,e.templateUrl),t=this._fetch(n)),U(t,function(t){return r._preparseLoadedTemplate(e,t,n)})},t.prototype._preparseLoadedTemplate=function(t,e,n){var r=!!t.template,i=ae.fromArray(t.interpolation),o=this._htmlParser.parse(e,Gt({reference:t.ngModuleType},{type:{reference:t.componentType}},{isInline:r,templateUrl:n}),!0,i);if(0<o.errors.length)throw z("Template parse errors:\n"+o.errors.join("\n"));var a=this._normalizeStylesheet(new Rt({styles:t.styles,moduleUrl:t.moduleUrl})),s=new Ne;ee(s,o.rootNodes);var l=this._normalizeStylesheet(new Rt({styles:s.styles,styleUrls:s.styleUrls,moduleUrl:n}));return{template:e,templateUrl:n,isInline:r,htmlAst:o,styles:a.styles.concat(l.styles),inlineStyleUrls:a.styleUrls.concat(l.styleUrls),styleUrls:this._normalizeStylesheet(new Rt({styleUrls:t.styleUrls,moduleUrl:t.moduleUrl})).styleUrls,ngContentSelectors:s.ngContentSelectors}},t.prototype._normalizeTemplateMetadata=function(e,n){var r=this;return U(this._loadMissingExternalStylesheets(n.styleUrls.concat(n.inlineStyleUrls)),function(t){return r._normalizeLoadedTemplateMetadata(e,n,t)})},t.prototype._normalizeLoadedTemplateMetadata=function(t,e,r){var i=this,n=e.styles.slice();this._inlineStyles(e.inlineStyleUrls,r,n);var o=e.styleUrls,a=o.map(function(t){var e=r.get(t),n=e.styles.slice();return i._inlineStyles(e.styleUrls,r,n),new Rt({moduleUrl:t,styles:n})}),s=t.encapsulation;return null==s&&(s=this._config.defaultEncapsulation),s===v.Emulated&&0===n.length&&0===o.length&&(s=v.None),new Nt({encapsulation:s,template:e.template,templateUrl:e.templateUrl,htmlAst:e.htmlAst,styles:n,styleUrls:o,ngContentSelectors:e.ngContentSelectors,animations:t.animations,interpolation:t.interpolation,isInline:e.isInline,externalStylesheets:a,preserveWhitespaces:bt(t.preserveWhitespaces,this._config.preserveWhitespaces)})},t.prototype._inlineStyles=function(t,n,r){var i=this;t.forEach(function(t){var e=n.get(t);e.styles.forEach(function(t){return r.push(t)}),i._inlineStyles(e.styleUrls,n,r)})},t.prototype._loadMissingExternalStylesheets=function(t,r){var i=this;return void 0===r&&(r=new Map),U(H(t.filter(function(t){return!r.has(t)}).map(function(n){return U(i._fetch(n),function(t){var e=i._normalizeStylesheet(new Rt({styles:[t],moduleUrl:n}));return r.set(n,e),i._loadMissingExternalStylesheets(e.styleUrls,r)})})),function(t){return r})},t.prototype._normalizeStylesheet=function(t){var a=this,s=t.moduleUrl,l=t.styleUrls.filter(ce).map(function(t){return a._urlResolver.resolve(s,t)}),e=t.styles.map(function(t){var r,i,o,e,n=(r=a._urlResolver,i=s,o=[],e=t.replace(pe,"").replace(ue,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[1]||t[2];return ce(n)?(o.push(r.resolve(i,n)),""):t[0]}),new le(e,o));return l.push.apply(l,n.styleUrls),n.style});return new Rt({styles:e,styleUrls:l,moduleUrl:s})},t}(),Ne=function(){function t(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return t.prototype.visitElement=function(t,e){var n=Te(t);switch(n.type){case Me.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(n.selectAttr);break;case Me.STYLE:var r="";t.children.forEach(function(t){t instanceof Kt&&(r+=t.value)}),this.styles.push(r);break;case Me.STYLESHEET:this.styleUrls.push(n.hrefAttr)}return n.nonBindable&&this.ngNonBindableStackCount++,ee(this,t.children),n.nonBindable&&this.ngNonBindableStackCount--,null},t.prototype.visitExpansion=function(t,e){ee(this,t.cases)},t.prototype.visitExpansionCase=function(t,e){ee(this,t.expression)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return null},t.prototype.visitText=function(t,e){return null},t}(),Le=[o,i,n,e],je=function(){function t(t){this._reflector=t}return t.prototype.isDirective=function(t){var e=this._reflector.annotations(Q(t));return e&&e.some(Fe)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=this._reflector.annotations(Q(t));if(n){var r=Ve(n,Fe);if(r){var i=this._reflector.propMetadata(t),o=this._reflector.guards(t);return this._mergeWithPropertyMetadata(r,i,o,t)}}if(e)throw new Error("No Directive annotation found on "+K(t));return null},t.prototype._mergeWithPropertyMetadata=function(t,i,e,n){var o=[],a=[],s={},l={};return Object.keys(i).forEach(function(n){var t=Ve(i[n],function(t){return y.isTypeOf(t)});t&&(t.bindingPropertyName?o.push(n+": "+t.bindingPropertyName):o.push(n));var e=Ve(i[n],function(t){return b.isTypeOf(t)});e&&(e.bindingPropertyName?a.push(n+": "+e.bindingPropertyName):a.push(n)),i[n].filter(function(t){return _.isTypeOf(t)}).forEach(function(t){if(t.hostPropertyName){var e=t.hostPropertyName[0];if("("===e)throw new Error("@HostBinding can not bind to events. Use @HostListener instead.");if("["===e)throw new Error("@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.");s["["+t.hostPropertyName+"]"]=n}else s["["+n+"]"]=n}),i[n].filter(function(t){return w.isTypeOf(t)}).forEach(function(t){var e=t.args||[];s["("+t.eventName+")"]=n+"("+e.join(",")+")"});var r=Ve(i[n],function(e){return Le.some(function(t){return t.isTypeOf(e)})});r&&(l[n]=r)}),this._merge(t,o,a,s,l,e,n)},t.prototype._extractPublicName=function(t){return R(t,[null,t])[1].trim()},t.prototype._dedupeBindings=function(t){for(var e=new Set,n=new Set,r=[],i=t.length-1;0<=i;i--){var o=t[i],a=this._extractPublicName(o);n.add(a),e.has(a)||(e.add(a),r.push(o))}return r.reverse()},t.prototype._merge=function(t,e,n,r,i,o,a){var s=this._dedupeBindings(t.inputs?t.inputs.concat(e):e),l=this._dedupeBindings(t.outputs?t.outputs.concat(n):n),c=t.host?m({},t.host,r):r,u=t.queries?m({},t.queries,i):i;if(g.isTypeOf(t)){var p=t;return g({selector:p.selector,inputs:s,outputs:l,host:c,exportAs:p.exportAs,moduleId:p.moduleId,queries:u,changeDetection:p.changeDetection,providers:p.providers,viewProviders:p.viewProviders,entryComponents:p.entryComponents,template:p.template,templateUrl:p.templateUrl,styles:p.styles,styleUrls:p.styleUrls,encapsulation:p.encapsulation,animations:p.animations,interpolation:p.interpolation,preserveWhitespaces:t.preserveWhitespaces})}return d({selector:t.selector,inputs:s,outputs:l,host:c,exportAs:t.exportAs,queries:u,providers:t.providers,guards:o})},t}();function Fe(t){return d.isTypeOf(t)||g.isTypeOf(t)}function Ve(t,e){for(var n=t.length-1;0<=n;n--)if(e(t[n]))return t[n];return null}var Be=0,Ue=9,He=10,ze=11,Ge=12,We=13,qe=32,Ye=34,$e=36,Ke=39,Qe=43,Xe=45,Ze=47,Je=59,tn=61,en=62,nn=48,rn=57,on=65,an=69,sn=70,ln=90,cn=95,un=97,pn=101,dn=102,hn=110,fn=114,mn=116,gn=118,yn=122,vn=123,bn=160,_n=96;function wn(t){return Ue<=t&&t<=qe||t==bn}function Cn(t){return nn<=t&&t<=rn}function xn(t){return un<=t&&t<=yn||on<=t&&t<=ln}var Sn={Character:0,Identifier:1,Keyword:2,String:3,Operator:4,Number:5,Error:6};Sn[Sn.Character]="Character",Sn[Sn.Identifier]="Identifier",Sn[Sn.Keyword]="Keyword",Sn[Sn.String]="String",Sn[Sn.Operator]="Operator",Sn[Sn.Number]="Number",Sn[Sn.Error]="Error";var En=["var","let","as","null","undefined","true","false","if","else","this"],kn=function(){function t(){}return t.prototype.tokenize=function(t){for(var e=new Tn(t),n=[],r=e.scanToken();null!=r;)n.push(r),r=e.scanToken();return n},t}(),On=function(){function t(t,e,n,r){this.index=t,this.type=e,this.numValue=n,this.strValue=r}return t.prototype.isCharacter=function(t){return this.type==Sn.Character&&this.numValue==t},t.prototype.isNumber=function(){return this.type==Sn.Number},t.prototype.isString=function(){return this.type==Sn.String},t.prototype.isOperator=function(t){return this.type==Sn.Operator&&this.strValue==t},t.prototype.isIdentifier=function(){return this.type==Sn.Identifier},t.prototype.isKeyword=function(){return this.type==Sn.Keyword},t.prototype.isKeywordLet=function(){return this.type==Sn.Keyword&&"let"==this.strValue},t.prototype.isKeywordAs=function(){return this.type==Sn.Keyword&&"as"==this.strValue},t.prototype.isKeywordNull=function(){return this.type==Sn.Keyword&&"null"==this.strValue},t.prototype.isKeywordUndefined=function(){return this.type==Sn.Keyword&&"undefined"==this.strValue},t.prototype.isKeywordTrue=function(){return this.type==Sn.Keyword&&"true"==this.strValue},t.prototype.isKeywordFalse=function(){return this.type==Sn.Keyword&&"false"==this.strValue},t.prototype.isKeywordThis=function(){return this.type==Sn.Keyword&&"this"==this.strValue},t.prototype.isError=function(){return this.type==Sn.Error},t.prototype.toNumber=function(){return this.type==Sn.Number?this.numValue:-1},t.prototype.toString=function(){switch(this.type){case Sn.Character:case Sn.Identifier:case Sn.Keyword:case Sn.Operator:case Sn.String:case Sn.Error:return this.strValue;case Sn.Number:return this.numValue.toString();default:return null}},t}();function Pn(t,e){return new On(t,Sn.Character,e,String.fromCharCode(e))}function An(t,e){return new On(t,Sn.Operator,0,e)}var Dn=new On(-1,Sn.Character,0,""),Tn=function(){function t(t){this.input=t,this.peek=0,this.index=-1,this.length=t.length,this.advance()}return t.prototype.advance=function(){this.peek=++this.index>=this.length?Be:this.input.charCodeAt(this.index)},t.prototype.scanToken=function(){for(var t=this.input,e=this.length,n=this.peek,r=this.index;n<=qe;){if(++r>=e){n=Be;break}n=t.charCodeAt(r)}if(this.peek=n,e<=(this.index=r))return null;if(Mn(n))return this.scanIdentifier();if(Cn(n))return this.scanNumber(r);var i=r;switch(n){case 46:return this.advance(),Cn(this.peek)?this.scanNumber(i):Pn(i,46);case 40:case 41:case vn:case 125:case 91:case 93:case 44:case 58:case Je:return this.scanCharacter(i,n);case Ke:case Ye:return this.scanString();case 35:case Qe:case Xe:case 42:case Ze:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanComplexOperator(i,"?",46,".");case 60:case en:return this.scanComplexOperator(i,String.fromCharCode(n),tn,"=");case 33:case tn:return this.scanComplexOperator(i,String.fromCharCode(n),tn,"=",tn,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case bn:for(;wn(this.peek);)this.advance();return this.scanToken()}return this.advance(),this.error("Unexpected character ["+String.fromCharCode(n)+"]",0)},t.prototype.scanCharacter=function(t,e){return this.advance(),Pn(t,e)},t.prototype.scanOperator=function(t,e){return this.advance(),An(t,e)},t.prototype.scanComplexOperator=function(t,e,n,r,i,o){this.advance();var a=e;return this.peek==n&&(this.advance(),a+=r),null!=i&&this.peek==i&&(this.advance(),a+=o),An(t,a)},t.prototype.scanIdentifier=function(){var t=this.index;for(this.advance();Rn(this.peek);)this.advance();var e,n,r=this.input.substring(t,this.index);return-1<En.indexOf(r)?(n=r,new On(t,Sn.Keyword,0,n)):(e=r,new On(t,Sn.Identifier,0,e))},t.prototype.scanNumber=function(t){var e,n,r=this.index===t;for(this.advance();;){if(Cn(this.peek));else if(46==this.peek)r=!1;else{if((n=this.peek)!=pn&&n!=an)break;if(this.advance(),((e=this.peek)==Xe||e==Qe)&&this.advance(),!Cn(this.peek))return this.error("Invalid exponent",-1);r=!1}this.advance()}var i,o=this.input.substring(t,this.index),a=r?function(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}(o):parseFloat(o);return i=a,new On(t,Sn.Number,i,"")},t.prototype.scanString=function(){var t=this.index,e=this.peek;this.advance();for(var n="",r=this.index,i=this.input;this.peek!=e;)if(92==this.peek){n+=i.substring(r,this.index),this.advance();var o=void 0;if(this.peek=this.peek,117==this.peek){var a=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(a))return this.error("Invalid unicode escape [\\u"+a+"]",0);o=parseInt(a,16);for(var s=0;s<5;s++)this.advance()}else o=Ln(this.peek),this.advance();n+=String.fromCharCode(o),r=this.index}else{if(this.peek==Be)return this.error("Unterminated quote",0);this.advance()}var l,c=i.substring(r,this.index);return this.advance(),l=n+c,new On(t,Sn.String,0,l)},t.prototype.error=function(t,e){var n,r,i=this.index+e;return r="Lexer Error: "+t+" at column "+(n=i)+" in expression ["+this.input+"]",new On(n,Sn.Error,0,r)},t}();function Mn(t){return un<=t&&t<=yn||on<=t&&t<=ln||t==cn||t==$e}function In(t){if(0==t.length)return!1;var e=new Tn(t);if(!Mn(e.peek))return!1;for(e.advance();e.peek!==Be;){if(!Rn(e.peek))return!1;e.advance()}return!0}function Rn(t){return xn(t)||Cn(t)||t==cn||t==$e}function Nn(t){return t===Ke||t===Ye||t===_n}function Ln(t){switch(t){case hn:return He;case dn:return Ge;case fn:return We;case mn:return Ue;case gn:return ze;default:return t}}var jn=function(t,e,n,r){this.input=e,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: "+t+" "+n+" ["+e+"] in "+r},Fn=function(t,e){this.start=t,this.end=e},Vn=function(){function t(t){this.span=t}return t.prototype.visit=function(t,e){return void 0===e&&(e=null),null},t.prototype.toString=function(){return"AST"},t}(),Bn=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.prefix=e,i.uninterpretedExpression=n,i.location=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitQuote(this,e)},t.prototype.toString=function(){return"Quote"},t}(Vn),Un=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.visit=function(t,e){void 0===e&&(e=null)},e}(Vn),Hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitImplicitReceiver(this,e)},e}(Vn),zn=function(r){function t(t,e){var n=r.call(this,t)||this;return n.expressions=e,n}return f(t,r),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitChain(this,e)},t}(Vn),Gn=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.condition=e,i.trueExp=n,i.falseExp=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitConditional(this,e)},t}(Vn),Wn=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r.receiver=e,r.name=n,r}return f(t,i),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyRead(this,e)},t}(Vn),qn=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.receiver=e,i.name=n,i.value=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPropertyWrite(this,e)},t}(Vn),Yn=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r.receiver=e,r.name=n,r}return f(t,i),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafePropertyRead(this,e)},t}(Vn),$n=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r.obj=e,r.key=n,r}return f(t,i),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedRead(this,e)},t}(Vn),Kn=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.obj=e,i.key=n,i.value=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitKeyedWrite(this,e)},t}(Vn),Qn=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.exp=e,i.name=n,i.args=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPipe(this,e)},t}(Vn),Xn=function(r){function t(t,e){var n=r.call(this,t)||this;return n.value=e,n}return f(t,r),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralPrimitive(this,e)},t}(Vn),Zn=function(r){function t(t,e){var n=r.call(this,t)||this;return n.expressions=e,n}return f(t,r),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralArray(this,e)},t}(Vn),Jn=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r.keys=e,r.values=n,r}return f(t,i),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitLiteralMap(this,e)},t}(Vn),tr=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r.strings=e,r.expressions=n,r}return f(t,i),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitInterpolation(this,e)},t}(Vn),er=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.operation=e,i.left=n,i.right=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitBinary(this,e)},t}(Vn),nr=function(r){function t(t,e){var n=r.call(this,t)||this;return n.expression=e,n}return f(t,r),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitPrefixNot(this,e)},t}(Vn),rr=function(r){function t(t,e){var n=r.call(this,t)||this;return n.expression=e,n}return f(t,r),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitNonNullAssert(this,e)},t}(Vn),ir=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.receiver=e,i.name=n,i.args=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitMethodCall(this,e)},t}(Vn),or=function(o){function t(t,e,n,r){var i=o.call(this,t)||this;return i.receiver=e,i.name=n,i.args=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitSafeMethodCall(this,e)},t}(Vn),ar=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r.target=e,r.args=n,r}return f(t,i),t.prototype.visit=function(t,e){return void 0===e&&(e=null),t.visitFunctionCall(this,e)},t}(Vn),sr=function(o){function t(t,e,n,r){var i=o.call(this,new Fn(0,null==e?0:e.length))||this;return i.ast=t,i.source=e,i.location=n,i.errors=r,i}return f(t,o),t.prototype.visit=function(t,e){return void 0===e&&(e=null),this.ast.visit(t,e)},t.prototype.toString=function(){return this.source+" in "+this.location},t}(Vn),lr=function(t,e,n,r,i){this.span=t,this.key=e,this.keyIsVar=n,this.name=r,this.expression=i},cr=function(){function t(){}return t.prototype.visitBinary=function(t,e){},t.prototype.visitChain=function(t,e){},t.prototype.visitConditional=function(t,e){},t.prototype.visitFunctionCall=function(t,e){},t.prototype.visitImplicitReceiver=function(t,e){},t.prototype.visitInterpolation=function(t,e){},t.prototype.visitKeyedRead=function(t,e){},t.prototype.visitKeyedWrite=function(t,e){},t.prototype.visitLiteralArray=function(t,e){},t.prototype.visitLiteralMap=function(t,e){},t.prototype.visitLiteralPrimitive=function(t,e){},t.prototype.visitMethodCall=function(t,e){},t.prototype.visitPipe=function(t,e){},t.prototype.visitPrefixNot=function(t,e){},t.prototype.visitNonNullAssert=function(t,e){},t.prototype.visitPropertyRead=function(t,e){},t.prototype.visitPropertyWrite=function(t,e){},t.prototype.visitQuote=function(t,e){},t.prototype.visitSafeMethodCall=function(t,e){},t.prototype.visitSafePropertyRead=function(t,e){},t}(),ur=function(){function t(){}return t.prototype.visitBinary=function(t,e){return t.left.visit(this),t.right.visit(this),null},t.prototype.visitChain=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this),null},t.prototype.visitPipe=function(t,e){return t.exp.visit(this),this.visitAll(t.args,e),null},t.prototype.visitFunctionCall=function(t,e){return t.target.visit(this),this.visitAll(t.args,e),null},t.prototype.visitImplicitReceiver=function(t,e){return null},t.prototype.visitInterpolation=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitKeyedRead=function(t,e){return t.obj.visit(this),t.key.visit(this),null},t.prototype.visitKeyedWrite=function(t,e){return t.obj.visit(this),t.key.visit(this),t.value.visit(this),null},t.prototype.visitLiteralArray=function(t,e){return this.visitAll(t.expressions,e)},t.prototype.visitLiteralMap=function(t,e){return this.visitAll(t.values,e)},t.prototype.visitLiteralPrimitive=function(t,e){return null},t.prototype.visitMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitPrefixNot=function(t,e){return t.expression.visit(this),null},t.prototype.visitNonNullAssert=function(t,e){return t.expression.visit(this),null},t.prototype.visitPropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitPropertyWrite=function(t,e){return t.receiver.visit(this),t.value.visit(this),null},t.prototype.visitSafePropertyRead=function(t,e){return t.receiver.visit(this),null},t.prototype.visitSafeMethodCall=function(t,e){return t.receiver.visit(this),this.visitAll(t.args,e)},t.prototype.visitAll=function(t,e){var n=this;return t.forEach(function(t){return t.visit(n,e)}),null},t.prototype.visitQuote=function(t,e){return null},t}(),pr=function(){function t(){}return t.prototype.visitImplicitReceiver=function(t,e){return t},t.prototype.visitInterpolation=function(t,e){return new tr(t.span,t.strings,this.visitAll(t.expressions))},t.prototype.visitLiteralPrimitive=function(t,e){return new Xn(t.span,t.value)},t.prototype.visitPropertyRead=function(t,e){return new Wn(t.span,t.receiver.visit(this),t.name)},t.prototype.visitPropertyWrite=function(t,e){return new qn(t.span,t.receiver.visit(this),t.name,t.value.visit(this))},t.prototype.visitSafePropertyRead=function(t,e){return new Yn(t.span,t.receiver.visit(this),t.name)},t.prototype.visitMethodCall=function(t,e){return new ir(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitSafeMethodCall=function(t,e){return new or(t.span,t.receiver.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitFunctionCall=function(t,e){return new ar(t.span,t.target.visit(this),this.visitAll(t.args))},t.prototype.visitLiteralArray=function(t,e){return new Zn(t.span,this.visitAll(t.expressions))},t.prototype.visitLiteralMap=function(t,e){return new Jn(t.span,t.keys,this.visitAll(t.values))},t.prototype.visitBinary=function(t,e){return new er(t.span,t.operation,t.left.visit(this),t.right.visit(this))},t.prototype.visitPrefixNot=function(t,e){return new nr(t.span,t.expression.visit(this))},t.prototype.visitNonNullAssert=function(t,e){return new rr(t.span,t.expression.visit(this))},t.prototype.visitConditional=function(t,e){return new Gn(t.span,t.condition.visit(this),t.trueExp.visit(this),t.falseExp.visit(this))},t.prototype.visitPipe=function(t,e){return new Qn(t.span,t.exp.visit(this),t.name,this.visitAll(t.args))},t.prototype.visitKeyedRead=function(t,e){return new $n(t.span,t.obj.visit(this),t.key.visit(this))},t.prototype.visitKeyedWrite=function(t,e){return new Kn(t.span,t.obj.visit(this),t.key.visit(this),t.value.visit(this))},t.prototype.visitAll=function(t){for(var e=new Array(t.length),n=0;n<t.length;++n)e[n]=t[n].visit(this);return e},t.prototype.visitChain=function(t,e){return new zn(t.span,this.visitAll(t.expressions))},t.prototype.visitQuote=function(t,e){return new Bn(t.span,t.prefix,t.uninterpretedExpression,t.location)},t}();var dr=function(t,e,n){this.strings=t,this.expressions=e,this.offsets=n},hr=function(t,e,n){this.templateBindings=t,this.warnings=e,this.errors=n};function fr(t){var e=q(t.start)+"([\\s\\S]*?)"+q(t.end);return new RegExp(e,"g")}var mr=function(){function t(t){this._lexer=t,this.errors=[]}return t.prototype.parseAction=function(t,e,n){void 0===n&&(n=se),this._checkNoInterpolation(t,e,n);var r=this._stripComments(t),i=this._lexer.tokenize(this._stripComments(t)),o=new gr(t,e,i,r.length,!0,this.errors,t.length-r.length).parseChain();return new sr(o,t,e,this.errors)},t.prototype.parseBinding=function(t,e,n){void 0===n&&(n=se);var r=this._parseBindingAst(t,e,n);return new sr(r,t,e,this.errors)},t.prototype.parseSimpleBinding=function(t,e,n){void 0===n&&(n=se);var r=this._parseBindingAst(t,e,n),i=yr.check(r);return 0<i.length&&this._reportError("Host binding expression cannot contain "+i.join(" "),t,e),new sr(r,t,e,this.errors)},t.prototype._reportError=function(t,e,n,r){this.errors.push(new jn(t,e,n,r))},t.prototype._parseBindingAst=function(t,e,n){var r=this._parseQuote(t,e);if(null!=r)return r;this._checkNoInterpolation(t,e,n);var i=this._stripComments(t),o=this._lexer.tokenize(i);return new gr(t,e,o,i.length,!1,this.errors,t.length-i.length).parseChain()},t.prototype._parseQuote=function(t,e){if(null==t)return null;var n=t.indexOf(":");if(-1==n)return null;var r=t.substring(0,n).trim();if(!In(r))return null;var i=t.substring(n+1);return new Bn(new Fn(0,t.length),r,i,e)},t.prototype.parseTemplateBindings=function(t,e,n){var r=this._lexer.tokenize(e);if(t){var i=this._lexer.tokenize(t).map(function(t){return t.index=0,t});r.unshift.apply(r,i)}return new gr(e,n,r,e.length,!1,this.errors,0).parseTemplateBindings()},t.prototype.parseInterpolation=function(t,e,n){void 0===n&&(n=se);var r=this.splitInterpolation(t,e,n);if(null==r)return null;for(var i=[],o=0;o<r.expressions.length;++o){var a=r.expressions[o],s=this._stripComments(a),l=this._lexer.tokenize(s),c=new gr(t,e,l,s.length,!1,this.errors,r.offsets[o]+(a.length-s.length)).parseChain();i.push(c)}return new sr(new tr(new Fn(0,null==t?0:t.length),r.strings,i),t,e,this.errors)},t.prototype.splitInterpolation=function(t,e,n){void 0===n&&(n=se);var r=fr(n),i=t.split(r);if(i.length<=1)return null;for(var o=[],a=[],s=[],l=0,c=0;c<i.length;c++){var u=i[c];c%2==0?(o.push(u),l+=u.length):0<u.trim().length?(l+=n.start.length,a.push(u),s.push(l),l+=u.length+n.end.length):(this._reportError("Blank expressions are not allowed in interpolated strings",t,"at column "+this._findInterpolationErrorColumn(i,c,n)+" in",e),a.push("$implict"),s.push(l))}return new dr(o,a,s)},t.prototype.wrapLiteralPrimitive=function(t,e){return new sr(new Xn(new Fn(0,null==t?0:t.length),t),t,e,this.errors)},t.prototype._stripComments=function(t){var e=this._commentStart(t);return null!=e?t.substring(0,e).trim():t},t.prototype._commentStart=function(t){for(var e=null,n=0;n<t.length-1;n++){var r=t.charCodeAt(n),i=t.charCodeAt(n+1);if(r===Ze&&i==Ze&&null==e)return n;e===r?e=null:null==e&&Nn(r)&&(e=r)}return null},t.prototype._checkNoInterpolation=function(t,e,n){var r=fr(n),i=t.split(r);1<i.length&&this._reportError("Got interpolation ("+n.start+n.end+") where expression was expected",t,"at column "+this._findInterpolationErrorColumn(i,1,n)+" in",e)},t.prototype._findInterpolationErrorColumn=function(t,e,n){for(var r="",i=0;i<e;i++)r+=i%2==0?t[i]:""+n.start+t[i]+n.end;return r.length},t}(),gr=function(){function t(t,e,n,r,i,o,a){this.input=t,this.location=e,this.tokens=n,this.inputLength=r,this.parseAction=i,this.errors=o,this.offset=a,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.index=0}return t.prototype.peek=function(t){var e=this.index+t;return e<this.tokens.length?this.tokens[e]:Dn},Object.defineProperty(t.prototype,"next",{get:function(){return this.peek(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputIndex",{get:function(){return this.index<this.tokens.length?this.next.index+this.offset:this.inputLength+this.offset},enumerable:!0,configurable:!0}),t.prototype.span=function(t){return new Fn(t,this.inputIndex)},t.prototype.advance=function(){this.index++},t.prototype.optionalCharacter=function(t){return!!this.next.isCharacter(t)&&(this.advance(),!0)},t.prototype.peekKeywordLet=function(){return this.next.isKeywordLet()},t.prototype.peekKeywordAs=function(){return this.next.isKeywordAs()},t.prototype.expectCharacter=function(t){this.optionalCharacter(t)||this.error("Missing expected "+String.fromCharCode(t))},t.prototype.optionalOperator=function(t){return!!this.next.isOperator(t)&&(this.advance(),!0)},t.prototype.expectOperator=function(t){this.optionalOperator(t)||this.error("Missing expected operator "+t)},t.prototype.expectIdentifierOrKeyword=function(){var t=this.next;return t.isIdentifier()||t.isKeyword()?(this.advance(),t.toString()):(this.error("Unexpected token "+t+", expected identifier or keyword"),"")},t.prototype.expectIdentifierOrKeywordOrString=function(){var t=this.next;return t.isIdentifier()||t.isKeyword()||t.isString()?(this.advance(),t.toString()):(this.error("Unexpected token "+t+", expected identifier, keyword, or string"),"")},t.prototype.parseChain=function(){for(var t=[],e=this.inputIndex;this.index<this.tokens.length;){var n=this.parsePipe();if(t.push(n),this.optionalCharacter(Je))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.optionalCharacter(Je););else this.index<this.tokens.length&&this.error("Unexpected token '"+this.next+"'")}return 0==t.length?new Un(this.span(e)):1==t.length?t[0]:new zn(this.span(e),t)},t.prototype.parsePipe=function(){var t=this.parseExpression();if(this.optionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{for(var e=this.expectIdentifierOrKeyword(),n=[];this.optionalCharacter(58);)n.push(this.parseExpression());t=new Qn(this.span(t.span.start),t,e,n)}while(this.optionalOperator("|"))}return t},t.prototype.parseExpression=function(){return this.parseConditional()},t.prototype.parseConditional=function(){var t=this.inputIndex,e=this.parseLogicalOr();if(this.optionalOperator("?")){var n=this.parsePipe(),r=void 0;if(this.optionalCharacter(58))r=this.parsePipe();else{var i=this.inputIndex,o=this.input.substring(t,i);this.error("Conditional expression "+o+" requires all 3 expressions"),r=new Un(this.span(t))}return new Gn(this.span(t),e,n,r)}return e},t.prototype.parseLogicalOr=function(){for(var t=this.parseLogicalAnd();this.optionalOperator("||");){var e=this.parseLogicalAnd();t=new er(this.span(t.span.start),"||",t,e)}return t},t.prototype.parseLogicalAnd=function(){for(var t=this.parseEquality();this.optionalOperator("&&");){var e=this.parseEquality();t=new er(this.span(t.span.start),"&&",t,e)}return t},t.prototype.parseEquality=function(){for(var t=this.parseRelational();this.next.type==Sn.Operator;){var e=this.next.strValue;switch(e){case"==":case"===":case"!=":case"!==":this.advance();var n=this.parseRelational();t=new er(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseRelational=function(){for(var t=this.parseAdditive();this.next.type==Sn.Operator;){var e=this.next.strValue;switch(e){case"<":case">":case"<=":case">=":this.advance();var n=this.parseAdditive();t=new er(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseAdditive=function(){for(var t=this.parseMultiplicative();this.next.type==Sn.Operator;){var e=this.next.strValue;switch(e){case"+":case"-":this.advance();var n=this.parseMultiplicative();t=new er(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parseMultiplicative=function(){for(var t=this.parsePrefix();this.next.type==Sn.Operator;){var e=this.next.strValue;switch(e){case"*":case"%":case"/":this.advance();var n=this.parsePrefix();t=new er(this.span(t.span.start),e,t,n);continue}break}return t},t.prototype.parsePrefix=function(){if(this.next.type==Sn.Operator){var t=this.inputIndex,e=this.next.strValue,n=void 0;switch(e){case"+":return this.advance(),n=this.parsePrefix(),new er(this.span(t),"-",n,new Xn(new Fn(t,t),0));case"-":return this.advance(),n=this.parsePrefix(),new er(this.span(t),e,new Xn(new Fn(t,t),0),n);case"!":return this.advance(),n=this.parsePrefix(),new nr(this.span(t),n)}}return this.parseCallChain()},t.prototype.parseCallChain=function(){for(var t=this.parsePrimary();;)if(this.optionalCharacter(46))t=this.parseAccessMemberOrMethodCall(t,!1);else if(this.optionalOperator("?."))t=this.parseAccessMemberOrMethodCall(t,!0);else if(this.optionalCharacter(91)){this.rbracketsExpected++;var e=this.parsePipe();if(this.rbracketsExpected--,this.expectCharacter(93),this.optionalOperator("=")){var n=this.parseConditional();t=new Kn(this.span(t.span.start),t,e,n)}else t=new $n(this.span(t.span.start),t,e)}else if(this.optionalCharacter(40)){this.rparensExpected++;var r=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),t=new ar(this.span(t.span.start),t,r)}else{if(!this.optionalOperator("!"))return t;t=new rr(this.span(t.span.start),t)}},t.prototype.parsePrimary=function(){var t=this.inputIndex;if(this.optionalCharacter(40)){this.rparensExpected++;var e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new Xn(this.span(t),null);if(this.next.isKeywordUndefined())return this.advance(),new Xn(this.span(t),void 0);if(this.next.isKeywordTrue())return this.advance(),new Xn(this.span(t),!0);if(this.next.isKeywordFalse())return this.advance(),new Xn(this.span(t),!1);if(this.next.isKeywordThis())return this.advance(),new Hn(this.span(t));if(this.optionalCharacter(91)){this.rbracketsExpected++;var n=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new Zn(this.span(t),n)}if(this.next.isCharacter(vn))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Hn(this.span(t)),!1);if(this.next.isNumber()){var r=this.next.toNumber();return this.advance(),new Xn(this.span(t),r)}if(this.next.isString()){var i=this.next.toString();return this.advance(),new Xn(this.span(t),i)}return this.index>=this.tokens.length?this.error("Unexpected end of expression: "+this.input):this.error("Unexpected token "+this.next),new Un(this.span(t))},t.prototype.parseExpressionList=function(t){var e=[];if(!this.next.isCharacter(t))for(;e.push(this.parsePipe()),this.optionalCharacter(44););return e},t.prototype.parseLiteralMap=function(){var t=[],e=[],n=this.inputIndex;if(this.expectCharacter(vn),!this.optionalCharacter(125)){this.rbracesExpected++;do{var r=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();t.push({key:i,quoted:r}),this.expectCharacter(58),e.push(this.parsePipe())}while(this.optionalCharacter(44));this.rbracesExpected--,this.expectCharacter(125)}return new Jn(this.span(n),t,e)},t.prototype.parseAccessMemberOrMethodCall=function(t,e){void 0===e&&(e=!1);var n=t.span.start,r=this.expectIdentifierOrKeyword();if(this.optionalCharacter(40)){this.rparensExpected++;var i=this.parseCallArguments();this.expectCharacter(41),this.rparensExpected--;var o=this.span(n);return e?new or(o,t,r,i):new ir(o,t,r,i)}if(e)return this.optionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new Un(this.span(n))):new Yn(this.span(n),t,r);if(this.optionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new Un(this.span(n));var a=this.parseConditional();return new qn(this.span(n),t,r,a)}return new Wn(this.span(n),t,r)},t.prototype.parseCallArguments=function(){if(this.next.isCharacter(41))return[];for(var t=[];t.push(this.parsePipe()),this.optionalCharacter(44););return t},t.prototype.expectTemplateBindingKey=function(){for(var t="",e=!1;t+=this.expectIdentifierOrKeywordOrString(),(e=this.optionalOperator("-"))&&(t+="-"),e;);return t.toString()},t.prototype.parseTemplateBindings=function(){for(var t=[],e=null;this.index<this.tokens.length;){var n=this.inputIndex,r=this.peekKeywordLet();r&&this.advance();var i=this.expectTemplateBindingKey(),o=i;r||(null==e?e=o:o=e+o[0].toUpperCase()+o.substring(1)),this.optionalCharacter(58);var a=null,s=null;if(r)a=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";else if(this.peekKeywordAs()){var l=this.inputIndex;this.advance(),a=i,o=this.expectTemplateBindingKey(),r=!0}else if(this.next!==Dn&&!this.peekKeywordLet()){var c=this.inputIndex,u=this.parsePipe(),p=this.input.substring(c-this.offset,this.inputIndex-this.offset);s=new sr(u,p,this.location,this.errors)}if(t.push(new lr(this.span(n),o,r,a,s)),this.peekKeywordAs()&&!r){l=this.inputIndex;this.advance();var d=this.expectTemplateBindingKey();t.push(new lr(this.span(l),d,!0,o,null))}this.optionalCharacter(Je)||this.optionalCharacter(44)}return new hr(t,[],this.errors)},t.prototype.error=function(t,e){void 0===e&&(e=null),this.errors.push(new jn(t,this.input,this.locationText(e),this.location)),this.skip()},t.prototype.locationText=function(t){return void 0===t&&(t=null),null==t&&(t=this.index),t<this.tokens.length?"at column "+(this.tokens[t].index+1)+" in":"at the end of the expression"},t.prototype.skip=function(){for(var t=this.next;this.index<this.tokens.length&&!t.isCharacter(Je)&&(this.rparensExpected<=0||!t.isCharacter(41))&&(this.rbracesExpected<=0||!t.isCharacter(125))&&(this.rbracketsExpected<=0||!t.isCharacter(93));)this.next.isError()&&this.errors.push(new jn(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),t=this.next},t}(),yr=function(){function n(){this.errors=[]}return n.check=function(t){var e=new n;return t.visit(e),e.errors},n.prototype.visitImplicitReceiver=function(t,e){},n.prototype.visitInterpolation=function(t,e){},n.prototype.visitLiteralPrimitive=function(t,e){},n.prototype.visitPropertyRead=function(t,e){},n.prototype.visitPropertyWrite=function(t,e){},n.prototype.visitSafePropertyRead=function(t,e){},n.prototype.visitMethodCall=function(t,e){},n.prototype.visitSafeMethodCall=function(t,e){},n.prototype.visitFunctionCall=function(t,e){},n.prototype.visitLiteralArray=function(t,e){this.visitAll(t.expressions)},n.prototype.visitLiteralMap=function(t,e){this.visitAll(t.values)},n.prototype.visitBinary=function(t,e){},n.prototype.visitPrefixNot=function(t,e){},n.prototype.visitNonNullAssert=function(t,e){},n.prototype.visitConditional=function(t,e){},n.prototype.visitPipe=function(t,e){this.errors.push("pipes")},n.prototype.visitKeyedRead=function(t,e){},n.prototype.visitKeyedWrite=function(t,e){},n.prototype.visitAll=function(t){var e=this;return t.map(function(t){return t.visit(e)})},n.prototype.visitChain=function(t,e){},n.prototype.visitQuote=function(t,e){},n}(),vr=function(){function l(t,e,n,r){this.file=t,this.offset=e,this.line=n,this.col=r}return l.prototype.toString=function(){return null!=this.offset?this.file.url+"@"+this.line+":"+this.col:this.file.url},l.prototype.moveBy=function(t){for(var e=this.file.content,n=e.length,r=this.offset,i=this.line,o=this.col;0<r&&t<0;){if(r--,t++,(s=e.charCodeAt(r))==He){i--;var a=e.substr(0,r-1).lastIndexOf(String.fromCharCode(He));o=0<a?r-a:r}else o--}for(;r<n&&0<t;){var s=e.charCodeAt(r);r++,t--,s==He?(i++,o=0):o++}return new l(this.file,r,i,o)},l.prototype.getContext=function(t,e){var n=this.file.content,r=this.offset;if(null!=r){r>n.length-1&&(r=n.length-1);for(var i=r,o=0,a=0;o<t&&0<r&&(o++,"\n"!=n[--r]||++a!=e););for(a=o=0;o<t&&i<n.length-1&&(o++,"\n"!=n[++i]||++a!=e););return{before:n.substring(r,this.offset),after:n.substring(this.offset,i+1)}}return null},l}(),br=function(t,e){this.content=t,this.url=e},_r=function(){function t(t,e,n){void 0===n&&(n=null),this.start=t,this.end=e,this.details=n}return t.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},t}(),wr={WARNING:0,ERROR:1};wr[wr.WARNING]="WARNING",wr[wr.ERROR]="ERROR";var Cr=function(){function t(t,e,n){void 0===n&&(n=wr.ERROR),this.span=t,this.msg=e,this.level=n}return t.prototype.contextualMessage=function(){var t=this.span.start.getContext(100,3);return t?this.msg+' ("'+t.before+"["+wr[this.level]+" ->]"+t.after+'")':this.msg},t.prototype.toString=function(){var t=this.span.details?", "+this.span.details:"";return this.contextualMessage()+": "+this.span.start+t},t}();function xr(t,e){var n=kt(e),r=null!=n?"in "+t+" "+Et(e)+" in "+n:"in "+t+" "+Et(e),i=new br("",r);return new _r(new vr(i,-1,-1,-1),new vr(i,-1,-1,-1))}var Sr={TAG_OPEN_START:0,TAG_OPEN_END:1,TAG_OPEN_END_VOID:2,TAG_CLOSE:3,TEXT:4,ESCAPABLE_RAW_TEXT:5,RAW_TEXT:6,COMMENT_START:7,COMMENT_END:8,CDATA_START:9,CDATA_END:10,ATTR_NAME:11,ATTR_VALUE:12,DOC_TYPE:13,EXPANSION_FORM_START:14,EXPANSION_CASE_VALUE:15,EXPANSION_CASE_EXP_START:16,EXPANSION_CASE_EXP_END:17,EXPANSION_FORM_END:18,EOF:19};Sr[Sr.TAG_OPEN_START]="TAG_OPEN_START",Sr[Sr.TAG_OPEN_END]="TAG_OPEN_END",Sr[Sr.TAG_OPEN_END_VOID]="TAG_OPEN_END_VOID",Sr[Sr.TAG_CLOSE]="TAG_CLOSE",Sr[Sr.TEXT]="TEXT",Sr[Sr.ESCAPABLE_RAW_TEXT]="ESCAPABLE_RAW_TEXT",Sr[Sr.RAW_TEXT]="RAW_TEXT",Sr[Sr.COMMENT_START]="COMMENT_START",Sr[Sr.COMMENT_END]="COMMENT_END",Sr[Sr.CDATA_START]="CDATA_START",Sr[Sr.CDATA_END]="CDATA_END",Sr[Sr.ATTR_NAME]="ATTR_NAME",Sr[Sr.ATTR_VALUE]="ATTR_VALUE",Sr[Sr.DOC_TYPE]="DOC_TYPE",Sr[Sr.EXPANSION_FORM_START]="EXPANSION_FORM_START",Sr[Sr.EXPANSION_CASE_VALUE]="EXPANSION_CASE_VALUE",Sr[Sr.EXPANSION_CASE_EXP_START]="EXPANSION_CASE_EXP_START",Sr[Sr.EXPANSION_CASE_EXP_END]="EXPANSION_CASE_EXP_END",Sr[Sr.EXPANSION_FORM_END]="EXPANSION_FORM_END",Sr[Sr.EOF]="EOF";var Er=function(t,e,n){this.type=t,this.parts=e,this.sourceSpan=n},kr=function(i){function t(t,e,n){var r=i.call(this,n,t)||this;return r.tokenType=e,r}return f(t,i),t}(Cr),Or=function(t,e){this.tokens=t,this.errors=e};var Pr=/\r\n?/g;function Ar(t){return'Unexpected character "'+(t===Be?"EOF":String.fromCharCode(t))+'"'}function Dr(t){return'Unknown entity "'+t+'" - use the "&#<decimal>;" or "&#x<hex>;" syntax'}var Tr=function(t){this.error=t},Mr=function(){function t(t,e,n,r){void 0===r&&(r=se),this._file=t,this._getTagDefinition=e,this._tokenizeIcu=n,this._interpolationConfig=r,this._peek=-1,this._nextPeek=-1,this._index=-1,this._line=0,this._column=-1,this._expansionCaseStack=[],this._inInterpolation=!1,this.tokens=[],this.errors=[],this._input=t.content,this._length=t.content.length,this._advance()}return t.prototype._processCarriageReturns=function(t){return t.replace(Pr,"\n")},t.prototype.tokenize=function(){for(;this._peek!==Be;){var t=this._getLocation();try{this._attemptCharCode(60)?this._attemptCharCode(33)?this._attemptCharCode(91)?this._consumeCdata(t):this._attemptCharCode(Xe)?this._consumeComment(t):this._consumeDocType(t):this._attemptCharCode(Ze)?this._consumeTagClose(t):this._consumeTagOpen(t):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(t){if(!(t instanceof Tr))throw t;this.errors.push(t.error)}}return this._beginToken(Sr.EOF),this._endToken([]),new Or(function(t){for(var e=[],n=void 0,r=0;r<t.length;r++){var i=t[r];n&&n.type==Sr.TEXT&&i.type==Sr.TEXT?(n.parts[0]+=i.parts[0],n.sourceSpan.end=i.sourceSpan.end):(n=i,e.push(n))}return e}(this.tokens),this.errors)},t.prototype._tokenizeExpansionForm=function(){if(jr(this._input,this._index,this._interpolationConfig))return this._consumeExpansionFormStart(),!0;if(((t=this._peek)===tn||xn(t)||Cn(t))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var t;if(125===this._peek){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1},t.prototype._getLocation=function(){return new vr(this._file,this._index,this._line,this._column)},t.prototype._getSpan=function(t,e){return void 0===t&&(t=this._getLocation()),void 0===e&&(e=this._getLocation()),new _r(t,e)},t.prototype._beginToken=function(t,e){void 0===e&&(e=this._getLocation()),this._currentTokenStart=e,this._currentTokenType=t},t.prototype._endToken=function(t,e){void 0===e&&(e=this._getLocation());var n=new Er(this._currentTokenType,t,new _r(this._currentTokenStart,e));return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n},t.prototype._createError=function(t,e){this._isInExpansionForm()&&(t+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');var n=new kr(t,this._currentTokenType,e);return this._currentTokenStart=null,this._currentTokenType=null,new Tr(n)},t.prototype._advance=function(){if(this._index>=this._length)throw this._createError(Ar(Be),this._getSpan());this._peek===He?(this._line++,this._column=0):this._peek!==He&&this._peek!==We&&this._column++,this._index++,this._peek=this._index>=this._length?Be:this._input.charCodeAt(this._index),this._nextPeek=this._index+1>=this._length?Be:this._input.charCodeAt(this._index+1)},t.prototype._attemptCharCode=function(t){return this._peek===t&&(this._advance(),!0)},t.prototype._attemptCharCodeCaseInsensitive=function(t){return e=this._peek,n=t,Fr(e)==Fr(n)&&(this._advance(),!0);var e,n},t.prototype._requireCharCode=function(t){var e=this._getLocation();if(!this._attemptCharCode(t))throw this._createError(Ar(this._peek),this._getSpan(e,e))},t.prototype._attemptStr=function(t){var e=t.length;if(this._index+e>this._length)return!1;for(var n=this._savePosition(),r=0;r<e;r++)if(!this._attemptCharCode(t.charCodeAt(r)))return this._restorePosition(n),!1;return!0},t.prototype._attemptStrCaseInsensitive=function(t){for(var e=0;e<t.length;e++)if(!this._attemptCharCodeCaseInsensitive(t.charCodeAt(e)))return!1;return!0},t.prototype._requireStr=function(t){var e=this._getLocation();if(!this._attemptStr(t))throw this._createError(Ar(this._peek),this._getSpan(e))},t.prototype._attemptCharCodeUntilFn=function(t){for(;!t(this._peek);)this._advance()},t.prototype._requireCharCodeUntilFn=function(t,e){var n=this._getLocation();if(this._attemptCharCodeUntilFn(t),this._index-n.offset<e)throw this._createError(Ar(this._peek),this._getSpan(n,n))},t.prototype._attemptUntilChar=function(t){for(;this._peek!==t;)this._advance()},t.prototype._readChar=function(t){if(t&&38===this._peek)return this._decodeEntity();var e=this._index;return this._advance(),this._input[e]},t.prototype._decodeEntity=function(){var e=this._getLocation();if(this._advance(),!this._attemptCharCode(35)){var t=this._savePosition();if(this._attemptCharCodeUntilFn(Lr),this._peek!=Je)return this._restorePosition(t),"&";this._advance();var n=this._input.substring(e.offset+1,this._index-1),r=_e[n];if(!r)throw this._createError(Dr(n),this._getSpan(e));return r}var i=this._attemptCharCode(120)||this._attemptCharCode(88),o=this._getLocation().offset;if(this._attemptCharCodeUntilFn(Nr),this._peek!=Je)throw this._createError(Ar(this._peek),this._getSpan());this._advance();var a=this._input.substring(o,this._index-1);try{var s=parseInt(a,i?16:10);return String.fromCharCode(s)}catch(t){var l=this._input.substring(e.offset+1,this._index-1);throw this._createError(Dr(l),this._getSpan(e))}},t.prototype._consumeRawText=function(t,e,n){var r,i=this._getLocation();this._beginToken(t?Sr.ESCAPABLE_RAW_TEXT:Sr.RAW_TEXT,i);for(var o=[];r=this._getLocation(),!this._attemptCharCode(e)||!n();)for(this._index>r.offset&&o.push(this._input.substring(r.offset,this._index));this._peek!==e;)o.push(this._readChar(t));return this._endToken([this._processCarriageReturns(o.join(""))],r)},t.prototype._consumeComment=function(t){var e=this;this._beginToken(Sr.COMMENT_START,t),this._requireCharCode(Xe),this._endToken([]);var n=this._consumeRawText(!1,Xe,function(){return e._attemptStr("->")});this._beginToken(Sr.COMMENT_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeCdata=function(t){var e=this;this._beginToken(Sr.CDATA_START,t),this._requireStr("CDATA["),this._endToken([]);var n=this._consumeRawText(!1,93,function(){return e._attemptStr("]>")});this._beginToken(Sr.CDATA_END,n.sourceSpan.end),this._endToken([])},t.prototype._consumeDocType=function(t){this._beginToken(Sr.DOC_TYPE,t),this._attemptUntilChar(en),this._advance(),this._endToken([this._input.substring(t.offset+2,this._index-1)])},t.prototype._consumePrefixAndName=function(){for(var t,e,n=this._index,r=null;58!==this._peek&&!(((t=this._peek)<un||yn<t)&&(t<on||ln<t)&&(t<nn||rn<t));)this._advance();return 58===this._peek?(this._advance(),r=this._input.substring(n,this._index-1),e=this._index):e=n,this._requireCharCodeUntilFn(Rr,this._index===e?1:0),[r,this._input.substring(e,this._index)]},t.prototype._consumeTagOpen=function(e){var t,n,r=this._savePosition();try{if(!xn(this._peek))throw this._createError(Ar(this._peek),this._getSpan());var i=this._index;for(this._consumeTagOpenStart(e),n=(t=this._input.substring(i,this._index)).toLowerCase(),this._attemptCharCodeUntilFn(Ir);this._peek!==Ze&&this._peek!==en;)this._consumeAttributeName(),this._attemptCharCodeUntilFn(Ir),this._attemptCharCode(tn)&&(this._attemptCharCodeUntilFn(Ir),this._consumeAttributeValue()),this._attemptCharCodeUntilFn(Ir);this._consumeTagOpenEnd()}catch(t){if(t instanceof Tr)return this._restorePosition(r),this._beginToken(Sr.TEXT,e),void this._endToken(["<"]);throw t}var o=this._getTagDefinition(t).contentType;o===he.RAW_TEXT?this._consumeRawTextWithTagClose(n,!1):o===he.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,!0)},t.prototype._consumeRawTextWithTagClose=function(t,e){var n=this,r=this._consumeRawText(e,60,function(){return!!n._attemptCharCode(Ze)&&(n._attemptCharCodeUntilFn(Ir),!!n._attemptStrCaseInsensitive(t)&&(n._attemptCharCodeUntilFn(Ir),n._attemptCharCode(en)))});this._beginToken(Sr.TAG_CLOSE,r.sourceSpan.end),this._endToken([null,t])},t.prototype._consumeTagOpenStart=function(t){this._beginToken(Sr.TAG_OPEN_START,t);var e=this._consumePrefixAndName();this._endToken(e)},t.prototype._consumeAttributeName=function(){this._beginToken(Sr.ATTR_NAME);var t=this._consumePrefixAndName();this._endToken(t)},t.prototype._consumeAttributeValue=function(){var t;if(this._beginToken(Sr.ATTR_VALUE),this._peek===Ke||this._peek===Ye){var e=this._peek;this._advance();for(var n=[];this._peek!==e;)n.push(this._readChar(!0));t=n.join(""),this._advance()}else{var r=this._index;this._requireCharCodeUntilFn(Rr,1),t=this._input.substring(r,this._index)}this._endToken([this._processCarriageReturns(t)])},t.prototype._consumeTagOpenEnd=function(){var t=this._attemptCharCode(Ze)?Sr.TAG_OPEN_END_VOID:Sr.TAG_OPEN_END;this._beginToken(t),this._requireCharCode(en),this._endToken([])},t.prototype._consumeTagClose=function(t){this._beginToken(Sr.TAG_CLOSE,t),this._attemptCharCodeUntilFn(Ir);var e=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Ir),this._requireCharCode(en),this._endToken(e)},t.prototype._consumeExpansionFormStart=function(){this._beginToken(Sr.EXPANSION_FORM_START,this._getLocation()),this._requireCharCode(vn),this._endToken([]),this._expansionCaseStack.push(Sr.EXPANSION_FORM_START),this._beginToken(Sr.RAW_TEXT,this._getLocation());var t=this._readUntil(44);this._endToken([t],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(Ir),this._beginToken(Sr.RAW_TEXT,this._getLocation());var e=this._readUntil(44);this._endToken([e],this._getLocation()),this._requireCharCode(44),this._attemptCharCodeUntilFn(Ir)},t.prototype._consumeExpansionCaseStart=function(){this._beginToken(Sr.EXPANSION_CASE_VALUE,this._getLocation());var t=this._readUntil(vn).trim();this._endToken([t],this._getLocation()),this._attemptCharCodeUntilFn(Ir),this._beginToken(Sr.EXPANSION_CASE_EXP_START,this._getLocation()),this._requireCharCode(vn),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(Ir),this._expansionCaseStack.push(Sr.EXPANSION_CASE_EXP_START)},t.prototype._consumeExpansionCaseEnd=function(){this._beginToken(Sr.EXPANSION_CASE_EXP_END,this._getLocation()),this._requireCharCode(125),this._endToken([],this._getLocation()),this._attemptCharCodeUntilFn(Ir),this._expansionCaseStack.pop()},t.prototype._consumeExpansionFormEnd=function(){this._beginToken(Sr.EXPANSION_FORM_END,this._getLocation()),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()},t.prototype._consumeText=function(){var t=this._getLocation();this._beginToken(Sr.TEXT,t);for(var e=[];this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(e.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(e.push(this._interpolationConfig.end),this._inInterpolation=!1):e.push(this._readChar(!0)),!this._isTextEnd(););this._endToken([this._processCarriageReturns(e.join(""))])},t.prototype._isTextEnd=function(){if(60===this._peek||this._peek===Be)return!0;if(this._tokenizeIcu&&!this._inInterpolation){if(jr(this._input,this._index,this._interpolationConfig))return!0;if(125===this._peek&&this._isInExpansionCase())return!0}return!1},t.prototype._savePosition=function(){return[this._peek,this._index,this._column,this._line,this.tokens.length]},t.prototype._readUntil=function(t){var e=this._index;return this._attemptUntilChar(t),this._input.substring(e,this._index)},t.prototype._restorePosition=function(t){this._peek=t[0],this._index=t[1],this._column=t[2],this._line=t[3];var e=t[4];e<this.tokens.length&&(this.tokens=this.tokens.slice(0,e))},t.prototype._isInExpansionCase=function(){return 0<this._expansionCaseStack.length&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Sr.EXPANSION_CASE_EXP_START},t.prototype._isInExpansionForm=function(){return 0<this._expansionCaseStack.length&&this._expansionCaseStack[this._expansionCaseStack.length-1]===Sr.EXPANSION_FORM_START},t}();function Ir(t){return!wn(t)||t===Be}function Rr(t){return wn(t)||t===en||t===Ze||t===Ke||t===Ye||t===tn}function Nr(t){return t==Je||t==Be||!(un<=(e=t)&&e<=dn||on<=e&&e<=sn||Cn(e));var e}function Lr(t){return t==Je||t==Be||!xn(t)}function jr(t,e,n){var r=!!n&&t.indexOf(n.start,e)==e;return t.charCodeAt(e)==vn&&!r}function Fr(t){return un<=t&&t<=yn?t-un+on:t}var Vr=function(i){function r(t,e,n){var r=i.call(this,e,n)||this;return r.elementName=t,r}return f(r,i),r.create=function(t,e,n){return new r(t,e,n)},r}(Cr),Br=function(t,e){this.rootNodes=t,this.errors=e},Ur=function(){function t(t){this.getTagDefinition=t}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=se);var i,o,a,s,l,c=(i=t,o=e,a=this.getTagDefinition,void 0===(s=n)&&(s=!1),void 0===(l=r)&&(l=se),new Mr(new br(i,o),a,s,l).tokenize()),u=new Hr(c.tokens,this.getTagDefinition).build();return new Br(u.rootNodes,c.errors.concat(u.errors))},t}(),Hr=function(){function s(t,e){this.tokens=t,this.getTagDefinition=e,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}return s.prototype.build=function(){for(;this._peek.type!==Sr.EOF;)this._peek.type===Sr.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Sr.TAG_CLOSE?this._consumeEndTag(this._advance()):this._peek.type===Sr.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Sr.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Sr.TEXT||this._peek.type===Sr.RAW_TEXT||this._peek.type===Sr.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Sr.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._advance();return new Br(this._rootNodes,this._errors)},s.prototype._advance=function(){var t=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],t},s.prototype._advanceIf=function(t){return this._peek.type===t?this._advance():null},s.prototype._consumeCdata=function(t){this._consumeText(this._advance()),this._advanceIf(Sr.CDATA_END)},s.prototype._consumeComment=function(t){var e=this._advanceIf(Sr.RAW_TEXT);this._advanceIf(Sr.COMMENT_END);var n=null!=e?e.parts[0].trim():null;this._addToParent(new te(n,t.sourceSpan))},s.prototype._consumeExpansion=function(t){for(var e=this._advance(),n=this._advance(),r=[];this._peek.type===Sr.EXPANSION_CASE_VALUE;){var i=this._parseExpansionCase();if(!i)return;r.push(i)}if(this._peek.type===Sr.EXPANSION_FORM_END){var o=new _r(t.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new Qt(e.parts[0],n.parts[0],r,o,e.sourceSpan)),this._advance()}else this._errors.push(Vr.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."))},s.prototype._parseExpansionCase=function(){var t=this._advance();if(this._peek.type!==Sr.EXPANSION_CASE_EXP_START)return this._errors.push(Vr.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;var e=this._advance(),n=this._collectExpansionExpTokens(e);if(!n)return null;var r=this._advance();n.push(new Er(Sr.EOF,[],r.sourceSpan));var i=new s(n,this.getTagDefinition).build();if(0<i.errors.length)return this._errors=this._errors.concat(i.errors),null;var o=new _r(t.sourceSpan.start,r.sourceSpan.end),a=new _r(e.sourceSpan.start,r.sourceSpan.end);return new Xt(t.parts[0],i.rootNodes,o,t.sourceSpan,a)},s.prototype._collectExpansionExpTokens=function(t){for(var e=[],n=[Sr.EXPANSION_CASE_EXP_START];;){if(this._peek.type!==Sr.EXPANSION_FORM_START&&this._peek.type!==Sr.EXPANSION_CASE_EXP_START||n.push(this._peek.type),this._peek.type===Sr.EXPANSION_CASE_EXP_END){if(!zr(n,Sr.EXPANSION_CASE_EXP_START))return this._errors.push(Vr.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0==n.length)return e}if(this._peek.type===Sr.EXPANSION_FORM_END){if(!zr(n,Sr.EXPANSION_FORM_START))return this._errors.push(Vr.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(this._peek.type===Sr.EOF)return this._errors.push(Vr.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;e.push(this._advance())}},s.prototype._consumeText=function(t){var e=t.parts[0];if(0<e.length&&"\n"==e[0]){var n=this._getParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(e=e.substring(1))}0<e.length&&this._addToParent(new Kt(e,t.sourceSpan))},s.prototype._closeVoidElement=function(){var t=this._getParentElement();t&&this.getTagDefinition(t.name).isVoid&&this._elementStack.pop()},s.prototype._consumeStartTag=function(t){for(var e=t.parts[0],n=t.parts[1],r=[];this._peek.type===Sr.ATTR_NAME;)r.push(this._consumeAttr(this._advance()));var i=this._getElementFullName(e,n,this._getParentElement()),o=!1;if(this._peek.type===Sr.TAG_OPEN_END_VOID){this._advance(),o=!0;var a=this.getTagDefinition(i);a.canSelfClose||null!==ve(i)||a.isVoid||this._errors.push(Vr.create(i,t.sourceSpan,'Only void and foreign elements can be self closed "'+t.parts[1]+'"'))}else this._peek.type===Sr.TAG_OPEN_END&&(this._advance(),o=!1);var s=this._peek.sourceSpan.start,l=new _r(t.sourceSpan.start,s),c=new Jt(i,r,[],l,l,void 0);this._pushElement(c),o&&(this._popElement(i),c.endSourceSpan=l)},s.prototype._pushElement=function(t){var e=this._getParentElement();e&&this.getTagDefinition(e.name).isClosedByChild(t.name)&&this._elementStack.pop();var n=this.getTagDefinition(t.name),r=this._getParentElementSkippingContainers(),i=r.parent,o=r.container;if(i&&n.requireExtraParent(i.name)){var a=new Jt(n.parentToAdd,[],[],t.sourceSpan,t.startSourceSpan,t.endSourceSpan);this._insertBeforeContainer(i,o,a)}this._addToParent(t),this._elementStack.push(t)},s.prototype._consumeEndTag=function(t){var e=this._getElementFullName(t.parts[0],t.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=t.sourceSpan),this.getTagDefinition(e).isVoid)this._errors.push(Vr.create(e,t.sourceSpan,'Void elements do not have end tags "'+t.parts[1]+'"'));else if(!this._popElement(e)){var n='Unexpected closing tag "'+e+'". 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';this._errors.push(Vr.create(e,t.sourceSpan,n))}},s.prototype._popElement=function(t){for(var e=this._elementStack.length-1;0<=e;e--){var n=this._elementStack[e];if(n.name==t)return this._elementStack.splice(e,this._elementStack.length-e),!0;if(!this.getTagDefinition(n.name).closedByParent)return!1}return!1},s.prototype._consumeAttr=function(t){var e=be(t.parts[0],t.parts[1]),n=t.sourceSpan.end,r="",i=void 0;if(this._peek.type===Sr.ATTR_VALUE){var o=this._advance();r=o.parts[0],n=o.sourceSpan.end,i=o.sourceSpan}return new Zt(e,r,new _r(t.sourceSpan.start,n),i)},s.prototype._getParentElement=function(){return 0<this._elementStack.length?this._elementStack[this._elementStack.length-1]:null},s.prototype._getParentElementSkippingContainers=function(){for(var t=null,e=this._elementStack.length-1;0<=e;e--){if(!me(this._elementStack[e].name))return{parent:this._elementStack[e],container:t};t=this._elementStack[e]}return{parent:null,container:t}},s.prototype._addToParent=function(t){var e=this._getParentElement();null!=e?e.children.push(t):this._rootNodes.push(t)},s.prototype._insertBeforeContainer=function(t,e,n){if(e){if(t){var r=t.children.indexOf(e);t.children[r]=n}else this._rootNodes.push(n);n.children.push(e),this._elementStack.splice(this._elementStack.indexOf(e),0,n)}else this._addToParent(n),this._elementStack.push(n)},s.prototype._getElementFullName=function(t,e,n){return null==t&&null==(t=this.getTagDefinition(e).implicitNamespacePrefix)&&null!=n&&(t=ve(n.name)),be(t,e)},s}();function zr(t,e){return 0<t.length&&t[t.length-1]===e}function Gr(t){return t.id||function(t){var e,n,r=$(t),i=function(t,e){for(var n=Array(t.length+3>>>2),r=0;r<n.length;r++)n[r]=oi(t,4*r,e);return n}(r,Jr.Big),o=8*r.length,a=new Array(80),s=[1732584193,4023233417,2562383102,271733878,3285377520],l=s[0],c=s[1],u=s[2],p=s[3],d=s[4];i[o>>5]|=128<<24-o%32,i[15+(o+64>>9<<4)]=o;for(var h=0;h<i.length;h+=16){for(var f=[l,c,u,p,d],m=f[0],g=f[1],y=f[2],v=f[3],b=f[4],_=0;_<80;_++){a[_]=_<16?i[h+_]:ri(a[_-3]^a[_-8]^a[_-14]^a[_-16],1);var w=Kr(_,c,u,p),C=w[0],x=w[1],S=[ri(l,5),C,d,x,a[_]].reduce(ti);e=[p,u,ri(c,30),l,S],d=e[0],p=e[1],u=e[2],c=e[3],l=e[4]}n=[ti(l,m),ti(c,g),ti(u,y),ti(p,v),ti(d,b)],l=n[0],c=n[1],u=n[2],p=n[3],d=n[4]}return function(t){for(var e="",n=0;n<t.length;n++){var r=ii(t,n);e+=(r>>>4).toString(16)+(15&r).toString(16)}return e.toLowerCase()}(ai([l,c,u,p,d]))}((e=t.nodes,e.map(function(t){return t.visit(Yr,null)})).join("")+"["+t.meaning+"]");var e}function Wr(t){if(t.id)return t.id;var e=new $r;return function(t,e){var n,r=Qr(t),i=r[0],o=r[1];if(e){var a=Qr(e),s=a[0],l=a[1];_=(v=[i,o])[0],w=v[b=1],u=[s,l],p=(c=[_<<b|w>>>32-b,w<<b|_>>>32-b])[0],d=c[1],h=u[0],f=u[1],m=ei(d,f),g=m[0],y=m[1],n=[ti(ti(p,h),g),y],i=n[0],o=n[1]}var c,u,p,d,h,f,m,g,y;var v,b,_,w;return function(t){for(var e="",n="1",r=t.length-1;0<=r;r--)e=si(e,li(ii(t,r),n)),n=li(256,n);return e.split("").reverse().join("")}(ai([2147483647&i,o]))}(t.nodes.map(function(t){return t.visit(e,null)}).join(""),t.meaning)}var qr=function(){function t(){}return t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return"["+t.children.map(function(t){return t.visit(n)}).join(", ")+"]"},t.prototype.visitIcu=function(e,t){var n=this,r=Object.keys(e.cases).map(function(t){return t+" {"+e.cases[t].visit(n)+"}"});return"{"+e.expression+", "+e.type+", "+r.join(", ")+"}"},t.prototype.visitTagPlaceholder=function(t,e){var n=this;return t.isVoid?'<ph tag name="'+t.startName+'"/>':'<ph tag name="'+t.startName+'">'+t.children.map(function(t){return t.visit(n)}).join(", ")+'</ph name="'+t.closeName+'">'},t.prototype.visitPlaceholder=function(t,e){return t.value?'<ph name="'+t.name+'">'+t.value+"</ph>":'<ph name="'+t.name+'"/>'},t.prototype.visitIcuPlaceholder=function(t,e){return'<ph icu name="'+t.name+'">'+t.value.visit(this)+"</ph>"},t}(),Yr=new qr;var $r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.visitIcu=function(e,t){var n=this,r=Object.keys(e.cases).map(function(t){return t+" {"+e.cases[t].visit(n)+"}"});return"{"+e.type+", "+r.join(", ")+"}"},e}(qr);function Kr(t,e,n,r){return t<20?[e&n|~e&r,1518500249]:t<40?[e^n^r,1859775393]:t<60?[e&n|e&r|n&r,2400959708]:[e^n^r,3395469782]}function Qr(t){var e=$(t),n=[Xr(e,0),Xr(e,102072)],r=n[0],i=n[1];return 0!=r||0!=i&&1!=i||(r^=319790063,i^=-1801410264),[r,i]}function Xr(t,e){var n,r,i=[2654435769,2654435769],o=i[0],a=i[1],s=t.length;for(n=0;n+12<=s;n+=12)o=(r=Zr([o=ti(o,oi(t,n,Jr.Little)),a=ti(a,oi(t,n+4,Jr.Little)),e=ti(e,oi(t,n+8,Jr.Little))]))[0],a=r[1],e=r[2];return Zr([o=ti(o,oi(t,n,Jr.Little)),a=ti(a,oi(t,n+4,Jr.Little)),e=ti(e=ti(e,s),oi(t,n+8,Jr.Little)<<8)])[2]}function Zr(t){var e=t[0],n=t[1],r=t[2];return e=ni(e=ni(e,n),r),e^=r>>>13,n=ni(n=ni(n,r),e),n^=e<<8,r=ni(r=ni(r,e),n),r^=n>>>13,e=ni(e=ni(e,n),r),e^=r>>>12,n=ni(n=ni(n,r),e),n^=e<<16,r=ni(r=ni(r,e),n),r^=n>>>5,e=ni(e=ni(e,n),r),e^=r>>>3,n=ni(n=ni(n,r),e),n^=e<<10,r=ni(r=ni(r,e),n),[e,n,r^=n>>>15]}var Jr={Little:0,Big:1};function ti(t,e){return ei(t,e)[1]}function ei(t,e){var n=(65535&t)+(65535&e),r=(t>>>16)+(e>>>16)+(n>>>16);return[r>>>16,r<<16|65535&n]}function ni(t,e){var n=(65535&t)-(65535&e);return(t>>16)-(e>>16)+(n>>16)<<16|65535&n}function ri(t,e){return t<<e|t>>>32-e}function ii(t,e){return e>=t.length?0:255&t.charCodeAt(e)}function oi(t,e,n){var r=0;if(n===Jr.Big)for(var i=0;i<4;i++)r+=ii(t,e+i)<<24-8*i;else for(i=0;i<4;i++)r+=ii(t,e+i)<<8*i;return r}function ai(t){return t.reduce(function(t,e){return t+function(t){for(var e="",n=0;n<4;n++)e+=String.fromCharCode(t>>>8*(3-n)&255);return e}(e)},"")}function si(t,e){for(var n="",r=Math.max(t.length,e.length),i=0,o=0;i<r||o;i++){var a=o+ +(t[i]||0)+ +(e[i]||0);10<=a?(o=1,n+=a-10):(o=0,n+=a)}return n}function li(t,e){for(var n="",r=e;0!==t;t>>>=1)1&t&&(n=si(n,r)),r=si(r,r);return n}Jr[Jr.Little]="Little",Jr[Jr.Big]="Big";var ci=function(t,e,n,r,i,o){this.nodes=t,this.placeholders=e,this.placeholderToMessage=n,this.meaning=r,this.description=i,this.id=o,t.length?this.sources=[{filePath:t[0].sourceSpan.start.file.url,startLine:t[0].sourceSpan.start.line+1,startCol:t[0].sourceSpan.start.col+1,endLine:t[t.length-1].sourceSpan.end.line+1,endCol:t[0].sourceSpan.start.col+1}]:this.sources=[]},ui=function(){function t(t,e){this.value=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),pi=function(){function t(t,e){this.children=t,this.sourceSpan=e}return t.prototype.visit=function(t,e){return t.visitContainer(this,e)},t}(),di=function(){function t(t,e,n,r){this.expression=t,this.type=e,this.cases=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitIcu(this,e)},t}(),hi=function(){function t(t,e,n,r,i,o,a){this.tag=t,this.attrs=e,this.startName=n,this.closeName=r,this.children=i,this.isVoid=o,this.sourceSpan=a}return t.prototype.visit=function(t,e){return t.visitTagPlaceholder(this,e)},t}(),fi=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitPlaceholder(this,e)},t}(),mi=function(){function t(t,e,n){this.value=t,this.name=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitIcuPlaceholder(this,e)},t}(),gi=function(){function t(){}return t.prototype.visitText=function(t,e){return new ui(t.value,t.sourceSpan)},t.prototype.visitContainer=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new pi(r,t.sourceSpan)},t.prototype.visitIcu=function(e,n){var r=this,i={};Object.keys(e.cases).forEach(function(t){return i[t]=e.cases[t].visit(r,n)});var t=new di(e.expression,e.type,i,e.sourceSpan);return t.expressionPlaceholder=e.expressionPlaceholder,t},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=t.children.map(function(t){return t.visit(n,e)});return new hi(t.tag,t.attrs,t.startName,t.closeName,r,t.isVoid,t.sourceSpan)},t.prototype.visitPlaceholder=function(t,e){return new fi(t.value,t.name,t.sourceSpan)},t.prototype.visitIcuPlaceholder=function(t,e){return new mi(t.value,t.name,t.sourceSpan)},t}(),yi=function(){function t(){}return t.prototype.visitText=function(t,e){},t.prototype.visitContainer=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitIcu=function(e,t){var n=this;Object.keys(e.cases).forEach(function(t){e.cases[t].visit(n)})},t.prototype.visitTagPlaceholder=function(t,e){var n=this;t.children.forEach(function(t){return t.visit(n)})},t.prototype.visitPlaceholder=function(t,e){},t.prototype.visitIcuPlaceholder=function(t,e){},t}(),vi=function(){function t(t){var e=void 0===t?{}:t,n=e.closedByChildren,r=e.requiredParents,i=e.implicitNamespacePrefix,o=e.contentType,a=void 0===o?he.PARSABLE_DATA:o,s=e.closedByParent,l=void 0!==s&&s,c=e.isVoid,u=void 0!==c&&c,p=e.ignoreFirstLf,d=void 0!==p&&p,h=this;this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,n&&0<n.length&&n.forEach(function(t){return h.closedByChildren[t]=!0}),this.isVoid=u,this.closedByParent=l||u,r&&0<r.length&&(this.requiredParents={},this.parentToAdd=r[0],r.forEach(function(t){return h.requiredParents[t]=!0})),this.implicitNamespacePrefix=i||null,this.contentType=a,this.ignoreFirstLf=d}return t.prototype.requireExtraParent=function(t){if(!this.requiredParents)return!1;if(!t)return!0;var e=t.toLowerCase();return!("template"===e||"ng-template"===t)&&1!=this.requiredParents[e]},t.prototype.isClosedByChild=function(t){return this.isVoid||t.toLowerCase()in this.closedByChildren},t}(),bi={base:new vi({isVoid:!0}),meta:new vi({isVoid:!0}),area:new vi({isVoid:!0}),embed:new vi({isVoid:!0}),link:new vi({isVoid:!0}),img:new vi({isVoid:!0}),input:new vi({isVoid:!0}),param:new vi({isVoid:!0}),hr:new vi({isVoid:!0}),br:new vi({isVoid:!0}),source:new vi({isVoid:!0}),track:new vi({isVoid:!0}),wbr:new vi({isVoid:!0}),p:new vi({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"],closedByParent:!0}),thead:new vi({closedByChildren:["tbody","tfoot"]}),tbody:new vi({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new vi({closedByChildren:["tbody"],closedByParent:!0}),tr:new vi({closedByChildren:["tr"],requiredParents:["tbody","tfoot","thead"],closedByParent:!0}),td:new vi({closedByChildren:["td","th"],closedByParent:!0}),th:new vi({closedByChildren:["td","th"],closedByParent:!0}),col:new vi({requiredParents:["colgroup"],isVoid:!0}),svg:new vi({implicitNamespacePrefix:"svg"}),math:new vi({implicitNamespacePrefix:"math"}),li:new vi({closedByChildren:["li"],closedByParent:!0}),dt:new vi({closedByChildren:["dt","dd"]}),dd:new vi({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new vi({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new vi({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new vi({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new vi({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new vi({closedByChildren:["optgroup"],closedByParent:!0}),option:new vi({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new vi({ignoreFirstLf:!0}),listing:new vi({ignoreFirstLf:!0}),style:new vi({contentType:he.RAW_TEXT}),script:new vi({contentType:he.RAW_TEXT}),title:new vi({contentType:he.ESCAPABLE_RAW_TEXT}),textarea:new vi({contentType:he.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})},_i=new vi;function wi(t){return bi[t.toLowerCase()]||_i}var Ci={A:"LINK",B:"BOLD_TEXT",BR:"LINE_BREAK",EM:"EMPHASISED_TEXT",H1:"HEADING_LEVEL1",H2:"HEADING_LEVEL2",H3:"HEADING_LEVEL3",H4:"HEADING_LEVEL4",H5:"HEADING_LEVEL5",H6:"HEADING_LEVEL6",HR:"HORIZONTAL_RULE",I:"ITALIC_TEXT",LI:"LIST_ITEM",LINK:"MEDIA_LINK",OL:"ORDERED_LIST",P:"PARAGRAPH",Q:"QUOTATION",S:"STRIKETHROUGH_TEXT",SMALL:"SMALL_TEXT",SUB:"SUBSTRIPT",SUP:"SUPERSCRIPT",TBODY:"TABLE_BODY",TD:"TABLE_CELL",TFOOT:"TABLE_FOOTER",TH:"TABLE_HEADER_CELL",THEAD:"TABLE_HEADER",TR:"TABLE_ROW",TT:"MONOSPACED_TEXT",U:"UNDERLINED_TEXT",UL:"UNORDERED_LIST"},xi=function(){function t(){this._placeHolderNameCounts={},this._signatureToName={}}return t.prototype.getStartTagPlaceholderName=function(t,e,n){var r=this._hashTag(t,e,n);if(this._signatureToName[r])return this._signatureToName[r];var i=t.toUpperCase(),o=Ci[i]||"TAG_"+i,a=this._generateUniqueName(n?o:"START_"+o);return this._signatureToName[r]=a},t.prototype.getCloseTagPlaceholderName=function(t){var e=this._hashClosingTag(t);if(this._signatureToName[e])return this._signatureToName[e];var n=t.toUpperCase(),r=Ci[n]||"TAG_"+n,i=this._generateUniqueName("CLOSE_"+r);return this._signatureToName[e]=i},t.prototype.getPlaceholderName=function(t,e){var n=t.toUpperCase(),r="PH: "+n+"="+e;if(this._signatureToName[r])return this._signatureToName[r];var i=this._generateUniqueName(n);return this._signatureToName[r]=i},t.prototype.getUniquePlaceholder=function(t){return this._generateUniqueName(t.toUpperCase())},t.prototype._hashTag=function(t,e,n){return"<"+t+Object.keys(e).sort().map(function(t){return" "+t+"="+e[t]}).join("")+(n?"/>":"></"+t+">")},t.prototype._hashClosingTag=function(t){return this._hashTag("/"+t,{},!1)},t.prototype._generateUniqueName=function(t){if(!this._placeHolderNameCounts.hasOwnProperty(t))return this._placeHolderNameCounts[t]=1,t;var e=this._placeHolderNameCounts[t];return this._placeHolderNameCounts[t]=e+1,t+"_"+e},t}(),Si=new mr(new kn);var Ei=function(){function l(t,e){this._expressionParser=t,this._interpolationConfig=e}return l.prototype.toI18nMessage=function(t,e,n,r){this._isIcu=1==t.length&&t[0]instanceof Qt,this._icuDepth=0,this._placeholderRegistry=new xi,this._placeholderToContent={},this._placeholderToMessage={};var i=ee(this,t,{});return new ci(i,this._placeholderToContent,this._placeholderToMessage,e,n,r)},l.prototype.visitElement=function(t,e){var n=ee(this,t.children),r={};t.attrs.forEach(function(t){r[t.name]=t.value});var i=wi(t.name).isVoid,o=this._placeholderRegistry.getStartTagPlaceholderName(t.name,r,i);this._placeholderToContent[o]=t.sourceSpan.toString();var a="";return i||(a=this._placeholderRegistry.getCloseTagPlaceholderName(t.name),this._placeholderToContent[a]="</"+t.name+">"),new hi(t.name,r,o,a,n,i,t.sourceSpan)},l.prototype.visitAttribute=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},l.prototype.visitText=function(t,e){return this._visitTextWithInterpolation(t.value,t.sourceSpan)},l.prototype.visitComment=function(t,e){return null},l.prototype.visitExpansion=function(t,e){var n=this;this._icuDepth++;var r={},i=new di(t.switchValue,t.type,r,t.sourceSpan);if(t.cases.forEach(function(t){r[t.value]=new pi(t.expression.map(function(t){return t.visit(n,{})}),t.expSourceSpan)}),this._icuDepth--,this._isIcu||0<this._icuDepth){var o=this._placeholderRegistry.getUniquePlaceholder("VAR_"+t.type);return i.expressionPlaceholder=o,this._placeholderToContent[o]=t.switchValue,i}var a=this._placeholderRegistry.getPlaceholderName("ICU",t.sourceSpan.toString()),s=new l(this._expressionParser,this._interpolationConfig);return this._placeholderToMessage[a]=s.toI18nMessage([t],"","",""),new mi(i,a,t.sourceSpan)},l.prototype.visitExpansionCase=function(t,e){throw new Error("Unreachable code")},l.prototype._visitTextWithInterpolation=function(t,e){var n=this._expressionParser.splitInterpolation(t,e.start.toString(),this._interpolationConfig);if(!n)return new ui(t,e);for(var r=[],i=new pi(r,e),o=this._interpolationConfig,a=o.start,s=o.end,l=0;l<n.strings.length-1;l++){var c=n.expressions[l],u=c.split(ki)[2]||"INTERPOLATION",p=this._placeholderRegistry.getPlaceholderName(u,c);n.strings[l].length&&r.push(new ui(n.strings[l],e)),r.push(new fi(c,p,e)),this._placeholderToContent[p]=a+c+s}var d=n.strings.length-1;return n.strings[d].length&&r.push(new ui(n.strings[d],e)),i},l}(),ki=/\/\/[\s\S]*i18n[\s\S]*\([\s\S]*ph[\s\S]*=[\s\S]*("|')([\s\S]*?)\1[\s\S]*\)/g;var Oi=function(n){function t(t,e){return n.call(this,t,e)||this}return f(t,n),t}(Cr),Pi="i18n",Ai="i18n-",Di=/^i18n:?/,Ti="|",Mi="@@",Ii=!1;var Ri=function(t,e){this.messages=t,this.errors=e},Ni={Extract:0,Merge:1};Ni[Ni.Extract]="Extract",Ni[Ni.Merge]="Merge";var Li=function(){function t(t,e){this._implicitTags=t,this._implicitAttrs=e}return t.prototype.extract=function(t,e){var n=this;return this._init(Ni.Extract,e),t.forEach(function(t){return t.visit(n,null)}),this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new Ri(this._messages,this._errors)},t.prototype.merge=function(t,e,n){this._init(Ni.Merge,n),this._translations=e;var r=new Jt("wrapper",[],t,void 0,void 0,void 0).visit(this,null);return this._inI18nBlock&&this._reportError(t[t.length-1],"Unclosed block"),new Br(r.children,this._errors)},t.prototype.visitExpansionCase=function(t,e){var n=ee(this,t.expression,e);if(this._mode===Ni.Merge)return new Xt(t.value,n,t.sourceSpan,t.valueSourceSpan,t.expSourceSpan)},t.prototype.visitExpansion=function(t,e){this._mayBeAddBlockChildren(t);var n=this._inIcu;this._inIcu||(this._isInTranslatableSection&&this._addMessage([t]),this._inIcu=!0);var r=ee(this,t.cases,e);return this._mode===Ni.Merge&&(t=new Qt(t.switchValue,t.type,r,t.sourceSpan,t.switchValueSourceSpan)),this._inIcu=n,t},t.prototype.visitComment=function(t,e){var n,r=!!((n=t)instanceof te&&n.value&&n.value.startsWith("i18n"));if(r&&this._isInTranslatableSection)this._reportError(t,"Could not start a block inside a translatable section");else{var i,o=!!((i=t)instanceof te&&i.value&&"/i18n"===i.value);if(!o||this._inI18nBlock){if(!this._inI18nNode&&!this._inIcu)if(this._inI18nBlock){if(o){if(this._depth==this._blockStartDepth){this._closeTranslatableSection(t,this._blockChildren),this._inI18nBlock=!1;var a=this._addMessage(this._blockChildren,this._blockMeaningAndDesc);return ee(this,this._translateMessage(t,a))}return void this._reportError(t,"I18N blocks should not cross element boundaries")}}else if(r){if(!Ii&&console&&console.warn){Ii=!0;var s=t.sourceSpan.details?", "+t.sourceSpan.details:"";console.warn("I18n comments are deprecated, use an <ng-container> element instead ("+t.sourceSpan.start+s+")")}this._inI18nBlock=!0,this._blockStartDepth=this._depth,this._blockChildren=[],this._blockMeaningAndDesc=t.value.replace(Di,"").trim(),this._openTranslatableSection(t)}}else this._reportError(t,"Trying to close an unopened block")}},t.prototype.visitText=function(t,e){return this._isInTranslatableSection&&this._mayBeAddBlockChildren(t),t},t.prototype.visitElement=function(e,n){var r=this;this._mayBeAddBlockChildren(e),this._depth++;var t=this._inI18nNode,i=this._inImplicitNode,o=[],a=void 0,s=e.attrs.find(function(t){return t.name===Pi})||null,l=s?s.value:"",c=this._implicitTags.some(function(t){return e.name===t})&&!this._inIcu&&!this._isInTranslatableSection,u=!i&&c;if(this._inImplicitNode=i||c,this._isInTranslatableSection||this._inIcu)(s||u)&&this._reportError(e,"Could not mark an element as translatable inside a translatable section"),this._mode==Ni.Extract&&ee(this,e.children);else{if(s||u){this._inI18nNode=!0;var p=this._addMessage(e.children,l);a=this._translateMessage(e,p)}if(this._mode==Ni.Extract){var d=s||u;d&&this._openTranslatableSection(e),ee(this,e.children),d&&this._closeTranslatableSection(e,e.children)}}this._mode===Ni.Merge&&(a||e.children).forEach(function(t){var e=t.visit(r,n);e&&!r._isInTranslatableSection&&(o=o.concat(e))});if(this._visitAttributesOf(e),this._depth--,this._inI18nNode=t,this._inImplicitNode=i,this._mode===Ni.Merge){var h=this._translateAttributes(e);return new Jt(e.name,h,o,e.sourceSpan,e.startSourceSpan,e.endSourceSpan)}return null},t.prototype.visitAttribute=function(t,e){throw new Error("unreachable code")},t.prototype._init=function(t,e){var i;this._mode=t,this._inI18nBlock=!1,this._inI18nNode=!1,this._depth=0,this._inIcu=!1,this._msgCountAtSectionStart=void 0,this._errors=[],this._messages=[],this._inImplicitNode=!1,this._createI18nMessage=(i=new Ei(Si,e),function(t,e,n,r){return i.toI18nMessage(t,e,n,r)})},t.prototype._visitAttributesOf=function(t){var n=this,r={},i=this._implicitAttrs[t.name]||[];t.attrs.filter(function(t){return t.name.startsWith(Ai)}).forEach(function(t){return r[t.name.slice(Ai.length)]=t.value}),t.attrs.forEach(function(e){e.name in r?n._addMessage([e],r[e.name]):i.some(function(t){return e.name===t})&&n._addMessage([e])})},t.prototype._addMessage=function(t,e){if(0==t.length||1==t.length&&t[0]instanceof Zt&&!t[0].value)return null;var n=ji(e),r=n.meaning,i=n.description,o=n.id,a=this._createI18nMessage(t,r,i,o);return this._messages.push(a),a},t.prototype._translateMessage=function(t,e){if(e&&this._mode===Ni.Merge){var n=this._translations.get(e);if(n)return n;this._reportError(t,'Translation unavailable for message id="'+this._translations.digest(e)+'"')}return[]},t.prototype._translateAttributes=function(l){var c=this,t=l.attrs,u={};t.forEach(function(t){t.name.startsWith(Ai)&&(u[t.name.slice(Ai.length)]=ji(t.value))});var p=[];return t.forEach(function(t){if(t.name!==Pi&&!t.name.startsWith(Ai))if(t.value&&""!=t.value&&u.hasOwnProperty(t.name)){var e=u[t.name],n=e.meaning,r=e.description,i=e.id,o=c._createI18nMessage([t],n,r,i),a=c._translations.get(o);if(a)if(0==a.length)p.push(new Zt(t.name,"",t.sourceSpan));else if(a[0]instanceof Kt){var s=a[0].value;p.push(new Zt(t.name,s,t.sourceSpan))}else c._reportError(l,'Unexpected translation for attribute "'+t.name+'" (id="'+(i||c._translations.digest(o))+'")');else c._reportError(l,'Translation unavailable for attribute "'+t.name+'" (id="'+(i||c._translations.digest(o))+'")')}else p.push(t)}),p},t.prototype._mayBeAddBlockChildren=function(t){this._inI18nBlock&&!this._inIcu&&this._depth==this._blockStartDepth&&this._blockChildren.push(t)},t.prototype._openTranslatableSection=function(t){this._isInTranslatableSection?this._reportError(t,"Unexpected section start"):this._msgCountAtSectionStart=this._messages.length},Object.defineProperty(t.prototype,"_isInTranslatableSection",{get:function(){return void 0!==this._msgCountAtSectionStart},enumerable:!0,configurable:!0}),t.prototype._closeTranslatableSection=function(t,e){if(this._isInTranslatableSection){var n=this._msgCountAtSectionStart;if(1==e.reduce(function(t,e){return t+(e instanceof te?0:1)},0))for(var r=this._messages.length-1;n<=r;r--){var i=this._messages[r].nodes;if(!(1==i.length&&i[0]instanceof ui)){this._messages.splice(r,1);break}}this._msgCountAtSectionStart=void 0}else this._reportError(t,"Unexpected section end")},t.prototype._reportError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}();function ji(t){if(!t)return{meaning:"",description:"",id:""};var e=t.indexOf(Mi),n=t.indexOf(Ti),r=-1<e?[t.slice(0,e),t.slice(e+2)]:[t,""],i=r[0],o=r[1],a=-1<n?[i.slice(0,n),i.slice(n+1)]:["",i];return{meaning:a[0],description:a[1],id:o}}var Fi=new(function(){function t(){this.closedByParent=!1,this.contentType=he.PARSABLE_DATA,this.isVoid=!1,this.ignoreFirstLf=!1,this.canSelfClose=!0}return t.prototype.requireExtraParent=function(t){return!1},t.prototype.isClosedByChild=function(t){return!1},t}());function Vi(t){return Fi}var Bi=function(r){function t(){return r.call(this,Vi)||this}return f(t,r),t.prototype.parse=function(t,e,n){return void 0===n&&(n=!1),r.prototype.parse.call(this,t,e,n)},t}(Ur),Ui=function(){function t(){}return t.prototype.createNameMapper=function(t){return null},t}(),Hi=function(r){function t(t,e){var n=r.call(this)||this;return n.mapName=e,n.internalToPublic={},n.publicToNextId={},n.publicToInternal={},t.nodes.forEach(function(t){return t.visit(n)}),n}return f(t,r),t.prototype.toPublicName=function(t){return this.internalToPublic.hasOwnProperty(t)?this.internalToPublic[t]:null},t.prototype.toInternalName=function(t){return this.publicToInternal.hasOwnProperty(t)?this.publicToInternal[t]:null},t.prototype.visitText=function(t,e){return null},t.prototype.visitTagPlaceholder=function(t,e){this.visitPlaceholderName(t.startName),r.prototype.visitTagPlaceholder.call(this,t,e),this.visitPlaceholderName(t.closeName)},t.prototype.visitPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},t.prototype.visitIcuPlaceholder=function(t,e){this.visitPlaceholderName(t.name)},t.prototype.visitPlaceholderName=function(t){if(t&&!this.internalToPublic.hasOwnProperty(t)){var e=this.mapName(t);if(this.publicToInternal.hasOwnProperty(e)){var n=this.publicToNextId[e];this.publicToNextId[e]=n+1,e=e+"_"+n}else this.publicToNextId[e]=1;this.internalToPublic[t]=e,this.publicToInternal[e]=t}},t}(yi),zi=new(function(){function t(){}return t.prototype.visitTag=function(t){var e=this,n=this._serializeAttributes(t.attrs);if(0==t.children.length)return"<"+t.name+n+"/>";var r=t.children.map(function(t){return t.visit(e)});return"<"+t.name+n+">"+r.join("")+"</"+t.name+">"},t.prototype.visitText=function(t){return t.value},t.prototype.visitDeclaration=function(t){return"<?xml"+this._serializeAttributes(t.attrs)+" ?>"},t.prototype._serializeAttributes=function(e){var t=Object.keys(e).map(function(t){return t+'="'+e[t]+'"'}).join(" ");return 0<t.length?" "+t:""},t.prototype.visitDoctype=function(t){return"<!DOCTYPE "+t.rootTag+" [\n"+t.dtd+"\n]>"},t}());function Gi(t){return t.map(function(t){return t.visit(zi)}).join("")}var Wi=function(){function t(e){var n=this;this.attrs={},Object.keys(e).forEach(function(t){n.attrs[t]=Xi(e[t])})}return t.prototype.visit=function(t){return t.visitDeclaration(this)},t}(),qi=function(){function t(t,e){this.rootTag=t,this.dtd=e}return t.prototype.visit=function(t){return t.visitDoctype(this)},t}(),Yi=function(){function t(t,e,n){void 0===e&&(e={}),void 0===n&&(n=[]);var r=this;this.name=t,this.children=n,this.attrs={},Object.keys(e).forEach(function(t){r.attrs[t]=Xi(e[t])})}return t.prototype.visit=function(t){return t.visitTag(this)},t}(),$i=function(){function t(t){this.value=Xi(t)}return t.prototype.visit=function(t){return t.visitText(this)},t}(),Ki=function(e){function t(t){return void 0===t&&(t=0),e.call(this,"\n"+new Array(t+1).join(" "))||this}return f(t,e),t}($i),Qi=[[/&/g,"&"],[/"/g,"""],[/'/g,"'"],[/</g,"<"],[/>/g,">"]];function Xi(t){return Qi.reduce(function(t,e){return t.replace(e[0],e[1])},t)}var Zi="trans-unit",Ji=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.write=function(t,e){var i=new to,o=[];t.forEach(function(t){var n=[];t.sources.forEach(function(t){var e=new Yi("context-group",{purpose:"location"});e.children.push(new Ki(10),new Yi("context",{"context-type":"sourcefile"},[new $i(t.filePath)]),new Ki(10),new Yi("context",{"context-type":"linenumber"},[new $i(""+t.startLine)]),new Ki(8)),n.push(new Ki(8),e)});var e,r=new Yi(Zi,{id:t.id,datatype:"html"});(e=r.children).push.apply(e,[new Ki(8),new Yi("source",{},i.serialize(t.nodes))].concat(n)),t.description&&r.children.push(new Ki(8),new Yi("note",{priority:"1",from:"description"},[new $i(t.description)])),t.meaning&&r.children.push(new Ki(8),new Yi("note",{priority:"1",from:"meaning"},[new $i(t.meaning)])),r.children.push(new Ki(6)),o.push(new Ki(6),r)});var n=new Yi("body",{},o.concat([new Ki(4)])),r=new Yi("file",{"source-language":e||"en",datatype:"plaintext",original:"ng2.template"},[new Ki(4),n,new Ki(2)]),a=new Yi("xliff",{version:"1.2",xmlns:"urn:oasis:names:tc:xliff:document:1.2"},[new Ki(2),r,new Ki]);return Gi([new Wi({version:"1.0",encoding:"UTF-8"}),new Ki,a,new Ki])},e.prototype.load=function(t,i){var e=(new eo).parse(t,i),n=e.locale,o=e.msgIdToHtml,a=e.errors,s={},l=new no;if(Object.keys(o).forEach(function(t){var e=l.convert(o[t],i),n=e.i18nNodes,r=e.errors;a.push.apply(a,r),s[t]=n}),a.length)throw new Error("xliff parse errors:\n"+a.join("\n"));return{locale:n,i18nNodesByMsgId:s}},e.prototype.digest=function(t){return Gr(t)},e}(Ui),to=function(){function t(){}return t.prototype.visitText=function(t,e){return[new $i(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(e,t){var n=this,r=[new $i("{"+e.expressionPlaceholder+", "+e.type+", ")];return Object.keys(e.cases).forEach(function(t){r.push.apply(r,[new $i(t+" {")].concat(e.cases[t].visit(n),[new $i("} ")]))}),r.push(new $i("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=function(t){switch(t.toLowerCase()){case"br":return"lb";case"img":return"image";default:return"x-"+t}}(t.tag);if(t.isVoid)return[new Yi("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+"/>"})];var r=new Yi("x",{id:t.startName,ctype:n,"equiv-text":"<"+t.tag+">"}),i=new Yi("x",{id:t.closeName,ctype:n,"equiv-text":"</"+t.tag+">"});return[r].concat(this.serialize(t.children),[i])},t.prototype.visitPlaceholder=function(t,e){return[new Yi("x",{id:t.name,"equiv-text":"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n="{"+t.value.expression+", "+t.value.type+", "+Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" ")+"}";return[new Yi("x",{id:t.name,"equiv-text":n})]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),eo=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Bi).parse(t,e,!1);return this._errors=n.errors,ee(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case Zi:this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(ee(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,"<"+Zi+'> misses the "id" attribute');break;case"source":case"seg-source":break;case"target":var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,a=t.startSourceSpan.start.file.content.slice(i,o);this._unitMlString=a;break;case"file":var s=t.attrs.find(function(t){return"target-language"===t.name});s&&(this._locale=s.value),ee(this,t.children,null);break;default:ee(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}(),no=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Bi).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:0<this._errors.length||0==n.rootNodes.length?[]:[].concat.apply([],ee(this,n.rootNodes)),errors:this._errors}},t.prototype.visitText=function(t,e){return new ui(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){if("x"===t.name){var n=t.attrs.find(function(t){return"id"===t.name});return n?new fi("",n.value,t.sourceSpan):(this._addError(t,'<x> misses the "id" attribute'),null)}return"mrk"===t.name?[].concat.apply([],ee(this,t.children)):(this._addError(t,"Unexpected tag"),null)},t.prototype.visitExpansion=function(e,t){var n={};return ee(this,e.cases).forEach(function(t){n[t.value]=new pi(t.nodes,e.sourceSpan)}),new di(e.switchValue,e.type,n,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:ee(this,t.expression)}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}();var ro=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.write=function(t,e){var i=new io,o=[];t.forEach(function(t){var e=new Yi("unit",{id:t.id}),n=new Yi("notes");(t.description||t.meaning)&&(t.description&&n.children.push(new Ki(8),new Yi("note",{category:"description"},[new $i(t.description)])),t.meaning&&n.children.push(new Ki(8),new Yi("note",{category:"meaning"},[new $i(t.meaning)]))),t.sources.forEach(function(t){n.children.push(new Ki(8),new Yi("note",{category:"location"},[new $i(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),n.children.push(new Ki(6)),e.children.push(new Ki(6),n);var r=new Yi("segment");r.children.push(new Ki(8),new Yi("source",{},i.serialize(t.nodes)),new Ki(6)),e.children.push(new Ki(6),r,new Ki(4)),o.push(new Ki(4),e)});var n=new Yi("file",{original:"ng.template",id:"ngi18n"},o.concat([new Ki(2)])),r=new Yi("xliff",{version:"2.0",xmlns:"urn:oasis:names:tc:xliff:document:2.0",srcLang:e||"en"},[new Ki(2),n,new Ki]);return Gi([new Wi({version:"1.0",encoding:"UTF-8"}),new Ki,r,new Ki])},e.prototype.load=function(t,i){var e=(new oo).parse(t,i),n=e.locale,o=e.msgIdToHtml,a=e.errors,s={},l=new ao;if(Object.keys(o).forEach(function(t){var e=l.convert(o[t],i),n=e.i18nNodes,r=e.errors;a.push.apply(a,r),s[t]=n}),a.length)throw new Error("xliff2 parse errors:\n"+a.join("\n"));return{locale:n,i18nNodesByMsgId:s}},e.prototype.digest=function(t){return Wr(t)},e}(Ui),io=function(){function t(){}return t.prototype.visitText=function(t,e){return[new $i(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(e,t){var n=this,r=[new $i("{"+e.expressionPlaceholder+", "+e.type+", ")];return Object.keys(e.cases).forEach(function(t){r.push.apply(r,[new $i(t+" {")].concat(e.cases[t].visit(n),[new $i("} ")]))}),r.push(new $i("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=this,r=function(t){switch(t.toLowerCase()){case"br":case"b":case"i":case"u":return"fmt";case"img":return"image";case"a":return"link";default:return"other"}}(t.tag);if(t.isVoid)return[new Yi("ph",{id:(this._nextPlaceholderId++).toString(),equiv:t.startName,type:r,disp:"<"+t.tag+"/>"})];var i=new Yi("pc",{id:(this._nextPlaceholderId++).toString(),equivStart:t.startName,equivEnd:t.closeName,type:r,dispStart:"<"+t.tag+">",dispEnd:"</"+t.tag+">"}),o=[].concat.apply([],t.children.map(function(t){return t.visit(n)}));return o.length?o.forEach(function(t){return i.children.push(t)}):i.children.push(new $i("")),[i]},t.prototype.visitPlaceholder=function(t,e){var n=(this._nextPlaceholderId++).toString();return[new Yi("ph",{id:n,equiv:t.name,disp:"{{"+t.value+"}}"})]},t.prototype.visitIcuPlaceholder=function(t,e){var n=Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" "),r=(this._nextPlaceholderId++).toString();return[new Yi("ph",{id:r,equiv:t.name,disp:"{"+t.value.expression+", "+t.value.type+", "+n+"}"})]},t.prototype.serialize=function(t){var e=this;return this._nextPlaceholderId=0,[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}(),oo=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._unitMlString=null,this._msgIdToHtml={};var n=(new Bi).parse(t,e,!1);return this._errors=n.errors,ee(this,n.rootNodes,null),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case"unit":this._unitMlString=null;var n=t.attrs.find(function(t){return"id"===t.name});if(n){var r=n.value;this._msgIdToHtml.hasOwnProperty(r)?this._addError(t,"Duplicated translations for msg "+r):(ee(this,t.children,null),"string"==typeof this._unitMlString?this._msgIdToHtml[r]=this._unitMlString:this._addError(t,"Message "+r+" misses a translation"))}else this._addError(t,'<unit> misses the "id" attribute');break;case"source":break;case"target":var i=t.startSourceSpan.end.offset,o=t.endSourceSpan.start.offset,a=t.startSourceSpan.start.file.content.slice(i,o);this._unitMlString=a;break;case"xliff":var s=t.attrs.find(function(t){return"trgLang"===t.name});s&&(this._locale=s.value);var l=t.attrs.find(function(t){return"version"===t.name});if(l){var c=l.value;"2.0"!==c?this._addError(t,"The XLIFF file version "+c+" is not compatible with XLIFF 2.0 serializer"):ee(this,t.children,null)}break;default:ee(this,t.children,null)}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}(),ao=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Bi).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:0<this._errors.length||0==n.rootNodes.length?[]:[].concat.apply([],ee(this,n.rootNodes)),errors:this._errors}},t.prototype.visitText=function(t,e){return new ui(t.value,t.sourceSpan)},t.prototype.visitElement=function(t,e){var n=this;switch(t.name){case"ph":var r=t.attrs.find(function(t){return"equiv"===t.name});if(r)return[new fi("",r.value,t.sourceSpan)];this._addError(t,'<ph> misses the "equiv" attribute');break;case"pc":var i=t.attrs.find(function(t){return"equivStart"===t.name}),o=t.attrs.find(function(t){return"equivEnd"===t.name});if(i){if(o){var a=i.value,s=o.value,l=[];return l.concat.apply(l,[new fi("",a,t.sourceSpan)].concat(t.children.map(function(t){return t.visit(n,null)}),[new fi("",s,t.sourceSpan)]))}this._addError(t,'<ph> misses the "equivEnd" attribute')}else this._addError(t,'<ph> misses the "equivStart" attribute');break;case"mrk":return[].concat.apply([],ee(this,t.children));default:this._addError(t,"Unexpected tag")}return null},t.prototype.visitExpansion=function(e,t){var n={};return ee(this,e.cases).forEach(function(t){n[t.value]=new pi(t.nodes,e.sourceSpan)}),new di(e.switchValue,e.type,n,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:[].concat.apply([],ee(this,t.expression))}},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}();var so="messagebundle",lo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.write=function(t,e){var n=new po,r=new co,i=new Yi(so);return t.forEach(function(t){var e={id:t.id};t.description&&(e.desc=t.description),t.meaning&&(e.meaning=t.meaning);var n=[];t.sources.forEach(function(t){n.push(new Yi("source",{},[new $i(t.filePath+":"+t.startLine+(t.endLine!==t.startLine?","+t.endLine:""))]))}),i.children.push(new Ki(2),new Yi("msg",e,n.concat(r.serialize(t.nodes))))}),i.children.push(new Ki),Gi([new Wi({version:"1.0",encoding:"UTF-8"}),new Ki,new qi(so,'<!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)>'),new Ki,n.addDefaultExamples(i),new Ki])},e.prototype.load=function(t,e){throw new Error("Unsupported")},e.prototype.digest=function(t){return uo(t)},e.prototype.createNameMapper=function(t){return new Hi(t,ho)},e}(Ui),co=function(){function t(){}return t.prototype.visitText=function(t,e){return[new $i(t.value)]},t.prototype.visitContainer=function(t,e){var n=this,r=[];return t.children.forEach(function(t){return r.push.apply(r,t.visit(n))}),r},t.prototype.visitIcu=function(e,t){var n=this,r=[new $i("{"+e.expressionPlaceholder+", "+e.type+", ")];return Object.keys(e.cases).forEach(function(t){r.push.apply(r,[new $i(t+" {")].concat(e.cases[t].visit(n),[new $i("} ")]))}),r.push(new $i("}")),r},t.prototype.visitTagPlaceholder=function(t,e){var n=new Yi("ex",{},[new $i("<"+t.tag+">")]),r=new Yi("ph",{name:t.startName},[n]);if(t.isVoid)return[r];var i=new Yi("ex",{},[new $i("</"+t.tag+">")]),o=new Yi("ph",{name:t.closeName},[i]);return[r].concat(this.serialize(t.children),[o])},t.prototype.visitPlaceholder=function(t,e){var n=new Yi("ex",{},[new $i("{{"+t.value+"}}")]);return[new Yi("ph",{name:t.name},[n])]},t.prototype.visitIcuPlaceholder=function(t,e){var n=new Yi("ex",{},[new $i("{"+t.value.expression+", "+t.value.type+", "+Object.keys(t.value.cases).map(function(t){return t+" {...}"}).join(" ")+"}")]);return[new Yi("ph",{name:t.name},[n])]},t.prototype.serialize=function(t){var e=this;return[].concat.apply([],t.map(function(t){return t.visit(e)}))},t}();function uo(t){return Wr(t)}var po=function(){function t(){}return t.prototype.addDefaultExamples=function(t){return t.visit(this),t},t.prototype.visitTag=function(t){var e=this;if("ph"===t.name){if(!t.children||0==t.children.length){var n=new $i(t.attrs.name||"...");t.children=[new Yi("ex",{},[n])]}}else t.children&&t.children.forEach(function(t){return t.visit(e)})},t.prototype.visitText=function(t){},t.prototype.visitDeclaration=function(t){},t.prototype.visitDoctype=function(t){},t}();function ho(t){return t.toUpperCase().replace(/[^A-Z0-9_]/g,"_")}var fo="translationbundle",mo="translation",go=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.write=function(t,e){throw new Error("Unsupported")},e.prototype.load=function(t,o){var e=(new yo).parse(t,o),n=e.locale,a=e.msgIdToHtml,r=e.errors,s={},l=new vo;if(Object.keys(a).forEach(function(r){var e,n,i;e=s,n=r,i=function(){var t=l.convert(a[r],o),e=t.i18nNodes,n=t.errors;if(n.length)throw new Error("xtb parse errors:\n"+n.join("\n"));return e},Object.defineProperty(e,n,{configurable:!0,enumerable:!0,get:function(){var t=i();return Object.defineProperty(e,n,{enumerable:!0,value:t}),t},set:function(t){throw new Error("Could not overwrite an XTB translation")}})}),r.length)throw new Error("xtb parse errors:\n"+r.join("\n"));return{locale:n,i18nNodesByMsgId:s}},e.prototype.digest=function(t){return uo(t)},e.prototype.createNameMapper=function(t){return new Hi(t,ho)},e}(Ui);var yo=function(){function t(){this._locale=null}return t.prototype.parse=function(t,e){this._bundleDepth=0,this._msgIdToHtml={};var n=(new Bi).parse(t,e,!1);return this._errors=n.errors,ee(this,n.rootNodes),{msgIdToHtml:this._msgIdToHtml,errors:this._errors,locale:this._locale}},t.prototype.visitElement=function(t,e){switch(t.name){case fo:this._bundleDepth++,1<this._bundleDepth&&this._addError(t,"<"+fo+"> elements can not be nested");var n=t.attrs.find(function(t){return"lang"===t.name});n&&(this._locale=n.value),ee(this,t.children,null),this._bundleDepth--;break;case mo:var r=t.attrs.find(function(t){return"id"===t.name});if(r){var i=r.value;if(this._msgIdToHtml.hasOwnProperty(i))this._addError(t,"Duplicated translations for msg "+i);else{var o=t.startSourceSpan.end.offset,a=t.endSourceSpan.start.offset,s=t.startSourceSpan.start.file.content.slice(o,a);this._msgIdToHtml[i]=s}}else this._addError(t,"<"+mo+'> misses the "id" attribute');break;default:this._addError(t,"Unexpected tag")}},t.prototype.visitAttribute=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitComment=function(t,e){},t.prototype.visitExpansion=function(t,e){},t.prototype.visitExpansionCase=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}(),vo=function(){function t(){}return t.prototype.convert=function(t,e){var n=(new Bi).parse(t,e,!0);return this._errors=n.errors,{i18nNodes:0<this._errors.length||0==n.rootNodes.length?[]:ee(this,n.rootNodes),errors:this._errors}},t.prototype.visitText=function(t,e){return new ui(t.value,t.sourceSpan)},t.prototype.visitExpansion=function(e,t){var n={};return ee(this,e.cases).forEach(function(t){n[t.value]=new pi(t.nodes,e.sourceSpan)}),new di(e.switchValue,e.type,n,e.sourceSpan)},t.prototype.visitExpansionCase=function(t,e){return{value:t.value,nodes:ee(this,t.expression)}},t.prototype.visitElement=function(t,e){if("ph"===t.name){var n=t.attrs.find(function(t){return"name"===t.name});if(n)return new fi("",n.value,t.sourceSpan);this._addError(t,'<ph> misses the "name" attribute')}else this._addError(t,"Unexpected tag");return null},t.prototype.visitComment=function(t,e){},t.prototype.visitAttribute=function(t,e){},t.prototype._addError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}(),bo=function(i){function t(){return i.call(this,wi)||this}return f(t,i),t.prototype.parse=function(t,e,n,r){return void 0===n&&(n=!1),void 0===r&&(r=se),i.prototype.parse.call(this,t,e,n,r)},t}(Ur),_o=function(){function s(t,e,n,r,i,o){void 0===t&&(t={}),void 0===i&&(i=D.Warning),this._i18nNodesByMsgId=t,this.digest=n,this.mapperFactory=r,this._i18nToHtml=new wo(t,e,n,r,i,o)}return s.load=function(t,e,n,r,i){var o=n.load(t,e),a=o.locale;return new s(o.i18nNodesByMsgId,a,function(t){return n.digest(t)},function(t){return n.createNameMapper(t)},r,i)},s.prototype.get=function(t){var e=this._i18nToHtml.convert(t);if(e.errors.length)throw new Error(e.errors.join("\n"));return e.nodes},s.prototype.has=function(t){return this.digest(t)in this._i18nNodesByMsgId},s}(),wo=function(){function t(t,e,n,r,i,o){void 0===t&&(t={}),this._i18nNodesByMsgId=t,this._locale=e,this._digest=n,this._mapperFactory=r,this._missingTranslationStrategy=i,this._console=o,this._contextStack=[],this._errors=[]}return t.prototype.convert=function(t){this._contextStack.length=0,this._errors.length=0;var e=this._convertToText(t),n=t.nodes[0].sourceSpan.start.file.url,r=(new bo).parse(e,n,!0);return{nodes:r.rootNodes,errors:this._errors.concat(r.errors)}},t.prototype.visitText=function(t,e){return t.value},t.prototype.visitContainer=function(t,e){var n=this;return t.children.map(function(t){return t.visit(n)}).join("")},t.prototype.visitIcu=function(e,t){var n=this,r=Object.keys(e.cases).map(function(t){return t+" {"+e.cases[t].visit(n)+"}"});return"{"+(this._srcMsg.placeholders.hasOwnProperty(e.expression)?this._srcMsg.placeholders[e.expression]:e.expression)+", "+e.type+", "+r.join(" ")+"}"},t.prototype.visitPlaceholder=function(t,e){var n=this._mapper(t.name);return this._srcMsg.placeholders.hasOwnProperty(n)?this._srcMsg.placeholders[n]:this._srcMsg.placeholderToMessage.hasOwnProperty(n)?this._convertToText(this._srcMsg.placeholderToMessage[n]):(this._addError(t,'Unknown placeholder "'+t.name+'"'),"")},t.prototype.visitTagPlaceholder=function(e,t){var n=this,r=""+e.tag,i=Object.keys(e.attrs).map(function(t){return t+'="'+e.attrs[t]+'"'}).join(" ");return e.isVoid?"<"+r+" "+i+"/>":"<"+r+" "+i+">"+e.children.map(function(t){return t.visit(n)}).join("")+"</"+r+">"},t.prototype.visitIcuPlaceholder=function(t,e){return this._convertToText(this._srcMsg.placeholderToMessage[t.name])},t.prototype._convertToText=function(t){var e,n=this,r=this._digest(t),i=this._mapperFactory?this._mapperFactory(t):null;if(this._contextStack.push({msg:this._srcMsg,mapper:this._mapper}),this._srcMsg=t,this._i18nNodesByMsgId.hasOwnProperty(r))e=this._i18nNodesByMsgId[r],this._mapper=function(t){return i?i.toInternalName(t):t};else{if(this._missingTranslationStrategy===D.Error){var o=this._locale?' for locale "'+this._locale+'"':"";this._addError(t.nodes[0],'Missing translation for message "'+r+'"'+o)}else if(this._console&&this._missingTranslationStrategy===D.Warning){o=this._locale?' for locale "'+this._locale+'"':"";this._console.warn('Missing translation for message "'+r+'"'+o)}e=t.nodes,this._mapper=function(t){return t}}var a=e.map(function(t){return t.visit(n)}).join(""),s=this._contextStack.pop();return this._srcMsg=s.msg,this._mapper=s.mapper,a},t.prototype._addError=function(t,e){this._errors.push(new Oi(t.sourceSpan,e))},t}(),Co=function(){function t(t,e,n,r,i){if(void 0===r&&(r=D.Warning),this._htmlParser=t,e){var o=function(t){switch(t=(t||"xlf").toLowerCase()){case"xmb":return new lo;case"xtb":return new go;case"xliff2":case"xlf2":return new ro;case"xliff":case"xlf":default:return new Ji}}(n);this._translationBundle=_o.load(e,"i18n",o,r,i)}else this._translationBundle=new _o({},null,Gr,void 0,r,i)}return t.prototype.parse=function(t,e,n,r){void 0===n&&(n=!1),void 0===r&&(r=se);var i,o,a,s=this._htmlParser.parse(t,e,n,r);return s.errors.length?new Br(s.rootNodes,s.errors):(i=s.rootNodes,o=this._translationBundle,a=r,new Li([],{}).merge(i,o,a))},t}();var xo=/(\.ts|\.d\.ts|\.js|\.jsx|\.tsx)$/,So=/\.ngfactory\.|\.ngsummary\./,Eo=/\.ngsummary\./,ko=/NgSummary$/;function Oo(t,e){void 0===e&&(e=!1);var n=Ao(t,e);return n[0]+".ngfactory"+Do(n[1])}function Po(t){return t.replace(So,".")}function Ao(t,e){if(void 0===e&&(e=!1),t.endsWith(".d.ts"))return[t.slice(0,-5),e?".ts":".d.ts"];var n=t.lastIndexOf(".");return-1!==n?[t.substring(0,n),t.substring(n)]:[t,""]}function Do(t){return".tsx"===t?".ts":t}function To(t){return t.replace(xo,"")+".ngsummary.json"}function Mo(t,e){void 0===e&&(e=!1);var n=Ao(Po(t),e);return n[0]+".ngsummary"+n[1]}function Io(t){return t+"NgSummary"}var Ro=/\u0275\d+/;function No(t){return Ro.test(t)}var Lo="@angular/core",jo=function(){function t(){}return t.ANALYZE_FOR_ENTRY_COMPONENTS={name:"ANALYZE_FOR_ENTRY_COMPONENTS",moduleName:Lo},t.ElementRef={name:"ElementRef",moduleName:Lo},t.NgModuleRef={name:"NgModuleRef",moduleName:Lo},t.ViewContainerRef={name:"ViewContainerRef",moduleName:Lo},t.ChangeDetectorRef={name:"ChangeDetectorRef",moduleName:Lo},t.QueryList={name:"QueryList",moduleName:Lo},t.TemplateRef={name:"TemplateRef",moduleName:Lo},t.CodegenComponentFactoryResolver={name:"ɵCodegenComponentFactoryResolver",moduleName:Lo},t.ComponentFactoryResolver={name:"ComponentFactoryResolver",moduleName:Lo},t.ComponentFactory={name:"ComponentFactory",moduleName:Lo},t.ComponentRef={name:"ComponentRef",moduleName:Lo},t.NgModuleFactory={name:"NgModuleFactory",moduleName:Lo},t.createModuleFactory={name:"ɵcmf",moduleName:Lo},t.moduleDef={name:"ɵmod",moduleName:Lo},t.moduleProviderDef={name:"ɵmpd",moduleName:Lo},t.RegisterModuleFactoryFn={name:"ɵregisterModuleFactory",moduleName:Lo},t.Injector={name:"Injector",moduleName:Lo},t.ViewEncapsulation={name:"ViewEncapsulation",moduleName:Lo},t.ChangeDetectionStrategy={name:"ChangeDetectionStrategy",moduleName:Lo},t.SecurityContext={name:"SecurityContext",moduleName:Lo},t.LOCALE_ID={name:"LOCALE_ID",moduleName:Lo},t.TRANSLATIONS_FORMAT={name:"TRANSLATIONS_FORMAT",moduleName:Lo},t.inlineInterpolate={name:"ɵinlineInterpolate",moduleName:Lo},t.interpolate={name:"ɵinterpolate",moduleName:Lo},t.EMPTY_ARRAY={name:"ɵEMPTY_ARRAY",moduleName:Lo},t.EMPTY_MAP={name:"ɵEMPTY_MAP",moduleName:Lo},t.Renderer={name:"Renderer",moduleName:Lo},t.viewDef={name:"ɵvid",moduleName:Lo},t.elementDef={name:"ɵeld",moduleName:Lo},t.anchorDef={name:"ɵand",moduleName:Lo},t.textDef={name:"ɵted",moduleName:Lo},t.directiveDef={name:"ɵdid",moduleName:Lo},t.providerDef={name:"ɵprd",moduleName:Lo},t.queryDef={name:"ɵqud",moduleName:Lo},t.pureArrayDef={name:"ɵpad",moduleName:Lo},t.pureObjectDef={name:"ɵpod",moduleName:Lo},t.purePipeDef={name:"ɵppd",moduleName:Lo},t.pipeDef={name:"ɵpid",moduleName:Lo},t.nodeValue={name:"ɵnov",moduleName:Lo},t.ngContentDef={name:"ɵncd",moduleName:Lo},t.unwrapValue={name:"ɵunv",moduleName:Lo},t.createRendererType2={name:"ɵcrt",moduleName:Lo},t.RendererType2={name:"RendererType2",moduleName:Lo},t.ViewDefinition={name:"ɵViewDefinition",moduleName:Lo},t.createComponentFactory={name:"ɵccf",moduleName:Lo},t}();function Fo(t){return{identifier:{reference:t}}}function Vo(t,e){return Fo(t.resolveExternalReference(e))}var Bo={OnInit:0,OnDestroy:1,DoCheck:2,OnChanges:3,AfterContentInit:4,AfterContentChecked:5,AfterViewInit:6,AfterViewChecked:7};Bo[Bo.OnInit]="OnInit",Bo[Bo.OnDestroy]="OnDestroy",Bo[Bo.DoCheck]="DoCheck",Bo[Bo.OnChanges]="OnChanges",Bo[Bo.AfterContentInit]="AfterContentInit",Bo[Bo.AfterContentChecked]="AfterContentChecked",Bo[Bo.AfterViewInit]="AfterViewInit",Bo[Bo.AfterViewChecked]="AfterViewChecked";var Uo=[Bo.OnInit,Bo.OnDestroy,Bo.DoCheck,Bo.OnChanges,Bo.AfterContentInit,Bo.AfterContentChecked,Bo.AfterViewInit,Bo.AfterViewChecked];function Ho(t,e,n){return t.hasLifecycleHook(n,function(t){switch(t){case Bo.OnInit:return"ngOnInit";case Bo.OnDestroy:return"ngOnDestroy";case Bo.DoCheck:return"ngDoCheck";case Bo.OnChanges:return"ngOnChanges";case Bo.AfterContentInit:return"ngAfterContentInit";case Bo.AfterContentChecked:return"ngAfterContentChecked";case Bo.AfterViewInit:return"ngAfterViewInit";case Bo.AfterViewChecked:return"ngAfterViewChecked"}}(e))}var zo=new RegExp("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-.\\w*]+)(?:=([\"']?)([^\\]\"']*)\\5)?\\])|(\\))|(\\s*,\\s*)","g"),Go=function(){function s(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return s.parse=function(t){var e,n=[],r=function(t,e){0<e.notSelectors.length&&!e.element&&0==e.classNames.length&&0==e.attrs.length&&(e.element="*"),t.push(e)},i=new s,o=i,a=!1;for(zo.lastIndex=0;e=zo.exec(t);){if(e[1]){if(a)throw new Error("Nesting :not is not allowed in a selector");a=!0,o=new s,i.notSelectors.push(o)}if(e[2]&&o.setElement(e[2]),e[3]&&o.addClassName(e[3]),e[4]&&o.addAttribute(e[4],e[6]),e[7]&&(a=!1,o=i),e[8]){if(a)throw new Error("Multiple selectors in :not are not supported");r(n,i),i=o=new s}}return r(n,i),n},s.prototype.isElementSelector=function(){return this.hasElementSelector()&&0==this.classNames.length&&0==this.attrs.length&&0===this.notSelectors.length},s.prototype.hasElementSelector=function(){return!!this.element},s.prototype.setElement=function(t){void 0===t&&(t=null),this.element=t},s.prototype.getMatchingElementTemplate=function(){for(var t=this.element||"div",e=0<this.classNames.length?' class="'+this.classNames.join(" ")+'"':"",n="",r=0;r<this.attrs.length;r+=2){n+=" "+this.attrs[r]+(""!==this.attrs[r+1]?'="'+this.attrs[r+1]+'"':"")}return wi(t).isVoid?"<"+t+e+n+"/>":"<"+t+e+n+"></"+t+">"},s.prototype.addAttribute=function(t,e){void 0===e&&(e=""),this.attrs.push(t,e&&e.toLowerCase()||"")},s.prototype.addClassName=function(t){this.classNames.push(t.toLowerCase())},s.prototype.toString=function(){var e=this.element||"";if(this.classNames&&this.classNames.forEach(function(t){return e+="."+t}),this.attrs)for(var t=0;t<this.attrs.length;t+=2){var n=this.attrs[t],r=this.attrs[t+1];e+="["+n+(r?"="+r:"")+"]"}return this.notSelectors.forEach(function(t){return e+=":not("+t+")"}),e},s}(),Wo=function(){function r(){this._elementMap=new Map,this._elementPartialMap=new Map,this._classMap=new Map,this._classPartialMap=new Map,this._attrValueMap=new Map,this._attrValuePartialMap=new Map,this._listContexts=[]}return r.createNotMatcher=function(t){var e=new r;return e.addSelectables(t,null),e},r.prototype.addSelectables=function(t,e){var n=null;1<t.length&&(n=new qo(t),this._listContexts.push(n));for(var r=0;r<t.length;r++)this._addSelectable(t[r],e,n)},r.prototype._addSelectable=function(t,e,n){var r=this,i=t.element,o=t.classNames,a=t.attrs,s=new Yo(t,e,n);i&&((c=0===a.length&&0===o.length)?this._addTerminal(r._elementMap,i,s):r=this._addPartial(r._elementPartialMap,i));if(o)for(var l=0;l<o.length;l++){var c=0===a.length&&l===o.length-1,u=o[l];c?this._addTerminal(r._classMap,u,s):r=this._addPartial(r._classPartialMap,u)}if(a)for(l=0;l<a.length;l+=2){c=l===a.length-2;var p=a[l],d=a[l+1];if(c){var h=r._attrValueMap,f=h.get(p);f||(f=new Map,h.set(p,f)),this._addTerminal(f,d,s)}else{var m=r._attrValuePartialMap,g=m.get(p);g||(g=new Map,m.set(p,g)),r=this._addPartial(g,d)}}},r.prototype._addTerminal=function(t,e,n){var r=t.get(e);r||(r=[],t.set(e,r)),r.push(n)},r.prototype._addPartial=function(t,e){var n=t.get(e);return n||(n=new r,t.set(e,n)),n},r.prototype.match=function(t,e){for(var n=!1,r=t.element,i=t.classNames,o=t.attrs,a=0;a<this._listContexts.length;a++)this._listContexts[a].alreadyMatched=!1;if(n=this._matchTerminal(this._elementMap,r,t,e)||n,n=this._matchPartial(this._elementPartialMap,r,t,e)||n,i)for(a=0;a<i.length;a++){var s=i[a];n=this._matchTerminal(this._classMap,s,t,e)||n,n=this._matchPartial(this._classPartialMap,s,t,e)||n}if(o)for(a=0;a<o.length;a+=2){var l=o[a],c=o[a+1],u=this._attrValueMap.get(l);c&&(n=this._matchTerminal(u,"",t,e)||n),n=this._matchTerminal(u,c,t,e)||n;var p=this._attrValuePartialMap.get(l);c&&(n=this._matchPartial(p,"",t,e)||n),n=this._matchPartial(p,c,t,e)||n}return n},r.prototype._matchTerminal=function(t,e,n,r){if(!t||"string"!=typeof e)return!1;var i=t.get(e)||[],o=t.get("*");if(o&&(i=i.concat(o)),0===i.length)return!1;for(var a=!1,s=0;s<i.length;s++)a=i[s].finalize(n,r)||a;return a},r.prototype._matchPartial=function(t,e,n,r){if(!t||"string"!=typeof e)return!1;var i=t.get(e);return!!i&&i.match(n,r)},r}(),qo=function(t){this.selectors=t,this.alreadyMatched=!1},Yo=function(){function t(t,e,n){this.selector=t,this.cbContext=e,this.listContext=n,this.notSelectors=t.notSelectors}return t.prototype.finalize=function(t,e){var n=!0;!(0<this.notSelectors.length)||this.listContext&&this.listContext.alreadyMatched||(n=!Wo.createNotMatcher(this.notSelectors).match(t,null));return!n||!e||this.listContext&&this.listContext.alreadyMatched||(this.listContext&&(this.listContext.alreadyMatched=!0),e(this.selector,this.cbContext)),n},t}(),$o="ngComponentType",Ko=function(){function t(t,e,n,r,i,o,a,s,l,c,u,p){this._config=t,this._htmlParser=e,this._ngModuleResolver=n,this._directiveResolver=r,this._pipeResolver=i,this._summaryResolver=o,this._schemaRegistry=a,this._directiveNormalizer=s,this._console=l,this._staticSymbolCache=c,this._reflector=u,this._errorCollector=p,this._nonNormalizedDirectiveCache=new Map,this._directiveCache=new Map,this._summaryCache=new Map,this._pipeCache=new Map,this._ngModuleCache=new Map,this._ngModuleOfTypes=new Map}return t.prototype.getReflector=function(){return this._reflector},t.prototype.clearCacheFor=function(t){var e=this._directiveCache.get(t);this._directiveCache.delete(t),this._nonNormalizedDirectiveCache.delete(t),this._summaryCache.delete(t),this._pipeCache.delete(t),this._ngModuleOfTypes.delete(t),this._ngModuleCache.clear(),e&&this._directiveNormalizer.clearCacheFor(e)},t.prototype.clearCache=function(){this._directiveCache.clear(),this._nonNormalizedDirectiveCache.clear(),this._summaryCache.clear(),this._pipeCache.clear(),this._ngModuleCache.clear(),this._ngModuleOfTypes.clear(),this._directiveNormalizer.clearCache()},t.prototype._createProxyClass=function(t,e){var n=null,r=function(){if(!n)throw new Error("Illegal state: Class "+e+" for type "+K(t)+" is not compiled yet!");return n.apply(this,arguments)};return r.setDelegate=function(t){r.prototype=(n=t).prototype},r.overriddenName=e,r},t.prototype.getGeneratedClass=function(t,e){return t instanceof _t?this._staticSymbolCache.get(Oo(t.filePath),e):this._createProxyClass(t,e)},t.prototype.getComponentViewClass=function(t){return this.getGeneratedClass(t,Ot(t,0))},t.prototype.getHostComponentViewClass=function(t){return this.getGeneratedClass(t,At(t))},t.prototype.getHostComponentType=function(t){var e=Et({reference:t})+"_Host";if(t instanceof _t)return this._staticSymbolCache.get(t.filePath,e);var n=function(){};return n.overriddenName=e,n},t.prototype.getRendererType=function(t){return t instanceof _t?this._staticSymbolCache.get(Oo(t.filePath),Pt(t)):{}},t.prototype.getComponentFactory=function(t,e,n,r){if(e instanceof _t)return this._staticSymbolCache.get(Oo(e.filePath),Dt(e));var i=this.getHostComponentViewClass(e);return this._reflector.resolveExternalReference(jo.createComponentFactory)(t,e,i,n,r,[])},t.prototype.initComponentFactory=function(t,e){var n;t instanceof _t||(n=t.ngContentSelectors).push.apply(n,e)},t.prototype._loadSummary=function(t,e){var n=this._summaryCache.get(t);if(!n){var r=this._summaryResolver.resolveSummary(t);n=r?r.type:null,this._summaryCache.set(t,n||null)}return n&&n.summaryKind===e?n:null},t.prototype.getHostComponentMetadata=function(t,e){var n=this.getHostComponentType(t.type.reference);e||(e=this.getHostComponentViewClass(n));var r=Go.parse(t.selector)[0].getMatchingElementTemplate(),i=this._htmlParser.parse(r,"");return Lt.create({isHost:!0,type:{reference:n,diDeps:[],lifecycleHooks:[]},template:new Nt({encapsulation:v.None,template:r,templateUrl:"",htmlAst:i,styles:[],styleUrls:[],ngContentSelectors:[],animations:[],isInline:!0,externalStylesheets:[],interpolation:null,preserveWhitespaces:!1}),exportAs:null,changeDetection:h.Default,inputs:[],outputs:[],host:{},isComponent:!0,selector:"*",providers:[],viewProviders:[],queries:[],guards:{},viewQueries:[],componentViewType:e,rendererType:{id:"__Host__",encapsulation:v.None,styles:[],data:{}},entryComponents:[],componentFactory:null})},t.prototype.loadDirectiveMetadata=function(t,n,e){var r=this;if(this._directiveCache.has(n))return null;n=Q(n);var i,o,a=this.getNonNormalizedDirectiveMetadata(n),s=a.annotation,l=a.metadata,c=function(t){var e=new Lt({isHost:!1,type:l.type,isComponent:l.isComponent,selector:l.selector,exportAs:l.exportAs,changeDetection:l.changeDetection,inputs:l.inputs,outputs:l.outputs,hostListeners:l.hostListeners,hostProperties:l.hostProperties,hostAttributes:l.hostAttributes,providers:l.providers,viewProviders:l.viewProviders,queries:l.queries,guards:l.guards,viewQueries:l.viewQueries,entryComponents:l.entryComponents,componentViewType:l.componentViewType,rendererType:l.rendererType,componentFactory:l.componentFactory,template:t});return t&&r.initComponentFactory(l.componentFactory,t.ngContentSelectors),r._directiveCache.set(n,e),r._summaryCache.set(n,e.toSummary()),null};if(l.isComponent){var u=l.template,p=this._directiveNormalizer.normalizeTemplate({ngModuleType:t,componentType:n,moduleUrl:this._reflector.componentModuleUrl(n,s),encapsulation:u.encapsulation,template:u.template,templateUrl:u.templateUrl,styles:u.styles,styleUrls:u.styleUrls,animations:u.animations,interpolation:u.interpolation,preserveWhitespaces:u.preserveWhitespaces});return X(p)&&e?(this._reportError((i=n,(o=Error("Can't compile synchronously as "+K(i)+" is still being loaded!"))[$o]=i,o),n),null):U(p,c)}return c(null),null},t.prototype.getNonNormalizedDirectiveMetadata=function(t){var e=this;if(!(t=Q(t)))return null;var n=this._nonNormalizedDirectiveCache.get(t);if(n)return n;var r=this._directiveResolver.resolve(t,!1);if(!r)return null;var i=void 0;if(g.isTypeOf(r)){re("styles",(a=r).styles),re("styleUrls",a.styleUrls),oe("interpolation",a.interpolation);var o=a.animations;i=new Nt({encapsulation:F(a.encapsulation),template:F(a.template),templateUrl:F(a.templateUrl),htmlAst:null,styles:a.styles||[],styleUrls:a.styleUrls||[],animations:o||[],interpolation:F(a.interpolation),isInline:!!a.template,externalStylesheets:[],ngContentSelectors:[],preserveWhitespaces:F(r.preserveWhitespaces)})}var a,s=null,l=[],c=[],u=r.selector;g.isTypeOf(r)?(s=(a=r).changeDetection,a.viewProviders&&(l=this._getProvidersMetadata(a.viewProviders,c,'viewProviders for "'+Jo(t)+'"',[],t)),a.entryComponents&&(c=Qo(a.entryComponents).map(function(t){return e._getEntryComponentMetadata(t)}).concat(c)),u||(u=this._schemaRegistry.getDefaultComponentElementName())):u||(this._reportError(z("Directive "+Jo(t)+" has no selector, please add it!"),t),u="error");var p=[];null!=r.providers&&(p=this._getProvidersMetadata(r.providers,c,'providers for "'+Jo(t)+'"',[],t));var d=[],h=[];null!=r.queries&&(d=this._getQueriesMetadata(r.queries,!1,t),h=this._getQueriesMetadata(r.queries,!0,t));var f=Lt.create({isHost:!1,selector:u,exportAs:F(r.exportAs),isComponent:!!i,type:this._getTypeMetadata(t),template:i,changeDetection:s,inputs:r.inputs||[],outputs:r.outputs||[],host:r.host||{},providers:p||[],viewProviders:l||[],queries:d||[],guards:r.guards||{},viewQueries:h||[],entryComponents:c,componentViewType:i?this.getComponentViewClass(t):null,rendererType:i?this.getRendererType(t):null,componentFactory:null});return i&&(f.componentFactory=this.getComponentFactory(u,t,f.inputs,f.outputs)),n={metadata:f,annotation:r},this._nonNormalizedDirectiveCache.set(t,n),n},t.prototype.getDirectiveMetadata=function(t){var e=this._directiveCache.get(t);return e||this._reportError(z("Illegal state: getDirectiveMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Directive "+Jo(t)+"."),t),e},t.prototype.getDirectiveSummary=function(t){var e=this._loadSummary(t,Tt.Directive);return e||this._reportError(z("Illegal state: Could not load the summary for directive "+Jo(t)+"."),t),e},t.prototype.isDirective=function(t){return!!this._loadSummary(t,Tt.Directive)||this._directiveResolver.isDirective(t)},t.prototype.isPipe=function(t){return!!this._loadSummary(t,Tt.Pipe)||this._pipeResolver.isPipe(t)},t.prototype.isNgModule=function(t){return!!this._loadSummary(t,Tt.NgModule)||this._ngModuleResolver.isNgModule(t)},t.prototype.getNgModuleSummary=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Tt.NgModule);if(!n){var r=this.getNgModuleMetadata(t,!1,e);(n=r?r.toSummary():null)&&this._summaryCache.set(t,n)}return n},t.prototype.loadNgModuleDirectiveAndPipeMetadata=function(n,r,t){var i=this;void 0===t&&(t=!0);var e=this.getNgModuleMetadata(n,t),o=[];return e&&(e.declaredDirectives.forEach(function(t){var e=i.loadDirectiveMetadata(n,t.reference,r);e&&o.push(e)}),e.declaredPipes.forEach(function(t){return i._loadPipeMetadata(t.reference)})),Promise.all(o)},t.prototype.getNgModuleMetadata=function(i,t,o){var a=this;void 0===t&&(t=!0),void 0===o&&(o=null),i=Q(i);var e=this._ngModuleCache.get(i);if(e)return e;var n=this._ngModuleResolver.resolve(i,t);if(!n)return null;var r=[],s=[],l=[],c=[],u=[],p=[],d=[],h=[],f=[];n.imports&&Qo(n.imports).forEach(function(t){var e=void 0;if(Xo(t))e=t;else if(t&&t.ngModule){var n=t;e=n.ngModule,n.providers&&p.push.apply(p,a._getProvidersMetadata(n.providers,d,"provider for the NgModule '"+Jo(e)+"'",[],t))}if(e){if(!a._checkSelfImport(i,e))if(o||(o=new Set),o.has(e))a._reportError(z(a._getTypeDescriptor(e)+" '"+Jo(t)+"' is imported recursively by the module '"+Jo(i)+"'."),i);else{o.add(e);var r=a.getNgModuleSummary(e,o);o.delete(e),r?c.push(r):a._reportError(z("Unexpected "+a._getTypeDescriptor(t)+" '"+Jo(t)+"' imported by the module '"+Jo(i)+"'. Please add a @NgModule annotation."),i)}}else a._reportError(z("Unexpected value '"+Jo(t)+"' imported by the module '"+Jo(i)+"'"),i)}),n.exports&&Qo(n.exports).forEach(function(t){if(Xo(t))if(o||(o=new Set),o.has(t))a._reportError(z(a._getTypeDescriptor(t)+" '"+K(t)+"' is exported recursively by the module '"+Jo(i)+"'"),i);else{o.add(t);var e=a.getNgModuleSummary(t,o);o.delete(t),e?u.push(e):s.push(a._getIdentifierMetadata(t))}else a._reportError(z("Unexpected value '"+Jo(t)+"' exported by the module '"+Jo(i)+"'"),i)});var m=this._getTransitiveNgModuleMetadata(c,u);n.declarations&&Qo(n.declarations).forEach(function(t){if(Xo(t)){var e=a._getIdentifierMetadata(t);if(a.isDirective(t))m.addDirective(e),r.push(e),a._addTypeToModule(t,i);else{if(!a.isPipe(t))return void a._reportError(z("Unexpected "+a._getTypeDescriptor(t)+" '"+Jo(t)+"' declared by the module '"+Jo(i)+"'. Please add a @Pipe/@Directive/@Component annotation."),i);m.addPipe(e),m.pipes.push(e),l.push(e),a._addTypeToModule(t,i)}}else a._reportError(z("Unexpected value '"+Jo(t)+"' declared by the module '"+Jo(i)+"'"),i)});var g=[],y=[];return s.forEach(function(t){if(m.directivesSet.has(t.reference))g.push(t),m.addExportedDirective(t);else{if(!m.pipesSet.has(t.reference))return void a._reportError(z("Can't export "+a._getTypeDescriptor(t.reference)+" "+Jo(t.reference)+" from "+Jo(i)+" as it was neither declared nor imported!"),i);y.push(t),m.addExportedPipe(t)}}),n.providers&&p.push.apply(p,this._getProvidersMetadata(n.providers,d,"provider for the NgModule '"+Jo(i)+"'",[],i)),n.entryComponents&&d.push.apply(d,Qo(n.entryComponents).map(function(t){return a._getEntryComponentMetadata(t)})),n.bootstrap&&Qo(n.bootstrap).forEach(function(t){Xo(t)?h.push(a._getIdentifierMetadata(t)):a._reportError(z("Unexpected value '"+Jo(t)+"' used in the bootstrap property of module '"+Jo(i)+"'"),i)}),d.push.apply(d,h.map(function(t){return a._getEntryComponentMetadata(t.reference)})),n.schemas&&f.push.apply(f,Qo(n.schemas)),e=new Ft({type:this._getTypeMetadata(i),providers:p,entryComponents:d,bootstrapComponents:h,schemas:f,declaredDirectives:r,exportedDirectives:g,declaredPipes:l,exportedPipes:y,importedModules:c,exportedModules:u,transitiveModule:m,id:n.id||null}),d.forEach(function(t){return m.addEntryComponent(t)}),p.forEach(function(t){return m.addProvider(t,e.type)}),m.addModule(e.type),this._ngModuleCache.set(i,e),e},t.prototype._checkSelfImport=function(t,e){return t===e&&(this._reportError(z("'"+Jo(t)+"' module can't import itself"),t),!0)},t.prototype._getTypeDescriptor=function(t){if(Xo(t)){if(this.isDirective(t))return"directive";if(this.isPipe(t))return"pipe";if(this.isNgModule(t))return"module"}return t.provide?"provider":"value"},t.prototype._addTypeToModule=function(t,e){var n=this._ngModuleOfTypes.get(t);n&&n!==e?this._reportError(z("Type "+Jo(t)+" is part of the declarations of 2 modules: "+Jo(n)+" and "+Jo(e)+"! Please consider moving "+Jo(t)+" to a higher module that imports "+Jo(n)+" and "+Jo(e)+". You can also create a new NgModule that exports and includes "+Jo(t)+" then import that NgModule in "+Jo(n)+" and "+Jo(e)+"."),e):this._ngModuleOfTypes.set(t,e)},t.prototype._getTransitiveNgModuleMetadata=function(t,e){var o=new Vt,a=new Map;return t.concat(e).forEach(function(t){t.modules.forEach(function(t){return o.addModule(t)}),t.entryComponents.forEach(function(t){return o.addEntryComponent(t)});var i=new Set;t.providers.forEach(function(t){var e=It(t.provider.token),n=a.get(e);n||(n=new Set,a.set(e,n));var r=t.module.reference;!i.has(e)&&n.has(r)||(n.add(r),i.add(e),o.addProvider(t.provider,t.module))})}),e.forEach(function(t){t.exportedDirectives.forEach(function(t){return o.addExportedDirective(t)}),t.exportedPipes.forEach(function(t){return o.addExportedPipe(t)})}),t.forEach(function(t){t.exportedDirectives.forEach(function(t){return o.addDirective(t)}),t.exportedPipes.forEach(function(t){return o.addPipe(t)})}),o},t.prototype._getIdentifierMetadata=function(t){return{reference:t=Q(t)}},t.prototype.isInjectable=function(t){return this._reflector.annotations(t).some(function(t){return S.isTypeOf(t)})},t.prototype.getInjectableSummary=function(t){return{summaryKind:Tt.Injectable,type:this._getTypeMetadata(t,null,!1)}},t.prototype._getInjectableMetadata=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Tt.Injectable);return n?n.type:this._getTypeMetadata(t,e)},t.prototype._getTypeMetadata=function(t,e,n){void 0===e&&(e=null),void 0===n&&(n=!0);var r,i,o=this._getIdentifierMetadata(t);return{reference:o.reference,diDeps:this._getDependenciesMetadata(o.reference,e,n),lifecycleHooks:(r=this._reflector,i=o.reference,Uo.filter(function(t){return Ho(r,t,i)}))}},t.prototype._getFactoryMetadata=function(t,e){return void 0===e&&(e=null),{reference:t=Q(t),diDeps:this._getDependenciesMetadata(t,e)}},t.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(z("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+Jo(t)+"."),t),e||null},t.prototype.getPipeSummary=function(t){var e=this._loadSummary(t,Tt.Pipe);return e||this._reportError(z("Illegal state: Could not load the summary for pipe "+Jo(t)+"."),t),e},t.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},t.prototype._loadPipeMetadata=function(t){t=Q(t);var e=this._pipeResolver.resolve(t),n=new jt({type:this._getTypeMetadata(t),name:e.name,pure:!!e.pure});return this._pipeCache.set(t,n),this._summaryCache.set(t,n.toSummary()),n},t.prototype._getDependenciesMetadata=function(t,e,n){var s=this;void 0===n&&(n=!0);var l=!1,r=(e||this._reflector.parameters(t)||[]).map(function(t){var e=!1,n=!1,r=!1,i=!1,o=!1,a=null;return Array.isArray(t)?t.forEach(function(t){O.isTypeOf(t)?n=!0:E.isTypeOf(t)?r=!0:k.isTypeOf(t)?i=!0:x.isTypeOf(t)?o=!0:p.isTypeOf(t)?(e=!0,a=t.attributeName):c.isTypeOf(t)?a=t.token:u.isTypeOf(t)||t instanceof _t?a=t:Xo(t)&&null==a&&(a=t)}):a=t,null==a?(l=!0,null):{isAttribute:e,isHost:n,isSelf:r,isSkipSelf:i,isOptional:o,token:s._getTokenMetadata(a)}});if(l){var i=r.map(function(t){return t?Jo(t.token):"?"}).join(", "),o="Can't resolve all parameters for "+Jo(t)+": ("+i+").";n||this._config.strictInjectionParameters?this._reportError(z(o),t):this._console.warn("Warning: "+o+" This will become an error in Angular v6.x")}return r},t.prototype._getTokenMetadata=function(t){return"string"==typeof(t=Q(t))?{value:t}:{identifier:{reference:t}}},t.prototype._getProvidersMetadata=function(i,o,a,s,l){var c=this;return void 0===s&&(s=[]),i.forEach(function(t,r){if(Array.isArray(t))c._getProvidersMetadata(t,o,a,s);else{var e=void 0;if((t=Q(t))&&"object"==typeof t&&t.hasOwnProperty("provide"))c._validateProvider(t),e=new Ut(t.provide,t);else{if(!Xo(t)){if(void 0===t)return void c._reportError(z("Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files."));var n=i.reduce(function(t,e,n){return n<r?t.push(""+Jo(e)):n==r?t.push("?"+Jo(e)+"?"):n==r+1&&t.push("..."),t},[]).join(", ");return void c._reportError(z("Invalid "+(a||"provider")+" - only instances of Provider and Type are allowed, got: ["+n+"]"),l)}e=new Ut(t,{useClass:t})}e.token===c._reflector.resolveExternalReference(jo.ANALYZE_FOR_ENTRY_COMPONENTS)?o.push.apply(o,c._getEntryComponentsFromProvider(e,l)):s.push(c.getProviderMetadata(e))}}),s},t.prototype._validateProvider=function(t){t.hasOwnProperty("useClass")&&null==t.useClass&&this._reportError(z("Invalid provider for "+Jo(t.provide)+". useClass cannot be "+t.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."))},t.prototype._getEntryComponentsFromProvider=function(t,e){var n,r,i=this,o=[],a=[];return t.useFactory||t.useExisting||t.useClass?(this._reportError(z("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),e),[]):t.multi?(n=t.useValue,r=a,L(n,new Zo,r),a.forEach(function(t){var e=i._getEntryComponentMetadata(t.reference,!1);e&&o.push(e)}),o):(this._reportError(z("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),e),[])},t.prototype._getEntryComponentMetadata=function(t,e){void 0===e&&(e=!0);var n=this.getNonNormalizedDirectiveMetadata(t);if(n&&n.metadata.isComponent)return{componentType:t,componentFactory:n.metadata.componentFactory};var r=this._loadSummary(t,Tt.Directive);if(r&&r.isComponent)return{componentType:t,componentFactory:r.componentFactory};if(e)throw z(t.name+" cannot be used as an entry component.");return null},t.prototype.getProviderMetadata=function(t){var e=void 0,n=null,r=null,i=this._getTokenMetadata(t.token);return t.useClass?(e=(n=this._getInjectableMetadata(t.useClass,t.dependencies)).diDeps,t.token===t.useClass&&(i={identifier:n})):t.useFactory&&(e=(r=this._getFactoryMetadata(t.useFactory,t.dependencies)).diDeps),{token:i,useClass:n,useValue:t.useValue,useFactory:r,useExisting:t.useExisting?this._getTokenMetadata(t.useExisting):void 0,deps:e,multi:t.multi}},t.prototype._getQueriesMetadata=function(n,r,i){var o=this,a=[];return Object.keys(n).forEach(function(t){var e=n[t];e.isViewQuery===r&&a.push(o._getQueryMetadata(e,t,i))}),a},t.prototype._queryVarBindings=function(t){return t.split(/\s*,\s*/)},t.prototype._getQueryMetadata=function(t,e,n){var r,i=this;return"string"==typeof t.selector?r=this._queryVarBindings(t.selector).map(function(t){return i._getTokenMetadata(t)}):t.selector?r=[this._getTokenMetadata(t.selector)]:(this._reportError(z("Can't construct a query for the property \""+e+'" of "'+Jo(n)+"\" since the query selector wasn't defined."),n),r=[]),{selectors:r,first:t.first,descendants:t.descendants,propertyName:e,read:t.read?this._getTokenMetadata(t.read):null}},t.prototype._reportError=function(t,e,n){if(!this._errorCollector)throw t;this._errorCollector(t,e),n&&this._errorCollector(t,n)},t}();function Qo(t){return(e=function t(e,n){if(void 0===n&&(n=[]),e)for(var r=0;r<e.length;r++){var i=Q(e[r]);Array.isArray(i)?t(i,n):n.push(i)}return n}(t))?Array.from(new Set(e)):[];var e}function Xo(t){return t instanceof _t||t instanceof P}var Zo=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.visitOther=function(t,e){e.push({reference:t})},e}(V);function Jo(t){return t instanceof _t?t.name+" in "+t.filePath:K(t)}var ta={Const:0};ta[ta.Const]="Const";var ea=function(){function t(t){void 0===t&&(t=null),(this.modifiers=t)||(this.modifiers=[])}return t.prototype.hasModifier=function(t){return-1!==this.modifiers.indexOf(t)},t}(),na={Dynamic:0,Bool:1,String:2,Int:3,Number:4,Function:5,Inferred:6};na[na.Dynamic]="Dynamic",na[na.Bool]="Bool",na[na.String]="String",na[na.Int]="Int",na[na.Number]="Number",na[na.Function]="Function",na[na.Inferred]="Inferred";var ra=function(r){function t(t,e){void 0===e&&(e=null);var n=r.call(this,e)||this;return n.name=t,n}return f(t,r),t.prototype.visitType=function(t,e){return t.visitBuiltintType(this,e)},t}(ea),ia=function(r){function t(t,e){void 0===e&&(e=null);var n=r.call(this,e)||this;return n.value=t,n}return f(t,r),t.prototype.visitType=function(t,e){return t.visitExpressionType(this,e)},t}(ea),oa=function(r){function t(t,e){void 0===e&&(e=null);var n=r.call(this,e)||this;return n.of=t,n}return f(t,r),t.prototype.visitType=function(t,e){return t.visitArrayType(this,e)},t}(ea),aa=function(r){function t(t,e){void 0===e&&(e=null);var n=r.call(this,e)||this;return n.valueType=t||null,n}return f(t,r),t.prototype.visitType=function(t,e){return t.visitMapType(this,e)},t}(ea),sa=new ra(na.Dynamic),la=new ra(na.Inferred),ca=new ra(na.Bool),ua=(new ra(na.Int),new ra(na.Number),new ra(na.String),new ra(na.Function),{Equals:0,NotEquals:1,Identical:2,NotIdentical:3,Minus:4,Plus:5,Divide:6,Multiply:7,Modulo:8,And:9,Or:10,Lower:11,LowerEquals:12,Bigger:13,BiggerEquals:14});function pa(t,e){return null==t||null==e?t==e:t.isEquivalent(e)}function da(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(!t[r].isEquivalent(e[r]))return!1;return!0}ua[ua.Equals]="Equals",ua[ua.NotEquals]="NotEquals",ua[ua.Identical]="Identical",ua[ua.NotIdentical]="NotIdentical",ua[ua.Minus]="Minus",ua[ua.Plus]="Plus",ua[ua.Divide]="Divide",ua[ua.Multiply]="Multiply",ua[ua.Modulo]="Modulo",ua[ua.And]="And",ua[ua.Or]="Or",ua[ua.Lower]="Lower",ua[ua.LowerEquals]="LowerEquals",ua[ua.Bigger]="Bigger",ua[ua.BiggerEquals]="BiggerEquals";var ha=function(){function t(t,e){this.type=t||null,this.sourceSpan=e||null}return t.prototype.prop=function(t,e){return new Ia(this,t,null,e)},t.prototype.key=function(t,e,n){return new Ra(this,t,e,n)},t.prototype.callMethod=function(t,e,n){return new _a(this,t,e,null,n)},t.prototype.callFn=function(t,e){return new wa(this,t,null,e)},t.prototype.instantiate=function(t,e,n){return new Ca(this,t,e,n)},t.prototype.conditional=function(t,e,n){return void 0===e&&(e=null),new ka(this,t,e,null,n)},t.prototype.equals=function(t,e){return new Ma(ua.Equals,this,t,null,e)},t.prototype.notEquals=function(t,e){return new Ma(ua.NotEquals,this,t,null,e)},t.prototype.identical=function(t,e){return new Ma(ua.Identical,this,t,null,e)},t.prototype.notIdentical=function(t,e){return new Ma(ua.NotIdentical,this,t,null,e)},t.prototype.minus=function(t,e){return new Ma(ua.Minus,this,t,null,e)},t.prototype.plus=function(t,e){return new Ma(ua.Plus,this,t,null,e)},t.prototype.divide=function(t,e){return new Ma(ua.Divide,this,t,null,e)},t.prototype.multiply=function(t,e){return new Ma(ua.Multiply,this,t,null,e)},t.prototype.modulo=function(t,e){return new Ma(ua.Modulo,this,t,null,e)},t.prototype.and=function(t,e){return new Ma(ua.And,this,t,null,e)},t.prototype.or=function(t,e){return new Ma(ua.Or,this,t,null,e)},t.prototype.lower=function(t,e){return new Ma(ua.Lower,this,t,null,e)},t.prototype.lowerEquals=function(t,e){return new Ma(ua.LowerEquals,this,t,null,e)},t.prototype.bigger=function(t,e){return new Ma(ua.Bigger,this,t,null,e)},t.prototype.biggerEquals=function(t,e){return new Ma(ua.BiggerEquals,this,t,null,e)},t.prototype.isBlank=function(t){return this.equals(Ba,t)},t.prototype.cast=function(t,e){return new Aa(this,t,e)},t.prototype.toStmt=function(){return new Wa(this,null)},t}(),fa={This:0,Super:1,CatchError:2,CatchStack:3};fa[fa.This]="This",fa[fa.Super]="Super",fa[fa.CatchError]="CatchError",fa[fa.CatchStack]="CatchStack";var ma=function(i){function e(t,e,n){var r=i.call(this,e,n)||this;return"string"==typeof t?(r.name=t,r.builtin=null):(r.name=null,r.builtin=t),r}return f(e,i),e.prototype.isEquivalent=function(t){return t instanceof e&&this.name===t.name&&this.builtin===t.builtin},e.prototype.visitExpression=function(t,e){return t.visitReadVarExpr(this,e)},e.prototype.set=function(t){if(!this.name)throw new Error("Built in variable "+this.builtin+" can not be assigned to.");return new ga(this.name,t,null,this.sourceSpan)},e}(ha),ga=function(o){function e(t,e,n,r){var i=o.call(this,n||e.type,r)||this;return i.name=t,i.value=e,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&this.name===t.name&&this.value.isEquivalent(t.value)},e.prototype.visitExpression=function(t,e){return t.visitWriteVarExpr(this,e)},e.prototype.toDeclStmt=function(t,e){return new za(this.name,this.value,t,e,this.sourceSpan)},e}(ha),ya=function(a){function e(t,e,n,r,i){var o=a.call(this,r||n.type,i)||this;return o.receiver=t,o.index=e,o.value=n,o}return f(e,a),e.prototype.isEquivalent=function(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)&&this.value.isEquivalent(t.value)},e.prototype.visitExpression=function(t,e){return t.visitWriteKeyExpr(this,e)},e}(ha),va=function(a){function e(t,e,n,r,i){var o=a.call(this,r||n.type,i)||this;return o.receiver=t,o.name=e,o.value=n,o}return f(e,a),e.prototype.isEquivalent=function(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name&&this.value.isEquivalent(t.value)},e.prototype.visitExpression=function(t,e){return t.visitWritePropExpr(this,e)},e}(ha),ba={ConcatArray:0,SubscribeObservable:1,Bind:2};ba[ba.ConcatArray]="ConcatArray",ba[ba.SubscribeObservable]="SubscribeObservable",ba[ba.Bind]="Bind";var _a=function(a){function e(t,e,n,r,i){var o=a.call(this,r,i)||this;return o.receiver=t,o.args=n,"string"==typeof e?(o.name=e,o.builtin=null):(o.name=null,o.builtin=e),o}return f(e,a),e.prototype.isEquivalent=function(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name&&this.builtin===t.builtin&&da(this.args,t.args)},e.prototype.visitExpression=function(t,e){return t.visitInvokeMethodExpr(this,e)},e}(ha),wa=function(o){function e(t,e,n,r){var i=o.call(this,n,r)||this;return i.fn=t,i.args=e,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&this.fn.isEquivalent(t.fn)&&da(this.args,t.args)},e.prototype.visitExpression=function(t,e){return t.visitInvokeFunctionExpr(this,e)},e}(ha),Ca=function(o){function e(t,e,n,r){var i=o.call(this,n,r)||this;return i.classExpr=t,i.args=e,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&this.classExpr.isEquivalent(t.classExpr)&&da(this.args,t.args)},e.prototype.visitExpression=function(t,e){return t.visitInstantiateExpr(this,e)},e}(ha),xa=function(i){function e(t,e,n){var r=i.call(this,e,n)||this;return r.value=t,r}return f(e,i),e.prototype.isEquivalent=function(t){return t instanceof e&&this.value===t.value},e.prototype.visitExpression=function(t,e){return t.visitLiteralExpr(this,e)},e}(ha),Sa=function(o){function e(t,e,n,r){void 0===n&&(n=null);var i=o.call(this,e,r)||this;return i.value=t,i.typeParams=n,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&this.value.name===t.value.name&&this.value.moduleName===t.value.moduleName&&this.value.runtime===t.value.runtime},e.prototype.visitExpression=function(t,e){return t.visitExternalExpr(this,e)},e}(ha),Ea=function(t,e,n){this.moduleName=t,this.name=e,this.runtime=n},ka=function(a){function e(t,e,n,r,i){void 0===n&&(n=null);var o=a.call(this,r||e.type,i)||this;return o.condition=t,o.falseCase=n,o.trueCase=e,o}return f(e,a),e.prototype.isEquivalent=function(t){return t instanceof e&&this.condition.isEquivalent(t.condition)&&this.trueCase.isEquivalent(t.trueCase)&&pa(this.falseCase,t.falseCase)},e.prototype.visitExpression=function(t,e){return t.visitConditionalExpr(this,e)},e}(ha),Oa=function(r){function e(t,e){var n=r.call(this,ca,e)||this;return n.condition=t,n}return f(e,r),e.prototype.isEquivalent=function(t){return t instanceof e&&this.condition.isEquivalent(t.condition)},e.prototype.visitExpression=function(t,e){return t.visitNotExpr(this,e)},e}(ha),Pa=function(r){function e(t,e){var n=r.call(this,t.type,e)||this;return n.condition=t,n}return f(e,r),e.prototype.isEquivalent=function(t){return t instanceof e&&this.condition.isEquivalent(t.condition)},e.prototype.visitExpression=function(t,e){return t.visitAssertNotNullExpr(this,e)},e}(ha),Aa=function(i){function e(t,e,n){var r=i.call(this,e,n)||this;return r.value=t,r}return f(e,i),e.prototype.isEquivalent=function(t){return t instanceof e&&this.value.isEquivalent(t.value)},e.prototype.visitExpression=function(t,e){return t.visitCastExpr(this,e)},e}(ha),Da=function(){function t(t,e){void 0===e&&(e=null),this.name=t,this.type=e}return t.prototype.isEquivalent=function(t){return this.name===t.name},t}(),Ta=function(o){function e(t,e,n,r){var i=o.call(this,n,r)||this;return i.params=t,i.statements=e,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&da(this.params,t.params)&&da(this.statements,t.statements)},e.prototype.visitExpression=function(t,e){return t.visitFunctionExpr(this,e)},e.prototype.toDeclStmt=function(t,e){return void 0===e&&(e=null),new Ga(t,this.params,this.statements,this.type,e,this.sourceSpan)},e}(ha),Ma=function(a){function e(t,e,n,r,i){var o=a.call(this,r||e.type,i)||this;return o.operator=t,o.rhs=n,o.lhs=e,o}return f(e,a),e.prototype.isEquivalent=function(t){return t instanceof e&&this.operator===t.operator&&this.lhs.isEquivalent(t.lhs)&&this.rhs.isEquivalent(t.rhs)},e.prototype.visitExpression=function(t,e){return t.visitBinaryOperatorExpr(this,e)},e}(ha),Ia=function(o){function e(t,e,n,r){var i=o.call(this,n,r)||this;return i.receiver=t,i.name=e,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.name===t.name},e.prototype.visitExpression=function(t,e){return t.visitReadPropExpr(this,e)},e.prototype.set=function(t){return new va(this.receiver,this.name,t,null,this.sourceSpan)},e}(ha),Ra=function(o){function e(t,e,n,r){var i=o.call(this,n,r)||this;return i.receiver=t,i.index=e,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&this.receiver.isEquivalent(t.receiver)&&this.index.isEquivalent(t.index)},e.prototype.visitExpression=function(t,e){return t.visitReadKeyExpr(this,e)},e.prototype.set=function(t){return new ya(this.receiver,this.index,t,null,this.sourceSpan)},e}(ha),Na=function(i){function e(t,e,n){var r=i.call(this,e,n)||this;return r.entries=t,r}return f(e,i),e.prototype.isEquivalent=function(t){return t instanceof e&&da(this.entries,t.entries)},e.prototype.visitExpression=function(t,e){return t.visitLiteralArrayExpr(this,e)},e}(ha),La=function(){function t(t,e,n){this.key=t,this.value=e,this.quoted=n}return t.prototype.isEquivalent=function(t){return this.key===t.key&&this.value.isEquivalent(t.value)},t}(),ja=function(i){function e(t,e,n){var r=i.call(this,e,n)||this;return r.entries=t,r.valueType=null,e&&(r.valueType=e.valueType),r}return f(e,i),e.prototype.isEquivalent=function(t){return t instanceof e&&da(this.entries,t.entries)},e.prototype.visitExpression=function(t,e){return t.visitLiteralMapExpr(this,e)},e}(ha),Fa=function(r){function e(t,e){var n=r.call(this,t[t.length-1].type,e)||this;return n.parts=t,n}return f(e,r),e.prototype.isEquivalent=function(t){return t instanceof e&&da(this.parts,t.parts)},e.prototype.visitExpression=function(t,e){return t.visitCommaExpr(this,e)},e}(ha),Va=(new ma(fa.This,null,null),new ma(fa.Super,null,null),new ma(fa.CatchError,null,null),new ma(fa.CatchStack,null,null),new xa(null,null,null)),Ba=new xa(null,la,null),Ua={Final:0,Private:1,Exported:2};Ua[Ua.Final]="Final",Ua[Ua.Private]="Private",Ua[Ua.Exported]="Exported";var Ha=function(){function t(t,e){this.modifiers=t||[],this.sourceSpan=e||null}return t.prototype.hasModifier=function(t){return-1!==this.modifiers.indexOf(t)},t}(),za=function(a){function e(t,e,n,r,i){void 0===r&&(r=null);var o=a.call(this,r,i)||this;return o.name=t,o.value=e,o.type=n||e.type,o}return f(e,a),e.prototype.isEquivalent=function(t){return t instanceof e&&this.name===t.name&&this.value.isEquivalent(t.value)},e.prototype.visitStatement=function(t,e){return t.visitDeclareVarStmt(this,e)},e}(Ha),Ga=function(s){function e(t,e,n,r,i,o){void 0===i&&(i=null);var a=s.call(this,i,o)||this;return a.name=t,a.params=e,a.statements=n,a.type=r||null,a}return f(e,s),e.prototype.isEquivalent=function(t){return t instanceof e&&da(this.params,t.params)&&da(this.statements,t.statements)},e.prototype.visitStatement=function(t,e){return t.visitDeclareFunctionStmt(this,e)},e}(Ha),Wa=function(r){function e(t,e){var n=r.call(this,null,e)||this;return n.expr=t,n}return f(e,r),e.prototype.isEquivalent=function(t){return t instanceof e&&this.expr.isEquivalent(t.expr)},e.prototype.visitStatement=function(t,e){return t.visitExpressionStmt(this,e)},e}(Ha),qa=function(r){function e(t,e){var n=r.call(this,null,e)||this;return n.value=t,n}return f(e,r),e.prototype.isEquivalent=function(t){return t instanceof e&&this.value.isEquivalent(t.value)},e.prototype.visitStatement=function(t,e){return t.visitReturnStmt(this,e)},e}(Ha),Ya=function(){function t(t,e){(this.modifiers=e)||(this.modifiers=[]),this.type=t||null}return t.prototype.hasModifier=function(t){return-1!==this.modifiers.indexOf(t)},t}(),$a=(function(i){function t(t,e,n){void 0===n&&(n=null);var r=i.call(this,e,n)||this;return r.name=t,r}f(t,i),t.prototype.isEquivalent=function(t){return this.name===t.name}}(Ya),function(a){function t(t,e,n,r,i){void 0===i&&(i=null);var o=a.call(this,r,i)||this;return o.name=t,o.params=e,o.body=n,o}return f(t,a),t.prototype.isEquivalent=function(t){return this.name===t.name&&da(this.body,t.body)},t}(Ya)),Ka=function(o){function t(t,e,n,r){void 0===r&&(r=null);var i=o.call(this,n,r)||this;return i.name=t,i.body=e,i}return f(t,o),t.prototype.isEquivalent=function(t){return this.name===t.name&&da(this.body,t.body)},t}(Ya),Qa=function(c){function e(t,e,n,r,i,o,a,s){void 0===a&&(a=null);var l=c.call(this,a,s)||this;return l.name=t,l.parent=e,l.fields=n,l.getters=r,l.constructorMethod=i,l.methods=o,l}return f(e,c),e.prototype.isEquivalent=function(t){return t instanceof e&&this.name===t.name&&pa(this.parent,t.parent)&&da(this.fields,t.fields)&&da(this.getters,t.getters)&&this.constructorMethod.isEquivalent(t.constructorMethod)&&da(this.methods,t.methods)},e.prototype.visitStatement=function(t,e){return t.visitDeclareClassStmt(this,e)},e}(Ha),Xa=function(o){function e(t,e,n,r){void 0===n&&(n=[]);var i=o.call(this,null,r)||this;return i.condition=t,i.trueCase=e,i.falseCase=n,i}return f(e,o),e.prototype.isEquivalent=function(t){return t instanceof e&&this.condition.isEquivalent(t.condition)&&da(this.trueCase,t.trueCase)&&da(this.falseCase,t.falseCase)},e.prototype.visitStatement=function(t,e){return t.visitIfStmt(this,e)},e}(Ha),Za=function(r){function e(t,e){var n=r.call(this,null,e)||this;return n.comment=t,n}return f(e,r),e.prototype.isEquivalent=function(t){return t instanceof e},e.prototype.visitStatement=function(t,e){return t.visitCommentStmt(this,e)},e}(Ha),Ja=function(i){function e(t,e,n){var r=i.call(this,null,n)||this;return r.bodyStmts=t,r.catchStmts=e,r}return f(e,i),e.prototype.isEquivalent=function(t){return t instanceof e&&da(this.bodyStmts,t.bodyStmts)&&da(this.catchStmts,t.catchStmts)},e.prototype.visitStatement=function(t,e){return t.visitTryCatchStmt(this,e)},e}(Ha),ts=function(r){function t(t,e){var n=r.call(this,null,e)||this;return n.error=t,n}return f(t,r),t.prototype.isEquivalent=function(t){return t instanceof Ja&&this.error.isEquivalent(t.error)},t.prototype.visitStatement=function(t,e){return t.visitThrowStmt(this,e)},t}(Ha),es=function(){function t(){}return t.prototype.transformExpr=function(t,e){return t},t.prototype.transformStmt=function(t,e){return t},t.prototype.visitReadVarExpr=function(t,e){return this.transformExpr(t,e)},t.prototype.visitWriteVarExpr=function(t,e){return this.transformExpr(new ga(t.name,t.value.visitExpression(this,e),t.type,t.sourceSpan),e)},t.prototype.visitWriteKeyExpr=function(t,e){return this.transformExpr(new ya(t.receiver.visitExpression(this,e),t.index.visitExpression(this,e),t.value.visitExpression(this,e),t.type,t.sourceSpan),e)},t.prototype.visitWritePropExpr=function(t,e){return this.transformExpr(new va(t.receiver.visitExpression(this,e),t.name,t.value.visitExpression(this,e),t.type,t.sourceSpan),e)},t.prototype.visitInvokeMethodExpr=function(t,e){var n=t.builtin||t.name;return this.transformExpr(new _a(t.receiver.visitExpression(this,e),n,this.visitAllExpressions(t.args,e),t.type,t.sourceSpan),e)},t.prototype.visitInvokeFunctionExpr=function(t,e){return this.transformExpr(new wa(t.fn.visitExpression(this,e),this.visitAllExpressions(t.args,e),t.type,t.sourceSpan),e)},t.prototype.visitInstantiateExpr=function(t,e){return this.transformExpr(new Ca(t.classExpr.visitExpression(this,e),this.visitAllExpressions(t.args,e),t.type,t.sourceSpan),e)},t.prototype.visitLiteralExpr=function(t,e){return this.transformExpr(t,e)},t.prototype.visitExternalExpr=function(t,e){return this.transformExpr(t,e)},t.prototype.visitConditionalExpr=function(t,e){return this.transformExpr(new ka(t.condition.visitExpression(this,e),t.trueCase.visitExpression(this,e),t.falseCase.visitExpression(this,e),t.type,t.sourceSpan),e)},t.prototype.visitNotExpr=function(t,e){return this.transformExpr(new Oa(t.condition.visitExpression(this,e),t.sourceSpan),e)},t.prototype.visitAssertNotNullExpr=function(t,e){return this.transformExpr(new Pa(t.condition.visitExpression(this,e),t.sourceSpan),e)},t.prototype.visitCastExpr=function(t,e){return this.transformExpr(new Aa(t.value.visitExpression(this,e),t.type,t.sourceSpan),e)},t.prototype.visitFunctionExpr=function(t,e){return this.transformExpr(new Ta(t.params,this.visitAllStatements(t.statements,e),t.type,t.sourceSpan),e)},t.prototype.visitBinaryOperatorExpr=function(t,e){return this.transformExpr(new Ma(t.operator,t.lhs.visitExpression(this,e),t.rhs.visitExpression(this,e),t.type,t.sourceSpan),e)},t.prototype.visitReadPropExpr=function(t,e){return this.transformExpr(new Ia(t.receiver.visitExpression(this,e),t.name,t.type,t.sourceSpan),e)},t.prototype.visitReadKeyExpr=function(t,e){return this.transformExpr(new Ra(t.receiver.visitExpression(this,e),t.index.visitExpression(this,e),t.type,t.sourceSpan),e)},t.prototype.visitLiteralArrayExpr=function(t,e){return this.transformExpr(new Na(this.visitAllExpressions(t.entries,e),t.type,t.sourceSpan),e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r=t.entries.map(function(t){return new La(t.key,t.value.visitExpression(n,e),t.quoted)}),i=new aa(t.valueType,null);return this.transformExpr(new ja(r,i,t.sourceSpan),e)},t.prototype.visitCommaExpr=function(t,e){return this.transformExpr(new Fa(this.visitAllExpressions(t.parts,e),t.sourceSpan),e)},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitDeclareVarStmt=function(t,e){return this.transformStmt(new za(t.name,t.value.visitExpression(this,e),t.type,t.modifiers,t.sourceSpan),e)},t.prototype.visitDeclareFunctionStmt=function(t,e){return this.transformStmt(new Ga(t.name,t.params,this.visitAllStatements(t.statements,e),t.type,t.modifiers,t.sourceSpan),e)},t.prototype.visitExpressionStmt=function(t,e){return this.transformStmt(new Wa(t.expr.visitExpression(this,e),t.sourceSpan),e)},t.prototype.visitReturnStmt=function(t,e){return this.transformStmt(new qa(t.value.visitExpression(this,e),t.sourceSpan),e)},t.prototype.visitDeclareClassStmt=function(t,e){var n=this,r=t.parent.visitExpression(this,e),i=t.getters.map(function(t){return new Ka(t.name,n.visitAllStatements(t.body,e),t.type,t.modifiers)}),o=t.constructorMethod&&new $a(t.constructorMethod.name,t.constructorMethod.params,this.visitAllStatements(t.constructorMethod.body,e),t.constructorMethod.type,t.constructorMethod.modifiers),a=t.methods.map(function(t){return new $a(t.name,t.params,n.visitAllStatements(t.body,e),t.type,t.modifiers)});return this.transformStmt(new Qa(t.name,r,t.fields,i,o,a,t.modifiers,t.sourceSpan),e)},t.prototype.visitIfStmt=function(t,e){return this.transformStmt(new Xa(t.condition.visitExpression(this,e),this.visitAllStatements(t.trueCase,e),this.visitAllStatements(t.falseCase,e),t.sourceSpan),e)},t.prototype.visitTryCatchStmt=function(t,e){return this.transformStmt(new Ja(this.visitAllStatements(t.bodyStmts,e),this.visitAllStatements(t.catchStmts,e),t.sourceSpan),e)},t.prototype.visitThrowStmt=function(t,e){return this.transformStmt(new ts(t.error.visitExpression(this,e),t.sourceSpan),e)},t.prototype.visitCommentStmt=function(t,e){return this.transformStmt(t,e)},t.prototype.visitAllStatements=function(t,e){var n=this;return t.map(function(t){return t.visitStatement(n,e)})},t}(),ns=function(){function t(){}return t.prototype.visitType=function(t,e){return t},t.prototype.visitExpression=function(t,e){return t.type&&t.type.visitType(this,e),t},t.prototype.visitBuiltintType=function(t,e){return this.visitType(t,e)},t.prototype.visitExpressionType=function(t,e){return t.value.visitExpression(this,e),this.visitType(t,e)},t.prototype.visitArrayType=function(t,e){return this.visitType(t,e)},t.prototype.visitMapType=function(t,e){return this.visitType(t,e)},t.prototype.visitReadVarExpr=function(t,e){return this.visitExpression(t,e)},t.prototype.visitWriteVarExpr=function(t,e){return t.value.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitWriteKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),t.index.visitExpression(this,e),t.value.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitWritePropExpr=function(t,e){return t.receiver.visitExpression(this,e),t.value.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitInvokeMethodExpr=function(t,e){return t.receiver.visitExpression(this,e),this.visitAllExpressions(t.args,e),this.visitExpression(t,e)},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),this.visitAllExpressions(t.args,e),this.visitExpression(t,e)},t.prototype.visitInstantiateExpr=function(t,e){return t.classExpr.visitExpression(this,e),this.visitAllExpressions(t.args,e),this.visitExpression(t,e)},t.prototype.visitLiteralExpr=function(t,e){return this.visitExpression(t,e)},t.prototype.visitExternalExpr=function(t,e){var n=this;return t.typeParams&&t.typeParams.forEach(function(t){return t.visitType(n,e)}),this.visitExpression(t,e)},t.prototype.visitConditionalExpr=function(t,e){return t.condition.visitExpression(this,e),t.trueCase.visitExpression(this,e),t.falseCase.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitNotExpr=function(t,e){return t.condition.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitFunctionExpr=function(t,e){return this.visitAllStatements(t.statements,e),this.visitExpression(t,e)},t.prototype.visitBinaryOperatorExpr=function(t,e){return t.lhs.visitExpression(this,e),t.rhs.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),t.index.visitExpression(this,e),this.visitExpression(t,e)},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e),this.visitExpression(t,e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this;return t.entries.forEach(function(t){return t.value.visitExpression(n,e)}),this.visitExpression(t,e)},t.prototype.visitCommaExpr=function(t,e){return this.visitAllExpressions(t.parts,e),this.visitExpression(t,e)},t.prototype.visitAllExpressions=function(t,e){var n=this;t.forEach(function(t){return t.visitExpression(n,e)})},t.prototype.visitDeclareVarStmt=function(t,e){return t.value.visitExpression(this,e),t.type&&t.type.visitType(this,e),t},t.prototype.visitDeclareFunctionStmt=function(t,e){return this.visitAllStatements(t.statements,e),t.type&&t.type.visitType(this,e),t},t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),t},t.prototype.visitReturnStmt=function(t,e){return t.value.visitExpression(this,e),t},t.prototype.visitDeclareClassStmt=function(t,e){var n=this;return t.parent.visitExpression(this,e),t.getters.forEach(function(t){return n.visitAllStatements(t.body,e)}),t.constructorMethod&&this.visitAllStatements(t.constructorMethod.body,e),t.methods.forEach(function(t){return n.visitAllStatements(t.body,e)}),t},t.prototype.visitIfStmt=function(t,e){return t.condition.visitExpression(this,e),this.visitAllStatements(t.trueCase,e),this.visitAllStatements(t.falseCase,e),t},t.prototype.visitTryCatchStmt=function(t,e){return this.visitAllStatements(t.bodyStmts,e),this.visitAllStatements(t.catchStmts,e),t},t.prototype.visitThrowStmt=function(t,e){return t.error.visitExpression(this,e),t},t.prototype.visitCommentStmt=function(t,e){return t},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}();function rs(t){var e=new is;return e.visitAllStatements(t,null),e.varNames}var is=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.varNames=new Set,t}return f(t,e),t.prototype.visitDeclareFunctionStmt=function(t,e){return t},t.prototype.visitDeclareClassStmt=function(t,e){return t},t.prototype.visitReadVarExpr=function(t,e){return t.name&&this.varNames.add(t.name),null},t}(ns);var os=function(n){function t(){var t=null!==n&&n.apply(this,arguments)||this;return t.externalReferences=[],t}return f(t,n),t.prototype.visitExternalExpr=function(t,e){return this.externalReferences.push(t.value),n.prototype.visitExternalExpr.call(this,t,e)},t}(ns);function as(t,e){if(!e)return t;var n=new ls(e);return t.visitStatement(n,null)}function ss(t,e){if(!e)return t;var n=new ls(e);return t.visitExpression(n,null)}var ls=function(n){function t(t){var e=n.call(this)||this;return e.sourceSpan=t,e}return f(t,n),t.prototype._clone=function(t){var e=Object.create(t.constructor.prototype);for(var n in t)e[n]=t[n];return e},t.prototype.transformExpr=function(t,e){return t.sourceSpan||((t=this._clone(t)).sourceSpan=this.sourceSpan),t},t.prototype.transformStmt=function(t,e){return t.sourceSpan||((t=this._clone(t)).sourceSpan=this.sourceSpan),t},t}(es);function cs(t,e,n){return new ma(t,e,n)}function us(t,e,n){return void 0===e&&(e=null),new Sa(t,null,e,n)}function ps(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),null!=t?ds(us(t,e,null),n):null}function ds(t,e){return void 0===e&&(e=null),new ia(t,e)}function hs(t,e,n){return new Na(t,e,n)}function fs(t,e){return void 0===e&&(e=null),new ja(t.map(function(t){return new La(t.key,t.value,t.quoted)}),e,null)}function ms(t,e,n,r){return new Ta(t,e,n,r)}function gs(t,e,n){return new xa(t,e,n)}var ys=function(n){function t(t,e){return n.call(this,e,t)||this}return f(t,n),t}(Cr),vs=function(t,e){var n,r,i,o=this;this.reflector=t,this.component=e,this.errors=[],this.viewQueries=(n=e,r=1,i=new Map,n.viewQueries&&n.viewQueries.forEach(function(t){return Ss(i,{meta:t,queryId:r++})}),i),this.viewProviders=new Map,e.viewProviders.forEach(function(t){null==o.viewProviders.get(It(t.token))&&o.viewProviders.set(It(t.token),!0)})},bs=function(){function t(t,e,n,r,i,o,a,s,l){var c=this;this.viewContext=t,this._parent=e,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=l,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},i.forEach(function(t){return c._attrs[t.name]=t.value});var u,p,d,h,f,m,g,y=r.map(function(t){return t.directive});if(this._allProviders=(u=y,p=l,d=t.errors,h=new Map,u.forEach(function(t){xs([{token:{identifier:t.type},useClass:t.type}],t.isComponent?dt.Component:dt.Directive,!0,p,d,h)}),u.filter(function(t){return t.isComponent}).concat(u.filter(function(t){return!t.isComponent})).forEach(function(t){xs(t.providers,dt.PublicService,!1,p,d,h),xs(t.viewProviders,dt.PrivateService,!1,p,d,h)}),h),this._contentQueries=(f=y,m=s,g=new Map,f.forEach(function(t,e){t.queries&&t.queries.forEach(function(t){return Ss(g,{meta:t,queryId:m++})})}),g),Array.from(this._allProviders.values()).forEach(function(t){c._addQueryReadsTo(t.token,t.token,c._queriedTokens)}),a){var v=Vo(this.viewContext.reflector,jo.TemplateRef);this._addQueryReadsTo(v,v,this._queriedTokens)}o.forEach(function(t){var e=t.value||Vo(c.viewContext.reflector,jo.ElementRef);c._addQueryReadsTo({value:t.name},e,c._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(jo.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(t){(t.eager||c._queriedTokens.get(It(t.token)))&&c._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return t.prototype.afterElement=function(){var e=this;Array.from(this._allProviders.values()).forEach(function(t){e._getOrCreateLocalProvider(t.providerType,t.token,!1)})},Object.defineProperty(t.prototype,"transformProviders",{get:function(){var e=[],n=[];return this._transformedProviders.forEach(function(t){t.eager?n.push(t):e.push(t)}),e.concat(n)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedDirectiveAsts",{get:function(){var n=this.transformProviders.map(function(t){return t.token.identifier}),t=this._directiveAsts.slice();return t.sort(function(t,e){return n.indexOf(t.directive.type)-n.indexOf(e.directive.type)}),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryMatches",{get:function(){var e=[];return this._queriedTokens.forEach(function(t){e.push.apply(e,t)}),e},enumerable:!0,configurable:!0}),t.prototype._addQueryReadsTo=function(t,i,o){this._getQueriesFor(t).forEach(function(t){var e=t.meta.read||i,n=It(e),r=o.get(n);r||(r=[],o.set(n,r)),r.push({queryId:t.queryId,value:e})})},t.prototype._getQueriesFor=function(t){for(var e,n=[],r=this,i=0;null!==r;)(e=r._contentQueries.get(It(t)))&&n.push.apply(n,e.filter(function(t){return t.meta.descendants||i<=1})),0<r._directiveAsts.length&&i++,r=r._parent;return(e=this.viewContext.viewQueries.get(It(t)))&&n.push.apply(n,e),n},t.prototype._getOrCreateLocalProvider=function(t,e,o){var a=this,s=this._allProviders.get(It(e));if(!s||(t===dt.Directive||t===dt.PublicService)&&s.providerType===dt.PrivateService||(t===dt.PrivateService||t===dt.PublicService)&&s.providerType===dt.Builtin)return null;var n=this._transformedProviders.get(It(e));if(n)return n;if(null!=this._seenProviders.get(It(e)))return this.viewContext.errors.push(new ys("Cannot instantiate cyclic dependency! "+Mt(e),this._sourceSpan)),null;this._seenProviders.set(It(e),!0);var r=s.providers.map(function(t){var e=t.useValue,n=t.useExisting,r=void 0;if(null!=t.useExisting){var i=a._getDependency(s.providerType,{token:t.useExisting},o);null!=i.token?n=i.token:(n=null,e=i.value)}else if(t.useFactory){r=(t.deps||t.useFactory.diDeps).map(function(t){return a._getDependency(s.providerType,t,o)})}else if(t.useClass){r=(t.deps||t.useClass.diDeps).map(function(t){return a._getDependency(s.providerType,t,o)})}return ws(t,{useExisting:n,useValue:e,deps:r})});return n=Cs(s,{eager:o,providers:r}),this._transformedProviders.set(It(e),n),n},t.prototype._getLocalDependency=function(t,e,n){if(void 0===n&&(n=!1),e.isAttribute){var r=this._attrs[e.token.value];return{isValue:!0,value:null==r?null:r}}if(null!=e.token){if(t===dt.Directive||t===dt.Component){if(It(e.token)===this.viewContext.reflector.resolveExternalReference(jo.Renderer)||It(e.token)===this.viewContext.reflector.resolveExternalReference(jo.ElementRef)||It(e.token)===this.viewContext.reflector.resolveExternalReference(jo.ChangeDetectorRef)||It(e.token)===this.viewContext.reflector.resolveExternalReference(jo.TemplateRef))return e;It(e.token)===this.viewContext.reflector.resolveExternalReference(jo.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(It(e.token)===this.viewContext.reflector.resolveExternalReference(jo.Injector))return e;if(null!=this._getOrCreateLocalProvider(t,e.token,n))return e}return null},t.prototype._getDependency=function(t,e,n){void 0===n&&(n=!1);var r=this,i=n,o=null;if(e.isSkipSelf||(o=this._getLocalDependency(t,e,n)),e.isSelf)!o&&e.isOptional&&(o={isValue:!0,value:null});else{for(;!o&&r._parent;){var a=r;r=r._parent,a._isViewRoot&&(i=!1),o=r._getLocalDependency(dt.PublicService,e,i)}o||(o=!e.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===It(e.token)||null!=this.viewContext.viewProviders.get(It(e.token))?e:e.isOptional?o={isValue:!0,value:null}:null)}return o||this.viewContext.errors.push(new ys("No provider for "+Mt(e.token),this._sourceSpan)),o},t}(),_s=function(){function t(t,e,n,r){var i=this;this.reflector=t,this._transformedProviders=new Map,this._seenProviders=new Map,this._errors=[],this._allProviders=new Map,e.transitiveModule.modules.forEach(function(t){xs([{token:{identifier:t},useClass:t}],dt.PublicService,!0,r,i._errors,i._allProviders)}),xs(e.transitiveModule.providers.map(function(t){return t.provider}).concat(n),dt.PublicService,!1,r,this._errors,this._allProviders)}return t.prototype.parse=function(){var e=this;if(Array.from(this._allProviders.values()).forEach(function(t){e._getOrCreateLocalProvider(t.token,t.eager)}),0<this._errors.length){var t=this._errors.join("\n");throw new Error("Provider parse errors:\n"+t)}var n=[],r=[];return this._transformedProviders.forEach(function(t){t.eager?r.push(t):n.push(t)}),n.concat(r)},t.prototype._getOrCreateLocalProvider=function(t,o){var a=this,s=this._allProviders.get(It(t));if(!s)return null;var e=this._transformedProviders.get(It(t));if(e)return e;if(null!=this._seenProviders.get(It(t)))return this._errors.push(new ys("Cannot instantiate cyclic dependency! "+Mt(t),s.sourceSpan)),null;this._seenProviders.set(It(t),!0);var n=s.providers.map(function(t){var e=t.useValue,n=t.useExisting,r=void 0;if(null!=t.useExisting){var i=a._getDependency({token:t.useExisting},o,s.sourceSpan);null!=i.token?n=i.token:(n=null,e=i.value)}else if(t.useFactory){r=(t.deps||t.useFactory.diDeps).map(function(t){return a._getDependency(t,o,s.sourceSpan)})}else if(t.useClass){r=(t.deps||t.useClass.diDeps).map(function(t){return a._getDependency(t,o,s.sourceSpan)})}return ws(t,{useExisting:n,useValue:e,deps:r})});return e=Cs(s,{eager:o,providers:n}),this._transformedProviders.set(It(t),e),e},t.prototype._getDependency=function(t,e,n){void 0===e&&(e=!1);var r=!1;t.isSkipSelf||null==t.token||(It(t.token)===this.reflector.resolveExternalReference(jo.Injector)||It(t.token)===this.reflector.resolveExternalReference(jo.ComponentFactoryResolver)?r=!0:null!=this._getOrCreateLocalProvider(t.token,e)&&(r=!0));var i=t;return t.isSelf&&!r&&(t.isOptional?i={isValue:!0,value:null}:this._errors.push(new ys("No provider for "+Mt(t.token),n))),i},t}();function ws(t,e){var n=e.useExisting,r=e.useValue,i=e.deps;return{token:t.token,useClass:t.useClass,useExisting:n,useFactory:t.useFactory,useValue:r,deps:i,multi:t.multi}}function Cs(t,e){var n=e.eager,r=e.providers;return new pt(t.token,t.multiProvider,t.eager||n,r,t.providerType,t.lifecycleHooks,t.sourceSpan)}function xs(t,i,o,a,s,l){t.forEach(function(t){var e=l.get(It(t.token));if(null!=e&&!!e.multiProvider!=!!t.multi&&s.push(new ys("Mixing multi and non multi provider is not possible for token "+Mt(e.token),a)),e)t.multi||(e.providers.length=0),e.providers.push(t);else{var n=t.token.identifier&&t.token.identifier.lifecycleHooks?t.token.identifier.lifecycleHooks:[],r=!(t.useClass||t.useExisting||t.useFactory);e=new pt(t.token,!!t.multi,o||r,[t],i,n,a),l.set(It(t.token),e)}})}function Ss(n,r){r.meta.selectors.forEach(function(t){var e=n.get(It(t));e||(e=[],n.set(It(t),e)),e.push(r)})}function Es(t,e,n){return void 0===n&&(n=null),L(e,new ks(t),n)}var ks=function(){function t(t){this.ctx=t}return t.prototype.visitArray=function(t,e){var n=this;return hs(t.map(function(t){return L(t,n,null)}),e)},t.prototype.visitStringMap=function(e,t){var n=this,r=[],i=new Set(e&&e.$quoted$);return Object.keys(e).forEach(function(t){r.push(new La(t,L(e[t],n,null),i.has(t)))}),new ja(r,t)},t.prototype.visitPrimitive=function(t,e){return gs(t,e)},t.prototype.visitOther=function(t,e){return t instanceof ha?t:this.ctx.importExpr(t)},t}();function Os(t,e){var n=0;e.eager||(n|=4096),e.providerType===dt.PrivateService&&(n|=8192),e.lifecycleHooks.forEach(function(t){t!==Bo.OnDestroy&&e.providerType!==dt.Directive&&e.providerType!==dt.Component||(n|=Ts(t))});var r=e.multiProvider?function(i,t,e){var o=[],a=[],n=e.map(function(t,e){var n;if(t.useClass){var r=s(e,t.deps||t.useClass.diDeps);n=i.importExpr(t.useClass.reference).instantiate(r)}else if(t.useFactory){var r=s(e,t.deps||t.useFactory.diDeps);n=i.importExpr(t.useFactory.reference).callFn(r)}else if(t.useExisting){var r=s(e,[{token:t.useExisting}]);n=r[0]}else n=Es(i,t.useValue);return n});return{providerExpr:ms(a,[new qa(hs(n))],la),flags:1024|t,depsExpr:hs(o)};function s(r,t){return t.map(function(t,e){var n="p"+r+"_"+e;return a.push(new Da(n,sa)),o.push(Ds(i,t)),cs(n)})}}(t,n,e.providers):Ps(t,n,e.providerType,e.providers[0]);return{providerExpr:r.providerExpr,flags:r.flags,depsExpr:r.depsExpr,tokenExpr:As(t,e.token)}}function Ps(e,t,n,r){var i,o;return n===dt.Directive||n===dt.Component?(i=e.importExpr(r.useClass.reference),t|=16384,o=r.deps||r.useClass.diDeps):r.useClass?(i=e.importExpr(r.useClass.reference),t|=512,o=r.deps||r.useClass.diDeps):r.useFactory?(i=e.importExpr(r.useFactory.reference),t|=1024,o=r.deps||r.useFactory.diDeps):r.useExisting?(i=Va,t|=2048,o=[{token:r.useExisting}]):(i=Es(e,r.useValue),t|=256,o=[]),{providerExpr:i,flags:t,depsExpr:hs(o.map(function(t){return Ds(e,t)}))}}function As(t,e){return e.identifier?t.importExpr(e.identifier.reference):gs(e.value)}function Ds(t,e){var n=e.isValue?Es(t,e.value):As(t,e.token),r=0;return e.isSkipSelf&&(r|=1),e.isOptional&&(r|=2),e.isValue&&(r|=8),0===r?n:hs([gs(r),n])}function Ts(t){var e=0;switch(t){case Bo.AfterContentChecked:e=2097152;break;case Bo.AfterContentInit:e=1048576;break;case Bo.AfterViewChecked:e=8388608;break;case Bo.AfterViewInit:e=4194304;break;case Bo.DoCheck:e=262144;break;case Bo.OnChanges:e=524288;break;case Bo.OnDestroy:e=131072;break;case Bo.OnInit:e=65536}return e}function Ms(t,e,n,r){var i=r.map(function(t){return e.importExpr(t.componentFactory)}),o=Vo(t,jo.ComponentFactoryResolver),a={diDeps:[{isValue:!0,value:hs(i)},{token:o,isSkipSelf:!0,isOptional:!0},{token:Vo(t,jo.NgModuleRef)}],lifecycleHooks:[],reference:t.resolveExternalReference(jo.CodegenComponentFactoryResolver)},s=Ps(e,n,dt.PrivateService,{token:o,multi:!1,useClass:a});return{providerExpr:s.providerExpr,flags:s.flags,depsExpr:s.depsExpr,tokenExpr:As(e,o)}}var Is=function(t){this.ngModuleFactoryVar=t},Rs=cs("_l"),Ns=function(){function t(t){this.reflector=t}return t.prototype.compile=function(e,t,n){var r=xr("NgModule",t.type),i=t.transitiveModule.entryComponents,o=t.bootstrapComponents,a=new _s(this.reflector,t,n,r),s=[Ms(this.reflector,e,0,i)].concat(a.parse().map(function(t){return Os(e,t)})).map(function(t){var e=t.providerExpr,n=t.depsExpr,r=t.flags,i=t.tokenExpr;return us(jo.moduleProviderDef).callFn([gs(r),i,e,n])}),l=us(jo.moduleDef).callFn([hs(s)]),c=ms([new Da(Rs.name)],[new qa(l)],la),u=Et(t.type)+"NgFactory";if(this._createNgModuleFactory(e,t.type.reference,us(jo.createModuleFactory).callFn([e.importExpr(t.type.reference),hs(o.map(function(t){return e.importExpr(t.reference)})),c])),t.id){var p=us(jo.RegisterModuleFactoryFn).callFn([gs(t.id),cs(u)]).toStmt();e.statements.push(p)}return new Is(u)},t.prototype.createStub=function(t,e){this._createNgModuleFactory(t,e,Va)},t.prototype._createNgModuleFactory=function(t,e,n){var r=cs(Et({reference:e})+"NgFactory").set(n).toDeclStmt(ps(jo.NgModuleFactory,[ds(t.importExpr(e))],[ta.Const]),[Ua.Final,Ua.Exported]);t.statements.push(r)},t}(),Ls=function(){function t(t){this._reflector=t}return t.prototype.isNgModule=function(t){return this._reflector.annotations(t).some(s.isTypeOf)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=Ve(this._reflector.annotations(t),s.isTypeOf);if(n)return n;if(e)throw new Error("No NgModule metadata found for '"+K(t)+"'.");return null},t}(),js=function(){function t(t){void 0===t&&(t=null),this.file=t,this.sourcesContent=new Map,this.lines=[],this.lastCol0=0,this.hasMappings=!1}return t.prototype.addSource=function(t,e){return void 0===e&&(e=null),this.sourcesContent.has(t)||this.sourcesContent.set(t,e),this},t.prototype.addLine=function(){return this.lines.push([]),this.lastCol0=0,this},t.prototype.addMapping=function(t,e,n,r){if(!this.currentLine)throw new Error("A line must be added before mappings can be added");if(null!=e&&!this.sourcesContent.has(e))throw new Error('Unknown source file "'+e+'"');if(null==t)throw new Error("The column in the generated code must be provided");if(t<this.lastCol0)throw new Error("Mapping should be added in output order");if(e&&(null==n||null==r))throw new Error("The source location must be provided when a source url is provided");return this.hasMappings=!0,this.lastCol0=t,this.currentLine.push({col0:t,sourceUrl:e,sourceLine0:n,sourceCol0:r}),this},Object.defineProperty(t.prototype,"currentLine",{get:function(){return this.lines.slice(-1)[0]},enumerable:!0,configurable:!0}),t.prototype.toJSON=function(){var n=this;if(!this.hasMappings)return null;var r=new Map,i=[],o=[];Array.from(this.sourcesContent.keys()).forEach(function(t,e){r.set(t,e),i.push(t),o.push(n.sourcesContent.get(t)||null)});var e="",a=0,s=0,l=0,c=0;return this.lines.forEach(function(t){a=0,e+=t.map(function(t){var e=Fs(t.col0-a);return a=t.col0,null!=t.sourceUrl&&(e+=Fs(r.get(t.sourceUrl)-s),s=r.get(t.sourceUrl),e+=Fs(t.sourceLine0-l),l=t.sourceLine0,e+=Fs(t.sourceCol0-c),c=t.sourceCol0),e}).join(","),e+=";"}),e=e.slice(0,-1),{file:this.file||"",version:3,sourceRoot:"",sources:i,sourcesContent:o,mappings:e}},t.prototype.toJsComment=function(){return this.hasMappings?"//# sourceMappingURL=data:application/json;base64,"+function(t){var e="";t=$(t);for(var n=0;n<t.length;){var r=t.charCodeAt(n++),i=t.charCodeAt(n++),o=t.charCodeAt(n++);e+=Bs(r>>2),e+=Bs((3&r)<<4|(isNaN(i)?0:i>>4)),e+=isNaN(i)?"=":Bs((15&i)<<2|o>>6),e+=isNaN(i)||isNaN(o)?"=":Bs(63&o)}return e}(JSON.stringify(this,null,0)):""},t}();function Fs(t){t=t<0?1+(-t<<1):t<<1;var e="";do{var n=31&t;0<(t>>=5)&&(n|=32),e+=Bs(n)}while(0<t);return e}var Vs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Bs(t){if(t<0||64<=t)throw new Error("Can only encode value in the range [0, 63]");return Vs[t]}var Us=/'|\\|\n|\r|\$/g,Hs=/^[$A-Z_][0-9A-Z_$]*$/i,zs=" ",Gs=cs("error",null,null),Ws=cs("stack",null,null),qs=function(t){this.indent=t,this.partsLength=0,this.parts=[],this.srcSpans=[]},Ys=function(){function t(t){this._indent=t,this._classes=[],this._preambleLineCount=0,this._lines=[new qs(t)]}return t.createRoot=function(){return new t(0)},Object.defineProperty(t.prototype,"_currentLine",{get:function(){return this._lines[this._lines.length-1]},enumerable:!0,configurable:!0}),t.prototype.println=function(t,e){void 0===e&&(e=""),this.print(t||null,e,!0)},t.prototype.lineIsEmpty=function(){return 0===this._currentLine.parts.length},t.prototype.lineLength=function(){return this._currentLine.indent*zs.length+this._currentLine.partsLength},t.prototype.print=function(t,e,n){void 0===n&&(n=!1),0<e.length&&(this._currentLine.parts.push(e),this._currentLine.partsLength+=e.length,this._currentLine.srcSpans.push(t&&t.sourceSpan||null)),n&&this._lines.push(new qs(this._indent))},t.prototype.removeEmptyLastLine=function(){this.lineIsEmpty()&&this._lines.pop()},t.prototype.incIndent=function(){this._indent++,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.decIndent=function(){this._indent--,this.lineIsEmpty()&&(this._currentLine.indent=this._indent)},t.prototype.pushClass=function(t){this._classes.push(t)},t.prototype.popClass=function(){return this._classes.pop()},Object.defineProperty(t.prototype,"currentClass",{get:function(){return 0<this._classes.length?this._classes[this._classes.length-1]:null},enumerable:!0,configurable:!0}),t.prototype.toSource=function(){return this.sourceLines.map(function(t){return 0<t.parts.length?Qs(t.indent)+t.parts.join(""):""}).join("\n")},t.prototype.toSourceMapGenerator=function(t,e){void 0===e&&(e=0);for(var u=new js(t),p=!1,d=function(){p||(u.addSource(t," ").addMapping(0,t,0,0),p=!0)},n=0;n<e;n++)u.addLine(),d();return this.sourceLines.forEach(function(t,e){u.addLine();for(var n=t.srcSpans,r=t.parts,i=t.indent*zs.length,o=0;o<n.length&&!n[o];)i+=r[o].length,o++;for(o<n.length&&0===e&&0===i?p=!0:d();o<n.length;){var a=n[o],s=a.start.file,l=a.start.line,c=a.start.col;for(u.addSource(s.url,s.content).addMapping(i,s.url,l,c),i+=r[o].length,o++;o<n.length&&(a===n[o]||!n[o]);)i+=r[o].length,o++}}),u},t.prototype.setPreambleLineCount=function(t){return this._preambleLineCount=t},t.prototype.spanOf=function(t,e){var n=this._lines[t-this._preambleLineCount];if(n)for(var r=e-Qs(n.indent).length,i=0;i<n.parts.length;i++){var o=n.parts[i];if(o.length>r)return n.srcSpans[i];r-=o.length}return null},Object.defineProperty(t.prototype,"sourceLines",{get:function(){return this._lines.length&&0===this._lines[this._lines.length-1].parts.length?this._lines.slice(0,-1):this._lines},enumerable:!0,configurable:!0}),t}(),$s=function(){function t(t){this._escapeDollarInStrings=t}return t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitReturnStmt=function(t,e){return e.print(t,"return "),t.value.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitIfStmt=function(t,e){e.print(t,"if ("),t.condition.visitExpression(this,e),e.print(t,") {");var n=null!=t.falseCase&&0<t.falseCase.length;return t.trueCase.length<=1&&!n?(e.print(t," "),this.visitAllStatements(t.trueCase,e),e.removeEmptyLastLine(),e.print(t," ")):(e.println(),e.incIndent(),this.visitAllStatements(t.trueCase,e),e.decIndent(),n&&(e.println(t,"} else {"),e.incIndent(),this.visitAllStatements(t.falseCase,e),e.decIndent())),e.println(t,"}"),null},t.prototype.visitThrowStmt=function(t,e){return e.print(t,"throw "),t.error.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitCommentStmt=function(e,n){return e.comment.split("\n").forEach(function(t){n.println(e,"// "+t)}),null},t.prototype.visitWriteVarExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),e.print(t,t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWriteKeyExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"] = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitWritePropExpr=function(t,e){var n=e.lineIsEmpty();return n||e.print(t,"("),t.receiver.visitExpression(this,e),e.print(t,"."+t.name+" = "),t.value.visitExpression(this,e),n||e.print(t,")"),null},t.prototype.visitInvokeMethodExpr=function(t,e){t.receiver.visitExpression(this,e);var n=t.name;return null!=t.builtin&&null==(n=this.getBuiltinMethodName(t.builtin))||(e.print(t,"."+n+"("),this.visitAllExpressions(t.args,e,","),e.print(t,")")),null},t.prototype.visitInvokeFunctionExpr=function(t,e){return t.fn.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case fa.Super:n="super";break;case fa.This:n="this";break;case fa.CatchError:n=Gs.name;break;case fa.CatchStack:n=Ws.name;break;default:throw new Error("Unknown builtin variable "+t.builtin)}return e.print(t,n),null},t.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),t.classExpr.visitExpression(this,e),e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitLiteralExpr=function(t,e){var n=t.value;return"string"==typeof n?e.print(t,Ks(n,this._escapeDollarInStrings)):e.print(t,""+n),null},t.prototype.visitConditionalExpr=function(t,e){return e.print(t,"("),t.condition.visitExpression(this,e),e.print(t,"? "),t.trueCase.visitExpression(this,e),e.print(t,": "),t.falseCase.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitNotExpr=function(t,e){return e.print(t,"!"),t.condition.visitExpression(this,e),null},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n;switch(t.operator){case ua.Equals:n="==";break;case ua.Identical:n="===";break;case ua.NotEquals:n="!=";break;case ua.NotIdentical:n="!==";break;case ua.And:n="&&";break;case ua.Or:n="||";break;case ua.Plus:n="+";break;case ua.Minus:n="-";break;case ua.Divide:n="/";break;case ua.Multiply:n="*";break;case ua.Modulo:n="%";break;case ua.Lower:n="<";break;case ua.LowerEquals:n="<=";break;case ua.Bigger:n=">";break;case ua.BiggerEquals:n=">=";break;default:throw new Error("Unknown operator "+t.operator)}return e.print(t,"("),t.lhs.visitExpression(this,e),e.print(t," "+n+" "),t.rhs.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"."),e.print(t,t.name),null},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e),e.print(t,"["),t.index.visitExpression(this,e),e.print(t,"]"),null},t.prototype.visitLiteralArrayExpr=function(t,e){return e.print(t,"["),this.visitAllExpressions(t.entries,e,","),e.print(t,"]"),null},t.prototype.visitLiteralMapExpr=function(e,n){var r=this;return n.print(e,"{"),this.visitAllObjects(function(t){n.print(e,Ks(t.key,r._escapeDollarInStrings,t.quoted)+":"),t.value.visitExpression(r,n)},e.entries,n,","),n.print(e,"}"),null},t.prototype.visitCommaExpr=function(t,e){return e.print(t,"("),this.visitAllExpressions(t.parts,e,","),e.print(t,")"),null},t.prototype.visitAllExpressions=function(t,e,n){var r=this;this.visitAllObjects(function(t){return t.visitExpression(r,e)},t,e,n)},t.prototype.visitAllObjects=function(t,e,n,r){for(var i=!1,o=0;o<e.length;o++)0<o&&(80<n.lineLength()?(n.print(null,r,!0),i||(n.incIndent(),n.incIndent(),i=!0)):n.print(null,r,!1)),t(e[o]);i&&(n.decIndent(),n.decIndent())},t.prototype.visitAllStatements=function(t,e){var n=this;t.forEach(function(t){return t.visitStatement(n,e)})},t}();function Ks(t,n,e){if(void 0===e&&(e=!0),null==t)return null;var r=t.replace(Us,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"$"==t[0]?n?"\\$":"$":"\n"==t[0]?"\\n":"\r"==t[0]?"\\r":"\\"+t[0]});return e||!Hs.test(r)?"'"+r+"'":r}function Qs(t){for(var e="",n=0;n<t;n++)e+=zs;return e}function Xs(t){var e=new Js,n=Ys.createRoot();return(Array.isArray(t)?t:[t]).forEach(function(t){if(t instanceof Ha)t.visitStatement(e,n);else if(t instanceof ha)t.visitExpression(e,n);else{if(!(t instanceof ea))throw new Error("Don't know how to print debug info for "+t);t.visitType(e,n)}}),n.toSource()}var Zs=function(){function t(){}return t.prototype.emitStatementsAndContext=function(t,e,n,r,i){void 0===n&&(n=""),void 0===r&&(r=!0);var o=new Js(i),a=Ys.createRoot();o.visitAllStatements(e,a);var s=n?n.split("\n"):[];o.reexports.forEach(function(t,e){var n=t.map(function(t){return t.name+" as "+t.as}).join(",");s.push("export {"+n+"} from '"+e+"';")}),o.importsWithPrefixes.forEach(function(t,e){s.push("import * as "+t+" from '"+e+"';")});var l=r?a.toSourceMapGenerator(t,s.length).toJsComment():"",c=s.concat([a.toSource(),l]);return l&&c.push(""),a.setPreambleLineCount(s.length),{sourceText:c.join("\n"),context:a}},t.prototype.emitStatements=function(t,e,n){return void 0===n&&(n=""),this.emitStatementsAndContext(t,e,n).sourceText},t}(),Js=function(r){function t(t){var e=r.call(this,!1)||this;return e.referenceFilter=t,e.typeExpression=0,e.importsWithPrefixes=new Map,e.reexports=new Map,e}return f(t,r),t.prototype.visitType=function(t,e,n){void 0===n&&(n="any"),t?(this.typeExpression++,t.visitType(this,e),this.typeExpression--):e.print(null,n)},t.prototype.visitLiteralExpr=function(t,e){var n=t.value;return null==n&&t.type!=la?(e.print(t,"("+n+" as any)"),null):r.prototype.visitLiteralExpr.call(this,t,e)},t.prototype.visitLiteralArrayExpr=function(t,e){0===t.entries.length&&e.print(t,"(");var n=r.prototype.visitLiteralArrayExpr.call(this,t,e);return 0===t.entries.length&&e.print(t," as any[])"),n},t.prototype.visitExternalExpr=function(t,e){return this._visitIdentifier(t.value,t.typeParams,e),null},t.prototype.visitAssertNotNullExpr=function(t,e){var n=r.prototype.visitAssertNotNullExpr.call(this,t,e);return e.print(t,"!"),n},t.prototype.visitDeclareVarStmt=function(t,e){if(t.hasModifier(Ua.Exported)&&t.value instanceof Sa&&!t.type){var n=t.value.value,r=n.name,i=n.moduleName;if(i){var o=this.reexports.get(i);return o||(o=[],this.reexports.set(i,o)),o.push({name:r,as:t.name}),null}}return t.hasModifier(Ua.Exported)&&e.print(t,"export "),t.hasModifier(Ua.Final)?e.print(t,"const"):e.print(t,"var"),e.print(t," "+t.name),this._printColonType(t.type,e),e.print(t," = "),t.value.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitCastExpr=function(t,e){return e.print(t,"(<"),t.type.visitType(this,e),e.print(t,">"),t.value.visitExpression(this,e),e.print(t,")"),null},t.prototype.visitInstantiateExpr=function(t,e){return e.print(t,"new "),this.typeExpression++,t.classExpr.visitExpression(this,e),this.typeExpression--,e.print(t,"("),this.visitAllExpressions(t.args,e,","),e.print(t,")"),null},t.prototype.visitDeclareClassStmt=function(t,e){var n=this;return e.pushClass(t),t.hasModifier(Ua.Exported)&&e.print(t,"export "),e.print(t,"class "+t.name),null!=t.parent&&(e.print(t," extends "),this.typeExpression++,t.parent.visitExpression(this,e),this.typeExpression--),e.println(t," {"),e.incIndent(),t.fields.forEach(function(t){return n._visitClassField(t,e)}),null!=t.constructorMethod&&this._visitClassConstructor(t,e),t.getters.forEach(function(t){return n._visitClassGetter(t,e)}),t.methods.forEach(function(t){return n._visitClassMethod(t,e)}),e.decIndent(),e.println(t,"}"),e.popClass(),null},t.prototype._visitClassField=function(t,e){t.hasModifier(Ua.Private)&&e.print(null,"/*private*/ "),e.print(null,t.name),this._printColonType(t.type,e),e.println(null,";")},t.prototype._visitClassGetter=function(t,e){t.hasModifier(Ua.Private)&&e.print(null,"private "),e.print(null,"get "+t.name+"()"),this._printColonType(t.type,e),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},t.prototype._visitClassConstructor=function(t,e){e.print(t,"constructor("),this._visitParams(t.constructorMethod.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.constructorMethod.body,e),e.decIndent(),e.println(t,"}")},t.prototype._visitClassMethod=function(t,e){t.hasModifier(Ua.Private)&&e.print(null,"private "),e.print(null,t.name+"("),this._visitParams(t.params,e),e.print(null,")"),this._printColonType(t.type,e,"void"),e.println(null," {"),e.incIndent(),this.visitAllStatements(t.body,e),e.decIndent(),e.println(null,"}")},t.prototype.visitFunctionExpr=function(t,e){return e.print(t,"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," => {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},t.prototype.visitDeclareFunctionStmt=function(t,e){return t.hasModifier(Ua.Exported)&&e.print(t,"export "),e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.print(t,")"),this._printColonType(t.type,e,"void"),e.println(t," {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},t.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Gs.name+") {"),e.incIndent();var n=[Ws.set(Gs.prop("stack",null)).toDeclStmt(null,[Ua.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},t.prototype.visitBuiltintType=function(t,e){var n;switch(t.name){case na.Bool:n="boolean";break;case na.Dynamic:n="any";break;case na.Function:n="Function";break;case na.Number:case na.Int:n="number";break;case na.String:n="string";break;default:throw new Error("Unsupported builtin type "+t.name)}return e.print(null,n),null},t.prototype.visitExpressionType=function(t,e){return t.value.visitExpression(this,e),null},t.prototype.visitArrayType=function(t,e){return this.visitType(t.of,e),e.print(null,"[]"),null},t.prototype.visitMapType=function(t,e){return e.print(null,"{[key: string]:"),this.visitType(t.valueType,e),e.print(null,"}"),null},t.prototype.getBuiltinMethodName=function(t){var e;switch(t){case ba.ConcatArray:e="concat";break;case ba.SubscribeObservable:e="subscribe";break;case ba.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},t.prototype._visitParams=function(t,e){var n=this;this.visitAllObjects(function(t){e.print(null,t.name),n._printColonType(t.type,e)},t,e,",")},t.prototype._visitIdentifier=function(t,e,n){var r=this,i=t.name,o=t.moduleName;if(this.referenceFilter&&this.referenceFilter(t))n.print(null,"(null as any)");else{if(o){var a=this.importsWithPrefixes.get(o);null==a&&(a="i"+this.importsWithPrefixes.size,this.importsWithPrefixes.set(o,a)),n.print(null,a+".")}if(n.print(null,i),0<this.typeExpression)0<(e||[]).length&&(n.print(null,"<"),this.visitAllObjects(function(t){return t.visitType(r,n)},e,n,","),n.print(null,">"))}},t.prototype._printColonType=function(t,e,n){t!==la&&(e.print(null,":"),this.visitType(t,e,n))},t}($s),tl=function(){function t(t){this._reflector=t}return t.prototype.isPipe=function(t){var e=this._reflector.annotations(Q(t));return e&&e.some(a.isTypeOf)},t.prototype.resolve=function(t,e){void 0===e&&(e=!0);var n=this._reflector.annotations(Q(t));if(n){var r=Ve(n,a.isTypeOf);if(r)return r}if(e)throw new Error("No Pipe decorator found on "+K(t));return null},t}(),el={};function nl(t,e){for(var n=0,r=e;n<r.length;n++){var i=r[n];el[i.toLowerCase()]=t}}nl(A.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),nl(A.STYLE,["*|style"]),nl(A.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"]),nl(A.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"]);var rl=function(){},il="boolean",ol="number",al="string",sl="object",ll=["[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop,slot,*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:|"],cl={class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},ul=function(t){function e(){var c=t.call(this)||this;return c._schema={},ll.forEach(function(t){var e={},n=t.split("|"),r=n[0],i=n[1].split(","),o=r.split("^"),a=o[0],s=o[1];a.split(",").forEach(function(t){return c._schema[t.toLowerCase()]=e});var l=s&&c._schema[s.toLowerCase()];l&&Object.keys(l).forEach(function(t){e[t]=l[t]}),i.forEach(function(t){if(0<t.length)switch(t[0]){case"*":break;case"!":e[t.substring(1)]=il;break;case"#":e[t.substring(1)]=ol;break;case"%":e[t.substring(1)]=sl;break;default:e[t]=al}})}),c}return f(e,t),e.prototype.hasProperty=function(t,e,n){if(n.some(function(t){return t.name===C.name}))return!0;if(-1<t.indexOf("-")){if(me(t)||ge(t))return!1;if(n.some(function(t){return t.name===l.name}))return!0}return!!(this._schema[t.toLowerCase()]||this._schema.unknown)[e]},e.prototype.hasElement=function(t,e){if(e.some(function(t){return t.name===C.name}))return!0;if(-1<t.indexOf("-")){if(me(t)||ge(t))return!0;if(e.some(function(t){return t.name===l.name}))return!0}return!!this._schema[t.toLowerCase()]},e.prototype.securityContext=function(t,e,n){n&&(e=this.getMappedPropName(e)),t=t.toLowerCase(),e=e.toLowerCase();var r=el[t+"|"+e];return r||((r=el["*|"+e])||A.NONE)},e.prototype.getMappedPropName=function(t){return cl[t]||t},e.prototype.getDefaultComponentElementName=function(){return"ng-component"},e.prototype.validateProperty=function(t){return t.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event property '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=...\nIf '"+t+"' is a directive input, make sure the directive is imported by the current module."}:{error:!1}},e.prototype.validateAttribute=function(t){return t.toLowerCase().startsWith("on")?{error:!0,msg:"Binding to event attribute '"+t+"' is disallowed for security reasons, please use ("+t.slice(2)+")=..."}:{error:!1}},e.prototype.allKnownElementNames=function(){return Object.keys(this._schema)},e.prototype.normalizeAnimationStyleProperty=function(t){return t.replace(I,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})},e.prototype.normalizeAnimationStyleValue=function(t,e,n){var r="",i=n.toString().trim(),o=null;if(function(t){switch(t){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(t)&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&(o="Please provide a CSS unit value for "+e+":"+n)}return{error:o,value:i+r}},e}(rl);var pl=function(){function t(){this.strictStyling=!0}return t.prototype.shimCssText=function(t,e,n){void 0===n&&(n="");var r=t.match(Dl)||[];return t=t.replace(Al,""),t=this._insertDirectives(t),[this._scopeCssText(t,e,n)].concat(r).join("\n")},t.prototype._insertDirectives=function(t){return t=this._insertPolyfillDirectivesInCssText(t),this._insertPolyfillRulesInCssText(t)},t.prototype._insertPolyfillDirectivesInCssText=function(t){return t.replace(hl,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[2]+"{"})},t.prototype._insertPolyfillRulesInCssText=function(t){return t.replace(fl,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[0].replace(t[1],"").replace(t[2],"");return t[4]+n})},t.prototype._scopeCssText=function(t,e,n){var r=this._extractUnscopedRulesFromCssText(t);return t=this._insertPolyfillHostInCssText(t),t=this._convertColonHost(t),t=this._convertColonHostContext(t),t=this._convertShadowDOMSelectors(t),e&&(t=this._scopeSelectors(t,e,n)),(t=t+"\n"+r).trim()},t.prototype._extractUnscopedRulesFromCssText=function(t){var e,n="";for(ml.lastIndex=0;null!==(e=ml.exec(t));){n+=e[0].replace(e[2],"").replace(e[1],e[4])+"\n\n"}return n},t.prototype._convertColonHost=function(t){return this._convertColonRule(t,bl,this._colonHostPartReplacer)},t.prototype._convertColonHostContext=function(t){return this._convertColonRule(t,_l,this._colonHostContextPartReplacer)},t.prototype._convertColonRule=function(t,e,a){return t.replace(e,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(t[2]){for(var n=t[2].split(","),r=[],i=0;i<n.length;i++){var o=n[i].trim();if(!o)break;r.push(a(wl,o,t[3]))}return r.join(",")}return wl+t[3]})},t.prototype._colonHostContextPartReplacer=function(t,e,n){return-1<e.indexOf(gl)?this._colonHostPartReplacer(t,e,n):t+e+n+", "+e+" "+t+n},t.prototype._colonHostPartReplacer=function(t,e,n){return t+e.replace(gl,"")+n},t.prototype._convertShadowDOMSelectors=function(t){return xl.reduce(function(t,e){return t.replace(e," ")},t)},t.prototype._scopeSelectors=function(t,r,i){var s,l,c,o=this;return s=function(t){var e=t.selector,n=t.content;return"@"!=t.selector[0]?e=o._scopeSelector(t.selector,r,i,o.strictStyling):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(n=o._scopeSelectors(t.content,r,i)),new Ll(e,n)},l=function(t){for(var e=t.split(Ml),n=[],r=[],i=0,o=[],a=0;a<e.length;a++){var s=e[a];s==Rl&&i--,0<i?o.push(s):(0<o.length&&(r.push(o.join("")),n.push(Nl),o=[]),n.push(s)),s==Il&&i++}0<o.length&&(r.push(o.join("")),n.push(Nl));return new jl(n.join(""),r)}(t),c=0,l.escapedString.replace(Tl,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[2],r="",i=t[4],o="";i&&i.startsWith("{"+Nl)&&(r=l.blocks[c++],i=i.substring(Nl.length+1),o="{");var a=s(new Ll(n,r));return""+t[1]+a.selector+t[3]+o+a.content+i})},t.prototype._scopeSelector=function(t,i,o,a){var s=this;return t.split(",").map(function(t){return t.trim().split(Sl)}).map(function(t){var e,n=t[0],r=t.slice(1);return[(e=n,s._selectorNeedsScoping(e,i)?a?s._applyStrictSelectorScope(e,i,o):s._applySelectorScope(e,i,o):e)].concat(r).join(" ")}).join(", ")},t.prototype._selectorNeedsScoping=function(t,e){return!this._makeScopeMatcher(e).test(t)},t.prototype._makeScopeMatcher=function(t){return t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")"+El,"m")},t.prototype._applySelectorScope=function(t,e,n){return this._applySimpleSelectorScope(t,e,n)},t.prototype._applySimpleSelectorScope=function(t,e,n){if(kl.lastIndex=0,kl.test(t)){var i=this.strictStyling?"["+n+"]":e;return t.replace(Cl,function(t,e){return e.replace(/([^:]*)(:*)(.*)/,function(t,e,n,r){return e+i+n+r})}).replace(kl,i+" ")}return e+" "+t},t.prototype._applyStrictSelectorScope=function(t,i,o){for(var e,a=this,s="["+(i=i.replace(/\[is=([^\]]*)\]/g,function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e[0]}))+"]",n=function(t){var e=t.trim();if(!e)return"";if(-1<t.indexOf(wl))e=a._applySimpleSelectorScope(t,i,o);else{var n=t.replace(kl,"");if(0<n.length){var r=n.match(/([^:]*)(:*)(.*)/);r&&(e=r[1]+s+r[2]+r[3])}}return e},r=new dl(t),l="",c=0,u=/( |>|\+|~(?!=))\s*/g,p=!(-1<(t=r.content()).indexOf(wl));null!==(e=u.exec(t));){var d=e[1],h=t.slice(c,e.index).trim();l+=((p=p||-1<h.indexOf(wl))?n(h):h)+" "+d+" ",c=u.lastIndex}var f=t.substring(c);return l+=(p=p||-1<f.indexOf(wl))?n(f):f,r.restore(l)},t.prototype._insertPolyfillHostInCssText=function(t){return t.replace(Pl,yl).replace(Ol,gl)},t}(),dl=function(){function t(t){var i=this;this.placeholders=[],this.index=0,t=t.replace(/(\[[^\]]*\])/g,function(t,e){var n="__ph-"+i.index+"__";return i.placeholders.push(e),i.index++,n}),this._content=t.replace(/(:nth-[-\w]+)(\([^)]+\))/g,function(t,e,n){var r="__ph-"+i.index+"__";return i.placeholders.push(n),i.index++,e+r})}return t.prototype.restore=function(t){var n=this;return t.replace(/__ph-(\d+)__/g,function(t,e){return n.placeholders[+e]})},t.prototype.content=function(){return this._content},t}(),hl=/polyfill-next-selector[^}]*content:[\s]*?(['"])(.*?)\1[;\s]*}([^{]*?){/gim,fl=/(polyfill-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,ml=/(polyfill-unscoped-rule)[^}]*(content:[\s]*(['"])(.*?)\3)[;\s]*[^}]*}/gim,gl="-shadowcsshost",yl="-shadowcsscontext",vl=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",bl=new RegExp("("+gl+vl,"gim"),_l=new RegExp("("+yl+vl,"gim"),wl=gl+"-no-combinator",Cl=/-shadowcsshost-no-combinator([^\s]*)/,xl=[/::shadow/g,/::content/g,/\/shadow-deep\//g,/\/shadow\//g],Sl=/(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g,El="([>\\s~+[.,{:][\\s\\S]*)?$",kl=/-shadowcsshost/gim,Ol=/:host/gim,Pl=/:host-context/gim,Al=/\/\*\s*[\s\S]*?\*\//g;var Dl=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var Tl=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Ml=/([{}])/g,Il="{",Rl="}",Nl="%BLOCK%",Ll=function(t,e){this.selector=t,this.content=e};var jl=function(t,e){this.escapedString=t,this.blocks=e};var Fl=function(t,e,n){this.name=t,this.moduleUrl=e,this.setValue=n},Vl=function(t,e,n,r,i){this.outputCtx=t,this.stylesVar=e,this.dependencies=n,this.isShimmed=r,this.meta=i},Bl=function(){function t(t){this._urlResolver=t,this._shadowCss=new pl}return t.prototype.compileComponent=function(t,e){var n=e.template;return this._compileStyles(t,e,new Rt({styles:n.styles,styleUrls:n.styleUrls,moduleUrl:kt(e.type)}),this.needsStyleShim(e),!0)},t.prototype.compileStyles=function(t,e,n,r){return void 0===r&&(r=this.needsStyleShim(e)),this._compileStyles(t,e,n,r,!1)},t.prototype.needsStyleShim=function(t){return t.template.encapsulation===v.Emulated},t.prototype._compileStyles=function(n,t,e,r,i){var o=this,a=e.styles.map(function(t){return gs(o._shimIfNeeded(t,r))}),s=[];e.styleUrls.forEach(function(t){var e=a.length;a.push(null),s.push(new Fl(Ul(null),t,function(t){return a[e]=n.importExpr(t)}))});var l=Ul(i?t:null),c=cs(l).set(hs(a,new oa(sa,[ta.Const]))).toDeclStmt(null,i?[Ua.Final]:[Ua.Final,Ua.Exported]);return n.statements.push(c),new Vl(n,l,s,r,e)},t.prototype._shimIfNeeded=function(t,e){return e?this._shadowCss.shimCssText(t,"_ngcontent-%COMP%","_nghost-%COMP%"):t},t}();function Ul(t){var e="styles";return t&&(e+="_"+Et(t.type)),e}var Hl="ngPreserveWhitespaces",zl=new Set(["pre","template","textarea","script","style"]),Gl=" \f\n\r\t\váš€á Žâ€€- \u2028\u2029 âŸã€€\ufeff",Wl=new RegExp("[^"+Gl+"]"),ql=new RegExp("["+Gl+"]{2,}","g");function Yl(t){return t.replace(new RegExp(we,"g")," ")}var $l=function(){function t(){}return t.prototype.visitElement=function(t,e){return zl.has(t.name)||t.attrs.some(function(t){return t.name===Hl})?new Jt(t.name,ee(this,t.attrs),t.children,t.sourceSpan,t.startSourceSpan,t.endSourceSpan):new Jt(t.name,t.attrs,ee(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t.name!==Hl?t:null},t.prototype.visitText=function(t,e){return t.value.match(Wl)?new Kt(Yl(t.value).replace(ql," "),t.sourceSpan):null},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}();var Kl=["zero","one","two","few","many","other"];function Ql(t){var e=new Jl;return new Xl(ee(e,t),e.isExpanded,e.errors)}var Xl=function(t,e,n){this.nodes=t,this.expanded=e,this.errors=n},Zl=function(n){function t(t,e){return n.call(this,t,e)||this}return f(t,n),t}(Cr),Jl=function(){function t(){this.isExpanded=!1,this.errors=[]}return t.prototype.visitElement=function(t,e){return new Jt(t.name,t.attrs,ee(this,t.children),t.sourceSpan,t.startSourceSpan,t.endSourceSpan)},t.prototype.visitAttribute=function(t,e){return t},t.prototype.visitText=function(t,e){return t},t.prototype.visitComment=function(t,e){return t},t.prototype.visitExpansion=function(t,e){return this.isExpanded=!0,"plural"==t.type?(a=t,s=this.errors,l=a.cases.map(function(t){-1!=Kl.indexOf(t.value)||t.value.match(/^=\d+$/)||s.push(new Zl(t.valueSourceSpan,'Plural cases should be "=<number>" or one of '+Kl.join(", ")));var e=Ql(t.expression);return s.push.apply(s,e.errors),new Jt("ng-template",[new Zt("ngPluralCase",""+t.value,t.valueSourceSpan)],e.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),c=new Zt("[ngPlural]",a.switchValue,a.switchValueSourceSpan),new Jt("ng-container",[c],l,a.sourceSpan,a.sourceSpan,a.sourceSpan)):(n=t,r=this.errors,i=n.cases.map(function(t){var e=Ql(t.expression);return r.push.apply(r,e.errors),"other"===t.value?new Jt("ng-template",[new Zt("ngSwitchDefault","",t.valueSourceSpan)],e.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan):new Jt("ng-template",[new Zt("ngSwitchCase",""+t.value,t.valueSourceSpan)],e.nodes,t.sourceSpan,t.sourceSpan,t.sourceSpan)}),o=new Zt("[ngSwitch]",n.switchValue,n.switchValueSourceSpan),new Jt("ng-container",[o],i,n.sourceSpan,n.sourceSpan,n.sourceSpan));var n,r,i,o,a,s,l,c},t.prototype.visitExpansionCase=function(t,e){throw new Error("Should not be reached")},t}();var tc={DEFAULT:0,LITERAL_ATTR:1,ANIMATION:2};tc[tc.DEFAULT]="DEFAULT",tc[tc.LITERAL_ATTR]="LITERAL_ATTR",tc[tc.ANIMATION]="ANIMATION";var ec=function(t,e,n,r){this.name=t,this.expression=e,this.type=n,this.sourceSpan=r,this.isLiteral=this.type===tc.LITERAL_ATTR,this.isAnimation=this.type===tc.ANIMATION},nc=function(){function t(t,e,n,r,i){var o=this;this._exprParser=t,this._interpolationConfig=e,this._schemaRegistry=n,this._targetErrors=i,this.pipesByName=new Map,this._usedPipes=new Map,r.forEach(function(t){return o.pipesByName.set(t.name,t)})}return t.prototype.getUsedPipes=function(){return Array.from(this._usedPipes.values())},t.prototype.createDirectiveHostPropertyAsts=function(n,e,r){var i=this;if(n.hostProperties){var o=[];return Object.keys(n.hostProperties).forEach(function(t){var e=n.hostProperties[t];"string"==typeof e?i.parsePropertyBinding(t,e,!0,r,[],o):i._reportError('Value of the host property binding "'+t+'" needs to be a string representing an expression but got "'+e+'" ('+typeof e+")",r)}),o.map(function(t){return i.createElementPropertyAst(e,t)})}return null},t.prototype.createDirectiveHostEventAsts=function(n,r){var i=this;if(n.hostListeners){var o=[];return Object.keys(n.hostListeners).forEach(function(t){var e=n.hostListeners[t];"string"==typeof e?i.parseEvent(t,e,r,[],o):i._reportError('Value of the host listener "'+t+'" needs to be a string representing an expression but got "'+e+'" ('+typeof e+")",r)}),o}return null},t.prototype.parseInterpolation=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseInterpolation(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),this._checkPipes(r,e),r}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype.parseInlineTemplateBinding=function(t,e,n,r,i,o){for(var a=this._parseTemplateBindings(t,e,n),s=0;s<a.length;s++){var l=a[s];l.keyIsVar?o.push(new at(l.key,l.name,n)):l.expression?this._parsePropertyAst(l.key,l.expression,n,r,i):(r.push([l.key,""]),this.parseLiteralAttr(l.key,null,n,r,i))}},t.prototype._parseTemplateBindings=function(t,e,n){var r=this,i=n.start.toString();try{var o=this._exprParser.parseTemplateBindings(t,e,i);return this._reportExpressionParserErrors(o.errors,n),o.templateBindings.forEach(function(t){t.expression&&r._checkPipes(t.expression,n)}),o.warnings.forEach(function(t){r._reportError(t,n,wr.WARNING)}),o.templateBindings}catch(t){return this._reportError(""+t,n),[]}},t.prototype.parseLiteralAttr=function(t,e,n,r,i){ic(t)?(t=t.substring(1),e&&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.',n,wr.ERROR),this._parseAnimation(t,e,n,r,i)):i.push(new ec(t,this._exprParser.wrapLiteralPrimitive(e,""),tc.LITERAL_ATTR,n))},t.prototype.parsePropertyBinding=function(t,e,n,r,i,o){var a=!1;t.startsWith("animate-")?(a=!0,t=t.substring("animate-".length)):ic(t)&&(a=!0,t=t.substring(1)),a?this._parseAnimation(t,e,r,i,o):this._parsePropertyAst(t,this._parseBinding(e,n,r),r,i,o)},t.prototype.parsePropertyInterpolation=function(t,e,n,r,i){var o=this.parseInterpolation(e,n);return!!o&&(this._parsePropertyAst(t,o,n,r,i),!0)},t.prototype._parsePropertyAst=function(t,e,n,r,i){r.push([t,e.source]),i.push(new ec(t,e,tc.DEFAULT,n))},t.prototype._parseAnimation=function(t,e,n,r,i){var o=this._parseBinding(e||"undefined",!1,n);r.push([t,o.source]),i.push(new ec(t,o,tc.ANIMATION,n))},t.prototype._parseBinding=function(t,e,n){var r=n.start.toString();try{var i=e?this._exprParser.parseSimpleBinding(t,r,this._interpolationConfig):this._exprParser.parseBinding(t,r,this._interpolationConfig);return i&&this._reportExpressionParserErrors(i.errors,n),this._checkPipes(i,n),i}catch(t){return this._reportError(""+t,n),this._exprParser.wrapLiteralPrimitive("ERROR",r)}},t.prototype.createElementPropertyAst=function(t,e){if(e.isAnimation)return new rt(e.name,ft.Animation,A.NONE,e.expression,null,e.sourceSpan);var n=null,r=void 0,i=null,o=e.name.split("."),a=void 0;if(1<o.length)if("attr"==o[0]){i=o[1],this._validatePropertyOrAttributeName(i,e.sourceSpan,!0),a=oc(this._schemaRegistry,t,i,!0);var s=i.indexOf(":");if(-1<s)i=be(i.substring(0,s),i.substring(s+1));r=ft.Attribute}else"class"==o[0]?(i=o[1],r=ft.Class,a=[A.NONE]):"style"==o[0]&&(n=2<o.length?o[2]:null,i=o[1],r=ft.Style,a=[A.STYLE]);return null===i&&(i=this._schemaRegistry.getMappedPropName(e.name),a=oc(this._schemaRegistry,t,i,!1),r=ft.Property,this._validatePropertyOrAttributeName(i,e.sourceSpan,!1)),new rt(i,r,a[0],e.expression,n,e.sourceSpan)},t.prototype.parseEvent=function(t,e,n,r,i){ic(t)?(t=t.substr(1),this._parseAnimationEvent(t,e,n,i)):this._parseEvent(t,e,n,r,i)},t.prototype._parseAnimationEvent=function(t,e,n,r){var i=N(t,".",[t,""]),o=i[0],a=i[1].toLowerCase();if(a)switch(a){case"start":case"done":var s=this._parseAction(e,n);r.push(new it(o,null,a,s,n));break;default:this._reportError('The provided animation output phase value "'+a+'" for "@'+o+'" is not supported (use start or done)',n)}else this._reportError("The animation trigger output event (@"+o+") is missing its phase value name (start or done are currently supported)",n)},t.prototype._parseEvent=function(t,e,n,r,i){var o=R(t,[null,t]),a=o[0],s=o[1],l=this._parseAction(e,n);r.push([t,l.source]),i.push(new it(s,a,null,l,n))},t.prototype._parseAction=function(t,e){var n=e.start.toString();try{var r=this._exprParser.parseAction(t,n,this._interpolationConfig);return r&&this._reportExpressionParserErrors(r.errors,e),!r||r.ast instanceof Un?(this._reportError("Empty expressions are not allowed",e),this._exprParser.wrapLiteralPrimitive("ERROR",n)):(this._checkPipes(r,e),r)}catch(t){return this._reportError(""+t,e),this._exprParser.wrapLiteralPrimitive("ERROR",n)}},t.prototype._reportError=function(t,e,n){void 0===n&&(n=wr.ERROR),this._targetErrors.push(new Cr(e,t,n))},t.prototype._reportExpressionParserErrors=function(t,e){for(var n=0,r=t;n<r.length;n++){var i=r[n];this._reportError(i.message,e)}},t.prototype._checkPipes=function(t,r){var i=this;if(t){var e=new rc;t.visit(e),e.pipes.forEach(function(t,e){var n=i.pipesByName.get(e);n?i._usedPipes.set(e,n):i._reportError("The pipe '"+e+"' could not be found",new _r(r.start.moveBy(t.span.start),r.start.moveBy(t.span.end)))})}},t.prototype._validatePropertyOrAttributeName=function(t,e,n){var r=n?this._schemaRegistry.validateAttribute(t):this._schemaRegistry.validateProperty(t);r.error&&this._reportError(r.msg,e,wr.ERROR)},t}(),rc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pipes=new Map,t}return f(t,e),t.prototype.visitPipe=function(t,e){return this.pipes.set(t.name,t),t.exp.visit(this),this.visitAll(t.args,e),null},t}(ur);function ic(t){return"@"==t[0]}function oc(i,t,o,a){var s=[];return Go.parse(t).forEach(function(t){var e=t.element?[t.element]:i.allKnownElementNames(),n=new Set(t.notSelectors.filter(function(t){return t.isElementSelector()}).map(function(t){return t.element})),r=e.filter(function(t){return!n.has(t)});s.push.apply(s,r.map(function(t){return i.securityContext(t,o,a)}))}),0===s.length?[A.NONE]:Array.from(new Set(s)).sort()}var ac=/^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/,sc="template",lc="class",cc=Go.parse("*")[0],uc="The <template> element is deprecated. Use <ng-template> instead",pc="The template attribute is deprecated. Use an ng-template element instead.",dc={};var hc=function(r){function t(t,e,n){return r.call(this,e,t,n)||this}return f(t,r),t}(Cr),fc=function(t,e,n){this.templateAst=t,this.usedPipes=e,this.errors=n},mc=function(){function t(t,e,n,r,i,o,a){this._config=t,this._reflector=e,this._exprParser=n,this._schemaRegistry=r,this._htmlParser=i,this._console=o,this.transforms=a}return t.prototype.parse=function(t,e,n,r,i,o,a){var s,l=this.tryParse(t,e,n,r,i,o,a),c=l.errors.filter(function(t){return t.level===wr.WARNING}).filter((s=[pc,uc],function(t){return-1===s.indexOf(t.msg)||(dc[t.msg]=(dc[t.msg]||0)+1,dc[t.msg]<=1)})),u=l.errors.filter(function(t){return t.level===wr.ERROR});if(0<c.length&&this._console.warn("Template parse warnings:\n"+c.join("\n")),0<u.length)throw z("Template parse errors:\n"+u.join("\n"),u);return{template:l.templateAst,pipes:l.usedPipes}},t.prototype.tryParse=function(t,e,n,r,i,o,a){var s,l="string"==typeof e?this._htmlParser.parse(e,o,!0,this.getInterpolationConfig(t)):e;return a||(s=l,l=new Br(ee(new $l,s.rootNodes),s.errors)),this.tryParseHtml(this.expandHtml(l),t,n,r,i)},t.prototype.tryParseHtml=function(t,e,n,r,i){var o,a=t.errors,s=[];if(0<t.rootNodes.length){var l=Ec(n),c=Ec(r),u=new vs(this._reflector,e),p=void 0;e.template&&e.template.interpolation&&(p={start:e.template.interpolation[0],end:e.template.interpolation[1]});var d=new nc(this._exprParser,p,this._schemaRegistry,c,a),h=new gc(this._reflector,this._config,u,l,d,this._schemaRegistry,i,a);o=ee(h,t.rootNodes,Cc),a.push.apply(a,u.errors),s.push.apply(s,d.getUsedPipes())}else o=[];return this._assertNoReferenceDuplicationOnTemplate(o,a),0<a.length||this.transforms&&this.transforms.forEach(function(t){o=yt(t,o)}),new fc(o,s,a)},t.prototype.expandHtml=function(t,e){void 0===e&&(e=!1);var n=t.errors;if(0==n.length||e){var r=Ql(t.rootNodes);n.push.apply(n,r.errors),t=new Br(r.nodes,n)}return t},t.prototype.getInterpolationConfig=function(t){if(t.template)return ae.fromArray(t.template.interpolation)},t.prototype._assertNoReferenceDuplicationOnTemplate=function(t,r){var i=[];t.filter(function(t){return!!t.references}).forEach(function(t){return t.references.forEach(function(t){var e=t.name;if(i.indexOf(e)<0)i.push(e);else{var n=new hc('Reference "#'+e+'" is defined several times',t.sourceSpan,wr.ERROR);r.push(n)}})})},t}(),gc=function(){function t(t,e,n,r,i,o,a,s){var l=this;this.reflector=t,this.config=e,this.providerViewContext=n,this._bindingParser=i,this._schemaRegistry=o,this._schemas=a,this._targetErrors=s,this.selectorMatcher=new Wo,this.directivesIndex=new Map,this.ngContentCount=0,this.contentQueryStartId=n.component.viewQueries.length+1,r.forEach(function(t,e){var n=Go.parse(t.selector);l.selectorMatcher.addSelectables(n,t),l.directivesIndex.set(t,e)})}return t.prototype.visitExpansion=function(t,e){return null},t.prototype.visitExpansionCase=function(t,e){return null},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(cc),r=Yl(t.value),i=this._bindingParser.parseInterpolation(r,t.sourceSpan);return i?new et(i,n,t.sourceSpan):new tt(r,n,t.sourceSpan)},t.prototype.visitAttribute=function(t,e){return new nt(t.name,t.value,t.sourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitElement=function(t,e){var a=this,n=this.contentQueryStartId,r=t.name,i=Te(t);if(i.type===Me.SCRIPT||i.type===Me.STYLE)return null;if(i.type===Me.STYLESHEET&&ce(i.hrefAttr))return null;var s=[],l=[],c=[],u=[],p=[],d=[],h=[],f=[],m=!1,g=[],y=function(t,e,n){if(ye(t.name))return!0;var r=fe(t.name)[1];if(r.toLowerCase()===sc&&e&&r.toLowerCase()===sc)return n(uc,t.sourceSpan),!0;return!1}(t,this.config.enableLegacyTemplate,function(t,e){return a._reportError(t,e,wr.WARNING)});t.attrs.forEach(function(t){var e,n,r=a._parseAttr(y,t,s,l,p,c,u),i=a._normalizeAttributeName(t.name);a.config.enableLegacyTemplate&&"template"==i?(a._reportError(pc,t.sourceSpan,wr.WARNING),e=t.value):i.startsWith("*")&&(e=t.value,n=i.substring("*".length)+":");var o=null!=e;o&&(m&&a._reportError("Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *",t.sourceSpan),m=!0,a._bindingParser.parseInlineTemplateBinding(n,e,t.sourceSpan,h,d,f)),r||o||(g.push(a.visitAttribute(t,null)),s.push([t.name,t.value]))});var o=wc(r,s),v=this._parseDirectives(this.selectorMatcher,o),b=v.directives,_=v.matchElement,w=[],C=new Set,x=this._createDirectiveAsts(y,t.name,b,l,c,t.sourceSpan,w,C),S=this._createElementPropertyAsts(t.name,l,C),E=e.isTemplateElement||m,k=new bs(this.providerViewContext,e.providerContext,E,x,g,w,y,n,t.sourceSpan),O=ee(i.nonBindable?xc:this,t.children,_c.create(y,x,y?e.providerContext:k));k.afterElement();var P,A=null!=i.projectAs?Go.parse(i.projectAs)[0]:o,D=e.findNgContentIndex(A);if(i.type===Me.NG_CONTENT)t.children&&!t.children.every(Sc)&&this._reportError("<ng-content> element cannot have content.",t.sourceSpan),P=new ht(this.ngContentCount++,m?null:D,t.sourceSpan);else if(y)this._assertAllEventsPublishedByDirectives(x,p),this._assertNoComponentsNorElementBindingsOnTemplate(x,S,t.sourceSpan),P=new lt(g,p,w,u,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,k.queryMatches,O,m?null:D,t.sourceSpan);else{this._assertElementExists(_,t),this._assertOnlyOneComponent(x,t.sourceSpan);var T=m?null:e.findNgContentIndex(A);P=new st(r,g,S,p,w,k.transformedDirectiveAsts,k.transformProviders,k.transformedHasViewContainer,k.queryMatches,O,m?null:T,t.sourceSpan,t.endSourceSpan||null)}if(m){var M=this.contentQueryStartId,I=wc(sc,h),R=this._parseDirectives(this.selectorMatcher,I).directives,N=new Set,L=this._createDirectiveAsts(!0,t.name,R,d,[],t.sourceSpan,[],N),j=this._createElementPropertyAsts(t.name,d,N);this._assertNoComponentsNorElementBindingsOnTemplate(L,j,t.sourceSpan);var F=new bs(this.providerViewContext,e.providerContext,e.isTemplateElement,L,[],[],!0,M,t.sourceSpan);F.afterElement(),P=new lt([],[],[],f,F.transformedDirectiveAsts,F.transformProviders,F.transformedHasViewContainer,F.queryMatches,[P],D,t.sourceSpan)}return P},t.prototype._parseAttr=function(t,e,n,r,i,o,a){var s=this._normalizeAttributeName(e.name),l=e.value,c=e.sourceSpan,u=s.match(ac),p=!1;if(null!==u)if(p=!0,null!=u[1])this._bindingParser.parsePropertyBinding(u[7],l,!1,c,n,r);else if(u[2])if(t){var d=u[7];this._parseVariable(d,l,c,a)}else this._reportError('"let-" is only supported on ng-template elements.',c);else if(u[3]){d=u[7];this._parseReference(d,l,c,o)}else u[4]?this._bindingParser.parseEvent(u[7],l,c,n,i):u[5]?(this._bindingParser.parsePropertyBinding(u[7],l,!1,c,n,r),this._parseAssignmentEvent(u[7],l,c,n,i)):u[6]?this._bindingParser.parseLiteralAttr(s,l,c,n,r):u[8]?(this._bindingParser.parsePropertyBinding(u[8],l,!1,c,n,r),this._parseAssignmentEvent(u[8],l,c,n,i)):u[9]?this._bindingParser.parsePropertyBinding(u[9],l,!1,c,n,r):u[10]&&this._bindingParser.parseEvent(u[10],l,c,n,i);else p=this._bindingParser.parsePropertyInterpolation(s,l,c,n,r);return p||this._bindingParser.parseLiteralAttr(s,l,c,n,r),p},t.prototype._normalizeAttributeName=function(t){return/^data-/i.test(t)?t.substring(5):t},t.prototype._parseVariable=function(t,e,n,r){-1<t.indexOf("-")&&this._reportError('"-" is not allowed in variable names',n),r.push(new at(t,e,n))},t.prototype._parseReference=function(t,e,n,r){-1<t.indexOf("-")&&this._reportError('"-" is not allowed in reference names',n),r.push(new vc(t,e,n))},t.prototype._parseAssignmentEvent=function(t,e,n,r,i){this._bindingParser.parseEvent(t+"Change",e+"=$event",n,r,i)},t.prototype._parseDirectives=function(t,e){var n=this,r=new Array(this.directivesIndex.size),i=!1;return t.match(e,function(t,e){r[n.directivesIndex.get(e)]=e,i=i||t.hasElementSelector()}),{directives:r.filter(function(t){return!!t}),matchElement:i}},t.prototype._createDirectiveAsts=function(n,a,t,s,l,c,u,p){var d=this,h=new Set,f=null,e=t.map(function(e){var t=new _r(c.start,c.end,"Directive "+Et(e.type));e.isComponent&&(f=e);var n=[],r=d._bindingParser.createDirectiveHostPropertyAsts(e,a,t);r=d._checkPropertiesInSchema(a,r);var i=d._bindingParser.createDirectiveHostEventAsts(e,t);d._createDirectivePropertyAsts(e.inputs,s,n,p),l.forEach(function(t){(0===t.value.length&&e.isComponent||t.isReferenceToDirective(e))&&(u.push(new ot(t.name,Fo(e.type.reference),t.sourceSpan)),h.add(t.name))});var o=d.contentQueryStartId;return d.contentQueryStartId+=e.queries.length,new ut(e,n,r,i,o,t)});return l.forEach(function(t){if(0<t.value.length)h.has(t.name)||d._reportError('There is no directive with "exportAs" set to "'+t.value+'"',t.sourceSpan);else if(!f){var e=null;n&&(e=Vo(d.reflector,jo.TemplateRef)),u.push(new ot(t.name,e,t.sourceSpan))}}),e},t.prototype._createDirectivePropertyAsts=function(r,t,i,o){if(r){var a=new Map;t.forEach(function(t){var e=a.get(t.name);e&&!e.isLiteral||a.set(t.name,t)}),Object.keys(r).forEach(function(t){var e=r[t],n=a.get(e);n&&(o.add(n.name),kc(n.expression)||i.push(new ct(t,n.name,n.expression,n.sourceSpan)))})}},t.prototype._createElementPropertyAsts=function(e,t,n){var r=this,i=[];return t.forEach(function(t){t.isLiteral||n.has(t.name)||i.push(r._bindingParser.createElementPropertyAst(e,t))}),this._checkPropertiesInSchema(e,i)},t.prototype._findComponentDirectives=function(t){return t.filter(function(t){return t.directive.isComponent})},t.prototype._findComponentDirectiveNames=function(t){return this._findComponentDirectives(t).map(function(t){return Et(t.directive.type)})},t.prototype._assertOnlyOneComponent=function(t,e){var n=this._findComponentDirectiveNames(t);1<n.length&&this._reportError("More than one component matched on this element.\nMake sure that only one component's selector can match a given element.\nConflicting components: "+n.join(","),e)},t.prototype._assertElementExists=function(t,e){var n=e.name.replace(/^:xhtml:/,"");if(!t&&!this._schemaRegistry.hasElement(n,this._schemas)){var r="'"+n+"' is not a known element:\n";r+="1. If '"+n+"' is an Angular component, then verify that it is part of this module.\n",-1<n.indexOf("-")?r+="2. If '"+n+"' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.":r+="2. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.",this._reportError(r,e.sourceSpan)}},t.prototype._assertNoComponentsNorElementBindingsOnTemplate=function(t,e,n){var r=this,i=this._findComponentDirectiveNames(t);0<i.length&&this._reportError("Components on an embedded template: "+i.join(","),n),e.forEach(function(t){r._reportError("Property binding "+t.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".',n)})},t.prototype._assertAllEventsPublishedByDirectives=function(t,e){var n=this,r=new Set;t.forEach(function(n){Object.keys(n.directive.outputs).forEach(function(t){var e=n.directive.outputs[t];r.add(e)})}),e.forEach(function(t){null==t.target&&r.has(t.name)||n._reportError("Event binding "+t.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".',t.sourceSpan)})},t.prototype._checkPropertiesInSchema=function(n,t){var r=this;return t.filter(function(t){if(t.type===ft.Property&&!r._schemaRegistry.hasProperty(n,t.name,r._schemas)){var e="Can't bind to '"+t.name+"' since it isn't a known property of '"+n+"'.";n.startsWith("ng-")?e+="\n1. If '"+t.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.":-1<n.indexOf("-")&&(e+="\n1. If '"+n+"' is an Angular component and it has '"+t.name+"' input, then verify that it is part of this module.\n2. If '"+n+"' 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."),r._reportError(e,t.sourceSpan)}return!kc(t.value)})},t.prototype._reportError=function(t,e,n){void 0===n&&(n=wr.ERROR),this._targetErrors.push(new Cr(e,t,n))},t}(),yc=function(){function t(){}return t.prototype.visitElement=function(t,e){var n=Te(t);if(n.type===Me.SCRIPT||n.type===Me.STYLE||n.type===Me.STYLESHEET)return null;var r=t.attrs.map(function(t){return[t.name,t.value]}),i=wc(t.name,r),o=e.findNgContentIndex(i),a=ee(this,t.children,Cc);return new st(t.name,ee(this,t.attrs),[],[],[],[],[],!1,[],a,o,t.sourceSpan,t.endSourceSpan)},t.prototype.visitComment=function(t,e){return null},t.prototype.visitAttribute=function(t,e){return new nt(t.name,t.value,t.sourceSpan)},t.prototype.visitText=function(t,e){var n=e.findNgContentIndex(cc);return new tt(t.value,n,t.sourceSpan)},t.prototype.visitExpansion=function(t,e){return t},t.prototype.visitExpansionCase=function(t,e){return t},t}(),vc=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.isReferenceToDirective=function(t){return-1!==(e=t.exportAs,e?e.split(",").map(function(t){return t.trim()}):[]).indexOf(this.value);var e},t}();function bc(t){return t.trim().split(/\s+/g)}var _c=function(){function l(t,e,n,r){this.isTemplateElement=t,this._ngContentIndexMatcher=e,this._wildcardNgContentIndex=n,this.providerContext=r}return l.create=function(t,e,n){var r=new Wo,i=null,o=e.find(function(t){return t.directive.isComponent});if(o)for(var a=o.directive.template.ngContentSelectors,s=0;s<a.length;s++){"*"===a[s]?i=s:r.addSelectables(Go.parse(a[s]),s)}return new l(t,r,i,n)},l.prototype.findNgContentIndex=function(t){var n=[];return this._ngContentIndexMatcher.match(t,function(t,e){n.push(e)}),n.sort(),null!=this._wildcardNgContentIndex&&n.push(this._wildcardNgContentIndex),0<n.length?n[0]:null},l}();function wc(t,e){var n=new Go,r=fe(t)[1];n.setElement(r);for(var i=0;i<e.length;i++){var o=e[i][0],a=fe(o)[1],s=e[i][1];if(n.addAttribute(a,s),o.toLowerCase()==lc)bc(s).forEach(function(t){return n.addClassName(t)})}return n}var Cc=new _c(!0,new Wo,null,null),xc=new yc;function Sc(t){return t instanceof Kt&&0==t.value.trim().length}function Ec(t){var e=new Map;return t.forEach(function(t){e.get(t.type.reference)||e.set(t.type.reference,t)}),Array.from(e.values())}function kc(t){return t instanceof sr&&(t=t.ast),t instanceof Un}var Oc=function(){function t(){}return t.event=cs("$event"),t}(),Pc=function(t,e){this.stmts=t,this.allowDefault=e};function Ac(t,e,n,r){t||(t=new Uc);var i=Dc({createLiteralArrayConverter:function(t){return function(t){return hs(t)}},createLiteralMapConverter:function(t){return function(n){return fs(t.map(function(t,e){return{key:t.key,value:n[e],quoted:t.quoted}}))}},createPipeConverter:function(t){throw new Error("Illegal State: Actions are not allowed to contain pipes. Pipe: "+t)}},n),o=new Bc(t,e,r),a=[];!function e(t,n){Array.isArray(t)?t.forEach(function(t){return e(t,n)}):n.push(t)}(i.visit(o,Lc.Statement),a),function(t,e,n){for(var r=t-1;0<=r;r--)n.unshift(Nc(e,r))}(o.temporaryCount,r,a);var s=a.length-1,l=null;if(0<=s){var c=function(t){{if(t instanceof Wa)return t.expr;if(t instanceof qa)return t.value}return null}(a[s]);c&&(l=cs("pd_"+r),a[s]=l.set(c.cast(sa).notIdentical(gs(!1))).toDeclStmt(null,[Ua.Final]))}return new Pc(a,l)}function Dc(t,e){return n=e,r=new Vc(t),n.visit(r);var n,r}var Tc=function(t,e){this.stmts=t,this.currValExpr=e},Mc={General:0,TrySimple:1};function Ic(t,e,n,r,i){t||(t=new Uc);var o=cs("currVal_"+r),a=[],s=new Bc(t,e,r),l=n.visit(s,Lc.Expression);if(s.temporaryCount)for(var c=0;c<s.temporaryCount;c++)a.push(Nc(r,c));else if(i==Mc.TrySimple)return new Tc([],l);return a.push(o.set(l).toDeclStmt(sa,[Ua.Final])),new Tc(a,o)}function Rc(t,e){return"tmp_"+t+"_"+e}function Nc(t,e){return new za(Rc(t,e),Va)}Mc[Mc.General]="General",Mc[Mc.TrySimple]="TrySimple";var Lc={Statement:0,Expression:1};function jc(t,e){if(t!==Lc.Expression)throw new Error("Expected an expression, but saw "+e)}function Fc(t,e){return t===Lc.Statement?e.toStmt():e}Lc[Lc.Statement]="Statement",Lc[Lc.Expression]="Expression";var Vc=function(n){function t(t){var e=n.call(this)||this;return e._converterFactory=t,e}return f(t,n),t.prototype.visitPipe=function(t,e){var n=this,r=[t.exp].concat(t.args).map(function(t){return t.visit(n,e)});return new Hc(t.span,r,this._converterFactory.createPipeConverter(t.name,r.length))},t.prototype.visitLiteralArray=function(t,e){var n=this,r=t.expressions.map(function(t){return t.visit(n,e)});return new Hc(t.span,r,this._converterFactory.createLiteralArrayConverter(t.expressions.length))},t.prototype.visitLiteralMap=function(t,e){var n=this,r=t.values.map(function(t){return t.visit(n,e)});return new Hc(t.span,r,this._converterFactory.createLiteralMapConverter(t.keys))},t}(pr),Bc=function(){function t(t,e,n){this._localResolver=t,this._implicitReceiver=e,this.bindingId=n,this._nodeMap=new Map,this._resultMap=new Map,this._currentTemporary=0,this.temporaryCount=0}return t.prototype.visitBinary=function(t,e){var n;switch(t.operation){case"+":n=ua.Plus;break;case"-":n=ua.Minus;break;case"*":n=ua.Multiply;break;case"/":n=ua.Divide;break;case"%":n=ua.Modulo;break;case"&&":n=ua.And;break;case"||":n=ua.Or;break;case"==":n=ua.Equals;break;case"!=":n=ua.NotEquals;break;case"===":n=ua.Identical;break;case"!==":n=ua.NotIdentical;break;case"<":n=ua.Lower;break;case">":n=ua.Bigger;break;case"<=":n=ua.LowerEquals;break;case">=":n=ua.BiggerEquals;break;default:throw new Error("Unsupported operation "+t.operation)}return Fc(e,new Ma(n,this._visit(t.left,Lc.Expression),this._visit(t.right,Lc.Expression)))},t.prototype.visitChain=function(t,e){return function(t,e){if(t!==Lc.Statement)throw new Error("Expected a statement, but saw "+e)}(e,t),this.visitAll(t.expressions,e)},t.prototype.visitConditional=function(t,e){return Fc(e,this._visit(t.condition,Lc.Expression).conditional(this._visit(t.trueExp,Lc.Expression),this._visit(t.falseExp,Lc.Expression)))},t.prototype.visitPipe=function(t,e){throw new Error("Illegal state: Pipes should have been converted into functions. Pipe: "+t.name)},t.prototype.visitFunctionCall=function(t,e){var n=this.visitAll(t.args,Lc.Expression);return Fc(e,t instanceof Hc?t.converter(n):this._visit(t.target,Lc.Expression).callFn(n))},t.prototype.visitImplicitReceiver=function(t,e){return jc(e,t),this._implicitReceiver},t.prototype.visitInterpolation=function(t,e){jc(e,t);for(var n=[gs(t.expressions.length)],r=0;r<t.strings.length-1;r++)n.push(gs(t.strings[r])),n.push(this._visit(t.expressions[r],Lc.Expression));return n.push(gs(t.strings[t.strings.length-1])),t.expressions.length<=9?us(jo.inlineInterpolate).callFn(n):us(jo.interpolate).callFn([n[0],hs(n.slice(1))])},t.prototype.visitKeyedRead=function(t,e){var n=this.leftMostSafeNode(t);return n?this.convertSafeAccess(t,n,e):Fc(e,this._visit(t.obj,Lc.Expression).key(this._visit(t.key,Lc.Expression)))},t.prototype.visitKeyedWrite=function(t,e){var n=this._visit(t.obj,Lc.Expression),r=this._visit(t.key,Lc.Expression),i=this._visit(t.value,Lc.Expression);return Fc(e,n.key(r).set(i))},t.prototype.visitLiteralArray=function(t,e){throw new Error("Illegal State: literal arrays should have been converted into functions")},t.prototype.visitLiteralMap=function(t,e){throw new Error("Illegal State: literal maps should have been converted into functions")},t.prototype.visitLiteralPrimitive=function(t,e){var n=null===t.value||void 0===t.value||!0===t.value||!0===t.value?la:void 0;return Fc(e,gs(t.value,n))},t.prototype._getLocal=function(t){return this._localResolver.getLocal(t)},t.prototype.visitMethodCall=function(t,e){if(t.receiver instanceof Hn&&"$any"==t.name){if(1!=(r=this.visitAll(t.args,Lc.Expression)).length)throw new Error("Invalid call to $any, expected 1 argument but received "+(r.length||"none"));return r[0].cast(sa)}var n=this.leftMostSafeNode(t);if(n)return this.convertSafeAccess(t,n,e);var r=this.visitAll(t.args,Lc.Expression),i=null,o=this._visit(t.receiver,Lc.Expression);if(o===this._implicitReceiver){var a=this._getLocal(t.name);a&&(i=a.callFn(r))}return null==i&&(i=o.callMethod(t.name,r)),Fc(e,i)},t.prototype.visitPrefixNot=function(t,e){return Fc(e,(n=this._visit(t.expression,Lc.Expression),new Oa(n,r)));var n,r},t.prototype.visitNonNullAssert=function(t,e){return Fc(e,(n=this._visit(t.expression,Lc.Expression),new Pa(n,r)));var n,r},t.prototype.visitPropertyRead=function(t,e){var n=this.leftMostSafeNode(t);if(n)return this.convertSafeAccess(t,n,e);var r=null,i=this._visit(t.receiver,Lc.Expression);return i===this._implicitReceiver&&(r=this._getLocal(t.name)),null==r&&(r=i.prop(t.name)),Fc(e,r)},t.prototype.visitPropertyWrite=function(t,e){var n=this._visit(t.receiver,Lc.Expression);if(n===this._implicitReceiver&&this._getLocal(t.name))throw new Error("Cannot assign to a reference or variable!");return Fc(e,n.prop(t.name).set(this._visit(t.value,Lc.Expression)))},t.prototype.visitSafePropertyRead=function(t,e){return this.convertSafeAccess(t,this.leftMostSafeNode(t),e)},t.prototype.visitSafeMethodCall=function(t,e){return this.convertSafeAccess(t,this.leftMostSafeNode(t),e)},t.prototype.visitAll=function(t,e){var n=this;return t.map(function(t){return n._visit(t,e)})},t.prototype.visitQuote=function(t,e){throw new Error("Quotes are not supported for evaluation!\n Statement: "+t.uninterpretedExpression+" located at "+t.location)},t.prototype._visit=function(t,e){var n=this._resultMap.get(t);return n||(this._nodeMap.get(t)||t).visit(this,e)},t.prototype.convertSafeAccess=function(t,e,n){var r=this._visit(e.receiver,Lc.Expression),i=void 0;this.needsTemporary(e.receiver)&&(r=(i=this.allocateTemporary()).set(r),this._resultMap.set(e.receiver,i));var o=r.isBlank();e instanceof or?this._nodeMap.set(e,new ir(e.span,e.receiver,e.name,e.args)):this._nodeMap.set(e,new Wn(e.span,e.receiver,e.name));var a=this._visit(t,Lc.Expression);return this._nodeMap.delete(e),i&&this.releaseTemporary(i),Fc(n,o.conditional(gs(null),a))},t.prototype.leftMostSafeNode=function(t){var n=this,e=function(t,e){return(n._nodeMap.get(e)||e).visit(t)};return t.visit({visitBinary:function(t){return null},visitChain:function(t){return null},visitConditional:function(t){return null},visitFunctionCall:function(t){return null},visitImplicitReceiver:function(t){return null},visitInterpolation:function(t){return null},visitKeyedRead:function(t){return e(this,t.obj)},visitKeyedWrite:function(t){return null},visitLiteralArray:function(t){return null},visitLiteralMap:function(t){return null},visitLiteralPrimitive:function(t){return null},visitMethodCall:function(t){return e(this,t.receiver)},visitPipe:function(t){return null},visitPrefixNot:function(t){return null},visitNonNullAssert:function(t){return null},visitPropertyRead:function(t){return e(this,t.receiver)},visitPropertyWrite:function(t){return null},visitQuote:function(t){return null},visitSafeMethodCall:function(t){return e(this,t.receiver)||t},visitSafePropertyRead:function(t){return e(this,t.receiver)||t}})},t.prototype.needsTemporary=function(t){var n=this,r=function(t,e){return e&&(n._nodeMap.get(e)||e).visit(t)};return t.visit({visitBinary:function(t){return r(this,t.left)||r(this,t.right)},visitChain:function(t){return!1},visitConditional:function(t){return r(this,t.condition)||r(this,t.trueExp)||r(this,t.falseExp)},visitFunctionCall:function(t){return!0},visitImplicitReceiver:function(t){return!1},visitInterpolation:function(t){return e=this,t.expressions.some(function(t){return r(e,t)});var e},visitKeyedRead:function(t){return!1},visitKeyedWrite:function(t){return!1},visitLiteralArray:function(t){return!0},visitLiteralMap:function(t){return!0},visitLiteralPrimitive:function(t){return!1},visitMethodCall:function(t){return!0},visitPipe:function(t){return!0},visitPrefixNot:function(t){return r(this,t.expression)},visitNonNullAssert:function(t){return r(this,t.expression)},visitPropertyRead:function(t){return!1},visitPropertyWrite:function(t){return!1},visitQuote:function(t){return!1},visitSafeMethodCall:function(t){return!0},visitSafePropertyRead:function(t){return!1}})},t.prototype.allocateTemporary=function(){var t=this._currentTemporary++;return this.temporaryCount=Math.max(this._currentTemporary,this.temporaryCount),new ma(Rc(this.bindingId,t))},t.prototype.releaseTemporary=function(t){if(this._currentTemporary--,t.name!=Rc(this.bindingId,this._currentTemporary))throw new Error("Temporary "+t.name+" released out of order")},t}();var Uc=function(){function t(){}return t.prototype.getLocal=function(t){return t===Oc.event.name?Oc.event:null},t}();var Hc=function(i){function t(t,e,n){var r=i.call(this,t,null,e)||this;return r.args=e,r.converter=n,r}return f(t,i),t}(ar),zc=function(){function t(t,e){this.options=t,this.reflector=e}return t.prototype.compileComponent=function(t,r,e,n,i,o){var a=this,s=new Map;n.forEach(function(t){return s.set(t.name,t.type.reference)});var l=0,c=function(t,e){var n=l++;return new qc(a.options,a.reflector,i,t,r.type.reference,r.isHost,n,s,e,o,c)},u=c(null,[]);return u.visitAll([],e),u.build(t)},t}(),Gc="_any",Wc=new(function(){function t(){}return t.prototype.getLocal=function(t){return t===Oc.event.name?cs(Gc):null},t}()),qc=function(){function t(t,e,n,r,i,o,a,s,l,c,u){this.options=t,this.reflector=e,this.externalReferenceVars=n,this.parent=r,this.component=i,this.isHostComponent=o,this.embeddedViewIndex=a,this.pipes=s,this.guards=l,this.ctx=c,this.viewBuilderFactory=u,this.refOutputVars=new Map,this.variables=[],this.children=[],this.updates=[],this.actions=[]}return t.prototype.getOutputVar=function(t){var e;if(!(e=t===this.component&&this.isHostComponent?Gc:t instanceof _t?this.externalReferenceVars.get(t):Gc))throw new Error("Illegal State: referring to a type without a variable "+JSON.stringify(t));return e},t.prototype.getTypeGuardExpressions=function(t){for(var e=this.guards.slice(),n=0,r=t.directives;n<r.length;n++)for(var i=r[n],o=0,a=i.inputs;o<a.length;o++){var s=a[o],l=i.directive.guards[s.directiveName];if(l){var c="UseIf"===l;e.push({guard:l,useIf:c,expression:{context:this.component,value:s.value}})}}return e},t.prototype.visitAll=function(t,e){this.variables=t,yt(this,e)},t.prototype.build=function(e,n){var c=this;void 0===n&&(n=[]),this.children.forEach(function(t){return t.build(e,n)});var u=[cs(Gc).set(Va).toDeclStmt(sa)],p=0;if(this.updates.forEach(function(t){var e=c.preprocessUpdateExpression(t),n=e.sourceSpan,r=e.context,i=e.value,o=""+p++,a=Ic(r===c.component?c:Wc,cs(c.getOutputVar(r)),i,o,Mc.General),s=a.stmts,l=a.currValExpr;s.push(new Wa(l)),u.push.apply(u,s.map(function(t){return as(t,n)}))}),this.actions.forEach(function(t){var e=t.sourceSpan,n=t.context,r=t.value,i=""+p++,o=Ac(n===c.component?c:Wc,cs(c.getOutputVar(n)),r,i).stmts;u.push.apply(u,o.map(function(t){return as(t,e)}))}),this.guards.length){for(var t=void 0,r=0,i=this.guards;r<i.length;r++){var o=i[r],a=this.preprocessUpdateExpression(o.expression),s=a.context,l=a.value,d=""+p++,h=Ic(s===this.component?this:Wc,cs(this.getOutputVar(s)),l,d,Mc.TrySimple),f=h.stmts,m=h.currValExpr;if(0==f.length){var g=o.useIf?m:this.ctx.importExpr(o.guard).callFn([m]);t=t?t.and(g):g}}t&&(u=[new Xa(t,u)])}var y="_View_"+e+"_"+this.embeddedViewIndex,v=new Ga(y,[],u);return n.push(v),n},t.prototype.visitBoundText=function(e,t){var n=this;e.value.ast.expressions.forEach(function(t){return n.updates.push({context:n.component,value:t,sourceSpan:e.sourceSpan})})},t.prototype.visitEmbeddedTemplate=function(t,e){if(this.visitElementOrTemplate(t),this.options.fullTemplateTypeCheck){var n=this.getTypeGuardExpressions(t),r=this.viewBuilderFactory(this,n);this.children.push(r),r.visitAll(t.variables,t.children)}},t.prototype.visitElement=function(t,e){var n=this;this.visitElementOrTemplate(t);t.inputs.forEach(function(t){n.updates.push({context:n.component,value:t.value,sourceSpan:t.sourceSpan})}),yt(this,t.children)},t.prototype.visitElementOrTemplate=function(t){var n=this;t.directives.forEach(function(t){n.visitDirective(t)}),t.references.forEach(function(t){var e=null;e=t.value&&t.value.identifier&&n.options.fullTemplateTypeCheck?t.value.identifier.reference:na.Dynamic,n.refOutputVars.set(t.name,e)}),t.outputs.forEach(function(t){n.actions.push({context:n.component,value:t.handler,sourceSpan:t.sourceSpan})})},t.prototype.visitDirective=function(t){var e=this,n=t.directive.type.reference;t.inputs.forEach(function(t){return e.updates.push({context:e.component,value:t.value,sourceSpan:t.sourceSpan})}),this.options.fullTemplateTypeCheck&&(t.hostProperties.forEach(function(t){return e.updates.push({context:n,value:t.value,sourceSpan:t.sourceSpan})}),t.hostEvents.forEach(function(t){return e.actions.push({context:n,value:t.handler,sourceSpan:t.sourceSpan})}))},t.prototype.getLocal=function(e){if(e==Oc.event.name)return cs(this.getOutputVar(na.Dynamic));for(var t=this;t;t=t.parent){var n=void 0;if(null==(n=t.refOutputVars.get(e)))t.variables.find(function(t){return t.name===e})&&(n=na.Dynamic);if(null!=n)return cs(this.getOutputVar(n))}return null},t.prototype.pipeOutputVar=function(t){var e=this.pipes.get(t);if(!e)throw new Error("Illegal State: Could not find pipe "+t+" in template of "+this.component);return this.getOutputVar(e)},t.prototype.preprocessUpdateExpression=function(t){var r=this;return{sourceSpan:t.sourceSpan,context:t.context,value:Dc({createLiteralArrayConverter:function(t){return function(t){var e=hs(t);return r.options.fullTemplateTypeCheck?e:e.cast(sa)}},createLiteralMapConverter:function(e){return function(n){var t=fs(e.map(function(t,e){return{key:t.key,value:n[e],quoted:t.quoted}}));return r.options.fullTemplateTypeCheck?t:t.cast(sa)}},createPipeConverter:function(e,t){return function(t){return(r.options.fullTemplateTypeCheck?cs(r.pipeOutputVar(e)):cs(r.getOutputVar(na.Dynamic))).callMethod("transform",t)}}},t.value)}},t.prototype.visitNgContent=function(t,e){},t.prototype.visitText=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t}(),Yc="class",$c="style",Kc=function(t,e){this.viewClassVar=t,this.rendererTypeVar=e},Qc=function(){function t(t){this._reflector=t}return t.prototype.compileComponent=function(n,r,t,e,i){var o=this,a=0,s=function i(t,o){void 0===o&&(o=new Map);t.forEach(function(t){var n=new Set,r=new Set,e=void 0;t instanceof st?(i(t.children,o),t.children.forEach(function(t){var e=o.get(t);e.staticQueryIds.forEach(function(t){return n.add(t)}),e.dynamicQueryIds.forEach(function(t){return r.add(t)})}),e=t.queryMatches):t instanceof lt&&(i(t.children,o),t.children.forEach(function(t){var e=o.get(t);e.staticQueryIds.forEach(function(t){return r.add(t)}),e.dynamicQueryIds.forEach(function(t){return r.add(t)})}),e=t.queryMatches),e&&e.forEach(function(t){return n.add(t.queryId)}),r.forEach(function(t){return n.delete(t)}),o.set(t,{staticQueryIds:n,dynamicQueryIds:r})});return o}(t),l=void 0;if(!r.isHost){var c=r.template,u=[];c.animations&&c.animations.length&&u.push(new La("animation",Es(n,c.animations),!0));var p=cs(Pt(r.type.reference));l=p.name,n.statements.push(p.set(us(jo.createRendererType2).callFn([new ja([new La("encapsulation",gs(c.encapsulation),!1),new La("styles",e,!1),new La("data",new ja(u),!1)])])).toDeclStmt(ps(jo.RendererType2),[Ua.Final,Ua.Exported]))}var d,h=function(t){var e=a++;return new ru(o._reflector,n,t,r,e,i,s,h)},f=h(null);return f.visitAll([],t),(d=n.statements).push.apply(d,f.build()),new Kc(f.viewName,l)},t}(),Xc=cs("_l"),Zc=cs("_v"),Jc=cs("_ck"),tu=cs("_co"),eu=cs("en"),nu=cs("ad"),ru=function(){function t(t,e,n,r,i,o,a,s){this.reflector=t,this.outputCtx=e,this.parent=n,this.component=r,this.embeddedViewIndex=i,this.usedPipes=o,this.staticQueryIds=a,this.viewBuilderFactory=s,this.nodes=[],this.purePipeNodeIndices=Object.create(null),this.refNodeIndices=Object.create(null),this.variables=[],this.children=[],this.compType=0<this.embeddedViewIndex?sa:ds(e.importExpr(this.component.type.reference)),this.viewName=Ot(this.component.type.reference,this.embeddedViewIndex)}return t.prototype.visitAll=function(t,e){var n,r,i,o=this;if(this.variables=t,this.parent||this.usedPipes.forEach(function(t){t.pure&&(o.purePipeNodeIndices[t.name]=o._createPipe(null,t))}),!this.parent){var a=(n=this.staticQueryIds,r=new Set,i=new Set,Array.from(n.values()).forEach(function(t){t.staticQueryIds.forEach(function(t){return r.add(t)}),t.dynamicQueryIds.forEach(function(t){return i.add(t)})}),i.forEach(function(t){return r.delete(t)}),{staticQueryIds:r,dynamicQueryIds:i});this.component.viewQueries.forEach(function(t,e){var n=e+1,r=t.first?0:1,i=134217728|su(a,n,t.first);o.nodes.push(function(){return{sourceSpan:null,nodeFlags:i,nodeDef:us(jo.queryDef).callFn([gs(i),gs(n),new ja([new La(t.propertyName,gs(r),!1)])])}})})}yt(this,e),this.parent&&(0===e.length||function t(e){var n=e[e.length-1];if(n instanceof lt)return n.hasViewContainer;if(n instanceof st)return me(n.name)&&n.children.length?t(n.children):n.hasViewContainer;return n instanceof ht}(e))&&this.nodes.push(function(){return{sourceSpan:null,nodeFlags:1,nodeDef:us(jo.anchorDef).callFn([gs(0),Va,Va,gs(0)])}})},t.prototype.build=function(e){void 0===e&&(e=[]),this.children.forEach(function(t){return t.build(e)});var t=this._createNodeExpressions(),n=t.updateRendererStmts,r=t.updateDirectivesStmts,i=t.nodeDefExprs,o=this._createUpdateFn(n),a=this._createUpdateFn(r),s=0;this.parent||this.component.changeDetection!==h.OnPush||(s|=2);var l=new Ga(this.viewName,[new Da(Xc.name)],[new qa(us(jo.viewDef).callFn([gs(s),hs(i),a,o]))],ps(jo.ViewDefinition),0===this.embeddedViewIndex?[Ua.Exported]:[]);return e.push(l),e},t.prototype._createUpdateFn=function(t){var e;if(0<t.length){var n=[];!this.component.isHost&&rs(t).has(tu.name)&&n.push(tu.set(Zc.prop("component")).toDeclStmt(this.compType)),e=ms([new Da(Jc.name,la),new Da(Zc.name,la)],n.concat(t),la)}else e=Va;return e},t.prototype.visitNgContent=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:8,nodeDef:us(jo.ngContentDef).callFn([gs(t.ngContentIndex),gs(t.index)])}})},t.prototype.visitText=function(t,e){this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:2,nodeDef:us(jo.textDef).callFn([gs(-1),gs(t.ngContentIndex),hs([gs(t.value)])])}})},t.prototype.visitBoundText=function(n,t){var r=this,i=this.nodes.length;this.nodes.push(null);var e=n.value.ast,o=e.expressions.map(function(t,e){return r._preprocessUpdateExpression({nodeIndex:i,bindingIndex:e,sourceSpan:n.sourceSpan,context:tu,value:t})}),a=i;this.nodes[i]=function(){return{sourceSpan:n.sourceSpan,nodeFlags:2,nodeDef:us(jo.textDef).callFn([gs(a),gs(n.ngContentIndex),hs(e.strings.map(function(t){return gs(t)}))]),updateRenderer:o}}},t.prototype.visitEmbeddedTemplate=function(t,e){var n=this,r=this.nodes.length;this.nodes.push(null);var i=this._visitElementOrTemplate(r,t),o=i.flags,a=i.queryMatchesExpr,s=i.hostEvents,l=this.viewBuilderFactory(this);this.children.push(l),l.visitAll(t.variables,t.children);var c=this.nodes.length-r-1;this.nodes[r]=function(){return{sourceSpan:t.sourceSpan,nodeFlags:1|o,nodeDef:us(jo.anchorDef).callFn([gs(o),a,gs(t.ngContentIndex),gs(c),n._createElementHandleEventFn(r,s),cs(l.viewName)])}}},t.prototype.visitElement=function(e,t){var n=this,r=this.nodes.length;this.nodes.push(null);var i=me(e.name)?null:e.name,o=this._visitElementOrTemplate(r,e),a=o.flags,s=o.usedEvents,l=o.queryMatchesExpr,c=o.hostBindings,u=o.hostEvents,p=[],d=[],h=[];if(i){var f=e.inputs.map(function(t){return{context:tu,inputAst:t,dirAst:null}}).concat(c);f.length&&(d=f.map(function(t,e){return n._preprocessUpdateExpression({context:t.context,nodeIndex:r,bindingIndex:e,sourceSpan:t.inputAst.sourceSpan,value:t.inputAst.value})}),p=f.map(function(t){return function(t,e){switch(t.type){case ft.Attribute:return hs([gs(1),gs(t.name),gs(t.securityContext)]);case ft.Property:return hs([gs(8),gs(t.name),gs(t.securityContext)]);case ft.Animation:var n=8|(e&&e.directive.isComponent?32:16);return hs([gs(n),gs("@"+t.name),gs(t.securityContext)]);case ft.Class:return hs([gs(2),gs(t.name),Va]);case ft.Style:return hs([gs(4),gs(t.name),gs(t.unit)])}}(t.inputAst,t.dirAst)})),h=s.map(function(t){var e=t[0],n=t[1];return hs([gs(e),gs(n)])})}yt(this,e.children);var m=this.nodes.length-r-1,g=e.directives.find(function(t){return t.directive.isComponent}),y=Va,v=Va;g&&(v=this.outputCtx.importExpr(g.directive.componentViewType),y=this.outputCtx.importExpr(g.directive.rendererType));var b=r;this.nodes[r]=function(){return{sourceSpan:e.sourceSpan,nodeFlags:1|a,nodeDef:us(jo.elementDef).callFn([gs(b),gs(a),l,gs(e.ngContentIndex),gs(m),gs(i),i?(t=e,s=Object.create(null),t.attrs.forEach(function(t){s[t.name]=t.value}),t.directives.forEach(function(a){Object.keys(a.directive.hostAttributes).forEach(function(t){var e,n,r,i=a.directive.hostAttributes[t],o=s[t];s[t]=null!=o?(n=o,r=i,(e=t)==Yc||e==$c?n+" "+r:r):i})}),hs(Object.keys(s).sort().map(function(t){return hs([gs(t),gs(s[t])])}))):Va,p.length?hs(p):Va,h.length?hs(h):Va,n._createElementHandleEventFn(r,u),v,y]),updateRenderer:d};var t,s}},t.prototype._visitElementOrTemplate=function(s,l){var c=this,t=0;l.hasViewContainer&&(t|=16777216);var u=new Map;l.outputs.forEach(function(t){var e=au(t,null),n=e.name,r=e.target;u.set(lu(r,n),[r,n])}),l.directives.forEach(function(i){i.hostEvents.forEach(function(t){var e=au(t,i),n=e.name,r=e.target;u.set(lu(r,n),[r,n])})});var p=[],d=[];this._visitComponentFactoryResolverProvider(l.directives),l.providers.forEach(function(n,t){var r=void 0,i=void 0;if(l.directives.forEach(function(t,e){t.directive.type.reference===It(n.token)&&(r=t,i=e)}),r){var e=c._visitDirective(n,r,i,s,l.references,l.queryMatches,u,c.staticQueryIds.get(l)),o=e.hostBindings,a=e.hostEvents;p.push.apply(p,o),d.push.apply(d,a)}else c._visitProvider(n,l.queryMatches)});var n=[];return l.queryMatches.forEach(function(t){var e=void 0;It(t.value)===c.reflector.resolveExternalReference(jo.ElementRef)?e=0:It(t.value)===c.reflector.resolveExternalReference(jo.ViewContainerRef)?e=3:It(t.value)===c.reflector.resolveExternalReference(jo.TemplateRef)&&(e=2),null!=e&&n.push(hs([gs(t.queryId),gs(e)]))}),l.references.forEach(function(t){var e=void 0;t.value?It(t.value)===c.reflector.resolveExternalReference(jo.TemplateRef)&&(e=2):e=1,null!=e&&(c.refNodeIndices[t.name]=s,n.push(hs([gs(t.name),gs(e)])))}),l.outputs.forEach(function(t){d.push({context:tu,eventAst:t,dirAst:null})}),{flags:t,usedEvents:Array.from(u.values()),queryMatchesExpr:n.length?hs(n):Va,hostBindings:p,hostEvents:d}},t.prototype._visitDirective=function(e,o,t,n,r,i,a,s){var l=this,c=this.nodes.length;this.nodes.push(null),o.directive.queries.forEach(function(t,e){var n=o.contentQueryStartId+e,r=67108864|su(s,n,t.first),i=t.first?0:1;l.nodes.push(function(){return{sourceSpan:o.sourceSpan,nodeFlags:r,nodeDef:us(jo.queryDef).callFn([gs(r),gs(n),new ja([new La(t.propertyName,gs(i),!1)])])}})});var u=this.nodes.length-c-1,p=this._visitProviderOrDirective(e,i),d=p.flags,h=p.queryMatchExprs,f=p.providerExpr,m=p.depsExpr;r.forEach(function(t){t.value&&It(t.value)===It(e.token)&&(l.refNodeIndices[t.name]=c,h.push(hs([gs(t.name),gs(4)])))}),o.directive.isComponent&&(d|=32768);var g=o.inputs.map(function(t,e){var n=hs([gs(e),gs(t.directiveName)]);return new La(t.directiveName,n,!1)}),y=[],v=o.directive;Object.keys(v.outputs).forEach(function(t){var e=v.outputs[t];a.has(e)&&y.push(new La(t,gs(e),!1))});var b=[];(o.inputs.length||0<(327680&d))&&(b=o.inputs.map(function(t,e){return l._preprocessUpdateExpression({nodeIndex:c,bindingIndex:e,sourceSpan:t.sourceSpan,context:tu,value:t.value})}));var _=us(jo.nodeValue).callFn([Zc,gs(c)]),w=o.hostProperties.map(function(t){return{context:_,dirAst:o,inputAst:t}}),C=o.hostEvents.map(function(t){return{context:_,eventAst:t,dirAst:o}}),x=c;return this.nodes[c]=function(){return{sourceSpan:o.sourceSpan,nodeFlags:16384|d,nodeDef:us(jo.directiveDef).callFn([gs(x),gs(d),h.length?hs(h):Va,gs(u),f,m,g.length?new ja(g):Va,y.length?new ja(y):Va]),updateDirectives:b,directive:o.directive.type}},{hostBindings:w,hostEvents:C}},t.prototype._visitProvider=function(t,e){this._addProviderNode(this._visitProviderOrDirective(t,e))},t.prototype._visitComponentFactoryResolverProvider=function(t){var e=t.find(function(t){return t.directive.isComponent});if(e&&e.directive.entryComponents.length){var n=Ms(this.reflector,this.outputCtx,8192,e.directive.entryComponents),r=n.providerExpr,i=n.depsExpr,o=n.flags,a=n.tokenExpr;this._addProviderNode({providerExpr:r,depsExpr:i,flags:o,tokenExpr:a,queryMatchExprs:[],sourceSpan:e.sourceSpan})}},t.prototype._addProviderNode=function(t){this.nodes.length;this.nodes.push(function(){return{sourceSpan:t.sourceSpan,nodeFlags:t.flags,nodeDef:us(jo.providerDef).callFn([gs(t.flags),t.queryMatchExprs.length?hs(t.queryMatchExprs):Va,t.tokenExpr,t.providerExpr,t.depsExpr])}})},t.prototype._visitProviderOrDirective=function(e,t){var n=[];t.forEach(function(t){It(t.value)===It(e.token)&&n.push(hs([gs(t.queryId),gs(4)]))});var r=Os(this.outputCtx,e),i=r.providerExpr,o=r.depsExpr,a=r.flags,s=r.tokenExpr;return{flags:0|a,queryMatchExprs:n,providerExpr:i,depsExpr:o,tokenExpr:s,sourceSpan:e.sourceSpan}},t.prototype.getLocal=function(e){if(e==Oc.event.name)return Oc.event;for(var t=Zc,n=this;n;n=n.parent,t=t.prop("parent").cast(sa)){var r=n.refNodeIndices[e];if(null!=r)return us(jo.nodeValue).callFn([t,gs(r)]);var i=n.variables.find(function(t){return t.name===e});if(i){var o=i.value||"$implicit";return t.prop("context").prop(o)}}return null},t.prototype._createLiteralArrayConverter=function(t,e){if(0===e){var n=us(jo.EMPTY_ARRAY);return function(){return n}}var r=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:32,nodeDef:us(jo.pureArrayDef).callFn([gs(r),gs(e)])}}),function(t){return iu(r,t)}},t.prototype._createLiteralMapConverter=function(t,e){if(0===e.length){var n=us(jo.EMPTY_MAP);return function(){return n}}var r=fs(e.map(function(t,e){return m({},t,{value:gs(e)})})),i=this.nodes.length;return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:64,nodeDef:us(jo.pureObjectDef).callFn([gs(i),r])}}),function(t){return iu(i,t)}},t.prototype._createPipeConverter=function(e,n,t){var r=this.usedPipes.find(function(t){return t.name===n});if(r.pure){var i=this.nodes.length;this.nodes.push(function(){return{sourceSpan:e.sourceSpan,nodeFlags:128,nodeDef:us(jo.purePipeDef).callFn([gs(i),gs(t)])}});for(var o=Zc,a=this;a.parent;)a=a.parent,o=o.prop("parent").cast(sa);var s=a.purePipeNodeIndices[n],l=us(jo.nodeValue).callFn([o,gs(s)]);return function(t){return ou(e.nodeIndex,e.bindingIndex,iu(i,[l].concat(t)))}}var c=this._createPipe(e.sourceSpan,r),u=us(jo.nodeValue).callFn([Zc,gs(c)]);return function(t){return ou(e.nodeIndex,e.bindingIndex,u.callMethod("transform",t))}},t.prototype._createPipe=function(t,e){var n=this,r=this.nodes.length,i=0;e.type.lifecycleHooks.forEach(function(t){t===Bo.OnDestroy&&(i|=Ts(t))});var o=e.type.diDeps.map(function(t){return Ds(n.outputCtx,t)});return this.nodes.push(function(){return{sourceSpan:t,nodeFlags:16,nodeDef:us(jo.pipeDef).callFn([gs(i),n.outputCtx.importExpr(e.type.reference),hs(o)])}}),r},t.prototype._preprocessUpdateExpression=function(n){var r=this;return{nodeIndex:n.nodeIndex,bindingIndex:n.bindingIndex,sourceSpan:n.sourceSpan,context:n.context,value:Dc({createLiteralArrayConverter:function(t){return r._createLiteralArrayConverter(n.sourceSpan,t)},createLiteralMapConverter:function(t){return r._createLiteralMapConverter(n.sourceSpan,t)},createPipeConverter:function(t,e){return r._createPipeConverter(n,t,e)}},n.value)}},t.prototype._createNodeExpressions=function(){var c=this,u=0,l=[],p=[],t=this.nodes.map(function(t,e){var n=t(),r=n.nodeDef,i=n.nodeFlags,o=n.updateDirectives,a=n.updateRenderer,s=n.sourceSpan;return a&&l.push.apply(l,d(e,s,a,!1)),o&&p.push.apply(p,d(e,s,o,0<(327680&i))),ss(3&i?new Fa([Xc.callFn([]).callFn([]),r]):r,s)});return{updateRendererStmts:l,updateDirectivesStmts:p,nodeDefExprs:t};function d(t,e,n,r){var l=[],i=n.map(function(t){var e=t.sourceSpan,n=t.context,r=t.value,i=""+u++,o=Ic(n===tu?c:null,n,r,i,Mc.General),a=o.stmts,s=o.currValExpr;return l.push.apply(l,a.map(function(t){return as(t,e)})),ss(s,e)});return(n.length||r)&&l.push(as(iu(t,i).toStmt(),e)),l}},t.prototype._createElementHandleEventFn=function(t,e){var n,p=this,d=[],h=0;if(e.forEach(function(t){var e=t.context,n=t.eventAst,r=t.dirAst,i=""+h++,o=Ac(e===tu?p:null,e,n.handler,i),a=o.stmts,s=o.allowDefault,l=a;s&&l.push(nu.set(s.and(nu)).toStmt());var c=au(n,r),u=lu(c.target,c.name);d.push(as(new Xa(gs(u).identical(eu),l),n.sourceSpan))}),0<d.length){var r=[nu.set(gs(!0)).toDeclStmt(ca)];!this.component.isHost&&rs(d).has(tu.name)&&r.push(tu.set(Zc.prop("component")).toDeclStmt(this.compType)),n=ms([new Da(Zc.name,la),new Da(eu.name,la),new Da(Oc.event.name,la)],r.concat(d,[new qa(nu)]),la)}else n=Va;return n},t.prototype.visitDirective=function(t,e){},t.prototype.visitDirectiveProperty=function(t,e){},t.prototype.visitReference=function(t,e){},t.prototype.visitVariable=function(t,e){},t.prototype.visitEvent=function(t,e){},t.prototype.visitElementProperty=function(t,e){},t.prototype.visitAttr=function(t,e){},t}();function iu(t,e){return 10<e.length?Jc.callFn([Zc,gs(t),gs(1),hs(e)]):Jc.callFn([Zc,gs(t),gs(0)].concat(e))}function ou(t,e,n){return us(jo.unwrapValue).callFn([Zc,gs(t),gs(e),n])}function au(t,e){return t.isAnimation?{name:"@"+t.name+"."+t.phase,target:e&&e.directive.isComponent?"component":null}:t}function su(t,e,n){var r=0;return!n||!t.staticQueryIds.has(e)&&t.dynamicQueryIds.has(e)?r|=536870912:r|=268435456,r}function lu(t,e){return t?t+":"+e:e}var cu=function(){function t(t,e,n,r){void 0===r&&(r=null),this._htmlParser=t,this._implicitTags=e,this._implicitAttrs=n,this._locale=r,this._messages=[]}return t.prototype.updateFromTemplate=function(t,e,n){var r=this._htmlParser.parse(t,e,!0,n);if(r.errors.length)return r.errors;var i,o,a,s,l,c=(i=r.rootNodes,o=n,a=this._implicitTags,s=this._implicitAttrs,new Li(a,s).extract(i,o));return c.errors.length?c.errors:((l=this._messages).push.apply(l,c.messages),[])},t.prototype.getMessages=function(){return this._messages},t.prototype.write=function(o,a){var s={},l=new uu;this._messages.forEach(function(t){var e,n=o.digest(t);s.hasOwnProperty(n)?(e=s[n].sources).push.apply(e,t.sources):s[n]=t});var t=Object.keys(s).map(function(t){var e=o.createNameMapper(s[t]),n=s[t],r=e?l.convert(n.nodes,e):n.nodes,i=new ci(r,{},{},n.meaning,n.description,t);return i.sources=n.sources,a&&i.sources.forEach(function(t){return t.filePath=a(t.filePath)}),i});return o.write(t,this._locale)},t}(),uu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.convert=function(t,e){var n=this;return e?t.map(function(t){return t.visit(n,e)}):t},e.prototype.visitTagPlaceholder=function(t,e){var n=this,r=e.toPublicName(t.startName),i=t.closeName?e.toPublicName(t.closeName):t.closeName,o=t.children.map(function(t){return t.visit(n,e)});return new hi(t.tag,t.attrs,r,i,o,t.isVoid,t.sourceSpan)},e.prototype.visitPlaceholder=function(t,e){return new fi(t.value,e.toPublicName(t.name),t.sourceSpan)},e.prototype.visitIcuPlaceholder=function(t,e){return new mi(t.value,e.toPublicName(t.name),t.sourceSpan)},e}(gi),pu=function(){function t(t,e,n){this.srcFileUrl=t,this.genFileUrl=e,"string"==typeof n?(this.source=n,this.stmts=null):(this.source=null,this.stmts=n)}return t.prototype.isEquivalent=function(t){return this.genFileUrl===t.genFileUrl&&(this.source?this.source===t.source:null!=t.stmts&&da(this.stmts,t.stmts))},t}();function du(t,e){for(var n=[],r=0,i=t.transitiveModule.providers;r<i.length;r++){var o=i[r],a=o.provider,s=o.module;if(It(a.token)===e.ROUTES)for(var l=0,c=hu(a.useValue);l<c.length;l++){var u=c[l];n.push(fu(u,e,s.reference))}}return n}function hu(t,e){if(void 0===e&&(e=[]),"string"==typeof t)e.push(t);else if(Array.isArray(t))for(var n=0,r=t;n<r.length;n++){hu(r[n],e)}else t.loadChildren?hu(t.loadChildren,e):t.children&&hu(t.children,e);return e}function fu(t,e,n){var r=t.split("#"),i=r[0],o=r[1],a=e.resolveExternalReference({moduleName:i,name:o},n?n.filePath:void 0);return{route:t,module:n||a,referencedModule:a}}var mu=function(t,e){this.symbol=t,this.metadata=e},gu=function(){function t(t,e,n,r){this.host=t,this.staticSymbolCache=e,this.summaryResolver=n,this.errorRecorder=r,this.metadataCache=new Map,this.resolvedSymbols=new Map,this.resolvedFilePaths=new Set,this.importAs=new Map,this.symbolResourcePaths=new Map,this.symbolFromFile=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.resolveSymbol=function(t){if(0<t.members.length)return this._resolveSymbolMembers(t);var e=this._resolveSymbolFromSummary(t);if(e)return e;var n=this.resolvedSymbols.get(t);return n||(this._createSymbolsOf(t.filePath),this.resolvedSymbols.get(t))},t.prototype.getImportAs=function(t,e){if(void 0===e&&(e=!0),t.members.length){var n=this.getStaticSymbol(t.filePath,t.name);return(i=this.getImportAs(n,e))?this.getStaticSymbol(i.filePath,i.name,t.members):null}var r=t.filePath.replace(Eo,".");if(r!==t.filePath){var i,o=t.name.replace(ko,"");n=this.getStaticSymbol(r,o,t.members);return(i=this.getImportAs(n,e))?this.getStaticSymbol(Mo(i.filePath),Io(i.name),n.members):null}var a=e&&this.summaryResolver.getImportAs(t)||null;return a||(a=this.importAs.get(t)),a},t.prototype.getResourcePath=function(t){return this.symbolResourcePaths.get(t)||t.filePath},t.prototype.getTypeArity=function(t){if(e=t.filePath,So.test(e))return null;for(var e,n=vu(this.resolveSymbol(t));n&&n.metadata instanceof _t;)n=vu(this.resolveSymbol(n.metadata));return n&&n.metadata&&n.metadata.arity||null},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.recordImportAs=function(t,e){t.assertNoMembers(),e.assertNoMembers(),this.importAs.set(t,e)},t.prototype.recordModuleNameForFileName=function(t,e){this.knownFileNameToModuleNames.set(t,e)},t.prototype.invalidateFile=function(t){this.metadataCache.delete(t),this.resolvedFilePaths.delete(t);var e=this.symbolFromFile.get(t);if(e){this.symbolFromFile.delete(t);for(var n=0,r=e;n<r.length;n++){var i=r[n];this.resolvedSymbols.delete(i),this.importAs.delete(i),this.symbolResourcePaths.delete(i)}}},t.prototype.ignoreErrorsFor=function(t){var e=this.errorRecorder;this.errorRecorder=function(){};try{return t()}finally{this.errorRecorder=e}},t.prototype._resolveSymbolMembers=function(t){var e=t.members,n=this.resolveSymbol(this.getStaticSymbol(t.filePath,t.name));if(!n)return null;var r=vu(n.metadata);if(r instanceof _t)return new mu(t,this.getStaticSymbol(r.filePath,r.name,e));if(!r||"class"!==r.__symbolic){for(var i=r,o=0;o<e.length&&i;o++)i=i[e[o]];return new mu(t,i)}return r.statics&&1===e.length?new mu(t,r.statics[e[0]]):null},t.prototype._resolveSymbolFromSummary=function(t){var e=this.summaryResolver.resolveSummary(t);return e?new mu(t,e.metadata):null},t.prototype.getStaticSymbol=function(t,e,n){return this.staticSymbolCache.get(t,e,n)},t.prototype.hasDecorators=function(t){var n=this.getModuleMetadata(t);return!!n.metadata&&Object.keys(n.metadata).some(function(t){var e=n.metadata[t];return e&&"class"===e.__symbolic&&e.decorators})},t.prototype.getSymbolsOf=function(e){var t=this.summaryResolver.getSymbolsOf(e);if(t)return t;this._createSymbolsOf(e);var n=[];return this.resolvedSymbols.forEach(function(t){t.symbol.filePath===e&&n.push(t.symbol)}),n},t.prototype._createSymbolsOf=function(s){var l=this;if(!this.resolvedFilePaths.has(s)){this.resolvedFilePaths.add(s);var c=[],a=this.getModuleMetadata(s);if(a.importAs&&this.knownFileNameToModuleNames.set(s,a.importAs),a.exports)for(var t=function(a){if(a.export)a.export.forEach(function(t){var e,n=e=yu(e="string"==typeof t?t:t.as);"string"!=typeof t&&(n=yu(t.name));var r=l.resolveModule(a.from,s);if(r){var i=l.getStaticSymbol(r,n),o=l.getStaticSymbol(s,e);c.push(l.createExport(o,i))}});else{var t=e.resolveModule(a.from,s);if(t)e.getSymbolsOf(t).forEach(function(t){var e=l.getStaticSymbol(s,t.name);c.push(l.createExport(e,t))})}},e=this,n=0,r=a.exports;n<r.length;n++){t(r[n])}if(a.metadata){var u=new Set(Object.keys(a.metadata).map(yu)),p=a.origins||{};Object.keys(a.metadata).forEach(function(t){var e=a.metadata[t],n=yu(t),r=l.getStaticSymbol(s,n),i=p.hasOwnProperty(t)&&p[t];if(i){var o=l.resolveModule(i,s);o?l.symbolResourcePaths.set(r,o):l.reportError(new Error("Couldn't resolve original symbol for "+i+" from "+s))}c.push(l.createResolvedSymbol(r,s,u,e))})}c.forEach(function(t){return l.resolvedSymbols.set(t.symbol,t)}),this.symbolFromFile.set(s,c.map(function(t){return t.symbol}))}},t.prototype.createResolvedSymbol=function(c,u,p,t){var e,n=this;if(this.summaryResolver.isLibraryFile(c.filePath)&&t&&"class"===t.__symbolic){var r={__symbolic:"class",arity:t.arity};return new mu(c,r)}var d=function(){return e||(e=n.host.getOutputName(u.replace(/((\.ts)|(\.d\.ts)|)$/,".ts").replace(/^.*node_modules[/\\]/,""))),e},h=this,i=L(t,new(function(l){function t(){return null!==l&&l.apply(this,arguments)||this}return f(t,l),t.prototype.visitStringMap=function(t,e){var n=t.__symbolic;if("function"===n){var r=e.length;e.push.apply(e,t.parameters||[]);var i=l.prototype.visitStringMap.call(this,t,e);return e.length=r,i}if("reference"!==n)return"error"===n?m({},t,{fileName:d()}):l.prototype.visitStringMap.call(this,t,e);var o=t.module,a=t.name?yu(t.name):t.name;if(!a)return null;var s=void 0;return o?(s=h.resolveModule(o,c.filePath))?{__symbolic:"resolved",symbol:h.getStaticSymbol(s,a),line:t.line,character:t.character,fileName:d()}:{__symbolic:"error",message:"Could not resolve "+o+" relative to "+c.filePath+".",line:t.line,character:t.character,fileName:d()}:0<=e.indexOf(a)?{__symbolic:"reference",name:a}:p.has(a)?h.getStaticSymbol(u,a):void 0},t}(V)),[]),o=vu(i);return o instanceof _t?this.createExport(c,o):new mu(c,i)},t.prototype.createExport=function(t,e){return t.assertNoMembers(),e.assertNoMembers(),this.summaryResolver.isLibraryFile(t.filePath)&&this.summaryResolver.isLibraryFile(e.filePath)&&this.importAs.set(e,this.getImportAs(t)||t),new mu(t,e)},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(t,e&&e.filePath||n)},t.prototype.getModuleMetadata=function(t){var e=this.metadataCache.get(t);if(!e){var n=this.host.getMetadataFor(t);if(n){var r=-1;n.forEach(function(t){t&&t.version>r&&(r=t.version,e=t)})}if(e||(e={__symbolic:"module",version:4,module:t,metadata:{}}),4!=e.version){var i=2==e.version?"Unsupported metadata version "+e.version+" for module "+t+". This module should be compiled with a newer version of ngc":"Metadata version mismatch for module "+t+", found version "+e.version+", expected 4";this.reportError(new Error(i))}this.metadataCache.set(t,e)}return e},t.prototype.getSymbolByModule=function(t,e,n){var r=this.resolveModule(t,n);return r?this.getStaticSymbol(r,e):(this.reportError(new Error("Could not resolve module "+t+(n?" relative to "+n:""))),this.getStaticSymbol("ERROR:"+t,e))},t.prototype.resolveModule=function(e,n){try{return this.host.moduleNameToFileName(e,n)}catch(t){console.error("Could not resolve module '"+e+"' relative to file "+n),this.reportError(t,void 0,n)}return null},t}();function yu(t){return t.startsWith("___")?t.substr(1):t}function vu(t){return t&&"resolved"===t.__symbolic?t.symbol:t}function bu(t,e,n){var r=Io(e.name);t.statements.push(ms([],[new qa(n)],new oa(sa)).toDeclStmt(r,[Ua.Final,Ua.Exported]))}var _u=function(i){function t(t,e,n){var r=i.call(this)||this;return r.symbolResolver=t,r.summaryResolver=e,r.srcFileName=n,r.symbols=[],r.indexBySymbol=new Map,r.reexportedBy=new Map,r.processedSummaryBySymbol=new Map,r.processedSummaries=[],r.unprocessedSymbolSummariesBySymbol=new Map,r.moduleName=t.getKnownModuleName(n),r}return f(t,i),t.prototype.addSummary=function(t){var e,n,r=this,i=this.unprocessedSymbolSummariesBySymbol.get(t.symbol),o=this.processedSummaryBySymbol.get(t.symbol);if(i||(i={symbol:t.symbol,metadata:void 0},this.unprocessedSymbolSummariesBySymbol.set(t.symbol,i),o={symbol:this.processValue(t.symbol,0)},this.processedSummaries.push(o),this.processedSummaryBySymbol.set(t.symbol,o)),!i.metadata&&t.metadata){var a=t.metadata||{};if("class"===a.__symbolic){var s={};Object.keys(a).forEach(function(t){"decorators"!==t&&(s[t]=a[t])}),a=s}else xu(a)&&(xu(n=a)&&vu(n.expression)instanceof _t||xu(e=a)&&e.expression&&"select"===e.expression.__symbolic&&vu(e.expression.expression)instanceof _t||(a={__symbolic:"error",message:"Complex function calls are not supported."}));if(i.metadata=a,o.metadata=this.processValue(a,1),a instanceof _t&&this.summaryResolver.isLibraryFile(a.filePath)){var l=this.symbols[this.indexBySymbol.get(a)];No(l.name)||this.reexportedBy.set(l,t.symbol)}}if(!i.type&&t.type&&(i.type=t.type,o.type=this.processValue(t.type,0),t.type.summaryKind===Tt.NgModule)){var c=t.type;c.exportedDirectives.concat(c.exportedPipes).forEach(function(t){var e=t.reference;if(r.summaryResolver.isLibraryFile(e.filePath)&&!r.unprocessedSymbolSummariesBySymbol.has(e)){var n=r.summaryResolver.resolveSummary(e);n&&r.addSummary(n)}})}},t.prototype.serialize=function(){var o=this,a=[];return{json:JSON.stringify({moduleName:this.moduleName,summaries:this.processedSummaries,symbols:this.symbols.map(function(t,e){t.assertNoMembers();var n=void 0;if(o.summaryResolver.isLibraryFile(t.filePath)){var r=o.reexportedBy.get(t);if(r)n=o.indexBySymbol.get(r);else{var i=o.unprocessedSymbolSummariesBySymbol.get(t);i&&i.metadata&&"interface"===i.metadata.__symbolic||(n=t.name+"_"+e,a.push({symbol:t,exportAs:n}))}}return{__symbol:e,name:t.name,filePath:o.summaryResolver.toSummaryFileName(t.filePath,o.srcFileName),importAs:n}})}),exportAs:a}},t.prototype.processValue=function(t,e){return L(t,this,e)},t.prototype.visitOther=function(t,e){if(t instanceof _t){var n=this.symbolResolver.getStaticSymbol(t.filePath,t.name);return{__symbol:this.visitStaticSymbol(n,e),members:t.members}}},t.prototype.visitStaticSymbol=function(t,e){var n=this.indexBySymbol.get(t),r=null;if(1&e&&this.summaryResolver.isLibraryFile(t.filePath)){if(this.unprocessedSymbolSummariesBySymbol.has(t))return n;(r=this.loadSummary(t))&&r.metadata instanceof _t&&(n=this.visitStaticSymbol(r.metadata,e),r=null)}else if(null!=n)return n;return null==n&&(n=this.symbols.length,this.symbols.push(t)),this.indexBySymbol.set(t,n),r&&this.addSummary(r),n},t.prototype.loadSummary=function(t){var e=this.summaryResolver.resolveSummary(t);if(!e){var n=this.symbolResolver.resolveSymbol(t);n&&(e={symbol:n.symbol,metadata:n.metadata})}return e},t}(V),wu=function(){function t(t,e,n){this.outputCtx=t,this.symbolResolver=e,this.summaryResolver=n,this.data=[]}return t.prototype.addSourceType=function(t,e){this.data.push({summary:t,metadata:e,isLibrary:!1})},t.prototype.addLibType=function(t){this.data.push({summary:t,metadata:null,isLibrary:!0})},t.prototype.serialize=function(t){for(var n=this,r=new Map,e=0,i=t;e<i.length;e++){var o=i[e],a=o.symbol,s=o.exportAs;r.set(a,s)}for(var l=new Set,c=0,u=this.data;c<u.length;c++){var p=u[c],d=p.summary,h=p.metadata,f=p.isLibrary;if(d.summaryKind===Tt.NgModule){l.add(d.type.reference);for(var m=0,g=d.modules;m<g.length;m++){var y=g[m];l.add(y.reference)}}if(!f){Io(d.type.reference.name);bu(this.outputCtx,d.type.reference,this.serializeSummaryWithDeps(d,h))}}l.forEach(function(t){if(n.summaryResolver.isLibraryFile(t.filePath)){var e=Io(r.get(t)||t.name);n.outputCtx.statements.push(cs(e).set(n.serializeSummaryRef(t)).toDeclStmt(null,[Ua.Exported]))}})},t.prototype.serializeSummaryWithDeps=function(t,e){var n=this,r=[this.serializeSummary(t)],i=[];if(e instanceof Ft)r.push.apply(r,e.declaredDirectives.concat(e.declaredPipes).map(function(t){return t.reference}).concat(e.transitiveModule.modules.map(function(t){return t.reference}).filter(function(t){return t!==e.type.reference})).map(function(t){return n.serializeSummaryRef(t)})),i=e.providers;else if(t.summaryKind===Tt.Directive){var o=t;i=o.providers.concat(o.viewProviders)}return r.push.apply(r,i.filter(function(t){return!!t.useClass}).map(function(t){return n.serializeSummary({summaryKind:Tt.Injectable,type:t.useClass})})),hs(r)},t.prototype.serializeSummaryRef=function(t){var e=this.symbolResolver.getStaticSymbol(Mo(t.filePath),Io(t.name));return this.outputCtx.importExpr(e)},t.prototype.serializeSummary=function(t){var n=this.outputCtx;return L(t,new(function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return hs(t.map(function(t){return L(t,n,e)}))},t.prototype.visitStringMap=function(e,n){var r=this;return new ja(Object.keys(e).map(function(t){return new La(t,L(e[t],r,n),!1)}))},t.prototype.visitPrimitive=function(t,e){return gs(t)},t.prototype.visitOther=function(t,e){if(t instanceof _t)return n.importExpr(t);throw new Error("Illegal State: Encountered value "+t)},t}()),null)},t}(),Cu=function(i){function t(t,e){var n=i.call(this)||this;return n.symbolCache=t,n.summaryResolver=e,n}return f(t,i),t.prototype.deserialize=function(i,t){var o=this,e=JSON.parse(t),a=[];this.symbols=e.symbols.map(function(t){return o.symbolCache.get(o.summaryResolver.fromSummaryFileName(t.filePath,i),t.name)}),e.symbols.forEach(function(t,e){var n=o.symbols[e],r=t.importAs;"number"==typeof r?a.push({symbol:n,importAs:o.symbols[r]}):"string"==typeof r&&a.push({symbol:n,importAs:o.symbolCache.get(Oo(i),r)})});var n=L(e.summaries,this,null);return{moduleName:e.moduleName,summaries:n,importAs:a}},t.prototype.visitStringMap=function(t,e){if("__symbol"in t){var n=this.symbols[t.__symbol],r=t.members;return r.length?this.symbolCache.get(n.filePath,n.name,r):n}return i.prototype.visitStringMap.call(this,t,e)},t}(V);function xu(t){return t&&"call"===t.__symbolic}var Su={Basic:1,TypeCheck:2,All:3};Su[Su.Basic]="Basic",Su[Su.TypeCheck]="TypeCheck",Su[Su.All]="All";var Eu=function(){function t(t,e,n,r,i,o,a,s,l,c,u,p,d){this._config=t,this._options=e,this._host=n,this._reflector=r,this._metadataResolver=i,this._templateParser=o,this._styleCompiler=a,this._viewCompiler=s,this._typeCheckCompiler=l,this._ngModuleCompiler=c,this._outputEmitter=u,this._summaryResolver=p,this._symbolResolver=d,this._templateAstCache=new Map,this._analyzedFiles=new Map}return t.prototype.clearCache=function(){this._metadataResolver.clearCache()},t.prototype.analyzeModulesSync=function(t){var e=this,n=Du(t,this._host,this._symbolResolver,this._metadataResolver);return n.ngModules.forEach(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!0)}),n},t.prototype.analyzeModulesAsync=function(t){var e=this,n=Du(t,this._host,this._symbolResolver,this._metadataResolver);return Promise.all(n.ngModules.map(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){return n})},t.prototype._analyzeFile=function(t){var e=this._analyzedFiles.get(t);return e||(e=Mu(this._host,this._symbolResolver,this._metadataResolver,t),this._analyzedFiles.set(t,e)),e},t.prototype.findGeneratedFileNames=function(t){var i=this,o=[],a=this._analyzeFile(t);(this._options.allowEmptyCodegenFiles||a.directives.length||a.pipes.length||a.injectables.length||a.ngModules.length||a.exportsNonSourceFiles)&&(o.push(Oo(a.fileName,!0)),this._options.enableSummariesForJit&&o.push(Mo(a.fileName,!0)));var s=Do(Ao(a.fileName,!0)[1]);return a.directives.forEach(function(t){var r=i._metadataResolver.getNonNormalizedDirectiveMetadata(t).metadata;r.isComponent&&r.template.styleUrls.forEach(function(t){var e=i._host.resourceNameToFileName(t,a.fileName);if(!e)throw z("Couldn't resolve resource "+t+" relative to "+a.fileName);var n=(r.template.encapsulation||i._config.defaultEncapsulation)===v.Emulated;o.push(Pu(e,n,s)),i._options.allowEmptyCodegenFiles&&o.push(Pu(e,!n,s))})}),o},t.prototype.emitBasicStub=function(t,e){var r=this._createOutputContext(t);if(t.endsWith(".ngfactory.ts")){if(!e)throw new Error("Assertion error: require the original file for .ngfactory.ts stubs. File: "+t);var n=this._analyzeFile(e);this._createNgFactoryStub(r,n,Su.Basic)}else if(t.endsWith(".ngsummary.ts")){if(this._options.enableSummariesForJit){if(!e)throw new Error("Assertion error: require the original file for .ngsummary.ts stubs. File: "+t);n=this._analyzeFile(e);ku(r),n.ngModules.forEach(function(t){var e,n;e=r,n=t.type.reference,bu(e,n,Va)})}}else t.endsWith(".ngstyle.ts")&&ku(r);return this._codegenSourceModule("unknown",r)},t.prototype.emitTypeCheckStub=function(t,e){var n=this._analyzeFile(e),r=this._createOutputContext(t);return t.endsWith(".ngfactory.ts")&&this._createNgFactoryStub(r,n,Su.TypeCheck),0<r.statements.length?this._codegenSourceModule(n.fileName,r):null},t.prototype.loadFilesAsync=function(t){var e=this,n=t.map(function(t){return e._analyzeFile(t)}),r=[];return n.forEach(function(t){return t.ngModules.forEach(function(t){return r.push(e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1))})}),Promise.all(r).then(function(t){return Ru(n)})},t.prototype.loadFilesSync=function(t){var e=this,n=t.map(function(t){return e._analyzeFile(t)});return n.forEach(function(t){return t.ngModules.forEach(function(t){return e._metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!0)})}),Ru(n)},t.prototype._createNgFactoryStub=function(o,t,e){var a=this,s=0;t.ngModules.forEach(function(n,r){a._ngModuleCompiler.createStub(o,n.type.reference);var t=n.transitiveModule.directives.map(function(t){return t.reference}).concat(n.transitiveModule.pipes.map(function(t){return t.reference}),n.importedModules.map(function(t){return t.type.reference}),n.exportedModules.map(function(t){return t.type.reference}),a._externalIdentifierReferences([jo.TemplateRef,jo.ElementRef])),i=new Map;t.forEach(function(t,e){i.set(t,"_decl"+r+"_"+e)}),i.forEach(function(t,e){o.statements.push(cs(t).set(Va.cast(sa)).toDeclStmt(ds(o.importExpr(e,null,!1))))}),e&Su.TypeCheck&&n.declaredDirectives.forEach(function(t){var e=a._metadataResolver.getDirectiveMetadata(t.reference);e.isComponent&&(s++,a._createTypeCheckBlock(o,e.type.reference.name+"_Host_"+s,n,a._metadataResolver.getHostComponentMetadata(e),[e.type],i),a._createTypeCheckBlock(o,e.type.reference.name+"_"+s,n,e,n.transitiveModule.directives,i))})}),0===o.statements.length&&ku(o)},t.prototype._externalIdentifierReferences=function(t){for(var e=[],n=0,r=t;n<r.length;n++){var i=r[n],o=Vo(this._reflector,i);o.identifier&&e.push(o.identifier.reference)}return e},t.prototype._createTypeCheckBlock=function(t,e,n,r,i,o){var a,s=this._parseTemplate(r,n,i),l=s.template,c=s.pipes;(a=t.statements).push.apply(a,this._typeCheckCompiler.compileComponent(e,r,l,c,o,t))},t.prototype.emitMessageBundle=function(t,e){var i=this,o=[],n=new bo,a=new cu(n,[],{},e);if(t.files.forEach(function(r){var n=[];r.directives.forEach(function(t){var e=i._metadataResolver.getDirectiveMetadata(t);e&&e.isComponent&&n.push(e)}),n.forEach(function(t){var e=t.template.template,n=ae.fromArray(t.template.interpolation);o.push.apply(o,a.updateFromTemplate(e,r.fileName,n))})}),o.length)throw new Error(o.map(function(t){return t.toString()}).join("\n"));return a},t.prototype.emitAllImpls=function(t){var e=this,n=t.ngModuleByPipeOrDirective;return Ht(t.files.map(function(t){return e._compileImplFile(t.fileName,n,t.directives,t.pipes,t.ngModules,t.injectables)}))},t.prototype._compileImplFile=function(i,o,t,e,n,r){var a=this,s=Do(Ao(i,!0)[1]),l=[],c=this._createOutputContext(Oo(i,!0));if(l.push.apply(l,this._createSummary(i,t,e,n,r,c)),n.forEach(function(t){return a._compileModule(c,t)}),t.forEach(function(t){var n=a._metadataResolver.getDirectiveMetadata(t);if(n.isComponent){var e=o.get(t);if(!e)throw new Error("Internal Error: cannot determine the module for component "+Et(n.type)+"!");var r=a._styleCompiler.compileComponent(c,n);n.template.externalStylesheets.forEach(function(t){var e=a._styleCompiler.needsStyleShim(n);l.push(a._codegenStyles(i,n,t,e,s)),a._options.allowEmptyCodegenFiles&&l.push(a._codegenStyles(i,n,t,!e,s))});a._compileComponent(c,n,e,e.transitiveModule.directives,r,s);a._compileComponentFactory(c,n,e,s)}}),0<c.statements.length||this._options.allowEmptyCodegenFiles){var u=this._codegenSourceModule(i,c);l.unshift(u)}return l},t.prototype._createSummary=function(t,e,n,r,i,o){var a=this,s=this._symbolResolver.getSymbolsOf(t).map(function(t){return a._symbolResolver.resolveSymbol(t)}),l=r.map(function(t){return{summary:a._metadataResolver.getNgModuleSummary(t.type.reference),metadata:a._metadataResolver.getNgModuleMetadata(t.type.reference)}}).concat(e.map(function(t){return{summary:a._metadataResolver.getDirectiveSummary(t),metadata:a._metadataResolver.getDirectiveMetadata(t)}}),n.map(function(t){return{summary:a._metadataResolver.getPipeSummary(t),metadata:a._metadataResolver.getPipeMetadata(t)}}),i.map(function(t){return{summary:a._metadataResolver.getInjectableSummary(t),metadata:a._metadataResolver.getInjectableSummary(t).type}})),c=this._options.enableSummariesForJit?this._createOutputContext(Mo(t,!0)):null,u=function(t,e,n,r,i,o){var a=new _u(r,n,t);i.forEach(function(t){return a.addSummary({symbol:t.symbol,metadata:t.metadata})}),o.forEach(function(t){var e=t.summary;t.metadata,a.addSummary({symbol:e.type.reference,metadata:void 0,type:e})});var s=a.serialize(),l=s.json,c=s.exportAs;if(e){var u=new wu(e,r,n);o.forEach(function(t){var e=t.summary,n=t.metadata;u.addSourceType(e,n)}),a.unprocessedSymbolSummariesBySymbol.forEach(function(t){n.isLibraryFile(t.symbol.filePath)&&t.type&&u.addLibType(t.type)}),u.serialize(c)}return{json:l,exportAs:c}}(t,c,this._summaryResolver,this._symbolResolver,s,l),p=u.json;u.exportAs.forEach(function(t){o.statements.push(cs(t.exportAs).set(o.importExpr(t.symbol)).toDeclStmt(null,[Ua.Exported]))});var d=[new pu(t,To(t),p)];return c&&d.push(this._codegenSourceModule(t,c)),d},t.prototype._compileModule=function(t,e){var n=[];if(this._options.locale){var r=this._options.locale.replace(/_/g,"-");n.push({token:Vo(this._reflector,jo.LOCALE_ID),useValue:r})}this._options.i18nFormat&&n.push({token:Vo(this._reflector,jo.TRANSLATIONS_FORMAT),useValue:this._options.i18nFormat}),this._ngModuleCompiler.compile(t,e,n)},t.prototype._compileComponentFactory=function(t,e,n,r){var i=this._metadataResolver.getHostComponentMetadata(e),o=this._compileComponent(t,i,n,[e.type],null,r).viewClassVar,a=Dt(e.type.reference),s=[];for(var l in e.inputs){var c=e.inputs[l];s.push(new La(l,gs(c),!1))}var u=[];for(var l in e.outputs){c=e.outputs[l];u.push(new La(l,gs(c),!1))}t.statements.push(cs(a).set(us(jo.createComponentFactory).callFn([gs(e.selector),t.importExpr(e.type.reference),cs(o),new ja(s),new ja(u),hs(e.template.ngContentSelectors.map(function(t){return gs(t)}))])).toDeclStmt(ps(jo.ComponentFactory,[ds(t.importExpr(e.type.reference))],[ta.Const]),[Ua.Final,Ua.Exported]))},t.prototype._compileComponent=function(t,e,n,r,i,o){var a=this._parseTemplate(e,n,r),s=a.template,l=a.pipes,c=i?cs(i.stylesVar):hs([]),u=this._viewCompiler.compileComponent(t,e,s,c,l);return i&&Ou(this._symbolResolver,i,this._styleCompiler.needsStyleShim(e),o),u},t.prototype._parseTemplate=function(t,e,n){var r=this;if(this._templateAstCache.has(t.type.reference))return this._templateAstCache.get(t.type.reference);var i=t.template.preserveWhitespaces,o=n.map(function(t){return r._metadataResolver.getDirectiveSummary(t.reference)}),a=e.transitiveModule.pipes.map(function(t){return r._metadataResolver.getPipeSummary(t.reference)}),s=this._templateParser.parse(t,t.template.htmlAst,o,a,e.schemas,Gt(e.type,t,t.template),i);return this._templateAstCache.set(t.type.reference,s),s},t.prototype._createOutputContext=function(h){var f=this;return{statements:[],genFilePath:h,importExpr:function(t,e,n){if(void 0===e&&(e=null),void 0===n&&(n=!0),!(t instanceof _t))throw new Error("Internal error: unknown identifier "+JSON.stringify(t));var r=f._symbolResolver.getTypeArity(t)||0,i=f._symbolResolver.getImportAs(t,n)||t,o=i.filePath,a=i.name,s=i.members,l=f._fileNameToModuleName(o,h),c=l===f._fileNameToModuleName(h,h)?null:l,u=e||[],p=r-u.length,d=u.concat(new Array(p).fill(sa));return s.reduce(function(t,e){return t.prop(e)},us(new Ea(c,a,null),d))}}},t.prototype._fileNameToModuleName=function(t,e){return this._summaryResolver.getKnownModuleName(t)||this._symbolResolver.getKnownModuleName(t)||this._host.fileNameToModuleName(t,e)},t.prototype._codegenStyles=function(t,e,n,r,i){var o=this._createOutputContext(Pu(n.moduleUrl,r,i)),a=this._styleCompiler.compileStyles(o,e,n,r);return Ou(this._symbolResolver,a,r,i),this._codegenSourceModule(t,o)},t.prototype._codegenSourceModule=function(t,e){return new pu(t,e.genFilePath,e.statements)},t.prototype.listLazyRoutes=function(t,e){var l=this;if(t)return function t(e,n,r){void 0===n&&(n=new Set);void 0===r&&(r=[]);if(n.has(e)||!e.name)return r;n.add(e);var i=du(l._metadataResolver.getNgModuleMetadata(e,!0),l._reflector);for(var o=0,a=i;o<a.length;o++){var s=a[o];r.push(s),t(s.referencedModule,n,r)}return r}(fu(t,this._reflector).referencedModule);if(e){for(var n=[],r=0,i=e.ngModules;r<i.length;r++)for(var o=0,a=du(i[r],this._reflector);o<a.length;o++){var s=a[o];n.push(s)}return n}throw new Error("Either route or analyzedModules has to be specified!")},t}();function ku(t){t.statements.push(us(jo.ComponentFactory).toStmt())}function Ou(e,t,n,r){t.dependencies.forEach(function(t){t.setValue(e.getStaticSymbol(Pu(t.moduleUrl,n,r),t.name))})}function Pu(t,e,n){return t+(e?".shim":"")+".ngstyle"+n}function Au(t,e,n,r){var i,o,a,s,l,c,u;return Iu((i=t,o=e,a=n,s=r,l=new Set,c=[],u=function(t){if(l.has(t)||!o.isSourceFile(t))return!1;l.add(t);var e=Mu(o,a,s,t);c.push(e),e.ngModules.forEach(function(t){t.transitiveModule.modules.forEach(function(t){return u(t.reference.filePath)})})},i.forEach(function(t){return u(t)}),c))}function Du(t,e,n,r){return Tu(Au(t,e,n,r))}function Tu(t){if(t.symbolsMissingModule&&t.symbolsMissingModule.length)throw z(t.symbolsMissingModule.map(function(t){return"Cannot determine the module for class "+t.name+" in "+t.filePath+"! Add "+t.name+" to the NgModule to fix it."}).join("\n"));return t}function Mu(l,c,u,t){var p=[],d=[],h=[],f=[],e=c.hasDecorators(t),m=!1;return t.endsWith(".d.ts")&&!e||c.getSymbolsOf(t).forEach(function(t){var e=c.resolveSymbol(t).metadata;if(e&&"error"!==e.__symbolic){var n,r,i,o,a=!1;if("class"===e.__symbolic)if(u.isDirective(t))a=!0,p.push(t);else if(u.isPipe(t))a=!0,d.push(t);else if(u.isNgModule(t)){var s=u.getNgModuleMetadata(t,!1);s&&(a=!0,f.push(s))}else u.isInjectable(t)&&(a=!0,h.push(t));a||(m=m||(n=l,r=e,i=!1,o=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;t.forEach(function(t){return L(t,n,e)})},t.prototype.visitStringMap=function(e,n){var r=this;Object.keys(e).forEach(function(t){return L(e[t],r,n)})},t.prototype.visitPrimitive=function(t,e){},t.prototype.visitOther=function(t,e){t instanceof _t&&!n.isSourceFile(t.filePath)&&(i=!0)},t}(),L(r,new o,null),i))}}),{fileName:t,directives:p,pipes:d,ngModules:f,injectables:h,exportsNonSourceFiles:m}}function Iu(t){var n=[],r=new Map,e=new Set;t.forEach(function(t){t.ngModules.forEach(function(e){n.push(e),e.declaredDirectives.forEach(function(t){return r.set(t.reference,e)}),e.declaredPipes.forEach(function(t){return r.set(t.reference,e)})}),t.directives.forEach(function(t){return e.add(t)}),t.pipes.forEach(function(t){return e.add(t)})});var i=[];return e.forEach(function(t){r.has(t)||i.push(t)}),{ngModules:n,ngModuleByPipeOrDirective:r,symbolsMissingModule:i,files:t}}function Ru(t){return Tu(Iu(t))}var Nu="ngFormattedMessage";function Lu(t,e){if(void 0===e&&(e=0),!t)return"";var n=t.position?t.position.fileName+"("+(t.position.line+1)+","+(t.position.column+1)+")":"",r=n&&0!==e?" at "+n:"",i=""+(n&&0===e?n+": ":"")+t.message+r;return""+function t(e){if(e<=0)return"";if(e<6)return[""," "," "," "," "," "][e];var n=t(Math.floor(e/2));return n+n+(e%2==1?" ":"")}(e)+i+(t.next&&"\n"+Lu(t.next,e+2)||"")}function ju(t){var e=z(Lu(t)+".");return e[Nu]=!0,e.chain=t,e.position=t.position,e}var Fu="@angular/core",Vu=/^\$.*\$$/,Bu={__symbolic:"ignore"},Uu="useValue",Hu="provide",zu=new Set([Uu,"useFactory","data"]);function Gu(t){return t&&"ignore"==t.__symbolic}var Wu=function(){function t(t,e,n,r,i){void 0===n&&(n=[]),void 0===r&&(r=[]);var o=this;this.summaryResolver=t,this.symbolResolver=e,this.errorRecorder=i,this.annotationCache=new Map,this.propertyCache=new Map,this.parameterCache=new Map,this.methodCache=new Map,this.staticCache=new Map,this.conversionMap=new Map,this.resolvedExternalReferences=new Map,this.annotationForParentClassWithSummaryKind=new Map,this.initializeConversionMap(),n.forEach(function(t){return o._registerDecoratorOrConstructor(o.getStaticSymbol(t.filePath,t.name),t.ctor)}),r.forEach(function(t){return o._registerFunction(o.getStaticSymbol(t.filePath,t.name),t.fn)}),this.annotationForParentClassWithSummaryKind.set(Tt.Directive,[d,g]),this.annotationForParentClassWithSummaryKind.set(Tt.Pipe,[a]),this.annotationForParentClassWithSummaryKind.set(Tt.NgModule,[s]),this.annotationForParentClassWithSummaryKind.set(Tt.Injectable,[S,a,d,g,s])}return t.prototype.componentModuleUrl=function(t){var e=this.findSymbolDeclaration(t);return this.symbolResolver.getResourcePath(e)},t.prototype.resolveExternalReference=function(t,e){var n=void 0;if(!e){n=t.moduleName+":"+t.name;var r=this.resolvedExternalReferences.get(n);if(r)return r}var i=this.symbolResolver.getSymbolByModule(t.moduleName,t.name,e),o=this.findSymbolDeclaration(i);return e||(this.symbolResolver.recordModuleNameForFileName(i.filePath,t.moduleName),this.symbolResolver.recordImportAs(o,i)),n&&this.resolvedExternalReferences.set(n,o),o},t.prototype.findDeclaration=function(t,e,n){return this.findSymbolDeclaration(this.symbolResolver.getSymbolByModule(t,e,n))},t.prototype.tryFindDeclaration=function(t,e){var n=this;return this.symbolResolver.ignoreErrorsFor(function(){return n.findDeclaration(t,e)})},t.prototype.findSymbolDeclaration=function(t){var e=this.symbolResolver.resolveSymbol(t);if(e){var n=e.metadata;if(n&&"resolved"===n.__symbolic&&(n=n.symbol),n instanceof _t)return this.findSymbolDeclaration(e.metadata)}return t},t.prototype.annotations=function(t){var e=this.annotationCache.get(t);if(!e){e=[];var n=this.getTypeMetadata(t),r=this.findParentType(t,n);if(r){var i=this.annotations(r);e.push.apply(e,i)}var o=[];if(n.decorators&&(o=this.simplify(t,n.decorators),e.push.apply(e,o)),r&&!this.summaryResolver.isLibraryFile(t.filePath)&&this.summaryResolver.isLibraryFile(r.filePath)){var a=this.summaryResolver.resolveSummary(r);if(a&&a.type){var s=this.annotationForParentClassWithSummaryKind.get(a.type.summaryKind);s.some(function(e){return o.some(function(t){return e.isTypeOf(t)})})||this.reportError(ap(Yu("Class "+t.name+" in "+t.filePath+" extends from a "+Tt[a.type.summaryKind]+" in another compilation unit without duplicating the decorator",void 0,"Please add a "+s.map(function(t){return t.ngMetadataName}).join(" or ")+" decorator to the class"),t),t)}}this.annotationCache.set(t,e.filter(function(t){return!!t}))}return e},t.prototype.propMetadata=function(r){var i=this,o=this.propertyCache.get(r);if(!o){var t=this.getTypeMetadata(r);o={};var e=this.findParentType(r,t);if(e){var n=this.propMetadata(e);Object.keys(n).forEach(function(t){o[t]=n[t]})}var a=t.members||{};Object.keys(a).forEach(function(t){var e=a[t].find(function(t){return"property"==t.__symbolic||"method"==t.__symbolic}),n=[];o[t]&&n.push.apply(n,o[t]),o[t]=n,e&&e.decorators&&n.push.apply(n,i.simplify(r,e.decorators))}),this.propertyCache.set(r,o)}return o},t.prototype.parameters=function(o){var a=this;if(!(o instanceof _t))return this.reportError(new Error("parameters received "+JSON.stringify(o)+" which is not a StaticSymbol"),o),[];try{var s=this.parameterCache.get(o);if(!s){var t=this.getTypeMetadata(o),e=this.findParentType(o,t),n=t?t.members:null,r=n?n.__ctor__:null;if(r){var i=r.find(function(t){return"constructor"==t.__symbolic}),l=i.parameters||[],c=this.simplify(o,i.parameterDecorators||[]);s=[],l.forEach(function(t,e){var n=[],r=a.trySimplify(o,t);r&&n.push(r);var i=c?c[e]:null;i&&n.push.apply(n,i),s.push(n)})}else e&&(s=this.parameters(e));s||(s=[]),this.parameterCache.set(o,s)}return s}catch(t){throw console.error("Failed on type "+JSON.stringify(o)+" with error "+t),t}},t.prototype._methodNames=function(t){var n=this.methodCache.get(t);if(!n){var e=this.getTypeMetadata(t);n={};var r=this.findParentType(t,e);if(r){var i=this._methodNames(r);Object.keys(i).forEach(function(t){n[t]=i[t]})}var o=e.members||{};Object.keys(o).forEach(function(t){var e=o[t].some(function(t){return"method"==t.__symbolic});n[t]=n[t]||e}),this.methodCache.set(t,n)}return n},t.prototype._staticMembers=function(t){var e=this.staticCache.get(t);if(!e){var n=this.getTypeMetadata(t).statics||{};e=Object.keys(n),this.staticCache.set(t,e)}return e},t.prototype.findParentType=function(t,e){var n=this.trySimplify(t,e.extends);if(n instanceof _t)return n},t.prototype.hasLifecycleHook=function(e,t){e instanceof _t||this.reportError(new Error("hasLifecycleHook received "+JSON.stringify(e)+" which is not a StaticSymbol"),e);try{return!!this._methodNames(e)[t]}catch(t){throw console.error("Failed on type "+JSON.stringify(e)+" with error "+t),t}},t.prototype.guards=function(t){if(!(t instanceof _t))return this.reportError(new Error("guards received "+JSON.stringify(t)+" which is not a StaticSymbol"),t),{};for(var e={},n=0,r=this._staticMembers(t);n<r.length;n++){var i=r[n];if(i.endsWith("TypeGuard")){var o=i.substr(0,i.length-"TypeGuard".length),a=void 0;o.endsWith("UseIf")?(o=i.substr(0,o.length-"UseIf".length),a="UseIf"):a=this.getStaticSymbol(t.filePath,t.name,[i]),e[o]=a}}return e},t.prototype._registerDecoratorOrConstructor=function(t,n){this.conversionMap.set(t,function(t,e){return new(n.bind.apply(n,[void 0].concat(e)))})},t.prototype._registerFunction=function(t,n){this.conversionMap.set(t,function(t,e){return n.apply(void 0,e)})},t.prototype.initializeConversionMap=function(){this.injectionToken=this.findDeclaration(Fu,"InjectionToken"),this.opaqueToken=this.findDeclaration(Fu,"OpaqueToken"),this.ROUTES=this.tryFindDeclaration("@angular/router","ROUTES"),this.ANALYZE_FOR_ENTRY_COMPONENTS=this.findDeclaration(Fu,"ANALYZE_FOR_ENTRY_COMPONENTS"),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Host"),O),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Injectable"),S),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Self"),E),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"SkipSelf"),k),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Inject"),c),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Optional"),x),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Attribute"),p),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"ContentChild"),n),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"ContentChildren"),e),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"ViewChild"),o),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"ViewChildren"),i),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Input"),y),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Output"),b),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Pipe"),a),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"HostBinding"),_),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"HostListener"),w),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Directive"),d),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Component"),g),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"NgModule"),s),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Host"),O),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Self"),E),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"SkipSelf"),k),this._registerDecoratorOrConstructor(this.findDeclaration(Fu,"Optional"),x)},t.prototype.getStaticSymbol=function(t,e,n){return this.symbolResolver.getStaticSymbol(t,e,n)},t.prototype.trySimplify=function(t,e){var n=this.errorRecorder;this.errorRecorder=function(t,e){};var r=this.simplify(t,e);return this.errorRecorder=n,r},t.prototype.simplify=function(e,t){var n,N=this,L=rp.empty,j=new Map;try{n=function O(P,t,A,D){function T(t){var e=N.symbolResolver.resolveSymbol(t);return e?e.metadata:null}function M(t){return O(P,t,A,0)}function I(e,t){if(e===P)return O(e,t,A+1,D);try{return O(e,t,A+1,D)}catch(t){if(!$u(t))throw t;var n=t.chain?"references '"+t.symbol.name+"'":function(t){if(t.summary)return t.summary;switch(t.message){case Ku:if(t.context&&t.context.className)return"references non-exported class "+t.context.className;break;case Qu:return"is not initialized";case Xu:return"is a destructured variable";case Zu:return"could not be resolved";case Ju:return t.context&&t.context.name?"calls '"+t.context.name+"'":"calls a function";case tp:return t.context&&t.context.name?"references local variable "+t.context.name:"references a local variable"}return"contains the error"}(t),r={message:"'"+e.name+"' "+n,position:t.position,next:t.chain};N.error({message:t.message,advise:t.advise,context:t.context,chain:r,symbol:e},P)}}function R(r){if(np(r))return r;if(r instanceof Array){for(var t=[],e=0,n=r;e<n.length;e++){var i=n[e];if(i&&"spread"===i.__symbolic){var o=M(i.expression);if(Array.isArray(o)){for(var a=0,s=o;a<s.length;a++){var l=s[a];t.push(l)}continue}}var c=R(i);Gu(c)||t.push(c)}return t}if(r instanceof _t)return r===N.injectionToken||N.conversionMap.has(r)||0<D&&!r.members.length?r:null!=(b=T(u=r))?I(u,b):u;if(r){if(r.__symbolic){var u=void 0;switch(r.__symbolic){case"binop":var p=R(r.left);if(Gu(p))return p;var d=R(r.right);if(Gu(d))return d;switch(r.operator){case"&&":return p&&d;case"||":return p||d;case"|":return p|d;case"^":return p^d;case"&":return p&d;case"==":return p==d;case"!=":return p!=d;case"===":return p===d;case"!==":return p!==d;case"<":return p<d;case">":return d<p;case"<=":return p<=d;case">=":return d<=p;case"<<":return p<<d;case">>":return p>>d;case"+":return p+d;case"-":return p-d;case"*":return p*d;case"/":return p/d;case"%":return p%d}return null;case"if":return R(R(r.condition)?r.thenExpression:r.elseExpression);case"pre":var h=R(r.operand);if(Gu(h))return h;switch(r.operator){case"+":return h;case"-":return-h;case"!":return!h;case"~":return~h}return null;case"index":var f=M(r.expression),m=M(r.index);return f&&np(m)?f[m]:null;case"select":var g=r.member,y=P,v=R(r.expression);if(v instanceof _t){var b,_=v.members.concat(g);return null!=(b=T(y=N.getStaticSymbol(v.filePath,v.name,_)))?I(y,b):y}return v&&np(g)?I(y,v[g]):null;case"reference":var w=r.name,C=L.resolve(w);if(C!=rp.missing)return C;break;case"resolved":try{return R(r.symbol)}catch(t){throw $u(t)&&null!=r.fileName&&null!=r.line&&null!=r.character&&(t.position={fileName:r.fileName,line:r.line,column:r.character}),t}case"class":case"function":return P;case"new":case"call":if((u=O(P,r.expression,A+1,0))instanceof _t){if(u===N.injectionToken||u===N.opaqueToken)return P;var x=r.arguments||[],S=N.conversionMap.get(u);if(S){var E=x.map(function(t){return I(P,t)}).map(function(t){return Gu(t)?void 0:t});return S(P,E)}return function(t,e,n,r){if(e&&"function"==e.__symbolic){j.get(t)&&N.error({message:"Recursion is not supported",summary:"called '"+t.name+"' recursively",value:e},t);try{var i=e.value;if(i&&(0!=A||"error"!=i.__symbolic)){var o=e.parameters,a=e.defaults;n=n.map(function(t){return I(P,t)}).map(function(t){return Gu(t)?void 0:t}),a&&a.length>n.length&&n.push.apply(n,a.slice(n.length).map(function(t){return R(t)})),j.set(t,!0);for(var s=rp.build(),l=0;l<o.length;l++)s.define(o[l],n[l]);var c,u=L;try{L=s.done(),c=I(t,i)}finally{L=u}return c}}finally{j.delete(t)}}if(0===A)return Bu;var p=void 0;if(r&&"resolved"==r.__symbolic){var d=r.line,h=r.character,f=r.fileName;null!=f&&null!=d&&null!=h&&(p={fileName:f,line:d,column:h})}N.error({message:Ju,context:t,value:e,position:p},P)}(u,T(u),x,r.expression)}return Bu;case"error":var k=r.message;return null!=r.line?N.error({message:k,context:r.context,value:r,position:{fileName:r.fileName,line:r.line,column:r.character}},P):N.error({message:k,context:r.context},P),Bu;case"ignore":return r}return null}return function(n,r){if(!n)return{};var i={};return Object.keys(n).forEach(function(t){var e=r(n[t],t);Gu(e)||(Vu.test(t)?Object.defineProperty(i,t,{enumerable:!1,configurable:!0,value:e}):i[t]=e)}),i}(r,function(t,e){if(zu.has(e)){if(e===Uu&&Hu in r){var n=R(r.provide);if(n===N.ROUTES||n==N.ANALYZE_FOR_ENTRY_COMPONENTS)return R(t)}return O(P,t,A,D+1)}return R(t)})}return Bu}return R(t)}(e,t,0,0)}catch(t){if(!this.errorRecorder)throw ap(t,e);this.reportError(t,e)}if(!Gu(n))return n},t.prototype.getTypeMetadata=function(t){var e=this.symbolResolver.resolveSymbol(t);return e&&e.metadata?e.metadata:{__symbolic:"class"}},t.prototype.reportError=function(t,e,n){if(!this.errorRecorder)throw t;this.errorRecorder(ap(t,e),e&&e.filePath||n)},t.prototype.error=function(t,e){var n=t.message,r=t.summary,i=t.advise,o=t.position,a=t.context,s=(t.value,t.symbol),l=t.chain;this.reportError(Yu(n,r,i,o,s,a,l),e)},t}(),qu="ngMetadataError";function Yu(t,e,n,r,i,o,a){var s=z(t);return s[qu]=!0,n&&(s.advise=n),r&&(s.position=r),e&&(s.summary=e),o&&(s.context=o),a&&(s.chain=a),i&&(s.symbol=i),s}function $u(t){return!!t[qu]}var Ku="Reference to non-exported class",Qu="Variable not initialized",Xu="Destructuring not supported",Zu="Could not resolve type",Ju="Function call not supported",tp="Reference to a local symbol",ep="Lambda not supported";function np(t){return null===t||"function"!=typeof t&&"object"!=typeof t}var rp=function(){function e(){}return e.build=function(){var n=new Map;return{define:function(t,e){return n.set(t,e),this},done:function(){return 0<n.size?new ip(n):e.empty}}},e.missing={},e.empty={resolve:function(t){return e.missing}},e}(),ip=function(n){function t(t){var e=n.call(this)||this;return e.bindings=t,e}return f(t,n),t.prototype.resolve=function(t){return this.bindings.has(t)?this.bindings.get(t):rp.missing},t}(rp);function op(t,e){return{message:""+function(t,e){switch(t){case Ku:if(e&&e.className)return"References to a non-exported class are not supported in decorators but "+e.className+" was referenced.";break;case Qu:return"Only initialized variables and constants can be referenced in decorators because the value of this variable is needed by the template compiler";case Xu:return"Referencing an exported destructured variable or constant is not supported in decorators and this value is needed by the template compiler";case Zu:if(e&&e.typeName)return"Could not resolve type "+e.typeName;break;case Ju:return e&&e.name?"Function calls are not supported in decorators but '"+e.name+"' was called":"Function calls are not supported in decorators";case tp:if(e&&e.name)return"Reference to a local (non-exported) symbols are not supported in decorators but '"+e.name+"' was referenced";break;case ep:return"Function expressions are not supported in decorators"}return t}(t.message,t.context)+(t.symbol?" in '"+t.symbol.name+"'":""),position:t.position,next:t.next?op(t.next,e):e?{message:e}:void 0}}function ap(t,e){if($u(t)){var n=t.position;return ju(op({message:"Error during template compile of '"+e.name+"'",position:n,next:{message:t.message,next:t.chain,context:t.context,symbol:t.symbol}},t.advise||function(t,e){switch(t){case Ku:if(e&&e.className)return"Consider exporting '"+e.className+"'";break;case Xu:return"Consider simplifying to avoid destructuring";case tp:if(e&&e.name)return"Consider exporting '"+e.name+"'";break;case ep:return"Consider changing the function expression into an exported function"}}(t.message,t.context)))}return t}var sp=function(){function t(t,e){this.host=t,this.staticSymbolCache=e,this.summaryCache=new Map,this.loadedFilePaths=new Map,this.importAs=new Map,this.knownFileNameToModuleNames=new Map}return t.prototype.isLibraryFile=function(t){return!this.host.isSourceFile(Po(t))},t.prototype.toSummaryFileName=function(t,e){return this.host.toSummaryFileName(t,e)},t.prototype.fromSummaryFileName=function(t,e){return this.host.fromSummaryFileName(t,e)},t.prototype.resolveSummary=function(t){var e=t.members.length?this.staticSymbolCache.get(t.filePath,t.name):t,n=this.summaryCache.get(e);return n||(this._loadSummaryFile(t.filePath),n=this.summaryCache.get(t)),e===t&&n||null},t.prototype.getSymbolsOf=function(e){return this._loadSummaryFile(e)?Array.from(this.summaryCache.keys()).filter(function(t){return t.filePath===e}):null},t.prototype.getImportAs=function(t){return t.assertNoMembers(),this.importAs.get(t)},t.prototype.getKnownModuleName=function(t){return this.knownFileNameToModuleNames.get(t)||null},t.prototype.addSummary=function(t){this.summaryCache.set(t.symbol,t)},t.prototype._loadSummaryFile=function(t){var e=this,n=this.loadedFilePaths.get(t);if(null!=n)return n;var r,i,o,a=null;if(this.isLibraryFile(t)){var s=To(t);try{a=this.host.loadSummary(s)}catch(t){throw console.error("Error loading summary file "+s),t}}if(n=null!=a,this.loadedFilePaths.set(t,n),a){var l=(r=this.staticSymbolCache,i=t,o=a,new Cu(r,this).deserialize(i,o)),c=l.moduleName,u=l.summaries,p=l.importAs;u.forEach(function(t){return e.summaryCache.set(t.symbol,t)}),c&&this.knownFileNameToModuleNames.set(t,c),p.forEach(function(t){e.importAs.set(t.symbol,t.importAs)})}return n},t}();function lp(r){return{resolve:function(t,e){var n=r.resourceNameToFileName(e,t);if(!n)throw z("Couldn't resolve resource "+e+" from "+t);return n}}}var cp=function(){},up=function(){function t(){this._summaries=new Map}return t.prototype.isLibraryFile=function(){return!1},t.prototype.toSummaryFileName=function(t){return t},t.prototype.fromSummaryFileName=function(t){return t},t.prototype.resolveSummary=function(t){return this._summaries.get(t)||null},t.prototype.getSymbolsOf=function(){return[]},t.prototype.getImportAs=function(t){return t},t.prototype.getKnownModuleName=function(t){return null},t.prototype.addSummary=function(t){this._summaries.set(t.symbol,t)},t}();function pp(t,e,n,r,i){for(var o=r.createChildWihtLocalVars(),a=0;a<t.length;a++)o.vars.set(t[a],e[a]);var s=i.visitAllStatements(n,o);return s?s.value:null}var dp=function(){function t(t,e,n,r){this.parent=t,this.instance=e,this.className=n,this.vars=r,this.exports=[]}return t.prototype.createChildWihtLocalVars=function(){return new t(this,this.instance,this.className,new Map)},t}(),hp=function(t){this.value=t};var fp=function(){function t(t){this.reflector=t}return t.prototype.debugAst=function(t){return Xs(t)},t.prototype.visitDeclareVarStmt=function(t,e){return e.vars.set(t.name,t.value.visitExpression(this,e)),t.hasModifier(Ua.Exported)&&e.exports.push(t.name),null},t.prototype.visitWriteVarExpr=function(t,e){for(var n=t.value.visitExpression(this,e),r=e;null!=r;){if(r.vars.has(t.name))return r.vars.set(t.name,n),n;r=r.parent}throw new Error("Not declared variable "+t.name)},t.prototype.visitReadVarExpr=function(t,e){var n=t.name;if(null!=t.builtin)switch(t.builtin){case fa.Super:return e.instance.__proto__;case fa.This:return e.instance;case fa.CatchError:n=gp;break;case fa.CatchStack:n=yp;break;default:throw new Error("Unknown builtin variable "+t.builtin)}for(var r=e;null!=r;){if(r.vars.has(n))return r.vars.get(n);r=r.parent}throw new Error("Not declared variable "+n)},t.prototype.visitWriteKeyExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.index.visitExpression(this,e),i=t.value.visitExpression(this,e);return n[r]=i},t.prototype.visitWritePropExpr=function(t,e){var n=t.receiver.visitExpression(this,e),r=t.value.visitExpression(this,e);return n[t.name]=r},t.prototype.visitInvokeMethodExpr=function(t,e){var n,r=t.receiver.visitExpression(this,e),i=this.visitAllExpressions(t.args,e);if(null!=t.builtin)switch(t.builtin){case ba.ConcatArray:n=r.concat.apply(r,i);break;case ba.SubscribeObservable:n=r.subscribe({next:i[0]});break;case ba.Bind:n=r.bind.apply(r,i);break;default:throw new Error("Unknown builtin method "+t.builtin)}else n=r[t.name].apply(r,i);return n},t.prototype.visitInvokeFunctionExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.fn;return r instanceof ma&&r.builtin===fa.Super?(e.instance.constructor.prototype.constructor.apply(e.instance,n),null):t.fn.visitExpression(this,e).apply(null,n)},t.prototype.visitReturnStmt=function(t,e){return new hp(t.value.visitExpression(this,e))},t.prototype.visitDeclareClassStmt=function(t,e){var n=function(o,a,s){var t={};o.getters.forEach(function(e){t[e.name]={configurable:!1,get:function(){var t=new dp(a,this,o.name,a.vars);return pp([],[],e.body,t,s)}}}),o.methods.forEach(function(r){var i=r.params.map(function(t){return t.name});t[r.name]={writable:!1,configurable:!1,value:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=new dp(a,this,o.name,a.vars);return pp(i,t,r.body,n,s)}}});var i=o.constructorMethod.params.map(function(t){return t.name}),e=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=new dp(a,this,o.name,a.vars);o.fields.forEach(function(t){e[t.name]=void 0}),pp(i,t,o.constructorMethod.body,r,s)},n=o.parent?o.parent.visitExpression(s,a):Object;return e.prototype=Object.create(n.prototype,t),e}(t,e,this);return e.vars.set(t.name,n),t.hasModifier(Ua.Exported)&&e.exports.push(t.name),null},t.prototype.visitExpressionStmt=function(t,e){return t.expr.visitExpression(this,e)},t.prototype.visitIfStmt=function(t,e){return t.condition.visitExpression(this,e)?this.visitAllStatements(t.trueCase,e):null!=t.falseCase?this.visitAllStatements(t.falseCase,e):null},t.prototype.visitTryCatchStmt=function(e,n){try{return this.visitAllStatements(e.bodyStmts,n)}catch(t){var r=n.createChildWihtLocalVars();return r.vars.set(gp,t),r.vars.set(yp,t.stack),this.visitAllStatements(e.catchStmts,r)}},t.prototype.visitThrowStmt=function(t,e){throw t.error.visitExpression(this,e)},t.prototype.visitCommentStmt=function(t,e){return null},t.prototype.visitInstantiateExpr=function(t,e){var n=this.visitAllExpressions(t.args,e),r=t.classExpr.visitExpression(this,e);return new(r.bind.apply(r,[void 0].concat(n)))},t.prototype.visitLiteralExpr=function(t,e){return t.value},t.prototype.visitExternalExpr=function(t,e){return this.reflector.resolveExternalReference(t.value)},t.prototype.visitConditionalExpr=function(t,e){return t.condition.visitExpression(this,e)?t.trueCase.visitExpression(this,e):null!=t.falseCase?t.falseCase.visitExpression(this,e):null},t.prototype.visitNotExpr=function(t,e){return!t.condition.visitExpression(this,e)},t.prototype.visitAssertNotNullExpr=function(t,e){return t.condition.visitExpression(this,e)},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e)},t.prototype.visitFunctionExpr=function(t,e){return mp(t.params.map(function(t){return t.name}),t.statements,e,this)},t.prototype.visitDeclareFunctionStmt=function(t,e){var n=t.params.map(function(t){return t.name});return e.vars.set(t.name,mp(n,t.statements,e,this)),t.hasModifier(Ua.Exported)&&e.exports.push(t.name),null},t.prototype.visitBinaryOperatorExpr=function(t,e){var n=this,r=function(){return t.lhs.visitExpression(n,e)},i=function(){return t.rhs.visitExpression(n,e)};switch(t.operator){case ua.Equals:return r()==i();case ua.Identical:return r()===i();case ua.NotEquals:return r()!=i();case ua.NotIdentical:return r()!==i();case ua.And:return r()&&i();case ua.Or:return r()||i();case ua.Plus:return r()+i();case ua.Minus:return r()-i();case ua.Divide:return r()/i();case ua.Multiply:return r()*i();case ua.Modulo:return r()%i();case ua.Lower:return r()<i();case ua.LowerEquals:return r()<=i();case ua.Bigger:return r()>i();case ua.BiggerEquals:return r()>=i();default:throw new Error("Unknown operator "+t.operator)}},t.prototype.visitReadPropExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.name]},t.prototype.visitReadKeyExpr=function(t,e){return t.receiver.visitExpression(this,e)[t.index.visitExpression(this,e)]},t.prototype.visitLiteralArrayExpr=function(t,e){return this.visitAllExpressions(t.entries,e)},t.prototype.visitLiteralMapExpr=function(t,e){var n=this,r={};return t.entries.forEach(function(t){return r[t.key]=t.value.visitExpression(n,e)}),r},t.prototype.visitCommaExpr=function(t,e){var n=this.visitAllExpressions(t.parts,e);return n[n.length-1]},t.prototype.visitAllExpressions=function(t,e){var n=this;return t.map(function(t){return t.visitExpression(n,e)})},t.prototype.visitAllStatements=function(t,e){for(var n=0;n<t.length;n++){var r=t[n].visitStatement(this,e);if(r instanceof hp)return r}return null},t}();function mp(n,r,i,o){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return pp(n,t,r,i,o)}}var gp="error",yp="stack";function vp(t,e,n,r){var i=new bp(n),o=Ys.createRoot();return i.visitAllStatements(e,o),i.createReturnStmt(o),function(t,e,n,r){var i=e.toSource()+"\n//# sourceURL="+t,o=[],a=[];for(var s in n)o.push(s),a.push(n[s]);if(r){var l=(new(Function.bind.apply(Function,[void 0].concat(o.concat("return null;"))))).toString(),c=l.slice(0,l.indexOf("return null;")).split("\n").length-1;i+="\n"+e.toSourceMapGenerator(t,c).toJsComment()}return(new(Function.bind.apply(Function,[void 0].concat(o.concat(i))))).apply(void 0,a)}(t,o,i.getArgs(),r)}var bp=function(n){function t(t){var e=n.call(this)||this;return e.reflector=t,e._evalArgNames=[],e._evalArgValues=[],e._evalExportedVars=[],e}return f(t,n),t.prototype.createReturnStmt=function(t){new qa(new ja(this._evalExportedVars.map(function(t){return new La(t,cs(t),!1)}))).visitStatement(this,t)},t.prototype.getArgs=function(){for(var t={},e=0;e<this._evalArgNames.length;e++)t[this._evalArgNames[e]]=this._evalArgValues[e];return t},t.prototype.visitExternalExpr=function(t,e){var n=this.reflector.resolveExternalReference(t.value),r=this._evalArgValues.indexOf(n);if(-1===r){r=this._evalArgValues.length,this._evalArgValues.push(n);var i=Et({reference:n})||"val";this._evalArgNames.push("jit_"+i+"_"+r)}return e.print(t,this._evalArgNames[r]),null},t.prototype.visitDeclareVarStmt=function(t,e){return t.hasModifier(Ua.Exported)&&this._evalExportedVars.push(t.name),n.prototype.visitDeclareVarStmt.call(this,t,e)},t.prototype.visitDeclareFunctionStmt=function(t,e){return t.hasModifier(Ua.Exported)&&this._evalExportedVars.push(t.name),n.prototype.visitDeclareFunctionStmt.call(this,t,e)},t.prototype.visitDeclareClassStmt=function(t,e){return t.hasModifier(Ua.Exported)&&this._evalExportedVars.push(t.name),n.prototype.visitDeclareClassStmt.call(this,t,e)},t}(function(r){function t(){return r.call(this,!1)||this}return f(t,r),t.prototype.visitDeclareClassStmt=function(e,n){var r=this;return n.pushClass(e),this._visitClassConstructor(e,n),null!=e.parent&&(n.print(e,e.name+".prototype = Object.create("),e.parent.visitExpression(this,n),n.println(e,".prototype);")),e.getters.forEach(function(t){return r._visitClassGetter(e,t,n)}),e.methods.forEach(function(t){return r._visitClassMethod(e,t,n)}),n.popClass(),null},t.prototype._visitClassConstructor=function(t,e){e.print(t,"function "+t.name+"("),null!=t.constructorMethod&&this._visitParams(t.constructorMethod.params,e),e.println(t,") {"),e.incIndent(),null!=t.constructorMethod&&0<t.constructorMethod.body.length&&(e.println(t,"var self = this;"),this.visitAllStatements(t.constructorMethod.body,e)),e.decIndent(),e.println(t,"}")},t.prototype._visitClassGetter=function(t,e,n){n.println(t,"Object.defineProperty("+t.name+".prototype, '"+e.name+"', { get: function() {"),n.incIndent(),0<e.body.length&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"}});")},t.prototype._visitClassMethod=function(t,e,n){n.print(t,t.name+".prototype."+e.name+" = function("),this._visitParams(e.params,n),n.println(t,") {"),n.incIndent(),0<e.body.length&&(n.println(t,"var self = this;"),this.visitAllStatements(e.body,n)),n.decIndent(),n.println(t,"};")},t.prototype.visitReadVarExpr=function(t,e){if(t.builtin===fa.This)e.print(t,"self");else{if(t.builtin===fa.Super)throw new Error("'super' needs to be handled at a parent ast node, not at the variable level!");r.prototype.visitReadVarExpr.call(this,t,e)}return null},t.prototype.visitDeclareVarStmt=function(t,e){return e.print(t,"var "+t.name+" = "),t.value.visitExpression(this,e),e.println(t,";"),null},t.prototype.visitCastExpr=function(t,e){return t.value.visitExpression(this,e),null},t.prototype.visitInvokeFunctionExpr=function(t,e){var n=t.fn;return n instanceof ma&&n.builtin===fa.Super?(e.currentClass.parent.visitExpression(this,e),e.print(t,".call(this"),0<t.args.length&&(e.print(t,", "),this.visitAllExpressions(t.args,e,",")),e.print(t,")")):r.prototype.visitInvokeFunctionExpr.call(this,t,e),null},t.prototype.visitFunctionExpr=function(t,e){return e.print(t,"function("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.print(t,"}"),null},t.prototype.visitDeclareFunctionStmt=function(t,e){return e.print(t,"function "+t.name+"("),this._visitParams(t.params,e),e.println(t,") {"),e.incIndent(),this.visitAllStatements(t.statements,e),e.decIndent(),e.println(t,"}"),null},t.prototype.visitTryCatchStmt=function(t,e){e.println(t,"try {"),e.incIndent(),this.visitAllStatements(t.bodyStmts,e),e.decIndent(),e.println(t,"} catch ("+Gs.name+") {"),e.incIndent();var n=[Ws.set(Gs.prop("stack")).toDeclStmt(null,[Ua.Final])].concat(t.catchStmts);return this.visitAllStatements(n,e),e.decIndent(),e.println(t,"}"),null},t.prototype._visitParams=function(t,e){this.visitAllObjects(function(t){return e.print(null,t.name)},t,e,",")},t.prototype.getBuiltinMethodName=function(t){var e;switch(t){case ba.ConcatArray:e="concat";break;case ba.SubscribeObservable:e="subscribe";break;case ba.Bind:e="bind";break;default:throw new Error("Unknown builtin method: "+t)}return e},t}($s)),_p=function(){function t(t,e,n,r,i,o,a,s,l,c){this._metadataResolver=t,this._templateParser=e,this._styleCompiler=n,this._viewCompiler=r,this._ngModuleCompiler=i,this._summaryResolver=o,this._reflector=a,this._compilerConfig=s,this._console=l,this.getExtraNgModuleProviders=c,this._compiledTemplateCache=new Map,this._compiledHostTemplateCache=new Map,this._compiledDirectiveWrapperCache=new Map,this._compiledNgModuleCache=new Map,this._sharedStylesheetCount=0,this._addedAotSummaries=new Set}return t.prototype.compileModuleSync=function(t){return B(this._compileModuleAndComponents(t,!0))},t.prototype.compileModuleAsync=function(t){return Promise.resolve(this._compileModuleAndComponents(t,!1))},t.prototype.compileModuleAndAllComponentsSync=function(t){return B(this._compileModuleAndAllComponents(t,!0))},t.prototype.compileModuleAndAllComponentsAsync=function(t){return Promise.resolve(this._compileModuleAndAllComponents(t,!1))},t.prototype.getComponentFactory=function(t){return this._metadataResolver.getDirectiveSummary(t).componentFactory},t.prototype.loadAotSummaries=function(t){this.clearCache(),this._addAotSummaries(t)},t.prototype._addAotSummaries=function(t){if(!this._addedAotSummaries.has(t)){this._addedAotSummaries.add(t);for(var e=t(),n=0;n<e.length;n++){var r=e[n];if("function"==typeof r)this._addAotSummaries(r);else{var i=r;this._summaryResolver.addSummary({symbol:i.type.reference,metadata:null,type:i})}}}},t.prototype.hasAotSummary=function(t){return!!this._summaryResolver.resolveSummary(t)},t.prototype._filterJitIdentifiers=function(t){var e=this;return t.map(function(t){return t.reference}).filter(function(t){return!e.hasAotSummary(t)})},t.prototype._compileModuleAndComponents=function(t,e){var n=this;return U(this._loadModules(t,e),function(){return n._compileComponents(t,null),n._compileModule(t)})},t.prototype._compileModuleAndAllComponents=function(e,t){var n=this;return U(this._loadModules(e,t),function(){var t=[];return n._compileComponents(e,t),{ngModuleFactory:n._compileModule(e),componentFactories:t}})},t.prototype._loadModules=function(t,r){var i=this,o=[],e=this._metadataResolver.getNgModuleMetadata(t);return this._filterJitIdentifiers(e.transitiveModule.modules).forEach(function(t){var n=i._metadataResolver.getNgModuleMetadata(t);i._filterJitIdentifiers(n.declaredDirectives).forEach(function(t){var e=i._metadataResolver.loadDirectiveMetadata(n.type.reference,t,r);e&&o.push(e)}),i._filterJitIdentifiers(n.declaredPipes).forEach(function(t){return i._metadataResolver.getOrLoadPipeMetadata(t)})}),H(o)},t.prototype._compileModule=function(t){var e=this._compiledNgModuleCache.get(t);if(!e){var n=this._metadataResolver.getNgModuleMetadata(t),r=this.getExtraNgModuleProviders(n.type.reference),i=xp(),o=this._ngModuleCompiler.compile(i,n,r);e=this._interpretOrJit(qt(n),i.statements)[o.ngModuleFactoryVar],this._compiledNgModuleCache.set(n.type.reference,e)}return e},t.prototype._compileComponents=function(t,i){var o=this,e=this._metadataResolver.getNgModuleMetadata(t),a=new Map,s=new Set,n=this._filterJitIdentifiers(e.transitiveModule.modules);n.forEach(function(t){var r=o._metadataResolver.getNgModuleMetadata(t);o._filterJitIdentifiers(r.declaredDirectives).forEach(function(t){a.set(t,r);var e=o._metadataResolver.getDirectiveMetadata(t);if(e.isComponent&&(s.add(o._createCompiledTemplate(e,r)),i)){var n=o._createCompiledHostTemplate(e.type.reference,r);s.add(n),i.push(e.componentFactory)}})}),n.forEach(function(t){var e=o._metadataResolver.getNgModuleMetadata(t);o._filterJitIdentifiers(e.declaredDirectives).forEach(function(t){var e=o._metadataResolver.getDirectiveMetadata(t);e.isComponent&&e.entryComponents.forEach(function(t){var e=a.get(t.componentType);s.add(o._createCompiledHostTemplate(t.componentType,e))})}),e.entryComponents.forEach(function(t){if(!o.hasAotSummary(t.componentType.reference)){var e=a.get(t.componentType);s.add(o._createCompiledHostTemplate(t.componentType,e))}})}),s.forEach(function(t){return o._compileTemplate(t)})},t.prototype.clearCacheFor=function(t){this._compiledNgModuleCache.delete(t),this._metadataResolver.clearCacheFor(t),this._compiledHostTemplateCache.delete(t),this._compiledTemplateCache.get(t)&&this._compiledTemplateCache.delete(t)},t.prototype.clearCache=function(){this._metadataResolver.clearCache(),this._compiledTemplateCache.clear(),this._compiledHostTemplateCache.clear(),this._compiledNgModuleCache.clear()},t.prototype._createCompiledHostTemplate=function(t,e){if(!e)throw new Error("Component "+K(t)+" is not part of any NgModule or the module has not been imported into your module.");var n=this._compiledHostTemplateCache.get(t);if(!n){var r=this._metadataResolver.getDirectiveMetadata(t);Cp(r);var i=this._metadataResolver.getHostComponentMetadata(r,r.componentFactory.viewDefFactory);n=new wp(!0,r.type,i,e,[r.type]),this._compiledHostTemplateCache.set(t,n)}return n},t.prototype._createCompiledTemplate=function(t,e){var n=this._compiledTemplateCache.get(t.type.reference);return n||(Cp(t),n=new wp(!1,t.type,t,e,e.transitiveModule.directives),this._compiledTemplateCache.set(t.type.reference,n)),n},t.prototype._compileTemplate=function(t){var n=this;if(!t.isCompiled){var r=t.compMeta,i=new Map,e=xp(),o=this._styleCompiler.compileComponent(e,r);r.template.externalStylesheets.forEach(function(t){var e=n._styleCompiler.compileStyles(xp(),r,t);i.set(t.moduleUrl,e)}),this._resolveStylesCompileResult(o,i);t.ngModule.transitiveModule.pipes.map(function(t){return n._metadataResolver.getPipeSummary(t.reference)});var a=this._parseTemplate(r,t.ngModule,t.directives),s=a.template,l=a.pipes,c=this._viewCompiler.compileComponent(e,r,s,cs(o.stylesVar),l),u=this._interpretOrJit(Yt(t.ngModule.type,t.compMeta),e.statements),p=u[c.viewClassVar],d=u[c.rendererTypeVar];t.compiled(p,d)}},t.prototype._parseTemplate=function(t,e,n){var r=this,i=t.template.preserveWhitespaces,o=n.map(function(t){return r._metadataResolver.getDirectiveSummary(t.reference)}),a=e.transitiveModule.pipes.map(function(t){return r._metadataResolver.getPipeSummary(t.reference)});return this._templateParser.parse(t,t.template.htmlAst,o,a,e.schemas,Gt(e.type,t,t.template),i)},t.prototype._resolveStylesCompileResult=function(t,i){var o=this;t.dependencies.forEach(function(t,e){var n=i.get(t.moduleUrl),r=o._resolveAndEvalStylesCompileResult(n,i);t.setValue(r)})},t.prototype._resolveAndEvalStylesCompileResult=function(t,e){return this._resolveStylesCompileResult(t,e),this._interpretOrJit(Wt(t.meta,this._sharedStylesheetCount++),t.outputCtx.statements)[t.stylesVar]},t.prototype._interpretOrJit=function(t,e){return this._compilerConfig.useJit?vp(t,e,this._reflector,this._compilerConfig.jitDevMode):function(t,e){var n=new dp(null,null,null,new Map);new fp(e).visitAllStatements(t,n);var r={};return n.exports.forEach(function(t){r[t]=n.vars.get(t)}),r}(e,this._reflector)},t}(),wp=function(){function t(t,e,n,r,i){this.isHost=t,this.compType=e,this.compMeta=n,this.ngModule=r,this.directives=i,this._viewClass=null,this.isCompiled=!1}return t.prototype.compiled=function(t,e){for(var n in this._viewClass=t,this.compMeta.componentViewType.setDelegate(t),e)this.compMeta.rendererType[n]=e[n];this.isCompiled=!0},t}();function Cp(t){if(!t.isComponent)throw new Error("Could not compile '"+Et(t.type)+"' because it is not a component.")}function xp(){return{statements:[],genFilePath:"",importExpr:function(t){return us({name:Et(t),moduleName:null,runtime:t})}}}var Sp=function(){};var Ep=function(){function t(t){void 0===t&&(t=null),this._packagePrefix=t}return t.prototype.resolve=function(t,e){var n=e;null!=t&&0<t.length&&(n=function(t,e){var n=Pp(encodeURI(e)),r=Pp(t);{if(null!=n[Op.Scheme])return Ap(n);n[Op.Scheme]=r[Op.Scheme]}for(var i=Op.Scheme;i<=Op.Port;i++)null==n[i]&&(n[i]=r[i]);if("/"==n[Op.Path][0])return Ap(n);var o=r[Op.Path];null==o&&(o="/");var a=o.lastIndexOf("/");return o=o.substring(0,a+1)+n[Op.Path],n[Op.Path]=o,Ap(n)}(t,n));var r=Pp(n),i=this._packagePrefix;if(null!=i&&null!=r&&"package"==r[Op.Scheme]){var o=r[Op.Path];return(i=i.replace(/\/+$/,""))+"/"+(o=o.replace(/^\/+/,""))}return n},t}();var kp=new RegExp("^(?:([^:/?#.]+):)?(?://(?:([^/?#]*)@)?([\\w\\d\\-\\u0100-\\uffff.%]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$"),Op={Scheme:1,UserInfo:2,Domain:3,Port:4,Path:5,QueryData:6,Fragment:7};function Pp(t){return t.match(kp)}function Ap(t){var e,n,r,i,o,a,s,l,c=t[Op.Path];return c=null==c?"":function(t){if("/"==t)return"/";for(var e="/"==t[0]?"/":"",n="/"===t[t.length-1]?"/":"",r=t.split("/"),i=[],o=0,a=0;a<r.length;a++){var s=r[a];switch(s){case"":case".":break;case"..":0<i.length?i.pop():o++;break;default:i.push(s)}}if(""==e){for(;0<o--;)i.unshift("..");0===i.length&&i.push(".")}return e+i.join("/")+n}(c),t[Op.Path]=c,e=t[Op.Scheme],n=t[Op.UserInfo],r=t[Op.Domain],i=t[Op.Port],o=c,a=t[Op.QueryData],s=t[Op.Fragment],l=[],null!=e&&l.push(e+":"),null!=r&&(l.push("//"),null!=n&&l.push(n+"@"),l.push(r),null!=i&&l.push(":"+i)),null!=o&&l.push(o),null!=a&&l.push("?"+a),null!=s&&l.push("#"+s),l.join("")}Op[Op.Scheme]="Scheme",Op[Op.UserInfo]="UserInfo",Op[Op.Domain]="Domain",Op[Op.Port]="Port",Op[Op.Path]="Path",Op[Op.QueryData]="QueryData",Op[Op.Fragment]="Fragment";var Dp=function(){function t(){}return t.prototype.get=function(t){return""},t}(),Tp=function(){function h(t,e,n,r){this.host=t,this.staticSymbolResolver=e,this.messageBundle=n,this.metadataResolver=r}return h.prototype.extract=function(t){var o=this,e=Du(t,this.host,this.staticSymbolResolver,this.metadataResolver),n=e.files,r=e.ngModules;return Promise.all(r.map(function(t){return o.metadataResolver.loadNgModuleDirectiveAndPipeMetadata(t.type.reference,!1)})).then(function(){var i=[];if(n.forEach(function(r){var n=[];r.directives.forEach(function(t){var e=o.metadataResolver.getDirectiveMetadata(t);e&&e.isComponent&&n.push(e)}),n.forEach(function(t){var e=t.template.template,n=ae.fromArray(t.template.interpolation);i.push.apply(i,o.messageBundle.updateFromTemplate(e,r.fileName,n))})}),i.length)throw new Error(i.map(function(t){return t.toString()}).join("\n"));return o.messageBundle})},h.create=function(e,t){var n=new bo,r=lp(e),i=new wt,o=new sp(e,i),a=new gu(e,i,o),s=new Wu(o,a),l=new vt({defaultEncapsulation:v.Emulated,useJit:!1}),c=new Re({get:function(t){return e.loadResource(t)}},r,n,l),u=new ul,p=new Ko(l,n,new Ls(s),new je(s),new tl(s),o,u,c,console,i,s),d=new cu(n,[],{},t);return{extractor:new h(e,a,d,p),staticReflector:s}},h}();t.core=M,t.CompilerConfig=vt,t.preserveWhitespacesDefault=bt,t.isLoweredSymbol=No,t.createLoweredSymbol=function(t){return"ɵ"+t},t.Identifiers=jo,t.JitCompiler=_p,t.DirectiveResolver=je,t.PipeResolver=tl,t.NgModuleResolver=Ls,t.DEFAULT_INTERPOLATION_CONFIG=se,t.InterpolationConfig=ae,t.NgModuleCompiler=Ns,t.AssertNotNull=Pa,t.BinaryOperator=ua,t.BinaryOperatorExpr=Ma,t.BuiltinMethod=ba,t.BuiltinVar=fa,t.CastExpr=Aa,t.ClassStmt=Qa,t.CommaExpr=Fa,t.CommentStmt=Za,t.ConditionalExpr=ka,t.DeclareFunctionStmt=Ga,t.DeclareVarStmt=za,t.ExpressionStatement=Wa,t.ExternalExpr=Sa,t.ExternalReference=Ea,t.FunctionExpr=Ta,t.IfStmt=Xa,t.InstantiateExpr=Ca,t.InvokeFunctionExpr=wa,t.InvokeMethodExpr=_a,t.LiteralArrayExpr=Na,t.LiteralExpr=xa,t.LiteralMapExpr=ja,t.NotExpr=Oa,t.ReadKeyExpr=Ra,t.ReadPropExpr=Ia,t.ReadVarExpr=ma,t.ReturnStatement=qa,t.ThrowStmt=ts,t.TryCatchStmt=Ja,t.WriteKeyExpr=ya,t.WritePropExpr=va,t.WriteVarExpr=ga,t.StmtModifier=Ua,t.Statement=Ha,t.collectExternalReferences=function(t){var e=new os;return e.visitAllStatements(t,null),e.externalReferences},t.EmitterVisitorContext=Ys,t.ViewCompiler=Qc,t.getParseErrors=function(t){return t[W]||[]},t.isSyntaxError=function(t){return t[G]},t.syntaxError=z,t.Version=Z,t.VERSION=J,t.TextAst=tt,t.BoundTextAst=et,t.AttrAst=nt,t.BoundElementPropertyAst=rt,t.BoundEventAst=it,t.ReferenceAst=ot,t.VariableAst=at,t.ElementAst=st,t.EmbeddedTemplateAst=lt,t.BoundDirectivePropertyAst=ct,t.DirectiveAst=ut,t.ProviderAst=pt,t.ProviderAstType=dt,t.NgContentAst=ht,t.PropertyBindingType=ft,t.NullTemplateVisitor=mt,t.RecursiveTemplateAstVisitor=gt,t.templateVisitAll=yt,t.identifierName=Et,t.identifierModuleUrl=kt,t.viewClassName=Ot,t.rendererTypeName=Pt,t.hostViewClassName=At,t.componentFactoryName=Dt,t.CompileSummaryKind=Tt,t.tokenName=Mt,t.tokenReference=It,t.CompileStylesheetMetadata=Rt,t.CompileTemplateMetadata=Nt,t.CompileDirectiveMetadata=Lt,t.CompilePipeMetadata=jt,t.CompileNgModuleMetadata=Ft,t.TransitiveCompileNgModuleMetadata=Vt,t.ProviderMeta=Ut,t.flatten=Ht,t.templateSourceUrl=Gt,t.sharedStylesheetJitUrl=Wt,t.ngModuleJitUrl=qt,t.templateJitUrl=Yt,t.createAotUrlResolver=lp,t.createAotCompiler=function(e,t,n){var r=t.translations||"",i=lp(e),o=new wt,a=new sp(e,o),s=new gu(e,o,a),l=new Wu(a,s,[],[],n),c=new Co(new bo,r,t.i18nFormat,t.missingTranslation,console),u=new vt({defaultEncapsulation:v.Emulated,useJit:!1,enableLegacyTemplate:!0===t.enableLegacyTemplate,missingTranslation:t.missingTranslation,preserveWhitespaces:t.preserveWhitespaces,strictInjectionParameters:t.strictInjectionParameters}),p=new Re({get:function(t){return e.loadResource(t)}},i,c,u),d=new mr(new kn),h=new ul,f=new mc(u,l,d,h,c,console,[]),m=new Ko(u,c,new Ls(l),new je(l),new tl(l),a,h,p,console,o,l,n),g=new Qc(l),y=new zc(t,l);return{compiler:new Eu(u,t,e,l,m,f,new Bl(i),g,y,new Ns(l),new Zs,a,s),reflector:l}},t.AotCompiler=Eu,t.analyzeNgModules=Au,t.analyzeAndValidateNgModules=Du,t.analyzeFile=Mu,t.mergeAnalyzedFiles=Iu,t.GeneratedFile=pu,t.toTypeScript=function(t,e){if(void 0===e&&(e=""),!t.stmts)throw new Error("Illegal state: No stmts present on GeneratedFile "+t.genFileUrl);return(new Zs).emitStatements(t.genFileUrl,t.stmts,e)},t.formattedError=ju,t.isFormattedError=function(t){return!!t[Nu]},t.StaticReflector=Wu,t.StaticSymbol=_t,t.StaticSymbolCache=wt,t.ResolvedStaticSymbol=mu,t.StaticSymbolResolver=gu,t.unescapeIdentifier=yu,t.unwrapResolvedMetadata=vu,t.AotSummaryResolver=sp,t.AstPath=$t,t.SummaryResolver=cp,t.JitSummaryResolver=up,t.CompileReflector=Sp,t.createUrlResolverWithoutPackagePrefix=function(){return new Ep},t.createOfflineCompileUrlResolver=function(){return new Ep(".")},t.UrlResolver=Ep,t.getUrlScheme=function(t){var e=Pp(t);return e&&e[Op.Scheme]||""},t.ResourceLoader=Dp,t.ElementSchemaRegistry=rl,t.Extractor=Tp,t.I18NHtmlParser=Co,t.MessageBundle=cu,t.Serializer=Ui,t.Xliff=Ji,t.Xliff2=ro,t.Xmb=lo,t.Xtb=go,t.DirectiveNormalizer=Re,t.ParserError=jn,t.ParseSpan=Fn,t.AST=Vn,t.Quote=Bn,t.EmptyExpr=Un,t.ImplicitReceiver=Hn,t.Chain=zn,t.Conditional=Gn,t.PropertyRead=Wn,t.PropertyWrite=qn,t.SafePropertyRead=Yn,t.KeyedRead=$n,t.KeyedWrite=Kn,t.BindingPipe=Qn,t.LiteralPrimitive=Xn,t.LiteralArray=Zn,t.LiteralMap=Jn,t.Interpolation=tr,t.Binary=er,t.PrefixNot=nr,t.NonNullAssert=rr,t.MethodCall=ir,t.SafeMethodCall=or,t.FunctionCall=ar,t.ASTWithSource=sr,t.TemplateBinding=lr,t.NullAstVisitor=cr,t.RecursiveAstVisitor=ur,t.AstTransformer=pr,t.visitAstChildren=function(t,e,n){function r(t){e.visit&&e.visit(t,n)||t.visit(e,n)}function i(t){t.forEach(r)}t.visit({visitBinary:function(t){r(t.left),r(t.right)},visitChain:function(t){i(t.expressions)},visitConditional:function(t){r(t.condition),r(t.trueExp),r(t.falseExp)},visitFunctionCall:function(t){t.target&&r(t.target),i(t.args)},visitImplicitReceiver:function(t){},visitInterpolation:function(t){i(t.expressions)},visitKeyedRead:function(t){r(t.obj),r(t.key)},visitKeyedWrite:function(t){r(t.obj),r(t.key),r(t.obj)},visitLiteralArray:function(t){i(t.expressions)},visitLiteralMap:function(t){},visitLiteralPrimitive:function(t){},visitMethodCall:function(t){r(t.receiver),i(t.args)},visitPipe:function(t){r(t.exp),i(t.args)},visitPrefixNot:function(t){r(t.expression)},visitNonNullAssert:function(t){r(t.expression)},visitPropertyRead:function(t){r(t.receiver)},visitPropertyWrite:function(t){r(t.receiver),r(t.value)},visitQuote:function(t){},visitSafeMethodCall:function(t){r(t.receiver),i(t.args)},visitSafePropertyRead:function(t){r(t.receiver)}})},t.TokenType=Sn,t.Lexer=kn,t.Token=On,t.EOF=Dn,t.isIdentifier=In,t.isQuote=Nn,t.SplitInterpolation=dr,t.TemplateBindingParseResult=hr,t.Parser=mr,t._ParseAST=gr,t.ERROR_COMPONENT_TYPE=$o,t.CompileMetadataResolver=Ko,t.Text=Kt,t.Expansion=Qt,t.ExpansionCase=Xt,t.Attribute=Zt,t.Element=Jt,t.Comment=te,t.visitAll=ee,t.RecursiveVisitor=ne,t.findNode=function(t,r){var i=[];return ee(new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return f(e,t),e.prototype.visit=function(t,e){var n=function t(e){var n=e.sourceSpan.start.offset,r=e.sourceSpan.end.offset;return e instanceof Jt&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=t(e.children[e.children.length-1]).end)),{start:n,end:r}}(t);if(!(n.start<=r&&r<n.end))return!0;i.push(t)},e}(ne)),t),new $t(i,r)},t.ParseTreeResult=Br,t.TreeError=Vr,t.HtmlParser=bo,t.HtmlTagDefinition=vi,t.getHtmlTagDefinition=wi,t.TagContentType=he,t.splitNsName=fe,t.isNgContainer=me,t.isNgContent=ge,t.isNgTemplate=ye,t.getNsPrefix=ve,t.mergeNsAndName=be,t.NAMED_ENTITIES=_e,t.NGSP_UNICODE=we,t.debugOutputAstAsTypeScript=Xs,t.TypeScriptEmitter=Zs,t.ParseLocation=vr,t.ParseSourceFile=br,t.ParseSourceSpan=_r,t.ParseErrorLevel=wr,t.ParseError=Cr,t.typeSourceSpan=xr,t.DomElementSchemaRegistry=ul,t.CssSelector=Go,t.SelectorMatcher=Wo,t.SelectorListContext=qo,t.SelectorContext=Yo,t.StylesCompileDependency=Fl,t.CompiledStylesheet=Vl,t.StyleCompiler=Bl,t.TemplateParseError=hc,t.TemplateParseResult=fc,t.TemplateParser=mc,t.splitClasses=bc,t.createElementCssSelector=wc,t.removeSummaryDuplicates=Ec,Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof n&&void 0!==e?n:(r.ng=r.ng||{},r.ng.compiler={}))},{}],64:[function(n,r,i){(function(bs){var t,e;t=this,e=function(t,c,u,p,e,l){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function n(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},d=function(){function t(t){this._desc=t,this.ngMetadataName="InjectionToken"}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),a="__annotations__",h="__paramaters__",s="__prop__metadata__";function o(t,e,n,r){var i=f(e);function o(t){if(this instanceof o)return i.call(this,t),this;var e=new o(t),n=function(t){return(t.hasOwnProperty(a)?t[a]:Object.defineProperty(t,a,{value:[]})[a]).push(e),t};return r&&r(n),n}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o}function f(i){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(i){var n=i.apply(void 0,t);for(var r in n)this[r]=n[r]}}}function m(t,e,n){var o=f(e);function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this instanceof a)return o.apply(this,t),this;var n,i=new((n=a).bind.apply(n,[void 0].concat(t)));return r.annotation=i,r;function r(t,e,n){for(var r=t.hasOwnProperty(h)?t[h]:Object.defineProperty(t,h,{value:[]})[h];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),t}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=t,a.annotationCls=a}function g(t,e,n){var r=f(e);function o(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this instanceof o)return r.apply(this,t),this;var n,i=new((n=o).bind.apply(n,[void 0].concat(t)));return function(t,e){var n=t.constructor,r=n.hasOwnProperty(s)?n[s]:Object.defineProperty(n,s,{value:{}})[s];r[e]=r.hasOwnProperty(e)&&r[e]||[],r[e].unshift(i)}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o}var y=new d("AnalyzeForEntryComponents"),v=m("Attribute",function(t){return{attributeName:t}}),b=function(){},_=g("ContentChildren",function(t,e){return void 0===e&&(e={}),i({selector:t,first:!1,isViewQuery:!1,descendants:!1},e)},b),w=g("ContentChild",function(t,e){return void 0===e&&(e={}),i({selector:t,first:!0,isViewQuery:!1,descendants:!0},e)},b),C=g("ViewChildren",function(t,e){return void 0===e&&(e={}),i({selector:t,first:!1,isViewQuery:!0,descendants:!0},e)},b),x=g("ViewChild",function(t,e){return i({selector:t,first:!0,isViewQuery:!0,descendants:!0},e)},b),S={OnPush:0,Default:1};S[S.OnPush]="OnPush",S[S.Default]="Default";var E={CheckOnce:0,Checked:1,CheckAlways:2,Detached:3,Errored:4,Destroyed:5};E[E.CheckOnce]="CheckOnce",E[E.Checked]="Checked",E[E.CheckAlways]="CheckAlways",E[E.Detached]="Detached",E[E.Errored]="Errored",E[E.Destroyed]="Destroyed";var k=o("Directive",function(t){return void 0===t&&(t={}),t}),O=o("Component",function(t){return void 0===t&&(t={}),i({changeDetection:S.Default},t)},k),P=o("Pipe",function(t){return i({pure:!0},t)}),A=g("Input",function(t){return{bindingPropertyName:t}}),D=g("Output",function(t){return{bindingPropertyName:t}}),T=g("HostBinding",function(t){return{hostPropertyName:t}}),M=g("HostListener",function(t,e){return{eventName:t,args:e}}),I=o("NgModule",function(t){return t}),R={Emulated:0,Native:1,None:2};R[R.Emulated]="Emulated",R[R.Native]="Native",R[R.None]="None";var N=function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},L=new N("5.2.8"),j=m("Inject",function(t){return{token:t}}),F=m("Optional"),V=o("Injectable"),B=m("Self"),U=m("SkipSelf"),H=m("Host"),z="undefined"!=typeof window&&window,G="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,W=z||void 0!==bs&&bs||G,q=Promise.resolve(0),Y=null;function $(){if(!Y){var t=W.Symbol;if(t&&t.iterator)Y=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var r=e[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Y=r)}}return Y}function K(t){"undefined"==typeof Zone?q.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function Q(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function X(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(X).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function Z(t){return t.__forward_ref__=Z,t.toString=function(){return X(this())},t}function J(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===Z?t():t}var tt="__source",et=new Object,nt=et,rt=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=et),e===et)throw new Error("NullInjectorError: No provider for "+X(t)+"!");return e},t}(),it=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new mt(t,e):new mt(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=et,t.NULL=new rt,t}(),ot=function(t){return t},at=[],st=ot,lt=function(){return Array.prototype.slice.call(arguments)},ct={},ut=function(t){for(var e in t)if(t[e]===ct)return e;throw Error("!prop")}({provide:String,useValue:ct}),pt="ngTempTokenPath",dt=it.NULL,ht=/\n/gm,ft="ɵ",mt=function(){function t(t,e,n){void 0===e&&(e=dt),void 0===n&&(n=null),this.parent=e,this.source=n;var r=this._records=new Map;r.set(it,{token:it,fn:ot,deps:at,value:this,useNew:!1}),function t(e,n){if(n)if((n=J(n))instanceof Array)for(var r=0;r<n.length;r++)t(e,n[r]);else{if("function"==typeof n)throw bt("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw bt("Unexpected provider",n);var i=J(n.provide),o=function(t){var e=function(t){var e=at,n=t.deps;if(n&&n.length){e=[];for(var r=0;r<n.length;r++){var i=6,o=J(n[r]);if(o instanceof Array)for(var a=0,s=o;a<s.length;a++){var l=s[a];l instanceof F||l==F?i|=1:l instanceof U||l==U?i&=-3:l instanceof B||l==B?i&=-5:o=l instanceof j?l.token:J(l)}e.push({token:o,options:i})}}else if(t.useExisting){var o=J(t.useExisting);e=[{token:o,options:6}]}else if(!(n||ut in t))throw bt("'deps' required",t);return e}(t),n=ot,r=at,i=!1,o=J(t.provide);if(ut in t)r=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)i=!0,n=J(t.useClass);else{if("function"!=typeof o)throw bt("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);i=!0,n=o}return{deps:e,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){var a=e.get(i);if(a){if(a.fn!==lt)throw gt(i)}else e.set(i,a={token:n.provide,deps:[],useNew:!1,fn:lt,value:at});i=n,a.deps.push({token:i,options:6})}var s=e.get(i);if(s&&s.fn==lt)throw gt(i);e.set(i,o)}}(r,t)}return t.prototype.get=function(e,t){var n=this._records.get(e);try{return yt(e,n,this._records,this.parent,t)}catch(t){var r=t[pt];throw e[tt]&&r.unshift(e[tt]),t.message=vt("\n"+t.message,r,this.source),t.ngTokenPath=r,t[pt]=null,t}},t.prototype.toString=function(){var n=[];return this._records.forEach(function(t,e){return n.push(X(e))}),"StaticInjector["+n.join(", ")+"]"},t}();function gt(t){return bt("Cannot mix multi providers and regular providers",t)}function yt(e,n,t,r,i){try{return function(t,e,n,r,i){var o,a;if(e){if((o=e.value)==st)throw Error(ft+"Circular dependency");if(o===at){e.value=st;var s=void 0,l=e.useNew,c=e.fn,u=e.deps,p=at;if(u.length){p=[];for(var d=0;d<u.length;d++){var h=u[d],f=h.options,m=2&f?n.get(h.token):void 0;p.push(yt(h.token,m,n,m||4&f?r:dt,1&f?null:it.THROW_IF_NOT_FOUND))}}e.value=o=l?new((a=c).bind.apply(a,[void 0].concat(p))):c.apply(s,p)}}else o=r.get(t,i);return o}(e,n,t,r,i)}catch(t){throw t instanceof Error||(t=new Error(t)),(t[pt]=t[pt]||[]).unshift(e),n&&n.value==st&&(n.value=at),t}}function vt(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==ft?t.substr(2):t;var r=X(e);if(e instanceof Array)r=e.map(X).join(" -> ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];i.push(o+":"+("string"==typeof a?JSON.stringify(a):X(a)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(ht,"\n ")}function bt(t,e){return new Error(vt(t,e))}var _t="ngDebugContext",wt="ngOriginalError",Ct="ngErrorLogger";function xt(t){return t[_t]}function St(t){return t[wt]}function Et(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,e)}var kt=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),r=t[Ct]||Et;r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?xt(t)?xt(t):this._findContext(St(t)):null},t.prototype._findOriginalError=function(t){for(var e=St(t);e&&St(e);)e=St(e);return e},t}();function Ot(t){return 1<t.length?" ("+function(t){for(var e=[],n=0;n<t.length;++n){if(-1<e.indexOf(t[n]))return e.push(t[n]),e;e.push(t[n])}return e}(t.slice().reverse()).map(function(t){return X(t.token)}).join(" -> ")+")":""}function Pt(t,e,n,r){var i,o,a,s=[e],l=n(s),c=r?(o=l+" caused by: "+((i=r)instanceof Error?i.message:i),(a=Error(o))[wt]=i,a):Error(l);return c.addKey=At,c.keys=s,c.injectors=[t],c.constructResolvingMessage=n,c[wt]=r,c}function At(t,e){this.injectors.push(t),this.keys.push(e),this.message=this.constructResolvingMessage(this.keys)}function Dt(t,e){for(var n=[],r=0,i=e.length;r<i;r++){var o=e[r];o&&0!=o.length?n.push(o.map(X).join(" ")):n.push("?")}return Error("Cannot resolve all parameters for '"+X(t)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+X(t)+"' is decorated with Injectable.")}var Tt=function(){function t(t,e){if(this.token=t,this.id=e,!t)throw new Error("Token must be defined!");this.displayName=X(this.token)}return t.get=function(t){return Mt.get(J(t))},Object.defineProperty(t,"numberOfKeys",{get:function(){return Mt.numberOfKeys},enumerable:!0,configurable:!0}),t}(),Mt=new(function(){function t(){this._allKeys=new Map}return t.prototype.get=function(t){if(t instanceof Tt)return t;if(this._allKeys.has(t))return this._allKeys.get(t);var e=new Tt(t,Tt.numberOfKeys);return this._allKeys.set(t,e),e},Object.defineProperty(t.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),t}()),It=Function;function Rt(t){return"function"==typeof t}var Nt=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Lt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{/,jt=/^class\s+[A-Za-z\d$_]*\s*extends\s+[A-Za-z\d$_]+\s*{[\s\S]*constructor\s*\(/,Ft=function(){function t(t){this._reflect=t||W.Reflect}return t.prototype.isReflectionEnabled=function(){return!0},t.prototype.factory=function(n){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new(n.bind.apply(n,[void 0].concat(t)))}},t.prototype._zipTypesAndAnnotations=function(t,e){var n;n=void 0===t?new Array(e.length):new Array(t.length);for(var r=0;r<n.length;r++)void 0===t?n[r]=[]:t[r]!=Object?n[r]=[t[r]]:n[r]=[],e&&null!=e[r]&&(n[r]=n[r].concat(e[r]));return n},t.prototype._ownParameters=function(t,e){var n=t.toString();if(Nt.exec(n)||Lt.exec(n)&&!jt.exec(n))return null;if(t.parameters&&t.parameters!==e.parameters)return t.parameters;var r=t.ctorParameters;if(r&&r!==e.ctorParameters){var i="function"==typeof r?r():r,o=i.map(function(t){return t&&t.type}),a=i.map(function(t){return t&&Vt(t.decorators)});return this._zipTypesAndAnnotations(o,a)}var s=t.hasOwnProperty(h)&&t[h],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return l||s?this._zipTypesAndAnnotations(l,s):new Array(t.length).fill(void 0)},t.prototype.parameters=function(t){if(!Rt(t))return[];var e=Bt(t),n=this._ownParameters(t,e);return n||e===Object||(n=this.parameters(e)),n||[]},t.prototype._ownAnnotations=function(t,e){if(t.annotations&&t.annotations!==e.annotations){var n=t.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return t.decorators&&t.decorators!==e.decorators?Vt(t.decorators):t.hasOwnProperty(a)?t[a]:null},t.prototype.annotations=function(t){if(!Rt(t))return[];var e=Bt(t),n=this._ownAnnotations(t,e)||[];return(e!==Object?this.annotations(e):[]).concat(n)},t.prototype._ownPropMetadata=function(t,e){if(t.propMetadata&&t.propMetadata!==e.propMetadata){var n=t.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(t.propDecorators&&t.propDecorators!==e.propDecorators){var r=t.propDecorators,i={};return Object.keys(r).forEach(function(t){i[t]=Vt(r[t])}),i}return t.hasOwnProperty(s)?t[s]:null},t.prototype.propMetadata=function(t){if(!Rt(t))return{};var e=Bt(t),n={};if(e!==Object){var r=this.propMetadata(e);Object.keys(r).forEach(function(t){n[t]=r[t]})}var i=this._ownPropMetadata(t,e);return i&&Object.keys(i).forEach(function(t){var e=[];n.hasOwnProperty(t)&&e.push.apply(e,n[t]),e.push.apply(e,i[t]),n[t]=e}),n},t.prototype.hasLifecycleHook=function(t,e){return t instanceof It&&e in t.prototype},t.prototype.guards=function(t){return{}},t.prototype.getter=function(t){return new Function("o","return o."+t+";")},t.prototype.setter=function(t){return new Function("o","v","return o."+t+" = v;")},t.prototype.method=function(t){return new Function("o","args","if (!o."+t+") throw new Error('\""+t+"\" is undefined');\n return o."+t+".apply(o, args);")},t.prototype.importUri=function(t){return"object"==typeof t&&t.filePath?t.filePath:"./"+X(t)},t.prototype.resourceUri=function(t){return"./"+X(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return r},t.prototype.resolveEnum=function(t,e){return t[e]},t}();function Vt(t){return t?t.map(function(t){var e=t.type.annotationCls,n=t.args?t.args:[];return new(e.bind.apply(e,[void 0].concat(n)))}):[]}function Bt(t){var e=t.prototype?Object.getPrototypeOf(t.prototype):null;return(e?e.constructor:null)||Object}var Ut=new(function(){function t(t){this.reflectionCapabilities=t}return t.prototype.updateCapabilities=function(t){this.reflectionCapabilities=t},t.prototype.factory=function(t){return this.reflectionCapabilities.factory(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.getter=function(t){return this.reflectionCapabilities.getter(t)},t.prototype.setter=function(t){return this.reflectionCapabilities.setter(t)},t.prototype.method=function(t){return this.reflectionCapabilities.method(t)},t.prototype.importUri=function(t){return this.reflectionCapabilities.importUri(t)},t.prototype.resourceUri=function(t){return this.reflectionCapabilities.resourceUri(t)},t.prototype.resolveIdentifier=function(t,e,n,r){return this.reflectionCapabilities.resolveIdentifier(t,e,n,r)},t.prototype.resolveEnum=function(t,e){return this.reflectionCapabilities.resolveEnum(t,e)},t}())(new Ft),Ht=function(){function e(t,e,n){this.key=t,this.optional=e,this.visibility=n}return e.fromKey=function(t){return new e(t,!1,null)},e}(),zt=[],Gt=function(t,e,n){this.key=t,this.resolvedFactories=e,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},Wt=function(t,e){this.factory=t,this.dependencies=e};function qt(t){var e,n;if(t.useClass){var r=J(t.useClass);e=Ut.factory(r),n=Kt(r)}else t.useExisting?(e=function(t){return t},n=[Ht.fromKey(Tt.get(t.useExisting))]):t.useFactory?(e=t.useFactory,n=function(e,t){{if(t){var n=t.map(function(t){return[t]});return t.map(function(t){return Qt(e,t,n)})}return Kt(e)}}(t.useFactory,t.deps)):(e=function(){return t.useValue},n=zt);return new Wt(e,n)}function Yt(t){return new Gt(Tt.get(t.provide),[qt(t)],t.multi||!1)}function $t(t){var e=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+i+" "+r);if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else e.set(r.key.id,r)}else{var a=void 0;a=r.multiProvider?new Gt(r.key,r.resolvedFactories.slice(),r.multiProvider):r,e.set(r.key.id,a)}}return e}(function e(t,n){t.forEach(function(t){if(t instanceof It)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: "+t);e(t,n)}});return n}(t,[]).map(Yt),new Map);return Array.from(e.values())}function Kt(e){var n=Ut.parameters(e);if(!n)return[];if(n.some(function(t){return null==t}))throw Dt(e,n);return n.map(function(t){return Qt(e,t,n)})}function Qt(t,e,n){var r=null,i=!1;if(!Array.isArray(e))return Xt(e instanceof j?e.token:e,i,null);for(var o=null,a=0;a<e.length;++a){var s=e[a];s instanceof It?r=s:s instanceof j?r=s.token:s instanceof F?i=!0:s instanceof B||s instanceof U?o=s:s instanceof d&&(r=s)}if(null!=(r=J(r)))return Xt(r,i,o);throw Dt(t,n)}function Xt(t,e,n){return new Ht(Tt.get(t),e,n)}var Zt=new Object,Jt=function(){function r(){}return r.resolve=function(t){return $t(t)},r.resolveAndCreate=function(t,e){var n=r.resolve(t);return r.fromResolvedProviders(n,e)},r.fromResolvedProviders=function(t,e){return new te(t,e)},r}(),te=function(){function a(t,e){this._constructionCounter=0,this._providers=t,this.parent=e||null;var n=t.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=t[r].key.id,this.objs[r]=Zt}return a.prototype.get=function(t,e){return void 0===e&&(e=nt),this._getByKey(Tt.get(t),null,e)},a.prototype.resolveAndCreateChild=function(t){var e=Jt.resolve(t);return this.createChildFromResolved(e)},a.prototype.createChildFromResolved=function(t){var e=new a(t);return e.parent=this,e},a.prototype.resolveAndInstantiate=function(t){return this.instantiateResolved(Jt.resolve([t])[0])},a.prototype.instantiateResolved=function(t){return this._instantiateProvider(t)},a.prototype.getProviderAtIndex=function(t){if(t<0||t>=this._providers.length)throw Error("Index "+t+" is out-of-bounds.");return this._providers[t]},a.prototype._new=function(t){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw e=this,n=t.key,Pt(e,n,function(t){return"Cannot instantiate cyclic dependency!"+Ot(t)});var e,n;return this._instantiateProvider(t)},a.prototype._getMaxNumberOfObjects=function(){return this.objs.length},a.prototype._instantiateProvider=function(t){if(t.multiProvider){for(var e=new Array(t.resolvedFactories.length),n=0;n<t.resolvedFactories.length;++n)e[n]=this._instantiate(t,t.resolvedFactories[n]);return e}return this._instantiate(t,t.resolvedFactories[0])},a.prototype._instantiate=function(e,t){var n,r,i,o,a,s=this,l=t.factory;try{n=t.dependencies.map(function(t){return s._getByReflectiveDependency(t)})}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{r=l.apply(void 0,n)}catch(t){throw i=this,(o=t).stack,a=e.key,Pt(i,a,function(t){var e=X(t[0].token);return o.message+": Error during instantiation of "+e+"!"+Ot(t)+"."},o)}return r},a.prototype._getByReflectiveDependency=function(t){return this._getByKey(t.key,t.visibility,t.optional?null:nt)},a.prototype._getByKey=function(t,e,n){return t===a.INJECTOR_KEY?this:e instanceof B?this._getByKeySelf(t,n):this._getByKeyDefault(t,n,e)},a.prototype._getObjByKeyId=function(t){for(var e=0;e<this.keyIds.length;e++)if(this.keyIds[e]===t)return this.objs[e]===Zt&&(this.objs[e]=this._new(this._providers[e])),this.objs[e];return Zt},a.prototype._throwOrNull=function(t,e){if(e!==nt)return e;throw Pt(this,t,function(t){return"No provider for "+X(t[0].token)+"!"+Ot(t)})},a.prototype._getByKeySelf=function(t,e){var n=this._getObjByKeyId(t.id);return n!==Zt?n:this._throwOrNull(t,e)},a.prototype._getByKeyDefault=function(t,e,n){var r;for(r=n instanceof U?this.parent:this;r instanceof a;){var i=r,o=i._getObjByKeyId(t.id);if(o!==Zt)return o;r=i.parent}return null!==r?r.get(t.token,e):this._throwOrNull(t,e)},Object.defineProperty(a.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function(t,e){for(var n=new Array(t._providers.length),r=0;r<t._providers.length;++r)n[r]=e(t.getProviderAtIndex(r));return n}(this,function(t){return' "'+t.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),a.prototype.toString=function(){return this.displayName},a.INJECTOR_KEY=Tt.get(it),a}();function ee(t){return!!t&&"function"==typeof t.then}var ne=new d("Application Initializer"),re=function(){function t(t){var n=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,e){n.resolve=t,n.reject=e})}return t.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();ee(i)&&t.push(i)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},t.decorators=[{type:V}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:j,args:[ne]},{type:F}]}]},t}(),ie=new d("AppId");function oe(){return""+se()+se()+se()}var ae={provide:ie,useFactory:oe,deps:[]};function se(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var le=new d("Platform Initializer"),ce=new d("Platform ID"),ue=new d("appBootstrapListener"),pe=new d("Application Packages Root URL"),de=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t.decorators=[{type:V}],t.ctorParameters=function(){return[]},t}(),he=function(t,e){this.ngModuleFactory=t,this.componentFactories=e};function fe(){throw new Error("Runtime compiler is not loaded")}var me=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw fe()},t.prototype.compileModuleAsync=function(t){throw fe()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw fe()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw fe()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.decorators=[{type:V}],t.ctorParameters=function(){return[]},t}(),ge=new d("compilerOptions"),ye=function(){},ve=function(){},be=function(){};function _e(t){var e=Error("No component factory found for "+X(t)+". Did you add it to @NgModule.entryComponents?");return e[xe]=t,e}var we,Ce,xe="ngComponent",Se=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw _e(t)},t}(),Ee=function(){function t(){}return t.NULL=new Se,t}(),ke=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var r=0;r<t.length;r++){var i=t[r];this._factories.set(i.componentType,i)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw _e(t);return new Oe(e,this._ngModule)},t}(),Oe=function(r){function t(t,e){var n=r.call(this)||this;return n.factory=t,n.ngModule=e,n.selector=t.selector,n.componentType=t.componentType,n.ngContentSelectors=t.ngContentSelectors,n.inputs=t.inputs,n.outputs=t.outputs,n}return n(t,r),t.prototype.create=function(t,e,n,r){return this.factory.create(t,e,n,r||this.ngModule)},t}(be),Pe=function(){},Ae=function(){};function De(){var t=W.wtf;return!(!t||!(we=t.trace))&&(Ce=we.events,!0)}function Te(t,e){return void 0===e&&(e=null),Ce.createScope(t,e)}function Me(t,e){return we.leaveScope(t,e),e}function Ie(t,e){return we.beginTimeRange(t,e)}function Re(t){we.endTimeRange(t)}var Ne=De();function Le(t,e){return null}var je=Ne?Te:function(t,e){return Le},Fe=Ne?Me:function(t,e){return e},Ve=Ne?Ie:function(t,e){return null},Be=Ne?Re:function(t){return null},Ue=function(s){function t(t){void 0===t&&(t=!1);var e=s.call(this)||this;return e.__isAsync=t,e}return n(t,s),t.prototype.emit=function(t){s.prototype.next.call(this,t)},t.prototype.subscribe=function(e,n,t){var r,i=function(t){return null},o=function(){return null};e&&"object"==typeof e?(r=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(i=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(o=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(r=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(i=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),t&&(o=this.__isAsync?function(){setTimeout(function(){return t()})}:function(){t()}));var a=s.prototype.subscribe.call(this,r,i,o);return e instanceof l.Subscription&&e.add(a),a},t}(e.Subject),He=function(){function t(t){var e=t.enableLongStackTrace,n=void 0!==e&&e;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue(!1),this.onMicrotaskEmpty=new Ue(!1),this.onStable=new Ue(!1),this.onError=new Ue(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var s;this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(s=this)._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,e,n,r,i,o){try{return qe(s),t.invokeTask(n,r,i,o)}finally{Ye(s)}},onInvoke:function(t,e,n,r,i,o,a){try{return qe(s),t.invoke(n,r,i,o,a)}finally{Ye(s)}},onHasTask:function(t,e,n,r){t.hasTask(n,r),e===n&&("microTask"==r.change?(s.hasPendingMicrotasks=r.microTask,We(s)):"macroTask"==r.change&&(s.hasPendingMacrotasks=r.macroTask))},onHandleError:function(t,e,n,r){return t.handleError(n,r),s.runOutsideAngular(function(){return s.onError.emit(r)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,Ge,ze,ze);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function ze(){}var Ge={};function We(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function qe(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Ye(t){t._nesting--,We(t)}var $e=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ue,this.onMicrotaskEmpty=new Ue,this.onStable=new Ue,this.onError=new Ue}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),Ke=function(){function t(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents()}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){He.assertNotInAngularZone(),K(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0==this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;this.isStable()?K(function(){for(;0!==t._callbacks.length;)t._callbacks.pop()(t._didWork);t._didWork=!1}):this._didWork=!0},t.prototype.whenStable=function(t){this._callbacks.push(t),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t.decorators=[{type:V}],t.ctorParameters=function(){return[{type:He}]},t}(),Qe=function(){function t(){this._applications=new Map,Ze.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Ze.findTestabilityInTree(this,t,e)},t.decorators=[{type:V}],t.ctorParameters=function(){return[]},t}();var Xe,Ze=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),Je=!0,tn=!1,en=new d("AllowMultipleToken");function nn(){return tn=!0,Je}var rn=function(t,e){this.name=t,this.token=e};function on(t){if(Xe&&!Xe.destroyed&&!Xe.injector.get(en,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Xe=t.get(cn);var e=t.get(le,null);return e&&e.forEach(function(t){return t()}),Xe}function an(r,t,i){void 0===i&&(i=[]);var o="Platform: "+t,a=new d(o);return function(t){void 0===t&&(t=[]);var e=ln();if(!e||e.injector.get(en,!1))if(r)r(i.concat(t).concat({provide:a,useValue:!0}));else{var n=i.concat(t).concat({provide:a,useValue:!0});on(it.create({providers:n,name:o}))}return sn(a)}}function sn(t){var e=ln();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function ln(){return Xe&&!Xe.destroyed?Xe:null}var cn=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(r,t){var i=this,o=function(t){var e;e="noop"===t?new $e:("zone.js"===t?void 0:t)||new He({enableLongStackTrace:nn()});return e}(t?t.ngZone:void 0),a=[{provide:He,useValue:o}];return o.run(function(){var t=it.create({providers:a,parent:i.injector,name:r.moduleType.name}),e=r.create(t),n=e.injector.get(kt,null);if(!n)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return e.onDestroy(function(){return dn(i._modules,e)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(t){n.handleError(t)}})}),function(e,n,t){try{var r=t();return ee(r)?r.catch(function(t){throw n.runOutsideAngular(function(){return e.handleError(t)}),t}):r}catch(t){throw n.runOutsideAngular(function(){return e.handleError(t)}),t}}(n,o,function(){var t=e.injector.get(re);return t.runInitializers(),t.donePromise.then(function(){return i._moduleDoBootstrap(e),e})})})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=this.injector.get(ye),i=un({},e);return r.createCompiler([i]).compileModuleAsync(t).then(function(t){return n.bootstrapModuleFactory(t,i)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(pn);if(0<t._bootstrapComponents.length)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+X(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.decorators=[{type:V}],t.ctorParameters=function(){return[{type:it}]},t}();function un(t,e){return t=Array.isArray(e)?e.reduce(un,t):i({},t,e)}var pn=function(){function n(t,e,n,r,i,o){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=nn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new c.Observable(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),l=new c.Observable(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){He.assertNotInAngularZone(),K(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){He.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=u.merge(s,p.share.call(l))}return n.prototype.bootstrap=function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof be?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof Oe?null:this._injector.get(Pe),o=e||n.selector,a=n.create(it.NULL,[],o,i);a.onDestroy(function(){r._unloadComponent(a)});var s=a.injector.get(Ke,null);return s&&a.injector.get(Qe).registerApplication(a.location.nativeElement,s),this._loadComponent(a),nn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},n.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var t=n._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,Fe(t)}},n.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},n.prototype.detachView=function(t){var e=t;dn(this._views,e),e.detachFromAppRef()},n.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ue,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},n.prototype._unloadComponent=function(t){this.detachView(t.hostView),dn(this.components,t)},n.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(n.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),n._tickScope=je("ApplicationRef#tick()"),n.decorators=[{type:V}],n.ctorParameters=function(){return[{type:He},{type:de},{type:it},{type:kt},{type:Ee},{type:re}]},n}();function dn(t,e){var n=t.indexOf(e);-1<n&&t.splice(n,1)}var hn=function(t,e,n,r,i,o){this.id=t,this.templateUrl=e,this.slotCount=n,this.encapsulation=r,this.styles=i,this.animations=o},fn=function(){},mn=function(){},gn=(new d("Renderer2Interceptor"),function(){}),yn=function(){},vn={Important:1,DashCase:2};vn[vn.Important]="Important",vn[vn.DashCase]="DashCase";var bn=function(){},_n=function(t){this.nativeElement=t},wn=function(){},Cn=new Map;var xn=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Ue,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[$()]=function(){return this._results[$()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function r(t){return t.reduce(function(t,e){var n=Array.isArray(e)?r(e):e;return t.concat(n)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}();var Sn=function(){},En={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},kn=function(){function t(t,e){this._compiler=t,this._config=e||En}return t.prototype.load=function(t){return this._compiler instanceof me?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,n=t.split("#"),r=n[0],i=n[1];return void 0===i&&(i="default"),System.import(r).then(function(t){return t[i]}).then(function(t){return On(t,r,i)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=t.split("#"),n=e[0],r=e[1],i="NgFactory";return void 0===r&&(r="default",i=""),System.import(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(t){return t[r+i]}).then(function(t){return On(t,n,r)})},t.decorators=[{type:V}],t.ctorParameters=function(){return[{type:me},{type:Sn,decorators:[{type:F}]}]},t}();function On(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Pn=function(){},An=function(){},Dn=function(){},Tn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Dn),Mn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Tn),In=function(t,e){this.name=t,this.callback=e},Rn=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Nn?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Nn=function(i){function e(t,e,n){var r=i.call(this,t,e,n)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=t,r}return n(e,i),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,[i+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),(e.parent=this).childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof Nn&&(n(t)&&r.push(t),e(t,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function e(t,n,r){t instanceof Nn&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof Nn&&e(t,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(e,n){this.listeners.forEach(function(t){t.name==e&&t.callback(n)})},e}(Rn);var Ln=new Map;function jn(t){return Ln.get(t)||null}function Fn(t){Ln.set(t.nativeNode,t)}function Vn(t,e){var n=Hn(t),r=Hn(e);return n&&r?function(t,e,n){var r=t[$()](),i=e[$()]();for(;;){var o=r.next(),a=i.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(t,e,Vn):!(n||!(t&&("object"==typeof t||"function"==typeof t))||r||!(e&&("object"==typeof e||"function"==typeof e)))||Q(t,e)}var Bn=function(){function e(t){this.wrapped=t}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}(),Un=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function Hn(t){return!!zn(t)&&(Array.isArray(t)||!(t instanceof Map)&&$()in t)}function zn(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Gn=function(){function t(){}return t.prototype.supports=function(t){return Hn(t)},t.prototype.create=function(t){return new qn(t)},t}(),Wn=function(t,e){return e},qn=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Wn}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex<Qn(n,r,i)?e:n,a=Qn(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(e=e._next,null==o.previousIndex)r++;else{i||(i=[]);var l=a-r,c=s-r;if(l!=c){for(var u=0;u<l;u++){var p=u<i.length?i[u]:i[u]=0,d=p+u;c<=d&&d<l&&(i[u]=p+1)}i[o.previousIndex]=c-l}}a!==s&&t(o,a,s)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!Hn(t))throw new Error("Error trying to diff '"+X(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)r=t[s],i=this._trackByFn(s,r),null!==o&&Q(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Q(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var r=t[$()](),i=void 0;!(i=r.next()).done;)e(i.value)}(t,function(t){i=e._trackByFn(n,t),null!==o&&Q(o.trackById,i)?(a&&(o=e._verifyReinsertion(o,t,i,n)),Q(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,i,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,r){var i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Q(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Q(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new Yn(e,n),i,r),t},t.prototype._verifyReinsertion=function(t,e,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),null===this._additionsTail?this._additionsTail=this._additionsHead=t:this._additionsTail=this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new Kn),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e||(null===this._movesTail?this._movesTail=this._movesHead=t:this._movesTail=this._movesTail._nextMoved=t),t},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Kn),this._unlinkedRecords.put(t),t.currentIndex=null,(t._nextRemoved=null)===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=t:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=t,t},t}(),Yn=function(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},$n=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):((this._tail._nextDup=t)._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Q(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),Kn=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new $n,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=t,r=this.map.get(n);return r?r.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function Qn(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+e+i}var Xn=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||zn(t)},t.prototype.create=function(){return new Zn},t}(),Zn=function(){function t(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||zn(t)))throw new Error("Error trying to diff '"+X(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var r=this;this._reset();var i=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,e){if(i&&i.key===e)r._maybeAddToChanges(i,t),i=(r._appendAfter=i)._next;else{var n=r._getOrCreateRecordForKey(e,t);i=r._insertBeforeOrAppend(i,n)}}),i){i._prev&&(i._prev._next=null);for(var e=this._removalsHead=i;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t}return this._appendAfter?(this._appendAfter._next=e)._prev=this._appendAfter:this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new Jn(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){Q(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(e,n){e instanceof Map?e.forEach(n):Object.keys(e).forEach(function(t){return n(e[t],t)})},t}(),Jn=function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},tr=function(){function r(t){this.factories=t}return r.create=function(t,e){if(null!=e){var n=e.factories.slice();return new r(t=t.concat(n))}return new r(t)},r.extend=function(e){return{provide:r,useFactory:function(t){if(!t)throw new Error("Cannot extend IterableDiffers without a parent injector");return r.create(e,t)},deps:[[r,new U,new F]]}},r.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},r}();var er=function(){function r(t){this.factories=t}return r.create=function(t,e){if(e){var n=e.factories.slice();t=t.concat(n)}return new r(t)},r.extend=function(e){return{provide:r,useFactory:function(t){if(!t)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return r.create(e,t)},deps:[[r,new U,new F]]}},r.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},r}(),nr=[new Xn],rr=[new Gn],ir=new tr(rr),or=new er(nr),ar=an(null,"core",[{provide:ce,useValue:"unknown"},{provide:cn,deps:[it]},{provide:Qe,deps:[]},{provide:de,deps:[]}]),sr=new d("LocaleId"),lr=new d("Translations"),cr=new d("TranslationsFormat"),ur={Error:0,Warning:1,Ignore:2};function pr(){return ir}function dr(){return or}function hr(t){return t||"en-US"}ur[ur.Error]="Error",ur[ur.Warning]="Warning",ur[ur.Ignore]="Ignore";var fr=function(){function t(t){}return t.decorators=[{type:I,args:[{providers:[pn,re,me,ae,{provide:tr,useFactory:pr},{provide:er,useFactory:dr},{provide:sr,useFactory:hr,deps:[[new j(sr),new F,new U]]}]}]}],t.ctorParameters=function(){return[{type:pn}]},t}(),mr={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};mr[mr.NONE]="NONE",mr[mr.HTML]="HTML",mr[mr.STYLE]="STYLE",mr[mr.SCRIPT]="SCRIPT",mr[mr.URL]="URL",mr[mr.RESOURCE_URL]="RESOURCE_URL";var gr=function(){};function yr(t,e,n){var r=t.state,i=1792&r;return i===e?(t.state=-1793&r|n,t.initIndex=-1,!0):i===n}function vr(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function br(t,e){return t.nodes[e]}function _r(t,e){return t.nodes[e]}function wr(t,e){return t.nodes[e]}function Cr(t,e){return t.nodes[e]}function xr(t,e){return t.nodes[e]}var Sr=function(){},Er={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function kr(t,e,n,r){var i,o,a="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(a+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),i=t,Or(o=new Error(a),i),o}function Or(t,e){t[_t]=e,t[Ct]=e.logError.bind(e)}function Pr(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Ar=function(){},Dr=new Map;function Tr(t){var e=Dr.get(t);return e||(e=X(t)+"_"+Dr.size,Dr.set(t,e)),e}var Mr="$$undefined",Ir="$$empty";var Rr=0;function Nr(t){if(t&&t.id===Mr){var e=null!=t.encapsulation&&t.encapsulation!==R.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+Rr++:Ir}return t&&t.id===Ir&&(t=null),t||null}function Lr(t,e,n,r){var i=t.oldValues;return!(!(2&t.state)&&Q(i[e.bindingIndex+n],r))}function jr(t,e,n,r){return!!Lr(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function Fr(t,e,n,r){var i=t.oldValues[e.bindingIndex+n];if(1&t.state||!Vn(i,r)){var o=e.bindings[n].name;throw kr(Er.createDebugContext(t,e.nodeIndex),o+": "+i,o+": "+r,0!=(1&t.state))}}function Vr(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function Br(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function Ur(e,t,n,r){try{return Vr(33554432&e.def.nodes[t].flags?_r(e,t).componentView:e),Er.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Hr(t){return t.parent?_r(t.parent,t.parentNodeDef.nodeIndex):null}function zr(t){return t.parent?t.parentNodeDef.parent:null}function Gr(t,e){switch(201347067&e.flags){case 1:return _r(t,e.nodeIndex).renderElement;case 2:return br(t,e.nodeIndex).renderText}}function Wr(t,e){return t?t+":"+e:e}function qr(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function Yr(t){return 1<<t%32}function $r(t){var r={},i=0,o={};return t&&t.forEach(function(t){var e=t[0],n=t[1];"number"==typeof e?(r[e]=n,i|=Yr(e)):o[e]=n}),{matchedQueries:r,references:o,matchedQueryIds:i}}function Kr(t,r){return t.map(function(t){var e,n;return Array.isArray(t)?(n=t[0],e=t[1]):(n=0,e=t),e&&("function"==typeof e||"object"==typeof e)&&r&&Object.defineProperty(e,tt,{value:r,configurable:!0}),{flags:n,token:e,tokenKey:Tr(e)}})}function Qr(t,e,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===R.Native?_r(t,n.renderParent.nodeIndex).renderElement:void 0:e}var Xr=new WeakMap;function Zr(t){var e=Xr.get(t);return e||((e=t(function(){return Ar})).factory=t,Xr.set(t,e)),e}function Jr(t,e,n,r,i){3===e&&(n=t.renderer.parentNode(Gr(t,t.def.lastRenderRootNode))),ti(t,e,0,t.def.nodes.length-1,n,r,i)}function ti(t,e,n,r,i,o,a){for(var s=n;s<=r;s++){var l=t.def.nodes[s];11&l.flags&&ni(t,l,e,i,o,a),s+=l.childCount}}function ei(t,e,n,r,i,o){for(var a=t;a&&!qr(a);)a=a.parent;for(var s=a.parent,l=zr(a),c=l.nodeIndex+1,u=l.nodeIndex+l.childCount,p=c;p<=u;p++){var d=s.def.nodes[p];d.ngContentIndex===e&&ni(s,d,n,r,i,o),p+=d.childCount}if(!s.parent){var h=t.root.projectableNodes[e];if(h)for(p=0;p<h.length;p++)ri(t,h[p],n,r,i,o)}}function ni(t,e,n,r,i,o){if(8&e.flags)ei(t,e.ngContent.index,n,r,i,o);else{var a=Gr(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags){if(16&e.bindingFlags&&ri(t,a,n,r,i,o),32&e.bindingFlags)ri(_r(t,e.nodeIndex).componentView,a,n,r,i,o)}else ri(t,a,n,r,i,o);if(16777216&e.flags)for(var s=_r(t,e.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)Jr(s[l],n,r,i,o);1&e.flags&&!e.element.name&&ti(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,r,i,o)}}function ri(t,e,n,r,i,o){var a=t.renderer;switch(n){case 1:a.appendChild(r,e);break;case 2:a.insertBefore(r,e,i);break;case 3:a.removeChild(r,e);break;case 0:o.push(e)}}var ii=/^:([^:]+):(.+)$/;function oi(t){if(":"===t[0]){var e=t.match(ii);return[e[1],e[2]]}return["",t]}function ai(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function si(t){return null!=t?t.toString():""}function li(t,e,n){var r,i=n.element,o=t.root.selectorOrNode,a=t.renderer;if(t.parent||!o){r=i.name?a.createElement(i.name,i.ns):a.createComment("");var s=Qr(t,e,n);s&&a.appendChild(s,r)}else r=a.selectRootElement(o);if(i.attrs)for(var l=0;l<i.attrs.length;l++){var c=i.attrs[l],u=c[0],p=c[1],d=c[2];a.setAttribute(r,p,d,u)}return r}function ci(t,e,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],a=ui(t,n.nodeIndex,Wr(o.target,o.eventName)),s=o.target,l=t;"component"===o.target&&(s=null,l=e);var c=l.renderer.listen(s||r,o.eventName,a);t.disposables[n.outputIndex+i]=c}}function ui(e,n,r){return function(t){return Ur(e,n,r,t)}}function pi(t,e,n,r){if(!jr(t,e,n,r))return!1;var i,o,a,s,l,c,u,p,d,h,f=e.bindings[n],m=_r(t,e.nodeIndex),g=m.renderElement,y=f.name;switch(15&f.flags){case 1:!function(t,e,n,r,i,o){var a=e.securityContext,s=a?t.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=t.renderer;null!=o?l.setAttribute(n,i,s,r):l.removeAttribute(n,i,r)}(t,f,g,f.ns,y,r);break;case 2:u=g,p=y,d=r,h=t.renderer,d?h.addClass(u,p):h.removeClass(u,p);break;case 4:!function(t,e,n,r,i){var o=t.root.sanitizer.sanitize(mr.STYLE,i);if(null!=o){o=o.toString();var a=e.suffix;null!=a&&(o+=a)}else o=null;var s=t.renderer;null!=o?s.setStyle(n,r,o):s.removeStyle(n,r)}(t,f,g,y,r);break;case 8:var v=33554432&e.flags&&32&f.flags?m.componentView:t;i=v,o=g,a=y,s=r,l=f.securityContext,c=l?i.root.sanitizer.sanitize(l,s):s,i.renderer.setProperty(o,a,c)}return!0}var di=new Object,hi=Tr(it),fi=Tr(Pe);function mi(t,e,n){if(void 0===n&&(n=it.THROW_IF_NOT_FOUND),8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var r=e.tokenKey;switch(r){case hi:case fi:return t}var i=t._def.providersByKey[r];if(i){var o=t._providers[i.index];return void 0===o&&(o=t._providers[i.index]=gi(t,i)),o===di?void 0:o}return t._parent.get(e.token,n)}function gi(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(mi(t,n[0]));case 2:return new e(mi(t,n[0]),mi(t,n[1]));case 3:return new e(mi(t,n[0]),mi(t,n[1]),mi(t,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=mi(t,n[o]);return new(e.bind.apply(e,[void 0].concat(i)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(mi(t,n[0]));case 2:return e(mi(t,n[0]),mi(t,n[1]));case 3:return e(mi(t,n[0]),mi(t,n[1]),mi(t,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=mi(t,n[o]);return e.apply(void 0,i)}}(t,e.value,e.deps);break;case 2048:n=mi(t,e.deps[0]);break;case 256:n=e.value}return void 0===n?di:n}function yi(t,e,n,r){var i=e.viewContainer._embeddedViews;null==n&&(n=i.length),r.viewContainerParent=t,wi(i,n,r),function(t,e){var n=Hr(e);if(!n||n===t||16&e.state)return;e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]);r.push(e),function(t,e){if(4&e.flags)return;t.nodeFlags|=4,e.flags|=4;var n=e.parent;for(;n;)n.childFlags|=4,n=n.parent}(e.parent.def,e.parentNodeDef)}(e,r),Er.dirtyParentQueries(r),bi(e,0<n?i[n-1]:null,r)}function vi(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Ci(n,e),Er.dirtyParentQueries(r),_i(r),r}function bi(t,e,n){var r=e?Gr(e,e.def.lastRenderRootNode):t.renderElement;Jr(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function _i(t){Jr(t,3,null,null,void 0)}function wi(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Ci(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var xi=new Object;function Si(t){return t.viewDefFactory}var Ei=function(s){function t(t,e,n,r,i,o){var a=s.call(this)||this;return a.selector=t,a.componentType=e,a._inputs=r,a._outputs=i,a.ngContentSelectors=o,a.viewDefFactory=n,a}return n(t,s),Object.defineProperty(t.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e){var r=e[n];t.push({propName:n,templateName:r})}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs){var n=this._outputs[e];t.push({propName:e,templateName:n})}return t},enumerable:!0,configurable:!0}),t.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=Zr(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,a=Er.createRootView(t,e||[],n,i,r,xi),s=wr(a,o).instance;return n&&a.renderer.setAttribute(_r(a,0).renderElement,"ng-version",L.full),new ki(a,new Pi(a),s)},t}(be),ki=function(i){function t(t,e,n){var r=i.call(this)||this;return r._view=t,r._viewRef=e,r._component=n,r._elDef=r._view.def.nodes[0],r.hostView=e,r.changeDetectorRef=e,r.instance=n,r}return n(t,i),Object.defineProperty(t.prototype,"location",{get:function(){return new _n(_r(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ti(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},t}(ve);var Oi=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new _n(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Ti(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=zr(t),t=t.parent;return t?new Ti(t,e):new Ti(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;0<=t;t--){var e=vi(this._data,t);Er.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new Pi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof Oe||(i=o.get(Pe));var a=t.create(o,r,void 0,i);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t,r=n._view;return yi(this._view,this._data,e,r),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,a,s=this._embeddedViews.indexOf(t._view);return n=this._data,r=s,i=e,o=n.viewContainer._embeddedViews,a=o[r],Ci(o,r),null==i&&(i=o.length),wi(o,i,a),Er.dirtyParentQueries(a),_i(a),bi(n,0<i?o[i-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=vi(this._data,t);e&&Er.destroyView(e)},t.prototype.detach=function(t){var e=vi(this._data,t);return e?new Pi(e):null},t}();var Pi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Jr(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){Vr(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Er.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Er.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Er.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,_i(this._view),Er.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();var Ai=function(r){function t(t,e){var n=r.call(this)||this;return n._parentView=t,n._def=e,n}return n(t,r),t.prototype.createEmbeddedView=function(t){return new Pi(Er.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new _n(_r(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Pn);function Di(t,e){return new Ti(t,e)}var Ti=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){void 0===e&&(e=it.THROW_IF_NOT_FOUND);var n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Er.resolveDep(this.view,this.elDef,n,{flags:0,token:t,tokenKey:Tr(t)},e)},t}();var Mi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=oi(e),r=n[0],i=n[1],o=this.delegate.createElement(i,r);return t&&this.delegate.appendChild(t,o),o},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),r=this.delegate.nextSibling(t),i=0;i<e.length;i++)this.delegate.insertBefore(n,e[i],r)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var r=oi(e),i=r[0],o=r[1];null!=n?this.delegate.setAttribute(t,o,n,i):this.delegate.removeAttribute(t,o,i)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function Ii(t,e,n,r){return new Ri(t,e,n,r)}var Ri=function(){function t(t,e,n,r){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),r=0;r<e.providers.length;r++){var i=e.providers[r];4096&i.flags||(n[r]=gi(t,i))}}(this.injector=this)}return t.prototype.get=function(t,e){return void 0===e&&(e=it.THROW_IF_NOT_FOUND),mi(this,{token:t,tokenKey:Tr(t),flags:0},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(Ee)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+X(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var i=t._providers[r];i&&i!==di&&i.ngOnDestroy()}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),Ni=Tr(mn),Li=Tr(bn),ji=Tr(_n),Fi=Tr(An),Vi=Tr(Pn),Bi=Tr(Dn),Ui=Tr(it);function Hi(t,e,n,r,i,o,a,s,l){var c=$r(n),u=c.matchedQueries,p=c.references,d=c.matchedQueryIds;l||(l=[]),s||(s=[]),o=J(o);var h=Kr(a,X(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:u,matchedQueryIds:d,references:p,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:ai(s),outputs:l,element:null,provider:{token:i,value:o,deps:h},text:null,query:null,ngContent:null}}function zi(t,e){for(var n=t;n.parent&&!qr(n);)n=n.parent;return Yi(n.parent,zr(n),!0,e.provider.value,e.provider.deps)}function Gi(t,e){var n=0<(32768&e.flags),r=Yi(t,e.parent,n,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i<e.outputs.length;i++){var o=e.outputs[i],a=r[o.propName].subscribe(Wi(t,e.parent.nodeIndex,o.eventName));t.disposables[e.outputIndex+i]=a.unsubscribe.bind(a)}return r}function Wi(e,n,r){return function(t){return Ur(e,n,r,t)}}function qi(t,e){var n=0<(8192&e.flags),r=e.provider;switch(201347067&e.flags){case 512:return Yi(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Ki(t,e,n,i[0]));case 2:return r(Ki(t,e,n,i[0]),Ki(t,e,n,i[1]));case 3:return r(Ki(t,e,n,i[0]),Ki(t,e,n,i[1]),Ki(t,e,n,i[2]));default:for(var a=Array(o),s=0;s<o;s++)a[s]=Ki(t,e,n,i[s]);return r.apply(void 0,a)}}(t,e.parent,n,r.value,r.deps);case 2048:return Ki(t,e.parent,n,r.deps[0]);case 256:return r.value}}function Yi(t,e,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(Ki(t,e,n,i[0]));case 2:return new r(Ki(t,e,n,i[0]),Ki(t,e,n,i[1]));case 3:return new r(Ki(t,e,n,i[0]),Ki(t,e,n,i[1]),Ki(t,e,n,i[2]));default:for(var a=new Array(o),s=0;s<o;s++)a[s]=Ki(t,e,n,i[s]);return new(r.bind.apply(r,[void 0].concat(a)))}}var $i={};function Ki(t,e,n,r,i){if(void 0===i&&(i=it.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=t;2&r.flags&&(i=null);var a=r.tokenKey;for(a===Bi&&(n=!(!e||!e.element.componentView)),e&&1&r.flags&&(n=!1,e=e.parent);t;){if(e)switch(a){case Ni:var s=Qi(t,e,n);return new Mi(s.renderer);case Li:return(s=Qi(t,e,n)).renderer;case ji:return new _n(_r(t,e.nodeIndex).renderElement);case Fi:return _r(t,e.nodeIndex).viewContainer;case Vi:if(e.element.template)return _r(t,e.nodeIndex).template;break;case Bi:var l=Qi(t,e,n);return new Pi(l);case Ui:return Di(t,e);default:var c=(n?e.element.allProviders:e.element.publicProviders)[a];if(c){var u=wr(t,c.nodeIndex);return u||(u={instance:qi(t,c)},t.nodes[c.nodeIndex]=u),u.instance}}n=qr(t),e=zr(t),t=t.parent}var p=o.root.injector.get(r.token,$i);return p!==$i||i===$i?p:o.root.ngModule.injector.get(r.token,i)}function Qi(t,e,n){var r;if(n)r=_r(t,e.nodeIndex).componentView;else for(r=t;r.parent&&!qr(r);)r=r.parent;return r}function Xi(t,e,n,r,i,o){if(32768&n.flags){var a=_r(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}var s=n.bindings[r].name;if(e.instance[s]=i,524288&n.flags){o=o||{};var l=Bn.unwrap(t.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Un(l,i,0!=(2&t.state))}return t.oldValues[n.bindingIndex+r]=i,o}function Zi(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],a=o.parent;for(!a&&o.flags&e&&to(t,i,o.flags&e,r++),0==(o.childFlags&e)&&(i+=o.childCount);a&&1&a.flags&&i===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(r=Ji(t,a,e,r)),a=a.parent}}function Ji(t,e,n,r){for(var i=e.nodeIndex+1;i<=e.nodeIndex+e.childCount;i++){var o=t.def.nodes[i];o.flags&n&&to(t,i,o.flags&n,r++),i+=o.childCount}return r}function to(t,e,n,r){var i=wr(t,e);if(i){var o=i.instance;o&&(Er.setCurrentNode(t,e),1048576&n&&vr(t,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&vr(t,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function eo(t){for(var e,n=t.def.nodeMatchedQueries;t.parent&&((e=t).parent&&!(32768&e.parentNodeDef.flags));){var r=t.parentNodeDef;t=t.parent;for(var i=r.nodeIndex+r.childCount,o=0;o<=i;o++){67108864&(a=t.def.nodes[o]).flags&&536870912&a.flags&&(a.query.filterId&n)===a.query.filterId&&xr(t,o).setDirty(),!(1&a.flags&&o+a.childCount<r.nodeIndex)&&67108864&a.childFlags&&536870912&a.childFlags||(o+=a.childCount)}}if(134217728&t.def.nodeFlags)for(o=0;o<t.def.nodes.length;o++){var a;134217728&(a=t.def.nodes[o]).flags&&536870912&a.flags&&xr(t,o).setDirty(),o+=a.childCount}}function no(t,e){var n=xr(t,e.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&e.flags){var o=e.parent.parent;i=ro(t,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),r=wr(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(i=ro(t,0,t.def.nodes.length-1,e.query,[]),r=t.component);n.reset(i);for(var a=e.query.bindings,s=!1,l=0;l<a.length;l++){var c=a[l],u=void 0;switch(c.bindingType){case 0:u=n.first;break;case 1:u=n,s=!0}r[c.propName]=u}s&&n.notifyOnChanges()}}function ro(t,e,n,r,i){for(var o=e;o<=n;o++){var a=t.def.nodes[o],s=a.matchedQueries[r.id];if(null!=s&&i.push(io(t,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=_r(t,o);if((a.childMatchedQueries&r.filterId)===r.filterId&&(ro(t,o+1,o+a.childCount,r,i),o+=a.childCount),16777216&a.flags)for(var c=l.viewContainer._embeddedViews,u=0;u<c.length;u++){var p=c[u],d=Hr(p);d&&d===l&&ro(p,0,p.def.nodes.length-1,r,i)}var h=l.template._projectedViews;if(h)for(u=0;u<h.length;u++){var f=h[u];ro(f,0,f.def.nodes.length-1,r,i)}}(a.childMatchedQueries&r.filterId)!==r.filterId&&(o+=a.childCount)}return i}function io(t,e,n){if(null!=n)switch(n){case 1:return _r(t,e.nodeIndex).renderElement;case 0:return new _n(_r(t,e.nodeIndex).renderElement);case 2:return _r(t,e.nodeIndex).template;case 3:return _r(t,e.nodeIndex).viewContainer;case 4:return wr(t,e.nodeIndex).instance}}function oo(t,e,n){for(var r=new Array(n.length),i=0;i<n.length;i++){var o=n[i];r[i]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:ai(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ao(t,e,n){var r,i=t.renderer;r=i.createText(n.text.prefix);var o=Qr(t,e,n);return o&&i.appendChild(o,r),{renderText:r}}function so(t,e){return(null!=t?t.toString():"")+e.suffix}function lo(t){return 0!=(1&t.flags)&&null===t.element.name}function co(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function uo(t,e,n,r){var i=fo(t.root,t.renderer,t,e,n);return mo(i,t.component,r),go(i),i}function po(t,e,n){var r=fo(t,t.renderer,null,null,e);return mo(r,n,n),go(r),r}function ho(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,fo(t.root,i,t,e.element.componentProvider,n)}function fo(t,e,n,r,i){var o=new Array(i.nodes.length),a=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:a,initIndex:-1}}function mo(t,e,n){t.component=e,t.context=n}function go(t){var e;if(qr(t)){var n=t.parentNodeDef;e=_r(t.parent,n.parent.nodeIndex).renderElement}for(var r,i,o,a,s,l=t.def,c=t.nodes,u=0;u<l.nodes.length;u++){var p=l.nodes[u];Er.setCurrentNode(t,u);var d=void 0;switch(201347067&p.flags){case 1:var h=li(t,e,p),f=void 0;if(33554432&p.flags){var m=Zr(p.element.componentView);f=Er.createComponentView(t,p,m,h)}ci(t,f,p,h),d={renderElement:h,componentView:f,viewContainer:null,template:p.element.template?(a=t,s=p,new Ai(a,s)):void 0},16777216&p.flags&&(d.viewContainer=new Oi(t,p,d));break;case 2:d=ao(t,e,p);break;case 512:case 1024:case 2048:case 256:if(!((d=c[u])||4096&p.flags))d={instance:qi(t,p)};break;case 16:d={instance:zi(t,p)};break;case 16384:if(!(d=c[u]))d={instance:Gi(t,p)};if(32768&p.flags)mo(_r(t,p.parent.nodeIndex).componentView,d.instance,d.instance);break;case 32:case 64:case 128:d={value:void 0};break;case 67108864:case 134217728:d=new xn;break;case 8:void 0,(o=Qr(r=t,e,i=p))&&ei(r,i.ngContent.index,1,o,null,void 0),d=void 0}c[u]=d}Eo(t,So.CreateViewNodes),Ao(t,201326592,268435456,0)}function yo(t){_o(t),Er.updateDirectives(t,1),ko(t,So.CheckNoChanges),Er.updateRenderer(t,1),Eo(t,So.CheckNoChanges),t.state&=-97}function vo(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,yr(t,0,256),_o(t),Er.updateDirectives(t,0),ko(t,So.CheckAndUpdate),Ao(t,67108864,536870912,0);var e=yr(t,256,512);Zi(t,2097152|(e?1048576:0)),Er.updateRenderer(t,0),Eo(t,So.CheckAndUpdate),Ao(t,134217728,536870912,0),Zi(t,8388608|((e=yr(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,yr(t,768,1024)}function bo(t,e,n,r,i,o,a,s,l,c,u,p,d){return 0===n?function(t,e,n,r,i,o,a,s,l,c,u,p){switch(201347067&e.flags){case 1:return A=t,T=n,M=r,I=i,R=o,N=a,L=s,j=l,F=c,V=u,B=p,U=(D=e).bindings.length,H=!1,0<U&&pi(A,D,0,T)&&(H=!0),1<U&&pi(A,D,1,M)&&(H=!0),2<U&&pi(A,D,2,I)&&(H=!0),3<U&&pi(A,D,3,R)&&(H=!0),4<U&&pi(A,D,4,N)&&(H=!0),5<U&&pi(A,D,5,L)&&(H=!0),6<U&&pi(A,D,6,j)&&(H=!0),7<U&&pi(A,D,7,F)&&(H=!0),8<U&&pi(A,D,8,V)&&(H=!0),9<U&&pi(A,D,9,B)&&(H=!0),H;case 2:return function(t,e,n,r,i,o,a,s,l,c,u,p){var d=!1,h=e.bindings,f=h.length;if(0<f&&jr(t,e,0,n)&&(d=!0),1<f&&jr(t,e,1,r)&&(d=!0),2<f&&jr(t,e,2,i)&&(d=!0),3<f&&jr(t,e,3,o)&&(d=!0),4<f&&jr(t,e,4,a)&&(d=!0),5<f&&jr(t,e,5,s)&&(d=!0),6<f&&jr(t,e,6,l)&&(d=!0),7<f&&jr(t,e,7,c)&&(d=!0),8<f&&jr(t,e,8,u)&&(d=!0),9<f&&jr(t,e,9,p)&&(d=!0),d){var m=e.text.prefix;0<f&&(m+=so(n,h[0])),1<f&&(m+=so(r,h[1])),2<f&&(m+=so(i,h[2])),3<f&&(m+=so(o,h[3])),4<f&&(m+=so(a,h[4])),5<f&&(m+=so(s,h[5])),6<f&&(m+=so(l,h[6])),7<f&&(m+=so(c,h[7])),8<f&&(m+=so(u,h[8])),9<f&&(m+=so(p,h[9]));var g=br(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return d}(t,e,n,r,i,o,a,s,l,c,u,p);case 16384:return f=n,m=r,g=i,y=o,v=a,b=s,_=l,w=c,C=u,x=p,S=wr(d=t,(h=e).nodeIndex),E=S.instance,k=!1,O=void 0,0<(P=h.bindings.length)&&Lr(d,h,0,f)&&(k=!0,O=Xi(d,S,h,0,f,O)),1<P&&Lr(d,h,1,m)&&(k=!0,O=Xi(d,S,h,1,m,O)),2<P&&Lr(d,h,2,g)&&(k=!0,O=Xi(d,S,h,2,g,O)),3<P&&Lr(d,h,3,y)&&(k=!0,O=Xi(d,S,h,3,y,O)),4<P&&Lr(d,h,4,v)&&(k=!0,O=Xi(d,S,h,4,v,O)),5<P&&Lr(d,h,5,b)&&(k=!0,O=Xi(d,S,h,5,b,O)),6<P&&Lr(d,h,6,_)&&(k=!0,O=Xi(d,S,h,6,_,O)),7<P&&Lr(d,h,7,w)&&(k=!0,O=Xi(d,S,h,7,w,O)),8<P&&Lr(d,h,8,C)&&(k=!0,O=Xi(d,S,h,8,C,O)),9<P&&Lr(d,h,9,x)&&(k=!0,O=Xi(d,S,h,9,x,O)),O&&E.ngOnChanges(O),65536&h.flags&&vr(d,256,h.nodeIndex)&&E.ngOnInit(),262144&h.flags&&E.ngDoCheck(),k;case 32:case 64:case 128:return function(t,e,n,r,i,o,a,s,l,c,u,p){var d=e.bindings,h=!1,f=d.length;if(0<f&&jr(t,e,0,n)&&(h=!0),1<f&&jr(t,e,1,r)&&(h=!0),2<f&&jr(t,e,2,i)&&(h=!0),3<f&&jr(t,e,3,o)&&(h=!0),4<f&&jr(t,e,4,a)&&(h=!0),5<f&&jr(t,e,5,s)&&(h=!0),6<f&&jr(t,e,6,l)&&(h=!0),7<f&&jr(t,e,7,c)&&(h=!0),8<f&&jr(t,e,8,u)&&(h=!0),9<f&&jr(t,e,9,p)&&(h=!0),h){var m=Cr(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(d.length),0<f&&(g[0]=n),1<f&&(g[1]=r),2<f&&(g[2]=i),3<f&&(g[3]=o),4<f&&(g[4]=a),5<f&&(g[5]=s),6<f&&(g[6]=l),7<f&&(g[7]=c),8<f&&(g[8]=u),9<f&&(g[9]=p);break;case 64:g={},0<f&&(g[d[0].name]=n),1<f&&(g[d[1].name]=r),2<f&&(g[d[2].name]=i),3<f&&(g[d[3].name]=o),4<f&&(g[d[4].name]=a),5<f&&(g[d[5].name]=s),6<f&&(g[d[6].name]=l),7<f&&(g[d[7].name]=c),8<f&&(g[d[8].name]=u),9<f&&(g[d[9].name]=p);break;case 128:var y=n;switch(f){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,i);break;case 4:g=y.transform(r,i,o);break;case 5:g=y.transform(r,i,o,a);break;case 6:g=y.transform(r,i,o,a,s);break;case 7:g=y.transform(r,i,o,a,s,l);break;case 8:g=y.transform(r,i,o,a,s,l,c);break;case 9:g=y.transform(r,i,o,a,s,l,c,u);break;case 10:g=y.transform(r,i,o,a,s,l,c,u,p)}}m.value=g}return h}(t,e,n,r,i,o,a,s,l,c,u,p);default:throw"unreachable"}var d,h,f,m,g,y,v,b,_,w,C,x,S,E,k,O,P;var A,D,T,M,I,R,N,L,j,F,V,B,U,H}(t,e,r,i,o,a,s,l,c,u,p,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i<n.length;i++)pi(t,e,i,n[i])&&(r=!0);return r}(t,e,n);case 2:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)jr(t,e,o,n[o])&&(i=!0);if(i){var a="";for(o=0;o<n.length;o++)a+=so(n[o],r[o]);a=e.text.prefix+a;var s=br(t,e.nodeIndex).renderText;t.renderer.setValue(s,a)}return i}(t,e,n);case 16384:return function(t,e,n){for(var r=wr(t,e.nodeIndex),i=r.instance,o=!1,a=void 0,s=0;s<n.length;s++)Lr(t,e,s,n[s])&&(o=!0,a=Xi(t,r,e,s,n[s],a));return a&&i.ngOnChanges(a),65536&e.flags&&vr(t,256,e.nodeIndex)&&i.ngOnInit(),262144&e.flags&&i.ngDoCheck(),o}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var r=e.bindings,i=!1,o=0;o<n.length;o++)jr(t,e,o,n[o])&&(i=!0);if(i){var a=Cr(t,e.nodeIndex),s=void 0;switch(201347067&e.flags){case 32:s=n;break;case 64:for(s={},o=0;o<n.length;o++)s[r[o].name]=n[o];break;case 128:var l=n[0],c=n.slice(1);s=l.transform.apply(l,c)}a.value=s}return i}(t,e,n);default:throw"unreachable"}}(t,e,r)}function _o(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var r=e.nodes[n];if(4&r.flags){var i=_r(t,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.state|=32,Br(a,t)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function wo(t,e,n,r,i,o,a,s,l,c,u,p,d){return 0===n?function(t,e,n,r,i,o,a,s,l,c,u,p){var d=e.bindings.length;0<d&&Fr(t,e,0,n);1<d&&Fr(t,e,1,r);2<d&&Fr(t,e,2,i);3<d&&Fr(t,e,3,o);4<d&&Fr(t,e,4,a);5<d&&Fr(t,e,5,s);6<d&&Fr(t,e,6,l);7<d&&Fr(t,e,7,c);8<d&&Fr(t,e,8,u);9<d&&Fr(t,e,9,p)}(t,e,r,i,o,a,s,l,c,u,p,d):function(t,e,n){for(var r=0;r<n.length;r++)Fr(t,e,r,n[r])}(t,e,r),!1}function Co(t,e){if(xr(t,e.nodeIndex).dirty)throw kr(Er.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function xo(t){if(!(128&t.state)){if(ko(t,So.Destroy),Eo(t,So.Destroy),Zi(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=Hr(t);if(e){var n=e.template._projectedViews;n&&(Ci(n,n.indexOf(t)),Er.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var r=t.def.nodes[n];1&r.flags?t.renderer.destroyNode(_r(t,n).renderElement):2&r.flags?t.renderer.destroyNode(br(t,n).renderText):(67108864&r.flags||134217728&r.flags)&&xr(t,n).destroy()}}(t),qr(t)&&t.renderer.destroy(),t.state|=128}}var So={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};function Eo(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?Oo(_r(t,r).componentView,e):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function ko(t,e){var n=t.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=_r(t,r).viewContainer._embeddedViews,a=0;a<o.length;a++)Oo(o[a],e);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Oo(t,e){var n=t.state;switch(e){case So.CheckNoChanges:0==(128&n)&&(12==(12&n)?yo(t):64&n&&Po(t,So.CheckNoChangesProjectedViews));break;case So.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?yo(t):64&n&&Po(t,e));break;case So.CheckAndUpdate:0==(128&n)&&(12==(12&n)?vo(t):64&n&&Po(t,So.CheckAndUpdateProjectedViews));break;case So.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?vo(t):64&n&&Po(t,e));break;case So.Destroy:xo(t);break;case So.CreateViewNodes:go(t)}}function Po(t,e){ko(t,e),Eo(t,e)}function Ao(t,e,n,r){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var i=t.def.nodes.length,o=0;o<i;o++){var a=t.def.nodes[o];if(a.flags&e&&a.flags&n)switch(Er.setCurrentNode(t,a.nodeIndex),r){case 0:no(t,a);break;case 1:Co(t,a)}a.childFlags&e&&a.childFlags&n||(o+=a.childCount)}}So[So.CreateViewNodes]="CreateViewNodes",So[So.CheckNoChanges]="CheckNoChanges",So[So.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",So[So.CheckAndUpdate]="CheckAndUpdate",So[So.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",So[So.Destroy]="Destroy";var Do=!1;function To(){if(!Do){Do=!0;var t=nn()?{setCurrentNode:Jo,createRootView:Io,createEmbeddedView:No,createComponentView:Lo,createNgModuleRef:jo,overrideProvider:Bo,overrideComponentView:Uo,clearOverrides:Ho,checkAndUpdateView:qo,checkNoChangesView:Yo,destroyView:$o,createDebugContext:function(t,e){return new ua(t,e)},handleEvent:ta,updateDirectives:ea,updateRenderer:na}:{setCurrentNode:function(){},createRootView:Mo,createEmbeddedView:uo,createComponentView:ho,createNgModuleRef:Ii,overrideProvider:Ar,overrideComponentView:Ar,clearOverrides:Ar,checkAndUpdateView:vo,checkNoChangesView:yo,destroyView:xo,createDebugContext:function(t,e){return new ua(t,e)},handleEvent:function(t,e,n,r){return t.def.handleEvent(t,e,n,r)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Go:Wo,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Go:Wo,t)}};Er.setCurrentNode=t.setCurrentNode,Er.createRootView=t.createRootView,Er.createEmbeddedView=t.createEmbeddedView,Er.createComponentView=t.createComponentView,Er.createNgModuleRef=t.createNgModuleRef,Er.overrideProvider=t.overrideProvider,Er.overrideComponentView=t.overrideComponentView,Er.clearOverrides=t.clearOverrides,Er.checkAndUpdateView=t.checkAndUpdateView,Er.checkNoChangesView=t.checkNoChangesView,Er.destroyView=t.destroyView,Er.resolveDep=Ki,Er.createDebugContext=t.createDebugContext,Er.handleEvent=t.handleEvent,Er.updateDirectives=t.updateDirectives,Er.updateRenderer=t.updateRenderer,Er.dirtyParentQueries=eo}}function Mo(t,e,n,r,i,o){return po(Ro(t,i,i.injector.get(yn),e,n),r,o)}function Io(t,e,n,r,i,o){var a=i.injector.get(yn),s=Ro(t,i,new fa(a),e,n),l=zo(r);return da(Zo.create,po,null,[s,l,o])}function Ro(t,e,n,r,i){var o=e.injector.get(gr),a=e.injector.get(kt);return{ngModule:e,injector:t,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:n.createRenderer(null,null),errorHandler:a}}function No(t,e,n,r){var i=zo(n);return da(Zo.create,uo,null,[t,e,i,r])}function Lo(t,e,n,r){var i=Vo.get(e.element.componentProvider.provider.token);return n=i||zo(n),da(Zo.create,ho,null,[t,e,n,r])}function jo(t,e,n,r){return Ii(t,e,n,function(t){var e=function(t){var n=!1,r=!1;if(0===Fo.size)return{hasOverrides:n,hasDeprecatedOverrides:r};return t.providers.forEach(function(t){var e=Fo.get(t.token);3840&t.flags&&e&&(n=!0,r=r||e.deprecatedBehavior)}),{hasOverrides:n,hasDeprecatedOverrides:r}}(t),n=e.hasOverrides,i=e.hasDeprecatedOverrides;if(!n)return t;return function(t){for(var e=0;e<t.providers.length;e++){var n=t.providers[e];i&&(n.flags|=4096);var r=Fo.get(n.token);r&&(n.flags=-3841&n.flags|r.flags,n.deps=Kr(r.deps),n.value=r.value)}}(t=t.factory(function(){return Ar})),t}(r))}var Fo=new Map,Vo=new Map;function Bo(t){Fo.set(t.token,t)}function Uo(t,e){var n=Zr(Zr(Si(e)).nodes[0].element.componentView);Vo.set(t,n)}function Ho(){Fo.clear(),Vo.clear()}function zo(t){if(0===Fo.size)return t;var e=function(t){for(var e=[],n=null,r=0;r<t.nodes.length;r++){var i=t.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&Fo.has(i.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return Ar});for(var n=0;n<e.length;n++)r(t,e[n]);return t;function r(t,e){for(var n=e+1;n<t.nodes.length;n++){var r=t.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=Fo.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=Kr(o.deps),i.value=o.value)}}}}function Go(t,e,n,r,i,o,a,s,l,c,u,p,d){var h=t.def.nodes[e];return bo(t,h,n,r,i,o,a,s,l,c,u,p,d),224&h.flags?Cr(t,e).value:void 0}function Wo(t,e,n,r,i,o,a,s,l,c,u,p,d){var h=t.def.nodes[e];return wo(t,h,n,r,i,o,a,s,l,c,u,p,d),224&h.flags?Cr(t,e).value:void 0}function qo(t){return da(Zo.detectChanges,vo,null,[t])}function Yo(t){return da(Zo.checkNoChanges,yo,null,[t])}function $o(t){return da(Zo.destroy,xo,null,[t])}var Ko,Qo,Xo,Zo={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};function Jo(t,e){Qo=t,Xo=e}function ta(t,e,n,r){return Jo(t,e),da(Zo.handleEvent,t.def.handleEvent,null,[t,e,n,r])}function ea(t,a){if(128&t.state)throw Pr(Zo[Ko]);return Jo(t,la(t,0)),t.def.updateDirectives(function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var o=t.def.nodes[e];0===a?ra(t,o,n,r):ia(t,o,n,r);16384&o.flags&&Jo(t,la(t,e));return 224&o.flags?Cr(t,o.nodeIndex).value:void 0},t)}function na(t,a){if(128&t.state)throw Pr(Zo[Ko]);return Jo(t,ca(t,0)),t.def.updateRenderer(function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i];var o=t.def.nodes[e];0===a?ra(t,o,n,r):ia(t,o,n,r);3&o.flags&&Jo(t,ca(t,e));return 224&o.flags?Cr(t,o.nodeIndex).value:void 0},t)}function ra(t,e,n,r){if(bo.apply(void 0,[t,e,n].concat(r))){var i=1===n?r[0]:r;if(16384&e.flags){for(var o={},a=0;a<e.bindings.length;a++){var s=e.bindings[a],l=i[a];8&s.flags&&(o[oa(s.nonMinifiedName)]=sa(l))}var c=e.parent,u=_r(t,c.nodeIndex).renderElement;if(c.element.name)for(var p in o){null!=(l=o[p])?t.renderer.setAttribute(u,p,l):t.renderer.removeAttribute(u,p)}else t.renderer.setValue(u,"bindings="+JSON.stringify(o,null,2))}}}function ia(t,e,n,r){wo.apply(void 0,[t,e,n].concat(r))}function oa(t){return"ng-reflect-"+(t=t.replace(/[$@]/g,"_").replace(aa,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()}))}Zo[Zo.create]="create",Zo[Zo.detectChanges]="detectChanges",Zo[Zo.checkNoChanges]="checkNoChanges",Zo[Zo.destroy]="destroy",Zo[Zo.handleEvent]="handleEvent";var aa=/([A-Z])/g;function sa(t){try{return null!=t?t.toString().slice(0,30):t}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function la(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function ca(t,e){for(var n=e;n<t.def.nodes.length;n++){var r=t.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var ua=function(){function t(t,e){this.view=t,null==(this.nodeIndex=e)&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,r=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=zr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return _r(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return Di(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){pa(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&pa(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!qr(t);)t=t.parent;if(t.parent)return _r(t.parent,zr(t).nodeIndex);return null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Gr(this.view,this.nodeDef):Gr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var o=function(t,e){for(var n=-1,r=0;r<=e;r++){var i=t.nodes[r];3&i.flags&&n++}return n}(t,n),a=-1;t.factory(function(){return++a===o?(t=e.error).bind.apply(t,[e].concat(r)):Ar;var t}),a<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,r))},t}();function pa(t,e,n){for(var r in e.references)n[r]=io(t,e,e.references[r])}function da(t,e,n,r){var i,o,a=Ko,s=Qo,l=Xo;try{Ko=t;var c=e.apply(n,r);return Qo=s,Xo=l,Ko=a,c}catch(t){if(xt(t)||!Qo)throw t;throw i=t,o=ha(),i instanceof Error||(i=new Error(i.toString())),Or(i,o),i}}function ha(){return Qo?new ua(Qo,Xo):null}var fa=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new ma(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),ma=function(){function t(t){this.delegate=t,this.data=this.delegate.data}return t.prototype.destroyNode=function(t){var e;e=jn(t),Ln.delete(e.nativeNode),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),r=ha();if(r){var i=new Nn(n,null,r);i.name=t,Fn(i)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=ha();return n&&Fn(new Rn(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=ha();return n&&Fn(new Rn(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=jn(t),r=jn(e);n&&r&&n instanceof Nn&&n.addChild(r),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var r=jn(t),i=jn(e),o=jn(n);r&&i&&r instanceof Nn&&r.insertBefore(o,i),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=jn(t),r=jn(e);n&&r&&n instanceof Nn&&n.removeChild(r),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t){var e=this.delegate.selectRootElement(t),n=ha();return n&&Fn(new Nn(e,null,n)),e},t.prototype.setAttribute=function(t,e,n,r){var i=jn(t);if(i&&i instanceof Nn){var o=r?r+":"+e:e;i.attributes[o]=n}this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){var r=jn(t);if(r&&r instanceof Nn){var i=n?n+":"+e:e;r.attributes[i]=null}this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=jn(t);n&&n instanceof Nn&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=jn(t);n&&n instanceof Nn&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){var i=jn(t);i&&i instanceof Nn&&(i.styles[e]=n),this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){var r=jn(t);r&&r instanceof Nn&&(r.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var r=jn(t);r&&r instanceof Nn&&(r.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var r=jn(t);r&&r.listeners.push(new In(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();var ga=function(i){function t(t,e,n){var r=i.call(this)||this;return r.moduleType=t,r._bootstrapComponents=e,r._ngModuleDefFactory=n,r}return n(t,i),t.prototype.create=function(t){To();var e=Zr(this._ngModuleDefFactory);return Er.createNgModuleRef(this.moduleType,t||it.NULL,this._bootstrapComponents,e)},t}(Ae);function ya(t){return"string"==typeof t?'"'+t+'"':""+t}function va(t,e,n,r){t!=e&&wa(t,e,n,"==",r)}function ba(t,e){_a(t,null,e)}function _a(t,e,n){t==e&&wa(t,e,n,"!=")}function wa(t,e,n,r,i){throw void 0===i&&(i=ya),new Error("ASSERT: expected "+n+" "+r+" "+i(e)+" but was "+i(t)+"!")}function Ca(t,e){_a(t,null,"node"),va(3&t.flags,e,"Node.type",xa)}function xa(t){return 1==t?"Projection":0==t?"Container":2==t?"View":3==t?"Element":"??? "+t+" ???"}function Sa(t,e,n,r){ngDevMode&&Ca(t,0),ngDevMode&&Ca(e,2);var i=function(t){for(var e=t;e;){ngDevMode&&Ca(e,0);var n=e.data.renderParent;if(null!==n)return n.native;var r=e.parent;if(ngDevMode&&ba(r,"container.parent"),3==(3&r.flags))return null;ngDevMode&&Ca(r,2),e=r.parent}return null}(t),o=e.child;if(i)for(;o;){var a=3&o.flags,s=null,l=t.view.renderer,c=l.listen;if(3===a)n?c?l.insertBefore(i,o.native,r):i.insertBefore(o.native,r,!0):c?l.removeChild(i,o.native):i.removeChild(o.native),s=o.next;else if(0===a){var u=o.data;n?c?l.appendChild(i,o.native):i.appendChild(o.native):c?l.removeChild(i,o.native):i.removeChild(o.native),s=u.views.length?u.views[0].child:null}else s=1===a?o.data[0]:o.child;if(null===s){for(;o&&!o.next;)(o=o.parent)===e&&(o=null);o=o&&o.next}else o=s}}function Ea(t,e){var n=t.data.views,r=n[e];return 0<e&&ka(n[e-1],r.next),n.splice(e,1),function(t){for(var e=t;e;){var n=null;if(e.views&&e.views.length?n=e.views[0].data:e.child?n=e.child:e.next&&(Pa(e),n=e.next),null==n){for(;e&&!e.next;)Pa(e),e=Oa(e,t);Pa(e||t),n=e&&e.next}e=n}}(r.data),Sa(t,r,!1),t.query&&t.query.removeView(t,r,e),r}function ka(t,e){t.next=e,t.data.next=e?e.data:null}function Oa(t,e){var n;return(n=t.node)&&2==(3&n.flags)?n.parent.data:t.parent===e?null:t.parent}function Pa(t){if(t.cleanup){for(var e=t.cleanup,n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(e[n+1].removeEventListener(e[n],e[n+2],e[n+3]),n+=2):e[n].call(e[n+1]);t.cleanup=null}}function Aa(t,e,n){if(null!==e&&3==(3&t.flags)&&(t.view!==n||null===t.data)){var r=n.renderer;return r.listen?r.appendChild(t.native,e):t.native.appendChild(e),!0}return!1}function Da(t){return"function"==typeof t?t.name||t:"string"==typeof t?t:null==t?"":""+t}"undefined"==typeof ngDevMode&&("undefined"!=typeof window&&(window.ngDevMode=!0),"undefined"!=typeof self&&(self.ngDevMode=!0),void 0!==bs&&(bs.ngDevMode=!0));!function(){function t(){this.dirty=!1,this._valuesTree=null,this._values=null}Object.defineProperty(t.prototype,"length",{get:function(){return ngDevMode&&ba(this._values,"refreshed"),this._values.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){ngDevMode&&ba(this._values,"refreshed");var t=this._values;return t.length?t[0]:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){ngDevMode&&ba(this._values,"refreshed");var t=this._values;return t.length?t[t.length-1]:null},enumerable:!0,configurable:!0}),t.prototype._refresh=function(){return null===this._values&&(this._values=this._valuesTree,!0)},t.prototype.map=function(t){throw new Error("Method not implemented.")},t.prototype.filter=function(t){throw new Error("Method not implemented.")},t.prototype.find=function(t){throw new Error("Method not implemented.")},t.prototype.reduce=function(t,e){throw new Error("Method not implemented.")},t.prototype.forEach=function(t){throw new Error("Method not implemented.")},t.prototype.some=function(t){throw new Error("Method not implemented.")},t.prototype.toArray=function(){return ngDevMode&&ba(this._values,"refreshed"),this._values},t.prototype.toString=function(){throw new Error("Method not implemented.")},t.prototype.reset=function(t){throw new Error("Method not implemented.")},t.prototype.notifyOnChanges=function(){throw new Error("Method not implemented.")},t.prototype.setDirty=function(){throw new Error("Method not implemented.")},t.prototype.destroy=function(){throw new Error("Method not implemented.")}}();var Ta={Important:1,DashCase:2};Ta[Ta.Important]="Important",Ta[Ta.DashCase]="DashCase";var Ma,Ia,Ra,Na,La,ja,Fa,Va,Ba,Ua,Ha,za={createRenderer:function(t,e){return document}},Ga="__ngHostLNode__";function Wa(t,e){var n=ja;return Ba=t.data,Ua=t.bindingStartIndex||0,La=t.ngStaticData,Va=t.creationMode,Ha=t.viewHookStartIndex,t.cleanup,Ma=t.renderer,null!=e&&(Ra=e,Na=!0),ja=t,n}function qa(t){!function(){if(null==Ha)return;var t=Ha,e=t;for(;t<Ba.length;)Ba[t+1].call(Ba[t+2]),16===Ba[t]&&(e<t&&(Ba[e]=Ba[t],Ba[e+1]=Ba[t+1],Ba[e+2]=Ba[t+2]),e+=3),t+=3;Ba.length=e}(),Wa(t,null)}function Ya(t,e,n){return{parent:ja,id:t,node:null,data:[],ngStaticData:n,cleanup:null,renderer:e,child:null,tail:null,next:null,bindingStartIndex:null,creationMode:!0,viewHookStartIndex:null}}function $a(t,e,n,r){var i=Na?Ra:Ra&&Ra.parent,o=(Na?Fa:Ra&&Ra.query)||i&&i.query&&i.query.child(),a=null!=r,s={flags:e,native:n,view:ja,parent:i,child:null,next:null,nodeInjector:i?i.nodeInjector:null,data:a?r:null,query:o,staticData:null};return 2==(2&e)&&a&&(ngDevMode&&va(r.node,null,"viewState.node"),r.node=s),null!=t&&(ngDevMode&&va(Ba.length,t,"data.length not in sequence"),Ba[t]=s,t>=La.length?La[t]=null:s.staticData=La[t],Na?(Fa=null,Ra.view!==ja&&2!=(3&Ra.flags)||(ngDevMode&&va(Ra.child,null,"previousNode.child"),Ra.child=s)):Ra&&(ngDevMode&&va(Ra.next,null,"previousNode.next"),Ra.next=s)),Na=!0,Ra=s}function Ka(t){return t.ngStaticData||(t.ngStaticData=[])}function Qa(t,e){return new Error("Renderer: "+t+" ["+Da(e)+"]")}function Xa(t,e){Na=!1,Ra=null,$a(0,3,t,Ya(-1,Ma,Ka(e.template)))}function Za(t,e,n,r){return{tagName:t,attrs:e,localNames:r?[r,-1]:null,initialInputs:void 0,inputs:void 0,outputs:void 0,containerStatic:n}}function Ja(t,e){ngDevMode&&va(ja.bindingStartIndex,null,"bindingStartIndex");var n=null!=e?Ma.createText?Ma.createText(Da(e)):Ma.createTextNode(Da(e)):null,r=$a(t,3,n);Na=!1,Aa(r.parent,n,ja)}function ts(t,e,n,r){var i;if(null==e)ngDevMode&&as(t),i=Ba[t];else{ngDevMode&&va(ja.bindingStartIndex,null,"bindingStartIndex"),ngDevMode&&va(Na,!0,"isParent");var o=Ra.flags;if(0===(4092&o)?o=t<<12|4|3&o:o+=4,Ra.flags=o,ngDevMode&&as(t-1),Object.defineProperty(e,Ga,{enumerable:!1,value:Ra}),Ba[t]=i=e,t>=La.length&&(La[t]=n,r)){ngDevMode&&ba(Ra.staticData,"previousOrParentNode.staticData");var a=Ra.staticData;(a.localNames||(a.localNames=[])).push(r,t)}var s=n.diPublic;s&&s(n);var l=Ra.staticData;l&&l.attrs&&function(t,e,n){var r=((4092&Ra.flags)>>2)-1,i=n.initialInputs;(void 0===i||r>=i.length)&&(i=function(t,e,n){var r=n.initialInputs||(n.initialInputs=[]);r[t]=null;for(var i=n.attrs,o=0;o<i.length;o+=2){var a=i[o],s=e[a];if(void 0!==s){var l=r[t]||(r[t]=[]);l.push(s,i[1|o])}}return r}(r,e,n));var o=i[r];if(o)for(var a=0;a<o.length;a+=2)t[o[a]]=o[1|a]}(i,n.inputs,l)}return i}ja=Ya(null,null,[]);var es=function(t,e,n){ngDevMode&&as(e);var r=Ba[e];ngDevMode&&Ca(r,3),ngDevMode&&_a(r.data,null,"isComponent"),ngDevMode&&as(t);var i=r.data;ngDevMode&&_a(i,null,"hostView");var o=Ba[t],a=Wa(i,r);try{n(o,Va)}finally{i.creationMode=!1,qa(a)}};function ns(t){return ja.tail?ja.tail.next=t:ja.child=t,ja.tail=t}var rs={};function is(t){var e,n,r;return(e=Va)?("number"!=typeof ja.bindingStartIndex&&(Ua=ja.bindingStartIndex=Ba.length),Ba[Ua++]=t):((e=t!==rs&&(n=Ba[Ua],r=t,!(n!=n&&r!=r)&&n!==r))&&(Ba[Ua]=t),Ua++),e?t:rs}function os(){_a(Ra.parent,null,"isParent")}function as(t,e){var n,r,i;null==e&&(e=Ba),n=e?e.length:0,i="data.length",n<(r=t)&&wa(n,r,i,">")}function ss(t){ngDevMode&&ba(t,"component");var e=t[Ga];ngDevMode&&!e&&Qa("Not a directive instance",t),ngDevMode&&ba(e.data,"hostNode.data"),function(t,e,n,r){var i=Wa(e,t);try{Ia.begin&&Ia.begin(),r?(La=r.ngStaticData||(r.ngStaticData=[]),r(n,Va)):n.constructor.ngComponentDef.r(1,0)}finally{Ia.end&&Ia.end(),e.creationMode=!1,qa(i)}}(e,e.view,t),!1}var ls={};function cs(){}function us(t){if(null==t)return ls;var e={};for(var n in t)e[t[n]]=n;return e}function ps(t,e){return{type:7,name:t,definitions:e,options:{}}}function ds(t,e){return void 0===e&&(e=null),{type:4,styles:e,timings:t}}function hs(t,e){return void 0===e&&(e=null),{type:3,steps:t,options:e}}function fs(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function ms(t){return{type:6,styles:t,offset:null}}function gs(t,e,n){return{type:0,name:t,styles:e,options:n}}function ys(t){return{type:5,steps:t}}function vs(t,e,n){return void 0===n&&(n=null),{type:1,expr:t,animation:e,options:n}}t.createPlatform=on,t.assertPlatform=sn,t.destroyPlatform=function(){Xe&&!Xe.destroyed&&Xe.destroy()},t.getPlatform=ln,t.PlatformRef=cn,t.ApplicationRef=pn,t.enableProdMode=function(){if(tn)throw new Error("Cannot enable prod mode after platform setup.");Je=!1},t.isDevMode=nn,t.createPlatformFactory=an,t.NgProbeToken=rn,t.APP_ID=ie,t.PACKAGE_ROOT_URL=pe,t.PLATFORM_INITIALIZER=le,t.PLATFORM_ID=ce,t.APP_BOOTSTRAP_LISTENER=ue,t.APP_INITIALIZER=ne,t.ApplicationInitStatus=re,t.DebugElement=Nn,t.DebugNode=Rn,t.asNativeElements=function(t){return t.map(function(t){return t.nativeElement})},t.getDebugNode=jn,t.Testability=Ke,t.TestabilityRegistry=Qe,t.setTestabilityGetter=function(t){Ze=t},t.TRANSLATIONS=lr,t.TRANSLATIONS_FORMAT=cr,t.LOCALE_ID=sr,t.MissingTranslationStrategy=ur,t.ApplicationModule=fr,t.wtfCreateScope=je,t.wtfLeave=Fe,t.wtfStartTimeRange=Ve,t.wtfEndTimeRange=Be,t.Type=It,t.EventEmitter=Ue,t.ErrorHandler=kt,t.Sanitizer=gr,t.SecurityContext=mr,t.ANALYZE_FOR_ENTRY_COMPONENTS=y,t.Attribute=v,t.ContentChild=w,t.ContentChildren=_,t.Query=b,t.ViewChild=x,t.ViewChildren=C,t.Component=O,t.Directive=k,t.HostBinding=T,t.HostListener=M,t.Input=A,t.Output=D,t.Pipe=P,t.CUSTOM_ELEMENTS_SCHEMA={name:"custom-elements"},t.NO_ERRORS_SCHEMA={name:"no-errors-schema"},t.NgModule=I,t.ViewEncapsulation=R,t.Version=N,t.VERSION=L,t.forwardRef=Z,t.resolveForwardRef=J,t.Injector=it,t.ReflectiveInjector=Jt,t.ResolvedReflectiveFactory=Wt,t.ReflectiveKey=Tt,t.InjectionToken=d,t.Inject=j,t.Optional=F,t.Injectable=V,t.Self=B,t.SkipSelf=U,t.Host=H,t.NgZone=He,t.RenderComponentType=hn,t.Renderer=mn,t.Renderer2=bn,t.RendererFactory2=yn,t.RendererStyleFlags2=vn,t.RootRenderer=gn,t.COMPILER_OPTIONS=ge,t.Compiler=me,t.CompilerFactory=ye,t.ModuleWithComponentFactories=he,t.ComponentFactory=be,t.ComponentRef=ve,t.ComponentFactoryResolver=Ee,t.ElementRef=_n,t.NgModuleFactory=Ae,t.NgModuleRef=Pe,t.NgModuleFactoryLoader=wn,t.getModuleFactory=function(t){var e=Cn.get(t);if(!e)throw new Error("No module with ID "+t+" loaded");return e},t.QueryList=xn,t.SystemJsNgModuleLoader=kn,t.SystemJsNgModuleLoaderConfig=Sn,t.TemplateRef=Pn,t.ViewContainerRef=An,t.EmbeddedViewRef=Mn,t.ViewRef=Tn,t.ChangeDetectionStrategy=S,t.ChangeDetectorRef=Dn,t.DefaultIterableDiffer=qn,t.IterableDiffers=tr,t.KeyValueDiffers=er,t.SimpleChange=Un,t.WrappedValue=Bn,t.platformCore=ar,t.ɵALLOW_MULTIPLE_PLATFORMS=en,t.ɵAPP_ID_RANDOM_PROVIDER=ae,t.ɵdevModeEqual=Vn,t.ɵisListLikeIterable=Hn,t.ɵChangeDetectorStatus=E,t.ɵisDefaultChangeDetectionStrategy=function(t){return null==t||t===S.Default},t.ɵConsole=de,t.ɵComponentFactory=be,t.ɵCodegenComponentFactoryResolver=ke,t.ɵReflectionCapabilities=Ft,t.ɵRenderDebugInfo=fn,t.ɵglobal=W,t.ɵlooseIdentical=Q,t.ɵstringify=X,t.ɵmakeDecorator=o,t.ɵisObservable=function(t){return!!t&&"function"==typeof t.subscribe},t.ɵisPromise=ee,t.ɵclearOverrides=function(){return To(),Er.clearOverrides()},t.ɵoverrideComponentView=function(t,e){return To(),Er.overrideComponentView(t,e)},t.ɵoverrideProvider=function(t){return To(),Er.overrideProvider(t)},t.ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR=$i,t.ɵdefineComponent=function(n){var e={type:n.type,diPublic:null,n:n.factory,tag:n.tag||null,template:n.template||null,r:n.refresh||function(t,e){es(t,e,n.template)},h:n.hostBindings||cs,inputs:us(n.inputs),outputs:us(n.outputs),methods:us(n.methods),rendererType:Nr(n.rendererType)||null},t=n.features;return t&&t.forEach(function(t){return t(e)}),e},t.ɵdetectChanges=ss,t.ɵrenderComponent=function(t,e){void 0===e&&(e={});var n,r=e.rendererFactory||za,i=t.ngComponentDef,o=function(t,e){ngDevMode&&as(-1);var n=(Ia=t).createRenderer(null,null),r="string"==typeof e?n.selectRootElement?n.selectRootElement(e):n.querySelector(e):e;if(ngDevMode&&!r)throw Qa("string"==typeof e?"Host node with selector not found:":"Host node is required:",e);return r}(r,e.host||i.tag),a=Wa(Ya(-1,r.createRenderer(o,i.rendererType),[]),null);try{Xa(o,i),n=ts(1,i.n(),i)}finally{qa(a)}return e.features&&e.features.forEach(function(t){return t(n,i)}),ss(n),n},t.ɵC=function(t,e,n,r,i){ngDevMode&&va(ja.bindingStartIndex,null,"bindingStartIndex");var o=Ma.createComment(ngDevMode?"container":""),a=null,s=Na?Ra:Ra.parent;ngDevMode&&_a(s,null,"currentParent"),Aa(s,o,ja)&&(a=s);var l=$a(t,0,o,{views:[],nextIndex:0,renderParent:a,template:null==e?null:e,next:null,parent:ja});null==l.staticData&&(l.staticData=La[t]=Za(n||null,r||null,[],i||null)),ns(l.data)},t.ɵD=ts,t.ɵE=function(t,e,n,r){var i,o;if(null==e){var a=Ba[t];o=a&&a.native}else{ngDevMode&&va(ja.bindingStartIndex,null,"bindingStartIndex");var s="string"!=typeof e,l=s?e.tag:e;if(null===l)throw"for now name is required";o=Ma.createElement(l);var c=null;if(s){var u=Ka(e.template);c=ns(Ya(-1,Ia.createRenderer(o,e.rendererType),u))}null==(i=$a(t,3,o,c)).staticData&&(ngDevMode&&as(t-1),i.staticData=La[t]=Za(l,n||null,null,r||null)),n&&function(t,e){ngDevMode&&va(e.length%2,0,"attrs.length % 2");for(var n=Ma.setAttribute,r=0;r<e.length;r+=2)n?Ma.setAttribute(t,e[r],e[1|r]):t.setAttribute(e[r],e[1|r])}(o,n),Aa(i.parent,o,ja)}return o},t.ɵT=Ja,t.ɵV=function(t){var e=Na?Ra:Ra.parent;ngDevMode&&Ca(e,0);var n=e.data,r=n.views,i=!Va&&n.nextIndex<r.length&&r[n.nextIndex],o=i&&t===i.data.id;if(o)Ra=r[n.nextIndex++],ngDevMode&&Ca(Ra,2),Na=!0,Wa(i.data,Ra);else{var a=Ya(t,Ma,function(t,e){ngDevMode&&Ca(e,0);var n=e.staticData.containerStatic;return(t>=n.length||null==n[t])&&(n[t]=[]),n[t]}(t,e));Wa(a,$a(null,2,null,a)),n.nextIndex++}return!o},t.ɵb=is,t.ɵb1=function(t,e,n){return is(e)===rs?rs:t+Da(e)+n},t.ɵc=function(){Na?Na=!1:(ngDevMode&&os(),Ra=Ra.parent),ngDevMode&&Ca(Ra,0);var t=Ra.query;t&&t.addNode(Ra)},t.ɵcR=function(t){ngDevMode&&as(t),Ra=Ba[t],ngDevMode&&Ca(Ra,0),Na=!0,Ra.data.nextIndex=0},t.ɵcr=function(){Na?Na=!1:(ngDevMode&&Ca(Ra,2),ngDevMode&&os(),Ra=Ra.parent),ngDevMode&&Ca(Ra,0);var t=Ra;ngDevMode&&Ca(t,0);for(var e=t.data.nextIndex;e<t.data.views.length;)Ea(t,e)},t.ɵe=function(){Na?Na=!1:(ngDevMode&&os(),Ra=Ra.parent),ngDevMode&&Ca(Ra,3);var t=Ra.query;t&&t.addNode(Ra)},t.ɵp=function(t,e,n){if(n!==rs){var r=Ba[t],i=r.staticData;void 0===i.inputs&&(i.inputs=null,i=function(t,e,n){void 0===n&&(n=!1);for(var r=t>>12,i=r,o=r+((4092&t)>>2);i<o;i++){var a=La[i],s=n?a.inputs:a.outputs;for(var l in s)if(s.hasOwnProperty(l)){var c=s[l],u=n?e.inputs||(e.inputs={}):e.outputs||(e.outputs={}),p=u.hasOwnProperty(l);p?u[l].push(i,c):u[l]=[i,c]}}return e}(r.flags,i,!0));var o,a=i.inputs;if(a&&(o=a[e]))!function(t,e){for(var n=0;n<t.length;n+=2)ngDevMode&&as(t[n]),Ba[t[n]][t[1|n]]=e}(o,n);else{var s=r.native;Ma.setProperty?Ma.setProperty(s,e,n):s.setProperty?s.setProperty(e,n):s[e]=n}}},t.ɵs=function(t,e,n,r){if(n!==rs){var i=Ba[t];null==n?Ma.removeStyle?Ma.removeStyle(i.native,e,Ta.DashCase):i.native.style.removeProperty(e):Ma.setStyle?Ma.setStyle(i.native,e,r?Da(n)+r:Da(n),Ta.DashCase):i.native.style.setProperty(e,r?Da(n)+r:Da(n))}},t.ɵt=function(t,e){var n=t<Ba.length&&Ba[t];n&&n.native?e!==rs&&(Ma.setValue?Ma.setValue(n.native,Da(e)):n.native.textContent=Da(e)):n?(n.native=Ma.createText?Ma.createText(Da(e)):Ma.createTextNode(Da(e)),function(t,e){var n=t.parent;if(3==(3&n.flags)&&(n.view!==e||null===n.data)){for(var r=t.next,i=null;r&&null===(i=r.native);)r=r.next;var o=e.renderer;o.listen?o.insertBefore(n.native,t.native,i):n.native.insertBefore(t.native,i,!1)}}(n,ja)):Ja(t,e)},t.ɵv=function(){Na=!1;var t=Ra=ja.node,e=Ra.parent;ngDevMode&&Ca(t,2),ngDevMode&&Ca(e,0);var n,r,i,o,a,s,l,c,u,p=e.data,d=p.nextIndex<=p.views.length?p.views[p.nextIndex-1]:null;(null==d||d.data.id!==t.data.id)&&(n=e,r=t,i=p.nextIndex-1,c=n.data,u=c.views,0<i&&ka(u[i-1],r),i<u.length&&u[i].data.id!==r.data.id?(ka(r,u[i]),u.splice(i,0,r)):i>=u.length&&u.push(r),c.nextIndex<=i&&c.nextIndex++,null!==n.data.renderParent&&Sa(n,r,!0,(o=i,a=c,s=n.native,l=a.views,o+1<l.length?l[o+1].child.native:s)),n.query&&n.query.insertView(n,r,i),ja.creationMode=!1),qa(ja.parent),ngDevMode&&va(Na,!1,"isParent"),ngDevMode&&Ca(Ra,2)},t.ɵregisterModuleFactory=function(t,e){var n=Cn.get(t);if(n)throw new Error("Duplicate module registered for "+t+" - "+n.moduleType.name+" vs "+e.moduleType.name);Cn.set(t,e)},t.ɵEMPTY_ARRAY=[],t.ɵEMPTY_MAP={},t.ɵand=function(t,e,n,r,i,o){t|=1;var a=$r(e),s=a.matchedQueries,l=a.references;return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s,matchedQueryIds:a.matchedQueryIds,references:l,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?Zr(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Ar},provider:null,text:null,query:null,ngContent:null}},t.ɵccf=function(t,e,n,r,i,o){return new Ei(t,e,n,r,i,o)},t.ɵcmf=function(t,e,n){return new ga(t,e,n)},t.ɵcrt=function(t){return{id:Mr,styles:t.styles,encapsulation:t.encapsulation,data:t.data}},t.ɵdid=function(t,e,n,r,i,o,a,s){var l=[];if(a)for(var c in a){var u=a[c],p=u[0],d=u[1];l[p]={flags:8,name:c,nonMinifiedName:d,ns:null,securityContext:null,suffix:null}}var h=[];if(s)for(var f in s)h.push({type:1,propName:f,target:null,eventName:s[f]});return Hi(t,e|=16384,n,r,i,i,o,l,h)},t.ɵeld=function(t,e,n,r,i,o,a,s,l,c,u,p){void 0===a&&(a=[]),c||(c=Ar);var d=$r(n),h=d.matchedQueries,f=d.references,m=d.matchedQueryIds,g=null,y=null;o&&(g=(I=oi(o))[0],y=I[1]),s=s||[];for(var v=new Array(s.length),b=0;b<s.length;b++){var _=s[b],w=_[0],C=_[1],x=_[2],S=oi(C),E=S[0],k=S[1],O=void 0,P=void 0;switch(15&w){case 4:P=x;break;case 1:case 8:O=x}v[b]={flags:w,ns:E,name:k,nonMinifiedName:k,securityContext:O,suffix:P}}l=l||[];var A=new Array(l.length);for(b=0;b<l.length;b++){var D=l[b],T=D[0],M=D[1];A[b]={type:0,target:T,eventName:M,propName:null}}var I,R=(a=a||[]).map(function(t){var e=t[0],n=t[1],r=oi(e);return[r[0],r[1],n]});return p=Nr(p),u&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:m,references:f,ngContentIndex:r,childCount:i,bindings:v,bindingFlags:ai(v),outputs:A,element:{ns:g,name:y,attrs:R,template:null,componentProvider:null,componentView:u||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Ar},provider:null,text:null,query:null,ngContent:null}},t.ɵelementEventFullName=Wr,t.ɵgetComponentViewDefinitionFactory=Si,t.ɵinlineInterpolate=function(t,e,n,r,i,o,a,s,l,c,u,p,d,h,f,m,g,y,v,b){switch(t){case 1:return e+si(n)+r;case 2:return e+si(n)+r+si(i)+o;case 3:return e+si(n)+r+si(i)+o+si(a)+s;case 4:return e+si(n)+r+si(i)+o+si(a)+s+si(l)+c;case 5:return e+si(n)+r+si(i)+o+si(a)+s+si(l)+c+si(u)+p;case 6:return e+si(n)+r+si(i)+o+si(a)+s+si(l)+c+si(u)+p+si(d)+h;case 7:return e+si(n)+r+si(i)+o+si(a)+s+si(l)+c+si(u)+p+si(d)+h+si(f)+m;case 8:return e+si(n)+r+si(i)+o+si(a)+s+si(l)+c+si(u)+p+si(d)+h+si(f)+m+si(g)+y;case 9:return e+si(n)+r+si(i)+o+si(a)+s+si(l)+c+si(u)+p+si(d)+h+si(f)+m+si(g)+y+si(v)+b;default:throw new Error("Does not support more than 9 expressions")}},t.ɵinterpolate=function(t,e){for(var n="",r=0;r<2*t;r+=2)n=n+e[r]+si(e[r+1]);return n+e[2*t]},t.ɵmod=function(t){for(var e={},n=0;n<t.length;n++){var r=t[n];r.index=n,e[Tr(r.token)]=r}return{factory:null,providersByKey:e,providers:t}},t.ɵmpd=function(t,e,n,r){return n=J(n),{index:-1,deps:Kr(r,X(e)),flags:t,token:e,value:n}},t.ɵncd=function(t,e){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}},t.ɵnov=function(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=_r(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return br(t,n.nodeIndex).renderText;if(20240&n.flags)return wr(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)},t.ɵpid=function(t,e,n){return Hi(-1,t|=16,null,0,e,e,n)},t.ɵprd=function(t,e,n,r,i){return Hi(-1,t,e,0,n,r,i)},t.ɵpad=function(t,e){return oo(32,t,new Array(e))},t.ɵpod=function(t,e){for(var n=Object.keys(e),r=n.length,i=new Array(r),o=0;o<r;o++){var a=n[o];i[e[a]]=a}return oo(64,t,i)},t.ɵppd=function(t,e){return oo(128,t,new Array(e+1))},t.ɵqud=function(t,e,n){var r=[];for(var i in n){var o=n[i];r.push({propName:i,bindingType:o})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:e,filterId:Yr(e),bindings:r},ngContent:null}},t.ɵted=function(t,e,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}},t.ɵunv=function(t,e,n,r){if(Bn.isWrapped(r)){r=Bn.unwrap(r);var i=t.def.nodes[e].bindingIndex+n,o=Bn.unwrap(t.oldValues[i]);t.oldValues[i]=new Bn(o)}return r},t.ɵvid=function(t,i,e,n){for(var r=0,o=0,a=0,s=0,l=0,c=null,u=null,p=!1,d=!1,h=null,f=0;f<i.length;f++){var m=i[f];if(m.nodeIndex=f,m.parent=c,m.bindingIndex=r,m.outputIndex=o,m.renderParent=u,a|=m.flags,l|=m.matchedQueryIds,m.element){var g=m.element;g.publicProviders=c?c.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,d=p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(co(c,m,i.length),r+=m.bindings.length,o+=m.outputs.length,!u&&3&m.flags&&(h=m),20224&m.flags){p||(p=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var y=0!=(8192&m.flags),v=0!=(32768&m.flags);!y||v?c.element.publicProviders[Tr(m.provider.token)]=m:(d||(d=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Tr(m.provider.token)]=m),v&&(c.element.componentProvider=m)}if(c?(c.childFlags|=m.flags,c.directChildFlags|=m.flags,c.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(c.childMatchedQueries|=m.element.template.nodeMatchedQueries)):s|=m.flags,0<m.childCount)lo(c=m)||(u=m);else for(;c&&f===c.nodeIndex+c.childCount;){var b=c.parent;b&&(b.childFlags|=c.childFlags,b.childMatchedQueries|=c.childMatchedQueries),u=(c=b)&&lo(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:i,updateDirectives:e||Ar,updateRenderer:n||Ar,handleEvent:function(t,e,n,r){return i[e].element.handleEvent(t,n,r)},bindingCount:r,outputCount:o,lastRenderRootNode:h}},t.AUTO_STYLE="*",t.trigger=function(t,e){return ps(t,e)},t.animate=function(t,e){return ds(t,e)},t.group=function(t){return hs(t)},t.sequence=function(t){return fs(t)},t.style=function(t){return ms(t)},t.state=function(t,e){return gs(t,e)},t.keyframes=function(t){return ys(t)},t.transition=function(t,e){return vs(t,e)},t.ɵbf=ds,t.ɵbg=hs,t.ɵbk=ys,t.ɵbh=fs,t.ɵbj=gs,t.ɵbi=ms,t.ɵbl=vs,t.ɵbe=ps,t.ɵn=pr,t.ɵo=dr,t.ɵq=hr,t.ɵi=oe,t.ɵj=ir,t.ɵk=or,t.ɵl=Gn,t.ɵm=Xn,t.ɵf=te,t.ɵg=Ht,t.ɵh=$t,t.ɵr=Ne,t.ɵw=Te,t.ɵu=De,t.ɵz=Re,t.ɵx=Me,t.ɵy=Ie,t.ɵbc=Da,t.ɵa=m,t.ɵd=g,t.ɵba=Hi,t.ɵbb=Sr,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof i&&void 0!==r?e(i,n("rxjs/Observable"),n("rxjs/observable/merge"),n("rxjs/operator/share"),n("rxjs/Subject"),n("rxjs/Subscription")):e((t.ng=t.ng||{},t.ng.core={}),t.Rx,t.Rx.Observable,t.Rx.Observable.prototype,t.Rx,t.Rx)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"rxjs/Observable":75,"rxjs/Subject":79,"rxjs/Subscription":82,"rxjs/observable/merge":106,"rxjs/operator/share":121}],65:[function(t,e,n){var r,i;r=this,i=function(t,a,o,n,s,i){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function l(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var c=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},e=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(e);function p(t){return null==t||0===t.length}var d=new a.InjectionToken("NgValidators"),h=new a.InjectionToken("NgAsyncValidators"),f=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,m=function(){function e(){}return e.min=function(n){return function(t){if(p(t.value)||p(n))return null;var e=parseFloat(t.value);return!isNaN(e)&&e<n?{min:{min:n,actual:t.value}}:null}},e.max=function(n){return function(t){if(p(t.value)||p(n))return null;var e=parseFloat(t.value);return!isNaN(e)&&n<e?{max:{max:n,actual:t.value}}:null}},e.required=function(t){return p(t.value)?{required:!0}:null},e.requiredTrue=function(t){return!0===t.value?null:{required:!0}},e.email=function(t){return f.test(t.value)?null:{email:!0}},e.minLength=function(n){return function(t){if(p(t.value))return null;var e=t.value?t.value.length:0;return e<n?{minlength:{requiredLength:n,actualLength:e}}:null}},e.maxLength=function(n){return function(t){var e=t.value?t.value.length:0;return n<e?{maxlength:{requiredLength:n,actualLength:e}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(t){if(p(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):e.nullValidator;var n,r},e.nullValidator=function(t){return null},e.compose=function(t){if(!t)return null;var n=t.filter(g);return 0==n.length?null:function(t){return v((e=t,n.map(function(t){return t(e)})));var e}},e.composeAsync=function(t){if(!t)return null;var i=t.filter(g);return 0==i.length?null:function(t){var e,n,r=(e=t,n=i,n.map(function(t){return t(e)})).map(y);return s.map.call(o.forkJoin(r),v)}},e}();function g(t){return null!=t}function y(t){var e=a.ɵisPromise(t)?n.fromPromise(t):t;if(!a.ɵisObservable(e))throw new Error("Expected validator to return Promise or Observable.");return e}function v(t){var e=t.reduce(function(t,e){return null!=e?c({},t,e):t},{});return 0===Object.keys(e).length?null:e}var b=new a.InjectionToken("NgValueAccessor"),_={provide:b,useExisting:a.forwardRef(function(){return w}),multi:!0},w=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:a.Directive,args:[{selector:"input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]",host:{"(change)":"onChange($event.target.checked)","(blur)":"onTouched()"},providers:[_]}]}],t.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef}]},t}(),C={provide:b,useExisting:a.forwardRef(function(){return S}),multi:!0};var x=new a.InjectionToken("CompositionEventMode"),S=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=i.ɵgetDOM()?i.ɵgetDOM().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t.decorators=[{type:a.Directive,args:[{selector:"input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]",host:{"(input)":"$any(this)._handleInput($event.target.value)","(blur)":"onTouched()","(compositionstart)":"$any(this)._compositionStart()","(compositionend)":"$any(this)._compositionEnd($event.target.value)"},providers:[C]}]}],t.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef},{type:void 0,decorators:[{type:a.Optional},{type:a.Inject,args:[x]}]}]},t}();function E(e){return e.validate?function(t){return e.validate(t)}:e}function k(e){return e.validate?function(t){return e.validate(t)}:e}var O={provide:b,useExisting:a.forwardRef(function(){return P}),multi:!0},P=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){var e=null==t?"":t;this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},t.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:a.Directive,args:[{selector:"input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[O]}]}],t.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef}]},t}();function A(){throw new Error("unimplemented")}var D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return l(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return A()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return A()},enumerable:!0,configurable:!0}),t}(e),T={provide:b,useExisting:a.forwardRef(function(){return I}),multi:!0},M=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;0<=e;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(e){var n=this;this._accessors.forEach(function(t){n._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&(t[0]._parent===e._control._parent&&t[1].name===e.name)},t.decorators=[{type:a.Injectable}],t.ctorParameters=function(){return[]},t}(),I=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(D),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},t.decorators=[{type:a.Directive,args:[{selector:"input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]",host:{"(change)":"onChange()","(blur)":"onTouched()"},providers:[T]}]}],t.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef},{type:M},{type:a.Injector}]},t.propDecorators={name:[{type:a.Input}],formControlName:[{type:a.Input}],value:[{type:a.Input}]},t}(),R={provide:b,useExisting:a.forwardRef(function(){return N}),multi:!0},N=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.decorators=[{type:a.Directive,args:[{selector:"input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]",host:{"(change)":"onChange($event.target.value)","(input)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[R]}]}],t.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef}]},t}(),L={provide:b,useExisting:a.forwardRef(function(){return F}),multi:!0};function j(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var F=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=a.ɵlooseIdentical}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=j(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(e){var n=this;this.onChange=function(t){n.value=n._getOptionValue(t),e(n.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r),t))return r}return null},t.prototype._getOptionValue=function(t){var e=t.split(":")[0];return this._optionMap.has(e)?this._optionMap.get(e):t},t.decorators=[{type:a.Directive,args:[{selector:"select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]",host:{"(change)":"onChange($event.target.value)","(blur)":"onTouched()"},providers:[L]}]}],t.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef}]},t.propDecorators={compareWith:[{type:a.Input}]},t}(),V=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._select._optionMap.set(this.id,t),this._setElementValue(j(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._setElementValue(t),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t.decorators=[{type:a.Directive,args:[{selector:"option"}]}],t.ctorParameters=function(){return[{type:a.ElementRef},{type:a.Renderer2},{type:F,decorators:[{type:a.Optional},{type:a.Host}]}]},t.propDecorators={ngValue:[{type:a.Input,args:["ngValue"]}],value:[{type:a.Input,args:["value"]}]},t}(),B={provide:b,useExisting:a.forwardRef(function(){return H}),multi:!0};function U(t,e){return null==t?""+e:("string"==typeof e&&(e="'"+e+"'"),e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}var H=function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=a.ɵlooseIdentical}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(-1<r.indexOf(e.toString()))}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(a){var s=this;this.onChange=function(t){var e=[];if(t.hasOwnProperty("selectedOptions"))for(var n=t.selectedOptions,r=0;r<n.length;r++){var i=n.item(r),o=s._getOptionValue(i.value);e.push(o)}else for(n=t.options,r=0;r<n.length;r++){if((i=n.item(r)).selected){o=s._getOptionValue(i.value);e.push(o)}}s.value=e,a(e)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){for(var e=0,n=Array.from(this._optionMap.keys());e<n.length;e++){var r=n[e];if(this._compareWith(this._optionMap.get(r)._value,t))return r}return null},t.prototype._getOptionValue=function(t){var e=t.split(":")[0];return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t.decorators=[{type:a.Directive,args:[{selector:"select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]",host:{"(change)":"onChange($event.target)","(blur)":"onTouched()"},providers:[B]}]}],t.ctorParameters=function(){return[{type:a.Renderer2},{type:a.ElementRef}]},t.propDecorators={compareWith:[{type:a.Input}]},t}(),z=function(){function t(t,e,n){this._element=t,this._renderer=e,this._select=n,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(t.prototype,"ngValue",{set:function(t){null!=this._select&&(this._value=t,this._setElementValue(U(this.id,t)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._select?(this._value=t,this._setElementValue(U(this.id,t)),this._select.writeValue(this._select.value)):this._setElementValue(t)},enumerable:!0,configurable:!0}),t.prototype._setElementValue=function(t){this._renderer.setProperty(this._element.nativeElement,"value",t)},t.prototype._setSelected=function(t){this._renderer.setProperty(this._element.nativeElement,"selected",t)},t.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},t.decorators=[{type:a.Directive,args:[{selector:"option"}]}],t.ctorParameters=function(){return[{type:a.ElementRef},{type:a.Renderer2},{type:H,decorators:[{type:a.Optional},{type:a.Host}]}]},t.propDecorators={ngValue:[{type:a.Input,args:["ngValue"]}],value:[{type:a.Input,args:["value"]}]},t}();function G(t,e){return e.path.concat([t])}function W(e,n){var r,i,o,t,a;e||K(n,"Cannot find control with"),n.valueAccessor||K(n,"No value accessor for form control with"),e.validator=m.compose([e.validator,n.validator]),e.asyncValidator=m.composeAsync([e.asyncValidator,n.asyncValidator]),n.valueAccessor.writeValue(e.value),r=e,(i=n).valueAccessor.registerOnChange(function(t){r._pendingValue=t,r._pendingChange=!0,r._pendingDirty=!0,"change"===r.updateOn&&q(r,i)}),o=n,e.registerOnChange(function(t,e){o.valueAccessor.writeValue(t),e&&o.viewToModelUpdate(t)}),t=e,(a=n).valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&q(t,a),"submit"!==t.updateOn&&t.markAsTouched()}),n.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(t){n.valueAccessor.setDisabledState(t)}),n._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),n._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function q(t,e){e.viewToModelUpdate(t._pendingValue),t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),t._pendingChange=!1}function Y(t,e){null==t&&K(e,"Cannot find control with"),t.validator=m.compose([t.validator,e.validator]),t.asyncValidator=m.composeAsync([t.asyncValidator,e.asyncValidator])}function $(t){return K(t,"There is no FormControl instance attached to form control element with")}function K(t,e){var n;throw n=1<t.path.length?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function Q(t){return null!=t?m.compose(t.map(E)):null}function X(t){return null!=t?m.composeAsync(t.map(k)):null}function Z(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!a.ɵlooseIdentical(e,n.currentValue)}var J=[w,N,P,F,H,I];function tt(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function et(n,t){if(!t)return null;var r=void 0,i=void 0,o=void 0;return t.forEach(function(t){var e;t.constructor===S?r=t:(e=t,J.some(function(t){return e.constructor===t})?(i&&K(n,"More than one built-in value accessor matches form control with"),i=t):(o&&K(n,"More than one custom value accessor matches form control with"),o=t))}),o||(i||(r||(K(n,"No valid value accessor for form control with"),null)))}function nt(t,e){var n=t.indexOf(e);-1<n&&t.splice(n,1)}var rt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return G(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return Q(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return X(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(u),it=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),ot={"[class.ng-untouched]":"ngClassUntouched","[class.ng-touched]":"ngClassTouched","[class.ng-pristine]":"ngClassPristine","[class.ng-dirty]":"ngClassDirty","[class.ng-valid]":"ngClassValid","[class.ng-invalid]":"ngClassInvalid","[class.ng-pending]":"ngClassPending"},at=function(e){function t(t){return e.call(this,t)||this}return l(t,e),t.decorators=[{type:a.Directive,args:[{selector:"[formControlName],[ngModel],[formControl]",host:ot}]}],t.ctorParameters=function(){return[{type:D,decorators:[{type:a.Self}]}]},t}(it),st=function(e){function t(t){return e.call(this,t)||this}return l(t,e),t.decorators=[{type:a.Directive,args:[{selector:"[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]",host:ot}]}],t.ctorParameters=function(){return[{type:u,decorators:[{type:a.Self}]}]},t}(it),lt="VALID",ct="INVALID",ut="PENDING",pt="DISABLED";function dt(t){var e=ft(t)?t.validators:t;return Array.isArray(e)?Q(e):e||null}function ht(t,e){var n=ft(e)?e.asyncValidators:t;return Array.isArray(n)?X(n):n||null}function ft(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var mt=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.status===lt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.status===ct},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.status==ut},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.status===pt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.status!==pt},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=dt(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=ht(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status=ut,this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(e){void 0===e&&(e={}),this.status=pt,this.errors=null,this._forEachChild(function(t){t.disable(c({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(e),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(e){void 0===e&&(e={}),this.status=lt,this._forEachChild(function(t){t.enable(c({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==lt&&this.status!==ut||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?pt:lt},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(e){var n=this;if(this.asyncValidator){this.status=ut;var t=y(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(function(t){return n.setErrors(t,{emitEvent:e})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return e=this,r=".",null==(n=t)?null:(n instanceof Array||(n=n.split(r)),n instanceof Array&&0===n.length?null:n.reduce(function(t,e){return t instanceof yt?t.controls[e]||null:t instanceof vt&&t.at(e)||null},e));var e,n,r},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new a.EventEmitter,this.statusChanges=new a.EventEmitter},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?pt:this.errors?ct:this._anyControlsHaveStatus(ut)?ut:this._anyControlsHaveStatus(ct)?ct:lt},t.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){ft(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),gt=function(i){function t(t,e,n){void 0===t&&(t=null);var r=i.call(this,dt(e),ht(n,e))||this;return r._onChange=[],r._applyFormState(t),r._setUpdateStrategy(e),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return l(t,i),t.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},t.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},t.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(t){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(t){this._onChange.push(t)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},t.prototype._forEachChild=function(t){},t.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange))&&(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0)},t.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},t}(mt),yt=function(i){function t(t,e,n){var r=i.call(this,dt(e),ht(n,e))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(e),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return l(t,i),t.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:((this.controls[t]=e).setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},t.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},t.prototype.setValue=function(e,n){var r=this;void 0===n&&(n={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(t){r._throwIfControlMissing(t),r.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},t.prototype.patchValue=function(e,n){var r=this;void 0===n&&(n={}),Object.keys(e).forEach(function(t){r.controls[t]&&r.controls[t].patchValue(e[t],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},t.prototype.reset=function(n,r){void 0===n&&(n={}),void 0===r&&(r={}),this._forEachChild(function(t,e){t.reset(n[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r),this._updatePristine(r),this._updateTouched(r)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof gt?e.value:e.getRawValue(),t})},t.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},t.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},t.prototype._forEachChild=function(e){var n=this;Object.keys(this.controls).forEach(function(t){return e(n.controls[t],t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(n){var r=this,i=!1;return this._forEachChild(function(t,e){i=i||r.contains(e)&&n(t)}),i},t.prototype._reduceValue=function(){var r=this;return this._reduceChildren({},function(t,e,n){return(e.enabled||r.disabled)&&(t[n]=e.value),t})},t.prototype._reduceChildren=function(t,n){var r=t;return this._forEachChild(function(t,e){r=n(r,t,e)}),r},t.prototype._allControlsDisabled=function(){for(var t=0,e=Object.keys(this.controls);t<e.length;t++){var n=e[t];if(this.controls[n].enabled)return!1}return 0<Object.keys(this.controls).length||this.disabled},t.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(t,e){if(void 0===n[e])throw new Error("Must supply a value for form control with name: '"+e+"'.")})},t}(mt),vt=function(i){function t(t,e,n){var r=i.call(this,dt(e),ht(n,e))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(e),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return l(t,i),t.prototype.at=function(t){return this.controls[t]},t.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},t.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},t.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(t,n){var r=this;void 0===n&&(n={}),this._checkAllValuesPresent(t),t.forEach(function(t,e){r._throwIfControlMissing(e),r.at(e).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},t.prototype.patchValue=function(t,n){var r=this;void 0===n&&(n={}),t.forEach(function(t,e){r.at(e)&&r.at(e).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)},t.prototype.reset=function(n,r){void 0===n&&(n=[]),void 0===r&&(r={}),this._forEachChild(function(t,e){t.reset(n[e],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r),this._updatePristine(r),this._updateTouched(r)},t.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof gt?t.value:t.getRawValue()})},t.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},t.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},t.prototype._forEachChild=function(n){this.controls.forEach(function(t,e){n(t,e)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(t){return t.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(n){this._forEachChild(function(t,e){if(void 0===n[e])throw new Error("Must supply a value for form control at index: "+e+".")})},t.prototype._allControlsDisabled=function(){for(var t=0,e=this.controls;t<e.length;t++){if(e[t].enabled)return!1}return 0<this.controls.length||this.disabled},t.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},t}(mt),bt={provide:u,useExisting:a.forwardRef(function(){return wt})},_t=Promise.resolve(null),wt=function(r){function t(t,e){var n=r.call(this)||this;return n.submitted=!1,n._directives=[],n.ngSubmit=new a.EventEmitter,n.form=new yt({},Q(t),X(e)),n}return l(t,r),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var n=this;_t.then(function(){var t=n._findContainer(e.path);e.control=t.registerControl(e.name,e.control),W(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),n._directives.push(e)})},t.prototype.getControl=function(t){return this.form.get(t.path)},t.prototype.removeControl=function(e){var n=this;_t.then(function(){var t=n._findContainer(e.path);t&&t.removeControl(e.name),nt(n._directives,e)})},t.prototype.addFormGroup=function(n){var r=this;_t.then(function(){var t=r._findContainer(n.path),e=new yt({});Y(e,n),t.registerControl(n.name,e),e.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var n=this;_t.then(function(){var t=n._findContainer(e.path);t&&t.removeControl(e.name)})},t.prototype.getFormGroup=function(t){return this.form.get(t.path)},t.prototype.updateModel=function(t,e){var n=this;_t.then(function(){n.form.get(t.path).setValue(e)})},t.prototype.setValue=function(t){this.control.setValue(t)},t.prototype.onSubmit=function(t){return this.submitted=!0,tt(this.form,this._directives),this.ngSubmit.emit(t),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},t.decorators=[{type:a.Directive,args:[{selector:"form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]",providers:[bt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},outputs:["ngSubmit"],exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]}]},t.propDecorators={options:[{type:a.Input,args:["ngFormOptions"]}]},t}(u),Ct='\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 });',xt='\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 });',St='\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 });',Et='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',kt='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ',Ot=function(){function t(){}return t.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+Ct+"\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 "+kt)},t.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+xt+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+Et)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+xt+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+Et)},t}(),Pt={provide:u,useExisting:a.forwardRef(function(){return At})},At=function(i){function t(t,e,n){var r=i.call(this)||this;return r._parent=t,r._validators=e,r._asyncValidators=n,r}return l(t,i),t.prototype._checkParentType=function(){this._parent instanceof t||this._parent instanceof wt||Ot.modelGroupParentException()},t.decorators=[{type:a.Directive,args:[{selector:"[ngModelGroup]",providers:[Pt],exportAs:"ngModelGroup"}]}],t.ctorParameters=function(){return[{type:u,decorators:[{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]}]},t.propDecorators={name:[{type:a.Input,args:["ngModelGroup"]}]},t}(rt),Dt={provide:D,useExisting:a.forwardRef(function(){return Mt})},Tt=Promise.resolve(null),Mt=function(o){function t(t,e,n,r){var i=o.call(this)||this;return i.control=new gt,i._registered=!1,i.update=new a.EventEmitter,i._parent=t,i._rawValidators=e||[],i._rawAsyncValidators=n||[],i.valueAccessor=et(i,r),i}return l(t,o),t.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),Z(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?G(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Q(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return X(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){W(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof At)&&this._parent instanceof rt?Ot.formGroupNameException():this._parent instanceof At||this._parent instanceof wt||Ot.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ot.missingNameException()},t.prototype._updateValue=function(t){var e=this;Tt.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Tt.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},t.decorators=[{type:a.Directive,args:[{selector:"[ngModel]:not([formControlName]):not([formControl])",providers:[Dt],exportAs:"ngModel"}]}],t.ctorParameters=function(){return[{type:u,decorators:[{type:a.Optional},{type:a.Host}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={name:[{type:a.Input}],isDisabled:[{type:a.Input,args:["disabled"]}],model:[{type:a.Input,args:["ngModel"]}],options:[{type:a.Input,args:["ngModelOptions"]}],update:[{type:a.Output,args:["ngModelChange"]}]},t}(D),It=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Ct)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+xt+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+Et)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Ct)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+xt)},t.arrayParentException=function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+St)},t.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},t}(),Rt={provide:D,useExisting:a.forwardRef(function(){return Nt})},Nt=function(i){function t(t,e,n){var r=i.call(this)||this;return r.update=new a.EventEmitter,r._rawValidators=t||[],r._rawAsyncValidators=e||[],r.valueAccessor=et(r,n),r}return l(t,i),Object.defineProperty(t.prototype,"isDisabled",{set:function(t){It.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this._isControlChanged(t)&&(W(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Z(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Q(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return X(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},t.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},t.decorators=[{type:a.Directive,args:[{selector:"[formControl]",providers:[Rt],exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={form:[{type:a.Input,args:["formControl"]}],model:[{type:a.Input,args:["ngModel"]}],update:[{type:a.Output,args:["ngModelChange"]}],isDisabled:[{type:a.Input,args:["disabled"]}]},t}(D),Lt={provide:u,useExisting:a.forwardRef(function(){return jt})},jt=function(r){function t(t,e){var n=r.call(this)||this;return n._validators=t,n._asyncValidators=e,n.submitted=!1,n.directives=[],n.form=null,n.ngSubmit=new a.EventEmitter,n}return l(t,r),t.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(t){var e=this.form.get(t.path);return W(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},t.prototype.getControl=function(t){return this.form.get(t.path)},t.prototype.removeControl=function(t){nt(this.directives,t)},t.prototype.addFormGroup=function(t){var e=this.form.get(t.path);Y(e,t),e.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(t){},t.prototype.getFormGroup=function(t){return this.form.get(t.path)},t.prototype.addFormArray=function(t){var e=this.form.get(t.path);Y(e,t),e.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(t){},t.prototype.getFormArray=function(t){return this.form.get(t.path)},t.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},t.prototype.onSubmit=function(t){return this.submitted=!0,tt(this.form,this.directives),this.ngSubmit.emit(t),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},t.prototype._updateDomValue=function(){var i=this;this.directives.forEach(function(t){var e,n,r=i.form.get(t.path);t.control!==r&&(e=t.control,(n=t).valueAccessor.registerOnChange(function(){return $(n)}),n.valueAccessor.registerOnTouched(function(){return $(n)}),n._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),n._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e&&e._clearChangeFns(),r&&W(r,t),t.control=r)}),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},t.prototype._updateValidators=function(){var t=Q(this._validators);this.form.validator=m.compose([this.form.validator,t]);var e=X(this._asyncValidators);this.form.asyncValidator=m.composeAsync([this.form.asyncValidator,e])},t.prototype._checkFormPresent=function(){this.form||It.missingFormException()},t.decorators=[{type:a.Directive,args:[{selector:"[formGroup]",providers:[Lt],host:{"(submit)":"onSubmit($event)","(reset)":"onReset()"},exportAs:"ngForm"}]}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]}]},t.propDecorators={form:[{type:a.Input,args:["formGroup"]}],ngSubmit:[{type:a.Output}]},t}(u),Ft={provide:u,useExisting:a.forwardRef(function(){return Vt})},Vt=function(i){function t(t,e,n){var r=i.call(this)||this;return r._parent=t,r._validators=e,r._asyncValidators=n,r}return l(t,i),t.prototype._checkParentType=function(){Ht(this._parent)&&It.groupParentException()},t.decorators=[{type:a.Directive,args:[{selector:"[formGroupName]",providers:[Ft]}]}],t.ctorParameters=function(){return[{type:u,decorators:[{type:a.Optional},{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]}]},t.propDecorators={name:[{type:a.Input,args:["formGroupName"]}]},t}(rt),Bt={provide:u,useExisting:a.forwardRef(function(){return Ut})},Ut=function(i){function t(t,e,n){var r=i.call(this)||this;return r._parent=t,r._validators=e,r._asyncValidators=n,r}return l(t,i),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return G(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Q(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return X(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){Ht(this._parent)&&It.arrayParentException()},t.decorators=[{type:a.Directive,args:[{selector:"[formArrayName]",providers:[Bt]}]}],t.ctorParameters=function(){return[{type:u,decorators:[{type:a.Optional},{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]}]},t.propDecorators={name:[{type:a.Input,args:["formArrayName"]}]},t}(u);function Ht(t){return!(t instanceof Vt||t instanceof jt||t instanceof Ut)}var zt={provide:D,useExisting:a.forwardRef(function(){return Gt})},Gt=function(o){function t(t,e,n,r){var i=o.call(this)||this;return i._added=!1,i.update=new a.EventEmitter,i._parent=t,i._rawValidators=e||[],i._rawAsyncValidators=n||[],i.valueAccessor=et(i,r),i}return l(t,o),Object.defineProperty(t.prototype,"isDisabled",{set:function(t){It.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this._added||this._setUpControl(),Z(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},Object.defineProperty(t.prototype,"path",{get:function(){return G(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return Q(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return X(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof Vt)&&this._parent instanceof rt?It.ngModelGroupException():this._parent instanceof Vt||this._parent instanceof jt||this._parent instanceof Ut||It.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t.decorators=[{type:a.Directive,args:[{selector:"[formControlName]",providers:[zt]}]}],t.ctorParameters=function(){return[{type:u,decorators:[{type:a.Optional},{type:a.Host},{type:a.SkipSelf}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[d]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[h]}]},{type:Array,decorators:[{type:a.Optional},{type:a.Self},{type:a.Inject,args:[b]}]}]},t.propDecorators={name:[{type:a.Input,args:["formControlName"]}],model:[{type:a.Input,args:["ngModel"]}],update:[{type:a.Output,args:["ngModelChange"]}],isDisabled:[{type:a.Input,args:["disabled"]}]},t}(D),Wt={provide:d,useExisting:a.forwardRef(function(){return Yt}),multi:!0},qt={provide:d,useExisting:a.forwardRef(function(){return $t}),multi:!0},Yt=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?m.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:a.Directive,args:[{selector:":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",providers:[Wt],host:{"[attr.required]":'required ? "" : null'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={required:[{type:a.Input}]},t}(),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l(e,t),e.prototype.validate=function(t){return this.required?m.requiredTrue(t):null},e.decorators=[{type:a.Directive,args:[{selector:"input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]",providers:[qt],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}(Yt),Kt={provide:d,useExisting:a.forwardRef(function(){return Qt}),multi:!0},Qt=function(){function t(){}return Object.defineProperty(t.prototype,"email",{set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this._enabled?m.email(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.decorators=[{type:a.Directive,args:[{selector:"[email][formControlName],[email][formControl],[email][ngModel]",providers:[Kt]}]}],t.ctorParameters=function(){return[]},t.propDecorators={email:[{type:a.Input}]},t}(),Xt={provide:d,useExisting:a.forwardRef(function(){return Zt}),multi:!0},Zt=function(){function t(){}return t.prototype.ngOnChanges=function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null==this.minlength?null:this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=m.minLength(parseInt(this.minlength,10))},t.decorators=[{type:a.Directive,args:[{selector:"[minlength][formControlName],[minlength][formControl],[minlength][ngModel]",providers:[Xt],host:{"[attr.minlength]":"minlength ? minlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={minlength:[{type:a.Input}]},t}(),Jt={provide:d,useExisting:a.forwardRef(function(){return te}),multi:!0},te=function(){function t(){}return t.prototype.ngOnChanges=function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return null!=this.maxlength?this._validator(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=m.maxLength(parseInt(this.maxlength,10))},t.decorators=[{type:a.Directive,args:[{selector:"[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]",providers:[Jt],host:{"[attr.maxlength]":"maxlength ? maxlength : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={maxlength:[{type:a.Input}]},t}(),ee={provide:d,useExisting:a.forwardRef(function(){return ne}),multi:!0},ne=function(){function t(){}return t.prototype.ngOnChanges=function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())},t.prototype.validate=function(t){return this._validator(t)},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t.prototype._createValidator=function(){this._validator=m.pattern(this.pattern)},t.decorators=[{type:a.Directive,args:[{selector:"[pattern][formControlName],[pattern][formControl],[pattern][ngModel]",providers:[ee],host:{"[attr.pattern]":"pattern ? pattern : null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={pattern:[{type:a.Input}]},t}(),re=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t),r=null!=e?e.validator:null,i=null!=e?e.asyncValidator:null;return new yt(n,r,i)},t.prototype.control=function(t,e,n){return new gt(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map(function(t){return r._createControl(t)});return new vt(i,e,n)},t.prototype._reduceControls=function(e){var n=this,r={};return Object.keys(e).forEach(function(t){r[t]=n._createControl(e[t])}),r},t.prototype._createControl=function(t){if(t instanceof gt||t instanceof yt||t instanceof vt)return t;if(Array.isArray(t)){var e=t[0],n=1<t.length?t[1]:null,r=2<t.length?t[2]:null;return this.control(e,n,r)}return this.control(t)},t.decorators=[{type:a.Injectable}],t.ctorParameters=function(){return[]},t}(),ie=new a.Version("5.2.8"),oe=function(){function t(){}return t.decorators=[{type:a.Directive,args:[{selector:"form:not([ngNoForm]):not([ngNativeValidate])",host:{novalidate:""}}]}],t.ctorParameters=function(){return[]},t}(),ae=[oe,V,z,S,P,N,w,F,H,I,at,st,Yt,Zt,te,ne,$t,Qt],se=[Mt,At,wt],le=[Nt,jt,Gt,Vt,Ut],ce=function(){function t(){}return t.decorators=[{type:a.NgModule,args:[{declarations:ae,exports:ae}]}],t.ctorParameters=function(){return[]},t}(),ue=function(){function t(){}return t.decorators=[{type:a.NgModule,args:[{declarations:se,providers:[M],exports:[ce,se]}]}],t.ctorParameters=function(){return[]},t}(),pe=function(){function t(){}return t.decorators=[{type:a.NgModule,args:[{declarations:[le],providers:[re,M],exports:[ce,le]}]}],t.ctorParameters=function(){return[]},t}();t.AbstractControlDirective=e,t.AbstractFormGroupDirective=rt,t.CheckboxControlValueAccessor=w,t.ControlContainer=u,t.NG_VALUE_ACCESSOR=b,t.COMPOSITION_BUFFER_MODE=x,t.DefaultValueAccessor=S,t.NgControl=D,t.NgControlStatus=at,t.NgControlStatusGroup=st,t.NgForm=wt,t.NgModel=Mt,t.NgModelGroup=At,t.RadioControlValueAccessor=I,t.FormControlDirective=Nt,t.FormControlName=Gt,t.FormGroupDirective=jt,t.FormArrayName=Ut,t.FormGroupName=Vt,t.NgSelectOption=V,t.SelectControlValueAccessor=F,t.SelectMultipleControlValueAccessor=H,t.CheckboxRequiredValidator=$t,t.EmailValidator=Qt,t.MaxLengthValidator=te,t.MinLengthValidator=Zt,t.PatternValidator=ne,t.RequiredValidator=Yt,t.FormBuilder=re,t.AbstractControl=mt,t.FormArray=vt,t.FormControl=gt,t.FormGroup=yt,t.NG_ASYNC_VALIDATORS=h,t.NG_VALIDATORS=d,t.Validators=m,t.VERSION=ie,t.FormsModule=ue,t.ReactiveFormsModule=pe,t.ɵba=ce,t.ɵz=le,t.ɵx=ae,t.ɵy=se,t.ɵa=_,t.ɵb=C,t.ɵc=it,t.ɵd=ot,t.ɵe=bt,t.ɵf=Dt,t.ɵg=Pt,t.ɵbf=oe,t.ɵbb=O,t.ɵbc=P,t.ɵh=T,t.ɵi=M,t.ɵbd=R,t.ɵbe=N,t.ɵj=Rt,t.ɵk=zt,t.ɵl=Lt,t.ɵn=Bt,t.ɵm=Ft,t.ɵo=L,t.ɵq=z,t.ɵp=B,t.ɵs=qt,t.ɵt=Kt,t.ɵv=Jt,t.ɵu=Xt,t.ɵw=ee,t.ɵr=Wt,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("rxjs/observable/forkJoin"),t("rxjs/observable/fromPromise"),t("rxjs/operator/map"),t("@angular/platform-browser")):i((r.ng=r.ng||{},r.ng.forms={}),r.ng.core,r.Rx.Observable,r.Rx.Observable,r.Rx.Observable.prototype,r.ng.platformBrowser)},{"@angular/core":64,"@angular/platform-browser":69,"rxjs/observable/forkJoin":101,"rxjs/observable/fromPromise":105,"rxjs/operator/map":117}],66:[function(t,e,n){var r,i;r=this,i=function(t,f,s,c,m,i,e,n,u,p,d,a,l,g,y,v,o,r,b,h,_,w,C,x,S,E,k,O,P,A,D,T,M,I,R,N,L,j,F,V,B,U,H,z,G,W){"use strict";var q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function Y(t,e){function n(){this.constructor=t}q(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var $=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},K=function(){function t(){}return t.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",t.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",t.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",t.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",t}(),Q=function(){function t(){}return t.COMPLEX="375ms",t.ENTERING="225ms",t.EXITING="195ms",t}(),X=new f.InjectionToken("mat-sanity-checks"),Z=function(){function t(t){this._sanityChecksEnabled=t,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&f.isDevMode()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){return this._window&&(this._window.__karma__||this._window.jasmine)},t.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(t)}},t.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(this._areChecksEnabled()&&!this._window.Hammer&&console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},t.decorators=[{type:f.NgModule,args:[{imports:[s.BidiModule],exports:[s.BidiModule],providers:[{provide:X,useValue:!0}]}]}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[X]}]}]},t}();function J(t){return function(r){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=r.apply(this,t)||this;return n._disabled=!1,n}return Y(t,r),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t}(t)}function tt(t,i){return function(r){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=r.apply(this,t)||this;return n.color=i,n}return Y(t,r),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(t){var e=t||i;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)},enumerable:!0,configurable:!0}),t}(t)}function et(t){return function(r){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=r.apply(this,t)||this;return n._disableRipple=!1,n}return Y(t,r),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t}(t)}function nt(t,i){return void 0===i&&(i=0),function(r){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=r.apply(this,t)||this;return n._tabIndex=i,n}return Y(t,r),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:i},enumerable:!0,configurable:!0}),t}(t)}function rt(t){return function(r){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=r.apply(this,t)||this;return n.errorState=!1,n.stateChanges=new m.Subject,n}return Y(t,r),t.prototype.updateErrorState=function(){var t=this.errorState,e=this._parentFormGroup||this._parentForm,n=this.errorStateMatcher||this._defaultErrorStateMatcher,r=this.ngControl?this.ngControl.control:null,i=n.isErrorState(r,e);i!==t&&(this.errorState=i,this.stateChanges.next())},t}(t)}var it=new f.InjectionToken("MAT_DATE_LOCALE"),ot={provide:it,useExisting:f.LOCALE_ID},at=function(){function t(){this._localeChanges=new m.Subject}return Object.defineProperty(t.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),t.prototype.deserialize=function(t){return null==t||this.isDateInstance(t)&&this.isValid(t)?t:this.invalid()},t.prototype.setLocale=function(t){this.locale=t,this._localeChanges.next()},t.prototype.compareDate=function(t,e){return this.getYear(t)-this.getYear(e)||this.getMonth(t)-this.getMonth(e)||this.getDate(t)-this.getDate(e)},t.prototype.sameDate=function(t,e){if(t&&e){var n=this.isValid(t),r=this.isValid(e);return n&&r?!this.compareDate(t,e):n==r}return t==e},t.prototype.clampDate=function(t,e,n){return e&&this.compareDate(t,e)<0?e:n&&0<this.compareDate(t,n)?n:t},t}(),st=new f.InjectionToken("mat-date-formats"),lt="undefined"!=typeof Intl,ct={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},ut=ht(31,function(t){return String(t+1)}),pt={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},dt=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function ht(t,e){for(var n=Array(t),r=0;r<t;r++)n[r]=e(r);return n}var ft=function(i){function t(t){var e=i.call(this)||this;i.prototype.setLocale.call(e,t);var n="object"==typeof document&&!!document,r=n&&/(msie|trident)/i.test(navigator.userAgent);return e.useUtcForDisplay=!r,e._clampDate=r||n&&/(edge)/i.test(navigator.userAgent),e}return Y(t,i),t.prototype.getYear=function(t){return t.getFullYear()},t.prototype.getMonth=function(t){return t.getMonth()},t.prototype.getDate=function(t){return t.getDate()},t.prototype.getDayOfWeek=function(t){return t.getDay()},t.prototype.getMonthNames=function(t){var e=this;if(lt){var n=new Intl.DateTimeFormat(this.locale,{month:t,timeZone:"utc"});return ht(12,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,t,1)))})}return ct[t]},t.prototype.getDateNames=function(){var e=this;if(lt){var n=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return ht(31,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))})}return ut},t.prototype.getDayOfWeekNames=function(t){var e=this;if(lt){var n=new Intl.DateTimeFormat(this.locale,{weekday:t,timeZone:"utc"});return ht(7,function(t){return e._stripDirectionalityCharacters(e._format(n,new Date(2017,0,t+1)))})}return pt[t]},t.prototype.getYearName=function(t){if(lt){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(e,t))}return String(this.getYear(t))},t.prototype.getFirstDayOfWeek=function(){return 0},t.prototype.getNumDaysInMonth=function(t){return this.getDate(this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+1,0))},t.prototype.clone=function(t){return this.createDate(this.getYear(t),this.getMonth(t),this.getDate(t))},t.prototype.createDate=function(t,e,n){if(e<0||11<e)throw Error('Invalid month index "'+e+'". Month index has to be between 0 and 11.');if(n<1)throw Error('Invalid date "'+n+'". Date has to be greater than 0.');var r=this._createDateWithOverflow(t,e,n);if(r.getMonth()!=e)throw Error('Invalid date "'+n+'" for month with index "'+e+'".');return r},t.prototype.today=function(){return new Date},t.prototype.parse=function(t){return"number"==typeof t?new Date(t):t?new Date(Date.parse(t)):null},t.prototype.format=function(t,e){if(!this.isValid(t))throw Error("NativeDateAdapter: Cannot format invalid date.");if(lt){this._clampDate&&(t.getFullYear()<1||9999<t.getFullYear())&&(t=this.clone(t)).setFullYear(Math.max(1,Math.min(9999,t.getFullYear()))),e=$({},e,{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,e);return this._stripDirectionalityCharacters(this._format(n,t))}return this._stripDirectionalityCharacters(t.toDateString())},t.prototype.addCalendarYears=function(t,e){return this.addCalendarMonths(t,12*e)},t.prototype.addCalendarMonths=function(t,e){var n=this._createDateWithOverflow(this.getYear(t),this.getMonth(t)+e,this.getDate(t));return this.getMonth(n)!=((this.getMonth(t)+e)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n},t.prototype.addCalendarDays=function(t,e){return this._createDateWithOverflow(this.getYear(t),this.getMonth(t),this.getDate(t)+e)},t.prototype.toIso8601=function(t){return[t.getUTCFullYear(),this._2digit(t.getUTCMonth()+1),this._2digit(t.getUTCDate())].join("-")},t.prototype.deserialize=function(t){if("string"==typeof t){if(!t)return null;if(dt.test(t)){var e=new Date(t);if(this.isValid(e))return e}}return i.prototype.deserialize.call(this,t)},t.prototype.isDateInstance=function(t){return t instanceof Date},t.prototype.isValid=function(t){return!isNaN(t.getTime())},t.prototype.invalid=function(){return new Date(NaN)},t.prototype._createDateWithOverflow=function(t,e,n){var r=new Date(t,e,n);return 0<=t&&t<100&&r.setFullYear(this.getYear(r)-1900),r},t.prototype._2digit=function(t){return("00"+t).slice(-2)},t.prototype._stripDirectionalityCharacters=function(t){return t.replace(/[\u200e\u200f]/g,"")},t.prototype._format=function(t,e){var n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.format(n)},t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[it]}]}]},t}(at),mt={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},gt=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{providers:[{provide:at,useClass:ft},ot]}]}],t.ctorParameters=function(){return[]},t}(),yt=mt,vt=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[gt],providers:[{provide:st,useValue:yt}]}]}],t.ctorParameters=function(){return[]},t}(),bt=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.dirty||e&&e.submitted))},t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[]},t}(),_t=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[]},t}(),wt=new f.InjectionToken("MAT_HAMMER_OPTIONS"),Ct=function(r){function t(t,e){var n=r.call(this)||this;return n._hammerOptions=t,n._hammer="undefined"!=typeof window?window.Hammer:null,n.events=n._hammer?["longpress","slide","slidestart","slideend","slideright","slideleft"]:[],e&&e._checkHammerIsAvailable(),n}return Y(t,r),t.prototype.buildHammer=function(t){var e=new this._hammer(t,this._hammerOptions||void 0),n=new this._hammer.Pan,r=new this._hammer.Swipe,i=new this._hammer.Press,o=this._createRecognizer(n,{event:"slide",threshold:0},r),a=this._createRecognizer(i,{event:"longpress",time:500});return n.recognizeWith(r),e.add([r,i,n,o,a]),e},t.prototype._createRecognizer=function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=new t.constructor(e);return n.push(t),n.forEach(function(t){return i.recognizeWith(t)}),i},t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[wt]}]},{type:Z,decorators:[{type:f.Optional}]}]},t}(e.HammerGestureConfig),xt=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-line], [matLine]",host:{class:"mat-line"}}]}],t.ctorParameters=function(){return[]},t}(),St=function(){function t(t,e){var n=this;this._lines=t,this._element=e,this._setLineClass(this._lines.length),this._lines.changes.subscribe(function(){n._setLineClass(n._lines.length)})}return t.prototype._setLineClass=function(t){this._resetClasses(),2===t||3===t?this._setClass("mat-"+t+"-line",!0):3<t&&this._setClass("mat-multi-line",!0)},t.prototype._resetClasses=function(){this._setClass("mat-2-line",!1),this._setClass("mat-3-line",!1),this._setClass("mat-multi-line",!1)},t.prototype._setClass=function(t,e){e?this._element.nativeElement.classList.add(t):this._element.nativeElement.classList.remove(t)},t}(),Et=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z],exports:[xt,Z],declarations:[xt]}]}],t.ctorParameters=function(){return[]},t}(),kt={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};kt[kt.FADING_IN]="FADING_IN",kt[kt.VISIBLE]="VISIBLE",kt[kt.FADING_OUT]="FADING_OUT",kt[kt.HIDDEN]="HIDDEN";var Ot=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=kt.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),Pt={enterDuration:450,exitDuration:400},At=800,Dt=function(){function t(t,e,n,r){var i=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._eventOptions=!!u.supportsPassiveEventListeners()&&{passive:!0},this.onMousedown=function(t){var e=i._lastTouchStartEvent&&Date.now()<i._lastTouchStartEvent+At;i._target.rippleDisabled||e||(i._isPointerDown=!0,i.fadeInRipple(t.clientX,t.clientY,i._target.rippleConfig))},this.onTouchStart=function(t){i._target.rippleDisabled||(i._lastTouchStartEvent=Date.now(),i._isPointerDown=!0,i.fadeInRipple(t.touches[0].clientX,t.touches[0].clientY,i._target.rippleConfig))},this.onPointerUp=function(){i._isPointerDown&&(i._isPointerDown=!1,i._activeRipples.forEach(function(t){var e=t.state===kt.VISIBLE||t.config.terminateOnPointerUp&&t.state===kt.FADING_IN;!t.config.persistent&&e&&t.fadeOut()}))},r.isBrowser&&(this._containerElement=n.nativeElement,this._triggerEvents.set("mousedown",this.onMousedown),this._triggerEvents.set("mouseup",this.onPointerUp),this._triggerEvents.set("mouseleave",this.onPointerUp),this._triggerEvents.set("touchstart",this.onTouchStart),this._triggerEvents.set("touchend",this.onPointerUp))}return t.prototype.fadeInRipple=function(t,e,n){var r=this;void 0===n&&(n={});var i=this._containerElement.getBoundingClientRect(),o=$({},Pt,n.animation);n.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);var a,s,l,c,u,p,d=n.radius||(a=t,s=e,l=i,c=Math.max(Math.abs(a-l.left),Math.abs(a-l.right)),u=Math.max(Math.abs(s-l.top),Math.abs(s-l.bottom)),Math.sqrt(c*c+u*u)),h=t-i.left,f=e-i.top,m=o.enterDuration/(n.speedFactor||1),g=document.createElement("div");g.classList.add("mat-ripple-element"),g.style.left=h-d+"px",g.style.top=f-d+"px",g.style.height=2*d+"px",g.style.width=2*d+"px",g.style.backgroundColor=n.color||null,g.style.transitionDuration=m+"ms",this._containerElement.appendChild(g),p=g,window.getComputedStyle(p).getPropertyValue("opacity"),g.style.transform="scale(1)";var y=new Ot(this,g,n);return y.state=kt.FADING_IN,this._activeRipples.add(y),this.runTimeoutOutsideZone(function(){y.state=kt.VISIBLE,n.persistent||r._isPointerDown||y.fadeOut()},m),y},t.prototype.fadeOutRipple=function(t){if(this._activeRipples.delete(t)){var e=t.element,n=$({},Pt,t.config.animation);e.style.transitionDuration=n.exitDuration+"ms",e.style.opacity="0",t.state=kt.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=kt.HIDDEN,e.parentNode.removeChild(e)},n.exitDuration)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setupTriggerEvents=function(n){var r=this;n&&n!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){r._triggerEvents.forEach(function(t,e){return n.addEventListener(e,t,r._eventOptions)})}),this._triggerElement=n)},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t.prototype._removeTriggerEvents=function(){var n=this;this._triggerElement&&this._triggerEvents.forEach(function(t,e){n._triggerElement.removeEventListener(e,t,n._eventOptions)})},t}();var Tt=new f.InjectionToken("mat-ripple-global-options"),Mt=function(){function t(t,e,n,r){this._elementRef=t,this.radius=0,this.speedFactor=1,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Dt(this,e,t,n)}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},t.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},t.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(t.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:$({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp,speedFactor:this.speedFactor*(this._globalOptions.baseSpeedFactor||1)}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),t.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},t.prototype.launch=function(t,e,n){return void 0===e&&(e=0),"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,$({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,$({},this.rippleConfig,t))},t.decorators=[{type:f.Directive,args:[{selector:"[mat-ripple], [matRipple]",exportAs:"matRipple",host:{class:"mat-ripple","[class.mat-ripple-unbounded]":"unbounded"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[Tt]}]}]},t.propDecorators={color:[{type:f.Input,args:["matRippleColor"]}],unbounded:[{type:f.Input,args:["matRippleUnbounded"]}],centered:[{type:f.Input,args:["matRippleCentered"]}],radius:[{type:f.Input,args:["matRippleRadius"]}],speedFactor:[{type:f.Input,args:["matRippleSpeedFactor"]}],animation:[{type:f.Input,args:["matRippleAnimation"]}],disabled:[{type:f.Input,args:["matRippleDisabled"]}],trigger:[{type:f.Input,args:["matRippleTrigger"]}]},t}(),It=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z,u.PlatformModule],exports:[Mt,Z],declarations:[Mt]}]}],t.ctorParameters=function(){return[]},t}(),Rt=function(){function t(){this.state="unchecked",this.disabled=!1}return t.decorators=[{type:f.Component,args:[{encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,selector:"mat-pseudo-checkbox",styles:[".mat-pseudo-checkbox{width:20px;height:20px;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:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:9px;left:2px;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:5px;left:3px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],template:"",host:{class:"mat-pseudo-checkbox","[class.mat-pseudo-checkbox-indeterminate]":'state === "indeterminate"',"[class.mat-pseudo-checkbox-checked]":'state === "checked"',"[class.mat-pseudo-checkbox-disabled]":"disabled"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={state:[{type:f.Input}],disabled:[{type:f.Input}]},t}(),Nt=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{exports:[Rt],declarations:[Rt]}]}],t.ctorParameters=function(){return[]},t}(),Lt=function(){},jt=J(Lt),Ft=0,Vt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._labelId="mat-optgroup-label-"+Ft++,t}return Y(t,e),t.decorators=[{type:f.Component,args:[{selector:"mat-optgroup",exportAs:"matOptgroup",template:'<label class="mat-optgroup-label" [id]="_labelId">{{ label }}</label><ng-content select="mat-option, ng-container"></ng-content>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,inputs:["disabled"],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;-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}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],host:{class:"mat-optgroup",role:"group","[class.mat-optgroup-disabled]":"disabled","[attr.aria-disabled]":"disabled.toString()","[attr.aria-labelledby]":"_labelId"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={label:[{type:f.Input}]},t}(jt),Bt=0,Ut=function(t,e){void 0===e&&(e=!1),this.source=t,this.isUserInput=e},Ht=new f.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),zt=function(){function t(t,e,n,r){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._id="mat-option-"+Bt++,this._mostRecentViewValue="",this.onSelectionChange=new f.EventEmitter,this._stateChanges=new m.Subject}return Object.defineProperty(t.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),t.prototype.select=function(){this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.deselect=function(){this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent()},t.prototype.focus=function(){var t=this._getHostElement();"function"==typeof t.focus&&t.focus()},t.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},t.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},t.prototype.getLabel=function(){return this.viewValue},t.prototype._handleKeydown=function(t){t.keyCode!==p.ENTER&&t.keyCode!==p.SPACE||(this._selectViaInteraction(),t.preventDefault())},t.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},t.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},t.prototype._getHostElement=function(){return this._element.nativeElement},t.prototype.ngAfterViewChecked=function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}},t.prototype._emitSelectionChangeEvent=function(t){void 0===t&&(t=!1),this.onSelectionChange.emit(new Ut(this,t))},t.decorators=[{type:f.Component,args:[{selector:"mat-option",exportAs:"matOption",host:{role:"option","[attr.tabindex]":"_getTabIndex()","[class.mat-selected]":"selected","[class.mat-option-multiple]":"multiple","[class.mat-active]":"active","[id]":"id","[attr.aria-selected]":"selected.toString()","[attr.aria-disabled]":"disabled.toString()","[class.mat-option-disabled]":"disabled","(click)":"_selectViaInteraction()","(keydown)":"_handleKeydown($event)",class:"mat-option"},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;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}[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}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],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>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.ChangeDetectorRef},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[Ht]}]},{type:Vt,decorators:[{type:f.Optional}]}]},t.propDecorators={value:[{type:f.Input}],disabled:[{type:f.Input}],onSelectionChange:[{type:f.Output}]},t}();function Gt(t,e,n){if(n.length){for(var r=e.toArray(),i=n.toArray(),o=0,a=0;a<t+1;a++)r[a].group&&r[a].group===i[o]&&o++;return o}return 0}function Wt(t,e,n,r){var i=t*e;return i<n?i:n+r<i+e?Math.max(0,i-r+e):n}var qt=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[It,n.CommonModule,Nt],exports:[zt,Vt],declarations:[zt,Vt]}]}],t.ctorParameters=function(){return[]},t}(),Yt=new f.InjectionToken("mat-label-global-options"),$t=0,Kt=function(){function t(){this.id="mat-error-"+$t++}return t.decorators=[{type:f.Directive,args:[{selector:"mat-error",host:{class:"mat-error",role:"alert","[attr.id]":"id"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={id:[{type:f.Input}]},t}(),Qt={transitionMessages:w.trigger("transitionMessages",[w.state("enter",w.style({opacity:1,transform:"translateY(0%)"})),w.transition("void => enter",[w.style({opacity:0,transform:"translateY(-100%)"}),w.animate("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Xt=function(){};function Zt(){return Error("Placeholder attribute and child element were both specified.")}function Jt(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}function te(){return Error("mat-form-field must contain a MatFormFieldControl.")}var ee=0,ne=function(){function t(){this.align="start",this.id="mat-hint-"+ee++}return t.decorators=[{type:f.Directive,args:[{selector:"mat-hint",host:{class:"mat-hint","[class.mat-right]":'align == "end"',"[attr.id]":"id","[attr.align]":"null"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={align:[{type:f.Input}],id:[{type:f.Input}]},t}(),re=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-label"}]}],t.ctorParameters=function(){return[]},t}(),ie=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-placeholder"}]}],t.ctorParameters=function(){return[]},t}(),oe=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[matPrefix]"}]}],t.ctorParameters=function(){return[]},t}(),ae=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[matSuffix]"}]}],t.ctorParameters=function(){return[]},t}(),se=function(t){this._elementRef=t},le=tt(se,"primary"),ce=0,ue=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r._elementRef=t,r._changeDetectorRef=e,r._showAlwaysAnimate=!1,r._subscriptAnimationState="",r._hintLabel="",r._hintLabelId="mat-hint-"+ce++,r._labelOptions=n||{},r.floatLabel=r._labelOptions.float||"auto",r}return Y(t,i),Object.defineProperty(t.prototype,"dividerColor",{get:function(){return this.color},set:function(t){this.color=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this._floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_canLabelFloat",{get:function(){return"never"!==this._floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatPlaceholder",{get:function(){return this._floatLabel},set:function(t){this.floatLabel=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatLabel",{get:function(){return this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild(),this._control.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+this._control.controlType),this._control.stateChanges.pipe(_.startWith(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()});var e=this._control.ngControl;e&&e.valueChanges&&e.valueChanges.subscribe(function(){t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(_.startWith(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(_.startWith(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})},t.prototype.ngAfterContentChecked=function(){this._validateControlChild()},t.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},t.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},t.prototype._hasPlaceholder=function(){return!(!this._control.placeholder&&!this._placeholderChild)},t.prototype._hasLabel=function(){return!!this._labelChild},t.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._control.shouldPlaceholderFloat||this._shouldAlwaysFloat)},t.prototype._hideControlPlaceholder=function(){return!this._hasLabel()||!this._shouldLabelFloat()},t.prototype._hasFloatingLabel=function(){return this._hasLabel()||this._hasPlaceholder()},t.prototype._getDisplayedMessages=function(){return this._errorChildren&&0<this._errorChildren.length&&this._control.errorState?"error":"hint"},t.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._showAlwaysAnimate=!0,this._floatLabel="always",h.fromEvent(this._label.nativeElement,"transitionend").pipe(y.take(1)).subscribe(function(){t._showAlwaysAnimate=!1}),this._changeDetectorRef.markForCheck())},t.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Zt()},t.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},t.prototype._validateHints=function(){var e,n,r=this;this._hintChildren&&this._hintChildren.forEach(function(t){if("start"===t.align){if(e||r.hintLabel)throw Jt("start");e=t}else if("end"===t.align){if(n)throw Jt("end");n=t}})},t.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},t.prototype._validateControlChild=function(){if(!this._control)throw te()},t.decorators=[{type:f.Component,args:[{selector:"mat-input-container, mat-form-field",exportAs:"matFormField",template:'<div class="mat-input-wrapper mat-form-field-wrapper"><div class="mat-input-flex mat-form-field-flex" #connectionContainer (click)="_control.onContainerClick && _control.onContainerClick($event)"><div class="mat-input-prefix mat-form-field-prefix" *ngIf="_prefixChildren.length"><ng-content select="[matPrefix]"></ng-content></div><div class="mat-input-infix mat-form-field-infix" #inputContainer><ng-content></ng-content><span class="mat-form-field-label-wrapper mat-input-placeholder-wrapper mat-form-field-placeholder-wrapper"><label class="mat-form-field-label mat-input-placeholder mat-form-field-placeholder" [attr.for]="_control.id" [attr.aria-owns]="_control.id" [class.mat-empty]="_control.empty && !_shouldAlwaysFloat" [class.mat-form-field-empty]="_control.empty && !_shouldAlwaysFloat" [class.mat-accent]="color == \'accent\'" [class.mat-warn]="color == \'warn\'" #label *ngIf="_hasFloatingLabel()" [ngSwitch]="_hasLabel()"><ng-container *ngSwitchCase="false"><ng-content select="mat-placeholder"></ng-content>{{_control.placeholder}}</ng-container><ng-content select="mat-label" *ngSwitchCase="true"></ng-content><span class="mat-placeholder-required mat-form-field-required-marker" aria-hidden="true" *ngIf="!hideRequiredMarker && _control.required && !_control.disabled"> *</span></label></span></div><div class="mat-input-suffix mat-form-field-suffix" *ngIf="_suffixChildren.length"><ng-content select="[matSuffix]"></ng-content></div></div><div class="mat-input-underline mat-form-field-underline" #underline><span class="mat-input-ripple mat-form-field-ripple" [class.mat-accent]="color == \'accent\'" [class.mat-warn]="color == \'warn\'"></span></div><div class="mat-input-subscript-wrapper mat-form-field-subscript-wrapper" [ngSwitch]="_getDisplayedMessages()"><div *ngSwitchCase="\'error\'" [@transitionMessages]="_subscriptAnimationState"><ng-content select="mat-error"></ng-content></div><div class="mat-input-hint-wrapper mat-form-field-hint-wrapper" *ngSwitchCase="\'hint\'" [@transitionMessages]="_subscriptAnimationState"><div *ngIf="hintLabel" [id]="_hintLabelId" class="mat-hint">{{hintLabel}}</div><ng-content select="mat-hint:not([align=\'end\'])"></ng-content><div class="mat-input-hint-spacer mat-form-field-hint-spacer"></div><ng-content select="mat-hint[align=\'end\']"></ng-content></div></div></div>',styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform:perspective(100px);-ms-transform:none;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-placeholder-wrapper .mat-form-field-placeholder{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;height:1px;width:100%}.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.mat-form-field-underline .mat-form-field-ripple{position:absolute;top:0;left:0;width:100%;height:2px;transform-origin:50%;transform:scaleX(.5);visibility:hidden;opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field-invalid:not(.mat-focused) .mat-form-field-underline .mat-form-field-ripple{height:1px}.mat-focused .mat-form-field-underline .mat-form-field-ripple,.mat-form-field-invalid .mat-form-field-underline .mat-form-field-ripple{visibility:visible;opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block} .mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-autosize{resize:none}"],animations:[Qt.transitionMessages],host:{class:"mat-input-container mat-form-field","[class.mat-input-invalid]":"_control.errorState","[class.mat-form-field-invalid]":"_control.errorState","[class.mat-form-field-can-float]":"_canLabelFloat","[class.mat-form-field-should-float]":"_shouldLabelFloat()","[class.mat-form-field-hide-placeholder]":"_hideControlPlaceholder()","[class.mat-form-field-disabled]":"_control.disabled","[class.mat-focused]":"_control.focused","[class.ng-untouched]":'_shouldForward("untouched")',"[class.ng-touched]":'_shouldForward("touched")',"[class.ng-pristine]":'_shouldForward("pristine")',"[class.ng-dirty]":'_shouldForward("dirty")',"[class.ng-valid]":'_shouldForward("valid")',"[class.ng-invalid]":'_shouldForward("invalid")',"[class.ng-pending]":'_shouldForward("pending")'},inputs:["color"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.ChangeDetectorRef},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[Yt]}]}]},t.propDecorators={dividerColor:[{type:f.Input}],hideRequiredMarker:[{type:f.Input}],hintLabel:[{type:f.Input}],floatPlaceholder:[{type:f.Input}],floatLabel:[{type:f.Input}],underlineRef:[{type:f.ViewChild,args:["underline"]}],_connectionContainerRef:[{type:f.ViewChild,args:["connectionContainer"]}],_inputContainerRef:[{type:f.ViewChild,args:["inputContainer"]}],_label:[{type:f.ViewChild,args:["label"]}],_control:[{type:f.ContentChild,args:[Xt]}],_placeholderChild:[{type:f.ContentChild,args:[ie]}],_labelChild:[{type:f.ContentChild,args:[re]}],_errorChildren:[{type:f.ContentChildren,args:[Kt]}],_hintChildren:[{type:f.ContentChildren,args:[ne]}],_prefixChildren:[{type:f.ContentChildren,args:[oe]}],_suffixChildren:[{type:f.ContentChildren,args:[ae]}]},t}(le),pe=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{declarations:[Kt,ne,ue,ie,oe,ae,re],imports:[n.CommonModule,u.PlatformModule],exports:[Kt,ne,ue,ie,oe,ae,re]}]}],t.ctorParameters=function(){return[]},t}(),de=0,he=function(t,e){this.source=t,this.option=e},fe=function(){},me=et(fe),ge=new f.InjectionToken("mat-autocomplete-default-options"),ye=function(i){function t(t,e,n){var r=i.call(this)||this;return r._changeDetectorRef=t,r._elementRef=e,r.showPanel=!1,r._isOpen=!1,r.displayWith=null,r.optionSelected=new f.EventEmitter,r._classList={},r.id="mat-autocomplete-"+de++,r._autoActiveFirstOption=!(!n||void 0===n.autoActiveFirstOption)&&n.autoActiveFirstOption,r}return Y(t,i),Object.defineProperty(t.prototype,"isOpen",{get:function(){return this._isOpen&&this.showPanel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoActiveFirstOption",{get:function(){return this._autoActiveFirstOption},set:function(t){this._autoActiveFirstOption=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{set:function(t){var e=this;t&&t.length&&(t.split(" ").forEach(function(t){return e._classList[t.trim()]=!0}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._keyManager=new d.ActiveDescendantKeyManager(this.options).withWrap(),this._setVisibility()},t.prototype._setScrollTop=function(t){this.panel&&(this.panel.nativeElement.scrollTop=t)},t.prototype._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0},t.prototype._setVisibility=function(){this.showPanel=!!this.options.length,this._classList["mat-autocomplete-visible"]=this.showPanel,this._classList["mat-autocomplete-hidden"]=!this.showPanel,this._changeDetectorRef.markForCheck()},t.prototype._emitSelectEvent=function(t){var e=new he(this,t);this.optionSelected.emit(e)},t.decorators=[{type:f.Component,args:[{selector:"mat-autocomplete",template:'<ng-template><div class="mat-autocomplete-panel" role="listbox" [id]="id" [ngClass]="_classList" #panel><ng-content></ng-content></div></ng-template>',styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,exportAs:"matAutocomplete",inputs:["disableRipple"],host:{class:"mat-autocomplete"},providers:[{provide:Ht,useExisting:t}]}]}],t.ctorParameters=function(){return[{type:f.ChangeDetectorRef},{type:f.ElementRef},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[ge]}]}]},t.propDecorators={template:[{type:f.ViewChild,args:[f.TemplateRef]}],panel:[{type:f.ViewChild,args:["panel"]}],options:[{type:f.ContentChildren,args:[zt,{descendants:!0}]}],optionGroups:[{type:f.ContentChildren,args:[Vt]}],displayWith:[{type:f.Input}],autoActiveFirstOption:[{type:f.Input}],optionSelected:[{type:f.Output}],classList:[{type:f.Input,args:["class"]}]},t}(me),ve=new f.InjectionToken("mat-autocomplete-scroll-strategy");function be(t){return function(){return t.scrollStrategies.reposition()}}var _e={provide:ve,deps:[a.Overlay],useFactory:be},we={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return xe}),multi:!0};function Ce(){return Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}var xe=function(){function t(t,e,n,r,i,o,a,s,l){var c=this;this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=r,this._changeDetectorRef=i,this._scrollStrategy=o,this._dir=a,this._formField=s,this._document=l,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._closeKeyEventStream=new m.Subject,this._onChange=function(){},this._onTouched=function(){},this._panelOpen=!1,this.optionSelections=C.defer(function(){return c.autocomplete&&c.autocomplete.options?x.merge.apply(void 0,c.autocomplete.options.map(function(t){return t.onSelectionChange})):c._zone.onStable.asObservable().pipe(y.take(1),v.switchMap(function(){return c.optionSelections}))})}return t.prototype.ngOnDestroy=function(){this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()},Object.defineProperty(t.prototype,"panelOpen",{get:function(){return this._panelOpen&&this.autocomplete.showPanel},enumerable:!0,configurable:!0}),t.prototype.openPanel=function(){this._attachOverlay(),this._floatLabel()},t.prototype.closePanel=function(){this._resetLabel(),this._panelOpen&&(this.autocomplete._isOpen=this._panelOpen=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())},Object.defineProperty(t.prototype,"panelClosingActions",{get:function(){var t=this;return x.merge(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(g.filter(function(){return t._panelOpen})),this._closeKeyEventStream,this._outsideClickStream,this._overlayRef?this._overlayRef.detachments().pipe(g.filter(function(){return t._panelOpen})):S.of())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeOption",{get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_outsideClickStream",{get:function(){var r=this;return this._document?x.merge(h.fromEvent(this._document,"click"),h.fromEvent(this._document,"touchend")).pipe(g.filter(function(t){var e=t.target,n=r._formField?r._formField._elementRef.nativeElement:null;return r._panelOpen&&e!==r._element.nativeElement&&(!n||!n.contains(e))&&!!r._overlayRef&&!r._overlayRef.overlayElement.contains(e)})):S.of(null)},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this;Promise.resolve(null).then(function(){return e._setTriggerValue(t)})},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this._element.nativeElement.disabled=t},t.prototype._handleKeydown=function(t){var e=t.keyCode;if(e===p.ESCAPE&&t.preventDefault(),this.panelOpen&&(e===p.ESCAPE||e===p.UP_ARROW&&t.altKey))this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation();else if(this.activeOption&&e===p.ENTER&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else{var n=this.autocomplete._keyManager.activeItem,r=e===p.UP_ARROW||e===p.DOWN_ARROW;this.panelOpen||e===p.TAB?this.autocomplete._keyManager.onKeydown(t):r&&this._canOpen()&&this.openPanel(),(r||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}},t.prototype._handleInput=function(t){var e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._canOpen()&&this._previousValue!==n&&document.activeElement===t.target&&(this._previousValue=n,this._onChange(n),this.openPanel())},t.prototype._handleFocus=function(){this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0))},t.prototype._floatLabel=function(t){void 0===t&&(t=!1),this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)},t.prototype._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)},t.prototype._scrollToOption=function(){var t=this.autocomplete._keyManager.activeItemIndex||0,e=Wt(t+Gt(t,this.autocomplete.options,this.autocomplete.optionGroups),48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(e)},t.prototype._subscribeToClosingActions=function(){var e=this,t=this._zone.onStable.asObservable().pipe(y.take(1)),n=this.autocomplete.options.changes.pipe(o.tap(function(){return e._positionStrategy.recalculateLastPosition()}),r.delay(0));return x.merge(t,n).pipe(v.switchMap(function(){return e._resetActiveItem(),e.autocomplete._setVisibility(),e.panelClosingActions}),y.take(1)).subscribe(function(t){return e._setValueAndClose(t)})},t.prototype._destroyPanel=function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)},t.prototype._setTriggerValue=function(t){var e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n},t.prototype._setValueAndClose=function(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()},t.prototype._clearPreviousSelectedOption=function(e){this.autocomplete.options.forEach(function(t){t!=e&&t.selected&&t.deselect()})},t.prototype._attachOverlay=function(){if(!this.autocomplete)throw Ce();this._overlayRef?this._overlayRef.updateSize({width:this._getHostWidth()}):(this._portal=new l.TemplatePortal(this.autocomplete.template,this._viewContainerRef),this._overlayRef=this._overlay.create(this._getOverlayConfig())),this._overlayRef&&!this._overlayRef.hasAttached()&&(this._overlayRef.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions()),this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._panelOpen=!0},t.prototype._getOverlayConfig=function(){return new a.OverlayConfig({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getHostWidth(),direction:this._dir?this._dir.value:"ltr"})},t.prototype._getOverlayPosition=function(){return this._positionStrategy=this._overlay.position().connectedTo(this._getConnectedElement(),{originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),this._positionStrategy},t.prototype._getConnectedElement=function(){return this._formField?this._formField._connectionContainerRef:this._element},t.prototype._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width},t.prototype._resetActiveItem=function(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)},t.prototype._canOpen=function(){var t=this._element.nativeElement;return!t.readOnly&&!t.disabled},t.decorators=[{type:f.Directive,args:[{selector:"input[matAutocomplete], textarea[matAutocomplete]",host:{role:"combobox",autocomplete:"off","aria-autocomplete":"list","[attr.aria-activedescendant]":"activeOption?.id","[attr.aria-expanded]":"panelOpen.toString()","[attr.aria-owns]":"autocomplete?.id","(focusin)":"_handleFocus()","(blur)":"_onTouched()","(input)":"_handleInput($event)","(keydown)":"_handleKeydown($event)"},exportAs:"matAutocompleteTrigger",providers:[we]}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:a.Overlay},{type:f.ViewContainerRef},{type:f.NgZone},{type:f.ChangeDetectorRef},{type:void 0,decorators:[{type:f.Inject,args:[ve]}]},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:ue,decorators:[{type:f.Optional},{type:f.Host}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[n.DOCUMENT]}]}]},t.propDecorators={autocomplete:[{type:f.Input,args:["matAutocomplete"]}]},t}(),Se=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[qt,a.OverlayModule,Z,n.CommonModule],exports:[ye,qt,xe,Z],declarations:[ye,xe],providers:[_e]}]}],t.ctorParameters=function(){return[]},t}(),Ee="accent",ke="primary",Oe=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Pe=function(t){this._elementRef=t},Ae=tt(J(et(Pe))),De=function(s){function t(t,e,n){var r=s.call(this,t)||this;r._platform=e,r._focusMonitor=n,r._isRoundButton=r._hasHostAttributes("mat-fab","mat-mini-fab"),r._isIconButton=r._hasHostAttributes("mat-icon-button");for(var i=0,o=Oe;i<o.length;i++){var a=o[i];r._hasHostAttributes(a)&&t.nativeElement.classList.add(a)}return r._focusMonitor.monitor(r._elementRef.nativeElement,!0),r._isRoundButton?r.color=Ee:r._hasHostAttributes("mat-flat-button")&&(r.color=ke),r}return Y(t,s),t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef.nativeElement)},t.prototype.focus=function(){this._getHostElement().focus()},t.prototype._getHostElement=function(){return this._elementRef.nativeElement},t.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},t.prototype._hasHostAttributes=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!!this._platform.isBrowser&&t.some(function(t){return e._getHostElement().hasAttribute(t)})},t.decorators=[{type:f.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]",exportAs:"matButton",host:{"[disabled]":"disabled || null"},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>',styles:[".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:88px;line-height:36px;padding:0 16px;border-radius:2px}.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:1}.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 .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{transition:none;opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:1}.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:88px;line-height:36px;padding:0 16px;border-radius:2px;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[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:1}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]{box-shadow:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-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:88px;line-height:36px;padding:0 16px;border-radius:2px;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[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:1}.mat-fab::-moz-focus-inner{border:0}.mat-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-fab[disabled]{box-shadow:none}.mat-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .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:88px;line-height:36px;padding:0 16px;border-radius:2px;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[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:1}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-mini-fab[disabled]{box-shadow:none}.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-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,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],inputs:["disabled","disableRipple","color"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:u.Platform},{type:d.FocusMonitor}]},t.propDecorators={ripple:[{type:f.ViewChild,args:[Mt]}]},t}(Ae),Te=function(r){function t(t,e,n){return r.call(this,n,t,e)||this}return Y(t,r),t.prototype._haltDisabledEvents=function(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())},t.decorators=[{type:f.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]",exportAs:"matButton, matAnchor",host:{"[attr.tabindex]":"disabled ? -1 : 0","[attr.disabled]":"disabled || null","[attr.aria-disabled]":"disabled.toString()","(click)":"_haltDisabledEvents($event)"},inputs:["disabled","disableRipple","color"],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>',styles:[".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:88px;line-height:36px;padding:0 16px;border-radius:2px}.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:1}.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 .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{transition:none;opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:1}.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:88px;line-height:36px;padding:0 16px;border-radius:2px;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[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:1}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]{box-shadow:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-flat-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-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:88px;line-height:36px;padding:0 16px;border-radius:2px;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[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:1}.mat-fab::-moz-focus-inner{border:0}.mat-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-fab[disabled]{box-shadow:none}.mat-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .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:88px;line-height:36px;padding:0 16px;border-radius:2px;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[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:1}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-mini-fab[disabled]{box-shadow:none}.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-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,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:u.Platform},{type:d.FocusMonitor},{type:f.ElementRef}]},t}(De),Me=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,It,Z,d.A11yModule],exports:[De,Te,Z],declarations:[De,Te]}]}],t.ctorParameters=function(){return[]},t}(),Ie=function(){},Re=J(Ie),Ne={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return Fe}),multi:!0},Le=0,je=function(){},Fe=function(n){function t(t){var e=n.call(this)||this;return e._changeDetector=t,e._controlValueAccessorChangeFn=function(){},e._onTouched=function(){},e._name="mat-button-toggle-group-"+Le++,e._vertical=!1,e._value=null,e.valueChange=new f.EventEmitter,e._selected=null,e.change=new f.EventEmitter,e}return Y(t,n),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._updateButtonToggleNames()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,this.valueChange.emit(t),this._updateSelectedButtonToggleFromValue())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,t&&!t.checked&&(t.checked=!0)},enumerable:!0,configurable:!0}),t.prototype._updateButtonToggleNames=function(){var e=this;this._buttonToggles&&this._buttonToggles.forEach(function(t){t.name=e._name})},t.prototype._updateSelectedButtonToggleFromValue=function(){var e=this,t=null!=this._selected&&this._selected.value==this._value;if(null!=this._buttonToggles&&!t){var n=this._buttonToggles.filter(function(t){return t.value==e._value})[0];n?this.selected=n:null==this.value&&(this.selected=null,this._buttonToggles.forEach(function(t){t.checked=!1}))}},t.prototype._emitChangeEvent=function(){var t=new je;t.source=this._selected,t.value=this._value,this._controlValueAccessorChangeFn(t.value),this.change.emit(t)},t.prototype.writeValue=function(t){this.value=t,this._changeDetector.markForCheck()},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._markButtonTogglesForCheck()},t.prototype._markButtonTogglesForCheck=function(){this._buttonToggles&&this._buttonToggles.forEach(function(t){return t._markForCheck()})},t.decorators=[{type:f.Directive,args:[{selector:"mat-button-toggle-group:not([multiple])",providers:[Ne],inputs:["disabled"],host:{role:"radiogroup",class:"mat-button-toggle-group","[class.mat-button-toggle-vertical]":"vertical"},exportAs:"matButtonToggleGroup"}]}],t.ctorParameters=function(){return[{type:f.ChangeDetectorRef}]},t.propDecorators={_buttonToggles:[{type:f.ContentChildren,args:[f.forwardRef(function(){return Be})]}],name:[{type:f.Input}],vertical:[{type:f.Input}],value:[{type:f.Input}],valueChange:[{type:f.Output}],selected:[{type:f.Input}],change:[{type:f.Output}]},t}(Re),Ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._vertical=!1,t}return Y(t,e),Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.decorators=[{type:f.Directive,args:[{selector:"mat-button-toggle-group[multiple]",exportAs:"matButtonToggleGroup",inputs:["disabled"],host:{class:"mat-button-toggle-group","[class.mat-button-toggle-vertical]":"vertical",role:"group"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={vertical:[{type:f.Input}]},t}(Re),Be=function(){function t(t,e,n,r,i,o){var a=this;this._changeDetectorRef=n,this._buttonToggleDispatcher=r,this._elementRef=i,this._focusMonitor=o,this.ariaLabel="",this.ariaLabelledby=null,this._isSingleSelector=!1,this._removeUniqueSelectionListener=function(){},this._checked=!1,this._value=null,this._disabled=!1,this.change=new f.EventEmitter,this.buttonToggleGroup=t,this.buttonToggleGroupMultiple=e,this.buttonToggleGroup?(this._removeUniqueSelectionListener=r.listen(function(t,e){t!=a.id&&e==a.name&&(a.checked=!1,a._changeDetectorRef.markForCheck())}),this._type="radio",this.name=this.buttonToggleGroup.name,this._isSingleSelector=!0):(this._type="checkbox",this._isSingleSelector=!1)}return Object.defineProperty(t.prototype,"inputId",{get:function(){return this.id+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._isSingleSelector&&t&&(this._buttonToggleDispatcher.notify(this.id,this.name),this._changeDetectorRef.markForCheck()),(this._checked=t)&&this._isSingleSelector&&this.buttonToggleGroup.value!=this.value&&(this.buttonToggleGroup.selected=this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(null!=this.buttonToggleGroup&&this.checked&&(this.buttonToggleGroup.value=t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||null!=this.buttonToggleGroup&&this.buttonToggleGroup.disabled||null!=this.buttonToggleGroupMultiple&&this.buttonToggleGroupMultiple.disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){null==this.id&&(this.id="mat-button-toggle-"+Le++),this.buttonToggleGroup&&this._value==this.buttonToggleGroup.value&&(this._checked=!0),this._focusMonitor.monitor(this._elementRef.nativeElement,!0)},t.prototype.focus=function(){this._inputElement.nativeElement.focus()},t.prototype._toggle=function(){this.checked=!this.checked},t.prototype._onInputChange=function(t){if(t.stopPropagation(),this._isSingleSelector){var e=this.buttonToggleGroup.selected!=this;this.checked=!0,(this.buttonToggleGroup.selected=this).buttonToggleGroup._onTouched(),e&&this.buttonToggleGroup._emitChangeEvent()}else this._toggle();this._emitChangeEvent()},t.prototype._onInputClick=function(t){t.stopPropagation()},t.prototype._emitChangeEvent=function(){var t=new je;t.source=this,t.value=this._value,this.change.emit(t)},t.prototype.ngOnDestroy=function(){this._removeUniqueSelectionListener()},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t.decorators=[{type:f.Component,args:[{selector:"mat-button-toggle",template:'<label [attr.for]="inputId" class="mat-button-toggle-label"><input #input class="mat-button-toggle-input cdk-visually-hidden" [type]="_type" [id]="inputId" [checked]="checked" [disabled]="disabled || null" [attr.name]="name" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby" (change)="_onInputChange($event)" (click)="_onInputClick($event)"><div class="mat-button-toggle-label-content"><ng-content></ng-content></div></label><div class="mat-button-toggle-focus-overlay"></div>',styles:[".mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);position:relative;display:inline-flex;flex-direction:row;border-radius:2px;cursor:pointer;white-space:nowrap;overflow:hidden}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle-disabled .mat-button-toggle-label-content{cursor:default}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay,.mat-button-toggle.cdk-program-focused .mat-button-toggle-focus-overlay{opacity:1}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;cursor:pointer}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,exportAs:"matButtonToggle",changeDetection:f.ChangeDetectionStrategy.OnPush,host:{"[class.mat-button-toggle-standalone]":"!buttonToggleGroup && !buttonToggleGroupMultiple","[class.mat-button-toggle-checked]":"checked","[class.mat-button-toggle-disabled]":"disabled",class:"mat-button-toggle","[attr.id]":"id"}}]}],t.ctorParameters=function(){return[{type:Fe,decorators:[{type:f.Optional}]},{type:Ve,decorators:[{type:f.Optional}]},{type:f.ChangeDetectorRef},{type:E.UniqueSelectionDispatcher},{type:f.ElementRef},{type:d.FocusMonitor}]},t.propDecorators={ariaLabel:[{type:f.Input,args:["aria-label"]}],ariaLabelledby:[{type:f.Input,args:["aria-labelledby"]}],_inputElement:[{type:f.ViewChild,args:["input"]}],id:[{type:f.Input}],name:[{type:f.Input}],checked:[{type:f.Input}],value:[{type:f.Input}],disabled:[{type:f.Input}],change:[{type:f.Output}]},t}(),Ue=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z,d.A11yModule],exports:[Fe,Ve,Be,Z],declarations:[Fe,Ve,Be],providers:[E.UNIQUE_SELECTION_DISPATCHER_PROVIDER]}]}],t.ctorParameters=function(){return[]},t}(),He=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-card-content",host:{class:"mat-card-content"}}]}],t.ctorParameters=function(){return[]},t}(),ze=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-card-title, [mat-card-title], [matCardTitle]",host:{class:"mat-card-title"}}]}],t.ctorParameters=function(){return[]},t}(),Ge=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-card-subtitle, [mat-card-subtitle], [matCardSubtitle]",host:{class:"mat-card-subtitle"}}]}],t.ctorParameters=function(){return[]},t}(),We=function(){function t(){this.align="start"}return t.decorators=[{type:f.Directive,args:[{selector:"mat-card-actions",exportAs:"matCardActions",host:{class:"mat-card-actions","[class.mat-card-actions-align-end]":'align === "end"'}}]}],t.ctorParameters=function(){return[]},t.propDecorators={align:[{type:f.Input}]},t}(),qe=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-card-footer",host:{class:"mat-card-footer"}}]}],t.ctorParameters=function(){return[]},t}(),Ye=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-card-image], [matCardImage]",host:{class:"mat-card-image"}}]}],t.ctorParameters=function(){return[]},t}(),$e=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-card-sm-image], [matCardImageSmall]",host:{class:"mat-card-sm-image"}}]}],t.ctorParameters=function(){return[]},t}(),Ke=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-card-md-image], [matCardImageMedium]",host:{class:"mat-card-md-image"}}]}],t.ctorParameters=function(){return[]},t}(),Qe=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-card-lg-image], [matCardImageLarge]",host:{class:"mat-card-lg-image"}}]}],t.ctorParameters=function(){return[]},t}(),Xe=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-card-xl-image], [matCardImageXLarge]",host:{class:"mat-card-xl-image"}}]}],t.ctorParameters=function(){return[]},t}(),Ze=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-card-avatar], [matCardAvatar]",host:{class:"mat-card-avatar"}}]}],t.ctorParameters=function(){return[]},t}(),Je=function(){function t(){}return t.decorators=[{type:f.Component,args:[{selector:"mat-card",exportAs:"matCard",template:'<ng-content></ng-content><ng-content select="mat-card-footer"></ng-content>',styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:24px;border-radius:2px}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-card .mat-divider{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider{left:auto;right:0}.mat-card .mat-divider.mat-divider-inset{position:static;margin:0}@media screen and (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-flat{box-shadow:none}.mat-card-actions,.mat-card-content,.mat-card-subtitle,.mat-card-title{display:block;margin-bottom:16px}.mat-card-actions{margin-left:-16px;margin-right:-16px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 48px);margin:0 -24px 16px -24px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-footer{display:block;margin:0 -24px -24px -24px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 4px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header-text{margin:0 8px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0}.mat-card-lg-image,.mat-card-md-image,.mat-card-sm-image{margin:-8px 0}.mat-card-title-group{display:flex;justify-content:space-between;margin:0 -8px}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}@media (max-width:599px){.mat-card{padding:24px 16px}.mat-card-actions{margin-left:-8px;margin-right:-8px}.mat-card-image{width:calc(100% + 32px);margin:16px -16px}.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}.mat-card-header{margin:-8px 0 0 0}.mat-card-footer{margin-left:-16px;margin-right:-16px}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-24px}.mat-card>.mat-card-actions:last-child{margin-bottom:-16px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,host:{class:"mat-card"}}]}],t.ctorParameters=function(){return[]},t}(),tn=function(){function t(){}return t.decorators=[{type:f.Component,args:[{selector:"mat-card-header",template:'<ng-content select="[mat-card-avatar], [matCardAvatar]"></ng-content><div class="mat-card-header-text"><ng-content select="mat-card-title, mat-card-subtitle, [mat-card-title], [mat-card-subtitle], [matCardTitle], [matCardSubtitle]"></ng-content></div><ng-content></ng-content>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-header"}}]}],t.ctorParameters=function(){return[]},t}(),en=function(){function t(){}return t.decorators=[{type:f.Component,args:[{selector:"mat-card-title-group",template:'<div><ng-content select="mat-card-title, mat-card-subtitle, [mat-card-title], [mat-card-subtitle], [matCardTitle], [matCardSubtitle]"></ng-content></div><ng-content select="img"></ng-content><ng-content></ng-content>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,host:{class:"mat-card-title-group"}}]}],t.ctorParameters=function(){return[]},t}(),nn=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z],exports:[Je,tn,en,He,ze,Ge,We,qe,$e,Ke,Qe,Ye,Xe,Ze,Z],declarations:[Je,tn,en,He,ze,Ge,We,qe,$e,Ke,Qe,Ye,Xe,Ze]}]}],t.ctorParameters=function(){return[]},t}(),rn=new f.InjectionToken("mat-checkbox-click-action"),on=0,an={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return pn}),multi:!0},sn={Init:0,Checked:1,Unchecked:2,Indeterminate:3};sn[sn.Init]="Init",sn[sn.Checked]="Checked",sn[sn.Unchecked]="Unchecked",sn[sn.Indeterminate]="Indeterminate";var ln=function(){},cn=function(t){this._elementRef=t},un=nt(tt(et(J(cn)),"accent")),pn=function(a){function t(t,e,n,r,i){var o=a.call(this,t)||this;return o._changeDetectorRef=e,o._focusMonitor=n,o._clickAction=i,o.ariaLabel="",o.ariaLabelledby=null,o._uniqueId="mat-checkbox-"+ ++on,o.id=o._uniqueId,o.labelPosition="after",o.name=null,o.change=new f.EventEmitter,o.indeterminateChange=new f.EventEmitter,o._onTouched=function(){},o._currentAnimationClass="",o._currentCheckState=sn.Init,o._controlValueAccessorChangeFn=function(){},o._checked=!1,o._indeterminate=!1,o.tabIndex=parseInt(r)||0,o}return Y(t,a),Object.defineProperty(t.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"align",{get:function(){return"after"==this.labelPosition?"start":"end"},set:function(t){this.labelPosition="start"==t?"after":"before"},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var e=this;this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe(function(t){return e._onInputFocusChange(t)})},t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement)},Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=t,e&&(this._indeterminate?this._transitionCheckState(sn.Indeterminate):this._transitionCheckState(this.checked?sn.Checked:sn.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),t.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},t.prototype._onLabelTextChange=function(){this._changeDetectorRef.markForCheck()},t.prototype.writeValue=function(t){this.checked=!!t},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck()},t.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},t.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;e!==t&&(0<this._currentAnimationClass.length&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,0<this._currentAnimationClass.length&&n.classList.add(this._currentAnimationClass))},t.prototype._emitChangeEvent=function(){var t=new ln;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},t.prototype._onInputFocusChange=function(t){this._focusRipple||"keyboard"!==t?t||(this._removeFocusRipple(),this._onTouched()):this._focusRipple=this.ripple.launch(0,0,{persistent:!0})},t.prototype.toggle=function(){this.checked=!this.checked},t.prototype._onInputClick=function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?sn.Checked:sn.Unchecked),this._emitChangeEvent())},t.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},t.prototype._onInteractionEvent=function(t){t.stopPropagation()},t.prototype._getAnimationClassForCheckStateTransition=function(t,e){var n="";switch(t){case sn.Init:if(e===sn.Checked)n="unchecked-checked";else{if(e!=sn.Indeterminate)return"";n="unchecked-indeterminate"}break;case sn.Unchecked:n=e===sn.Checked?"unchecked-checked":"unchecked-indeterminate";break;case sn.Checked:n=e===sn.Unchecked?"checked-unchecked":"checked-indeterminate";break;case sn.Indeterminate:n=e===sn.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},t.prototype._removeFocusRipple=function(){this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null)},t.decorators=[{type:f.Component,args:[{selector:"mat-checkbox",template:'<label [attr.for]="inputId" class="mat-checkbox-layout" #label><div class="mat-checkbox-inner-container" [class.mat-checkbox-inner-container-no-side-margin]="!checkboxLabel.textContent || !checkboxLabel.textContent.trim()"><input #input class="mat-checkbox-input cdk-visually-hidden" type="checkbox" [id]="inputId" [required]="required" [checked]="checked" [attr.value]="value" [disabled]="disabled" [attr.name]="name" [tabIndex]="tabIndex" [indeterminate]="indeterminate" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby" [attr.aria-checked]="_getAriaChecked()" (change)="_onInteractionEvent($event)" (click)="_onInputClick($event)"><div matRipple class="mat-checkbox-ripple" [matRippleTrigger]="label" [matRippleDisabled]="_isRippleDisabled()" [matRippleRadius]="25" [matRippleCentered]="true" [matRippleAnimation]="{enterDuration: 150}"></div><div class="mat-checkbox-frame"></div><div class="mat-checkbox-background"><svg version="1.1" focusable="false" class="mat-checkbox-checkmark" viewBox="0 0 24 24" xml:space="preserve"><path class="mat-checkbox-checkmark-path" fill="none" stroke="white" d="M4.1,12.7 9,17.6 20.3,6.3"/></svg><div class="mat-checkbox-mixedmark"></div></div></div><span class="mat-checkbox-label" #checkboxLabel (cdkObserveContent)="_onLabelTextChange()"><span style="display:none"> </span><ng-content></ng-content></span></label>',styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-checkmark,.mat-checkbox-mixedmark{width:calc(100% - 4px)}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer}.mat-checkbox-layout{cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-inner-container{display:inline-block;height:20px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:20px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.66667px}.mat-checkbox-mixedmark{height:2px;opacity:0;transform:scaleX(0) rotate(0)}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-ripple{position:absolute;left:calc(50% - 25px);top:calc(50% - 25px);height:50px;width:50px;z-index:1;pointer-events:none}"],exportAs:"matCheckbox",host:{class:"mat-checkbox","[id]":"id","[class.mat-checkbox-indeterminate]":"indeterminate","[class.mat-checkbox-checked]":"checked","[class.mat-checkbox-disabled]":"disabled","[class.mat-checkbox-label-before]":'labelPosition == "before"'},providers:[an],inputs:["disabled","disableRipple","color","tabIndex"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.ChangeDetectorRef},{type:d.FocusMonitor},{type:void 0,decorators:[{type:f.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[rn]}]}]},t.propDecorators={ariaLabel:[{type:f.Input,args:["aria-label"]}],ariaLabelledby:[{type:f.Input,args:["aria-labelledby"]}],id:[{type:f.Input}],required:[{type:f.Input}],align:[{type:f.Input}],labelPosition:[{type:f.Input}],name:[{type:f.Input}],change:[{type:f.Output}],indeterminateChange:[{type:f.Output}],value:[{type:f.Input}],_inputElement:[{type:f.ViewChild,args:["input"]}],ripple:[{type:f.ViewChild,args:[Mt]}],checked:[{type:f.Input}],indeterminate:[{type:f.Input}]},t}(un),dn={provide:b.NG_VALIDATORS,useExisting:f.forwardRef(function(){return hn}),multi:!0},hn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"mat-checkbox[required][formControlName],\n mat-checkbox[required][formControl], mat-checkbox[required][ngModel]",providers:[dn],host:{"[attr.required]":'required ? "" : null'}}]}],e.ctorParameters=function(){return[]},e}(b.CheckboxRequiredValidator),fn=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,It,Z,k.ObserversModule,d.A11yModule],exports:[pn,hn,Z],declarations:[pn,hn]}]}],t.ctorParameters=function(){return[]},t}(),mn=function(t,e,n){void 0===n&&(n=!1),this.source=t,this.selected=e,this.isUserInput=n},gn=function(t){this._elementRef=t},yn=tt(J(gn),"primary"),vn=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-basic-chip, [mat-basic-chip]",host:{class:"mat-basic-chip"}}]}],t.ctorParameters=function(){return[]},t}(),bn=function(n){function t(t){var e=n.call(this,t)||this;return e._elementRef=t,e._hasFocus=!1,e._selected=!1,e._selectable=!0,e._removable=!0,e._onFocus=new m.Subject,e._onBlur=new m.Subject,e.selectionChange=new f.EventEmitter,e.destroyed=new f.EventEmitter,e.destroy=e.destroyed,e.removed=new f.EventEmitter,e.onRemove=e.removed,e}return Y(t,n),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=c.coerceBooleanProperty(t),this.selectionChange.emit({source:this,isUserInput:!1,selected:t})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return null!=this._value?this._value:this._elementRef.nativeElement.textContent},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._selectable},set:function(t){this._selectable=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"removable",{get:function(){return this._removable},set:function(t){this._removable=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaSelected",{get:function(){return this.selectable?this.selected.toString():null},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.destroyed.emit({chip:this})},t.prototype.select=function(){this._selected=!0,this.selectionChange.emit({source:this,isUserInput:!1,selected:!0})},t.prototype.deselect=function(){this._selected=!1,this.selectionChange.emit({source:this,isUserInput:!1,selected:!1})},t.prototype.selectViaInteraction=function(){this._selected=!0,this.selectionChange.emit({source:this,isUserInput:!0,selected:!0})},t.prototype.toggleSelected=function(t){return void 0===t&&(t=!1),this._selected=!this.selected,this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected}),this.selected},t.prototype.focus=function(){this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})},t.prototype.remove=function(){this.removable&&this.removed.emit({chip:this})},t.prototype._handleClick=function(t){this.disabled||(t.preventDefault(),t.stopPropagation(),this.focus())},t.prototype._handleKeydown=function(t){if(!this.disabled)switch(t.keyCode){case p.DELETE:case p.BACKSPACE:this.remove(),t.preventDefault();break;case p.SPACE:this.selectable&&this.toggleSelected(!0),t.preventDefault()}},t.prototype._blur=function(){this._hasFocus=!1,this._onBlur.next({chip:this})},t.decorators=[{type:f.Directive,args:[{selector:"mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]",inputs:["color","disabled"],exportAs:"matChip",host:{class:"mat-chip","[attr.tabindex]":"disabled ? null : -1",role:"option","[class.mat-chip-selected]":"selected","[attr.disabled]":"disabled || null","[attr.aria-disabled]":"disabled.toString()","[attr.aria-selected]":"ariaSelected","(click)":"_handleClick($event)","(keydown)":"_handleKeydown($event)","(focus)":"_hasFocus = true","(blur)":"_blur()"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef}]},t.propDecorators={selected:[{type:f.Input}],value:[{type:f.Input}],selectable:[{type:f.Input}],removable:[{type:f.Input}],selectionChange:[{type:f.Output}],destroyed:[{type:f.Output}],destroy:[{type:f.Output}],removed:[{type:f.Output}],onRemove:[{type:f.Output,args:["remove"]}]},t}(yn),_n=function(){function t(t){this._parentChip=t}return t.prototype._handleClick=function(){this._parentChip.removable&&this._parentChip.remove()},t.decorators=[{type:f.Directive,args:[{selector:"[matChipRemove]",host:{class:"mat-chip-remove","(click)":"_handleClick()"}}]}],t.ctorParameters=function(){return[{type:bn}]},t}(),wn=function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r},Cn=rt(wn),xn=0,Sn=function(t,e){this.source=t,this.value=e},En=function(l){function t(t,e,n,r,i,o,a){var s=l.call(this,o,r,i,a)||this;return s._elementRef=t,s._changeDetectorRef=e,s._dir=n,s.ngControl=a,s.controlType="mat-chip-list",s._lastDestroyedIndex=null,s._chipSet=new WeakMap,s._tabOutSubscription=O.Subscription.EMPTY,s._uid="mat-chip-list-"+xn++,s._tabIndex=0,s._userTabIndex=null,s._onTouched=function(){},s._onChange=function(){},s._multiple=!1,s._compareWith=function(t,e){return t===e},s._required=!1,s._disabled=!1,s.ariaOrientation="horizontal",s._selectable=!0,s.change=new f.EventEmitter,s.valueChange=new f.EventEmitter,s.ngControl&&(s.ngControl.valueAccessor=s),s}return Y(t,l),Object.defineProperty(t.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"role",{get:function(){return this.empty?null:"listbox"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(t){this._multiple=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this.writeValue(t),this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id||this._uid},set:function(t){this._id=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=c.coerceBooleanProperty(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{get:function(){return this.chips.some(function(t){return t._hasFocus})||this._chipInput&&this._chipInput.focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"empty",{get:function(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){return!this.empty||this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._selectable},set:function(t){this._selectable=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{set:function(t){this._userTabIndex=t,this._tabIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipSelectionChanges",{get:function(){return x.merge.apply(void 0,this.chips.map(function(t){return t.selectionChange}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipFocusChanges",{get:function(){return x.merge.apply(void 0,this.chips.map(function(t){return t._onFocus}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipBlurChanges",{get:function(){return x.merge.apply(void 0,this.chips.map(function(t){return t._onBlur}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipRemoveChanges",{get:function(){return x.merge.apply(void 0,this.chips.map(function(t){return t.destroy}))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._keyManager=new d.FocusKeyManager(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._tabOutSubscription=this._keyManager.tabOut.subscribe(function(){t._tabIndex=-1,setTimeout(function(){return t._tabIndex=t._userTabIndex||0})}),this._changeSubscription=this.chips.changes.pipe(_.startWith(null)).subscribe(function(){t._resetChips(),t._initializeSelection(),t._updateTabIndex(),t._updateFocusForDestroyedChips(),t.stateChanges.next()})},t.prototype.ngOnInit=function(){this._selectionModel=new E.SelectionModel(this.multiple,void 0,!1),this.stateChanges.next()},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},t.prototype.ngOnDestroy=function(){this._tabOutSubscription.unsubscribe(),this._changeSubscription&&this._changeSubscription.unsubscribe(),this._chipRemoveSubscription&&this._chipRemoveSubscription.unsubscribe(),this._dropSubscriptions(),this.stateChanges.complete()},t.prototype.registerInput=function(t){this._chipInput=t},t.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},t.prototype.writeValue=function(t){this.chips&&this._setSelectionByValue(t,!1)},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._elementRef.nativeElement.disabled=t,this.stateChanges.next()},t.prototype.onContainerClick=function(){this.focus()},t.prototype.focus=function(){this._chipInput&&this._chipInput.focused||(0<this.chips.length?this._keyManager.setFirstItemActive():this._focusInput(),this.stateChanges.next())},t.prototype._focusInput=function(){this._chipInput&&this._chipInput.focus()},t.prototype._keydown=function(t){var e=t.target;t.keyCode===p.BACKSPACE&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())},t.prototype._updateTabIndex=function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)},t.prototype._updateKeyManager=function(t){var e=this.chips.toArray().indexOf(t);this._isValidIndex(e)&&(t._hasFocus&&(e<this.chips.length-1?this._keyManager.setActiveItem(e):0<=e-1&&this._keyManager.setActiveItem(e-1)),this._keyManager.activeItemIndex===e&&(this._lastDestroyedIndex=e))},t.prototype._updateFocusForDestroyedChips=function(){var t=this.chips;if(null!=this._lastDestroyedIndex&&0<t.length){var e=Math.min(this._lastDestroyedIndex,t.length-1);this._keyManager.setActiveItem(e);var n=this._keyManager.activeItem;n&&n.focus()}this._lastDestroyedIndex=null},t.prototype._isValidIndex=function(t){return 0<=t&&t<this.chips.length},t.prototype._isInputEmpty=function(t){return!(!t||"input"!==t.nodeName.toLowerCase())&&!t.value},t.prototype._setSelectionByValue=function(t,e){var n=this;if(void 0===e&&(e=!0),this._clearSelection(),this.chips.forEach(function(t){return t.deselect()}),Array.isArray(t))t.forEach(function(t){return n._selectValue(t,e)}),this._sortValues();else{var r=this._selectValue(t,e);if(r){var i=this.chips.toArray().indexOf(r);e?this._keyManager.setActiveItem(i):this._keyManager.updateActiveItemIndex(i)}}},t.prototype._selectValue=function(e,t){var n=this;void 0===t&&(t=!0);var r=this.chips.find(function(t){return null!=t.value&&n._compareWith(t.value,e)});return r&&(t?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r},t.prototype._initializeSelection=function(){var t=this;Promise.resolve().then(function(){(t.ngControl||t._value)&&(t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value,!1),t.stateChanges.next())})},t.prototype._clearSelection=function(e){this._selectionModel.clear(),this.chips.forEach(function(t){t!==e&&t.deselect()}),this.stateChanges.next()},t.prototype._sortValues=function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(t){t.selected&&e._selectionModel.select(t)}),this.stateChanges.next())},t.prototype._propagateChanges=function(t){var e=null;e=Array.isArray(this.selected)?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.change.emit(new Sn(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()},t.prototype._blur=function(){var t=this;this.disabled||(this._chipInput?setTimeout(function(){t.focused||t._markAsTouched()}):this._markAsTouched())},t.prototype._markAsTouched=function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()},t.prototype._resetChips=function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()},t.prototype._dropSubscriptions=function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null)},t.prototype._listenToChipsSelection=function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(t){t.source.selected?e._selectionModel.select(t.source):e._selectionModel.deselect(t.source),e.multiple||e.chips.forEach(function(t){!e._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&e._propagateChanges()})},t.prototype._listenToChipsFocus=function(){var n=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(t){var e=n.chips.toArray().indexOf(t.chip);n._isValidIndex(e)&&n._keyManager.updateActiveItemIndex(e),n.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){n._blur(),n.stateChanges.next()})},t.prototype._listenToChipsRemoved=function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(t){e._updateKeyManager(t.chip)})},t.decorators=[{type:f.Component,args:[{selector:"mat-chip-list",template:'<div class="mat-chip-list-wrapper"><ng-content></ng-content></div>',exportAs:"matChipList",host:{"[attr.tabindex]":"_tabIndex","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-required]":"required.toString()","[attr.aria-disabled]":"disabled.toString()","[attr.aria-invalid]":"errorState","[attr.aria-multiselectable]":"multiple","[attr.role]":"role","[class.mat-chip-list-disabled]":"disabled","[class.mat-chip-list-invalid]":"errorState","[class.mat-chip-list-required]":"required","[attr.aria-orientation]":"ariaOrientation",class:"mat-chip-list","(focus)":"focus()","(blur)":"_blur()","(keydown)":"_keydown($event)"},providers:[{provide:Xt,useExisting:t}],styles:[".mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:baseline}.mat-chip:not(.mat-basic-chip){transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:24px;align-items:center;cursor:default}.mat-chip:not(.mat-basic-chip)+.mat-chip:not(.mat-basic-chip){margin:0 0 0 8px}[dir=rtl] .mat-chip:not(.mat-basic-chip)+.mat-chip:not(.mat-basic-chip){margin:0 8px 0 0}.mat-form-field-prefix .mat-chip:not(.mat-basic-chip):last-child{margin-right:8px}[dir=rtl] .mat-form-field-prefix .mat-chip:not(.mat-basic-chip):last-child{margin-left:8px}.mat-chip:not(.mat-basic-chip) .mat-chip-remove.mat-icon{width:1em;height:1em}.mat-chip:not(.mat-basic-chip):focus{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12);outline:0}@media screen and (-ms-high-contrast:active){.mat-chip:not(.mat-basic-chip){outline:solid 1px}}.mat-chip-list-stacked .mat-chip-list-wrapper{display:block}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){display:block;margin:0;margin-bottom:8px}[dir=rtl] .mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){margin:0;margin-bottom:8px}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child,[dir=rtl] .mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child{margin-bottom:0}.mat-form-field-prefix .mat-chip-list-wrapper{margin-bottom:8px}.mat-chip-remove{margin-right:-4px;margin-left:6px;cursor:pointer}[dir=rtl] .mat-chip-remove{margin-right:6px;margin-left:-4px}input.mat-chip-input{width:150px;margin:3px;flex:1 0 150px}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.ChangeDetectorRef},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:b.NgForm,decorators:[{type:f.Optional}]},{type:b.FormGroupDirective,decorators:[{type:f.Optional}]},{type:_t},{type:b.NgControl,decorators:[{type:f.Optional},{type:f.Self}]}]},t.propDecorators={errorStateMatcher:[{type:f.Input}],multiple:[{type:f.Input}],compareWith:[{type:f.Input}],value:[{type:f.Input}],id:[{type:f.Input}],required:[{type:f.Input}],placeholder:[{type:f.Input}],disabled:[{type:f.Input}],ariaOrientation:[{type:f.Input,args:["aria-orientation"]}],selectable:[{type:f.Input}],tabIndex:[{type:f.Input}],change:[{type:f.Output}],valueChange:[{type:f.Output}],chips:[{type:f.ContentChildren,args:[bn]}]},t}(Cn),kn=function(){function t(t){this._elementRef=t,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=[p.ENTER],this.chipEnd=new f.EventEmitter,this.placeholder="",this._inputElement=this._elementRef.nativeElement}return Object.defineProperty(t.prototype,"chipList",{set:function(t){t&&(this._chipList=t,this._chipList.registerInput(this))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"addOnBlur",{get:function(){return this._addOnBlur},set:function(t){this._addOnBlur=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"empty",{get:function(){return!this._inputElement.value},enumerable:!0,configurable:!0}),t.prototype._keydown=function(t){this._emitChipEnd(t)},t.prototype._blur=function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()},t.prototype._focus=function(){this.focused=!0,this._chipList.stateChanges.next()},t.prototype._emitChipEnd=function(t){!this._inputElement.value&&t&&this._chipList._keydown(t),(!t||-1<this.separatorKeyCodes.indexOf(t.keyCode))&&(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),t&&t.preventDefault())},t.prototype._onInput=function(){this._chipList.stateChanges.next()},t.prototype.focus=function(){this._inputElement.focus()},t.decorators=[{type:f.Directive,args:[{selector:"input[matChipInputFor]",exportAs:"matChipInput, matChipInputFor",host:{class:"mat-chip-input mat-input-element","(keydown)":"_keydown($event)","(blur)":"_blur()","(focus)":"_focus()","(input)":"_onInput()"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef}]},t.propDecorators={chipList:[{type:f.Input,args:["matChipInputFor"]}],addOnBlur:[{type:f.Input,args:["matChipInputAddOnBlur"]}],separatorKeyCodes:[{type:f.Input,args:["matChipInputSeparatorKeyCodes"]}],chipEnd:[{type:f.Output,args:["matChipInputTokenEnd"]}],placeholder:[{type:f.Input}]},t}(),On=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[],exports:[En,bn,kn,_n,_n,vn],declarations:[En,bn,kn,_n,_n,vn],providers:[_t]}]}],t.ctorParameters=function(){return[]},t}(),Pn=function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.direction="ltr",this.ariaDescribedBy=null,this.ariaLabel=null,this.autoFocus=!0,this.closeOnNavigation=!0},An={slideDialog:w.trigger("slideDialog",[w.state("enter",w.style({transform:"none",opacity:1})),w.state("void",w.style({transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0})),w.state("exit",w.style({transform:"translate3d(0, 25%, 0)",opacity:0})),w.transition("* => *",w.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function Dn(){throw Error("Attempting to attach dialog content after content is already attached")}var Tn=function(o){function t(t,e,n,r){var i=o.call(this)||this;return i._elementRef=t,i._focusTrapFactory=e,i._changeDetectorRef=n,i._document=r,i._elementFocusedBeforeDialogWasOpened=null,i._state="enter",i._animationStateChanged=new f.EventEmitter,i._ariaLabelledBy=null,i}return Y(t,o),t.prototype.attachComponentPortal=function(t){return this._portalOutlet.hasAttached()&&Dn(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(t)},t.prototype.attachTemplatePortal=function(t){return this._portalOutlet.hasAttached()&&Dn(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(t)},t.prototype._trapFocus=function(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady()},t.prototype._restoreFocus=function(){var t=this._elementFocusedBeforeDialogWasOpened;t&&"function"==typeof t.focus&&t.focus(),this._focusTrap&&this._focusTrap.destroy()},t.prototype._savePreviouslyFocusedElement=function(){var t=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return t._elementRef.nativeElement.focus()}))},t.prototype._onAnimationDone=function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)},t.prototype._onAnimationStart=function(t){this._animationStateChanged.emit(t)},t.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},t.decorators=[{type:f.Component,args:[{selector:"mat-dialog-container",template:"<ng-template cdkPortalOutlet></ng-template>",styles:[".mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);display:block;padding:24px;border-radius:2px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%}@media screen and (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:12px 0;display:flex;flex-wrap:wrap;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.Default,animations:[An.slideDialog],host:{class:"mat-dialog-container",tabindex:"-1","[attr.id]":"_id","[attr.role]":"_config?.role","[attr.aria-labelledby]":"_config?.ariaLabel ? null : _ariaLabelledBy","[attr.aria-label]":"_config?.ariaLabel","[attr.aria-describedby]":"_config?.ariaDescribedBy || null","[@slideDialog]":"_state","(@slideDialog.start)":"_onAnimationStart($event)","(@slideDialog.done)":"_onAnimationDone($event)"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:d.FocusTrapFactory},{type:f.ChangeDetectorRef},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[n.DOCUMENT]}]}]},t.propDecorators={_portalOutlet:[{type:f.ViewChild,args:[l.CdkPortalOutlet]}]},t}(l.BasePortalOutlet),Mn=0,In=function(){function t(t,e,n,r){void 0===r&&(r="mat-dialog-"+Mn++);var i=this;this._overlayRef=t,this._containerInstance=e,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpen=new m.Subject,this._afterClosed=new m.Subject,this._beforeClose=new m.Subject,this._locationChanges=O.Subscription.EMPTY,e._id=r,e._animationStateChanged.pipe(g.filter(function(t){return"done"===t.phaseName&&"enter"===t.toState}),y.take(1)).subscribe(function(){i._afterOpen.next(),i._afterOpen.complete()}),e._animationStateChanged.pipe(g.filter(function(t){return"done"===t.phaseName&&"exit"===t.toState}),y.take(1)).subscribe(function(){i._overlayRef.dispose(),i._locationChanges.unsubscribe(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null}),t.keydownEvents().pipe(g.filter(function(t){return t.keyCode===p.ESCAPE&&!i.disableClose})).subscribe(function(){return i.close()}),n&&(this._locationChanges=n.subscribe(function(){i._containerInstance._config.closeOnNavigation&&i.close()}))}return t.prototype.close=function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(g.filter(function(t){return"start"===t.phaseName}),y.take(1)).subscribe(function(){e._beforeClose.next(t),e._beforeClose.complete(),e._overlayRef.detachBackdrop()}),this._containerInstance._startExitAnimation()},t.prototype.afterOpen=function(){return this._afterOpen.asObservable()},t.prototype.afterClosed=function(){return this._afterClosed.asObservable()},t.prototype.beforeClose=function(){return this._beforeClose.asObservable()},t.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},t.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},t.prototype.updatePosition=function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this},t.prototype.updateSize=function(t,e){return void 0===t&&(t="auto"),void 0===e&&(e="auto"),this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this},t.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},t}(),Rn=new f.InjectionToken("MatDialogData"),Nn=new f.InjectionToken("mat-dialog-default-options"),Ln=new f.InjectionToken("mat-dialog-scroll-strategy");function jn(t){return function(){return t.scrollStrategies.block()}}var Fn={provide:Ln,deps:[a.Overlay],useFactory:jn},Vn=function(){function t(t,e,n,r,i,o,a){var s=this;this._overlay=t,this._injector=e,this._location=n,this._defaultOptions=r,this._scrollStrategy=i,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new m.Subject,this._afterOpenAtThisLevel=new m.Subject,this._ariaHiddenElements=new Map,this.afterAllClosed=C.defer(function(){return s.openDialogs.length?s._afterAllClosed:s._afterAllClosed.pipe(_.startWith(void 0))})}return Object.defineProperty(t.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"afterOpen",{get:function(){return this._parentDialog?this._parentDialog.afterOpen:this._afterOpenAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_afterAllClosed",{get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),t.prototype.open=function(t,e){var n,r,i=this;if(n=e,r=this._defaultOptions||new Pn,(e=$({},r,n)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'+e.id+'" exists already. The dialog id must be unique.');var o=this._createOverlay(e),a=this._attachDialogContainer(o,e),s=this._attachDialogContent(t,a,o,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(function(){return i._removeOpenDialog(s)}),this.afterOpen.next(s),s},t.prototype.closeAll=function(){for(var t=this.openDialogs.length;t--;)this.openDialogs[t].close()},t.prototype.getDialogById=function(e){return this.openDialogs.find(function(t){return t.id===e})},t.prototype._createOverlay=function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)},t.prototype._getOverlayConfig=function(t){var e=new a.OverlayConfig({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight});return t.backdropClass&&(e.backdropClass=t.backdropClass),e},t.prototype._attachDialogContainer=function(t,e){var n=new l.ComponentPortal(Tn,e.viewContainerRef),r=t.attach(n);return r.instance._config=e,r.instance},t.prototype._attachDialogContent=function(t,e,n,r){var i=new In(n,e,this._location,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe(function(){i.disableClose||i.close()}),t instanceof f.TemplateRef)e.attachTemplatePortal(new l.TemplatePortal(t,null,{$implicit:r.data,dialogRef:i}));else{var o=this._createInjector(r,i,e),a=e.attachComponentPortal(new l.ComponentPortal(t,void 0,o));i.componentInstance=a.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i},t.prototype._createInjector=function(t,e,n){var r=t&&t.viewContainerRef&&t.viewContainerRef.injector,i=new WeakMap;return i.set(Tn,n).set(Rn,t.data).set(In,e),r&&r.get(s.Directionality,null)||i.set(s.Directionality,{value:t.direction,change:S.of()}),new l.PortalInjector(r||this._injector,i)},t.prototype._removeOpenDialog=function(t){var e=this.openDialogs.indexOf(t);-1<e&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;-1<n;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[{type:a.Overlay},{type:f.Injector},{type:n.Location,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[Nn]}]},{type:void 0,decorators:[{type:f.Inject,args:[Ln]}]},{type:t,decorators:[{type:f.Optional},{type:f.SkipSelf}]},{type:a.OverlayContainer}]},t}();var Bn=0,Un=function(){function t(t,e,n){this.dialogRef=t,this._elementRef=e,this._dialog=n,this.ariaLabel="Close dialog"}return t.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=Wn(this._elementRef,this._dialog.openDialogs))},t.prototype.ngOnChanges=function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)},t.decorators=[{type:f.Directive,args:[{selector:"button[mat-dialog-close], button[matDialogClose]",exportAs:"matDialogClose",host:{"(click)":"dialogRef.close(dialogResult)","[attr.aria-label]":"ariaLabel",type:"button"}}]}],t.ctorParameters=function(){return[{type:In,decorators:[{type:f.Optional}]},{type:f.ElementRef},{type:Vn}]},t.propDecorators={ariaLabel:[{type:f.Input,args:["aria-label"]}],dialogResult:[{type:f.Input,args:["mat-dialog-close"]}],_matDialogClose:[{type:f.Input,args:["matDialogClose"]}]},t}(),Hn=function(){function t(t,e,n){this._dialogRef=t,this._elementRef=e,this._dialog=n,this.id="mat-dialog-title-"+Bn++}return t.prototype.ngOnInit=function(){var e=this;this._dialogRef||(this._dialogRef=Wn(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})},t.decorators=[{type:f.Directive,args:[{selector:"[mat-dialog-title], [matDialogTitle]",exportAs:"matDialogTitle",host:{class:"mat-dialog-title","[id]":"id"}}]}],t.ctorParameters=function(){return[{type:In,decorators:[{type:f.Optional}]},{type:f.ElementRef},{type:Vn}]},t.propDecorators={id:[{type:f.Input}]},t}(),zn=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-dialog-content], mat-dialog-content, [matDialogContent]",host:{class:"mat-dialog-content"}}]}],t.ctorParameters=function(){return[]},t}(),Gn=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-dialog-actions], mat-dialog-actions, [matDialogActions]",host:{class:"mat-dialog-actions"}}]}],t.ctorParameters=function(){return[]},t}();function Wn(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find(function(t){return t.id===n.id}):null}var qn=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,a.OverlayModule,l.PortalModule,d.A11yModule,Z],exports:[Tn,Un,Hn,zn,Gn,Z],declarations:[Tn,Un,Hn,Gn,zn],providers:[Vn,Fn],entryComponents:[Tn]}]}],t.ctorParameters=function(){return[]},t}(),Yn=function(){function t(t,e,n){this._elementRef=t,this._platform=e,this._ngZone=n,this._destroyed=new m.Subject}return Object.defineProperty(t.prototype,"minRows",{get:function(){return this._minRows},set:function(t){this._minRows=t,this._setMinHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxRows",{get:function(){return this._maxRows},set:function(t){this._maxRows=t,this._setMaxHeight()},enumerable:!0,configurable:!0}),t.prototype._setMinHeight=function(){var t=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;t&&this._setTextareaStyle("minHeight",t)},t.prototype._setMaxHeight=function(){var t=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;t&&this._setTextareaStyle("maxHeight",t)},t.prototype.ngAfterViewInit=function(){var t=this;this._platform.isBrowser&&(this.resizeToFitContent(),this._ngZone&&this._ngZone.runOutsideAngular(function(){h.fromEvent(window,"resize").pipe(P.auditTime(16),A.takeUntil(t._destroyed)).subscribe(function(){return t.resizeToFitContent(!0)})}))},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype._setTextareaStyle=function(t,e){this._elementRef.nativeElement.style[t]=e},t.prototype._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var t=this._elementRef.nativeElement,e=t.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",t.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,t.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}},t.prototype.ngDoCheck=function(){this._platform.isBrowser&&this.resizeToFitContent()},t.prototype.resizeToFitContent=function(t){if(void 0===t&&(t=!1),this._cacheTextareaLineHeight(),this._cachedLineHeight){var e=this._elementRef.nativeElement,n=e.value;if(n!==this._previousValue||t){var r=e.placeholder;e.style.height="auto",e.style.overflow="hidden",e.placeholder="",e.style.height=e.scrollHeight+"px",e.style.overflow="",e.placeholder=r,this._previousValue=n}}},t.decorators=[{type:f.Directive,args:[{selector:"textarea[mat-autosize], textarea[matTextareaAutosize]",exportAs:"matTextareaAutosize",host:{class:"mat-autosize",rows:"1"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:u.Platform},{type:f.NgZone}]},t.propDecorators={minRows:[{type:f.Input,args:["matAutosizeMinRows"]}],maxRows:[{type:f.Input,args:["matAutosizeMaxRows"]}]},t}();function $n(t){return Error('Input type "'+t+"\" isn't supported by matInput.")}var Kn=new f.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),Qn=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Xn=0,Zn=function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r},Jn=rt(Zn),tr=function(l){function t(t,e,n,r,i,o,a){var s=l.call(this,o,r,i,n)||this;return s._elementRef=t,s._platform=e,s.ngControl=n,s._uid="mat-input-"+Xn++,s._isServer=!1,s.focused=!1,s.stateChanges=new m.Subject,s.controlType="mat-input",s._disabled=!1,s.placeholder="",s._required=!1,s._type="text",s._readonly=!1,s._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return u.getSupportedInputTypes().has(t)}),s._inputValueAccessor=a||s._elementRef.nativeElement,s._previousNativeValue=s.value,s.id=s.id,e.IOS&&t.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}),s._isServer=!s._platform.isBrowser,s}return Y(t,l),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&u.getSupportedInputTypes().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(){this.stateChanges.next()},t.prototype.ngOnDestroy=function(){this.stateChanges.complete()},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype._focusChanged=function(t){t===this.focused||this.readonly||(this.focused=t,this.stateChanges.next())},t.prototype._onInput=function(){},t.prototype._dirtyCheckNativeValue=function(){var t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},t.prototype._validateType=function(){if(-1<Qn.indexOf(this._type))throw $n(this._type)},t.prototype._isNeverEmpty=function(){return-1<this._neverEmptyInputTypes.indexOf(this._type)},t.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},t.prototype._isTextarea=function(){var t=this._elementRef.nativeElement,e=this._platform.isBrowser?t.nodeName:t.name;return!!e&&"textarea"===e.toLowerCase()},Object.defineProperty(t.prototype,"empty",{get:function(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){return this.focused||!this.empty},enumerable:!0,configurable:!0}),t.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},t.prototype.onContainerClick=function(){this.focus()},t.decorators=[{type:f.Directive,args:[{selector:"input[matInput], textarea[matInput]",exportAs:"matInput",host:{class:"mat-input-element mat-form-field-autofill-control","[class.mat-input-server]":"_isServer","[attr.id]":"id","[placeholder]":"placeholder","[disabled]":"disabled","[required]":"required","[readonly]":"readonly","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-invalid]":"errorState","[attr.aria-required]":"required.toString()","(blur)":"_focusChanged(false)","(focus)":"_focusChanged(true)","(input)":"_onInput()"},providers:[{provide:Xt,useExisting:t}]}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:u.Platform},{type:b.NgControl,decorators:[{type:f.Optional},{type:f.Self}]},{type:b.NgForm,decorators:[{type:f.Optional}]},{type:b.FormGroupDirective,decorators:[{type:f.Optional}]},{type:_t},{type:void 0,decorators:[{type:f.Optional},{type:f.Self},{type:f.Inject,args:[Kn]}]}]},t.propDecorators={disabled:[{type:f.Input}],id:[{type:f.Input}],placeholder:[{type:f.Input}],required:[{type:f.Input}],type:[{type:f.Input}],errorStateMatcher:[{type:f.Input}],value:[{type:f.Input}],readonly:[{type:f.Input}]},t}(Jn),er=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{declarations:[tr,Yn],imports:[n.CommonModule,pe,u.PlatformModule],exports:[pe,tr,Yn],providers:[_t]}]}],t.ctorParameters=function(){return[]},t}();function nr(t){return Error("MatDatepicker: No provider found for "+t+". You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}var rr=function(){function t(){this.changes=new m.Subject,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[]},t}(),ir=function(t,e,n,r){this.value=t,this.displayValue=e,this.ariaLabel=n,this.enabled=r},or=function(){function t(){this.numCols=7,this.allowDisabledSelection=!1,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new f.EventEmitter}return t.prototype._cellClicked=function(t){(this.allowDisabledSelection||t.enabled)&&this.selectedValueChange.emit(t.value)},Object.defineProperty(t.prototype,"_firstRowOffset",{get:function(){return this.rows&&this.rows.length&&this.rows[0].length?this.numCols-this.rows[0].length:0},enumerable:!0,configurable:!0}),t.prototype._isActiveCell=function(t,e){var n=t*this.numCols+e;return t&&(n-=this._firstRowOffset),n==this.activeCell},t.decorators=[{type:f.Component,args:[{selector:"[mat-calendar-body]",template:'<tr *ngIf="_firstRowOffset < labelMinRequiredCells" aria-hidden="true"><td class="mat-calendar-body-label" [attr.colspan]="numCols" [style.paddingTop.%]="50 * cellAspectRatio / numCols" [style.paddingBottom.%]="50 * cellAspectRatio / numCols">{{label}}</td></tr><tr *ngFor="let row of rows; let rowIndex = index" role="row"><td *ngIf="rowIndex === 0 && _firstRowOffset" aria-hidden="true" class="mat-calendar-body-label" [attr.colspan]="_firstRowOffset" [style.paddingTop.%]="50 * cellAspectRatio / numCols" [style.paddingBottom.%]="50 * cellAspectRatio / numCols">{{_firstRowOffset >= labelMinRequiredCells ? label : \'\'}}</td><td *ngFor="let item of row; let colIndex = index" role="gridcell" class="mat-calendar-body-cell" [tabindex]="_isActiveCell(rowIndex, colIndex) ? 0 : -1" [class.mat-calendar-body-disabled]="!item.enabled" [class.mat-calendar-body-active]="_isActiveCell(rowIndex, colIndex)" [attr.aria-label]="item.ariaLabel" [attr.aria-disabled]="!item.enabled || null" (click)="_cellClicked(item)" [style.width.%]="100 / numCols" [style.paddingTop.%]="50 * cellAspectRatio / numCols" [style.paddingBottom.%]="50 * cellAspectRatio / numCols"><div class="mat-calendar-body-cell-content" [class.mat-calendar-body-selected]="selectedValue === item.value" [class.mat-calendar-body-today]="todayValue === item.value">{{item.displayValue}}</div></td></tr>',styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}[dir=rtl] .mat-calendar-body-label{text-align:right}"],host:{class:"mat-calendar-body",role:"grid","attr.aria-readonly":"true"},exportAs:"matCalendarBody",encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[]},t.propDecorators={label:[{type:f.Input}],rows:[{type:f.Input}],todayValue:[{type:f.Input}],selectedValue:[{type:f.Input}],labelMinRequiredCells:[{type:f.Input}],numCols:[{type:f.Input}],allowDisabledSelection:[{type:f.Input}],activeCell:[{type:f.Input}],cellAspectRatio:[{type:f.Input}],selectedValueChange:[{type:f.Output}]},t}(),ar=function(){function t(t,e,n){if(this._dateAdapter=t,this._dateFormats=e,this._changeDetectorRef=n,this.selectedChange=new f.EventEmitter,this._userSelection=new f.EventEmitter,!this._dateAdapter)throw nr("DateAdapter");if(!this._dateFormats)throw nr("MAT_DATE_FORMATS");var r=this._dateAdapter.getFirstDayOfWeek(),i=this._dateAdapter.getDayOfWeekNames("narrow"),o=this._dateAdapter.getDayOfWeekNames("long").map(function(t,e){return{long:t,narrow:i[e]}});this._weekdays=o.slice(r).concat(o.slice(0,r)),this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate;this._activeDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today(),this._hasSameMonthAndYear(e,this._activeDate)||this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedDate=this._getDateInCurrentMonth(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._dateSelected=function(t){if(this._selectedDate!=t){var e=this._dateAdapter.getYear(this.activeDate),n=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.createDate(e,n,t);this.selectedChange.emit(r)}this._userSelection.emit()},t.prototype._init=function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var t=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(t)-this._dateAdapter.getFirstDayOfWeek())%7,this._createWeekCells(),this._changeDetectorRef.markForCheck()},t.prototype._createWeekCells=function(){var t=this._dateAdapter.getNumDaysInMonth(this.activeDate),e=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,r=this._firstWeekOffset;n<t;n++,r++){7==r&&(this._weeks.push([]),r=0);var i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),o=this._shouldEnableDate(i),a=this._dateAdapter.format(i,this._dateFormats.display.dateA11yLabel);this._weeks[this._weeks.length-1].push(new ir(n+1,e[n],a,o))}},t.prototype._shouldEnableDate=function(t){return!!t&&(!this.dateFilter||this.dateFilter(t))&&(!this.minDate||0<=this._dateAdapter.compareDate(t,this.minDate))&&(!this.maxDate||this._dateAdapter.compareDate(t,this.maxDate)<=0)},t.prototype._getDateInCurrentMonth=function(t){return t&&this._hasSameMonthAndYear(t,this.activeDate)?this._dateAdapter.getDate(t):null},t.prototype._hasSameMonthAndYear=function(t,e){return!(!t||!e||this._dateAdapter.getMonth(t)!=this._dateAdapter.getMonth(e)||this._dateAdapter.getYear(t)!=this._dateAdapter.getYear(e))},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.decorators=[{type:f.Component,args:[{selector:"mat-month-view",template:'<table class="mat-calendar-table"><thead class="mat-calendar-table-header"><tr><th *ngFor="let day of _weekdays" [attr.aria-label]="day.long">{{day.narrow}}</th></tr><tr><th class="mat-calendar-table-header-divider" colspan="7" aria-hidden="true"></th></tr></thead><tbody mat-calendar-body [label]="_monthLabel" [rows]="_weeks" [todayValue]="_todayDate" [selectedValue]="_selectedDate" [labelMinRequiredCells]="3" [activeCell]="_dateAdapter.getDate(activeDate) - 1" (selectedValueChange)="_dateSelected($event)"></tbody></table>',exportAs:"matMonthView",encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:at,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[st]}]},{type:f.ChangeDetectorRef}]},t.propDecorators={activeDate:[{type:f.Input}],selected:[{type:f.Input}],minDate:[{type:f.Input}],maxDate:[{type:f.Input}],dateFilter:[{type:f.Input}],selectedChange:[{type:f.Output}],_userSelection:[{type:f.Output}]},t}(),sr=function(){function t(t,e){if(this._dateAdapter=t,this._changeDetectorRef=e,this.selectedChange=new f.EventEmitter,!this._dateAdapter)throw nr("DateAdapter");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate;this._activeDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today(),Math.floor(this._dateAdapter.getYear(e)/24)!=Math.floor(this._dateAdapter.getYear(this._activeDate)/24)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._init=function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate),n=t%24;this._years=[];for(var r=0,i=[];r<24;r++)i.push(t-n+r),4==i.length&&(this._years.push(i.map(function(t){return e._createCellForYear(t)})),i=[]);this._changeDetectorRef.markForCheck()},t.prototype._yearSelected=function(t){var e=this._dateAdapter.getMonth(this.activeDate),n=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,e,1));this.selectedChange.emit(this._dateAdapter.createDate(t,e,Math.min(this._dateAdapter.getDate(this.activeDate),n)))},t.prototype._getActiveCell=function(){return this._dateAdapter.getYear(this.activeDate)%24},t.prototype._createCellForYear=function(t){var e=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return new ir(t,e,e,this._shouldEnableYear(t))},t.prototype._shouldEnableYear=function(t){if(null==t||this.maxDate&&t>this._dateAdapter.getYear(this.maxDate)||this.minDate&&t<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(t,0,1);this._dateAdapter.getYear(e)==t;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.decorators=[{type:f.Component,args:[{selector:"mat-multi-year-view",template:'<table class="mat-calendar-table"><thead class="mat-calendar-table-header"><tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr></thead><tbody mat-calendar-body allowDisabledSelection="true" [rows]="_years" [todayValue]="_todayYear" [selectedValue]="_selectedYear" [numCols]="4" [cellAspectRatio]="4 / 7" [activeCell]="_getActiveCell()" (selectedValueChange)="_yearSelected($event)"></tbody></table>',exportAs:"matMultiYearView",encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:at,decorators:[{type:f.Optional}]},{type:f.ChangeDetectorRef}]},t.propDecorators={activeDate:[{type:f.Input}],selected:[{type:f.Input}],minDate:[{type:f.Input}],maxDate:[{type:f.Input}],dateFilter:[{type:f.Input}],selectedChange:[{type:f.Output}]},t}(),lr=function(){function t(t,e,n){if(this._dateAdapter=t,this._dateFormats=e,this._changeDetectorRef=n,this.selectedChange=new f.EventEmitter,!this._dateAdapter)throw nr("DateAdapter");if(!this._dateFormats)throw nr("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(t.prototype,"activeDate",{get:function(){return this._activeDate},set:function(t){var e=this._activeDate;this._activeDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))||this._dateAdapter.today(),this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(this._activeDate)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._init()},t.prototype._monthSelected=function(t){var e=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1));this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),e)))},t.prototype._init=function(){var e=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var n=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(t){return t.map(function(t){return e._createCellForMonth(t,n[t])})}),this._changeDetectorRef.markForCheck()},t.prototype._getMonthInCurrentYear=function(t){return t&&this._dateAdapter.getYear(t)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(t):null},t.prototype._createCellForMonth=function(t,e){var n=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1),this._dateFormats.display.monthYearA11yLabel);return new ir(t,e.toLocaleUpperCase(),n,this._shouldEnableMonth(t))},t.prototype._shouldEnableMonth=function(t){var e=this._dateAdapter.getYear(this.activeDate);if(null==t||this._isYearAndMonthAfterMaxDate(e,t)||this._isYearAndMonthBeforeMinDate(e,t))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(e,t,1);this._dateAdapter.getMonth(n)==t;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1},t.prototype._isYearAndMonthAfterMaxDate=function(t,e){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),r=this._dateAdapter.getMonth(this.maxDate);return n<t||t===n&&r<e}return!1},t.prototype._isYearAndMonthBeforeMinDate=function(t,e){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),r=this._dateAdapter.getMonth(this.minDate);return t<n||t===n&&e<r}return!1},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.decorators=[{type:f.Component,args:[{selector:"mat-year-view",template:'<table class="mat-calendar-table"><thead class="mat-calendar-table-header"><tr><th class="mat-calendar-table-header-divider" colspan="4"></th></tr></thead><tbody mat-calendar-body allowDisabledSelection="true" [label]="_yearLabel" [rows]="_months" [todayValue]="_todayMonth" [selectedValue]="_selectedMonth" [labelMinRequiredCells]="2" [numCols]="4" [cellAspectRatio]="4 / 7" [activeCell]="_dateAdapter.getMonth(activeDate)" (selectedValueChange)="_monthSelected($event)"></tbody></table>',exportAs:"matYearView",encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:at,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[st]}]},{type:f.ChangeDetectorRef}]},t.propDecorators={activeDate:[{type:f.Input}],selected:[{type:f.Input}],minDate:[{type:f.Input}],maxDate:[{type:f.Input}],dateFilter:[{type:f.Input}],selectedChange:[{type:f.Output}]},t}(),cr=function(){function t(t,e,n,r,i,o,a){if(this._elementRef=t,this._intl=e,this._ngZone=n,this._dateAdapter=r,this._dateFormats=i,this._dir=a,this.startView="month",this.selectedChange=new f.EventEmitter,this._userSelection=new f.EventEmitter,!this._dateAdapter)throw nr("DateAdapter");if(!this._dateFormats)throw nr("MAT_DATE_FORMATS");this._intlChanges=e.changes.subscribe(function(){return o.markForCheck()})}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt},set:function(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minDate",{get:function(){return this._minDate},set:function(t){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxDate",{get:function(){return this._maxDate},set:function(t){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_activeDate",{get:function(){return this._clampedActiveDate},set:function(t){this._clampedActiveDate=this._dateAdapter.clampDate(t,this.minDate,this.maxDate)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_periodButtonText",{get:function(){if("month"==this._currentView)return this._dateAdapter.format(this._activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this._currentView)return this._dateAdapter.getYearName(this._activeDate);var t=this._dateAdapter.getYear(this._activeDate);return this._dateAdapter.getYearName(this._dateAdapter.createDate(t-t%24,0,1))+" – "+this._dateAdapter.getYearName(this._dateAdapter.createDate(t+24-1-t%24,0,1))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_periodButtonLabel",{get:function(){return"month"==this._currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_prevButtonLabel",{get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this._currentView]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_nextButtonLabel",{get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this._currentView]},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._activeDate=this.startAt||this._dateAdapter.today(),this._focusActiveCell(),this._currentView=this.startView},t.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe()},t.prototype.ngOnChanges=function(t){var e=t.minDate||t.maxDate||t.dateFilter;if(e&&!e.firstChange){var n=this.monthView||this.yearView||this.multiYearView;n&&n._init()}},t.prototype._dateSelected=function(t){this._dateAdapter.sameDate(t,this.selected)||this.selectedChange.emit(t)},t.prototype._userSelected=function(){this._userSelection.emit()},t.prototype._goToDateInView=function(t,e){this._activeDate=t,this._currentView=e},t.prototype._currentPeriodClicked=function(){this._currentView="month"==this._currentView?"multi-year":"month"},t.prototype._previousClicked=function(){this._activeDate="month"==this._currentView?this._dateAdapter.addCalendarMonths(this._activeDate,-1):this._dateAdapter.addCalendarYears(this._activeDate,"year"==this._currentView?-1:-24)},t.prototype._nextClicked=function(){this._activeDate="month"==this._currentView?this._dateAdapter.addCalendarMonths(this._activeDate,1):this._dateAdapter.addCalendarYears(this._activeDate,"year"==this._currentView?1:24)},t.prototype._previousEnabled=function(){return!this.minDate||(!this.minDate||!this._isSameView(this._activeDate,this.minDate))},t.prototype._nextEnabled=function(){return!this.maxDate||!this._isSameView(this._activeDate,this.maxDate)},t.prototype._handleCalendarBodyKeydown=function(t){"month"==this._currentView?this._handleCalendarBodyKeydownInMonthView(t):"year"==this._currentView?this._handleCalendarBodyKeydownInYearView(t):this._handleCalendarBodyKeydownInMultiYearView(t)},t.prototype._focusActiveCell=function(){var t=this;this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.asObservable().pipe(y.take(1)).subscribe(function(){t._elementRef.nativeElement.querySelector(".mat-calendar-body-active").focus()})})},t.prototype._isSameView=function(t,e){return"month"==this._currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e)&&this._dateAdapter.getMonth(t)==this._dateAdapter.getMonth(e):"year"==this._currentView?this._dateAdapter.getYear(t)==this._dateAdapter.getYear(e):Math.floor(this._dateAdapter.getYear(t)/24)==Math.floor(this._dateAdapter.getYear(e)/24)},t.prototype._handleCalendarBodyKeydownInMonthView=function(t){var e=this._isRtl();switch(t.keyCode){case p.LEFT_ARROW:this._activeDate=this._dateAdapter.addCalendarDays(this._activeDate,e?1:-1);break;case p.RIGHT_ARROW:this._activeDate=this._dateAdapter.addCalendarDays(this._activeDate,e?-1:1);break;case p.UP_ARROW:this._activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case p.DOWN_ARROW:this._activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case p.HOME:this._activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case p.END:this._activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case p.PAGE_UP:this._activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case p.PAGE_DOWN:this._activeDate=t.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case p.ENTER:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._activeDate),this._userSelected(),t.preventDefault()));default:return}this._focusActiveCell(),t.preventDefault()},t.prototype._handleCalendarBodyKeydownInYearView=function(t){var e=this._isRtl();switch(t.keyCode){case p.LEFT_ARROW:this._activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,e?1:-1);break;case p.RIGHT_ARROW:this._activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,e?-1:1);break;case p.UP_ARROW:this._activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case p.DOWN_ARROW:this._activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case p.HOME:this._activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case p.END:this._activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case p.PAGE_UP:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-10:-1);break;case p.PAGE_DOWN:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?10:1);break;case p.ENTER:this._goToDateInView(this._activeDate,"month");break;default:return}this._focusActiveCell(),t.preventDefault()},t.prototype._handleCalendarBodyKeydownInMultiYearView=function(t){switch(t.keyCode){case p.LEFT_ARROW:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-1);break;case p.RIGHT_ARROW:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,1);break;case p.UP_ARROW:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case p.DOWN_ARROW:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case p.HOME:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-this._dateAdapter.getYear(this._activeDate)%24);break;case p.END:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-this._dateAdapter.getYear(this._activeDate)%24-1);break;case p.PAGE_UP:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?-240:-24);break;case p.PAGE_DOWN:this._activeDate=this._dateAdapter.addCalendarYears(this._activeDate,t.altKey?240:24);break;case p.ENTER:this._goToDateInView(this._activeDate,"year");break;default:return}this._focusActiveCell(),t.preventDefault()},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},t.decorators=[{type:f.Component,args:[{selector:"mat-calendar",template:'<div class="mat-calendar-header"><div class="mat-calendar-controls"><button mat-button class="mat-calendar-period-button" (click)="_currentPeriodClicked()" [attr.aria-label]="_periodButtonLabel">{{_periodButtonText}}<div class="mat-calendar-arrow" [class.mat-calendar-invert]="_currentView != \'month\'"></div></button><div class="mat-calendar-spacer"></div><button mat-icon-button class="mat-calendar-previous-button" [disabled]="!_previousEnabled()" (click)="_previousClicked()" [attr.aria-label]="_prevButtonLabel"></button> <button mat-icon-button class="mat-calendar-next-button" [disabled]="!_nextEnabled()" (click)="_nextClicked()" [attr.aria-label]="_nextButtonLabel"></button></div></div><div class="mat-calendar-content" (keydown)="_handleCalendarBodyKeydown($event)" [ngSwitch]="_currentView" cdkMonitorSubtreeFocus tabindex="-1"><mat-month-view *ngSwitchCase="\'month\'" [activeDate]="_activeDate" [selected]="selected" [dateFilter]="dateFilter" [maxDate]="maxDate" [minDate]="minDate" (selectedChange)="_dateSelected($event)" (_userSelection)="_userSelected()"></mat-month-view><mat-year-view *ngSwitchCase="\'year\'" [activeDate]="_activeDate" [selected]="selected" [dateFilter]="dateFilter" [maxDate]="maxDate" [minDate]="minDate" (selectedChange)="_goToDateInView($event, \'month\')"></mat-year-view><mat-multi-year-view *ngSwitchCase="\'multi-year\'" [activeDate]="_activeDate" [selected]="selected" [dateFilter]="dateFilter" [maxDate]="maxDate" [minDate]="minDate" (selectedChange)="_goToDateInView($event, \'year\')"></mat-multi-year-view></div>',styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],host:{class:"mat-calendar"},exportAs:"matCalendar",encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:rr},{type:f.NgZone},{type:at,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[st]}]},{type:f.ChangeDetectorRef},{type:s.Directionality,decorators:[{type:f.Optional}]}]},t.propDecorators={startAt:[{type:f.Input}],startView:[{type:f.Input}],selected:[{type:f.Input}],minDate:[{type:f.Input}],maxDate:[{type:f.Input}],dateFilter:[{type:f.Input}],selectedChange:[{type:f.Output}],_userSelection:[{type:f.Output}],monthView:[{type:f.ViewChild,args:[ar]}],yearView:[{type:f.ViewChild,args:[lr]}],multiYearView:[{type:f.ViewChild,args:[sr]}]},t}(),ur=0,pr=new f.InjectionToken("mat-datepicker-scroll-strategy");function dr(t){return function(){return t.scrollStrategies.reposition()}}var hr={provide:pr,deps:[a.Overlay],useFactory:dr},fr=function(){function t(){}return t.prototype.ngAfterContentInit=function(){this._calendar._focusActiveCell()},t.decorators=[{type:f.Component,args:[{selector:"mat-datepicker-content",template:'<mat-calendar cdkTrapFocus [id]="datepicker.id" [ngClass]="datepicker.panelClass" [startAt]="datepicker.startAt" [startView]="datepicker.startView" [minDate]="datepicker._minDate" [maxDate]="datepicker._maxDate" [dateFilter]="datepicker._dateFilter" [selected]="datepicker._selected" (selectedChange)="datepicker._select($event)" (_userSelection)="datepicker.close()"></mat-calendar>',styles:[".mat-datepicker-content{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);display:block;border-radius:2px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12);display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation:landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation:portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}"],host:{class:"mat-datepicker-content","[class.mat-datepicker-content-touch]":"datepicker.touchUi"},exportAs:"matDatepickerContent",encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[]},t.propDecorators={_calendar:[{type:f.ViewChild,args:[cr]}]},t}(),mr=function(){function t(t,e,n,r,i,o,a,s){if(this._dialog=t,this._overlay=e,this._ngZone=n,this._viewContainerRef=r,this._scrollStrategy=i,this._dateAdapter=o,this._dir=a,this._document=s,this.startView="month",this._touchUi=!1,this.selectedChanged=new f.EventEmitter,this.openedStream=new f.EventEmitter,this.closedStream=new f.EventEmitter,this._opened=!1,this.id="mat-datepicker-"+ur++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=O.Subscription.EMPTY,this._disabledChange=new m.Subject,!this._dateAdapter)throw nr("DateAdapter")}return Object.defineProperty(t.prototype,"startAt",{get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(t){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touchUi",{get:function(){return this._touchUi},set:function(t){this._touchUi=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(t){var e=c.coerceBooleanProperty(t);e!==this._disabled&&(this._disabled=e,this._disabledChange.next(e))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){t?this.open():this.close()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_selected",{get:function(){return this._validSelected},set:function(t){this._validSelected=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_minDate",{get:function(){return this._datepickerInput&&this._datepickerInput.min},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_maxDate",{get:function(){return this._datepickerInput&&this._datepickerInput.max},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_dateFilter",{get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&this._popupRef.dispose()},t.prototype._select=function(t){var e=this._selected;this._selected=t,this._dateAdapter.sameDate(e,this._selected)||this.selectedChanged.emit(t)},t.prototype._registerInput=function(t){var e=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=t,this._inputSubscription=this._datepickerInput._valueChange.subscribe(function(t){return e._selected=t})},t.prototype.open=function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}},t.prototype.close=function(){var t=this;if(this._opened){this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();var e=function(){t._opened&&(t._opened=!1,t.closedStream.emit(),t._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(e)):e()}},t.prototype._openAsDialog=function(){var t=this;this._dialogRef=this._dialog.open(fr,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe(function(){return t.close()}),this._dialogRef.componentInstance.datepicker=this},t.prototype._openAsPopup=function(){var t=this;(this._calendarPortal||(this._calendarPortal=new l.ComponentPortal(fr,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached())||(this._popupRef.attach(this._calendarPortal).instance.datepicker=this)._ngZone.onStable.asObservable().pipe(y.take(1)).subscribe(function(){t._popupRef.updatePosition()})},t.prototype._createPopup=function(){var t=this,e=new a.OverlayConfig({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir?this._dir.value:"ltr",scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(e),x.merge(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(g.filter(function(t){return t.keyCode===p.ESCAPE}))).subscribe(function(){return t.close()})},t.prototype._createPopupPositionStrategy=function(){var t=this._datepickerInput._getPopupFallbackOffset();return this._overlay.position().connectedTo(this._datepickerInput.getPopupConnectionElementRef(),{originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}).withFallbackPosition({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},void 0,t).withFallbackPosition({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"}).withFallbackPosition({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},void 0,t)},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.decorators=[{type:f.Component,args:[{selector:"mat-datepicker",template:"",exportAs:"matDatepicker",changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:Vn},{type:a.Overlay},{type:f.NgZone},{type:f.ViewContainerRef},{type:void 0,decorators:[{type:f.Inject,args:[pr]}]},{type:at,decorators:[{type:f.Optional}]},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[n.DOCUMENT]}]}]},t.propDecorators={startAt:[{type:f.Input}],startView:[{type:f.Input}],touchUi:[{type:f.Input}],disabled:[{type:f.Input}],selectedChanged:[{type:f.Output}],panelClass:[{type:f.Input}],openedStream:[{type:f.Output,args:["opened"]}],closedStream:[{type:f.Output,args:["closed"]}],opened:[{type:f.Input}]},t}(),gr={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return br}),multi:!0},yr={provide:b.NG_VALIDATORS,useExisting:f.forwardRef(function(){return br}),multi:!0},vr=function(t,e){this.target=t,this.targetElement=e,this.value=this.target.value},br=function(){function t(t,e,n,r){var i=this;if(this._elementRef=t,this._dateAdapter=e,this._dateFormats=n,this._formField=r,this.dateChange=new f.EventEmitter,this.dateInput=new f.EventEmitter,this._valueChange=new f.EventEmitter,this._disabledChange=new f.EventEmitter,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=O.Subscription.EMPTY,this._localeSubscription=O.Subscription.EMPTY,this._parseValidator=function(){return i._lastValueValid?null:{matDatepickerParse:{text:i._elementRef.nativeElement.value}}},this._minValidator=function(t){var e=i._getValidDateOrNull(i._dateAdapter.deserialize(t.value));return!i.min||!e||i._dateAdapter.compareDate(i.min,e)<=0?null:{matDatepickerMin:{min:i.min,actual:e}}},this._maxValidator=function(t){var e=i._getValidDateOrNull(i._dateAdapter.deserialize(t.value));return!i.max||!e||0<=i._dateAdapter.compareDate(i.max,e)?null:{matDatepickerMax:{max:i.max,actual:e}}},this._filterValidator=function(t){var e=i._getValidDateOrNull(i._dateAdapter.deserialize(t.value));return i._dateFilter&&e&&!i._dateFilter(e)?{matDatepickerFilter:!0}:null},this._validator=b.Validators.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw nr("DateAdapter");if(!this._dateFormats)throw nr("MAT_DATE_FORMATS");this._localeSubscription=e.localeChanges.subscribe(function(){i.value=i.value})}return Object.defineProperty(t.prototype,"matDatepicker",{set:function(t){this.registerDatepicker(t)},enumerable:!0,configurable:!0}),t.prototype.registerDatepicker=function(t){t&&(this._datepicker=t,this._datepicker._registerInput(this))},Object.defineProperty(t.prototype,"matDatepickerFilter",{set:function(t){this._dateFilter=t,this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t=this._dateAdapter.deserialize(t),this._lastValueValid=!t||this._dateAdapter.isValid(t),t=this._getValidDateOrNull(t);var e=this.value;this._value=t,this._elementRef.nativeElement.value=t?this._dateAdapter.format(t,this._dateFormats.display.dateInput):"",this._dateAdapter.sameDate(e,t)||this._valueChange.emit(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this._min},set:function(t){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(t){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(t)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return!!this._disabled},set:function(t){var e=c.coerceBooleanProperty(t);this._disabled!==e&&(this._disabled=e,this._disabledChange.emit(e)),e&&this._elementRef.nativeElement.blur()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;this._datepicker&&(this._datepickerSubscription=this._datepicker.selectedChanged.subscribe(function(t){e.value=t,e._cvaOnChange(t),e._onTouched(),e.dateInput.emit(new vr(e,e._elementRef.nativeElement)),e.dateChange.emit(new vr(e,e._elementRef.nativeElement))}))},t.prototype.ngOnDestroy=function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()},t.prototype.registerOnValidatorChange=function(t){this._validatorOnChange=t},t.prototype.validate=function(t){return this._validator?this._validator(t):null},t.prototype.getPopupConnectionElementRef=function(){return this._formField?this._formField.underlineRef:this._elementRef},t.prototype._getPopupFallbackOffset=function(){return this._formField?-this._formField._inputContainerRef.nativeElement.clientHeight:0},t.prototype.writeValue=function(t){this.value=t},t.prototype.registerOnChange=function(t){this._cvaOnChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype._onKeydown=function(t){t.altKey&&t.keyCode===p.DOWN_ARROW&&(this._datepicker.open(),t.preventDefault())},t.prototype._onInput=function(t){var e=this._dateAdapter.parse(t,this._dateFormats.parse.dateInput);this._lastValueValid=!e||this._dateAdapter.isValid(e),e=this._getValidDateOrNull(e),this._value=e,this._cvaOnChange(e),this._valueChange.emit(e),this.dateInput.emit(new vr(this,this._elementRef.nativeElement))},t.prototype._onChange=function(){this.dateChange.emit(new vr(this,this._elementRef.nativeElement))},t.prototype._getValidDateOrNull=function(t){return this._dateAdapter.isDateInstance(t)&&this._dateAdapter.isValid(t)?t:null},t.decorators=[{type:f.Directive,args:[{selector:"input[matDatepicker]",providers:[gr,yr,{provide:Kn,useExisting:t}],host:{"[attr.aria-haspopup]":"true","[attr.aria-owns]":"(_datepicker?.opened && _datepicker.id) || null","[attr.min]":"min ? _dateAdapter.toIso8601(min) : null","[attr.max]":"max ? _dateAdapter.toIso8601(max) : null","[disabled]":"disabled","(input)":"_onInput($event.target.value)","(change)":"_onChange()","(blur)":"_onTouched()","(keydown)":"_onKeydown($event)"},exportAs:"matDatepickerInput"}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:at,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[st]}]},{type:ue,decorators:[{type:f.Optional}]}]},t.propDecorators={matDatepicker:[{type:f.Input}],matDatepickerFilter:[{type:f.Input}],value:[{type:f.Input}],min:[{type:f.Input}],max:[{type:f.Input}],disabled:[{type:f.Input}],dateChange:[{type:f.Output}],dateInput:[{type:f.Output}]},t}(),_r=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[matDatepickerToggleIcon]"}]}],t.ctorParameters=function(){return[]},t}(),wr=function(){function t(t,e){this._intl=t,this._changeDetectorRef=e,this._stateChanges=O.Subscription.EMPTY}return Object.defineProperty(t.prototype,"disabled",{get:function(){return void 0===this._disabled?this.datepicker.disabled:!!this._disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.datepicker&&this._watchStateChanges()},t.prototype.ngOnDestroy=function(){this._stateChanges.unsubscribe()},t.prototype.ngAfterContentInit=function(){this._watchStateChanges()},t.prototype._open=function(t){this.datepicker&&!this.disabled&&(this.datepicker.open(),t.stopPropagation())},t.prototype._watchStateChanges=function(){var t=this,e=this.datepicker?this.datepicker._disabledChange:S.of(),n=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:S.of(),r=this.datepicker?x.merge(this.datepicker.openedStream,this.datepicker.closedStream):S.of();this._stateChanges.unsubscribe(),this._stateChanges=x.merge(this._intl.changes,e,n,r).subscribe(function(){return t._changeDetectorRef.markForCheck()})},t.decorators=[{type:f.Component,args:[{selector:"mat-datepicker-toggle",template:'<button mat-icon-button type="button" [attr.aria-label]="_intl.openCalendarLabel" [disabled]="disabled" (click)="_open($event)"><svg *ngIf="!_customIcon" class="mat-datepicker-toggle-default-icon" viewBox="0 0 24 24" width="24px" height="24px" fill="currentColor" focusable="false"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg><ng-content select="[matDatepickerToggleIcon]"></ng-content></button>',styles:[".mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}"],host:{class:"mat-datepicker-toggle","[class.mat-datepicker-toggle-active]":"datepicker && datepicker.opened"},exportAs:"matDatepickerToggle",encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:rr},{type:f.ChangeDetectorRef}]},t.propDecorators={datepicker:[{type:f.Input,args:["for"]}],disabled:[{type:f.Input}],_customIcon:[{type:f.ContentChild,args:[_r]}]},t}(),Cr=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,Me,qn,a.OverlayModule,d.A11yModule],exports:[cr,or,mr,fr,br,wr,_r,ar,lr,sr],declarations:[cr,or,mr,fr,br,wr,_r,ar,lr,sr],providers:[rr,hr],entryComponents:[fr]}]}],t.ctorParameters=function(){return[]},t}(),xr=function(){function t(){this._vertical=!1,this._inset=!1}return Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inset",{get:function(){return this._inset},set:function(t){this._inset=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.decorators=[{type:f.Component,args:[{selector:"mat-divider",host:{role:"separator","[attr.aria-orientation]":'vertical ? "vertical" : "horizontal"',"[class.mat-divider-vertical]":"vertical","[class.mat-divider-inset]":"inset",class:"mat-divider"},template:"",styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],encapsulation:f.ViewEncapsulation.None,changeDetection:f.ChangeDetectionStrategy.OnPush,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[]},t.propDecorators={vertical:[{type:f.Input}],inset:[{type:f.Input}]},t}(),Sr=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z,n.CommonModule],exports:[xr,Z],declarations:[xr]}]}],t.ctorParameters=function(){return[]},t}(),Er=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._hideToggle=!1,t.displayMode="default",t}return Y(t,e),Object.defineProperty(t.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.decorators=[{type:f.Directive,args:[{selector:"mat-accordion",exportAs:"matAccordion",host:{class:"mat-accordion"}}]}],t.ctorParameters=function(){return[]},t.propDecorators={hideToggle:[{type:f.Input}],displayMode:[{type:f.Input}]},t}(D.CdkAccordion),kr=function(){function t(t){this._template=t}return t.decorators=[{type:f.Directive,args:[{selector:"ng-template[matExpansionPanelContent]"}]}],t.ctorParameters=function(){return[{type:f.TemplateRef}]},t}(),Or="225ms cubic-bezier(0.4,0.0,0.2,1)",Pr={indicatorRotate:w.trigger("indicatorRotate",[w.state("collapsed",w.style({transform:"rotate(0deg)"})),w.state("expanded",w.style({transform:"rotate(180deg)"})),w.transition("expanded <=> collapsed",w.animate(Or))]),expansionHeaderHeight:w.trigger("expansionHeight",[w.state("collapsed",w.style({height:"{{collapsedHeight}}"}),{params:{collapsedHeight:"48px"}}),w.state("expanded",w.style({height:"{{expandedHeight}}"}),{params:{expandedHeight:"64px"}}),w.transition("expanded <=> collapsed",w.animate(Or))]),bodyExpansion:w.trigger("bodyExpansion",[w.state("collapsed",w.style({height:"0px",visibility:"hidden"})),w.state("expanded",w.style({height:"*",visibility:"visible"})),w.transition("expanded <=> collapsed",w.animate(Or))])},Ar=0,Dr=function(o){function t(t,e,n,r){var i=o.call(this,t,e,n)||this;return i._viewContainerRef=r,i._hideToggle=!1,i._inputChanges=new m.Subject,i._headerId="mat-expansion-panel-header-"+Ar++,i.accordion=t,i}return Y(t,o),Object.defineProperty(t.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(t){this._hideToggle=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype._getHideToggle=function(){return this.accordion?this.accordion.hideToggle:this.hideToggle},t.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},t.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},t.prototype.ngAfterContentInit=function(){var t=this;this._lazyContent&&this.opened.pipe(_.startWith(null),g.filter(function(){return t.expanded&&!t._portal}),y.take(1)).subscribe(function(){t._portal=new l.TemplatePortal(t._lazyContent._template,t._viewContainerRef)})},t.prototype.ngOnChanges=function(t){this._inputChanges.next(t)},t.prototype.ngOnDestroy=function(){o.prototype.ngOnDestroy.call(this),this._inputChanges.complete()},t.prototype._bodyAnimation=function(t){var e=t.element.classList,n="mat-expanded",r=t.phaseName,i=t.toState;"done"===r&&"expanded"===i?e.add(n):"start"===r&&"collapsed"===i&&e.remove(n)},t.decorators=[{type:f.Component,args:[{styles:[".mat-expansion-panel{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);box-sizing:content-box;display:block;margin:0;transition:margin 225ms cubic-bezier(.4,0,.2,1)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-expansion-panel-content{overflow:hidden}.mat-expansion-panel-content.mat-expanded{overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion .mat-expansion-panel-spacing:first-child{margin-top:0}.mat-accordion .mat-expansion-panel-spacing:last-child{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button{margin-left:0;margin-right:8px}"],selector:"mat-expansion-panel",exportAs:"matExpansionPanel",template:'<ng-content select="mat-expansion-panel-header"></ng-content><div class="mat-expansion-panel-content" role="region" [@bodyExpansion]="_getExpandedState()" (@bodyExpansion.done)="_bodyAnimation($event)" (@bodyExpansion.start)="_bodyAnimation($event)" [attr.aria-labelledby]="_headerId" [id]="id" #body><div class="mat-expansion-panel-body"><ng-content></ng-content><ng-template [cdkPortalOutlet]="_portal"></ng-template></div><ng-content select="mat-action-row"></ng-content></div>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,inputs:["disabled","expanded"],outputs:["opened","closed","expandedChange"],animations:[Pr.bodyExpansion],host:{class:"mat-expansion-panel","[class.mat-expanded]":"expanded","[class.mat-expansion-panel-spacing]":"_hasSpacing()"}}]}],t.ctorParameters=function(){return[{type:Er,decorators:[{type:f.Optional},{type:f.Host}]},{type:f.ChangeDetectorRef},{type:E.UniqueSelectionDispatcher},{type:f.ViewContainerRef}]},t.propDecorators={hideToggle:[{type:f.Input}],_lazyContent:[{type:f.ContentChild,args:[kr]}]},t}(D.CdkAccordionItem),Tr=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-action-row",host:{class:"mat-action-row"}}]}],t.ctorParameters=function(){return[]},t}(),Mr=function(){function t(t,e,n,r){var i=this;this.panel=t,this._element=e,this._focusMonitor=n,this._changeDetectorRef=r,this._parentChangeSubscription=O.Subscription.EMPTY,this._parentChangeSubscription=x.merge(t.opened,t.closed,t._inputChanges.pipe(g.filter(function(t){return!(!t.hideToggle&&!t.disabled)}))).subscribe(function(){return i._changeDetectorRef.markForCheck()}),n.monitor(e.nativeElement)}return t.prototype._toggle=function(){this.panel.toggle()},t.prototype._isExpanded=function(){return this.panel.expanded},t.prototype._getExpandedState=function(){return this.panel._getExpandedState()},t.prototype._getPanelId=function(){return this.panel.id},t.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},t.prototype._keydown=function(t){switch(t.keyCode){case p.SPACE:case p.ENTER:t.preventDefault(),this._toggle();break;default:return}},t.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element.nativeElement)},t.decorators=[{type:f.Component,args:[{selector:"mat-expansion-panel-header",styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],template:'<span class="mat-content"><ng-content select="mat-panel-title"></ng-content><ng-content select="mat-panel-description"></ng-content><ng-content></ng-content></span><span [@indicatorRotate]="_getExpandedState()" *ngIf="_showToggle()" class="mat-expansion-indicator"></span>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,animations:[Pr.indicatorRotate,Pr.expansionHeaderHeight],host:{class:"mat-expansion-panel-header",role:"button","[attr.id]":"panel._headerId","[attr.tabindex]":"panel.disabled ? -1 : 0","[attr.aria-controls]":"_getPanelId()","[attr.aria-expanded]":"_isExpanded()","[attr.aria-disabled]":"panel.disabled","[class.mat-expanded]":"_isExpanded()","(click)":"_toggle()","(keydown)":"_keydown($event)","[@expansionHeight]":"{\n value: _getExpandedState(),\n params: {\n collapsedHeight: collapsedHeight,\n expandedHeight: expandedHeight\n }\n }"}}]}],t.ctorParameters=function(){return[{type:Dr,decorators:[{type:f.Host}]},{type:f.ElementRef},{type:d.FocusMonitor},{type:f.ChangeDetectorRef}]},t.propDecorators={expandedHeight:[{type:f.Input}],collapsedHeight:[{type:f.Input}]},t}(),Ir=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-panel-description",host:{class:"mat-expansion-panel-header-description"}}]}],t.ctorParameters=function(){return[]},t}(),Rr=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-panel-title",host:{class:"mat-expansion-panel-header-title"}}]}],t.ctorParameters=function(){return[]},t}(),Nr=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,d.A11yModule,D.CdkAccordionModule,l.PortalModule],exports:[Er,Dr,Tr,Mr,Rr,Ir,kr],declarations:[Er,Dr,Tr,Mr,Rr,Ir,kr],providers:[E.UNIQUE_SELECTION_DISPATCHER_PROVIDER]}]}],t.ctorParameters=function(){return[]},t}();function Lr(t){return""+(t||"")}function jr(t){return"string"==typeof t?parseInt(t,10):t}var Fr=function(){function t(t){this._element=t,this._rowspan=1,this._colspan=1}return Object.defineProperty(t.prototype,"rowspan",{get:function(){return this._rowspan},set:function(t){this._rowspan=jr(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"colspan",{get:function(){return this._colspan},set:function(t){this._colspan=jr(t)},enumerable:!0,configurable:!0}),t.prototype._setStyle=function(t,e){this._element.nativeElement.style[t]=e},t.decorators=[{type:f.Component,args:[{selector:"mat-grid-tile",exportAs:"matGridTile",host:{class:"mat-grid-tile"},template:'<figure class="mat-figure"><ng-content></ng-content></figure>',styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef}]},t.propDecorators={rowspan:[{type:f.Input}],colspan:[{type:f.Input}]},t}(),Vr=function(){function t(t){this._element=t}return t.prototype.ngAfterContentInit=function(){this._lineSetter=new St(this._lines,this._element)},t.decorators=[{type:f.Component,args:[{selector:"mat-grid-tile-header, mat-grid-tile-footer",template:'<ng-content select="[mat-grid-avatar], [matGridAvatar]"></ng-content><div class="mat-grid-list-text"><ng-content select="[mat-line], [matLine]"></ng-content></div><ng-content></ng-content>',changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ElementRef}]},t.propDecorators={_lines:[{type:f.ContentChildren,args:[xt]}]},t}(),Br=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-grid-avatar], [matGridAvatar]",host:{class:"mat-grid-avatar"}}]}],t.ctorParameters=function(){return[]},t}(),Ur=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-grid-tile-header",host:{class:"mat-grid-tile-header"}}]}],t.ctorParameters=function(){return[]},t}(),Hr=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-grid-tile-footer",host:{class:"mat-grid-tile-footer"}}]}],t.ctorParameters=function(){return[]},t}(),zr=function(){function t(t,e){var n=this;this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(function(t){return n._trackTile(t)})}return Object.defineProperty(t.prototype,"rowCount",{get:function(){return this.rowIndex+1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowspan",{get:function(){var t=Math.max.apply(Math,this.tracker);return 1<t?this.rowCount+t-1:this.rowCount},enumerable:!0,configurable:!0}),t.prototype._trackTile=function(t){var e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new Gr(this.rowIndex,e)},t.prototype._findMatchingGap=function(t){if(t>this.tracker.length)throw Error("mat-grid-list: tile with colspan "+t+' is wider than grid with cols="'+this.tracker.length+'".');for(var e=-1,n=-1;this.columnIndex+t>this.tracker.length?this._nextRow():-1!=(e=this.tracker.indexOf(0,this.columnIndex))?(n=this._findGapEndIndex(e),this.columnIndex=e+1):this._nextRow(),n-e<t;);return Math.max(e,0)},t.prototype._nextRow=function(){this.columnIndex=0,this.rowIndex++;for(var t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)},t.prototype._findGapEndIndex=function(t){for(var e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length},t.prototype._markTilePosition=function(t,e){for(var n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan},t}(),Gr=function(t,e){this.row=t,this.col=e},Wr=function(){function t(){this._rows=0,this._rowspan=0}return t.prototype.init=function(t,e,n,r){this._gutterSize=Qr(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=r},t.prototype.getBaseTileSize=function(t,e){return"("+t+"% - ("+this._gutterSize+" * "+e+"))"},t.prototype.getTilePosition=function(t,e){return 0===e?"0":Kr("("+t+" + "+this._gutterSize+") * "+e)},t.prototype.getTileSize=function(t,e){return"("+t+" * "+e+") + ("+(e-1)+" * "+this._gutterSize+")"},t.prototype.setStyle=function(t,e,n){var r=100/this._cols,i=(this._cols-1)/this._cols;this.setColStyles(t,n,r,i),this.setRowStyles(t,e,r,i)},t.prototype.setColStyles=function(t,e,n,r){var i=this.getBaseTileSize(n,r),o="rtl"===this._direction?"right":"left";t._setStyle(o,this.getTilePosition(i,e)),t._setStyle("width",Kr(this.getTileSize(i,t.colspan)))},t.prototype.getGutterSpan=function(){return this._gutterSize+" * ("+this._rowspan+" - 1)"},t.prototype.getTileSpan=function(t){return this._rowspan+" * "+this.getTileSize(t,1)},t.prototype.getComputedHeight=function(){return null},t}(),qr=function(i){function t(t){var e=i.call(this)||this;return e.fixedRowHeight=t,e}return Y(t,i),t.prototype.init=function(t,e,n,r){i.prototype.init.call(this,t,e,n,r),this.fixedRowHeight=Qr(this.fixedRowHeight)},t.prototype.setRowStyles=function(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",Kr(this.getTileSize(this.fixedRowHeight,t.rowspan)))},t.prototype.getComputedHeight=function(){return["height",Kr(this.getTileSpan(this.fixedRowHeight)+" + "+this.getGutterSpan())]},t.prototype.reset=function(t){t._setListStyle(["height",null]),t._tiles.forEach(function(t){t._setStyle("top",null),t._setStyle("height",null)})},t}(Wr),Yr=function(n){function t(t){var e=n.call(this)||this;return e._parseRatio(t),e}return Y(t,n),t.prototype.setRowStyles=function(t,e,n,r){var i=n/this.rowHeightRatio;this.baseTileHeight=this.getBaseTileSize(i,r),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",Kr(this.getTileSize(this.baseTileHeight,t.rowspan)))},t.prototype.getComputedHeight=function(){return["paddingBottom",Kr(this.getTileSpan(this.baseTileHeight)+" + "+this.getGutterSpan())]},t.prototype.reset=function(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(function(t){t._setStyle("marginTop",null),t._setStyle("paddingTop",null)})},t.prototype._parseRatio=function(t){var e=t.split(":");if(2!==e.length)throw Error('mat-grid-list: invalid ratio given for row-height: "'+t+'"');this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])},t}(Wr),$r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.prototype.setRowStyles=function(t,e){var n=100/this._rowspan,r=(this._rows-1)/this._rows,i=this.getBaseTileSize(n,r);t._setStyle("top",this.getTilePosition(i,e)),t._setStyle("height",Kr(this.getTileSize(i,t.rowspan)))},e.prototype.reset=function(t){t._tiles.forEach(function(t){t._setStyle("top",null),t._setStyle("height",null)})},e}(Wr);function Kr(t){return"calc("+t+")"}function Qr(t){return t.match(/px|em|rem/)?t:t+"px"}var Xr=function(){function t(t,e){this._element=t,this._dir=e,this._gutter="1px"}return Object.defineProperty(t.prototype,"cols",{get:function(){return this._cols},set:function(t){this._cols=jr(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"gutterSize",{get:function(){return this._gutter},set:function(t){this._gutter=Lr(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{set:function(t){var e=Lr(t);e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._checkCols(),this._checkRowHeight()},t.prototype.ngAfterContentChecked=function(){this._layoutTiles()},t.prototype._checkCols=function(){if(!this.cols)throw Error('mat-grid-list: must pass in number of columns. Example: <mat-grid-list cols="3">')},t.prototype._checkRowHeight=function(){this._rowHeight||this._setTileStyler("1:1")},t.prototype._setTileStyler=function(t){this._tileStyler&&this._tileStyler.reset(this),"fit"===t?this._tileStyler=new $r:t&&-1<t.indexOf(":")?this._tileStyler=new Yr(t):this._tileStyler=new qr(t)},t.prototype._layoutTiles=function(){var r=this,i=new zr(this.cols,this._tiles),t=this._dir?this._dir.value:"ltr";this._tileStyler.init(this.gutterSize,i,this.cols,t),this._tiles.forEach(function(t,e){var n=i.positions[e];r._tileStyler.setStyle(t,n.row,n.col)}),this._setListStyle(this._tileStyler.getComputedHeight())},t.prototype._setListStyle=function(t){t&&(this._element.nativeElement.style[t[0]]=t[1])},t.decorators=[{type:f.Component,args:[{selector:"mat-grid-list",exportAs:"matGridList",template:"<div><ng-content></ng-content></div>",styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"],host:{class:"mat-grid-list"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:s.Directionality,decorators:[{type:f.Optional}]}]},t.propDecorators={_tiles:[{type:f.ContentChildren,args:[Fr]}],cols:[{type:f.Input}],gutterSize:[{type:f.Input}],rowHeight:[{type:f.Input}]},t}(),Zr=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Et,Z],exports:[Xr,Fr,Vr,Et,Z,Ur,Hr,Br],declarations:[Xr,Fr,Vr,Ur,Hr,Br]}]}],t.ctorParameters=function(){return[]},t}();function Jr(t){return Error('Unable to find icon with the name "'+t+'"')}function ti(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function ei(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}var ni=function(t){this.url=t,this.svgElement=null},ri=function(){function t(t,e,n){this._httpClient=t,this._sanitizer=e,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return t.prototype.addSvgIcon=function(t,e){return this.addSvgIconInNamespace("",t,e)},t.prototype.addSvgIconInNamespace=function(t,e,n){var r=si(t,e);return this._svgIconConfigs.set(r,new ni(n)),this},t.prototype.addSvgIconSet=function(t){return this.addSvgIconSetInNamespace("",t)},t.prototype.addSvgIconSetInNamespace=function(t,e){var n=new ni(e),r=this._iconSetConfigs.get(t);return r?r.push(n):this._iconSetConfigs.set(t,[n]),this},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this,n=this._sanitizer.sanitize(f.SecurityContext.RESOURCE_URL,t);if(!n)throw ei(t);var r=this._cachedIconsByUrl.get(n);return r?S.of(ai(r)):this._loadSvgIconFromConfig(new ni(t)).pipe(o.tap(function(t){return e._cachedIconsByUrl.set(n,t)}),I.map(function(t){return ai(t)}))},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=si(e,t),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(e);return i?this._getSvgFromIconSetConfigs(t,i):j._throw(Jr(n))},t.prototype._getSvgFromConfig=function(e){return e.svgElement?S.of(ai(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(o.tap(function(t){return e.svgElement=t}),I.map(function(t){return ai(t)}))},t.prototype._getSvgFromIconSetConfigs=function(e,n){var r=this,t=this._extractIconWithNameFromAnySet(e,n);if(t)return S.of(t);var i=n.filter(function(t){return!t.svgElement}).map(function(n){return r._loadSvgIconSetFromConfig(n).pipe(T.catchError(function(t){var e=r._sanitizer.sanitize(f.SecurityContext.RESOURCE_URL,n.url);return console.log("Loading icon set URL: "+e+" failed: "+t),S.of(null)}))});return L.forkJoin(i).pipe(I.map(function(){var t=r._extractIconWithNameFromAnySet(e,n);if(!t)throw Jr(e);return t}))},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;0<=n;n--){var r=e[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,t);if(i)return i}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(I.map(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(e){var n=this;return e.svgElement?S.of(e.svgElement):this._fetchUrl(e.url).pipe(I.map(function(t){return e.svgElement||(e.svgElement=n._svgElementFromString(t)),e.svgElement}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector("#"+e);if(!n)return null;var r=n.cloneNode(!0);if(r.id="","svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r));var i=this._svgElementFromString("<svg></svg>");return i.appendChild(r),this._setSvgAttributes(i)},t.prototype._svgElementFromString=function(t){if(this._document||"undefined"!=typeof document){var e=(this._document||document).createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}throw new Error("MatIconRegistry could not resolve document.")},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString("<svg></svg>"),n=0;n<t.childNodes.length;n++)t.childNodes[n].nodeType===this._document.ELEMENT_NODE&&e.appendChild(t.childNodes[n].cloneNode(!0));return e},t.prototype._setSvgAttributes=function(t){return t.getAttribute("xmlns")||t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("fit",""),t.setAttribute("height","100%"),t.setAttribute("width","100%"),t.setAttribute("preserveAspectRatio","xMidYMid meet"),t.setAttribute("focusable","false"),t},t.prototype._fetchUrl=function(t){var e=this;if(!this._httpClient)throw ti();var n=this._sanitizer.sanitize(f.SecurityContext.RESOURCE_URL,t);if(!n)throw ei(t);var r=this._inProgressUrlFetches.get(n);if(r)return r;var i=this._httpClient.get(n,{responseType:"text"}).pipe(M.finalize(function(){return e._inProgressUrlFetches.delete(n)}),R.share());return this._inProgressUrlFetches.set(n,i),i},t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[{type:N.HttpClient,decorators:[{type:f.Optional}]},{type:e.DomSanitizer},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[n.DOCUMENT]}]}]},t}();function ii(t,e,n,r){return t||new ri(e,n,r)}var oi={provide:ri,deps:[[new f.Optional,new f.SkipSelf,ri],[new f.Optional,N.HttpClient],e.DomSanitizer,[new f.Optional,n.DOCUMENT]],useFactory:ii};function ai(t){return t.cloneNode(!0)}function si(t,e){return t+":"+e}var li=function(t){this._elementRef=t},ci=tt(li),ui=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r._iconRegistry=e,n||t.nativeElement.setAttribute("aria-hidden","true"),r}return Y(t,i),Object.defineProperty(t.prototype,"fontSet",{get:function(){return this._fontSet},set:function(t){this._fontSet=this._cleanupFontValue(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(t){this._fontIcon=this._cleanupFontValue(t)},enumerable:!0,configurable:!0}),t.prototype._splitIconName=function(t){if(!t)return["",""];var e=t.split(":");switch(e.length){case 1:return["",e[0]];case 2:return e;default:throw Error('Invalid icon name: "'+t+'"')}},t.prototype.ngOnChanges=function(t){var e=this;if(t.svgIcon)if(this.svgIcon){var n=this._splitIconName(this.svgIcon),r=n[0],i=n[1];this._iconRegistry.getNamedSvgIcon(i,r).pipe(y.take(1)).subscribe(function(t){return e._setSvgElement(t)},function(t){return console.log("Error retrieving icon: "+t.message)})}else this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},t.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},t.prototype._usingFontIcon=function(){return!this.svgIcon},t.prototype._setSvgElement=function(t){this._clearSvgElement(),this._elementRef.nativeElement.appendChild(t)},t.prototype._clearSvgElement=function(){for(var t=this._elementRef.nativeElement,e=t.childNodes.length,n=0;n<e;n++)t.removeChild(t.childNodes[n])},t.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var t=this._elementRef.nativeElement,e=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();e!=this._previousFontSetClass&&(this._previousFontSetClass&&t.classList.remove(this._previousFontSetClass),e&&t.classList.add(e),this._previousFontSetClass=e),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&t.classList.remove(this._previousFontIconClass),this.fontIcon&&t.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},t.prototype._cleanupFontValue=function(t){return"string"==typeof t?t.trim().split(" ")[0]:t},t.decorators=[{type:f.Component,args:[{template:"<ng-content></ng-content>",selector:"mat-icon",exportAs:"matIcon",styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}"],inputs:["color"],host:{role:"img",class:"mat-icon"},encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:ri},{type:void 0,decorators:[{type:f.Attribute,args:["aria-hidden"]}]}]},t.propDecorators={svgIcon:[{type:f.Input}],fontSet:[{type:f.Input}],fontIcon:[{type:f.Input}]},t}(ci),pi=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z],exports:[ui,Z],declarations:[ui],providers:[oi]}]}],t.ctorParameters=function(){return[]},t}(),di=function(){},hi=et(di),fi=function(){},mi=et(fi),gi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Component,args:[{selector:"mat-nav-list",exportAs:"matNavList",host:{role:"navigation",class:"mat-nav-list"},template:"<ng-content></ng-content>",styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-with-avatar,.mat-list .mat-list-option.mat-list-item-with-avatar,.mat-nav-list .mat-list-item.mat-list-item-with-avatar,.mat-nav-list .mat-list-option.mat-list-item-with-avatar,.mat-selection-list .mat-list-item.mat-list-item-with-avatar,.mat-selection-list .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}"],inputs:["disableRipple"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e}(hi),yi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Component,args:[{selector:"mat-list",exportAs:"matList",template:"<ng-content></ng-content>",host:{class:"mat-list"},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-with-avatar,.mat-list .mat-list-option.mat-list-item-with-avatar,.mat-nav-list .mat-list-item.mat-list-item-with-avatar,.mat-nav-list .mat-list-option.mat-list-item-with-avatar,.mat-selection-list .mat-list-item.mat-list-item-with-avatar,.mat-selection-list .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}"],inputs:["disableRipple"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e}(hi),vi=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-list-avatar], [matListAvatar]",host:{class:"mat-list-avatar"}}]}],t.ctorParameters=function(){return[]},t}(),bi=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-list-icon], [matListIcon]",host:{class:"mat-list-icon"}}]}],t.ctorParameters=function(){return[]},t}(),_i=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"[mat-subheader], [matSubheader]",host:{class:"mat-subheader"}}]}],t.ctorParameters=function(){return[]},t}(),wi=function(r){function t(t,e){var n=r.call(this)||this;return n._element=t,n._navList=e,n._isNavList=!1,n._isNavList=!!e,n}return Y(t,r),t.prototype.ngAfterContentInit=function(){new St(this._lines,this._element)},t.prototype._isRippleDisabled=function(){return!this._isNavList||this.disableRipple||this._navList.disableRipple},t.prototype._handleFocus=function(){this._element.nativeElement.classList.add("mat-list-item-focus")},t.prototype._handleBlur=function(){this._element.nativeElement.classList.remove("mat-list-item-focus")},t.prototype._getHostElement=function(){return this._element.nativeElement},t.decorators=[{type:f.Component,args:[{selector:"mat-list-item, a[mat-list-item]",exportAs:"matListItem",host:{class:"mat-list-item","[class.mat-list-item-avatar]":"_avatar","[class.mat-list-item-with-avatar]":"_avatar","(focus)":"_handleFocus()","(blur)":"_handleBlur()"},inputs:["disableRipple"],template:'<div class="mat-list-item-content"><div class="mat-list-item-ripple" mat-ripple [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="_isRippleDisabled()"></div><ng-content select="[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]"></ng-content><div class="mat-list-text"><ng-content select="[mat-line], [matLine]"></ng-content></div><ng-content></ng-content></div>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:gi,decorators:[{type:f.Optional}]}]},t.propDecorators={_lines:[{type:f.ContentChildren,args:[xt]}],_avatar:[{type:f.ContentChild,args:[vi]}]},t}(mi),Ci=function(){},xi=et(J(Ci)),Si=function(){},Ei=et(Si),ki={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return Di}),multi:!0},Oi=function(t,e){this.source=t,this.selected=e},Pi=function(t,e){this.source=t,this.option=e},Ai=function(i){function t(t,e,n){var r=i.call(this)||this;return r._element=t,r._changeDetector=e,r.selectionList=n,r._selected=!1,r._disabled=!1,r._hasFocus=!1,r.checkboxPosition="after",r.selectionChange=new f.EventEmitter,r}return Y(t,i),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(t){var e=c.coerceBooleanProperty(t);e!==this._disabled&&(this._disabled=e,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(t){var e=c.coerceBooleanProperty(t);e!==this._selected&&(this._setSelected(e),this.selectionList._reportValueChange())},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this,e=this._selected;Promise.resolve().then(function(){(t._selected||e)&&(t.selected=!0,t._changeDetector.markForCheck())})},t.prototype.ngAfterContentInit=function(){new St(this._lines,this._element)},t.prototype.ngOnDestroy=function(){var t=this;this.selected&&Promise.resolve().then(function(){return t.selected=!1}),this.selectionList._removeOptionFromList(this)},t.prototype.toggle=function(){this.selected=!this.selected},t.prototype.focus=function(){this._element.nativeElement.focus()},t.prototype.getLabel=function(){return this._text?this._text.nativeElement.textContent:""},t.prototype._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple},t.prototype._handleClick=function(){this.disabled||(this.toggle(),this.selectionList._emitChangeEvent(this),this._emitDeprecatedChangeEvent())},t.prototype._handleFocus=function(){this._hasFocus=!0,this.selectionList._setFocusedOption(this)},t.prototype._handleBlur=function(){this._hasFocus=!1,this.selectionList._onTouched()},t.prototype._getHostElement=function(){return this._element.nativeElement},t.prototype._setSelected=function(t){t!==this._selected&&((this._selected=t)?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck())},t.prototype._emitDeprecatedChangeEvent=function(){this.selectionChange.emit(new Oi(this,this.selected))},t.decorators=[{type:f.Component,args:[{selector:"mat-list-option",exportAs:"matListOption",inputs:["disableRipple"],host:{role:"option",class:"mat-list-item mat-list-option","(focus)":"_handleFocus()","(blur)":"_handleBlur()","(click)":"_handleClick()",tabindex:"-1","[class.mat-list-item-disabled]":"disabled","[class.mat-list-item-focus]":"_hasFocus","[attr.aria-selected]":"selected.toString()","[attr.aria-disabled]":"disabled.toString()"},template:'<div class="mat-list-item-content" [class.mat-list-item-content-reverse]="checkboxPosition == \'after\'"><div mat-ripple class="mat-list-item-ripple" [matRippleTrigger]="_getHostElement()" [matRippleDisabled]="_isRippleDisabled()"></div><mat-pseudo-checkbox [state]="selected ? \'checked\' : \'unchecked\'" [disabled]="disabled"></mat-pseudo-checkbox><div class="mat-list-text" #text><ng-content></ng-content></div></div>',encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.ChangeDetectorRef},{type:Di,decorators:[{type:f.Inject,args:[f.forwardRef(function(){return Di})]}]}]},t.propDecorators={_lines:[{type:f.ContentChildren,args:[xt]}],_text:[{type:f.ViewChild,args:["text"]}],checkboxPosition:[{type:f.Input}],value:[{type:f.Input}],disabled:[{type:f.Input}],selected:[{type:f.Input}],selectionChange:[{type:f.Output}]},t}(Ei),Di=function(r){function t(t,e){var n=r.call(this)||this;return n._element=t,n.selectionChange=new f.EventEmitter,n.tabIndex=0,n.selectedOptions=new E.SelectionModel(!0),n._onChange=function(t){},n._modelChanges=O.Subscription.EMPTY,n._onTouched=function(){},n.tabIndex=parseInt(e)||0,n}return Y(t,r),t.prototype.ngAfterContentInit=function(){this._keyManager=new d.FocusKeyManager(this.options).withWrap().withTypeAhead().skipPredicate(function(){return!1}),this._tempValues&&(this._setOptionsFromValues(this._tempValues),this._tempValues=null),this._modelChanges=this.selectedOptions.onChange.subscribe(function(t){if(t.added)for(var e=0,n=t.added;e<n.length;e++){n[e].selected=!0}if(t.removed)for(var r=0,i=t.removed;r<i.length;r++){i[r].selected=!1}})},t.prototype.ngOnDestroy=function(){this._modelChanges.unsubscribe()},t.prototype.focus=function(){this._element.nativeElement.focus()},t.prototype.selectAll=function(){this.options.forEach(function(t){return t._setSelected(!0)}),this._reportValueChange()},t.prototype.deselectAll=function(){this.options.forEach(function(t){return t._setSelected(!1)}),this._reportValueChange()},t.prototype._setFocusedOption=function(t){this._keyManager.updateActiveItemIndex(this._getOptionIndex(t))},t.prototype._removeOptionFromList=function(t){if(t._hasFocus){var e=this._getOptionIndex(t);0<e?this._keyManager.setPreviousItemActive():0===e&&1<this.options.length&&this._keyManager.setNextItemActive()}},t.prototype._keydown=function(t){switch(t.keyCode){case p.SPACE:case p.ENTER:this.disabled||(this._toggleSelectOnFocusedOption(),t.preventDefault());break;case p.HOME:case p.END:t.keyCode===p.HOME?this._keyManager.setFirstItemActive():this._keyManager.setLastItemActive(),t.preventDefault();break;default:this._keyManager.onKeydown(t)}},t.prototype._reportValueChange=function(){this.options&&this._onChange(this._getSelectedOptionValues())},t.prototype._emitChangeEvent=function(t){this.selectionChange.emit(new Pi(this,t))},t.prototype.writeValue=function(t){this.options?this._setOptionsFromValues(t||[]):this._tempValues=t},t.prototype.setDisabledState=function(e){this.options&&this.options.forEach(function(t){return t.disabled=e})},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype._getOptionByValue=function(e){return this.options.find(function(t){return t.value===e})},t.prototype._setOptionsFromValues=function(t){var e=this;this.options.forEach(function(t){return t._setSelected(!1)}),t.map(function(t){return e._getOptionByValue(t)}).filter(Boolean).forEach(function(t){return t._setSelected(!0)})},t.prototype._getSelectedOptionValues=function(){return this.options.filter(function(t){return t.selected}).map(function(t){return t.value})},t.prototype._toggleSelectOnFocusedOption=function(){var t=this._keyManager.activeItemIndex;if(null!=t&&this._isValidIndex(t)){var e=this.options.toArray()[t];e&&(e.toggle(),this._emitChangeEvent(e),e._emitDeprecatedChangeEvent())}},t.prototype._isValidIndex=function(t){return 0<=t&&t<this.options.length},t.prototype._getOptionIndex=function(t){return this.options.toArray().indexOf(t)},t.decorators=[{type:f.Component,args:[{selector:"mat-selection-list",exportAs:"matSelectionList",inputs:["disabled","disableRipple","tabIndex"],host:{role:"listbox","[tabIndex]":"tabIndex",class:"mat-selection-list","(focus)":"focus()","(blur)":"_onTouched()","(keydown)":"_keydown($event)","[attr.aria-disabled]":"disabled.toString()"},template:"<ng-content></ng-content>",styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-with-avatar,.mat-list .mat-list-option.mat-list-item-with-avatar,.mat-nav-list .mat-list-item.mat-list-item-with-avatar,.mat-nav-list .mat-list-option.mat-list-item-with-avatar,.mat-selection-list .mat-list-item.mat-list-item-with-avatar,.mat-selection-list .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content .mat-list-text:not(:nth-child(2)){padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)),[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse .mat-list-text:not(:nth-child(2)){padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}"],encapsulation:f.ViewEncapsulation.None,providers:[ki],preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:void 0,decorators:[{type:f.Attribute,args:["tabindex"]}]}]},t.propDecorators={options:[{type:f.ContentChildren,args:[Ai]}],selectionChange:[{type:f.Output}],tabIndex:[{type:f.Input}]},t}(xi),Ti=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Et,It,Z,Nt,n.CommonModule],exports:[yi,gi,wi,vi,Et,Z,bi,_i,Nt,Di,Ai,Sr],declarations:[yi,gi,wi,vi,bi,_i,Di,Ai]}]}],t.ctorParameters=function(){return[]},t}(),Mi={transformMenu:w.trigger("transformMenu",[w.state("void",w.style({opacity:0,transform:"scale(0.01, 0.01)"})),w.state("enter-start",w.style({opacity:1,transform:"scale(1, 0.5)"})),w.state("enter",w.style({transform:"scale(1, 1)"})),w.transition("void => enter-start",w.animate("100ms linear")),w.transition("enter-start => enter",w.animate("300ms cubic-bezier(0.25, 0.8, 0.25, 1)")),w.transition("* => void",w.animate("150ms 50ms linear",w.style({opacity:0})))]),fadeInItems:w.trigger("fadeInItems",[w.state("showing",w.style({opacity:1})),w.transition("void => *",[w.style({opacity:0}),w.animate("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Ii=Mi.fadeInItems,Ri=Mi.transformMenu;var Ni=function(){},Li=et(J(Ni)),ji=function(i){function t(t,e,n){var r=i.call(this)||this;return r._elementRef=t,r._focusMonitor=n,r._hovered=new m.Subject,r._highlighted=!1,r._triggersSubmenu=!1,n&&n.monitor(r._getHostElement(),!1),r._document=e,r}return Y(t,i),t.prototype.focus=function(t){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t):this._getHostElement().focus()},t.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._getHostElement()),this._hovered.complete()},t.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},t.prototype._getHostElement=function(){return this._elementRef.nativeElement},t.prototype._checkDisabled=function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())},t.prototype._emitHoverEvent=function(){this.disabled||this._hovered.next(this)},t.prototype.getLabel=function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var r=t.childNodes.length,i=0;i<r;i++)t.childNodes[i].nodeType===e&&(n+=t.childNodes[i].textContent);return n.trim()},t.decorators=[{type:f.Component,args:[{selector:"[mat-menu-item]",exportAs:"matMenuItem",inputs:["disabled","disableRipple"],host:{role:"menuitem",class:"mat-menu-item","[class.mat-menu-item-highlighted]":"_highlighted","[class.mat-menu-item-submenu-trigger]":"_triggersSubmenu","[attr.tabindex]":"_getTabIndex()","[attr.aria-disabled]":"disabled.toString()","[attr.disabled]":"disabled || null","(click)":"_checkDisabled($event)","(mouseenter)":"_emitHoverEvent()"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,template:'<ng-content></ng-content><div class="mat-menu-ripple" matRipple [matRippleDisabled]="disableRipple || disabled" [matRippleTrigger]="_getHostElement()"></div>'}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:void 0,decorators:[{type:f.Inject,args:[n.DOCUMENT]}]},{type:d.FocusMonitor}]},t}(Li),Fi=function(){function t(t,e,n,r,i,o){this._template=t,this._componentFactoryResolver=e,this._appRef=n,this._injector=r,this._viewContainerRef=i,this._document=o}return t.prototype.attach=function(t){void 0===t&&(t={}),this._portal?this._portal.isAttached&&this._portal.detach():this._portal=new l.TemplatePortal(this._template,this._viewContainerRef),this._outlet||(this._outlet=new l.DomPortalOutlet(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._portal.attach(this._outlet,t)},t.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()},t.decorators=[{type:f.Directive,args:[{selector:"ng-template[matMenuContent]"}]}],t.ctorParameters=function(){return[{type:f.TemplateRef},{type:f.ComponentFactoryResolver},{type:f.ApplicationRef},{type:f.Injector},{type:f.ViewContainerRef},{type:void 0,decorators:[{type:f.Inject,args:[n.DOCUMENT]}]}]},t}(),Vi=new f.InjectionToken("mat-menu-default-options"),Bi=function(){function t(t,e,n){this._elementRef=t,this._ngZone=e,this._defaultOptions=n,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._tabSubscription=O.Subscription.EMPTY,this._classList={},this._panelAnimationState="void",this._overlapTrigger=this._defaultOptions.overlapTrigger,this.closed=new f.EventEmitter,this.close=this.closed}return Object.defineProperty(t.prototype,"xPosition",{get:function(){return this._xPosition},set:function(t){"before"!==t&&"after"!==t&&function(){throw Error('x-position value must be either \'before\' or after\'.\n Example: <mat-menu x-position="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"yPosition",{get:function(){return this._yPosition},set:function(t){"above"!==t&&"below"!==t&&function(){throw Error('y-position value must be either \'above\' or below\'.\n Example: <mat-menu y-position="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=t,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"panelClass",{set:function(t){t&&t.length&&(this._classList=t.split(" ").reduce(function(t,e){return t[e]=!0,t},{}),this._elementRef.nativeElement.className="",this.setPositionClasses())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classList",{get:function(){return this.panelClass},set:function(t){this.panelClass=t},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._keyManager=new d.FocusKeyManager(this.items).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return t.close.emit("keydown")})},t.prototype.ngOnDestroy=function(){this._tabSubscription.unsubscribe(),this.closed.complete()},t.prototype._hovered=function(){var t=this;return this.items?this.items.changes.pipe(_.startWith(this.items),v.switchMap(function(t){return x.merge.apply(void 0,t.map(function(t){return t._hovered}))})):this._ngZone.onStable.asObservable().pipe(y.take(1),v.switchMap(function(){return t._hovered()}))},t.prototype._handleKeydown=function(t){switch(t.keyCode){case p.ESCAPE:this.closed.emit("keydown"),t.stopPropagation();break;case p.LEFT_ARROW:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case p.RIGHT_ARROW:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:this._keyManager.onKeydown(t)}},t.prototype.focusFirstItem=function(t){var e=this;void 0===t&&(t="program"),this.lazyContent?this._ngZone.onStable.asObservable().pipe(y.take(1)).subscribe(function(){return e._keyManager.setFocusOrigin(t).setFirstItemActive()}):this._keyManager.setFocusOrigin(t).setFirstItemActive()},t.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},t.prototype.setPositionClasses=function(t,e){void 0===t&&(t=this.xPosition),void 0===e&&(e=this.yPosition),this._classList["mat-menu-before"]="before"===t,this._classList["mat-menu-after"]="after"===t,this._classList["mat-menu-above"]="above"===e,this._classList["mat-menu-below"]="below"===e},t.prototype.setElevation=function(t){var e="mat-elevation-z"+(2+t),n=Object.keys(this._classList).find(function(t){return t.startsWith("mat-elevation-z")});n&&n!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[e]=!0,this._previousElevation=e)},t.prototype._startAnimation=function(){this._panelAnimationState="enter-start"},t.prototype._resetAnimation=function(){this._panelAnimationState="void"},t.prototype._onAnimationDone=function(t){"enter-start"===t.toState&&(this._panelAnimationState="enter")},t.decorators=[{type:f.Component,args:[{selector:"mat-menu",template:'<ng-template><div class="mat-menu-panel" [ngClass]="_classList" (keydown)="_handleKeydown($event)" (click)="closed.emit(\'click\')" [@transformMenu]="_panelAnimationState" (@transformMenu.done)="_onAnimationDone($event)" tabindex="-1" role="menu"><div class="mat-menu-content" [@fadeInItems]="\'showing\'"><ng-content></ng-content></div></div></ng-template>',styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:2px;outline:0}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-menu-panel.mat-menu-after.mat-menu-below{transform-origin:left top}.mat-menu-panel.mat-menu-after.mat-menu-above{transform-origin:left bottom}.mat-menu-panel.mat-menu-before.mat-menu-below{transform-origin:right top}.mat-menu-panel.mat-menu-before.mat-menu-above{transform-origin:right bottom}[dir=rtl] .mat-menu-panel.mat-menu-after.mat-menu-below{transform-origin:right top}[dir=rtl] .mat-menu-panel.mat-menu-after.mat-menu-above{transform-origin:right bottom}[dir=rtl] .mat-menu-panel.mat-menu-before.mat-menu-below{transform-origin:left top}[dir=rtl] .mat-menu-panel.mat-menu-before.mat-menu-above{transform-origin:left bottom}.mat-menu-panel.ng-animating{pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content{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;position:relative}.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}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.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-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,animations:[Mi.transformMenu,Mi.fadeInItems],exportAs:"matMenu"}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.NgZone},{type:void 0,decorators:[{type:f.Inject,args:[Vi]}]}]},t.propDecorators={xPosition:[{type:f.Input}],yPosition:[{type:f.Input}],templateRef:[{type:f.ViewChild,args:[f.TemplateRef]}],items:[{type:f.ContentChildren,args:[ji]}],lazyContent:[{type:f.ContentChild,args:[Fi]}],overlapTrigger:[{type:f.Input}],panelClass:[{type:f.Input,args:["class"]}],classList:[{type:f.Input}],closed:[{type:f.Output}],close:[{type:f.Output}]},t}(),Ui=new f.InjectionToken("mat-menu-scroll-strategy");function Hi(t){return function(){return t.scrollStrategies.reposition()}}var zi={provide:Ui,deps:[a.Overlay],useFactory:Hi},Gi=function(){function t(t,e,n,r,i,o,a,s){this._overlay=t,this._element=e,this._viewContainerRef=n,this._scrollStrategy=r,this._parentMenu=i,this._menuItemInstance=o,this._dir=a,this._focusMonitor=s,this._overlayRef=null,this._menuOpen=!1,this._closeSubscription=O.Subscription.EMPTY,this._hoverSubscription=O.Subscription.EMPTY,this._openedByMouse=!1,this.menuOpened=new f.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new f.EventEmitter,this.onMenuClose=this.menuClosed,o&&(o._triggersSubmenu=this.triggersSubmenu())}return Object.defineProperty(t.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(t){this.menu=t},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;this._checkMenu(),this.menu.close.subscribe(function(t){e._destroyMenu(),"click"===t&&e._parentMenu&&e._parentMenu.closed.emit(t)}),this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(g.filter(function(t){return t===e._menuItemInstance})).subscribe(function(){e._openedByMouse=!0,e.openMenu()}))},t.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._cleanUpSubscriptions()},Object.defineProperty(t.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},t.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},t.prototype.openMenu=function(){var t=this;this._menuOpen||(this._createOverlay().attach(this._portal),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closeSubscription=this._menuClosingActions().subscribe(function(){return t.closeMenu()}),this._initMenu(),this.menu instanceof Bi&&this.menu._startAnimation())},t.prototype.closeMenu=function(){this.menu.close.emit()},t.prototype.focus=function(t){void 0===t&&(t="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element.nativeElement,t):this._element.nativeElement.focus()},t.prototype._destroyMenu=function(){this._overlayRef&&this.menuOpen&&(this._resetMenu(),this._closeSubscription.unsubscribe(),this._overlayRef.detach(),this.menu instanceof Bi&&this.menu._resetAnimation())},t.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedByMouse?"mouse":"program")},t.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}},t.prototype._resetMenu=function(){this._setIsMenuOpen(!1),this._openedByMouse?this.triggersSubmenu()||this.focus("mouse"):this.focus(),this._openedByMouse=!1},t.prototype._setIsMenuOpen=function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)},t.prototype._checkMenu=function(){this.menu||function(){throw Error('mat-menu-trigger: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()},t.prototype._createOverlay=function(){if(!this._overlayRef){this._portal=new l.TemplatePortal(this.menu.templateRef,this._viewContainerRef);var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t)}return this._overlayRef},t.prototype._getOverlayConfig=function(){return new a.OverlayConfig({positionStrategy:this._getPosition(),hasBackdrop:!this.triggersSubmenu(),backdropClass:"cdk-overlay-transparent-backdrop",direction:this.dir,scrollStrategy:this._scrollStrategy()})},t.prototype._subscribeToPositions=function(t){var r=this;t.onPositionChange.subscribe(function(t){var e="start"===t.connectionPair.overlayX?"after":"before",n="top"===t.connectionPair.overlayY?"below":"above";r.menu.setPositionClasses(e,n)})},t.prototype._getPosition=function(){var t="before"===this.menu.xPosition?["end","start"]:["start","end"],e=t[0],n=t[1],r="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],i=r[0],o=r[1],a=[i,o],s=a[0],l=a[1],c=[e,n],u=c[0],p=c[1],d=0;return this.triggersSubmenu()?(p=e="before"===this.menu.xPosition?"start":"end",n=u="end"===e?"start":"end",d="bottom"===i?8:-8):this.menu.overlapTrigger||(s="top"===i?"bottom":"top",l="top"===o?"bottom":"top"),this._overlay.position().connectedTo(this._element,{originX:e,originY:s},{overlayX:u,overlayY:i}).withDirection(this.dir).withOffsetY(d).withFallbackPosition({originX:n,originY:s},{overlayX:p,overlayY:i}).withFallbackPosition({originX:e,originY:l},{overlayX:u,overlayY:o},void 0,-d).withFallbackPosition({originX:n,originY:l},{overlayX:p,overlayY:o},void 0,-d)},t.prototype._cleanUpSubscriptions=function(){this._closeSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},t.prototype._menuClosingActions=function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),r=this._parentMenu?this._parentMenu.close:S.of(),i=this._parentMenu?this._parentMenu._hovered().pipe(g.filter(function(t){return t!==e._menuItemInstance}),g.filter(function(){return e._menuOpen})):S.of();return x.merge(t,r,i,n)},t.prototype._handleMousedown=function(t){d.isFakeMousedownFromScreenReader(t)||(this._openedByMouse=!0,this.triggersSubmenu()&&t.preventDefault())},t.prototype._handleKeydown=function(t){var e=t.keyCode;this.triggersSubmenu()&&(e===p.RIGHT_ARROW&&"ltr"===this.dir||e===p.LEFT_ARROW&&"rtl"===this.dir)&&this.openMenu()},t.prototype._handleClick=function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()},t.decorators=[{type:f.Directive,args:[{selector:"[mat-menu-trigger-for], [matMenuTriggerFor]",host:{"aria-haspopup":"true","(mousedown)":"_handleMousedown($event)","(keydown)":"_handleKeydown($event)","(click)":"_handleClick($event)"},exportAs:"matMenuTrigger"}]}],t.ctorParameters=function(){return[{type:a.Overlay},{type:f.ElementRef},{type:f.ViewContainerRef},{type:void 0,decorators:[{type:f.Inject,args:[Ui]}]},{type:Bi,decorators:[{type:f.Optional}]},{type:ji,decorators:[{type:f.Optional},{type:f.Self}]},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:d.FocusMonitor}]},t.propDecorators={_deprecatedMatMenuTriggerFor:[{type:f.Input,args:["mat-menu-trigger-for"]}],menu:[{type:f.Input,args:["matMenuTriggerFor"]}],menuData:[{type:f.Input,args:["matMenuTriggerData"]}],menuOpened:[{type:f.Output}],onMenuOpen:[{type:f.Output}],menuClosed:[{type:f.Output}],onMenuClose:[{type:f.Output}]},t}(),Wi={overlapTrigger:!0,xPosition:"after",yPosition:"below"},qi=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[d.A11yModule,n.CommonModule,Z,It,a.OverlayModule,l.PortalModule],exports:[Bi,ji,Gi,Fi,Z],declarations:[Bi,ji,Gi,Fi],providers:[zi,{provide:Vi,useValue:Wi}]}]}],t.ctorParameters=function(){return[]},t}(),Yi={transformPanel:w.trigger("transformPanel",[w.state("showing",w.style({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),w.state("showing-multiple",w.style({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),w.transition("void => *",[w.style({opacity:0,minWidth:"100%",transform:"scaleY(0)"}),w.animate("150ms cubic-bezier(0.25, 0.8, 0.25, 1)")]),w.transition("* => void",[w.animate("250ms 100ms linear",w.style({opacity:0}))])]),fadeInContent:w.trigger("fadeInContent",[w.state("showing",w.style({opacity:1})),w.transition("void => showing",[w.style({opacity:0}),w.animate("150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},$i=Yi.transformPanel,Ki=Yi.fadeInContent;var Qi=0,Xi=new f.InjectionToken("mat-select-scroll-strategy");function Zi(t){return function(){return t.scrollStrategies.reposition()}}var Ji={provide:Xi,deps:[a.Overlay],useFactory:Zi},to=function(t,e){this.source=t,this.value=e},eo=function(t,e,n,r,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i},no=et(nt(J(rt(eo)))),ro=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-select-trigger"}]}],t.ctorParameters=function(){return[]},t}(),io=function(h){function t(t,e,n,r,i,o,a,s,l,c,u,p){var d=h.call(this,i,r,a,s,c)||this;return d._viewportRuler=t,d._changeDetectorRef=e,d._ngZone=n,d._dir=o,d._parentFormField=l,d.ngControl=c,d._scrollStrategyFactory=p,d._panelOpen=!1,d._required=!1,d._scrollTop=0,d._multiple=!1,d._compareWith=function(t,e){return t===e},d._uid="mat-select-"+Qi++,d._destroy=new m.Subject,d._triggerFontSize=0,d._onChange=function(){},d._onTouched=function(){},d._optionIds="",d._transformOrigin="top",d._panelDoneAnimating=!1,d._scrollStrategy=d._scrollStrategyFactory(),d._offsetY=0,d._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],d.focused=!1,d.controlType="mat-select",d.ariaLabel="",d.optionSelectionChanges=C.defer(function(){return d.options?x.merge.apply(void 0,d.options.map(function(t){return t.onSelectionChange})):d._ngZone.onStable.asObservable().pipe(y.take(1),v.switchMap(function(){return d.optionSelectionChanges}))}),d.openedChange=new f.EventEmitter,d.onOpen=d._openedStream,d.onClose=d._closedStream,d.selectionChange=new f.EventEmitter,d.change=d.selectionChange,d.valueChange=new f.EventEmitter,d.ngControl&&(d.ngControl.valueAccessor=d),d.tabIndex=parseInt(u)||0,d.id=d.id,d}return Y(t,h),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=c.coerceBooleanProperty(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(g.filter(function(t){return t}),I.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(g.filter(function(t){return!t}),I.map(function(){}))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._selectionModel=new E.SelectionModel(this.multiple,void 0,!1),this.stateChanges.next()},t.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this.options.changes.pipe(_.startWith(null),A.takeUntil(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},t.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next()},t.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},t.prototype.toggle=function(){this.panelOpen?this.close():this.open()},t.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement)["font-size"]),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(y.take(1)).subscribe(function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")}))},t.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},t.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(t.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),t.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},t.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},t.prototype._handleClosedKeydown=function(t){var e=t.keyCode,n=e===p.DOWN_ARROW||e===p.UP_ARROW||e===p.LEFT_ARROW||e===p.RIGHT_ARROW;e===p.ENTER||e===p.SPACE||(this.multiple||t.altKey)&&n?(t.preventDefault(),this.open()):this.multiple||this._keyManager.onKeydown(t)},t.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=e===p.DOWN_ARROW||e===p.UP_ARROW,r=this._keyManager;if(e===p.HOME||e===p.END)t.preventDefault(),e===p.HOME?r.setFirstItemActive():r.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(e!==p.ENTER&&e!==p.SPACE||!r.activeItem){var i=r.activeItemIndex;r.onKeydown(t),this._multiple&&n&&t.shiftKey&&r.activeItem&&r.activeItemIndex!==i&&r.activeItem._selectViaInteraction()}else t.preventDefault(),r.activeItem._selectViaInteraction()},t.prototype._onPanelDone=function(){this.panelOpen?(this._scrollTop=0,this.openedChange.emit(!0)):(this.openedChange.emit(!1),this._panelDoneAnimating=!1,this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck())},t.prototype._onFadeInDone=function(){this._panelDoneAnimating=this.panelOpen,this._changeDetectorRef.markForCheck()},t.prototype._onFocus=function(){this.disabled||(this.focused=!0,this.stateChanges.next())},t.prototype._onBlur=function(){this.focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},t.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(y.take(1)).subscribe(function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop})},t.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(t.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),t.prototype._initializeSelection=function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value)})},t.prototype._setSelectionByValue=function(t,e){var n=this;if(void 0===e&&(e=!1),this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._clearSelection(),t.forEach(function(t){return n._selectValue(t,e)}),this._sortValues()}else{this._clearSelection();var r=this._selectValue(t,e);r&&this._keyManager.setActiveItem(this.options.toArray().indexOf(r))}this._changeDetectorRef.markForCheck()},t.prototype._selectValue=function(e,t){var n=this;void 0===t&&(t=!1);var r=this.options.find(function(t){try{return null!=t.value&&n._compareWith(t.value,e)}catch(t){return f.isDevMode()&&console.warn(t),!1}});return r&&(t?r._selectViaInteraction():r.select(),this._selectionModel.select(r),this.stateChanges.next()),r},t.prototype._clearSelection=function(e){this._selectionModel.clear(),this.options.forEach(function(t){t!==e&&t.deselect()}),this.stateChanges.next()},t.prototype._initKeyManager=function(){var t=this;this._keyManager=new d.ActiveDescendantKeyManager(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._keyManager.tabOut.pipe(A.takeUntil(this._destroy)).subscribe(function(){return t.close()}),this._keyManager.change.pipe(A.takeUntil(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()})},t.prototype._resetOptions=function(){var e=this,t=x.merge(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(A.takeUntil(t),g.filter(function(t){return t.isUserInput})).subscribe(function(t){e._onSelect(t.source),!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),x.merge.apply(void 0,this.options.map(function(t){return t._stateChanges})).pipe(A.takeUntil(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()}),this._setOptionIds()},t.prototype._onSelect=function(t){var e=this._selectionModel.isSelected(t);this.multiple?(this._selectionModel.toggle(t),this.stateChanges.next(),e?t.deselect():t.select(),this._keyManager.setActiveItem(this._getOptionIndex(t)),this._sortValues()):(this._clearSelection(null==t.value?void 0:t),null==t.value?this._propagateChanges(t.value):(this._selectionModel.select(t),this.stateChanges.next())),e!==this._selectionModel.isSelected(t)&&this._propagateChanges()},t.prototype._sortValues=function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.options.forEach(function(t){t.selected&&e._selectionModel.select(t)}),this.stateChanges.next())},t.prototype._propagateChanges=function(t){var e=null;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new to(this,e)),this._changeDetectorRef.markForCheck()},t.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(t){return t.id}).join(" ")},t.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._getOptionIndex(this._selectionModel.selected[0])))},t.prototype._scrollActiveOptionIntoView=function(){var t=this._keyManager.activeItemIndex||0,e=Gt(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Wt(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype._getOptionIndex=function(r){return this.options.reduce(function(t,e,n){return void 0===t?r===e?n:void 0:t},void 0)},t.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),r=e*t-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Gt(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},t.prototype._calculateOverlayScroll=function(t,e,n){var r=this._getItemHeight(),i=r*t-e+r/2;return Math.min(Math.max(0,i),n)},Object.defineProperty(t.prototype,"_ariaLabel",{get:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},enumerable:!0,configurable:!0}),t.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},t.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?60:32;if(this.multiple)t=44;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}r||(t*=-1);var a=0-(e.left+t-(r?i:0)),s=e.right+t-n.width+(r?0:i);0<a?t+=a+8:0<s&&(t-=s+8),this.overlayDir.offsetX=t,this.overlayDir.overlayRef.updatePosition()},t.prototype._calculateOverlayOffsetY=function(t,e,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,a=Math.floor(256/i);if(0===this._scrollTop)r=t*i;else if(this._scrollTop===n){r=(t-(this._getItemCount()-a))*i+(i-(this._getItemCount()*i-256)%i)}else r=e-i/2;return-1*r-o},t.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;i<a?this._adjustPanelUp(a,i):r<o?this._adjustPanelDown(o,r,t):this._transformOrigin=this._getOriginBasedOnOption()},t.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},t.prototype._adjustPanelDown=function(t,e,n){var r=Math.round(t-e);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},t.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},t.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},t.prototype._getItemHeight=function(){return 3*this._triggerFontSize},t.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},t.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(t.prototype,"shouldPlaceholderFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),t.decorators=[{type:f.Component,args:[{selector:"mat-select",exportAs:"matSelect",template:'<div cdk-overlay-origin class="mat-select-trigger" aria-hidden="true" (click)="toggle()" #origin="cdkOverlayOrigin" #trigger><div class="mat-select-value" [ngSwitch]="empty"><span class="mat-select-placeholder" *ngSwitchCase="true">{{placeholder || \' \'}}</span> <span class="mat-select-value-text" *ngSwitchCase="false" [ngSwitch]="!!customTrigger"><span *ngSwitchDefault>{{triggerValue}}</span><ng-content select="mat-select-trigger" *ngSwitchCase="true"></ng-content></span></div><div class="mat-select-arrow-wrapper"><div class="mat-select-arrow"></div></div></div><ng-template cdk-connected-overlay hasBackdrop cdkConnectedOverlayLockPosition backdropClass="cdk-overlay-transparent-backdrop" [scrollStrategy]="_scrollStrategy" [origin]="origin" [open]="panelOpen" [positions]="_positions" [minWidth]="_triggerRect?.width" [offsetY]="_offsetY" (backdropClick)="close()" (attach)="_onAttached()" (detach)="close()"><div #panel class="mat-select-panel {{ _getPanelTheme() }}" [ngClass]="panelClass" [@transformPanel]="multiple ? \'showing-multiple\' : \'showing\'" (@transformPanel.done)="_onPanelDone()" [style.transformOrigin]="_transformOrigin" [class.mat-select-panel-done-animating]="_panelDoneAnimating" [style.font-size.px]="_triggerFontSize" (keydown)="_handleKeydown($event)"><div class="mat-select-content" [@fadeInContent]="\'showing\'" (@fadeInContent.done)="_onFadeInDone()"><ng-content></ng-content></div></div></ng-template>',styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;transition:none}"],inputs:["disabled","disableRipple","tabIndex"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,host:{role:"listbox","[attr.id]":"id","[attr.tabindex]":"tabIndex","[attr.aria-label]":"_ariaLabel","[attr.aria-labelledby]":"ariaLabelledby","[attr.aria-required]":"required.toString()","[attr.aria-disabled]":"disabled.toString()","[attr.aria-invalid]":"errorState","[attr.aria-owns]":"panelOpen ? _optionIds : null","[attr.aria-multiselectable]":"multiple","[attr.aria-describedby]":"_ariaDescribedby || null","[attr.aria-activedescendant]":"_getAriaActiveDescendant()","[class.mat-select-disabled]":"disabled","[class.mat-select-invalid]":"errorState","[class.mat-select-required]":"required",class:"mat-select","(keydown)":"_handleKeydown($event)","(focus)":"_onFocus()","(blur)":"_onBlur()"},animations:[Yi.transformPanel,Yi.fadeInContent],providers:[{provide:Xt,useExisting:t},{provide:Ht,useExisting:t}]}]}],t.ctorParameters=function(){return[{type:a.ViewportRuler},{type:f.ChangeDetectorRef},{type:f.NgZone},{type:_t},{type:f.ElementRef},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:b.NgForm,decorators:[{type:f.Optional}]},{type:b.FormGroupDirective,decorators:[{type:f.Optional}]},{type:ue,decorators:[{type:f.Optional}]},{type:b.NgControl,decorators:[{type:f.Self},{type:f.Optional}]},{type:void 0,decorators:[{type:f.Attribute,args:["tabindex"]}]},{type:void 0,decorators:[{type:f.Inject,args:[Xi]}]}]},t.propDecorators={trigger:[{type:f.ViewChild,args:["trigger"]}],panel:[{type:f.ViewChild,args:["panel"]}],overlayDir:[{type:f.ViewChild,args:[a.CdkConnectedOverlay]}],options:[{type:f.ContentChildren,args:[zt,{descendants:!0}]}],optionGroups:[{type:f.ContentChildren,args:[Vt]}],panelClass:[{type:f.Input}],customTrigger:[{type:f.ContentChild,args:[ro]}],placeholder:[{type:f.Input}],required:[{type:f.Input}],multiple:[{type:f.Input}],compareWith:[{type:f.Input}],value:[{type:f.Input}],ariaLabel:[{type:f.Input,args:["aria-label"]}],ariaLabelledby:[{type:f.Input,args:["aria-labelledby"]}],errorStateMatcher:[{type:f.Input}],id:[{type:f.Input}],openedChange:[{type:f.Output}],_openedStream:[{type:f.Output,args:["opened"]}],_closedStream:[{type:f.Output,args:["closed"]}],onOpen:[{type:f.Output}],onClose:[{type:f.Output}],selectionChange:[{type:f.Output}],change:[{type:f.Output}],valueChange:[{type:f.Output}]},t}(no),oo=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,a.OverlayModule,qt,Z],exports:[pe,io,ro,qt,Z],declarations:[io,ro],providers:[Ji,_t]}]}],t.ctorParameters=function(){return[]},t}(),ao={tooltipState:w.trigger("state",[w.state("initial, void, hidden",w.style({transform:"scale(0)"})),w.state("visible",w.style({transform:"scale(1)"})),w.transition("* => visible",w.animate("150ms cubic-bezier(0.0, 0.0, 0.2, 1)")),w.transition("* => hidden",w.animate("150ms cubic-bezier(0.4, 0.0, 1, 1)"))])},so=20,lo="mat-tooltip-panel";function co(t){return Error('Tooltip position "'+t+'" is invalid.')}var uo=new f.InjectionToken("mat-tooltip-scroll-strategy");function po(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:so})}}var ho={provide:uo,deps:[a.Overlay],useFactory:po},fo=new f.InjectionToken("mat-tooltip-default-options"),mo=function(){function t(t,n,e,r,i,o,a,s,l,c,u){var p=this;this._overlay=t,this._elementRef=n,this._scrollDispatcher=e,this._viewContainerRef=r,this._ngZone=i,this._platform=o,this._ariaDescriber=a,this._focusMonitor=s,this._scrollStrategy=l,this._dir=c,this._defaultOptions=u,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions?this._defaultOptions.showDelay:0,this.hideDelay=this._defaultOptions?this._defaultOptions.hideDelay:0,this._message="",this._manualListeners=new Map;var d=n.nativeElement;o.IOS?"INPUT"!==d.nodeName&&"TEXTAREA"!==d.nodeName||(d.style.webkitUserSelect=d.style.userSelect=""):(this._manualListeners.set("mouseenter",function(){return p.show()}),this._manualListeners.set("mouseleave",function(){return p.hide()}),this._manualListeners.forEach(function(t,e){return n.nativeElement.addEventListener(e,t)})),s.monitor(d).subscribe(function(t){t?"program"!==t&&i.run(function(){return p.show()}):i.run(function(){return p.hide(0)})})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._tooltipInstance&&this._disposeTooltip())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_positionDeprecated",{get:function(){return this._position},set:function(t){this._position=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.message))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){var n=this;this._tooltipInstance&&this._disposeTooltip(),this._platform.IOS||(this._manualListeners.forEach(function(t,e){n._elementRef.nativeElement.removeEventListener(e,t)}),this._manualListeners.clear()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef.nativeElement)},t.prototype.show=function(t){void 0===t&&(t=this.showDelay),!this.disabled&&this.message&&(this._tooltipInstance||this._createTooltip(),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(this._position,t))},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===p.ESCAPE&&(t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions?this._defaultOptions.touchendHideDelay:1500)},t.prototype._createTooltip=function(){var t=this,e=this._createOverlay(),n=new l.ComponentPortal(go,this._viewContainerRef);this._tooltipInstance=e.attach(n).instance,x.merge(this._tooltipInstance.afterHidden(),e.detachments()).subscribe(function(){t._tooltipInstance&&t._disposeTooltip()})},t.prototype._createOverlay=function(){var e=this,t=this._getOrigin(),n=this._getOverlayPosition(),r=this._overlay.position().connectedTo(this._elementRef,t.main,n.main).withFallbackPosition(t.fallback,n.fallback),i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);r.withScrollableContainers(i),r.onPositionChange.subscribe(function(t){e._tooltipInstance&&(t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()?e._ngZone.run(function(){return e.hide(0)}):e._tooltipInstance._setTransformOrigin(t.connectionPair))});var o=new a.OverlayConfig({direction:this._dir?this._dir.value:"ltr",positionStrategy:r,panelClass:lo,scrollStrategy:this._scrollStrategy()});return this._overlayRef=this._overlay.create(o),this._overlayRef},t.prototype._disposeTooltip=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._tooltipInstance=null},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value;if("above"==this.position||"below"==this.position)t={originX:"center",originY:"above"==this.position?"top":"bottom"};else if("left"==this.position||"before"==this.position&&e||"after"==this.position&&!e)t={originX:"start",originY:"center"};else{if(!("right"==this.position||"after"==this.position&&e||"before"==this.position&&!e))throw co(this.position);t={originX:"end",originY:"center"}}var n=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:n.x,originY:n.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value;if("above"==this.position)t={overlayX:"center",overlayY:"bottom"};else if("below"==this.position)t={overlayX:"center",overlayY:"top"};else if("left"==this.position||"before"==this.position&&e||"after"==this.position&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("right"==this.position||"after"==this.position&&e||"before"==this.position&&!e))throw co(this.position);t={overlayX:"start",overlayY:"center"}}var n=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:n.x,overlayY:n.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(y.take(1)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t.decorators=[{type:f.Directive,args:[{selector:"[matTooltip]",exportAs:"matTooltip",host:{"(longpress)":"show()","(keydown)":"_handleKeydown($event)","(touchend)":"_handleTouchend()"}}]}],t.ctorParameters=function(){return[{type:a.Overlay},{type:f.ElementRef},{type:V.ScrollDispatcher},{type:f.ViewContainerRef},{type:f.NgZone},{type:u.Platform},{type:d.AriaDescriber},{type:d.FocusMonitor},{type:void 0,decorators:[{type:f.Inject,args:[uo]}]},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[fo]}]}]},t.propDecorators={position:[{type:f.Input,args:["matTooltipPosition"]}],disabled:[{type:f.Input,args:["matTooltipDisabled"]}],_positionDeprecated:[{type:f.Input,args:["tooltip-position"]}],showDelay:[{type:f.Input,args:["matTooltipShowDelay"]}],hideDelay:[{type:f.Input,args:["matTooltipHideDelay"]}],message:[{type:f.Input,args:["matTooltip"]}],tooltipClass:[{type:f.Input,args:["matTooltipClass"]}]},t}(),go=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._transformOrigin="bottom",this._onHide=new m.Subject,this._isHandset=this._breakpointObserver.observe(F.Breakpoints.Handset)}return t.prototype.show=function(t,e){var n=this;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._position=t,this._showTimeoutId=setTimeout(function(){n._visibility="visible",n._markForCheck()},e)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._markForCheck()},t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype._setTransformOrigin=function(t){var e="X"==("above"===this._position||"below"===this._position?"Y":"X")?t.overlayX:t.overlayY;if("top"===e||"bottom"===e)this._transformOrigin=e;else if("start"===e)this._transformOrigin="left";else{if("end"!==e)throw co(this._position);this._transformOrigin="right"}},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t.decorators=[{type:f.Component,args:[{selector:"mat-tooltip-component",template:'<div class="mat-tooltip" [ngClass]="tooltipClass" [class.mat-tooltip-handset]="(_isHandset | async)!.matches" [style.transform-origin]="_transformOrigin" [@state]="_visibility" (@state.start)="_animationStart()" (@state.done)="_animationDone($event)">{{message}}</div>',styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:2px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px}@media screen and (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,animations:[ao.tooltipState],host:{"[style.zoom]":'_visibility === "visible" ? 1 : null',"(body:click)":"this._handleBodyInteraction()","aria-hidden":"true"}}]}],t.ctorParameters=function(){return[{type:f.ChangeDetectorRef},{type:F.BreakpointObserver}]},t}(),yo={showDelay:0,hideDelay:0,touchendHideDelay:1500},vo=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,a.OverlayModule,Z,u.PlatformModule,d.A11yModule,F.LayoutModule],exports:[mo,go,Z],declarations:[mo,go],entryComponents:[go],providers:[ho,d.ARIA_DESCRIBER_PROVIDER,{provide:fo,useValue:yo}]}]}],t.ctorParameters=function(){return[]},t}(),bo=function(){function t(){this.changes=new m.Subject,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(t,e,n){if(0==n||0==e)return"0 of "+n;var r=t*e;return r+1+" - "+(r<(n=Math.max(n,0))?Math.min(r+e,n):r+e)+" of "+n}}return t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[]},t}();function _o(t){return t||new bo}var wo={provide:bo,deps:[[new f.Optional,new f.SkipSelf,bo]],useFactory:_o},Co=function(){},xo=function(){function t(t,e){var n=this;this._intl=t,this._changeDetectorRef=e,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new f.EventEmitter,this._intlChanges=t.changes.subscribe(function(){return n._changeDetectorRef.markForCheck()})}return Object.defineProperty(t.prototype,"pageIndex",{get:function(){return this._pageIndex},set:function(t){this._pageIndex=c.coerceNumberProperty(t),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._length},set:function(t){this._length=c.coerceNumberProperty(t),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageSize",{get:function(){return this._pageSize},set:function(t){this._pageSize=c.coerceNumberProperty(t),this._updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageSizeOptions",{get:function(){return this._pageSizeOptions},set:function(t){this._pageSizeOptions=(t||[]).map(function(t){return c.coerceNumberProperty(t)}),this._updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hidePageSize",{get:function(){return this._hidePageSize},set:function(t){this._hidePageSize=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"showFirstLastButtons",{get:function(){return this._showFirstLastButtons},set:function(t){this._showFirstLastButtons=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._initialized=!0,this._updateDisplayedPageSizeOptions()},t.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe()},t.prototype.nextPage=function(){this.hasNextPage()&&(this.pageIndex++,this._emitPageEvent())},t.prototype.previousPage=function(){this.hasPreviousPage()&&(this.pageIndex--,this._emitPageEvent())},t.prototype.firstPage=function(){this.hasPreviousPage()&&(this.pageIndex=0,this._emitPageEvent())},t.prototype.lastPage=function(){this.hasNextPage()&&(this.pageIndex=this.getNumberOfPages(),this._emitPageEvent())},t.prototype.hasPreviousPage=function(){return 1<=this.pageIndex&&0!=this.pageSize},t.prototype.hasNextPage=function(){var t=this.getNumberOfPages();return this.pageIndex<t&&0!=this.pageSize},t.prototype.getNumberOfPages=function(){return Math.ceil(this.length/this.pageSize)-1},t.prototype._changePageSize=function(t){var e=this.pageIndex*this.pageSize;this.pageIndex=Math.floor(e/t)||0,this.pageSize=t,this._emitPageEvent()},t.prototype._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1==this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort(function(t,e){return t-e}),this._changeDetectorRef.markForCheck())},t.prototype._emitPageEvent=function(){this.page.emit({pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})},t.decorators=[{type:f.Component,args:[{selector:"mat-paginator",exportAs:"matPaginator",template:'<div class="mat-paginator-container"><div class="mat-paginator-page-size" *ngIf="!hidePageSize"><div class="mat-paginator-page-size-label">{{_intl.itemsPerPageLabel}}</div><mat-form-field *ngIf="_displayedPageSizeOptions.length > 1" class="mat-paginator-page-size-select"><mat-select [value]="pageSize" [aria-label]="_intl.itemsPerPageLabel" (change)="_changePageSize($event.value)"><mat-option *ngFor="let pageSizeOption of _displayedPageSizeOptions" [value]="pageSizeOption">{{pageSizeOption}}</mat-option></mat-select></mat-form-field><div *ngIf="_displayedPageSizeOptions.length <= 1">{{pageSize}}</div></div><div class="mat-paginator-range-actions"><div class="mat-paginator-range-label">{{_intl.getRangeLabel(pageIndex, pageSize, length)}}</div><button mat-icon-button type="button" class="mat-paginator-navigation-first" (click)="firstPage()" [attr.aria-label]="_intl.firstPageLabel" [matTooltip]="_intl.firstPageLabel" [matTooltipPosition]="\'above\'" [disabled]="!hasPreviousPage()" *ngIf="showFirstLastButtons"><svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false"><path d="M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"/></svg></button> <button mat-icon-button type="button" class="mat-paginator-navigation-previous" (click)="previousPage()" [attr.aria-label]="_intl.previousPageLabel" [matTooltip]="_intl.previousPageLabel" [matTooltipPosition]="\'above\'" [disabled]="!hasPreviousPage()"><svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg></button> <button mat-icon-button type="button" class="mat-paginator-navigation-next" (click)="nextPage()" [attr.aria-label]="_intl.nextPageLabel" [matTooltip]="_intl.nextPageLabel" [matTooltipPosition]="\'above\'" [disabled]="!hasNextPage()"><svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg></button> <button mat-icon-button type="button" class="mat-paginator-navigation-last" (click)="lastPage()" [attr.aria-label]="_intl.lastPageLabel" [matTooltip]="_intl.lastPageLabel" [matTooltipPosition]="\'above\'" [disabled]="!hasNextPage()" *ngIf="showFirstLastButtons"><svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false"><path d="M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"/></svg></button></div></div>',styles:[".mat-paginator{display:block}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center;min-height:48px}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}"],host:{class:"mat-paginator"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:bo},{type:f.ChangeDetectorRef}]},t.propDecorators={pageIndex:[{type:f.Input}],length:[{type:f.Input}],pageSize:[{type:f.Input}],pageSizeOptions:[{type:f.Input}],hidePageSize:[{type:f.Input}],showFirstLastButtons:[{type:f.Input}],page:[{type:f.Output}]},t}(),So=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,Me,oo,vo],exports:[xo],declarations:[xo],providers:[wo]}]}],t.ctorParameters=function(){return[]},t}(),Eo=function(t){this._elementRef=t},ko=tt(Eo,"primary"),Oo=0,Po=function(n){function t(t){var e=n.call(this,t)||this;return e._elementRef=t,e._value=0,e._bufferValue=0,e.mode="determinate",e.progressbarId="mat-progress-bar-"+Oo++,e}return Y(t,n),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=Ao(t||0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(t){this._bufferValue=Ao(t||0)},enumerable:!0,configurable:!0}),t.prototype._primaryTransform=function(){return{transform:"scaleX("+this.value/100+")"}},t.prototype._bufferTransform=function(){if("buffer"===this.mode)return{transform:"scaleX("+this.bufferValue/100+")"}},t.decorators=[{type:f.Component,args:[{selector:"mat-progress-bar",exportAs:"matProgressBar",host:{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","[attr.aria-valuenow]":"value","[attr.mode]":"mode",class:"mat-progress-bar"},inputs:["color"],template:'<svg width="100%" height="5" focusable="false" class="mat-progress-bar-background mat-progress-bar-element"><defs><pattern [id]="progressbarId" x="5" y="0" width="10" height="5" patternUnits="userSpaceOnUse"><circle cx="2.5" cy="2.5" r="2.5"/></pattern></defs><rect [attr.fill]="\'url(#\' + progressbarId + \')\'" width="100%" height="100%"/></svg><div class="mat-progress-bar-buffer mat-progress-bar-element" [ngStyle]="_bufferTransform()"></div><div class="mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element" [ngStyle]="_primaryTransform()"></div><div class="mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element"></div>',styles:[".mat-progress-bar{display:block;height:5px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-10px)}}"],changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ElementRef}]},t.propDecorators={value:[{type:f.Input}],bufferValue:[{type:f.Input}],mode:[{type:f.Input}]},t}(ko);function Ao(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=100),Math.max(e,Math.min(n,t))}var Do=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,Z],exports:[Po,Z],declarations:[Po]}]}],t.ctorParameters=function(){return[]},t}(),To=100,Mo=function(t){this._elementRef=t},Io=tt(Mo,"primary"),Ro=function(o){function e(t,e,n){var r=o.call(this,t)||this;r._elementRef=t,r._document=n,r._value=0,r._fallbackAnimation=!1,r._elementSize=To,r._diameter=To,r.mode="determinate",r._fallbackAnimation=e.EDGE||e.TRIDENT;var i="mat-progress-spinner-indeterminate"+(r._fallbackAnimation?"-fallback":"")+"-animation";return t.nativeElement.classList.add(i),r}return Y(e,o),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(t){this._diameter=c.coerceNumberProperty(t),this._fallbackAnimation||e.diameters.has(this._diameter)||this._attachStyleNode(),this._updateElementSize()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=c.coerceNumberProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,c.coerceNumberProperty(t)))},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.strokeWidth||t.diameter)&&this._updateElementSize()},Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var t=2*this._circleRadius+this.strokeWidth;return"0 0 "+t+" "+t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this._elementSize*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var t=e.styleTag;t||(t=this._document.createElement("style"),this._document.head.appendChild(t),e.styleTag=t),t&&t.sheet&&t.sheet.insertRule(this._getAnimationText(),0),e.diameters.add(this.diameter)},e.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},e.prototype._updateElementSize=function(){this._elementSize=this._diameter+Math.max(this.strokeWidth-10,0)},e.diameters=new Set([To]),e.styleTag=null,e.decorators=[{type:f.Component,args:[{selector:"mat-progress-spinner",exportAs:"matProgressSpinner",host:{role:"progressbar",class:"mat-progress-spinner","[style.width.px]":"_elementSize","[style.height.px]":"_elementSize","[attr.aria-valuemin]":'mode === "determinate" ? 0 : null',"[attr.aria-valuemax]":'mode === "determinate" ? 100 : null',"[attr.aria-valuenow]":"value","[attr.mode]":"mode"},inputs:["color"],template:'<svg [style.width.px]="_elementSize" [style.height.px]="_elementSize" [attr.viewBox]="_viewBox" preserveAspectRatio="xMidYMid meet" focusable="false"><circle cx="50%" cy="50%" [attr.r]="_circleRadius" [style.animation-name]="\'mat-progress-spinner-stroke-rotate-\' + diameter" [style.stroke-dashoffset.px]="_strokeDashOffset" [style.stroke-dasharray.px]="_strokeCircumference" [style.stroke-width.%]="_circleStrokeWidth"></circle></svg>',styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],e.ctorParameters=function(){return[{type:f.ElementRef},{type:u.Platform},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[n.DOCUMENT]}]}]},e.propDecorators={diameter:[{type:f.Input}],strokeWidth:[{type:f.Input}],mode:[{type:f.Input}],value:[{type:f.Input}]},e}(Io),No=function(i){function t(t,e,n){var r=i.call(this,t,e,n)||this;return r.mode="indeterminate",r}return Y(t,i),t.decorators=[{type:f.Component,args:[{selector:"mat-spinner",host:{role:"progressbar",mode:"indeterminate",class:"mat-spinner mat-progress-spinner","[style.width.px]":"_elementSize","[style.height.px]":"_elementSize"},inputs:["color"],template:'<svg [style.width.px]="_elementSize" [style.height.px]="_elementSize" [attr.viewBox]="_viewBox" preserveAspectRatio="xMidYMid meet" focusable="false"><circle cx="50%" cy="50%" [attr.r]="_circleRadius" [style.animation-name]="\'mat-progress-spinner-stroke-rotate-\' + diameter" [style.stroke-dashoffset.px]="_strokeDashOffset" [style.stroke-dasharray.px]="_strokeCircumference" [style.stroke-width.%]="_circleStrokeWidth"></circle></svg>',styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:u.Platform},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[n.DOCUMENT]}]}]},t}(Ro),Lo=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z,u.PlatformModule],exports:[Ro,No,Z],declarations:[Ro,No]}]}],t.ctorParameters=function(){return[]},t}(),jo=0,Fo={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return Ho}),multi:!0},Vo=function(t,e){this.source=t,this.value=e},Bo=function(){},Uo=J(Bo),Ho=function(n){function t(t){var e=n.call(this)||this;return e._changeDetector=t,e._value=null,e._name="mat-radio-group-"+jo++,e._selected=null,e._isInitialized=!1,e._labelPosition="after",e._disabled=!1,e._required=!1,e._controlValueAccessorChangeFn=function(){},e.onTouched=function(){},e.change=new f.EventEmitter,e}return Y(t,n),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"align",{get:function(){return"after"==this.labelPosition?"start":"end"},set:function(t){this.labelPosition="start"==t?"after":"before"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(t){this._labelPosition="before"==t?"before":"after",this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),t.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=t,this.value=t?t.value:null,this._checkSelectedRadioButton()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=c.coerceBooleanProperty(t),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._isInitialized=!0},t.prototype._touch=function(){this.onTouched&&this.onTouched()},t.prototype._updateRadioButtonNames=function(){var e=this;this._radios&&this._radios.forEach(function(t){t.name=e.name})},t.prototype._updateSelectedRadioFromValue=function(){var e=this,t=null!=this._selected&&this._selected.value==this._value;null==this._radios||t||(this._selected=null,this._radios.forEach(function(t){t.checked=e.value==t.value,t.checked&&(e._selected=t)}))},t.prototype._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new Vo(this._selected,this._value))},t.prototype._markRadiosForCheck=function(){this._radios&&this._radios.forEach(function(t){return t._markForCheck()})},t.prototype.writeValue=function(t){this.value=t,this._changeDetector.markForCheck()},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetector.markForCheck()},t.decorators=[{type:f.Directive,args:[{selector:"mat-radio-group",exportAs:"matRadioGroup",providers:[Fo],host:{role:"radiogroup",class:"mat-radio-group"},inputs:["disabled"]}]}],t.ctorParameters=function(){return[{type:f.ChangeDetectorRef}]},t.propDecorators={change:[{type:f.Output}],_radios:[{type:f.ContentChildren,args:[f.forwardRef(function(){return Wo}),{descendants:!0}]}],name:[{type:f.Input}],align:[{type:f.Input}],labelPosition:[{type:f.Input}],value:[{type:f.Input}],selected:[{type:f.Input}],disabled:[{type:f.Input}],required:[{type:f.Input}]},t}(Uo),zo=function(t){this._elementRef=t},Go=tt(et(nt(zo)),"accent"),Wo=function(a){function t(t,e,n,r,i){var o=a.call(this,e)||this;return o._changeDetector=n,o._focusMonitor=r,o._radioDispatcher=i,o._uniqueId="mat-radio-"+ ++jo,o.id=o._uniqueId,o.change=new f.EventEmitter,o._checked=!1,o._value=null,o._removeUniqueSelectionListener=function(){},o.radioGroup=t,o._removeUniqueSelectionListener=i.listen(function(t,e){t!=o.id&&e==o.name&&(o.checked=!1)}),o}return Y(t,a),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){var e=c.coerceBooleanProperty(t);this._checked!=e&&((this._checked=e)&&this.radioGroup&&this.radioGroup.value!=this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value==this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value!=t&&(this._value=t,null!=this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value==t),this.checked&&(this.radioGroup.selected=this)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"align",{get:function(){return"after"==this.labelPosition?"start":"end"},set:function(t){this.labelPosition="start"==t?"after":"before"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"labelPosition",{get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(t){this._labelPosition=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled||null!=this.radioGroup&&this.radioGroup.disabled},set:function(t){this._disabled=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(t){this._required=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},t.prototype._markForCheck=function(){this._changeDetector.markForCheck()},t.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},t.prototype.ngAfterViewInit=function(){var e=this;this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe(function(t){return e._onInputFocusChange(t)})},t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement),this._removeUniqueSelectionListener()},t.prototype._emitChangeEvent=function(){this.change.emit(new Vo(this,this._value))},t.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},t.prototype._onInputClick=function(t){t.stopPropagation()},t.prototype._onInputChange=function(t){t.stopPropagation();var e=this.radioGroup&&this.value!=this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),this.radioGroup._touch(),e&&this.radioGroup._emitChangeEvent())},t.prototype._onInputFocusChange=function(t){this._focusRipple||"keyboard"!==t?t||(this.radioGroup&&this.radioGroup._touch(),this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null)):this._focusRipple=this._ripple.launch(0,0,{persistent:!0})},t.decorators=[{type:f.Component,args:[{selector:"mat-radio-button",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]="23" [matRippleAnimation]="{enterDuration: 150}"></div></div><input #input class="mat-radio-input cdk-visually-hidden" type="radio" [id]="inputId" [checked]="checked" [disabled]="disabled" [tabIndex]="tabIndex" [attr.name]="name" [required]="required" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby" [attr.aria-describedby]="ariaDescribedby" (change)="_onInputChange($event)" (click)="_onInputClick($event)"><div class="mat-radio-label-content" [class.mat-radio-label-before]="labelPosition == \'before\'"><span style="display:none"> </span><ng-content></ng-content></div></label>',styles:[".mat-radio-button{display:inline-block}.mat-radio-label{cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}.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-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-radio-checked .mat-radio-inner-circle{transform:scale(.5)}.mat-radio-label-content{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-ripple{position:absolute;left:calc(50% - 25px);top:calc(50% - 25px);height:50px;width:50px;z-index:1;pointer-events:none}"],inputs:["color","disableRipple","tabIndex"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,exportAs:"matRadioButton",host:{class:"mat-radio-button","[class.mat-radio-checked]":"checked","[class.mat-radio-disabled]":"disabled","[attr.id]":"id","(focus)":"_inputElement.nativeElement.focus()"},changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:Ho,decorators:[{type:f.Optional}]},{type:f.ElementRef},{type:f.ChangeDetectorRef},{type:d.FocusMonitor},{type:E.UniqueSelectionDispatcher}]},t.propDecorators={id:[{type:f.Input}],name:[{type:f.Input}],ariaLabel:[{type:f.Input,args:["aria-label"]}],ariaLabelledby:[{type:f.Input,args:["aria-labelledby"]}],ariaDescribedby:[{type:f.Input,args:["aria-describedby"]}],checked:[{type:f.Input}],value:[{type:f.Input}],align:[{type:f.Input}],labelPosition:[{type:f.Input}],disabled:[{type:f.Input}],required:[{type:f.Input}],change:[{type:f.Output}],_ripple:[{type:f.ViewChild,args:[Mt]}],_inputElement:[{type:f.ViewChild,args:["input"]}]},t}(Go),qo=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,It,Z,d.A11yModule],exports:[Ho,Wo,Z],providers:[E.UNIQUE_SELECTION_DISPATCHER_PROVIDER],declarations:[Ho,Wo]}]}],t.ctorParameters=function(){return[]},t}(),Yo={transformDrawer:w.trigger("transform",[w.state("open, open-instant",w.style({transform:"translate3d(0, 0, 0)",visibility:"visible"})),w.state("void",w.style({visibility:"hidden"})),w.transition("void => open-instant",w.animate("0ms")),w.transition("void <=> open, open-instant => void",w.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function $o(t){throw Error("A drawer was already declared for 'position=\""+t+"\"'")}var Ko=function(t,e){this.type=t,this.animationFinished=e},Qo=new f.InjectionToken("MAT_DRAWER_DEFAULT_AUTOSIZE"),Xo=function(){function t(t,e){this._changeDetectorRef=t,this._container=e,this._margins={left:null,right:null}}return t.prototype.ngAfterContentInit=function(){var e=this;this._container._contentMargins.subscribe(function(t){e._margins=t,e._changeDetectorRef.markForCheck()})},t.decorators=[{type:f.Component,args:[{selector:"mat-drawer-content",template:"<ng-content></ng-content>",host:{class:"mat-drawer-content","[style.margin-left.px]":"_margins.left","[style.margin-right.px]":"_margins.right"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ChangeDetectorRef},{type:Jo,decorators:[{type:f.Inject,args:[f.forwardRef(function(){return Jo})]}]}]},t}(),Zo=function(){function t(t,e,n,r,i,o){var a=this;this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=r,this._ngZone=i,this._doc=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._animationStarted=new f.EventEmitter,this._animationState="void",this.openedChange=new f.EventEmitter(!0),this.onOpen=this._openedStream,this.onClose=this._closedStream,this.onPositionChanged=new f.EventEmitter,this.onAlignChanged=new f.EventEmitter,this._modeChanged=new m.Subject,this._opened=!1,this.openedChange.subscribe(function(t){t?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._isFocusTrapEnabled&&a._focusTrap&&a._trapFocus()):a._restoreFocus()}),this._ngZone.runOutsideAngular(function(){h.fromEvent(a._elementRef.nativeElement,"keydown").pipe(g.filter(function(t){return t.keyCode===p.ESCAPE&&!a.disableClose})).subscribe(function(t){return a._ngZone.run(function(){a.close(),t.stopPropagation()})})})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onAlignChanged.emit(),this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"align",{get:function(){return this.position},set:function(t){this.position=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableClose",{get:function(){return this._disableClose},set:function(t){this._disableClose=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(g.filter(function(t){return t}),I.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(g.filter(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),I.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(g.filter(function(t){return!t}),I.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(g.filter(function(t){return t.fromState!==t.toState&&"void"===t.toState}),I.map(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),t.prototype._trapFocus=function(){var e=this;this._focusTrap.focusInitialElementWhenReady().then(function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()})},t.prototype._restoreFocus=function(){var t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null},t.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._focusTrap.enabled=this._isFocusTrapEnabled},t.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},t.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy()},Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){this.toggle(c.coerceBooleanProperty(t))},enumerable:!0,configurable:!0}),t.prototype.open=function(t){return this.toggle(!0,t)},t.prototype.close=function(){return this.toggle(!1)},t.prototype.toggle=function(t,e){var n=this;return void 0===t&&(t=!this.opened),void 0===e&&(e="program"),(this._opened=t)?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled),new Promise(function(e){n.openedChange.pipe(y.take(1)).subscribe(function(t){e(new Ko(t?"open":"close",!0))})})},t.prototype._onAnimationStart=function(t){this._animationStarted.emit(t)},t.prototype._onAnimationEnd=function(t){var e=t.fromState,n=t.toState;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)},Object.defineProperty(t.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),t.decorators=[{type:f.Component,args:[{selector:"mat-drawer",exportAs:"matDrawer",template:"<ng-content></ng-content>",animations:[Yo.transformDrawer],host:{class:"mat-drawer","[@transform]":"_animationState","(@transform.start)":"_onAnimationStart($event)","(@transform.done)":"_onAnimationEnd($event)","[attr.align]":"null","[class.mat-drawer-end]":'position === "end"',"[class.mat-drawer-over]":'mode === "over"',"[class.mat-drawer-push]":'mode === "push"',"[class.mat-drawer-side]":'mode === "side"',tabIndex:"-1"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:d.FocusTrapFactory},{type:d.FocusMonitor},{type:u.Platform},{type:f.NgZone},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[n.DOCUMENT]}]}]},t.propDecorators={position:[{type:f.Input}],align:[{type:f.Input}],mode:[{type:f.Input}],disableClose:[{type:f.Input}],openedChange:[{type:f.Output}],_openedStream:[{type:f.Output,args:["opened"]}],openedStart:[{type:f.Output}],_closedStream:[{type:f.Output,args:["closed"]}],closedStart:[{type:f.Output}],onOpen:[{type:f.Output,args:["open"]}],onClose:[{type:f.Output,args:["close"]}],onPositionChanged:[{type:f.Output,args:["positionChanged"]}],onAlignChanged:[{type:f.Output,args:["align-changed"]}],opened:[{type:f.Input}]},t}(),Jo=function(){function t(t,e,n,r,i){void 0===i&&(i=!1);var o=this;this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=r,this.backdropClick=new f.EventEmitter,this._destroyed=new m.Subject,this._doCheckSubject=new m.Subject,this._contentMargins=new m.Subject,t&&t.change.pipe(A.takeUntil(this._destroyed)).subscribe(function(){o._validateDrawers(),o._updateContentMargins()}),this._autosize=i}return Object.defineProperty(t.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autosize",{get:function(){return this._autosize},set:function(t){this._autosize=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;this._drawers.changes.pipe(_.startWith(null)).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)}),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(B.debounceTime(10),A.takeUntil(this._destroyed)).subscribe(function(){return e._updateContentMargins()})},t.prototype.ngOnDestroy=function(){this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},t.prototype.open=function(){this._drawers.forEach(function(t){return t.open()})},t.prototype.close=function(){this._drawers.forEach(function(t){return t.close()})},t.prototype.ngDoCheck=function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})},t.prototype._watchDrawerToggle=function(t){var e=this;t._animationStarted.pipe(A.takeUntil(this._drawers.changes),g.filter(function(t){return t.fromState!==t.toState})).subscribe(function(t){"open-instant"!==t.toState&&e._element.nativeElement.classList.add("mat-drawer-transition"),e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(A.takeUntil(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})},t.prototype._watchDrawerPosition=function(t){var e=this;t&&t.onPositionChanged.pipe(A.takeUntil(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.asObservable().pipe(y.take(1)).subscribe(function(){e._validateDrawers()})})},t.prototype._watchDrawerMode=function(t){var e=this;t&&t._modeChanged.pipe(A.takeUntil(x.merge(this._drawers.changes,this._destroyed))).subscribe(function(){e._updateContentMargins(),e._changeDetectorRef.markForCheck()})},t.prototype._setContainerClass=function(t){t?this._element.nativeElement.classList.add("mat-drawer-opened"):this._element.nativeElement.classList.remove("mat-drawer-opened")},t.prototype._validateDrawers=function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?(null!=e._end&&$o("end"),e._end=t):(null!=e._start&&$o("start"),e._start=t)}),this._right=this._left=null,this._dir&&"ltr"!=this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)},t.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},t.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},t.prototype._closeModalDrawer=function(){[this._start,this._end].filter(function(t){return t&&!t.disableClose&&"side"!==t.mode}).forEach(function(t){return t.close()})},t.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&"side"!=this._start.mode||this._isDrawerOpen(this._end)&&"side"!=this._end.mode},t.prototype._isDrawerOpen=function(t){return null!=t&&t.opened},t.prototype._updateContentMargins=function(){var t=this,e=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)e+=this._left._width;else if("push"==this._left.mode){var r=this._left._width;e+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){r=this._right._width;n+=r,e-=r}this._ngZone.run(function(){return t._contentMargins.next({left:e,right:n})})},t.decorators=[{type:f.Component,args:[{selector:"mat-drawer-container",exportAs:"matDrawerContainer",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" [class.mat-drawer-shown]="_isShowingBackdrop()"></div><ng-content select="mat-drawer"></ng-content><ng-content select="mat-drawer-content"></ng-content><mat-drawer-content *ngIf="!_content" cdkScrollable><ng-content></ng-content></mat-drawer-content>',styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-fixed{position:fixed}"],host:{class:"mat-drawer-container"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:s.Directionality,decorators:[{type:f.Optional}]},{type:f.ElementRef},{type:f.NgZone},{type:f.ChangeDetectorRef},{type:void 0,decorators:[{type:f.Inject,args:[Qo]}]}]},t.propDecorators={_drawers:[{type:f.ContentChildren,args:[Zo]}],_content:[{type:f.ContentChild,args:[Xo]}],autosize:[{type:f.Input}],backdropClick:[{type:f.Output}],scrollable:[{type:f.ViewChild,args:[V.CdkScrollable]}]},t}(),ta=function(n){function t(t,e){return n.call(this,t,e)||this}return Y(t,n),t.decorators=[{type:f.Component,args:[{selector:"mat-sidenav-content",template:"<ng-content></ng-content>",host:{class:"mat-drawer-content mat-sidenav-content","[style.margin-left.px]":"_margins.left","[style.margin-right.px]":"_margins.right"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ChangeDetectorRef},{type:na,decorators:[{type:f.Inject,args:[f.forwardRef(function(){return na})]}]}]},t}(Xo),ea=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}return Y(t,e),Object.defineProperty(t.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=c.coerceNumberProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=c.coerceNumberProperty(t)},enumerable:!0,configurable:!0}),t.decorators=[{type:f.Component,args:[{selector:"mat-sidenav",exportAs:"matSidenav",template:"<ng-content></ng-content>",animations:[Yo.transformDrawer],host:{class:"mat-drawer mat-sidenav",tabIndex:"-1","[@transform]":"_animationState","(@transform.start)":"_onAnimationStart($event)","(@transform.done)":"_onAnimationEnd($event)","[attr.align]":"null","[class.mat-drawer-end]":'position === "end"',"[class.mat-drawer-over]":'mode === "over"',"[class.mat-drawer-push]":'mode === "push"',"[class.mat-drawer-side]":'mode === "side"',"[class.mat-sidenav-fixed]":"fixedInViewport","[style.top.px]":"fixedInViewport ? fixedTopGap : null","[style.bottom.px]":"fixedInViewport ? fixedBottomGap : null"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[]},t.propDecorators={fixedInViewport:[{type:f.Input}],fixedTopGap:[{type:f.Input}],fixedBottomGap:[{type:f.Input}]},t}(Zo),na=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Component,args:[{selector:"mat-sidenav-container",exportAs:"matSidenavContainer",template:'<div class="mat-drawer-backdrop" (click)="_onBackdropClicked()" [class.mat-drawer-shown]="_isShowingBackdrop()"></div><ng-content select="mat-sidenav"></ng-content><ng-content select="mat-sidenav-content"></ng-content><mat-sidenav-content *ngIf="!_content" cdkScrollable><ng-content></ng-content></mat-sidenav-content>',styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-fixed{position:fixed}"],host:{class:"mat-drawer-container mat-sidenav-container"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],e.ctorParameters=function(){return[]},e.propDecorators={_drawers:[{type:f.ContentChildren,args:[ea]}],_content:[{type:f.ContentChild,args:[ta]}]},e}(Jo),ra=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,Z,d.A11yModule,a.OverlayModule,V.ScrollDispatchModule,u.PlatformModule],exports:[Z,Zo,Jo,Xo,ea,na,ta],declarations:[Zo,Jo,Xo,ea,na,ta],providers:[{provide:Qo,useValue:!1}]}]}],t.ctorParameters=function(){return[]},t}(),ia=0,oa={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return ca}),multi:!0},aa=function(t,e){this.source=t,this.checked=e},sa=function(t){this._elementRef=t},la=nt(tt(et(J(sa)),"accent")),ca=function(a){function t(t,e,n,r,i){var o=a.call(this,t)||this;return o._platform=e,o._focusMonitor=n,o._changeDetectorRef=r,o.onChange=function(t){},o.onTouched=function(){},o._uniqueId="mat-slide-toggle-"+ ++ia,o._required=!1,o._checked=!1,o.name=null,o.id=o._uniqueId,o.labelPosition="after",o.ariaLabel=null,o.ariaLabelledby=null,o.change=new f.EventEmitter,o.tabIndex=parseInt(i)||0,o}return Y(t,a),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=c.coerceBooleanProperty(t),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;this._slideRenderer=new ua(this._elementRef,this._platform),this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe(function(t){return e._onInputFocusChange(t)})},t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement)},t.prototype._onChangeEvent=function(t){t.stopPropagation(),this._slideRenderer.dragging?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},t.prototype._onInputClick=function(t){t.stopPropagation()},t.prototype.writeValue=function(t){this.checked=!!t},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck()},t.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},t.prototype.toggle=function(){this.checked=!this.checked},t.prototype._onInputFocusChange=function(t){this._focusRipple||"keyboard"!==t?t||(this.onTouched(),this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null)):this._focusRipple=this._ripple.launch(0,0,{persistent:!0})},t.prototype._emitChangeEvent=function(){this.onChange(this.checked),this.change.emit(new aa(this,this.checked))},t.prototype._onDragStart=function(){this.disabled||this._slideRenderer.startThumbDrag(this.checked)},t.prototype._onDrag=function(t){this._slideRenderer.dragging&&this._slideRenderer.updateThumbPosition(t.deltaX)},t.prototype._onDragEnd=function(){var t=this;if(this._slideRenderer.dragging){var e=50<this._slideRenderer.dragPercentage;e!==this.checked&&(this.checked=e,this._emitChangeEvent()),setTimeout(function(){return t._slideRenderer.stopThumbDrag()})}},t.prototype._onLabelTextChange=function(){this._changeDetectorRef.markForCheck()},t.decorators=[{type:f.Component,args:[{selector:"mat-slide-toggle",exportAs:"matSlideToggle",host:{class:"mat-slide-toggle","[id]":"id","[class.mat-checked]":"checked","[class.mat-disabled]":"disabled","[class.mat-slide-toggle-label-before]":'labelPosition == "before"'},template:'<label class="mat-slide-toggle-label" #label><div class="mat-slide-toggle-bar" [class.mat-slide-toggle-bar-no-side-margin]="!labelContent.textContent || !labelContent.textContent.trim()"><input #input class="mat-slide-toggle-input cdk-visually-hidden" type="checkbox" [id]="inputId" [required]="required" [tabIndex]="tabIndex" [checked]="checked" [disabled]="disabled" [attr.name]="name" [attr.aria-label]="ariaLabel" [attr.aria-labelledby]="ariaLabelledby" (change)="_onChangeEvent($event)" (click)="_onInputClick($event)"><div class="mat-slide-toggle-thumb-container" (slidestart)="_onDragStart()" (slide)="_onDrag($event)" (slideend)="_onDragEnd()"><div class="mat-slide-toggle-thumb"></div><div class="mat-slide-toggle-ripple" mat-ripple [matRippleTrigger]="label" [matRippleDisabled]="disableRipple || disabled" [matRippleCentered]="true" [matRippleRadius]="23" [matRippleAnimation]="{enterDuration: 150}"></div></div></div><span class="mat-slide-toggle-content" #labelContent (cdkObserveContent)="_onLabelTextChange()"><ng-content></ng-content></span></label>',styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging,.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing;transition-duration:0s}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:solid 1px #000}}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-bar{background:#fff}}.mat-slide-toggle-input{bottom:0;left:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}.mat-slide-toggle-ripple{position:absolute;top:calc(50% - 23px);left:calc(50% - 23px);height:46px;width:46px;z-index:1;pointer-events:none}"],providers:[oa],inputs:["disabled","disableRipple","color","tabIndex"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:u.Platform},{type:d.FocusMonitor},{type:f.ChangeDetectorRef},{type:void 0,decorators:[{type:f.Attribute,args:["tabindex"]}]}]},t.propDecorators={name:[{type:f.Input}],id:[{type:f.Input}],labelPosition:[{type:f.Input}],ariaLabel:[{type:f.Input,args:["aria-label"]}],ariaLabelledby:[{type:f.Input,args:["aria-labelledby"]}],required:[{type:f.Input}],checked:[{type:f.Input}],change:[{type:f.Output}],_inputElement:[{type:f.ViewChild,args:["input"]}],_ripple:[{type:f.ViewChild,args:[Mt]}]},t}(la),ua=function(){function t(t,e){this.dragging=!1,e.isBrowser&&(this._thumbEl=t.nativeElement.querySelector(".mat-slide-toggle-thumb-container"),this._thumbBarEl=t.nativeElement.querySelector(".mat-slide-toggle-bar"))}return t.prototype.startThumbDrag=function(t){this.dragging||(this._thumbBarWidth=this._thumbBarEl.clientWidth-this._thumbEl.clientWidth,this._thumbEl.classList.add("mat-dragging"),this._previousChecked=t,this.dragging=!0)},t.prototype.stopThumbDrag=function(){return!!this.dragging&&(this.dragging=!1,this._thumbEl.classList.remove("mat-dragging"),this._thumbEl.style.transform="",50<this.dragPercentage)},t.prototype.updateThumbPosition=function(t){this.dragPercentage=this._getDragPercentage(t);var e=this.dragPercentage/100*this._thumbBarWidth;this._thumbEl.style.transform="translate3d("+e+"px, 0, 0)"},t.prototype._getDragPercentage=function(t){var e=t/this._thumbBarWidth*100;return this._previousChecked&&(e+=100),Math.max(0,Math.min(e,100))},t}(),pa=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[It,Z,u.PlatformModule,k.ObserversModule,d.A11yModule],exports:[ca,Z],declarations:[ca],providers:[{provide:e.HAMMER_GESTURE_CONFIG,useClass:Ct}]}]}],t.ctorParameters=function(){return[]},t}(),da={provide:b.NG_VALUE_ACCESSOR,useExisting:f.forwardRef(function(){return ga}),multi:!0},ha=function(){},fa=function(t){this._elementRef=t},ma=nt(tt(J(fa),"accent")),ga=function(a){function t(t,e,n,r,i){var o=a.call(this,t)||this;return o._focusMonitor=e,o._changeDetectorRef=n,o._dir=r,o._invert=!1,o._max=100,o._min=0,o._step=1,o._thumbLabel=!1,o._tickInterval=0,o._value=null,o._vertical=!1,o.change=new f.EventEmitter,o.input=new f.EventEmitter,o.onTouched=function(){},o._percent=0,o._isSliding=!1,o._isActive=!1,o._tickIntervalPercent=0,o._sliderDimensions=null,o._controlValueAccessorChangeFn=function(){},o._dirChangeSubscription=O.Subscription.EMPTY,o.tabIndex=parseInt(i)||0,o}return Y(t,a),Object.defineProperty(t.prototype,"invert",{get:function(){return this._invert},set:function(t){this._invert=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(t){this._max=c.coerceNumberProperty(t,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this._min},set:function(t){this._min=c.coerceNumberProperty(t,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"step",{get:function(){return this._step},set:function(t){this._step=c.coerceNumberProperty(t,this._step),this._step%1!=0&&(this._roundLabelTo=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"thumbLabel",{get:function(){return this._thumbLabel},set:function(t){this._thumbLabel=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_thumbLabelDeprecated",{get:function(){return this._thumbLabel},set:function(t){this._thumbLabel=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tickInterval",{get:function(){return this._tickInterval},set:function(t){this._tickInterval="auto"===t?"auto":"number"==typeof t||"string"==typeof t?c.coerceNumberProperty(t,this._tickInterval):0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_tickIntervalDeprecated",{get:function(){return this.tickInterval},set:function(t){this.tickInterval=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(t){t!==this._value&&(this._value=c.coerceNumberProperty(t),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayValue",{get:function(){return this._roundLabelTo&&this.value&&this.value%1!=0?this.value.toFixed(this._roundLabelTo):this.value||0},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._focusHostElement()},t.prototype.blur=function(){this._blurHostElement()},Object.defineProperty(t.prototype,"percent",{get:function(){return this._clamp(this._percent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_invertAxis",{get:function(){return this.vertical?!this.invert:this.invert},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isMinValue",{get:function(){return 0===this.percent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_thumbGap",{get:function(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_trackBackgroundStyles",{get:function(){var t=this.vertical?"Y":"X";return{transform:"translate"+t+"("+(this._invertMouseCoords?"-":"")+this._thumbGap+"px) scale"+t+"("+(1-this.percent)+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_trackFillStyles",{get:function(){var t=this.vertical?"Y":"X";return{transform:"translate"+t+"("+(this._invertMouseCoords?"":"-")+this._thumbGap+"px) scale"+t+"("+this.percent+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ticksContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._direction?"-":"")+this._tickIntervalPercent/2*100+"%)"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ticksStyles",{get:function(){var t=100*this._tickIntervalPercent,e={backgroundSize:this.vertical?"2px "+t+"%":t+"% 2px",transform:"translateZ(0) translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._direction?"":"-")+t/2+"%)"+(this.vertical||"rtl"!=this._direction?"":" rotate(180deg)")};this._isMinValue&&this._thumbGap&&(e["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px");return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_thumbContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"(-"+100*(("rtl"!=this._direction||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)+"%)"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_invertMouseCoords",{get:function(){return"rtl"!=this._direction||this.vertical?this._invertAxis:!this._invertAxis},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_direction",{get:function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._focusMonitor.monitor(this._elementRef.nativeElement,!0).subscribe(function(t){e._isActive=!!t&&"keyboard"!==t,e._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(function(){e._changeDetectorRef.markForCheck()}))},t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef.nativeElement),this._dirChangeSubscription.unsubscribe()},t.prototype._onMouseenter=function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())},t.prototype._onClick=function(t){if(!this.disabled){var e=this.value;this._isSliding=!1,this._focusHostElement(),this._updateValueFromPosition({x:t.clientX,y:t.clientY}),e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent())}},t.prototype._onSlide=function(t){if(!this.disabled){this._isSliding||this._onSlideStart(null),t.preventDefault();var e=this.value;this._updateValueFromPosition({x:t.center.x,y:t.center.y}),e!=this.value&&this._emitInputEvent()}},t.prototype._onSlideStart=function(t){this.disabled||this._isSliding||(this._onMouseenter(),this._isSliding=!0,this._focusHostElement(),this._valueOnSlideStart=this.value,t&&(this._updateValueFromPosition({x:t.center.x,y:t.center.y}),t.preventDefault()))},t.prototype._onSlideEnd=function(){this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||this._emitChangeEvent(),this._valueOnSlideStart=null},t.prototype._onFocus=function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()},t.prototype._onBlur=function(){this.onTouched()},t.prototype._onKeydown=function(t){if(!this.disabled){var e=this.value;switch(t.keyCode){case p.PAGE_UP:this._increment(10);break;case p.PAGE_DOWN:this._increment(-10);break;case p.END:this.value=this.max;break;case p.HOME:this.value=this.min;break;case p.LEFT_ARROW:this._increment("rtl"==this._direction?1:-1);break;case p.UP_ARROW:this._increment(1);break;case p.RIGHT_ARROW:this._increment("rtl"==this._direction?-1:1);break;case p.DOWN_ARROW:this._increment(-1);break;default:return}e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,t.preventDefault()}},t.prototype._onKeyup=function(){this._isSliding=!1},t.prototype._increment=function(t){this.value=this._clamp((this.value||0)+this.step*t,this.min,this.max)},t.prototype._updateValueFromPosition=function(t){if(this._sliderDimensions){var e=this.vertical?this._sliderDimensions.top:this._sliderDimensions.left,n=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,r=this.vertical?t.y:t.x,i=this._clamp((r-e)/n);this._invertMouseCoords&&(i=1-i);var o=this._calculateValue(i),a=Math.round((o-this.min)/this.step)*this.step+this.min;this.value=this._clamp(a,this.min,this.max)}},t.prototype._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.value),this.change.emit(this._createChangeEvent())},t.prototype._emitInputEvent=function(){this.input.emit(this._createChangeEvent())},t.prototype._updateTickIntervalPercent=function(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){var t=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,e=t*this.step/(this.max-this.min),n=Math.ceil(30/e)*this.step;this._tickIntervalPercent=n/t}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)},t.prototype._createChangeEvent=function(t){void 0===t&&(t=this.value);var e=new ha;return e.source=this,e.value=t,e},t.prototype._calculatePercentage=function(t){return((t||0)-this.min)/(this.max-this.min)},t.prototype._calculateValue=function(t){return this.min+t*(this.max-this.min)},t.prototype._clamp=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=1),Math.max(e,Math.min(t,n))},t.prototype._getSliderDimensions=function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null},t.prototype._focusHostElement=function(){this._elementRef.nativeElement.focus()},t.prototype._blurHostElement=function(){this._elementRef.nativeElement.blur()},t.prototype.writeValue=function(t){this.value=t},t.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.decorators=[{type:f.Component,args:[{selector:"mat-slider",exportAs:"matSlider",providers:[da],host:{"(focus)":"_onFocus()","(blur)":"_onBlur()","(click)":"_onClick($event)","(keydown)":"_onKeydown($event)","(keyup)":"_onKeyup()","(mouseenter)":"_onMouseenter()","(slide)":"_onSlide($event)","(slideend)":"_onSlideEnd()","(slidestart)":"_onSlideStart($event)",class:"mat-slider",role:"slider","[tabIndex]":"tabIndex","[attr.aria-disabled]":"disabled","[attr.aria-valuemax]":"max","[attr.aria-valuemin]":"min","[attr.aria-valuenow]":"value","[attr.aria-orientation]":'vertical ? "vertical" : "horizontal"',"[class.mat-slider-disabled]":"disabled","[class.mat-slider-has-ticks]":"tickInterval","[class.mat-slider-horizontal]":"!vertical","[class.mat-slider-axis-inverted]":"_invertAxis","[class.mat-slider-sliding]":"_isSliding","[class.mat-slider-thumb-label-showing]":"thumbLabel","[class.mat-slider-vertical]":"vertical","[class.mat-slider-min-value]":"_isMinValue","[class.mat-slider-hide-last-tick]":"disabled || _isMinValue && _thumbGap && _invertAxis"},template:'<div class="mat-slider-wrapper" #sliderWrapper><div class="mat-slider-track-wrapper"><div class="mat-slider-track-background" [ngStyle]="_trackBackgroundStyles"></div><div class="mat-slider-track-fill" [ngStyle]="_trackFillStyles"></div></div><div class="mat-slider-ticks-container" [ngStyle]="_ticksContainerStyles"><div class="mat-slider-ticks" [ngStyle]="_ticksStyles"></div></div><div class="mat-slider-thumb-container" [ngStyle]="_thumbContainerStyles"><div class="mat-slider-focus-ring"></div><div class="mat-slider-thumb"></div><div class="mat-slider-thumb-label"><span class="mat-slider-thumb-label-text">{{displayValue}}</span></div></div></div>',styles:[".mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:0;vertical-align:middle}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),opacity .4s cubic-bezier(.25,.8,.25,1)}.cdk-keyboard-focused .mat-slider-focus-ring,.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb-label{cursor:-webkit-grab;cursor:grab}.mat-slider-sliding:not(.mat-slider-disabled) .mat-slider-thumb,.mat-slider-sliding:not(.mat-slider-disabled) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb-label:active,.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb:active{cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(.7);transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),border-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform .4s cubic-bezier(.25,.8,.25,1),border-radius .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-sliding .mat-slider-thumb-container,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-track-fill{transition-duration:0s}.mat-slider-has-ticks .mat-slider-wrapper::after{content:'';position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}@media screen and (-ms-high-contrast:active){.mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}@media screen and (-ms-high-contrast:active){.mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}"],inputs:["disabled","color","tabIndex"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:d.FocusMonitor},{type:f.ChangeDetectorRef},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:void 0,decorators:[{type:f.Attribute,args:["tabindex"]}]}]},t.propDecorators={invert:[{type:f.Input}],max:[{type:f.Input}],min:[{type:f.Input}],step:[{type:f.Input}],thumbLabel:[{type:f.Input}],_thumbLabelDeprecated:[{type:f.Input,args:["thumb-label"]}],tickInterval:[{type:f.Input}],_tickIntervalDeprecated:[{type:f.Input,args:["tick-interval"]}],value:[{type:f.Input}],vertical:[{type:f.Input}],change:[{type:f.Output}],input:[{type:f.Output}],_sliderWrapper:[{type:f.ViewChild,args:["sliderWrapper"]}]},t}(ma),ya=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,Z,s.BidiModule,d.A11yModule],exports:[ga,Z],declarations:[ga],providers:[{provide:e.HAMMER_GESTURE_CONFIG,useClass:Ct}]}]}],t.ctorParameters=function(){return[]},t}(),va=function(){function t(t,e){var n=this;this._overlayRef=e,this._afterDismissed=new m.Subject,this._afterOpened=new m.Subject,this._onAction=new m.Subject,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(function(){return n.dismiss()}),t._onExit.subscribe(function(){return n._finishDismiss()})}return t.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},t.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},t.prototype.closeWithAction=function(){this.dismissWithAction()},t.prototype._dismissAfter=function(t){var e=this;this._durationTimeoutId=setTimeout(function(){return e.dismiss()},t)},t.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},t.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},t.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},t.prototype.afterOpened=function(){return this.containerInstance._onEnter},t.prototype.onAction=function(){return this._onAction.asObservable()},t}(),ba=new f.InjectionToken("MatSnackBarData"),_a=function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.direction="ltr",this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},wa=Q.ENTERING+" "+K.DECELERATION_CURVE,Ca=Q.EXITING+" "+K.ACCELERATION_CURVE,xa={contentFade:w.trigger("contentFade",[w.transition(":enter",[w.style({opacity:"0"}),w.animate(Q.COMPLEX+" "+K.STANDARD_CURVE)])]),snackBarState:w.trigger("state",[w.state("visible-top, visible-bottom",w.style({transform:"translateY(0%)"})),w.transition("visible-top => hidden-top, visible-bottom => hidden-bottom",w.animate(Ca)),w.transition("void => visible-top, void => visible-bottom",w.animate(wa))])},Sa=function(){function t(t,e){this.snackBarRef=t,this.data=e}return t.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(t.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),t.decorators=[{type:f.Component,args:[{selector:"simple-snack-bar",template:'{{data.message}} <button class="mat-simple-snackbar-action" *ngIf="hasAction" (click)="action()">{{data.action}}</button>',styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;line-height:20px;opacity:1}.mat-simple-snackbar-action{-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;background:0 0;flex-shrink:0;margin-left:48px}[dir=rtl] .mat-simple-snackbar-action{margin-right:48px;margin-left:0}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,animations:[xa.contentFade],host:{"[@contentFade]":"",class:"mat-simple-snackbar"}}]}],t.ctorParameters=function(){return[{type:va},{type:void 0,decorators:[{type:f.Inject,args:[ba]}]}]},t}(),Ea=function(i){function t(t,e,n){var r=i.call(this)||this;return r._ngZone=t,r._elementRef=e,r._changeDetectorRef=n,r._destroyed=!1,r._onExit=new m.Subject,r._onEnter=new m.Subject,r._animationState="void",r}return Y(t,i),t.prototype.attachComponentPortal=function(t){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached");var e=this._elementRef.nativeElement;return(this.snackBarConfig.panelClass||this.snackBarConfig.extraClasses)&&(this._setCssClasses(this.snackBarConfig.panelClass),this._setCssClasses(this.snackBarConfig.extraClasses)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top"),this._portalOutlet.attachComponentPortal(t)},t.prototype.attachTemplatePortal=function(){throw Error("Not yet implemented")},t.prototype.onAnimationEnd=function(t){var e=t.fromState,n=t.toState;if(("void"===n&&"void"!==e||n.startsWith("hidden"))&&this._completeExit(),n.startsWith("visible")){var r=this._onEnter;this._ngZone.run(function(){r.next(),r.complete()})}},t.prototype.enter=function(){this._destroyed||(this._animationState="visible-"+this.snackBarConfig.verticalPosition,this._changeDetectorRef.detectChanges())},t.prototype.exit=function(){return this._animationState="hidden-"+this.snackBarConfig.verticalPosition,this._onExit},t.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},t.prototype._completeExit=function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(y.take(1)).subscribe(function(){t._onExit.next(),t._onExit.complete()})},t.prototype._setCssClasses=function(t){if(t){var e=this._elementRef.nativeElement;Array.isArray(t)?t.forEach(function(t){return e.classList.add(t)}):e.classList.add(t)}},t.decorators=[{type:f.Component,args:[{selector:"snack-bar-container",template:"<ng-template cdkPortalOutlet></ng-template>",styles:[".mat-snack-bar-container{border-radius:2px;box-sizing:border-box;display:block;margin:24px;max-width:568px;min-width:288px;padding:14px 24px;transform:translateY(100%) translateY(24px)}.mat-snack-bar-container.mat-snack-bar-center{margin:0;transform:translateY(100%)}.mat-snack-bar-container.mat-snack-bar-top{transform:translateY(-100%) translateY(-24px)}.mat-snack-bar-container.mat-snack-bar-top.mat-snack-bar-center{transform:translateY(-100%)}@media screen and (-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:0;max-width:inherit;width:100%}"],changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,animations:[xa.snackBarState],host:{role:"alert",class:"mat-snack-bar-container","[@state]":"_animationState","(@state.done)":"onAnimationEnd($event)"}}]}],t.ctorParameters=function(){return[{type:f.NgZone},{type:f.ElementRef},{type:f.ChangeDetectorRef}]},t.propDecorators={_portalOutlet:[{type:f.ViewChild,args:[l.CdkPortalOutlet]}]},t}(l.BasePortalOutlet),ka=function(){function t(t,e,n,r,i){this._overlay=t,this._live=e,this._injector=n,this._breakpointObserver=r,this._parentSnackBar=i,this._snackBarRefAtThisLevel=null}return Object.defineProperty(t.prototype,"_openedSnackBarRef",{get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t},enumerable:!0,configurable:!0}),t.prototype.openFromComponent=function(t,e){var n=this,r=Oa(e),i=this._attach(t,r);return i.afterDismissed().subscribe(function(){n._openedSnackBarRef==i&&(n._openedSnackBarRef=null)}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter(),r.duration&&0<r.duration&&i.afterOpened().subscribe(function(){return i._dismissAfter(r.duration)}),r.announcementMessage&&this._live.announce(r.announcementMessage,r.politeness),this._openedSnackBarRef=i,this._openedSnackBarRef},t.prototype.open=function(t,e,n){void 0===e&&(e="");var r=Oa(n);return r.data={message:t,action:e},r.announcementMessage=t,this.openFromComponent(Sa,r)},t.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},t.prototype._attachSnackBarContainer=function(t,e){var n=new l.ComponentPortal(Ea,e.viewContainerRef),r=t.attach(n);return r.instance.snackBarConfig=e,r.instance},t.prototype._attach=function(t,e){var n=this._createOverlay(e),r=this._attachSnackBarContainer(n,e),i=new va(r,n),o=this._createInjector(e,i),a=new l.ComponentPortal(t,void 0,o),s=r.attachComponentPortal(a);return i.instance=s.instance,this._breakpointObserver.observe(F.Breakpoints.Handset).pipe(A.takeUntil(n.detachments().pipe(y.take(1)))).subscribe(function(t){t.matches?n.overlayElement.classList.add("mat-snack-bar-handset"):n.overlayElement.classList.remove("mat-snack-bar-handset")}),i},t.prototype._createOverlay=function(t){var e=new a.OverlayConfig;e.direction=t.direction;var n=this._overlay.position().global(),r="rtl"===t.direction,i="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!i&&"center"!==t.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)},t.prototype._createInjector=function(t,e){var n=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=new WeakMap;return r.set(va,e),r.set(ba,t.data),new l.PortalInjector(n||this._injector,r)},t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[{type:a.Overlay},{type:d.LiveAnnouncer},{type:f.Injector},{type:F.BreakpointObserver},{type:t,decorators:[{type:f.Optional},{type:f.SkipSelf}]}]},t}();function Oa(t){return $({},new _a,t)}var Pa=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[a.OverlayModule,l.PortalModule,n.CommonModule,Z,F.LayoutModule],exports:[Ea,Z],declarations:[Ea,Sa],entryComponents:[Ea,Sa],providers:[ka,d.LIVE_ANNOUNCER_PROVIDER]}]}],t.ctorParameters=function(){return[]},t}();var Aa=function(){},Da=J(Aa),Ta=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sortables=new Map,t._stateChanges=new m.Subject,t.start="asc",t._direction="",t.sortChange=new f.EventEmitter,t}return Y(t,e),Object.defineProperty(t.prototype,"direction",{get:function(){return this._direction},set:function(t){if(f.isDevMode()&&t&&"asc"!==t&&"desc"!==t)throw Error(t+" is not a valid sort direction ('asc' or 'desc').");this._direction=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableClear",{get:function(){return this._disableClear},set:function(t){this._disableClear=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.register=function(t){if(!t.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(t.id))throw e=t.id,Error("Cannot have two MatSortables with the same id ("+e+").");var e;this.sortables.set(t.id,t)},t.prototype.deregister=function(t){this.sortables.delete(t.id)},t.prototype.sort=function(t){this.active!=t.id?(this.active=t.id,this.direction=t.start?t.start:this.start):this.direction=this.getNextSortDirection(t),this.sortChange.emit({active:this.active,direction:this.direction})},t.prototype.getNextSortDirection=function(t){if(!t)return"";var e=null!=t.disableClear?t.disableClear:this.disableClear,n=function(t,e){var n=["asc","desc"];"desc"==t&&n.reverse();e||n.push("");return n}(t.start||this.start,e),r=n.indexOf(this.direction)+1;return r>=n.length&&(r=0),n[r]},t.prototype.ngOnChanges=function(){this._stateChanges.next()},t.prototype.ngOnDestroy=function(){this._stateChanges.complete()},t.decorators=[{type:f.Directive,args:[{selector:"[matSort]",exportAs:"matSort",inputs:["disabled: matSortDisabled"]}]}],t.ctorParameters=function(){return[]},t.propDecorators={active:[{type:f.Input,args:["matSortActive"]}],start:[{type:f.Input,args:["matSortStart"]}],direction:[{type:f.Input,args:["matSortDirection"]}],disableClear:[{type:f.Input,args:["matSortDisableClear"]}],sortChange:[{type:f.Output,args:["matSortChange"]}]},t}(Da);var Ma=function(){function t(){this.changes=new m.Subject,this.sortButtonLabel=function(t){return"Change sorting for "+t},this.sortDescriptionLabel=function(t,e){return"Sorted by "+t+" "+("asc"==e?"ascending":"descending")}}return t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[]},t}();function Ia(t){return t||new Ma}var Ra={provide:Ma,deps:[[new f.Optional,new f.SkipSelf,Ma]],useFactory:Ia},Na=Q.ENTERING+" "+K.STANDARD_CURVE,La={indicator:w.trigger("indicator",[w.state("active-asc, asc",w.style({transform:"translateY(0px)"})),w.state("active-desc, desc",w.style({transform:"translateY(10px)"})),w.transition("active-asc <=> active-desc",w.animate(Na))]),leftPointer:w.trigger("leftPointer",[w.state("active-asc, asc",w.style({transform:"rotate(-45deg)"})),w.state("active-desc, desc",w.style({transform:"rotate(45deg)"})),w.transition("active-asc <=> active-desc",w.animate(Na))]),rightPointer:w.trigger("rightPointer",[w.state("active-asc, asc",w.style({transform:"rotate(45deg)"})),w.state("active-desc, desc",w.style({transform:"rotate(-45deg)"})),w.transition("active-asc <=> active-desc",w.animate(Na))]),arrowOpacity:w.trigger("arrowOpacity",[w.state("desc-to-active, asc-to-active, active",w.style({opacity:1})),w.state("desc-to-hint, asc-to-hint, hint",w.style({opacity:.54})),w.state("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc",w.style({opacity:0})),w.transition("* => asc, * => desc, * => active, * => hint",w.animate("0ms")),w.transition("* <=> *",w.animate(Na))]),arrowPosition:w.trigger("arrowPosition",[w.transition("* => desc-to-hint, * => desc-to-active",w.animate(Na,w.keyframes([w.style({transform:"translateY(-25%)"}),w.style({transform:"translateY(0)"})]))),w.transition("* => hint-to-desc, * => active-to-desc",w.animate(Na,w.keyframes([w.style({transform:"translateY(0)"}),w.style({transform:"translateY(25%)"})]))),w.transition("* => asc-to-hint, * => asc-to-active",w.animate(Na,w.keyframes([w.style({transform:"translateY(25%)"}),w.style({transform:"translateY(0)"})]))),w.transition("* => hint-to-asc, * => active-to-asc",w.animate(Na,w.keyframes([w.style({transform:"translateY(0)"}),w.style({transform:"translateY(-25%)"})]))),w.state("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",w.style({transform:"translateY(0)"})),w.state("hint-to-desc, active-to-desc, desc",w.style({transform:"translateY(-25%)"})),w.state("hint-to-asc, active-to-asc, asc",w.style({transform:"translateY(25%)"}))]),allowChildren:w.trigger("allowChildren",[w.transition("* <=> *",[w.query("@*",w.animateChild(),{optional:!0})])])},ja=function(){},Fa=J(ja),Va=function(o){function t(t,e,n,r){var i=o.call(this)||this;if(i._intl=t,i._sort=n,i._cdkColumnDef=r,i._showIndicatorHint=!1,i._arrowDirection="",i._disableViewStateAnimation=!1,i.arrowPosition="after",!n)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return i._rerenderSubscription=x.merge(n.sortChange,n._stateChanges,t.changes).subscribe(function(){i._isSorted()&&i._updateArrowDirection(),!i._isSorted()&&i._viewState&&"active"===i._viewState.toState&&(i._disableViewStateAnimation=!1,i._setAnimationTransitionState({fromState:"active",toState:i._arrowDirection})),e.markForCheck()}),i}return Y(t,o),Object.defineProperty(t.prototype,"disableClear",{get:function(){return this._disableClear},set:function(t){this._disableClear=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){!this.id&&this._cdkColumnDef&&(this.id=this._cdkColumnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)},t.prototype.ngOnDestroy=function(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()},t.prototype._setIndicatorHintVisible=function(t){this._isDisabled()&&t||(this._showIndicatorHint=t,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))},t.prototype._setAnimationTransitionState=function(t){this._viewState=t,this._disableViewStateAnimation&&(this._viewState={toState:t.toState})},t.prototype._handleClick=function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var t=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(t),this._showIndicatorHint=!1}},t.prototype._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)},t.prototype._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection},t.prototype._getArrowViewState=function(){var t=this._viewState.fromState;return(t?t+"-to-":"")+this._viewState.toState},t.prototype._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start},t.prototype._isDisabled=function(){return this._sort.disabled||this.disabled},t.decorators=[{type:f.Component,args:[{selector:"[mat-sort-header]",exportAs:"matSortHeader",template:'<div class="mat-sort-header-container" [class.mat-sort-header-sorted]="_isSorted()" [class.mat-sort-header-position-before]="arrowPosition == \'before\'"><button class="mat-sort-header-button" type="button" [attr.disabled]="_isDisabled() || null" [attr.aria-label]="_intl.sortButtonLabel(id)" (focus)="_setIndicatorHintVisible(true)" (blur)="_setIndicatorHintVisible(false)"><ng-content></ng-content></button><div class="mat-sort-header-arrow" [@arrowOpacity]="_getArrowViewState()" [@arrowPosition]="_getArrowViewState()" [@allowChildren]="_getArrowDirectionState()" (@arrowPosition.start)="_disableViewStateAnimation = true" (@arrowPosition.done)="_disableViewStateAnimation = false"><div class="mat-sort-header-stem"></div><div class="mat-sort-header-indicator" [@indicator]="_getArrowDirectionState()"><div class="mat-sort-header-pointer-left" [@leftPointer]="_getArrowDirectionState()"></div><div class="mat-sort-header-pointer-right" [@rightPointer]="_getArrowDirectionState()"></div><div class="mat-sort-header-pointer-middle"></div></div></div></div><span class="cdk-visually-hidden" *ngIf="_isSorted()"> {{_intl.sortDescriptionLabel(id, _sort.direction)}}</span>',styles:[".mat-sort-header-container{display:flex;cursor:pointer}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;margin:0 0 0 6px;position:relative;display:flex}.mat-sort-header-position-before .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],host:{"(click)":"_handleClick()","(mouseenter)":"_setIndicatorHintVisible(true)","(longpress)":"_setIndicatorHintVisible(true)","(mouseleave)":"_setIndicatorHintVisible(false)","[class.mat-sort-header-disabled]":"_isDisabled()"},encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,inputs:["disabled"],animations:[La.indicator,La.leftPointer,La.rightPointer,La.arrowOpacity,La.arrowPosition,La.allowChildren]}]}],t.ctorParameters=function(){return[{type:Ma},{type:f.ChangeDetectorRef},{type:Ta,decorators:[{type:f.Optional}]},{type:U.CdkColumnDef,decorators:[{type:f.Optional}]}]},t.propDecorators={id:[{type:f.Input,args:["mat-sort-header"]}],arrowPosition:[{type:f.Input}],start:[{type:f.Input}],disableClear:[{type:f.Input}]},t}(Fa),Ba=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule],exports:[Ta,Va],declarations:[Ta,Va],providers:[Ra]}]}],t.ctorParameters=function(){return[]},t}(),Ua=function(e){function t(t){return e.call(this,t)||this}return Y(t,e),t.decorators=[{type:f.Directive,args:[{selector:"[matStepLabel]"}]}],t.ctorParameters=function(){return[{type:f.TemplateRef}]},t}(H.CdkStepLabel),Ha=function(){function t(){this.changes=new m.Subject,this.optionalLabel="Optional"}return t.decorators=[{type:f.Injectable}],t.ctorParameters=function(){return[]},t}(),za=function(){function t(t,e,n,r){this._intl=t,this._focusMonitor=e,this._element=n,e.monitor(n.nativeElement,!0),this._intlSubscription=t.changes.subscribe(function(){return r.markForCheck()})}return Object.defineProperty(t.prototype,"index",{get:function(){return this._index},set:function(t){this._index=c.coerceNumberProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(t){this._selected=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._active},set:function(t){this._active=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"optional",{get:function(){return this._optional},set:function(t){this._optional=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element.nativeElement)},t.prototype._stringLabel=function(){return this.label instanceof Ua?null:this.label},t.prototype._templateLabel=function(){return this.label instanceof Ua?this.label:null},t.prototype._getHostElement=function(){return this._element.nativeElement},t.decorators=[{type:f.Component,args:[{selector:"mat-step-header",template:'<div class="mat-step-header-ripple" mat-ripple [matRippleTrigger]="_getHostElement()"></div><div [class.mat-step-icon]="state !== \'number\' || selected" [class.mat-step-icon-not-touched]="state == \'number\' && !selected" [ngSwitch]="state"><span *ngSwitchCase="\'number\'">{{index + 1}}</span><ng-container *ngSwitchCase="\'edit\'" [ngSwitch]="!!(iconOverrides && iconOverrides.edit)"><ng-container *ngSwitchCase="true" [ngTemplateOutlet]="iconOverrides.edit"></ng-container><mat-icon *ngSwitchDefault>create</mat-icon></ng-container><ng-container *ngSwitchCase="\'done\'" [ngSwitch]="!!(iconOverrides && iconOverrides.done)"><ng-container *ngSwitchCase="true" [ngTemplateOutlet]="iconOverrides.done"></ng-container><mat-icon *ngSwitchDefault>done</mat-icon></ng-container></div><div class="mat-step-label" [class.mat-step-label-active]="active" [class.mat-step-label-selected]="selected"><ng-container *ngIf="_templateLabel()" [ngTemplateOutlet]="_templateLabel()!.template"></ng-container><div class="mat-step-text-label" *ngIf="_stringLabel()">{{label}}</div><div class="mat-step-optional" *ngIf="optional">{{_intl.optionalLabel}}</div></div>',styles:[".mat-step-header{overflow:hidden;outline:0;cursor:pointer;position:relative;box-sizing:content-box}.mat-step-optional{font-size:12px}.mat-step-icon,.mat-step-icon-not-touched{border-radius:50%;height:24px;width:24px;align-items:center;justify-content:center;display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],host:{class:"mat-step-header",role:"tab"},encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:Ha},{type:d.FocusMonitor},{type:f.ElementRef},{type:f.ChangeDetectorRef}]},t.propDecorators={state:[{type:f.Input}],label:[{type:f.Input}],iconOverrides:[{type:f.Input}],index:[{type:f.Input}],selected:[{type:f.Input}],active:[{type:f.Input}],optional:[{type:f.Input}]},t}(),Ga={horizontalStepTransition:w.trigger("stepTransition",[w.state("previous",w.style({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),w.state("current",w.style({transform:"none",visibility:"visible"})),w.state("next",w.style({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),w.transition("* => *",w.animate("500ms cubic-bezier(0.35, 0, 0.25, 1)"))]),verticalStepTransition:w.trigger("stepTransition",[w.state("previous",w.style({height:"0px",visibility:"hidden"})),w.state("next",w.style({height:"0px",visibility:"hidden"})),w.state("current",w.style({height:"*",visibility:"visible"})),w.transition("* <=> current",w.animate("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])},Wa=function(){function t(t){this.templateRef=t}return t.decorators=[{type:f.Directive,args:[{selector:"ng-template[matStepperIcon]"}]}],t.ctorParameters=function(){return[{type:f.TemplateRef}]},t.propDecorators={name:[{type:f.Input,args:["matStepperIcon"]}]},t}(),qa=H.CdkStep,Ya=H.CdkStepper,$a=function(r){function t(t,e){var n=r.call(this,t)||this;return n._errorStateMatcher=e,n}return Y(t,r),t.prototype.isErrorState=function(t,e){var n=this._errorStateMatcher.isErrorState(t,e),r=!!(t&&t.invalid&&this.interacted);return n||r},t.decorators=[{type:f.Component,args:[{selector:"mat-step",template:"<ng-template><ng-content></ng-content></ng-template>",providers:[{provide:_t,useExisting:t}],encapsulation:f.ViewEncapsulation.None,exportAs:"matStep",preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:Ka,decorators:[{type:f.Inject,args:[f.forwardRef(function(){return Ka})]}]},{type:_t,decorators:[{type:f.SkipSelf}]}]},t.propDecorators={stepLabel:[{type:f.ContentChild,args:[Ua]}]},t}(H.CdkStep),Ka=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._iconOverrides={},t}return Y(t,e),t.prototype.ngAfterContentInit=function(){var t=this,e=this._icons.toArray(),n=e.find(function(t){return"edit"===t.name}),r=e.find(function(t){return"done"===t.name});n&&(this._iconOverrides.edit=n.templateRef),r&&(this._iconOverrides.done=r.templateRef),this._steps.changes.pipe(A.takeUntil(this._destroyed)).subscribe(function(){return t._stateChanged()})},t.decorators=[{type:f.Directive,args:[{selector:"[matStepper]"}]}],t.ctorParameters=function(){return[]},t.propDecorators={_stepHeader:[{type:f.ViewChildren,args:[za,{read:f.ElementRef}]}],_steps:[{type:f.ContentChildren,args:[$a]}],_icons:[{type:f.ContentChildren,args:[Wa]}]},t}(H.CdkStepper),Qa=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Component,args:[{selector:"mat-horizontal-stepper",exportAs:"matHorizontalStepper",template:'<div class="mat-horizontal-stepper-header-container"><ng-container *ngFor="let step of _steps; let i = index; let isLast = last"><mat-step-header class="mat-horizontal-stepper-header" (click)="step.select()" (keydown)="_onKeydown($event)" [tabIndex]="_focusIndex === i ? 0 : -1" [id]="_getStepLabelId(i)" [attr.aria-controls]="_getStepContentId(i)" [attr.aria-selected]="selectedIndex == i" [index]="i" [state]="_getIndicatorType(i)" [label]="step.stepLabel || step.label" [selected]="selectedIndex === i" [active]="step.completed || selectedIndex === i || !linear" [optional]="step.optional" [iconOverrides]="_iconOverrides"></mat-step-header><div *ngIf="!isLast" class="mat-stepper-horizontal-line"></div></ng-container></div><div class="mat-horizontal-content-container"><div *ngFor="let step of _steps; let i = index" class="mat-horizontal-stepper-content" role="tabpanel" [@stepTransition]="_getAnimationDirection(i)" [id]="_getStepContentId(i)" [attr.aria-labelledby]="_getStepLabelId(i)" [attr.aria-expanded]="selectedIndex === i"><ng-container [ngTemplateOutlet]="step.content"></ng-container></div></div>',styles:[".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon,.mat-horizontal-stepper-header .mat-step-icon-not-touched{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon,[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon-not-touched{margin-right:0;margin-left:8px}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;max-height:24px}.mat-vertical-stepper-header .mat-step-icon,.mat-vertical-stepper-header .mat-step-icon-not-touched{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon,[dir=rtl] .mat-vertical-stepper-header .mat-step-icon-not-touched{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{overflow:hidden}.mat-horizontal-stepper-content[aria-expanded=false]{height:0}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}"],inputs:["selectedIndex"],host:{class:"mat-stepper-horizontal","aria-orientation":"horizontal",role:"tablist"},animations:[Ga.horizontalStepTransition],providers:[{provide:Ka,useExisting:e}],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e}(Ka),Xa=function(r){function t(t,e){var n=r.call(this,t,e)||this;return n._orientation="vertical",n}return Y(t,r),t.decorators=[{type:f.Component,args:[{selector:"mat-vertical-stepper",exportAs:"matVerticalStepper",template:'<div class="mat-step" *ngFor="let step of _steps; let i = index; let isLast = last"><mat-step-header class="mat-vertical-stepper-header" (click)="step.select()" (keydown)="_onKeydown($event)" [tabIndex]="_focusIndex == i ? 0 : -1" [id]="_getStepLabelId(i)" [attr.aria-controls]="_getStepContentId(i)" [attr.aria-selected]="selectedIndex === i" [index]="i" [state]="_getIndicatorType(i)" [label]="step.stepLabel || step.label" [selected]="selectedIndex === i" [active]="step.completed || selectedIndex === i || !linear" [optional]="step.optional" [iconOverrides]="_iconOverrides"></mat-step-header><div class="mat-vertical-content-container" [class.mat-stepper-vertical-line]="!isLast"><div class="mat-vertical-stepper-content" role="tabpanel" [@stepTransition]="_getAnimationDirection(i)" [id]="_getStepContentId(i)" [attr.aria-labelledby]="_getStepLabelId(i)" [attr.aria-expanded]="selectedIndex === i"><div class="mat-vertical-content"><ng-container [ngTemplateOutlet]="step.content"></ng-container></div></div></div></div>',styles:[".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon,.mat-horizontal-stepper-header .mat-step-icon-not-touched{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon,[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon-not-touched{margin-right:0;margin-left:8px}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;max-height:24px}.mat-vertical-stepper-header .mat-step-icon,.mat-vertical-stepper-header .mat-step-icon-not-touched{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon,[dir=rtl] .mat-vertical-stepper-header .mat-step-icon-not-touched{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content{overflow:hidden}.mat-horizontal-stepper-content[aria-expanded=false]{height:0}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}"],inputs:["selectedIndex"],host:{class:"mat-stepper-vertical","aria-orientation":"vertical",role:"tablist"},animations:[Ga.verticalStepTransition],providers:[{provide:Ka,useExisting:t}],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:s.Directionality,decorators:[{type:f.Optional}]},{type:f.ChangeDetectorRef}]},t}(Ka),Za=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"button[matStepperNext]",host:{"(click)":"_stepper.next()","[type]":"type"},inputs:["type"],providers:[{provide:H.CdkStepper,useExisting:Ka}]}]}],e.ctorParameters=function(){return[]},e}(H.CdkStepperNext),Ja=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"button[matStepperPrevious]",host:{"(click)":"_stepper.previous()","[type]":"type"},inputs:["type"],providers:[{provide:H.CdkStepper,useExisting:Ka}]}]}],e.ctorParameters=function(){return[]},e}(H.CdkStepperPrevious),ts=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z,n.CommonModule,l.PortalModule,Me,H.CdkStepperModule,pi,d.A11yModule,It],exports:[Z,Qa,Xa,$a,Ua,Ka,Za,Ja,za,Wa],declarations:[Qa,Xa,$a,Ua,Ka,Za,Ja,za,Wa],providers:[Ha,_t]}]}],t.ctorParameters=function(){return[]},t}(),es=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Component,args:[{selector:"mat-table",exportAs:"matTable",template:U.CDK_TABLE_TEMPLATE,styles:[".mat-table{display:block}.mat-header-row{min-height:56px}.mat-row{min-height:48px}.mat-header-row,.mat-row{display:flex;border-bottom-width:1px;border-bottom-style:solid;align-items:center;padding:0 24px;box-sizing:border-box}.mat-header-row::after,.mat-row::after{display:inline-block;min-height:inherit;content:''}.mat-cell,.mat-header-cell{flex:1;overflow:hidden;word-wrap:break-word}"],host:{class:"mat-table"},encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],e.ctorParameters=function(){return[]},e}(U.CdkTable),ns=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"[matCellDef]",providers:[{provide:U.CdkCellDef,useExisting:e}]}]}],e.ctorParameters=function(){return[]},e}(U.CdkCellDef),rs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"[matHeaderCellDef]",providers:[{provide:U.CdkHeaderCellDef,useExisting:e}]}]}],e.ctorParameters=function(){return[]},e}(U.CdkHeaderCellDef),is=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"[matColumnDef]",providers:[{provide:U.CdkColumnDef,useExisting:e}]}]}],e.ctorParameters=function(){return[]},e.propDecorators={name:[{type:f.Input,args:["matColumnDef"]}]},e}(U.CdkColumnDef),os=function(r){function t(t,e){var n=r.call(this,t,e)||this;return e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName),n}return Y(t,r),t.decorators=[{type:f.Directive,args:[{selector:"mat-header-cell",host:{class:"mat-header-cell",role:"columnheader"}}]}],t.ctorParameters=function(){return[{type:U.CdkColumnDef},{type:f.ElementRef}]},t}(U.CdkHeaderCell),as=function(r){function t(t,e){var n=r.call(this,t,e)||this;return e.nativeElement.classList.add("mat-column-"+t.cssClassFriendlyName),n}return Y(t,r),t.decorators=[{type:f.Directive,args:[{selector:"mat-cell",host:{class:"mat-cell",role:"gridcell"}}]}],t.ctorParameters=function(){return[{type:U.CdkColumnDef},{type:f.ElementRef}]},t}(U.CdkCell),ss=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"[matHeaderRowDef]",providers:[{provide:U.CdkHeaderRowDef,useExisting:e}],inputs:["columns: matHeaderRowDef"]}]}],e.ctorParameters=function(){return[]},e}(U.CdkHeaderRowDef),ls=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Directive,args:[{selector:"[matRowDef]",providers:[{provide:U.CdkRowDef,useExisting:e}],inputs:["columns: matRowDefColumns","when: matRowDefWhen"]}]}],e.ctorParameters=function(){return[]},e}(U.CdkRowDef),cs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Component,args:[{selector:"mat-header-row",template:U.CDK_ROW_TEMPLATE,host:{class:"mat-header-row",role:"row"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,exportAs:"matHeaderRow",preserveWhitespaces:!1}]}],e.ctorParameters=function(){return[]},e}(U.CdkHeaderRow),us=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Y(e,t),e.decorators=[{type:f.Component,args:[{selector:"mat-row",template:U.CDK_ROW_TEMPLATE,host:{class:"mat-row",role:"row"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,exportAs:"matRow",preserveWhitespaces:!1}]}],e.ctorParameters=function(){return[]},e}(U.CdkRow),ps=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[U.CdkTableModule,n.CommonModule,Z],exports:[es,ns,rs,is,os,as,cs,us,ss,ls],declarations:[es,ns,rs,is,os,as,cs,us,ss,ls]}]}],t.ctorParameters=function(){return[]},t}(),ds=function(e){function t(t){void 0===t&&(t=[]);var s=e.call(this)||this;return s._renderData=new z.BehaviorSubject([]),s._filter=new z.BehaviorSubject(""),s.sortingDataAccessor=function(t,e){var n=t[e];return c._isNumberValue(n)?Number(n):n},s.sortData=function(t,e){var o=e.active,a=e.direction;return o&&""!=a?t.sort(function(t,e){var n=s.sortingDataAccessor(t,o),r=s.sortingDataAccessor(e,o),i=0;return n&&r?r<n?i=1:n<r&&(i=-1):n?i=1:r&&(i=-1),i*("asc"==a?1:-1)}):t},s.filterPredicate=function(n,t){var e=Object.keys(n).reduce(function(t,e){return t+n[e]},"").toLowerCase(),r=t.trim().toLowerCase();return-1!=e.indexOf(r)},s._data=new z.BehaviorSubject(t),s._updateChangeSubscription(),s}return Y(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this._data.value},set:function(t){this._data.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filter",{get:function(){return this._filter.value},set:function(t){this._filter.next(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sort",{get:function(){return this._sort},set:function(t){this._sort=t,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paginator",{get:function(){return this._paginator},set:function(t){this._paginator=t,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),t.prototype._updateChangeSubscription=function(){var n=this,t=this._sort?this._sort.sortChange:W.empty(),e=this._paginator?this._paginator.page:W.empty();this._renderChangesSubscription&&this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=this._data.pipe(G.combineLatest(this._filter),I.map(function(t){var e=t[0];return n._filterData(e)}),G.combineLatest(t.pipe(_.startWith(null))),I.map(function(t){var e=t[0];return n._orderData(e)}),G.combineLatest(e.pipe(_.startWith(null))),I.map(function(t){var e=t[0];return n._pageData(e)})).subscribe(function(t){return n._renderData.next(t)})},t.prototype._filterData=function(t){var e=this;return this.filteredData=this.filter?t.filter(function(t){return e.filterPredicate(t,e.filter)}):t,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData},t.prototype._orderData=function(t){return this.sort?this.sortData(t.slice(),this.sort):t},t.prototype._pageData=function(t){if(!this.paginator)return t;var e=this.paginator.pageIndex*this.paginator.pageSize;return t.slice().splice(e,this.paginator.pageSize)},t.prototype._updatePaginator=function(e){var n=this;Promise.resolve().then(function(){if(n.paginator&&(n.paginator.length=e,0<n.paginator.pageIndex)){var t=Math.ceil(n.paginator.length/n.paginator.pageSize)-1||0;n.paginator.pageIndex=Math.min(n.paginator.pageIndex,t)}})},t.prototype.connect=function(){return this._renderData},t.prototype.disconnect=function(){},t}(U.DataSource),hs=function(){function t(t,e){this._elementRef=t,this._ngZone=e}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._elementRef.nativeElement;e.style.left=t?(t.offsetLeft||0)+"px":"0",e.style.width=t?(t.offsetWidth||0)+"px":"0"},t.decorators=[{type:f.Directive,args:[{selector:"mat-ink-bar",host:{class:"mat-ink-bar"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.NgZone}]},t}(),fs=function(n){function t(t,e){return n.call(this,t,e)||this}return Y(t,n),t.decorators=[{type:f.Directive,args:[{selector:"[mat-tab-label], [matTabLabel]"}]}],t.ctorParameters=function(){return[{type:f.TemplateRef},{type:f.ViewContainerRef}]},t}(l.CdkPortal),ms=function(){},gs=J(ms),ys=function(n){function t(t){var e=n.call(this)||this;return e._viewContainerRef=t,e.textLabel="",e._contentPortal=null,e._labelChange=new m.Subject,e._disableChange=new m.Subject,e.position=null,e.origin=null,e.isActive=!1,e}return Y(t,n),Object.defineProperty(t.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.hasOwnProperty("textLabel")&&this._labelChange.next(),t.hasOwnProperty("disabled")&&this._disableChange.next()},t.prototype.ngOnDestroy=function(){this._disableChange.complete(),this._labelChange.complete()},t.prototype.ngOnInit=function(){this._contentPortal=new l.TemplatePortal(this._content,this._viewContainerRef)},t.decorators=[{type:f.Component,args:[{selector:"mat-tab",template:"<ng-template><ng-content></ng-content></ng-template>",inputs:["disabled"],changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,exportAs:"matTab"}]}],t.ctorParameters=function(){return[{type:f.ViewContainerRef}]},t.propDecorators={templateLabel:[{type:f.ContentChild,args:[fs]}],_content:[{type:f.ViewChild,args:[f.TemplateRef]}],textLabel:[{type:f.Input,args:["label"]}]},t}(gs),vs={translateTab:w.trigger("translateTab",[w.state("center, void, left-origin-center, right-origin-center",w.style({transform:"none"})),w.state("left",w.style({transform:"translate3d(-100%, 0, 0)"})),w.state("right",w.style({transform:"translate3d(100%, 0, 0)"})),w.transition("* => left, * => right, left => center, right => center",w.animate("500ms cubic-bezier(0.35, 0, 0.25, 1)")),w.transition("void => left-origin-center",[w.style({transform:"translate3d(-100%, 0, 0)"}),w.animate("500ms cubic-bezier(0.35, 0, 0.25, 1)")]),w.transition("void => right-origin-center",[w.style({transform:"translate3d(100%, 0, 0)"}),w.animate("500ms cubic-bezier(0.35, 0, 0.25, 1)")])])},bs=function(i){function t(t,e,n){var r=i.call(this,t,e)||this;return r._host=n,r}return Y(t,i),t.prototype.ngOnInit=function(){var e=this;this._host._isCenterPosition(this._host._position)&&this.attach(this._host._content),this._centeringSub=this._host._beforeCentering.subscribe(function(t){t&&(e.hasAttached()||e.attach(e._host._content))}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})},t.prototype.ngOnDestroy=function(){this._centeringSub&&!this._centeringSub.closed&&this._centeringSub.unsubscribe(),this._leavingSub&&!this._leavingSub.closed&&this._leavingSub.unsubscribe()},t.decorators=[{type:f.Directive,args:[{selector:"[matTabBodyHost]"}]}],t.ctorParameters=function(){return[{type:f.ComponentFactoryResolver},{type:f.ViewContainerRef},{type:_s,decorators:[{type:f.Inject,args:[f.forwardRef(function(){return _s})]}]}]},t}(l.CdkPortalOutlet),_s=function(){function t(t,e){this._elementRef=t,this._dir=e,this._onCentering=new f.EventEmitter,this._beforeCentering=new f.EventEmitter,this._afterLeavingCenter=new f.EventEmitter,this._onCentered=new f.EventEmitter(!0)}return Object.defineProperty(t.prototype,"position",{set:function(t){this._position=t<0?"ltr"==this._getLayoutDirection()?"left":"right":0<t?"ltr"==this._getLayoutDirection()?"right":"left":"center"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"origin",{set:function(t){if(null!=t){var e=this._getLayoutDirection();this._origin="ltr"==e&&t<=0||"rtl"==e&&0<t?"left":"right"}},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&this._origin&&(this._position="left"==this._origin?"left-origin-center":"right-origin-center")},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._onTranslateTabComplete=function(t){this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.decorators=[{type:f.Component,args:[{selector:"mat-tab-body",template:'<div class="mat-tab-body-content" #content [@translateTab]="_position" (@translateTab.start)="_onTranslateTabStarted($event)" (@translateTab.done)="_onTranslateTabComplete($event)"><ng-template matTabBodyHost></ng-template></div>',styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,animations:[vs.translateTab],host:{class:"mat-tab-body"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:s.Directionality,decorators:[{type:f.Optional}]}]},t.propDecorators={_onCentering:[{type:f.Output}],_beforeCentering:[{type:f.Output}],_afterLeavingCenter:[{type:f.Output}],_onCentered:[{type:f.Output}],_content:[{type:f.Input,args:["content"]}],position:[{type:f.Input}],origin:[{type:f.Input}]},t}(),ws=0,Cs=function(){},xs=function(t){this._elementRef=t},Ss=tt(et(xs),"primary"),Es=function(r){function t(t,e){var n=r.call(this,t)||this;return n._changeDetectorRef=e,n._indexToSelect=0,n._tabBodyWrapperHeight=0,n._tabsSubscription=O.Subscription.EMPTY,n._tabLabelSubscription=O.Subscription.EMPTY,n._dynamicHeight=!1,n._selectedIndex=null,n.headerPosition="above",n.selectedIndexChange=new f.EventEmitter,n.focusChange=new f.EventEmitter,n.animationDone=new f.EventEmitter,n.selectedTabChange=new f.EventEmitter(!0),n.selectChange=n.selectedTabChange,n._groupId=ws++,n}return Y(t,r),Object.defineProperty(t.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=c.coerceBooleanProperty(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_dynamicHeightDeprecated",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=c.coerceNumberProperty(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentChecked=function(){var n=this,r=this._indexToSelect=Math.min(this._tabs.length-1,Math.max(this._indexToSelect||0,0));if(this._selectedIndex!=r&&null!=this._selectedIndex){var t=this._createChangeEvent(r);this.selectedTabChange.emit(t),Promise.resolve().then(function(){return n.selectedIndexChange.emit(r)})}this._tabs.forEach(function(t,e){t.position=e-r,t.isActive=e===r,null==n._selectedIndex||0!=t.position||t.origin||(t.origin=r-n._selectedIndex)}),this._selectedIndex!==r&&(this._selectedIndex=r,this._changeDetectorRef.markForCheck())},t.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){t._subscribeToTabLabels(),t._changeDetectorRef.markForCheck()})},t.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},t.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},t.prototype._createChangeEvent=function(t){var e=new Cs;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},t.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=x.merge.apply(void 0,this._tabs.map(function(t){return t._disableChange}).concat(this._tabs.map(function(t){return t._labelChange}))).subscribe(function(){t._changeDetectorRef.markForCheck()})},t.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},t.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},t.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},t.prototype._removeTabBodyWrapperHeight=function(){this._tabBodyWrapperHeight=this._tabBodyWrapper.nativeElement.clientHeight,this._tabBodyWrapper.nativeElement.style.height="",this.animationDone.emit()},t.prototype._handleClick=function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)},t.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},t.decorators=[{type:f.Component,args:[{selector:"mat-tab-group",exportAs:"matTabGroup",template:'<mat-tab-header #tabHeader [selectedIndex]="selectedIndex" [disableRipple]="disableRipple" (indexFocused)="_focusChanged($event)" (selectFocusedIndex)="selectedIndex = $event"><div class="mat-tab-label" role="tab" matTabLabelWrapper mat-ripple *ngFor="let tab of _tabs; let i = index" [id]="_getTabLabelId(i)" [attr.tabIndex]="_getTabIndex(tab, i)" [attr.aria-controls]="_getTabContentId(i)" [attr.aria-selected]="selectedIndex == i" [class.mat-tab-label-active]="selectedIndex == i" [disabled]="tab.disabled" [matRippleDisabled]="tab.disabled || disableRipple" (click)="_handleClick(tab, tabHeader, i)"><div class="mat-tab-label-content"><ng-template [ngIf]="tab.templateLabel"><ng-template [cdkPortalOutlet]="tab.templateLabel"></ng-template></ng-template><ng-template [ngIf]="!tab.templateLabel">{{tab.textLabel}}</ng-template></div></div></mat-tab-header><div class="mat-tab-body-wrapper" #tabBodyWrapper><mat-tab-body role="tabpanel" *ngFor="let tab of _tabs; let i = index" [id]="_getTabContentId(i)" [attr.aria-labelledby]="_getTabLabelId(i)" [class.mat-tab-body-active]="selectedIndex == i" [content]="tab.content" [position]="tab.position" [origin]="tab.origin" (_onCentered)="_removeTabBodyWrapperHeight()" (_onCentering)="_setTabBodyWrapperHeight($event)"></mat-tab-body></div>',styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.mat-tab-label.mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs] .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,inputs:["color","disableRipple"],host:{class:"mat-tab-group","[class.mat-tab-group-dynamic-height]":"dynamicHeight","[class.mat-tab-group-inverted-header]":'headerPosition === "below"'}}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.ChangeDetectorRef}]},t.propDecorators={_tabs:[{type:f.ContentChildren,args:[ys]}],_tabBodyWrapper:[{type:f.ViewChild,args:["tabBodyWrapper"]}],dynamicHeight:[{type:f.Input}],_dynamicHeightDeprecated:[{type:f.Input,args:["mat-dynamic-height"]}],selectedIndex:[{type:f.Input}],headerPosition:[{type:f.Input}],backgroundColor:[{type:f.Input}],selectedIndexChange:[{type:f.Output}],focusChange:[{type:f.Output}],animationDone:[{type:f.Output}],selectedTabChange:[{type:f.Output}],selectChange:[{type:f.Output}]},t}(Ss),ks=function(){},Os=J(ks),Ps=function(n){function t(t){var e=n.call(this)||this;return e.elementRef=t,e}return Y(t,n),t.prototype.focus=function(){this.elementRef.nativeElement.focus()},t.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},t.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},t.decorators=[{type:f.Directive,args:[{selector:"[matTabLabelWrapper]",inputs:["disabled"],host:{"[class.mat-tab-disabled]":"disabled"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef}]},t}(Os),As=function(){},Ds=et(As),Ts=function(o){function t(t,e,n,r){var i=o.call(this)||this;return i._elementRef=t,i._changeDetectorRef=e,i._viewportRuler=n,i._dir=r,i._focusIndex=0,i._scrollDistance=0,i._selectedIndexChanged=!1,i._realignInkBar=O.Subscription.EMPTY,i._showPaginationControls=!1,i._disableScrollAfter=!0,i._disableScrollBefore=!0,i._selectedIndex=0,i.selectFocusedIndex=new f.EventEmitter,i.indexFocused=new f.EventEmitter,i}return Y(t,o),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=c.coerceNumberProperty(t),this._selectedIndexChanged=this._selectedIndex!=t,this._selectedIndex=t,this._focusIndex=t},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._labelWrappers.length&&(this._updatePagination(),this._tabLabelCount=this._labelWrappers.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},t.prototype._handleKeydown=function(t){switch(t.keyCode){case p.RIGHT_ARROW:this._focusNextTab();break;case p.LEFT_ARROW:this._focusPreviousTab();break;case p.HOME:this._focusFirstTab(),t.preventDefault();break;case p.END:this._focusLastTab(),t.preventDefault();break;case p.ENTER:case p.SPACE:this.selectFocusedIndex.emit(this.focusIndex),t.preventDefault()}},t.prototype.ngAfterContentInit=function(){var t=this,e=this._dir?this._dir.change:S.of(null),n=this._viewportRuler.change(150),r=function(){t._updatePagination(),t._alignInkBarToSelectedTab()};"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(r):r(),this._realignInkBar=x.merge(e,n).subscribe(r)},t.prototype.ngOnDestroy=function(){this._realignInkBar.unsubscribe()},t.prototype._onContentChanges=function(){this._updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()},t.prototype._updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(t.prototype,"focusIndex",{get:function(){return this._focusIndex},set:function(t){this._isValidIndex(t)&&this._focusIndex!=t&&(this._focusIndex=t,this.indexFocused.emit(t),this._setTabFocus(t))},enumerable:!0,configurable:!0}),t.prototype._isValidIndex=function(t){if(!this._labelWrappers)return!0;var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;return!!e&&!e.disabled},t.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._labelWrappers&&this._labelWrappers.length){this._labelWrappers.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}},t.prototype._moveFocus=function(t){if(this._labelWrappers)for(var e=this._labelWrappers.toArray(),n=this.focusIndex+t;n<e.length&&0<=n;n+=t)if(this._isValidIndex(n))return void(this.focusIndex=n)},t.prototype._focusNextTab=function(){this._moveFocus("ltr"==this._getLayoutDirection()?1:-1)},t.prototype._focusPreviousTab=function(){this._moveFocus("ltr"==this._getLayoutDirection()?-1:1)},t.prototype._focusFirstTab=function(){for(var t=0;t<this._labelWrappers.length;t++)if(this._isValidIndex(t)){this.focusIndex=t;break}},t.prototype._focusLastTab=function(){for(var t=this._labelWrappers.length-1;-1<t;t--)if(this._isValidIndex(t)){this.focusIndex=t;break}},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._updateTabScrollPosition=function(){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translate3d("+e+"px, 0, 0)"},Object.defineProperty(t.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),t)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),t.prototype._scrollHeader=function(t){var e=this._tabListContainer.nativeElement.offsetWidth;this.scrollDistance+=("before"==t?-1:1)*e/3},t.prototype._scrollToLabel=function(t){var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;if(e){var n,r,i=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?r=(n=e.getOffsetLeft())+e.getOffsetWidth():n=(r=this._tabList.nativeElement.offsetWidth-e.getOffsetLeft())-e.getOffsetWidth();var o=this.scrollDistance,a=this.scrollDistance+i;n<o?this.scrollDistance-=o-n+60:a<r&&(this.scrollDistance+=r-a+60)}},t.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},t.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},t.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},t.prototype._alignInkBarToSelectedTab=function(){var t=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(t)},t.decorators=[{type:f.Component,args:[{selector:"mat-tab-header",template:'<div class="mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4" aria-hidden="true" mat-ripple [matRippleDisabled]="_disableScrollBefore || disableRipple" [class.mat-tab-header-pagination-disabled]="_disableScrollBefore" (click)="_scrollHeader(\'before\')"><div class="mat-tab-header-pagination-chevron"></div></div><div class="mat-tab-label-container" #tabListContainer (keydown)="_handleKeydown($event)"><div class="mat-tab-list" #tabList role="tablist" (cdkObserveContent)="_onContentChanges()"><div class="mat-tab-labels"><ng-content></ng-content></div><mat-ink-bar></mat-ink-bar></div></div><div class="mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4" aria-hidden="true" mat-ripple [matRippleDisabled]="_disableScrollAfter || disableRipple" [class.mat-tab-header-pagination-disabled]="_disableScrollAfter" (click)="_scrollHeader(\'after\')"><div class="mat-tab-header-pagination-chevron"></div></div>',styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.mat-tab-label.mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media screen and (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}"],inputs:["disableRipple"],encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush,host:{class:"mat-tab-header","[class.mat-tab-header-pagination-controls-enabled]":"_showPaginationControls","[class.mat-tab-header-rtl]":"_getLayoutDirection() == 'rtl'"}}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:f.ChangeDetectorRef},{type:V.ViewportRuler},{type:s.Directionality,decorators:[{type:f.Optional}]}]},t.propDecorators={_labelWrappers:[{type:f.ContentChildren,args:[Ps]}],_inkBar:[{type:f.ViewChild,args:[hs]}],_tabListContainer:[{type:f.ViewChild,args:["tabListContainer"]}],_tabList:[{type:f.ViewChild,args:["tabList"]}],selectedIndex:[{type:f.Input}],selectFocusedIndex:[{type:f.Output}],indexFocused:[{type:f.Output}]},t}(Ds),Ms=function(t){this._elementRef=t},Is=tt(Ms,"primary"),Rs=function(a){function t(t,e,n,r,i){var o=a.call(this,t)||this;return o._dir=e,o._ngZone=n,o._changeDetectorRef=r,o._viewportRuler=i,o._onDestroy=new m.Subject,o._disableRipple=!1,o}return Y(t,a),Object.defineProperty(t.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=c.coerceBooleanProperty(t),this._setLinkDisableRipple()},enumerable:!0,configurable:!0}),t.prototype.updateActiveLink=function(t){this._activeLinkChanged=this._activeLinkElement!=t,this._activeLinkElement=t,this._activeLinkChanged&&this._changeDetectorRef.markForCheck()},t.prototype.ngAfterContentInit=function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._dir?e._dir.change:S.of(null);return x.merge(t,e._viewportRuler.change(10)).pipe(A.takeUntil(e._onDestroy)).subscribe(function(){return e._alignInkBar()})}),this._setLinkDisableRipple()},t.prototype.ngAfterContentChecked=function(){this._activeLinkChanged&&(this._alignInkBar(),this._activeLinkChanged=!1)},t.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},t.prototype._alignInkBar=function(){this._activeLinkElement&&this._inkBar.alignToElement(this._activeLinkElement.nativeElement)},t.prototype._setLinkDisableRipple=function(){var e=this;this._tabLinks&&this._tabLinks.forEach(function(t){return t.disableRipple=e.disableRipple})},t.decorators=[{type:f.Component,args:[{selector:"[mat-tab-nav-bar]",exportAs:"matTabNavBar, matTabNav",inputs:["color"],template:'<div class="mat-tab-links" (cdkObserveContent)="_alignInkBar()"><ng-content></ng-content><mat-ink-bar></mat-ink-bar></div>',styles:[".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.mat-tab-link.mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media screen and (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}"],host:{class:"mat-tab-nav-bar"},encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1,changeDetection:f.ChangeDetectionStrategy.OnPush}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:s.Directionality,decorators:[{type:f.Optional}]},{type:f.NgZone},{type:f.ChangeDetectorRef},{type:V.ViewportRuler}]},t.propDecorators={_inkBar:[{type:f.ViewChild,args:[hs]}],_tabLinks:[{type:f.ContentChildren,args:[f.forwardRef(function(){return js}),{descendants:!0}]}],backgroundColor:[{type:f.Input}],disableRipple:[{type:f.Input}]},t}(Is),Ns=function(){},Ls=nt(et(J(Ns))),js=function(s){function t(t,e,n,r,i,o){var a=s.call(this)||this;return a._tabNavBar=t,a._elementRef=e,a._isActive=!1,a.rippleConfig={},a._tabLinkRipple=new Dt(a,n,e,r),a._tabLinkRipple.setupTriggerEvents(e.nativeElement),a.tabIndex=parseInt(o)||0,i&&(a.rippleConfig={terminateOnPointerUp:i.terminateOnPointerUp,speedFactor:i.baseSpeedFactor,animation:i.animation}),a}return Y(t,s),Object.defineProperty(t.prototype,"active",{get:function(){return this._isActive},set:function(t){(this._isActive=t)&&this._tabNavBar.updateActiveLink(this._elementRef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._tabLinkRipple._removeTriggerEvents()},t.prototype._handleClick=function(t){this.disabled&&t.preventDefault()},t.decorators=[{type:f.Directive,args:[{selector:"[mat-tab-link], [matTabLink]",exportAs:"matTabLink",inputs:["disabled","disableRipple","tabIndex"],host:{class:"mat-tab-link","[attr.aria-disabled]":"disabled.toString()","[attr.tabIndex]":"tabIndex","[class.mat-tab-disabled]":"disabled","[class.mat-tab-label-active]":"active","(click)":"_handleClick($event)"}}]}],t.ctorParameters=function(){return[{type:Rs},{type:f.ElementRef},{type:f.NgZone},{type:u.Platform},{type:void 0,decorators:[{type:f.Optional},{type:f.Inject,args:[Tt]}]},{type:void 0,decorators:[{type:f.Attribute,args:["tabindex"]}]}]},t.propDecorators={active:[{type:f.Input}]},t}(Ls),Fs=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[n.CommonModule,Z,l.PortalModule,It,k.ObserversModule,V.ScrollDispatchModule],exports:[Z,Es,fs,ys,Rs,js],declarations:[Es,fs,ys,hs,Ps,Rs,js,_s,bs,Ts],providers:[V.VIEWPORT_RULER_PROVIDER]}]}],t.ctorParameters=function(){return[]},t}(),Vs=function(t){this._elementRef=t},Bs=tt(Vs),Us=function(){function t(){}return t.decorators=[{type:f.Directive,args:[{selector:"mat-toolbar-row",exportAs:"matToolbarRow",host:{class:"mat-toolbar-row"}}]}],t.ctorParameters=function(){return[]},t}(),Hs=function(i){function t(t,e,n){var r=i.call(this,t)||this;return r._platform=e,r._document=n,r}return Y(t,i),t.prototype.ngAfterViewInit=function(){var t=this;f.isDevMode()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return t._checkToolbarMixedModes()}))},t.prototype._checkToolbarMixedModes=function(){var e=this;this._toolbarRows.length&&([].slice.call(this._elementRef.nativeElement.childNodes).filter(function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))}).filter(function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)}).some(function(t){return t.textContent.trim()})&&zs())},t.decorators=[{type:f.Component,args:[{selector:"mat-toolbar",exportAs:"matToolbar",template:'<ng-content></ng-content><ng-content select="mat-toolbar-row"></ng-content>',styles:[".mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],inputs:["color"],host:{class:"mat-toolbar","[class.mat-toolbar-multiple-rows]":"this._toolbarRows.length","[class.mat-toolbar-single-row]":"!this._toolbarRows.length"},changeDetection:f.ChangeDetectionStrategy.OnPush,encapsulation:f.ViewEncapsulation.None,preserveWhitespaces:!1}]}],t.ctorParameters=function(){return[{type:f.ElementRef},{type:u.Platform},{type:void 0,decorators:[{type:f.Inject,args:[n.DOCUMENT]}]}]},t.propDecorators={_toolbarRows:[{type:f.ContentChildren,args:[Us]}]},t}(Bs);function zs(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}var Gs=function(){function t(){}return t.decorators=[{type:f.NgModule,args:[{imports:[Z,u.PlatformModule],exports:[Hs,Us,Z],declarations:[Hs,Us]}]}],t.ctorParameters=function(){return[]},t}(),Ws=new f.Version("5.2.4");t.VERSION=Ws,t.MatAutocompleteSelectedEvent=he,t.MatAutocompleteBase=fe,t._MatAutocompleteMixinBase=me,t.MAT_AUTOCOMPLETE_DEFAULT_OPTIONS=ge,t.MatAutocomplete=ye,t.MatAutocompleteModule=Se,t.AUTOCOMPLETE_OPTION_HEIGHT=48,t.AUTOCOMPLETE_PANEL_HEIGHT=256,t.MAT_AUTOCOMPLETE_SCROLL_STRATEGY=ve,t.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_PROVIDER_FACTORY=be,t.MAT_AUTOCOMPLETE_SCROLL_STRATEGY_PROVIDER=_e,t.MAT_AUTOCOMPLETE_VALUE_ACCESSOR=we,t.getMatAutocompleteMissingPanelError=Ce,t.MatAutocompleteTrigger=xe,t.MatButtonModule=Me,t.MatButtonBase=Pe,t._MatButtonMixinBase=Ae,t.MatButton=De,t.MatAnchor=Te,t.MatButtonToggleGroupBase=Ie,t._MatButtonToggleGroupMixinBase=Re,t.MAT_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR=Ne,t.MatButtonToggleChange=je,t.MatButtonToggleGroup=Fe,t.MatButtonToggleGroupMultiple=Ve,t.MatButtonToggle=Be,t.MatButtonToggleModule=Ue,t.MatCardContent=He,t.MatCardTitle=ze,t.MatCardSubtitle=Ge,t.MatCardActions=We,t.MatCardFooter=qe,t.MatCardImage=Ye,t.MatCardSmImage=$e,t.MatCardMdImage=Ke,t.MatCardLgImage=Qe,t.MatCardXlImage=Xe,t.MatCardAvatar=Ze,t.MatCard=Je,t.MatCardHeader=tn,t.MatCardTitleGroup=en,t.MatCardModule=nn,t.MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR=an,t.TransitionCheckState=sn,t.MatCheckboxChange=ln,t.MatCheckboxBase=cn,t._MatCheckboxMixinBase=un,t.MatCheckbox=pn,t.MAT_CHECKBOX_CLICK_ACTION=rn,t.MatCheckboxModule=fn,t.MAT_CHECKBOX_REQUIRED_VALIDATOR=dn,t.MatCheckboxRequiredValidator=hn,t.MatChipsModule=On,t.MatChipListBase=wn,t._MatChipListMixinBase=Cn,t.MatChipListChange=Sn,t.MatChipList=En,t.MatChipSelectionChange=mn,t.MatChipBase=gn,t._MatChipMixinBase=yn,t.MatBasicChip=vn,t.MatChip=bn,t.MatChipRemove=_n,t.MatChipInput=kn,t.MAT_PLACEHOLDER_GLOBAL_OPTIONS=Yt,t.AnimationCurves=K,t.AnimationDurations=Q,t.MatCommonModule=Z,t.MATERIAL_SANITY_CHECKS=X,t.mixinDisabled=J,t.mixinColor=tt,t.mixinDisableRipple=et,t.mixinTabIndex=nt,t.mixinErrorState=rt,t.mixinInitialized=function(t){return function(r){function t(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=r.apply(this,t)||this;return n._isInitialized=!1,n._pendingSubscribers=[],n.initialized=new i.Observable(function(t){n._isInitialized?n._notifySubscriber(t):n._pendingSubscribers.push(t)}),n}return Y(t,r),t.prototype._markInitialized=function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null},t.prototype._notifySubscriber=function(t){t.next(),t.complete()},t}(t)},t.NativeDateModule=gt,t.MatNativeDateModule=vt,t.MAT_DATE_LOCALE=it,t.MAT_DATE_LOCALE_PROVIDER=ot,t.DateAdapter=at,t.MAT_DATE_FORMATS=st,t.NativeDateAdapter=ft,t.MAT_NATIVE_DATE_FORMATS=mt,t.ShowOnDirtyErrorStateMatcher=bt,t.ErrorStateMatcher=_t,t.MAT_HAMMER_OPTIONS=wt,t.GestureConfig=Ct,t.MatLine=xt,t.MatLineSetter=St,t.MatLineModule=Et,t.MatOptionModule=qt,t.MatOptionSelectionChange=Ut,t.MAT_OPTION_PARENT_COMPONENT=Ht,t.MatOption=zt,t._countGroupLabelsBeforeOption=Gt,t._getOptionScrollPosition=Wt,t.MatOptgroupBase=Lt,t._MatOptgroupMixinBase=jt,t.MatOptgroup=Vt,t.MAT_LABEL_GLOBAL_OPTIONS=Yt,t.MatRippleModule=It,t.MAT_RIPPLE_GLOBAL_OPTIONS=Tt,t.MatRipple=Mt,t.RippleState=kt,t.RippleRef=Ot,t.defaultRippleAnimationConfig=Pt,t.RippleRenderer=Dt,t.MatPseudoCheckboxModule=Nt,t.MatPseudoCheckbox=Rt,t.JAN=0,t.FEB=1,t.MAR=2,t.APR=3,t.MAY=4,t.JUN=5,t.JUL=6,t.AUG=7,t.SEP=8,t.OCT=9,t.NOV=10,t.DEC=11,t.ɵa31=sr,t.MatDatepickerModule=Cr,t.MatCalendar=cr,t.MatCalendarCell=ir,t.MatCalendarBody=or,t.MAT_DATEPICKER_SCROLL_STRATEGY=pr,t.MAT_DATEPICKER_SCROLL_STRATEGY_PROVIDER_FACTORY=dr,t.MAT_DATEPICKER_SCROLL_STRATEGY_PROVIDER=hr,t.MatDatepickerContent=fr,t.MatDatepicker=mr,t.MAT_DATEPICKER_VALUE_ACCESSOR=gr,t.MAT_DATEPICKER_VALIDATORS=yr,t.MatDatepickerInputEvent=vr,t.MatDatepickerInput=br,t.MatDatepickerIntl=rr,t.MatDatepickerToggleIcon=_r,t.MatDatepickerToggle=wr,t.MatMonthView=ar,t.MatYearView=lr,t.MatDialogModule=qn,t.MAT_DIALOG_DATA=Rn,t.MAT_DIALOG_DEFAULT_OPTIONS=Nn,t.MAT_DIALOG_SCROLL_STRATEGY=Ln,t.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY=jn,t.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER=Fn,t.MatDialog=Vn,t.throwMatDialogContentAlreadyAttachedError=Dn,t.MatDialogContainer=Tn,t.MatDialogClose=Un,t.MatDialogTitle=Hn,t.MatDialogContent=zn,t.MatDialogActions=Gn,t.MatDialogConfig=Pn,t.MatDialogRef=In,t.matDialogAnimations=An,t.MatDivider=xr,t.MatDividerModule=Sr,t.MatExpansionModule=Nr,t.MatAccordion=Er,t.MatExpansionPanel=Dr,t.MatExpansionPanelActionRow=Tr,t.MatExpansionPanelHeader=Mr,t.MatExpansionPanelDescription=Ir,t.MatExpansionPanelTitle=Rr,t.MatExpansionPanelContent=kr,t.EXPANSION_PANEL_ANIMATION_TIMING=Or,t.matExpansionAnimations=Pr,t.MatFormFieldModule=pe,t.MatError=Kt,t.MatFormFieldBase=se,t._MatFormFieldMixinBase=le,t.MatFormField=ue,t.MatFormFieldControl=Xt,t.getMatFormFieldPlaceholderConflictError=Zt,t.getMatFormFieldDuplicatedHintError=Jt,t.getMatFormFieldMissingControlError=te,t.MatHint=ne,t.MatPlaceholder=ie,t.MatPrefix=oe,t.MatSuffix=ae,t.MatLabel=re,t.matFormFieldAnimations=Qt,t.MatGridListModule=Zr,t.MatGridList=Xr,t.MatGridTile=Fr,t.MatGridTileText=Vr,t.MatGridAvatarCssMatStyler=Br,t.MatGridTileHeaderCssMatStyler=Ur,t.MatGridTileFooterCssMatStyler=Hr,t.MatIconModule=pi,t.MatIconBase=li,t._MatIconMixinBase=ci,t.MatIcon=ui,t.getMatIconNameNotFoundError=Jr,t.getMatIconNoHttpProviderError=ti,t.getMatIconFailedToSanitizeError=ei,t.MatIconRegistry=ri,t.ICON_REGISTRY_PROVIDER_FACTORY=ii,t.ICON_REGISTRY_PROVIDER=oi,t.MatInputModule=er,t.MatTextareaAutosize=Yn,t.MatInputBase=Zn,t._MatInputMixinBase=Jn,t.MatInput=tr,t.getMatInputUnsupportedTypeError=$n,t.MAT_INPUT_VALUE_ACCESSOR=Kn,t.MatListModule=Ti,t.MatListBase=di,t._MatListMixinBase=hi,t.MatListItemBase=fi,t._MatListItemMixinBase=mi,t.MatNavList=gi,t.MatList=yi,t.MatListAvatarCssMatStyler=vi,t.MatListIconCssMatStyler=bi,t.MatListSubheaderCssMatStyler=_i,t.MatListItem=wi,t.MatSelectionListBase=Ci,t._MatSelectionListMixinBase=xi,t.MatListOptionBase=Si,t._MatListOptionMixinBase=Ei,t.MAT_SELECTION_LIST_VALUE_ACCESSOR=ki,t.MatListOptionChange=Oi,t.MatSelectionListChange=Pi,t.MatListOption=Ai,t.MatSelectionList=Di,t.ɵa21=Ni,t.ɵb21=Li,t.ɵd21=zi,t.ɵc21=Hi,t.MAT_MENU_SCROLL_STRATEGY=Ui,t.MatMenuModule=qi,t.MatMenu=Bi,t.MAT_MENU_DEFAULT_OPTIONS=Vi,t.MatMenuItem=ji,t.MatMenuTrigger=Gi,t.matMenuAnimations=Mi,t.fadeInItems=Ii,t.transformMenu=Ri,t.MatMenuContent=Fi,t.MatPaginatorModule=So,t.PageEvent=Co,t.MatPaginator=xo,t.MatPaginatorIntl=bo,t.MAT_PAGINATOR_INTL_PROVIDER_FACTORY=_o,t.MAT_PAGINATOR_INTL_PROVIDER=wo,t.MatProgressBarModule=Do,t.MatProgressBarBase=Eo,t._MatProgressBarMixinBase=ko,t.MatProgressBar=Po,t.MatProgressSpinnerModule=Lo,t.MatProgressSpinnerBase=Mo,t._MatProgressSpinnerMixinBase=Io,t.MatProgressSpinner=Ro,t.MatSpinner=No,t.MatRadioModule=qo,t.MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR=Fo,t.MatRadioChange=Vo,t.MatRadioGroupBase=Bo,t._MatRadioGroupMixinBase=Uo,t.MatRadioGroup=Ho,t.MatRadioButtonBase=zo,t._MatRadioButtonMixinBase=Go,t.MatRadioButton=Wo,t.MatSelectModule=oo,t.SELECT_PANEL_MAX_HEIGHT=256,t.SELECT_PANEL_PADDING_X=16,t.SELECT_PANEL_INDENT_PADDING_X=32,t.SELECT_ITEM_HEIGHT_EM=3,t.SELECT_MULTIPLE_PANEL_PADDING_X=44,t.SELECT_PANEL_VIEWPORT_PADDING=8,t.MAT_SELECT_SCROLL_STRATEGY=Xi,t.MAT_SELECT_SCROLL_STRATEGY_PROVIDER_FACTORY=Zi,t.MAT_SELECT_SCROLL_STRATEGY_PROVIDER=Ji,t.MatSelectChange=to,t.MatSelectBase=eo,t._MatSelectMixinBase=no,t.MatSelectTrigger=ro,t.MatSelect=io,t.matSelectAnimations=Yi,t.transformPanel=$i,t.fadeInContent=Ki,t.MatSidenavModule=ra,t.throwMatDuplicatedDrawerError=$o,t.MatDrawerToggleResult=Ko,t.MAT_DRAWER_DEFAULT_AUTOSIZE=Qo,t.MatDrawerContent=Xo,t.MatDrawer=Zo,t.MatDrawerContainer=Jo,t.MatSidenavContent=ta,t.MatSidenav=ea,t.MatSidenavContainer=na,t.matDrawerAnimations=Yo,t.MatSlideToggleModule=pa,t.MAT_SLIDE_TOGGLE_VALUE_ACCESSOR=oa,t.MatSlideToggleChange=aa,t.MatSlideToggleBase=sa,t._MatSlideToggleMixinBase=la,t.MatSlideToggle=ca,t.MatSliderModule=ya,t.MAT_SLIDER_VALUE_ACCESSOR=da,t.MatSliderChange=ha,t.MatSliderBase=fa,t._MatSliderMixinBase=ma,t.MatSlider=ga,t.MatSnackBarModule=Pa,t.MatSnackBar=ka,t.MatSnackBarContainer=Ea,t.MAT_SNACK_BAR_DATA=ba,t.MatSnackBarConfig=_a,t.MatSnackBarRef=va,t.SimpleSnackBar=Sa,t.SHOW_ANIMATION=wa,t.HIDE_ANIMATION=Ca,t.matSnackBarAnimations=xa,t.MatSortModule=Ba,t.MatSortHeaderBase=ja,t._MatSortHeaderMixinBase=Fa,t.MatSortHeader=Va,t.MatSortHeaderIntl=Ma,t.MAT_SORT_HEADER_INTL_PROVIDER_FACTORY=Ia,t.MAT_SORT_HEADER_INTL_PROVIDER=Ra,t.MatSortBase=Aa,t._MatSortMixinBase=Da,t.MatSort=Ta,t.matSortAnimations=La,t.MatStepperModule=ts,t.MatStepLabel=Ua,t._MatStep=qa,t._MatStepper=Ya,t.MatStep=$a,t.MatStepper=Ka,t.MatHorizontalStepper=Qa,t.MatVerticalStepper=Xa,t.MatStepperNext=Za,t.MatStepperPrevious=Ja,t.MatStepHeader=za,t.MatStepperIntl=Ha,t.matStepperAnimations=Ga,t.MatStepperIcon=Wa,t.MatTableModule=ps,t.MatCellDef=ns,t.MatHeaderCellDef=rs,t.MatColumnDef=is,t.MatHeaderCell=os,t.MatCell=as,t.MatTable=es,t.MatHeaderRowDef=ss,t.MatRowDef=ls,t.MatHeaderRow=cs,t.MatRow=us,t.MatTableDataSource=ds,t.ɵe22=ms,t.ɵf22=gs,t.ɵa22=As,t.ɵb22=Ds,t.ɵc22=ks,t.ɵd22=Os,t.ɵi22=Ns,t.ɵg22=Ms,t.ɵj22=Ls,t.ɵh22=Is,t.MatInkBar=hs,t.MatTabBody=_s,t.MatTabBodyPortal=bs,t.MatTabHeader=Ts,t.MatTabLabelWrapper=Ps,t.MatTab=ys,t.MatTabLabel=fs,t.MatTabNav=Rs,t.MatTabLink=js,t.MatTabsModule=Fs,t.MatTabChangeEvent=Cs,t.MatTabGroupBase=xs,t._MatTabGroupMixinBase=Ss,t.MatTabGroup=Es,t.matTabsAnimations=vs,t.MatToolbarModule=Gs,t.MatToolbarBase=Vs,t._MatToolbarMixinBase=Bs,t.MatToolbarRow=Us,t.MatToolbar=Hs,t.throwToolbarMixedModesError=zs,t.MatTooltipModule=vo,t.SCROLL_THROTTLE_MS=so,t.TOOLTIP_PANEL_CLASS=lo,t.getMatTooltipInvalidPositionError=co,t.MAT_TOOLTIP_SCROLL_STRATEGY=uo,t.MAT_TOOLTIP_SCROLL_STRATEGY_PROVIDER_FACTORY=po,t.MAT_TOOLTIP_SCROLL_STRATEGY_PROVIDER=ho,t.MAT_TOOLTIP_DEFAULT_OPTIONS=fo,t.MatTooltip=mo,t.TooltipComponent=go,t.matTooltipAnimations=ao,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/cdk/bidi"),t("@angular/cdk/coercion"),t("rxjs/Subject"),t("rxjs/Observable"),t("@angular/platform-browser"),t("@angular/common"),t("@angular/cdk/platform"),t("@angular/cdk/keycodes"),t("@angular/cdk/a11y"),t("@angular/cdk/overlay"),t("@angular/cdk/portal"),t("rxjs/operators/filter"),t("rxjs/operators/take"),t("rxjs/operators/switchMap"),t("rxjs/operators/tap"),t("rxjs/operators/delay"),t("@angular/forms"),t("rxjs/observable/fromEvent"),t("rxjs/operators/startWith"),t("@angular/animations"),t("rxjs/observable/defer"),t("rxjs/observable/merge"),t("rxjs/observable/of"),t("@angular/cdk/collections"),t("@angular/cdk/observers"),t("rxjs/Subscription"),t("rxjs/operators/auditTime"),t("rxjs/operators/takeUntil"),t("@angular/cdk/accordion"),t("rxjs/operators/catchError"),t("rxjs/operators/finalize"),t("rxjs/operators/map"),t("rxjs/operators/share"),t("@angular/common/http"),t("rxjs/observable/forkJoin"),t("rxjs/observable/throw"),t("@angular/cdk/layout"),t("@angular/cdk/scrolling"),t("rxjs/operators/debounceTime"),t("@angular/cdk/table"),t("@angular/cdk/stepper"),t("rxjs/BehaviorSubject"),t("rxjs/operators/combineLatest"),t("rxjs/observable/empty")):i((r.ng=r.ng||{},r.ng.material=r.ng.material||{}),r.ng.core,r.ng.cdk.bidi,r.ng.cdk.coercion,r.Rx,r.Rx,r.ng.platformBrowser,r.ng.common,r.ng.cdk.platform,r.ng.cdk.keycodes,r.ng.cdk.a11y,r.ng.cdk.overlay,r.ng.cdk.portal,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.ng.forms,r.Rx.Observable,r.Rx.operators,r.ng.animations,r.Rx.Observable,r.Rx.Observable,r.Rx.Observable,r.ng.cdk.collections,r.ng.cdk.observers,r.Rx,r.Rx.operators,r.Rx.operators,r.ng.cdk.accordion,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.Rx.operators,r.ng.common.http,r.Rx.Observable,r.Rx.Observable,r.ng.cdk.layout,r.ng.cdk.scrolling,r.Rx.operators,r.ng.cdk.table,r.ng.cdk.stepper,r.Rx,r.Rx.operators,r.Rx.Observable)},{"@angular/animations":46,"@angular/cdk/a11y":47,"@angular/cdk/accordion":48,"@angular/cdk/bidi":49,"@angular/cdk/coercion":50,"@angular/cdk/collections":51,"@angular/cdk/keycodes":52,"@angular/cdk/layout":53,"@angular/cdk/observers":54,"@angular/cdk/overlay":55,"@angular/cdk/platform":56,"@angular/cdk/portal":57,"@angular/cdk/scrolling":58,"@angular/cdk/stepper":59,"@angular/cdk/table":60,"@angular/common":62,"@angular/common/http":61,"@angular/core":64,"@angular/forms":65,"@angular/platform-browser":69,"rxjs/BehaviorSubject":72,"rxjs/Observable":75,"rxjs/Subject":79,"rxjs/Subscription":82,"rxjs/observable/defer":99,"rxjs/observable/empty":100,"rxjs/observable/forkJoin":101,"rxjs/observable/fromEvent":103,"rxjs/observable/merge":106,"rxjs/observable/of":107,"rxjs/observable/throw":108,"rxjs/operators/auditTime":123,"rxjs/operators/catchError":124,"rxjs/operators/combineLatest":125,"rxjs/operators/debounceTime":128,"rxjs/operators/delay":130,"rxjs/operators/filter":132,"rxjs/operators/finalize":133,"rxjs/operators/map":136,"rxjs/operators/share":144,"rxjs/operators/startWith":145,"rxjs/operators/switchMap":146,"rxjs/operators/take":147,"rxjs/operators/takeUntil":149,"rxjs/operators/tap":150}],67:[function(t,e,n){var r,i;r=this,i=function(t,u,a,e,n){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o,s=((o=new Map).set(u.Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS,a.ANALYZE_FOR_ENTRY_COMPONENTS),o.set(u.Identifiers.ElementRef,a.ElementRef),o.set(u.Identifiers.NgModuleRef,a.NgModuleRef),o.set(u.Identifiers.ViewContainerRef,a.ViewContainerRef),o.set(u.Identifiers.ChangeDetectorRef,a.ChangeDetectorRef),o.set(u.Identifiers.QueryList,a.QueryList),o.set(u.Identifiers.TemplateRef,a.TemplateRef),o.set(u.Identifiers.CodegenComponentFactoryResolver,a.ɵCodegenComponentFactoryResolver),o.set(u.Identifiers.ComponentFactoryResolver,a.ComponentFactoryResolver),o.set(u.Identifiers.ComponentFactory,a.ComponentFactory),o.set(u.Identifiers.ComponentRef,a.ComponentRef),o.set(u.Identifiers.NgModuleFactory,a.NgModuleFactory),o.set(u.Identifiers.createModuleFactory,a.ɵcmf),o.set(u.Identifiers.moduleDef,a.ɵmod),o.set(u.Identifiers.moduleProviderDef,a.ɵmpd),o.set(u.Identifiers.RegisterModuleFactoryFn,a.ɵregisterModuleFactory),o.set(u.Identifiers.Injector,a.Injector),o.set(u.Identifiers.ViewEncapsulation,a.ViewEncapsulation),o.set(u.Identifiers.ChangeDetectionStrategy,a.ChangeDetectionStrategy),o.set(u.Identifiers.SecurityContext,a.SecurityContext),o.set(u.Identifiers.LOCALE_ID,a.LOCALE_ID),o.set(u.Identifiers.TRANSLATIONS_FORMAT,a.TRANSLATIONS_FORMAT),o.set(u.Identifiers.inlineInterpolate,a.ɵinlineInterpolate),o.set(u.Identifiers.interpolate,a.ɵinterpolate),o.set(u.Identifiers.EMPTY_ARRAY,a.ɵEMPTY_ARRAY),o.set(u.Identifiers.EMPTY_MAP,a.ɵEMPTY_MAP),o.set(u.Identifiers.Renderer,a.Renderer),o.set(u.Identifiers.viewDef,a.ɵvid),o.set(u.Identifiers.elementDef,a.ɵeld),o.set(u.Identifiers.anchorDef,a.ɵand),o.set(u.Identifiers.textDef,a.ɵted),o.set(u.Identifiers.directiveDef,a.ɵdid),o.set(u.Identifiers.providerDef,a.ɵprd),o.set(u.Identifiers.queryDef,a.ɵqud),o.set(u.Identifiers.pureArrayDef,a.ɵpad),o.set(u.Identifiers.pureObjectDef,a.ɵpod),o.set(u.Identifiers.purePipeDef,a.ɵppd),o.set(u.Identifiers.pipeDef,a.ɵpid),o.set(u.Identifiers.nodeValue,a.ɵnov),o.set(u.Identifiers.ngContentDef,a.ɵncd),o.set(u.Identifiers.unwrapValue,a.ɵunv),o.set(u.Identifiers.createRendererType2,a.ɵcrt),o.set(u.Identifiers.createComponentFactory,a.ɵccf),o),l=function(){function t(){this.builtinExternalReferences=new Map,this.reflectionCapabilities=new a.ɵReflectionCapabilities}return t.prototype.componentModuleUrl=function(t,e){var n=e.moduleId;if("string"==typeof n)return u.getUrlScheme(n)?n:"package:"+n;if(null!=n)throw u.syntaxError('moduleId should be a string in "'+a.ɵstringify(t)+"\". See https://goo.gl/wIDDiL for more information.\nIf you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.");return"./"+a.ɵstringify(t)},t.prototype.parameters=function(t){return this.reflectionCapabilities.parameters(t)},t.prototype.annotations=function(t){return this.reflectionCapabilities.annotations(t)},t.prototype.propMetadata=function(t){return this.reflectionCapabilities.propMetadata(t)},t.prototype.hasLifecycleHook=function(t,e){return this.reflectionCapabilities.hasLifecycleHook(t,e)},t.prototype.guards=function(t){return this.reflectionCapabilities.guards(t)},t.prototype.resolveExternalReference=function(t){return s.get(t)||t.runtime},t}();var c=new a.InjectionToken("ErrorCollector"),p={provide:a.PACKAGE_ROOT_URL,useValue:"/"},d={get:function(t){throw new Error("No ResourceLoader implementation has been provided. Can't read the url \""+t+'"')}},h=new a.InjectionToken("HtmlParser"),f=function(){function t(t,e,n,r,i,o,a,s,l,c){this._metadataResolver=e,this._delegate=new u.JitCompiler(e,n,r,i,o,a,s,l,c,this.getExtraNgModuleProviders.bind(this)),this.injector=t}return t.prototype.getExtraNgModuleProviders=function(){return[this._metadataResolver.getProviderMetadata(new u.ProviderMeta(a.Compiler,{useValue:this}))]},t.prototype.compileModuleSync=function(t){return this._delegate.compileModuleSync(t)},t.prototype.compileModuleAsync=function(t){return this._delegate.compileModuleAsync(t)},t.prototype.compileModuleAndAllComponentsSync=function(t){var e=this._delegate.compileModuleAndAllComponentsSync(t);return{ngModuleFactory:e.ngModuleFactory,componentFactories:e.componentFactories}},t.prototype.compileModuleAndAllComponentsAsync=function(t){return this._delegate.compileModuleAndAllComponentsAsync(t).then(function(t){return{ngModuleFactory:t.ngModuleFactory,componentFactories:t.componentFactories}})},t.prototype.loadAotSummaries=function(t){this._delegate.loadAotSummaries(t)},t.prototype.hasAotSummary=function(t){return this._delegate.hasAotSummary(t)},t.prototype.getComponentFactory=function(t){return this._delegate.getComponentFactory(t)},t.prototype.clearCache=function(){this._delegate.clearCache()},t.prototype.clearCacheFor=function(t){this._delegate.clearCacheFor(t)},t}(),m=[{provide:u.CompileReflector,useValue:new l},{provide:u.ResourceLoader,useValue:d},{provide:u.JitSummaryResolver,deps:[]},{provide:u.SummaryResolver,useExisting:u.JitSummaryResolver},{provide:a.ɵConsole,deps:[]},{provide:u.Lexer,deps:[]},{provide:u.Parser,deps:[u.Lexer]},{provide:h,useClass:u.HtmlParser,deps:[]},{provide:u.I18NHtmlParser,useFactory:function(t,e,n,r,i){var o=(e=e||"")?r.missingTranslation:a.MissingTranslationStrategy.Ignore;return new u.I18NHtmlParser(t,e,n,o,i)},deps:[h,[new a.Optional,new a.Inject(a.TRANSLATIONS)],[new a.Optional,new a.Inject(a.TRANSLATIONS_FORMAT)],[u.CompilerConfig],[a.ɵConsole]]},{provide:u.HtmlParser,useExisting:u.I18NHtmlParser},{provide:u.TemplateParser,deps:[u.CompilerConfig,u.CompileReflector,u.Parser,u.ElementSchemaRegistry,u.I18NHtmlParser,a.ɵConsole]},{provide:u.DirectiveNormalizer,deps:[u.ResourceLoader,u.UrlResolver,u.HtmlParser,u.CompilerConfig]},{provide:u.CompileMetadataResolver,deps:[u.CompilerConfig,u.HtmlParser,u.NgModuleResolver,u.DirectiveResolver,u.PipeResolver,u.SummaryResolver,u.ElementSchemaRegistry,u.DirectiveNormalizer,a.ɵConsole,[a.Optional,u.StaticSymbolCache],u.CompileReflector,[a.Optional,c]]},p,{provide:u.StyleCompiler,deps:[u.UrlResolver]},{provide:u.ViewCompiler,deps:[u.CompileReflector]},{provide:u.NgModuleCompiler,deps:[u.CompileReflector]},{provide:u.CompilerConfig,useValue:new u.CompilerConfig},{provide:a.Compiler,useClass:f,deps:[a.Injector,u.CompileMetadataResolver,u.TemplateParser,u.StyleCompiler,u.ViewCompiler,u.NgModuleCompiler,u.SummaryResolver,u.CompileReflector,u.CompilerConfig,a.ɵConsole]},{provide:u.DomElementSchemaRegistry,deps:[]},{provide:u.ElementSchemaRegistry,useExisting:u.DomElementSchemaRegistry},{provide:u.UrlResolver,deps:[a.PACKAGE_ROOT_URL]},{provide:u.DirectiveResolver,deps:[u.CompileReflector]},{provide:u.PipeResolver,deps:[u.CompileReflector]},{provide:u.NgModuleResolver,deps:[u.CompileReflector]}],g=function(){function t(t){var e={useJit:!0,defaultEncapsulation:a.ViewEncapsulation.Emulated,missingTranslation:a.MissingTranslationStrategy.Warning,enableLegacyTemplate:!1};this._defaultOptions=[e].concat(t)}return t.prototype.createCompiler=function(t){void 0===t&&(t=[]);var e,n,r,i={useJit:y((e=this._defaultOptions.concat(t)).map(function(t){return t.useJit})),defaultEncapsulation:y(e.map(function(t){return t.defaultEncapsulation})),providers:(n=e.map(function(t){return t.providers}),r=[],n.forEach(function(t){return t&&r.push.apply(r,t)}),r),missingTranslation:y(e.map(function(t){return t.missingTranslation})),enableLegacyTemplate:y(e.map(function(t){return t.enableLegacyTemplate})),preserveWhitespaces:y(e.map(function(t){return t.preserveWhitespaces}))};return a.Injector.create([m,{provide:u.CompilerConfig,useFactory:function(){return new u.CompilerConfig({useJit:i.useJit,jitDevMode:a.isDevMode(),defaultEncapsulation:i.defaultEncapsulation,missingTranslation:i.missingTranslation,enableLegacyTemplate:i.enableLegacyTemplate,preserveWhitespaces:i.preserveWhitespaces})},deps:[]},i.providers]).get(a.Compiler)},t}();function y(t){for(var e=t.length-1;0<=e;e--)if(void 0!==t[e])return t[e]}var v=a.createPlatformFactory(a.platformCore,"coreDynamic",[{provide:a.COMPILER_OPTIONS,useValue:{},multi:!0},{provide:a.CompilerFactory,useClass:g,deps:[a.COMPILER_OPTIONS]}]),b=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.get=function(n){var r,i,t=new Promise(function(t,e){r=t,i=e}),o=new XMLHttpRequest;return o.open("GET",n,!0),o.responseType="text",o.onload=function(){var t=o.response||o.responseText,e=1223===o.status?204:o.status;0===e&&(e=t?200:0),200<=e&&e<=300?r(t):i("Failed to load "+n)},o.onerror=function(){i("Failed to load "+n)},o.send(),t},e.decorators=[{type:a.Injectable}],e.ctorParameters=function(){return[]},e}(u.ResourceLoader),_=[n.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,{provide:a.COMPILER_OPTIONS,useValue:{providers:[{provide:u.ResourceLoader,useClass:b,deps:[]}]},multi:!0},{provide:a.PLATFORM_ID,useValue:e.ɵPLATFORM_BROWSER_ID}],w=function(e){function t(){var t=e.call(this)||this;if(t._cache=a.ɵglobal.$templateCache,null==t._cache)throw new Error("CachedResourceLoader: Template cache was not found in $templateCache.");return t}return i(t,e),t.prototype.get=function(t){return this._cache.hasOwnProperty(t)?Promise.resolve(this._cache[t]):Promise.reject("CachedResourceLoader: Did not find cached template for "+t)},t}(u.ResourceLoader),C=new a.Version("5.2.8"),x=[{provide:u.ResourceLoader,useClass:w,deps:[]}],S=a.createPlatformFactory(v,"browserDynamic",_);t.VERSION=C,t.JitCompilerFactory=g,t.RESOURCE_CACHE_PROVIDER=x,t.platformBrowserDynamic=S,t.ɵCompilerImpl=f,t.ɵplatformCoreDynamic=v,t.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS=_,t.ɵResourceLoaderImpl=b,t.ɵa=w,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/compiler"),t("@angular/core"),t("@angular/common"),t("@angular/platform-browser")):i((r.ng=r.ng||{},r.ng.platformBrowserDynamic={}),r.ng.compiler,r.ng.core,r.ng.common,r.ng.platformBrowser)},{"@angular/common":62,"@angular/compiler":63,"@angular/core":64,"@angular/platform-browser":69}],68:[function(t,e,n){var r,i;r=this,i=function(t,o,e,r,i){"use strict";var a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function s(t,e){function n(){this.constructor=t}a(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var n=function(i){function t(t,e){var n=i.call(this)||this;n._nextAnimationId=0;var r={id:"0",encapsulation:o.ViewEncapsulation.None,styles:[],data:{animation:[]}};return n._renderer=t.createRenderer(e.body,r),n}return s(t,i),t.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?r.sequence(t):t;return u(this._renderer,null,e,"register",[n]),new l(e,this._renderer)},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:o.RendererFactory2},{type:void 0,decorators:[{type:o.Inject,args:[e.DOCUMENT]}]}]},t}(r.AnimationBuilder),l=function(r){function t(t,e){var n=r.call(this)||this;return n._id=t,n._renderer=e,n}return s(t,r),t.prototype.create=function(t,e){return new c(this._id,t,e||{},this._renderer)},t}(r.AnimationFactory),c=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return u(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}();function u(t,e,n,r,i){return t.setProperty(e,"@@"+n+":"+r,i)}var p="@.disabled",d=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new h("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach(function(t){return n.engine.registerTrigger(o,a,e,t.name,t)}),new f(this,a,r,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then(function(){t._microtaskId++})},t.prototype.scheduleListenerCallback=function(t,e,n){var r=this;0<=t&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(t){(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:o.RendererFactory2},{type:i.ɵAnimationEngine},{type:o.NgZone}]},t}(),h=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,r){this.delegate.setAttribute(t,e,n,r)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,r){this.delegate.setStyle(t,e,n,r)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&e==p?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),f=function(o){function t(t,e,n,r){var i=o.call(this,e,n,r)||this;return i.factory=t,i.namespaceId=e,i}return s(t,o),t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&e==p?(n=void 0===n||!!n,this.disableAnimations(t,n)):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){var r,i,o,a,s,l=this;if("@"==e.charAt(0)){var c=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),u=e.substr(1),p="";return"@"!=u.charAt(0)&&(i=(r=u).indexOf("."),o=r.substring(0,i),a=r.substr(i+1),u=(s=[o,a])[0],p=s[1]),this.engine.listen(this.namespaceId,c,u,p,function(t){var e=t._data||-1;l.factory.scheduleListenerCallback(e,n,t)})}return this.delegate.listen(t,e,n)},t}(h);var m=function(n){function t(t,e){return n.call(this,t,e)||this}return s(t,n),t.decorators=[{type:o.Injectable}],t.ctorParameters=function(){return[{type:i.AnimationDriver},{type:i.ɵAnimationStyleNormalizer}]},t}(i.ɵAnimationEngine);function g(){return i.ɵsupportsWebAnimations()?new i.ɵWebAnimationsDriver:new i.ɵNoopAnimationDriver}function y(){return new i.ɵWebAnimationsStyleNormalizer}function v(t,e,n){return new d(t,e,n)}var b=[{provide:r.AnimationBuilder,useClass:n},{provide:i.ɵAnimationStyleNormalizer,useFactory:y},{provide:i.ɵAnimationEngine,useClass:m},{provide:o.RendererFactory2,useFactory:v,deps:[e.ɵDomRendererFactory2,i.ɵAnimationEngine,o.NgZone]}],_=[{provide:i.AnimationDriver,useFactory:g}].concat(b),w=[{provide:i.AnimationDriver,useClass:i.ɵNoopAnimationDriver}].concat(b),C=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{exports:[e.BrowserModule],providers:_}]}],t.ctorParameters=function(){return[]},t}(),x=function(){function t(){}return t.decorators=[{type:o.NgModule,args:[{exports:[e.BrowserModule],providers:w}]}],t.ctorParameters=function(){return[]},t}();t.BrowserAnimationsModule=C,t.NoopAnimationsModule=x,t.ɵBrowserAnimationBuilder=n,t.ɵBrowserAnimationFactory=l,t.ɵAnimationRenderer=f,t.ɵAnimationRendererFactory=d,t.ɵa=h,t.ɵf=_,t.ɵg=w,t.ɵb=m,t.ɵd=y,t.ɵe=v,t.ɵc=g,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/platform-browser"),t("@angular/animations"),t("@angular/animations/browser")):i((r.ng=r.ng||{},r.ng.platformBrowser=r.ng.platformBrowser||{},r.ng.platformBrowser.animations={}),r.ng.core,r.ng.platformBrowser,r.ng.animations,r.ng.animations.browser)},{"@angular/animations":46,"@angular/animations/browser":45,"@angular/core":64,"@angular/platform-browser":69}],69:[function(t,e,n){var r,i;r=this,i=function(t,n,h){"use strict";var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var e=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},o=null;function f(){return o}function a(t){o||(o=t)}var s,l=function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}(),c=function(o){function t(){var e=o.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var t=["Webkit","Moz","O","ms"],r=0;r<t.length;r++)if(null!=e.getStyle(n,t[r]+"AnimationName")){e._animationPrefix="-"+t[r].toLowerCase()+"-";break}var i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(i).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=i[t])})}catch(t){e._animationPrefix=null,e._transitionEnd=null}return e}return i(t,o),t.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},t.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(l),u={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},p={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},d={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","Â":"NumLock"};h.ɵglobal.Node&&(s=h.ɵglobal.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var m,g=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){a(new e)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,n)},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return u},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return s.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r<e.length;r++)n[r]=e[r];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(e,n,t){t.forEach(function(t){return e.insertBefore(t,n)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(t,e),r},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var r=this.getStyle(t,e)||"";return n?r==n:0<r.length},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r<n.length;r++){var i=n.item(r);e.set(i.name,i.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,r){t.setAttributeNS(e,n,r)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&d.hasOwnProperty(e)&&(e=d[e]))}return p[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e=function(){if(!y&&!(y=document.querySelector("base")))return null;return y.getAttribute("href")}();return null==e?null:function(t){m||(m=document.createElement("a"));return m.setAttribute("href",t),"/"===m.pathname.charAt(0)?m.pathname:"/"+m.pathname}(e)},e.prototype.resetBaseElement=function(){y=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return n.ɵparseCookieValue(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(c),y=null;var v=n.DOCUMENT;function b(){return!!window.history.pushState}var _=function(n){function t(t){var e=n.call(this)||this;return e._doc=t,e._init(),e}return i(t,n),t.prototype._init=function(){this.location=f().getLocation(),this._history=f().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return f().getBaseHref(this._doc)},t.prototype.onPopState=function(t){f().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},t.prototype.onHashChange=function(t){f().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(t,e,n){b()?this._history.pushState(t,e,n):this.location.hash=n},t.prototype.replaceState=function(t,e,n){b()?this._history.replaceState(t,e,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]}]},t}(n.PlatformLocation),w=function(){function t(t){this._doc=t,this._dom=f()}return t.prototype.addTag=function(t,e){return void 0===e&&(e=!1),t?this._getOrCreateElement(t,e):null},t.prototype.addTags=function(t,n){var r=this;return void 0===n&&(n=!1),t?t.reduce(function(t,e){return e&&t.push(r._getOrCreateElement(e,n)),t},[]):[]},t.prototype.getTag=function(t){return t&&this._dom.querySelector(this._doc,"meta["+t+"]")||null},t.prototype.getTags=function(t){if(!t)return[];var e=this._dom.querySelectorAll(this._doc,"meta["+t+"]");return e?[].slice.call(e):[]},t.prototype.updateTag=function(t,e){if(!t)return null;e=e||this._parseSelector(t);var n=this.getTag(e);return n?this._setMetaElementAttributes(t,n):this._getOrCreateElement(t,!0)},t.prototype.removeTag=function(t){this.removeTagElement(this.getTag(t))},t.prototype.removeTagElement=function(t){t&&this._dom.remove(t)},t.prototype._getOrCreateElement=function(t,e){if(void 0===e&&(e=!1),!e){var n=this._parseSelector(t),r=this.getTag(n);if(r&&this._containsAttributes(t,r))return r}var i=this._dom.createElement("meta");this._setMetaElementAttributes(t,i);var o=this._dom.getElementsByTagName(this._doc,"head")[0];return this._dom.appendChild(o,i),i},t.prototype._setMetaElementAttributes=function(e,n){var r=this;return Object.keys(e).forEach(function(t){return r._dom.setAttribute(n,t,e[t])}),n},t.prototype._parseSelector=function(t){var e=t.name?"name":"property";return e+'="'+t[e]+'"'},t.prototype._containsAttributes=function(e,n){var r=this;return Object.keys(e).every(function(t){return r._dom.getAttribute(n,t)===e[t]})},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]}]},t}(),C=new h.InjectionToken("TRANSITION_ID");function x(n,t,e){return function(){e.get(h.ApplicationInitStatus).donePromise.then(function(){var e=f();Array.prototype.slice.apply(e.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return e.getAttribute(t,"ng-transition")===n}).forEach(function(t){return e.remove(t)})})}}var S=[{provide:h.APP_INITIALIZER,useFactory:x,deps:[C,v,h.Injector],multi:!0}],E=function(){function t(){}return t.init=function(){h.setTestabilityGetter(new t)},t.prototype.addToWindow=function(r){h.ɵglobal.getAngularTestability=function(t,e){void 0===e&&(e=!0);var n=r.findTestabilityInTree(t,e);if(null==n)throw new Error("Could not find testability for element.");return n},h.ɵglobal.getAllAngularTestabilities=function(){return r.getAllTestabilities()},h.ɵglobal.getAllAngularRootElements=function(){return r.getAllRootElements()};h.ɵglobal.frameworkStabilizers||(h.ɵglobal.frameworkStabilizers=[]),h.ɵglobal.frameworkStabilizers.push(function(e){var t=h.ɵglobal.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(t){t.whenStable(i)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?f().isShadowRoot(e)?this.findTestabilityInTree(t,f().getHost(e),!0):this.findTestabilityInTree(t,f().parentElement(e),!0):null},t}(),k=function(){function t(t){this._doc=t}return t.prototype.getTitle=function(){return f().getTitle(this._doc)},t.prototype.setTitle=function(t){f().setTitle(this._doc,t)},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]}]},t}();function O(t,e){"undefined"!=typeof COMPILED&&COMPILED||((h.ɵglobal.ng=h.ɵglobal.ng||{})[t]=e)}var P={ApplicationRef:h.ApplicationRef,NgZone:h.NgZone},A="probe",D="coreTokens";function T(t){return h.getDebugNode(t)}function M(t){return O(A,T),O(D,e({},P,(t||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return T}}var I=[{provide:h.APP_INITIALIZER,useFactory:M,deps:[[h.NgProbeToken,new h.Optional]],multi:!0}],R=new h.InjectionToken("EventManagerPlugins"),N=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(t))return this._eventNameToPlugin.set(t,i),i}throw new Error("No event manager plugin found for event "+t)},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:h.Inject,args:[R]}]},{type:h.NgZone}]},t}(),L=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var r=f().getGlobalEventTarget(this._doc,t);if(!r)throw new Error("Unsupported event target "+r+" for event "+e);return this.addEventListener(r,e,n)},t}(),j=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[]},t}(),F=function(n){function t(t){var e=n.call(this)||this;return e._doc=t,e._hostNodes=new Set,e._styleNodes=new Set,e._hostNodes.add(t.head),e}return i(t,n),t.prototype._addStylesToHost=function(t,n){var r=this;t.forEach(function(t){var e=r._doc.createElement("style");e.textContent=t,r._styleNodes.add(n.appendChild(e))})},t.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},t.prototype.removeHost=function(t){this._hostNodes.delete(t)},t.prototype.onStylesAdded=function(e){var n=this;this._hostNodes.forEach(function(t){return n._addStylesToHost(e,t)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return f().remove(t)})},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]}]},t}(j),V={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},B=/%COMP%/g,U="_nghost-%COMP%",H="_ngcontent-%COMP%";function z(t){return H.replace(B,t)}function G(t){return U.replace(B,t)}function W(t,e,n){for(var r=0;r<e.length;r++){var i=e[r];Array.isArray(i)?W(t,i,n):(i=i.replace(B,t),n.push(i))}return n}function q(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Y=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new $(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case h.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new Z(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case h.ViewEncapsulation.Native:return new J(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var r=W(e.id,e.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:N},{type:F}]},t}(),$=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS(V[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t){var e="string"==typeof t?document.querySelector(t):t;if(!e)throw new Error('The selector "'+t+'" did not match any elements');return e.textContent="",e},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,r){if(r){e=r+":"+e;var i=V[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var r=V[n];r?t.removeAttributeNS(r,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,r){r&h.RendererStyleFlags2.DashCase?t.style.setProperty(e,n,r&h.RendererStyleFlags2.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&h.RendererStyleFlags2.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){Q(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return Q(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,q(n)):this.eventManager.addEventListener(t,e,q(n))},t}(),K="@".charCodeAt(0);function Q(t,e){if(t.charCodeAt(0)===K)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var X,Z=function(o){function t(t,e,n){var r=o.call(this,t)||this,i=W((r.component=n).id,n.styles,[]);return e.addStyles(i),r.contentAttr=z(n.id),r.hostAttr=G(n.id),r}return i(t,o),t.prototype.applyToHost=function(t){o.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,e){var n=o.prototype.createElement.call(this,t,e);return o.prototype.setAttribute.call(this,n,this.contentAttr,""),n},t}($),J=function(l){function t(t,e,n,r){var i=l.call(this,t)||this;i.sharedStylesHost=e,i.hostEl=n,i.component=r,i.shadowRoot=n.createShadowRoot(),i.sharedStylesHost.addHost(i.shadowRoot);for(var o=W(r.id,r.styles,[]),a=0;a<o.length;a++){var s=document.createElement("style");s.textContent=o[a],i.shadowRoot.appendChild(s)}return i}return i(t,l),t.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,e){return l.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),e)},t.prototype.insertBefore=function(t,e,n){return l.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),e,n)},t.prototype.removeChild=function(t,e){return l.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),e)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(l.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}($),tt="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},et=tt("addEventListener"),nt=tt("removeEventListener"),rt={},it="removeEventListener",ot="__zone_symbol__propagationStopped",at="__zone_symbol__stopImmediatePropagation",st="undefined"!=typeof Zone&&Zone[tt("BLACK_LISTED_EVENTS")];st&&(X={},st.forEach(function(t){X[t]=t}));var lt=function(t){return!!X&&X.hasOwnProperty(t)},ct=function(t){var e=rt[t.type];if(e){var n=this[e];if(n){var r=[t];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r);for(var i=n.slice(),o=0;o<i.length&&!0!==t[ot];o++){var a;(a=i[o]).zone!==Zone.current?a.zone.run(a.handler,this,r):a.handler.apply(this,r)}}}},ut=function(r){function t(t,e){var n=r.call(this,t)||this;return n.ngZone=e,n.patchEvent(),n}return i(t,r),t.prototype.patchEvent=function(){if(Event&&Event.prototype&&!Event.prototype[at]){var t=Event.prototype[at]=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[ot]=!0),t&&t.apply(this,arguments)}}},t.prototype.supports=function(t){return!0},t.prototype.addEventListener=function(t,e,n){var r=this,i=t[et],o=n;if(!i||h.NgZone.isInAngularZone()&&!lt(e))t.addEventListener(e,o,!1);else{var a=rt[e];a||(a=rt[e]=tt("ANGULAR"+e+"FALSE"));var s=t[a],l=s&&0<s.length;s||(s=t[a]=[]);var c=lt(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:c,handler:o});else{for(var u=!1,p=0;p<s.length;p++)if(s[p].handler===o){u=!0;break}u||s.push({zone:c,handler:o})}l||t[et](e,ct,!1)}return function(){return r.removeEventListener(t,e,o)}},t.prototype.removeEventListener=function(t,e,n){var r=t[nt];if(!r)return t[it].apply(t,[e,n,!1]);var i=rt[e],o=i&&t[i];if(!o)return t[it].apply(t,[e,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&r.apply(t,[e,ct,!1]):t[it].apply(t,[e,n,!1])},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]},{type:h.NgZone}]},t}(L),pt={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},dt=new h.InjectionToken("HammerGestureConfig"),ht=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[]},t}(),ft=function(r){function t(t,e){var n=r.call(this,t)||this;return n._config=e,n}return i(t,r),t.prototype.supports=function(t){if(!pt.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t))return!1;if(!window.Hammer)throw new Error("Hammer.js is not loaded, can not bind "+t+" event");return!0},t.prototype.addEventListener=function(n,r,i){var o=this,a=this.manager.getZone();return r=r.toLowerCase(),a.runOutsideAngular(function(){var t=o._config.buildHammer(n),e=function(t){a.runGuarded(function(){i(t)})};return t.on(r,e),function(){return t.off(r,e)}})},t.prototype.isCustomEvent=function(t){return-1<this._config.events.indexOf(t)},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]},{type:ht,decorators:[{type:h.Inject,args:[dt]}]}]},t}(L),mt=["alt","control","meta","shift"],gt={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},yt=function(e){function a(t){return e.call(this,t)||this}return i(a,e),a.prototype.supports=function(t){return null!=a.parseEventName(t)},a.prototype.addEventListener=function(t,e,n){var r=a.parseEventName(e),i=a.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return f().onAndCancel(t,r.domEventName,i)})},a.parseEventName=function(t){var n=t.toLowerCase().split("."),e=n.shift();if(0===n.length||"keydown"!==e&&"keyup"!==e)return null;var r=a._normalizeKey(n.pop()),i="";if(mt.forEach(function(t){var e=n.indexOf(t);-1<e&&(n.splice(e,1),i+=t+".")}),i+=r,0!=n.length||0===r.length)return null;var o={};return o.domEventName=e,o.fullKey=i,o},a.getEventFullKey=function(e){var n="",r=f().getEventKey(e);return" "===(r=r.toLowerCase())?r="space":"."===r&&(r="dot"),mt.forEach(function(t){t!=r&&((0,gt[t])(e)&&(n+=t+"."))}),n+=r},a.eventCallback=function(e,n,r){return function(t){a.getEventFullKey(t)===e&&r.runGuarded(function(){return n(t)})}},a._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},a.decorators=[{type:h.Injectable}],a.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]}]},a}(L),vt=function(){function t(t,e){this.defaultDoc=t,this.DOM=e;var n=this.DOM.createHtmlDocument();if(this.inertBodyElement=n.body,null==this.inertBodyElement){var r=this.DOM.createElement("html",n);this.inertBodyElement=this.DOM.createElement("body",n),this.DOM.appendChild(r,this.inertBodyElement),this.DOM.appendChild(n,r)}this.DOM.setInnerHTML(this.inertBodyElement,'<svg><g onload="this.parentNode.remove()"></g></svg>'),!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.DOM.setInnerHTML(this.inertBodyElement,'<svg><p><style><img src="</style><img src=x onerror=alert(1)//">'),this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement=this.getInertBodyElement_DOMParser:this.getInertBodyElement=this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.DOM.createElement("template");return"content"in e?(this.DOM.setInnerHTML(e,t),e):(this.DOM.setInnerHTML(this.inertBodyElement,t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(n){var r=this;this.DOM.attributeMap(n).forEach(function(t,e){"xmlns:ns1"!==e&&0!==e.indexOf("ns1:")||r.DOM.removeAttribute(n,e)});for(var t=0,e=this.DOM.childNodesAsList(n);t<e.length;t++){var i=e[t];this.DOM.isElementNode(i)&&this.stripCustomNsAttrs(i)}},t}();var bt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,_t=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function wt(t){return(t=String(t)).match(bt)||t.match(_t)?t:(h.isDevMode()&&f().log("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function Ct(t){for(var e={},n=0,r=t.split(",");n<r.length;n++){e[r[n]]=!0}return e}function xt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n={},r=0,i=t;r<i.length;r++){var o=i[r];for(var a in o)o.hasOwnProperty(a)&&(n[a]=!0)}return n}var St,Et=Ct("area,br,col,hr,img,wbr"),kt=Ct("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ot=Ct("rp,rt"),Pt=xt(Ot,kt),At=xt(kt,Ct("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")),Dt=xt(Ot,Ct("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")),Tt=xt(Et,At,Dt,Pt),Mt=Ct("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),It=Ct("srcset"),Rt=Ct("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"),Nt=xt(Mt,It,Rt),Lt=function(){function t(){this.sanitizedSomething=!1,this.buf=[],this.DOM=f()}return t.prototype.sanitizeChildren=function(t){for(var e=this.DOM.firstChild(t);e;)if(this.DOM.isElementNode(e)?this.startElement(e):this.DOM.isTextNode(e)?this.chars(this.DOM.nodeValue(e)):this.sanitizedSomething=!0,this.DOM.firstChild(e))e=this.DOM.firstChild(e);else for(;e;){this.DOM.isElementNode(e)&&this.endElement(e);var n=this.checkClobberedElement(e,this.DOM.nextSibling(e));if(n){e=n;break}e=this.checkClobberedElement(e,this.DOM.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var i=this,e=this.DOM.nodeName(t).toLowerCase();Tt.hasOwnProperty(e)?(this.buf.push("<"),this.buf.push(e),this.DOM.attributeMap(t).forEach(function(t,e){var n,r=e.toLowerCase();Nt.hasOwnProperty(r)?(Mt[r]&&(t=wt(t)),It[r]&&(n=t,t=(n=String(n)).split(",").map(function(t){return wt(t.trim())}).join(", ")),i.buf.push(" "),i.buf.push(e),i.buf.push('="'),i.buf.push(Vt(t)),i.buf.push('"')):i.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=this.DOM.nodeName(t).toLowerCase();Tt.hasOwnProperty(e)&&!Et.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(Vt(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&this.DOM.contains(t,e))throw new Error("Failed to sanitize html because the element is clobbered: "+this.DOM.getOuterHTML(t));return e},t}(),jt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ft=/([^\#-~ |!])/g;function Vt(t){return t.replace(/&/g,"&").replace(jt,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ft,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var Bt=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Ut=/^url\(([^)]+)\)$/;var Ht=function(){},zt=function(n){function t(t){var e=n.call(this)||this;return e._doc=t,e}return i(t,n),t.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case h.SecurityContext.NONE:return e;case h.SecurityContext.HTML:return e instanceof Wt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=f(),r=null;try{St=St||new vt(t,n);var i=e?String(e):"";r=St.getInertBodyElement(i);var o=5,a=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=a,a=n.getInnerHTML(r),r=St.getInertBodyElement(i)}while(i!==a);var s=new Lt,l=s.sanitizeChildren(n.getTemplateContent(r)||r);return h.isDevMode()&&s.sanitizedSomething&&n.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),l}finally{if(r)for(var c=n.getTemplateContent(r)||r,u=0,p=n.childNodesAsList(c);u<p.length;u++){var d=p[u];n.removeChild(c,d)}}}(this._doc,String(e)));case h.SecurityContext.STYLE:return e instanceof qt?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(Ut);return e&&wt(e[1])===e[1]||t.match(Bt)&&function(t){for(var e=!0,n=!0,r=0;r<t.length;r++){var i=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}return e&&n}(t)?t:(h.isDevMode()&&f().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case h.SecurityContext.SCRIPT:if(e instanceof Yt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case h.SecurityContext.URL:return e instanceof Kt||e instanceof $t?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),wt(String(e)));case h.SecurityContext.RESOURCE_URL:if(e instanceof Kt)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(t,e){if(t instanceof Gt)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(t){return new Wt(t)},t.prototype.bypassSecurityTrustStyle=function(t){return new qt(t)},t.prototype.bypassSecurityTrustScript=function(t){return new Yt(t)},t.prototype.bypassSecurityTrustUrl=function(t){return new $t(t)},t.prototype.bypassSecurityTrustResourceUrl=function(t){return new Kt(t)},t.decorators=[{type:h.Injectable}],t.ctorParameters=function(){return[{type:void 0,decorators:[{type:h.Inject,args:[v]}]}]},t}(Ht),Gt=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Wt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Gt),qt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Gt),Yt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Gt),$t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Gt),Kt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Gt),Qt=[{provide:h.PLATFORM_ID,useValue:n.ɵPLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:Jt,multi:!0},{provide:n.PlatformLocation,useClass:_,deps:[v]},{provide:v,useFactory:ee,deps:[]}],Xt=[{provide:h.Sanitizer,useExisting:Ht},{provide:Ht,useClass:zt,deps:[v]}],Zt=h.createPlatformFactory(h.platformCore,"browser",Qt);function Jt(){g.makeCurrent(),E.init()}function te(){return new h.ErrorHandler}function ee(){return document}var ne=function(){function e(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:h.APP_ID,useValue:t.appId},{provide:C,useExisting:h.APP_ID},S]}},e.decorators=[{type:h.NgModule,args:[{providers:[Xt,{provide:h.ErrorHandler,useFactory:te,deps:[]},{provide:R,useClass:ut,multi:!0},{provide:R,useClass:yt,multi:!0},{provide:R,useClass:ft,multi:!0},{provide:dt,useClass:ht},Y,{provide:h.RendererFactory2,useExisting:Y},{provide:j,useExisting:F},F,h.Testability,N,I,w,k],exports:[n.CommonModule,h.ApplicationModule]}]}],e.ctorParameters=function(){return[{type:e,decorators:[{type:h.Optional},{type:h.SkipSelf}]}]},e}(),re="undefined"!=typeof window&&window||{},ie=function(t,e){this.msPerTick=t,this.numTicks=e},oe=function(){function t(t){this.appRef=t.injector.get(h.ApplicationRef)}return t.prototype.timeChangeDetection=function(t){var e=t&&t.record,n="Change Detection",r=null!=re.console.profile;e&&r&&re.console.profile(n);for(var i=f().performanceNow(),o=0;o<5||f().performanceNow()-i<500;)this.appRef.tick(),o++;var a=f().performanceNow();e&&r&&re.console.profileEnd(n);var s=(a-i)/o;return re.console.log("ran "+o+" change detection cycles"),re.console.log(s.toFixed(2)+" ms per check"),new ie(s,o)},t}(),ae="profiler";var se=function(){function n(){this.store={},this.onSerializeCallbacks={}}return n.init=function(t){var e=new n;return e.store=t,e},n.prototype.get=function(t,e){return void 0!==this.store[t]?this.store[t]:e},n.prototype.set=function(t,e){this.store[t]=e},n.prototype.remove=function(t){delete this.store[t]},n.prototype.hasKey=function(t){return this.store.hasOwnProperty(t)},n.prototype.onSerialize=function(t,e){this.onSerializeCallbacks[t]=e},n.prototype.toJson=function(){for(var t in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(t))try{this.store[t]=this.onSerializeCallbacks[t]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)},n.decorators=[{type:h.Injectable}],n.ctorParameters=function(){return[]},n}();function le(t,e){var n,r,i=t.getElementById(e+"-state"),o={};if(i&&i.textContent)try{o=JSON.parse((n=i.textContent,r={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},n.replace(/&[^;]+;/g,function(t){return r[t]})))}catch(t){console.warn("Exception while restoring TransferState for app "+e,t)}return se.init(o)}var ce=function(){function t(){}return t.decorators=[{type:h.NgModule,args:[{providers:[{provide:se,useFactory:le,deps:[v,h.APP_ID]}]}]}],t.ctorParameters=function(){return[]},t}(),ue=function(){function t(){}return t.all=function(){return function(t){return!0}},t.css=function(e){return function(t){return null!=t.nativeElement&&f().elementMatches(t.nativeElement,e)}},t.directive=function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}},t}(),pe=new h.Version("5.2.8");t.BrowserModule=ne,t.platformBrowser=Zt,t.Meta=w,t.Title=k,t.disableDebugTools=function(){O(ae,null)},t.enableDebugTools=function(t){return O(ae,new oe(t)),t},t.BrowserTransferStateModule=ce,t.TransferState=se,t.makeStateKey=function(t){return t},t.By=ue,t.DOCUMENT=v,t.EVENT_MANAGER_PLUGINS=R,t.EventManager=N,t.HAMMER_GESTURE_CONFIG=dt,t.HammerGestureConfig=ht,t.DomSanitizer=Ht,t.VERSION=pe,t.ɵBROWSER_SANITIZATION_PROVIDERS=Xt,t.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS=Qt,t.ɵinitDomAdapter=Jt,t.ɵBrowserDomAdapter=g,t.ɵBrowserPlatformLocation=_,t.ɵTRANSITION_ID=C,t.ɵBrowserGetTestability=E,t.ɵescapeHtml=function(t){var e={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return t.replace(/[&"'<>]/g,function(t){return e[t]})},t.ɵELEMENT_PROBE_PROVIDERS=I,t.ɵDomAdapter=l,t.ɵgetDOM=f,t.ɵsetRootDomAdapter=a,t.ɵDomRendererFactory2=Y,t.ɵNAMESPACE_URIS=V,t.ɵflattenStyles=W,t.ɵshimContentAttribute=z,t.ɵshimHostAttribute=G,t.ɵDomEventsPlugin=ut,t.ɵHammerGesturesPlugin=ft,t.ɵKeyEventsPlugin=yt,t.ɵDomSharedStylesHost=F,t.ɵSharedStylesHost=j,t.ɵb=ee,t.ɵa=te,t.ɵi=c,t.ɵg=S,t.ɵf=x,t.ɵc=le,t.ɵh=M,t.ɵd=L,t.ɵe=zt,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/common"),t("@angular/core")):i((r.ng=r.ng||{},r.ng.platformBrowser={}),r.ng.common,r.ng.core)},{"@angular/common":62,"@angular/core":64}],70:[function(t,e,n){var r,i;r=this,i=function(t,r,p,u,c,S,i,E,k,o,s,d,h,f,m,n,a,l,g,y,v,b){"use strict";var _=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};function w(t,e){function n(){this.constructor=t}_(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var C=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},e=function(t,e){this.id=t,this.url=e},x=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return w(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(e),O=function(i){function t(t,e,n){var r=i.call(this,t,e)||this;return r.urlAfterRedirects=n,r}return w(t,i),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(e),P=function(i){function t(t,e,n){var r=i.call(this,t,e)||this;return r.reason=n,r}return w(t,i),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(e),A=function(i){function t(t,e,n){var r=i.call(this,t,e)||this;return r.error=n,r}return w(t,i),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(e),D=function(o){function t(t,e,n,r){var i=o.call(this,t,e)||this;return i.urlAfterRedirects=n,i.state=r,i}return w(t,o),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(e),T=function(o){function t(t,e,n,r){var i=o.call(this,t,e)||this;return i.urlAfterRedirects=n,i.state=r,i}return w(t,o),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(e),M=function(a){function t(t,e,n,r,i){var o=a.call(this,t,e)||this;return o.urlAfterRedirects=n,o.state=r,o.shouldActivate=i,o}return w(t,a),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(e),I=function(o){function t(t,e,n,r){var i=o.call(this,t,e)||this;return i.urlAfterRedirects=n,i.state=r,i}return w(t,o),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(e),R=function(o){function t(t,e,n,r){var i=o.call(this,t,e)||this;return i.urlAfterRedirects=n,i.state=r,i}return w(t,o),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(e),N=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),L=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),j=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),F=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),V=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),B=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),U="primary",H=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function z(t){return new H(t)}var G="ngNavigationCancelingError";function W(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length<t.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=t[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,r.length),posParams:i}}var q=function(t,e){this.routes=t,this.module=e};function Y(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var r=t[n];$(r,K(e,r))}}function $(t,e){if(!t)throw new Error("\n Invalid configuration of route '"+e+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&t.outlet&&t.outlet!==U)throw new Error("Invalid configuration of route '"+e+"': a componentless route cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch){throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.")}if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&Y(t.children,e)}function K(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function Q(t){var e=t.children&&t.children.map(Q);return e?C({},t,{children:e}):C({},t)}function X(t,e){var n,r=Object.keys(t),i=Object.keys(e);if(r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(t[n=r[o]]!==e[n])return!1;return!0}function Z(t){return Array.prototype.concat.apply([],t)}function J(t){return 0<t.length?t[t.length-1]:null}function tt(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function et(t){var e=g.mergeAll.call(t);return a.every.call(e,function(t){return!0===t})}function nt(t){return p.ɵisObservable(t)?t:p.ɵisPromise(t)?n.fromPromise(Promise.resolve(t)):S.of(t)}function rt(t,e,n){return n?(r=t.queryParams,i=e.queryParams,X(r,i)&&function t(e,n){if(!lt(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root)):(o=t.queryParams,a=e.queryParams,Object.keys(a).length<=Object.keys(o).length&&Object.keys(a).every(function(t){return a[t]===o[t]})&&it(t.root,e.root));var r,i,o,a}function it(t,e){return function t(e,n,r){{if(e.segments.length>r.length){var i=e.segments.slice(0,r.length);return!!lt(i,r)&&!n.hasChildren()}if(e.segments.length===r.length){if(!lt(e.segments,r))return!1;for(var o in n.children){if(!e.children[o])return!1;if(!it(e.children[o],n.children[o]))return!1}return!0}var i=r.slice(0,e.segments.length),a=r.slice(e.segments.length);return!!lt(e.segments,i)&&(!!e.children[U]&&t(e.children[U],n,a))}}(t,e,e.segments)}var ot=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=z(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return dt.serialize(this)},t}(),at=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,tt(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return 0<this.numberOfChildren},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ht(this)},t}(),st=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=z(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return bt(this)},t}();function lt(t,n){return t.length===n.length&&t.every(function(t,e){return t.path===n[e].path})}function ct(t,n){var r=[];return tt(t.children,function(t,e){e===U&&(r=r.concat(n(t,e)))}),tt(t.children,function(t,e){e!==U&&(r=r.concat(n(t,e)))}),r}var ut=function(){},pt=function(){function t(){}return t.prototype.parse=function(t){var e=new St(t);return new ot(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var n,e;return""+("/"+function n(r,t){if(!r.hasChildren())return ht(r);{if(t){var e=r.children[U]?n(r.children[U],!1):"",i=[];return tt(r.children,function(t,e){e!==U&&i.push(e+":"+n(t,!1))}),0<i.length?e+"("+i.join("//")+")":e}var o=ct(r,function(t,e){return e===U?[n(r.children[U],!1)]:[e+":"+n(t,!1)]});return ht(r)+"/("+o.join("//")+")"}}(t.root,!0))+(n=t.queryParams,(e=Object.keys(n).map(function(e){var t=n[e];return Array.isArray(t)?t.map(function(t){return mt(e)+"="+mt(t)}).join("&"):mt(e)+"="+mt(t)})).length?"?"+e.join("&"):"")+("string"==typeof t.fragment?"#"+mt(t.fragment):"")},t}(),dt=new pt;function ht(t){return t.segments.map(function(t){return bt(t)}).join("/")}function ft(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function mt(t){return ft(t).replace(/%3B/gi,";")}function gt(t){return ft(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function yt(t){return decodeURIComponent(t)}function vt(t){return yt(t.replace(/\+/g,"%20"))}function bt(t){return""+gt(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+gt(t)+"="+gt(e[t])}).join(""));var e}var _t=/^[^\/()?;=&#]+/;function wt(t){var e=t.match(_t);return e?e[0]:""}var Ct=/^[^=?&#]+/;var xt=/^[^?&#]+/;var St=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new at([],{}):new at([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))for(;this.parseQueryParam(t),this.consumeOptional("&"););return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(0<t.length||0<Object.keys(e).length)&&(n[U]=new at(t,e)),n},t.prototype.parseSegment=function(){var t=wt(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new st(yt(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=wt(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=wt(this.remaining);r&&(n=r,this.capture(n))}t[yt(e)]=yt(n)}},t.prototype.parseQueryParam=function(t){var e,n,r=(e=this.remaining,(n=e.match(Ct))?n[0]:"");if(r){this.capture(r);var i,o,a="";if(this.consumeOptional("=")){var s=(i=this.remaining,(o=i.match(xt))?o[0]:"");s&&(a=s,this.capture(a))}var l=vt(r),c=vt(a);if(t.hasOwnProperty(l)){var u=t[l];Array.isArray(u)||(u=[u],t[l]=u),u.push(c)}else t[l]=c}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&0<this.remaining.length;){var n=wt(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;-1<n.indexOf(":")?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=U);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[U]:new at([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),Et=function(t){this.segmentGroup=t||null},kt=function(t){this.urlTree=t};function Ot(e){return new o.Observable(function(t){return t.error(new Et(e))})}function Pt(e){return new o.Observable(function(t){return t.error(new kt(e))})}function At(e){return new o.Observable(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}function Dt(r){return new o.Observable(function(t){return t.error((e="Cannot load children because the guard of the route \"path: '"+r.path+"'\" returned false",(n=Error("NavigationCancelingError: "+e))[G]=!0,n));var e,n})}var Tt=function(){function t(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(p.NgModuleRef)}return t.prototype.apply=function(){var e=this,t=this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,U),n=E.map.call(t,function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)});return d._catch.call(n,function(t){if(t instanceof kt)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Et)throw e.noMatchError(t);throw t})},t.prototype.match=function(e){var n=this,t=this.expandSegmentGroup(this.ngModule,this.config,e.root,U),r=E.map.call(t,function(t){return n.createUrlTree(t,e.queryParams,e.fragment)});return d._catch.call(r,function(t){if(t instanceof Et)throw n.noMatchError(t);throw t})},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,i=0<t.segments.length?new at([],((r={})[U]=t,r)):t;return new ot(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?E.map.call(this.expandChildren(t,e,n),function(t){return new at([],t)}):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(n,r,t){var i=this;return function(t,r){if(0===Object.keys(t).length)return S.of({});var i=[],o=[],a={};tt(t,function(t,e){var n=E.map.call(r(e,t),function(t){return a[e]=t});e===U?i.push(n):o.push(n)});var e=h.concatAll.call(S.of.apply(void 0,i.concat(o))),n=l.last.call(e);return E.map.call(n,function(){return a})}(t.children,function(t,e){return i.expandSegmentGroup(n,r,e,t)})},t.prototype.expandSegment=function(n,r,i,o,a,s){var l=this,t=S.of.apply(void 0,i),e=E.map.call(t,function(t){var e=l.expandSegmentAgainstRoute(n,r,i,t,o,a,s);return d._catch.call(e,function(t){if(t instanceof Et)return S.of(null);throw t})}),c=h.concatAll.call(e),u=f.first.call(c,function(t){return!!t});return d._catch.call(u,function(t,e){if(t instanceof m.EmptyError||"EmptyError"===t.name){if(l.noLeftoversInUrl(r,o,a))return S.of(new at([],{}));throw new Et(r)}throw t})},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,a){return Nt(r)!==o?Ot(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Ot(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(n,r,t,i){var o=this,e=this.applyRedirectCommands([],t.redirectTo,{});return t.redirectTo.startsWith("/")?Pt(e):k.mergeMap.call(this.lineralizeSegments(t,e),function(t){var e=new at(t,{});return o.expandSegment(n,e,r,t,i,!1)})},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,n,r,t,i,o){var a=this,s=Mt(n,t,i),l=s.matched,c=s.consumedSegments,u=s.lastChild,p=s.positionalParamSegments;if(!l)return Ot(n);var d=this.applyRedirectCommands(c,t.redirectTo,p);return t.redirectTo.startsWith("/")?Pt(d):k.mergeMap.call(this.lineralizeSegments(t,d),function(t){return a.expandSegment(e,n,r,t.concat(i.slice(u)),o,!1)})},t.prototype.matchSegmentAgainstRoute=function(t,l,e,n){var c=this;if("**"===e.path)return e.loadChildren?E.map.call(this.configLoader.load(t.injector,e),function(t){return e._loadedConfig=t,new at(n,{})}):S.of(new at(n,{}));var r=Mt(l,e,n),i=r.matched,u=r.consumedSegments,o=r.lastChild;if(!i)return Ot(l);var p=n.slice(o),a=this.getChildConfig(t,e);return k.mergeMap.call(a,function(t){var e=t.module,n=t.routes,r=function(t,e,n,r){if(0<n.length&&(o=t,a=n,s=r,s.some(function(t){return Rt(o,a,t)&&Nt(t)!==U}))){var i=new at(e,function(t,e){var n={};n[U]=e;for(var r=0,i=t;r<i.length;r++){var o=i[r];""===o.path&&Nt(o)!==U&&(n[Nt(o)]=new at([],{}))}return n}(r,new at(n,t.children)));return{segmentGroup:It(i),slicedSegments:[]}}var o,a,s;if(0===n.length&&(l=t,c=n,u=r,u.some(function(t){return Rt(l,c,t)}))){var i=new at(t.segments,function(t,e,n,r){for(var i={},o=0,a=n;o<a.length;o++){var s=a[o];Rt(t,e,s)&&!r[Nt(s)]&&(i[Nt(s)]=new at([],{}))}return C({},r,i)}(t,n,r,t.children));return{segmentGroup:It(i),slicedSegments:n}}var l,c,u;return{segmentGroup:t,slicedSegments:n}}(l,u,p,n),i=r.segmentGroup,o=r.slicedSegments;if(0===o.length&&i.hasChildren()){var a=c.expandChildren(e,n,i);return E.map.call(a,function(t){return new at(u,t)})}if(0===n.length&&0===o.length)return S.of(new at(u,{}));var s=c.expandSegment(e,i,n,o,U,!0);return E.map.call(s,function(t){return new at(u.concat(t.segments),t.children)})})},t.prototype.getChildConfig=function(e,n){var r,i,t,o=this;return n.children?S.of(new q(n.children,e)):n.loadChildren?void 0!==n._loadedConfig?S.of(n._loadedConfig):k.mergeMap.call((r=e.injector,(t=(i=n).canLoad)&&0!==t.length?et(E.map.call(s.from(t),function(t){var e=r.get(t);return nt(e.canLoad?e.canLoad(i):e(i))})):S.of(!0)),function(t){return t?E.map.call(o.configLoader.load(e.injector,n),function(t){return n._loadedConfig=t}):Dt(n)}):S.of(new q([],e))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return S.of(n);if(1<r.numberOfChildren||!r.children[U])return At(t.redirectTo);r=r.children[U]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new ot(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,r){var i={};return tt(t,function(t,e){if("string"==typeof t&&t.startsWith(":")){var n=t.substring(1);i[e]=r[n]}else i[e]=t}),i},t.prototype.createSegmentGroup=function(n,t,r,i){var o=this,e=this.createSegments(n,t.segments,r,i),a={};return tt(t.children,function(t,e){a[e]=o.createSegmentGroup(n,t,r,i)}),new at(e,a)},t.prototype.createSegments=function(e,t,n,r){var i=this;return t.map(function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){for(var n=0,r=0,i=e;r<i.length;r++){var o=i[r];if(o.path===t.path)return e.splice(n),o;n++}return t},t}();function Mt(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||0<n.length)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||W)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function It(t){if(1===t.numberOfChildren&&t.children[U]){var e=t.children[U];return new at(t.segments.concat(e.segments),e.children)}return t}function Rt(t,e,n){return(!(t.hasChildren()||0<e.length)||"full"!==n.pathMatch)&&(""===n.path&&void 0!==n.redirectTo)}function Nt(t){return t.outlet||U}var Lt=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return 1<e.length?e[e.length-2]:null},t.prototype.children=function(t){var e=jt(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=jt(t,this._root);return e&&0<e.children.length?e.children[0].value:null},t.prototype.siblings=function(e){var t=Ft(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(t){return t.value}).filter(function(t){return t!==e})},t.prototype.pathFromRoot=function(t){return Ft(t,this._root).map(function(t){return t.value})},t}();function jt(t,e){if(t===e.value)return e;for(var n=0,r=e.children;n<r.length;n++){var i=jt(t,r[n]);if(i)return i}return null}function Ft(t,e){if(t===e.value)return[e];for(var n=0,r=e.children;n<r.length;n++){var i=Ft(t,r[n]);if(i.length)return i.unshift(e),i}return[]}var Vt=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Bt(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Ut=function(r){function t(t,e){var n=r.call(this,t)||this;return n.snapshot=e,Yt(n,t),n}return w(t,r),t.prototype.toString=function(){return this.snapshot.toString()},t}(Lt);function Ht(t,e){var n,r=(n=new Wt([],{},{},"",{},U,e,null,t.root,-1,{}),new qt("",new Vt(n,[]))),i=new u.BehaviorSubject([new st("",{})]),o=new u.BehaviorSubject({}),a=new u.BehaviorSubject({}),s=new u.BehaviorSubject({}),l=new u.BehaviorSubject(""),c=new zt(i,o,s,l,a,U,e,r.root);return c.snapshot=r.root,new Ut(new Vt(c,[]),r)}var zt=function(){function t(t,e,n,r,i,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=E.map.call(this.params,function(t){return z(t)})),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=E.map.call(this.queryParams,function(t){return z(t)})),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Gt(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;1<=r;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return n.slice(r).reduce(function(t,e){var n=C({},t.params,e.params),r=C({},t.data,e.data),i=C({},t.resolve,e._resolvedData);return{params:n,data:r,resolve:i}},{params:{},data:{},resolve:{}})}var Wt=function(){function t(t,e,n,r,i,o,a,s,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=z(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=z(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),qt=function(r){function t(t,e){var n=r.call(this,e)||this;return n.url=t,Yt(n,e),n}return w(t,r),t.prototype.toString=function(){return $t(this._root)},t}(Lt);function Yt(e,t){t.value._routerState=e,t.children.forEach(function(t){return Yt(e,t)})}function $t(t){var e=0<t.children.length?" { "+t.children.map($t).join(", ")+" } ":"";return""+t.value+e}function Kt(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,X(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),X(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!X(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),X(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Qt(t,e){var n,r,i=X(t.params,e.params)&&(n=t.url,r=e.url,lt(n,r)&&n.every(function(t,e){return X(t.parameters,r[e].parameters)})),o=!t.parent!=!e.parent;return i&&!o&&(!t.parent||Qt(t.parent,e.parent))}function Xt(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){(l=n.value)._futureSnapshot=t.value;var r=(a=e,s=n,t.children.map(function(t){for(var e=0,n=s.children;e<n.length;e++){var r=n[e];if(a.shouldReuseRoute(r.value.snapshot,t.value))return Xt(a,t,r)}return Xt(a,t)}));return new Vt(l,r)}if(e.retrieve(t.value)){var i=e.retrieve(t.value).route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r<e.children.length;++r)t(e.children[r],n.children[r])}(t,i),i}var o,a,s,l=(o=t.value,new zt(new u.BehaviorSubject(o.url),new u.BehaviorSubject(o.params),new u.BehaviorSubject(o.queryParams),new u.BehaviorSubject(o.fragment),new u.BehaviorSubject(o.data),o.outlet,o.component,o));r=t.children.map(function(t){return Xt(e,t)});return new Vt(l,r)}function Zt(t,e,n,r,i){if(0===n.length)return te(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new ee(!0,0,t);var i=0,o=!1,e=t.reduce(function(n,t,e){if("object"==typeof t&&null!=t){if(t.outlets){var r={};return tt(t.outlets,function(t,e){r[e]="string"==typeof t?t.split("/"):t}),n.concat([{outlets:r}])}if(t.segmentPath)return n.concat([t.segmentPath])}return"string"!=typeof t?n.concat([t]):0===e?(t.split("/").forEach(function(t,e){0==e&&"."===t||(0==e&&""===t?o=!0:".."===t?i++:""!=t&&n.push(t))}),n):n.concat([t])},[]);return new ee(o,i,e)}(n);if(o.toRoot())return te(e.root,new at([],{}),e,r,i);var a=function(t,e,n){if(t.isAbsolute)return new ne(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new ne(n.snapshot._urlSegment,!0,0);var r=Jt(t.commands[0])?0:1,i=n.snapshot._lastPathIndex+r;return function(t,e,n){var r=t,i=e,o=n;for(;i<o;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new ne(r,!1,i-o)}(n.snapshot._urlSegment,i,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?oe(a.segmentGroup,a.index,o.commands):ie(a.segmentGroup,a.index,o.commands);return te(a.segmentGroup,s,e,r,i)}function Jt(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function te(t,e,n,r,i){var o={};return r&&tt(r,function(t,e){o[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),n.root===t?new ot(e,o,i):new ot(function n(t,r,i){var o={};tt(t.children,function(t,e){o[e]=t===r?i:n(t,r,i)});return new at(t.segments,o)}(n.root,t,e),o,i)}var ee=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&0<n.length&&Jt(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==J(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}();var ne=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function re(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[U]:""+t}function ie(t,e,n){if(t||(t=new at([],{})),0===t.segments.length&&t.hasChildren())return oe(t,e,n);var r=function(t,e,n){var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(r>=n.length)return o;var a=t.segments[i],s=re(n[r]),l=r<n.length-1?n[r+1]:null;if(0<i&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!ce(s,l,a))return o;r+=2}else{if(!ce(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<t.segments.length){var o=new at(t.segments.slice(0,r.pathIndex),{});return o.children[U]=new at(t.segments.slice(r.pathIndex),t.children),oe(o,0,i)}return r.match&&0===i.length?new at(t.segments,{}):r.match&&!t.hasChildren()?ae(t,e,n):r.match?oe(t,0,i):ae(t,e,n)}function oe(n,r,t){if(0===t.length)return new at(n.segments,{});var e,i,o,a="object"!=typeof(e=t)[0]?((i={})[U]=e,i):void 0===e[0].outlets?((o={})[U]=e,o):e[0].outlets,s={};return tt(a,function(t,e){null!==t&&(s[e]=ie(n.children[e],r,t))}),tt(n.children,function(t,e){void 0===a[e]&&(s[e]=t)}),new at(n.segments,s)}function ae(t,e,n){for(var r=t.segments.slice(0,e),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=se(n[i].outlets);return new at(r,o)}if(0===i&&Jt(n[0])){var a=t.segments[e];r.push(new st(a.path,n[0])),i++}else{var s=re(n[i]),l=i<n.length-1?n[i+1]:null;s&&l&&Jt(l)?(r.push(new st(s,le(l))),i+=2):(r.push(new st(s,{})),i++)}}return new at(r,{})}function se(t){var n={};return tt(t,function(t,e){null!==t&&(n[e]=ae(new at([],{}),0,t))}),n}function le(t){var n={};return tt(t,function(t,e){return n[e]=""+t}),n}function ce(t,e,n){return t==n.path&&X(e,n.parameters)}var ue=function(t){this.path=t,this.route=this.path[this.path.length-1]},pe=function(t,e){this.component=t,this.route=e},de=function(){function t(t,e,n,r){this.future=t,this.curr=e,this.moduleInjector=n,this.forwardEvent=r,this.canActivateChecks=[],this.canDeactivateChecks=[]}return t.prototype.initialize=function(t){var e=this.future._root,n=this.curr?this.curr._root:null;this.setupChildRouteGuards(e,n,t,[e.value])},t.prototype.checkGuards=function(){var e=this;if(!this.isDeactivating()&&!this.isActivating())return S.of(!0);var t=this.runCanDeactivateChecks();return k.mergeMap.call(t,function(t){return t?e.runCanActivateChecks():S.of(!1)})},t.prototype.resolveData=function(e){var n=this;if(!this.isActivating())return S.of(null);var t=s.from(this.canActivateChecks),r=i.concatMap.call(t,function(t){return n.runResolve(t.route,e)});return y.reduce.call(r,function(t,e){return t})},t.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},t.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},t.prototype.setupChildRouteGuards=function(t,e,n,r){var i=this,o=Bt(e);t.children.forEach(function(t){i.setupRouteGuards(t,o[t.value.outlet],n,r.concat([t.value])),delete o[t.value.outlet]}),tt(o,function(t,e){return i.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.setupRouteGuards=function(t,e,n,r){var i=t.value,o=e?e.value:null,a=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){var s=this.shouldRunGuardsAndResolvers(o,i,i.routeConfig.runGuardsAndResolvers);if(s?this.canActivateChecks.push(new ue(r)):(i.data=o.data,i._resolvedData=o._resolvedData),i.component?this.setupChildRouteGuards(t,e,a?a.children:null,r):this.setupChildRouteGuards(t,e,n,r),s){var l=a.outlet;this.canDeactivateChecks.push(new pe(l.component,o))}}else o&&this.deactivateRouteAndItsChildren(e,a),this.canActivateChecks.push(new ue(r)),i.component?this.setupChildRouteGuards(t,null,a?a.children:null,r):this.setupChildRouteGuards(t,null,n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!Qt(t,e)||!X(t.queryParams,e.queryParams);case"paramsChange":default:return!Qt(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,n){var r=this,e=Bt(t),i=t.value;tt(e,function(t,e){i.component?n?r.deactivateRouteAndItsChildren(t,n.children.getContext(e)):r.deactivateRouteAndItsChildren(t,null):r.deactivateRouteAndItsChildren(t,n)}),i.component&&n&&n.outlet&&n.outlet.isActivated?this.canDeactivateChecks.push(new pe(n.outlet.component,i)):this.canDeactivateChecks.push(new pe(null,i))},t.prototype.runCanDeactivateChecks=function(){var e=this,t=s.from(this.canDeactivateChecks),n=k.mergeMap.call(t,function(t){return e.runCanDeactivate(t.component,t.route)});return a.every.call(n,function(t){return!0===t})},t.prototype.runCanActivateChecks=function(){var e=this,t=s.from(this.canActivateChecks),n=i.concatMap.call(t,function(t){return et(s.from([e.fireChildActivationStart(t.route.parent),e.fireActivationStart(t.route),e.runCanActivateChild(t.path),e.runCanActivate(t.route)]))});return a.every.call(n,function(t){return!0===t})},t.prototype.fireActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new V(t)),S.of(!0)},t.prototype.fireChildActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new j(t)),S.of(!0)},t.prototype.runCanActivate=function(r){var i=this,t=r.routeConfig?r.routeConfig.canActivate:null;return t&&0!==t.length?et(E.map.call(s.from(t),function(t){var e,n=i.getToken(t,r);return e=n.canActivate?nt(n.canActivate(r,i.future)):nt(n(r,i.future)),f.first.call(e)})):S.of(!0)},t.prototype.runCanActivateChild=function(t){var i=this,o=t[t.length-1],e=t.slice(0,t.length-1).reverse().map(function(t){return i.extractCanActivateChild(t)}).filter(function(t){return null!==t});return et(E.map.call(s.from(e),function(r){return et(E.map.call(s.from(r.guards),function(t){var e,n=i.getToken(t,r.node);return e=n.canActivateChild?nt(n.canActivateChild(o,i.future)):nt(n(o,i.future)),f.first.call(e)}))}))},t.prototype.extractCanActivateChild=function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(r,i){var o=this,t=i&&i.routeConfig?i.routeConfig.canDeactivate:null;if(!t||0===t.length)return S.of(!0);var e=k.mergeMap.call(s.from(t),function(t){var e,n=o.getToken(t,i);return e=n.canDeactivate?nt(n.canDeactivate(r,i,o.curr,o.future)):nt(n(r,i,o.curr,o.future)),f.first.call(e)});return a.every.call(e,function(t){return!0===t})},t.prototype.runResolve=function(e,n){var t=e._resolve;return E.map.call(this.resolveNode(t,e),function(t){return e._resolvedData=t,e.data=C({},e.data,Gt(e,n).resolve),null})},t.prototype.resolveNode=function(t,n){var r=this,e=Object.keys(t);if(0===e.length)return S.of({});if(1===e.length){var i=e[0];return E.map.call(this.getResolver(t[i],n),function(t){return(e={})[i]=t,e;var e})}var o={},a=k.mergeMap.call(s.from(e),function(e){return E.map.call(r.getResolver(t[e],n),function(t){return o[e]=t})});return E.map.call(l.last.call(a),function(){return o})},t.prototype.getResolver=function(t,e){var n=this.getToken(t,e);return n.resolve?nt(n.resolve(e,this.future)):nt(n(e,this.future))},t.prototype.getToken=function(t,e){var n=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}();var he=function(){};var fe=function(){function t(t,e,n,r,i){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i}return t.prototype.recognize=function(){try{var t=ye(this.urlTree.root,[],[],this.config).segmentGroup,e=this.processSegmentGroup(this.config,t,U),n=new Wt([],Object.freeze({}),Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,{},U,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Vt(n,e),i=new qt(this.url,r);return this.inheritParamsAndData(i._root),S.of(i)}catch(e){return new o.Observable(function(t){return t.error(e)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=Gt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(n,t){var i,r=this,e=ct(t,function(t,e){return r.processSegmentGroup(n,t,e)});return i={},e.forEach(function(t){var e=i[t.value.outlet];if(e){var n=e.url.map(function(t){return t.toString()}).join("/"),r=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+n+"' and '"+r+"'.")}i[t.value.outlet]=t.value}),e.sort(function(t,e){return t.value.outlet===U?-1:e.value.outlet===U?1:t.value.outlet.localeCompare(e.value.outlet)}),e},t.prototype.processSegment=function(t,e,n,r){for(var i=0,o=t;i<o.length;i++){var a=o[i];try{return this.processSegmentAgainstRoute(a,e,n,r)}catch(t){if(!(t instanceof he))throw t}}if(this.noLeftoversInUrl(e,n,r))return[];throw new he},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new he;if((t.outlet||U)!==r)throw new he;var i,o=[],a=[];if("**"===t.path){var s=0<n.length?J(n).parameters:{};i=new Wt(n,s,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,_e(t),r,t.component,t,me(e),ge(e)+n.length,we(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||0<n.length))throw new he;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||W)(n,t,e);if(!r)throw new he;var i={};tt(r.posParams,function(t,e){i[e]=t.path});var o=0<r.consumed.length?C({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(e,t,n);o=l.consumedSegments,a=n.slice(l.lastChild),i=new Wt(o,l.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,_e(t),r,t.component,t,me(e),ge(e)+o.length,we(t))}var c=function(t){if(t.children)return t.children;if(t.loadChildren)return t._loadedConfig.routes;return[]}(t),u=ye(e,o,a,c),p=u.segmentGroup,d=u.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(c,p);return[new Vt(i,h)]}if(0===c.length&&0===d.length)return[new Vt(i,[])];var f=this.processSegment(c,p,d,U);return[new Vt(i,f)]},t}();function me(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function ge(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function ye(t,e,n,r){if(0<n.length&&(o=t,a=n,r.some(function(t){return ve(o,a,t)&&be(t)!==U}))){var i=new at(e,function(t,e,n,r){var i={};(i[U]=r)._sourceSegment=t,r._segmentIndexShift=e.length;for(var o=0,a=n;o<a.length;o++){var s=a[o];if(""===s.path&&be(s)!==U){var l=new at([],{});l._sourceSegment=t,l._segmentIndexShift=e.length,i[be(s)]=l}}return i}(t,e,r,new at(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}var o,a,s,l;if(0===n.length&&(s=t,l=n,r.some(function(t){return ve(s,l,t)}))){var c=new at(t.segments,function(t,e,n,r){for(var i={},o=0,a=n;o<a.length;o++){var s=a[o];if(ve(t,e,s)&&!r[be(s)]){var l=new at([],{});l._sourceSegment=t,l._segmentIndexShift=t.segments.length,i[be(s)]=l}}return C({},r,i)}(t,n,r,t.children));return c._sourceSegment=t,c._segmentIndexShift=e.length,{segmentGroup:c,slicedSegments:n}}var u=new at(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function ve(t,e,n){return(!(t.hasChildren()||0<e.length)||"full"!==n.pathMatch)&&(""===n.path&&void 0===n.redirectTo)}function be(t){return t.outlet||U}function _e(t){return t.data||{}}function we(t){return t.resolve||{}}var Ce=function(){},xe=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),Se=new p.InjectionToken("ROUTES"),Ee=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(n,r){var i=this;this.onLoadStartListener&&this.onLoadStartListener(r);var t=this.loadModuleFactory(r.loadChildren);return E.map.call(t,function(t){i.onLoadEndListener&&i.onLoadEndListener(r);var e=t.create(n);return new q(Z(e.injector.get(Se)).map(Q),e)})},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?n.fromPromise(this.loader.load(t)):k.mergeMap.call(nt(t()),function(t){return t instanceof p.NgModuleFactory?S.of(t):n.fromPromise(e.compiler.compileModuleAsync(t))})},t}(),ke=function(){},Oe=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function Pe(t){throw t}function Ae(t){return S.of(null)}var De=function(){function t(t,e,n,r,i,o,a,s){var l=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=s,this.navigations=new u.BehaviorSubject(null),this.navigationId=0,this.events=new c.Subject,this.errorHandler=Pe,this.navigated=!1,this.hooks={beforePreactivation:Ae,afterPreactivation:Ae},this.urlHandlingStrategy=new Oe,this.routeReuseStrategy=new xe,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly";this.ngModule=i.get(p.NgModuleRef),this.resetConfig(s),this.currentUrlTree=new ot(new at([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Ee(o,a,function(t){return l.triggerEvent(new N(t))},function(t){return l.triggerEvent(new L(t))}),this.routerState=Ht(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var r=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var e=r.urlSerializer.parse(t.url),n="popstate"===t.type?"popstate":"hashchange";setTimeout(function(){r.scheduleNavigation(e,n,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Y(t),this.config=t.map(Q),this.navigated=!1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,i=e.fragment,o=e.preserveQueryParams,a=e.queryParamsHandling,s=e.preserveFragment;p.isDevMode()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,c=s?this.currentUrlTree.fragment:i,u=null;if(a)switch(a){case"merge":u=C({},this.currentUrlTree.queryParams,r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=o?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),Zt(l,this.currentUrlTree,t,u,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1});var n=t instanceof ot?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){return this.urlSerializer.parse(t)},t.prototype.isActive=function(t,e){if(t instanceof ot)return rt(this.currentUrlTree,t,e);var n=this.urlSerializer.parse(t);return rt(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(r){return Object.keys(r).reduce(function(t,e){var n=r[e];return null!=n&&(t[e]=n),t},{})},t.prototype.processNavigations=function(){var e=this;i.concatMap.call(this.navigations,function(t){return t?(e.executeScheduledNavigation(t),t.promise.catch(function(){})):S.of(null)}).subscribe(function(){})},t.prototype.scheduleNavigation=function(t,e,n){var r=this.navigations.value;if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"popstate"==e&&"hashchange"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);var i=null,o=null,a=new Promise(function(t,e){i=t,o=e}),s=++this.navigationId;return this.navigations.next({id:s,source:e,rawUrl:t,extras:n,resolve:i,reject:o,promise:a}),a.catch(function(t){return Promise.reject(t)})},t.prototype.executeScheduledNavigation=function(t){var e=this,n=t.id,r=t.rawUrl,i=t.extras,o=t.resolve,a=t.reject,s=this.urlHandlingStrategy.extract(r),l=!this.navigated||s.toString()!==this.currentUrlTree.toString();("reload"===this.onSameUrlNavigation||l)&&this.urlHandlingStrategy.shouldProcessUrl(r)?(this.events.next(new x(n,this.serializeUrl(s))),Promise.resolve().then(function(t){return e.runNavigate(s,r,!!i.skipLocationChange,!!i.replaceUrl,n,null)}).then(o,a)):l&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)?(this.events.next(new x(n,this.serializeUrl(s))),Promise.resolve().then(function(t){return e.runNavigate(s,r,!1,!1,n,Ht(s,e.rootComponentType).snapshot)}).then(o,a)):(this.rawUrlTree=r,o(null))},t.prototype.runNavigate=function(y,v,b,_,w,C){var x=this;return w!==this.navigationId?(this.events.next(new P(w,this.serializeUrl(y),"Navigation ID "+w+" is not equal to the current navigation id "+this.navigationId)),Promise.resolve(!1)):new Promise(function(t,e){var n,r,i,o,a,s;if(C)n=S.of({appliedUrl:y,snapshot:C});else{var l=x.ngModule.injector,c=(r=l,i=x.configLoader,o=x.urlSerializer,a=y,s=x.config,new Tt(r,i,o,a,s).apply());n=k.mergeMap.call(c,function(e){return E.map.call((t=x.rootComponentType,n=x.config,r=e,i=x.serializeUrl(e),void 0===(o=x.paramsInheritanceStrategy)&&(o="emptyOnly"),new fe(t,n,r,i,o).recognize()),function(t){return x.events.next(new D(w,x.serializeUrl(y),x.serializeUrl(e),t)),{appliedUrl:e,snapshot:t}});var t,n,r,i,o})}var u,p=k.mergeMap.call(n,function(t){return E.map.call(x.hooks.beforePreactivation(t.snapshot),function(){return t})}),d=E.map.call(p,function(t){var e=t.appliedUrl,n=t.snapshot,r=x.ngModule.injector;return(u=new de(n,x.routerState.snapshot,r,function(t){return x.triggerEvent(t)})).initialize(x.rootContexts),{appliedUrl:e,snapshot:n}}),h=k.mergeMap.call(d,function(t){var e=t.appliedUrl,n=t.snapshot;return x.navigationId!==w?S.of(!1):(x.triggerEvent(new T(w,x.serializeUrl(y),e,n)),E.map.call(u.checkGuards(),function(t){return x.triggerEvent(new M(w,x.serializeUrl(y),e,n,t)),{appliedUrl:e,snapshot:n,shouldActivate:t}}))}),f=k.mergeMap.call(h,function(t){return x.navigationId!==w?S.of(!1):t.shouldActivate&&u.isActivating()?(x.triggerEvent(new I(w,x.serializeUrl(y),t.appliedUrl,t.snapshot)),E.map.call(u.resolveData(x.paramsInheritanceStrategy),function(){return x.triggerEvent(new R(w,x.serializeUrl(y),t.appliedUrl,t.snapshot)),t})):S.of(t)}),m=k.mergeMap.call(f,function(t){return E.map.call(x.hooks.afterPreactivation(t.snapshot),function(){return t})}),g=E.map.call(m,function(t){var e,n,r,i,o=t.appliedUrl,a=t.snapshot,s=t.shouldActivate;return s?{appliedUrl:o,state:(e=x.routeReuseStrategy,n=a,r=x.routerState,i=Xt(e,n._root,r?r._root:void 0),new Ut(i,n)),shouldActivate:s}:{appliedUrl:o,state:null,shouldActivate:s}});x.activateRoutes(g,x.routerState,x.currentUrlTree,w,y,v,b,_,t,e)})},t.prototype.activateRoutes=function(t,i,n,o,r,a,s,l,c,u){var p,d=this;t.forEach(function(t){var e=t.appliedUrl,n=t.state;if(t.shouldActivate&&o===d.navigationId){if(d.currentUrlTree=e,d.rawUrlTree=d.urlHandlingStrategy.merge(d.currentUrlTree,a),d.routerState=n,!s){var r=d.urlSerializer.serialize(d.rawUrlTree);d.location.isCurrentPathEqualTo(r)||l?d.location.replaceState(r):d.location.go(r)}new Te(d.routeReuseStrategy,n,i,function(t){return d.triggerEvent(t)}).activate(d.rootContexts),p=!0}else p=!1}).then(function(){p?(d.navigated=!0,d.events.next(new O(o,d.serializeUrl(r),d.serializeUrl(d.currentUrlTree))),c(!0)):(d.resetUrlToCurrentUrlTree(),d.events.next(new P(o,d.serializeUrl(r),"")),c(!1))},function(t){if((e=t)&&e[G])d.navigated=!0,d.resetStateAndUrl(i,n,a),d.events.next(new P(o,d.serializeUrl(r),t.message)),c(!1);else{d.resetStateAndUrl(i,n,a),d.events.next(new A(o,d.serializeUrl(r),t));try{c(d.errorHandler(t))}catch(t){u(t)}}var e})},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree))},t}(),Te=function(){function t(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Kt(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var r=this,i=Bt(e);t.children.forEach(function(t){var e=t.value.outlet;r.deactivateRoutes(t,i[e],n),delete i[e]}),tt(i,function(t,e){r.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:r,route:t,contexts:i})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,r=e.getContext(t.value.outlet);if(r){var i=Bt(t),o=t.value.component?r.children:e;tt(i,function(t,e){return n.deactivateRouteAndItsChildren(t,o)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var r=this,i=Bt(e);t.children.forEach(function(t){r.activateRoutes(t,i[t.value.outlet],n),r.forwardEvent(new B(t.value.snapshot))}),t.children.length&&this.forwardEvent(new F(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var r=t.value,i=e?e.value:null;if(Kt(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,n);else if(r.component){o=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var a=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),Me(a.route)}else{var s=function(t){for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),l=s?s.module.componentFactoryResolver:null;o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(t,null,o.children)}}else this.activateChildRoutes(t,null,n)},t}();function Me(t){Kt(t.value),t.children.forEach(Me)}var Ie=function(){function t(t,e,n,r,i){this.router=t,this.route=e,this.commands=[],null==n&&r.setAttribute(i.nativeElement,"tabindex","0")}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){p.isDevMode()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:Ne(this.skipLocationChange),replaceUrl:Ne(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ne(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ne(this.preserveFragment)})},enumerable:!0,configurable:!0}),t.decorators=[{type:p.Directive,args:[{selector:":not(a)[routerLink]"}]}],t.ctorParameters=function(){return[{type:De},{type:zt},{type:void 0,decorators:[{type:p.Attribute,args:["tabindex"]}]},{type:p.Renderer2},{type:p.ElementRef}]},t.propDecorators={queryParams:[{type:p.Input}],fragment:[{type:p.Input}],queryParamsHandling:[{type:p.Input}],preserveFragment:[{type:p.Input}],skipLocationChange:[{type:p.Input}],replaceUrl:[{type:p.Input}],routerLink:[{type:p.Input}],preserveQueryParams:[{type:p.Input}],onClick:[{type:p.HostListener,args:["click"]}]},t}(),Re=function(){function t(t,e,n){var r=this;this.router=t,this.route=e,this.locationStrategy=n,this.commands=[],this.subscription=t.events.subscribe(function(t){t instanceof O&&r.updateTargetUrlAndHref()})}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){p.isDevMode()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.updateTargetUrlAndHref()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.onClick=function(t,e,n,r){if(0!==t||e||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:Ne(this.skipLocationChange),replaceUrl:Ne(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,i),!1},t.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Ne(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Ne(this.preserveFragment)})},enumerable:!0,configurable:!0}),t.decorators=[{type:p.Directive,args:[{selector:"a[routerLink]"}]}],t.ctorParameters=function(){return[{type:De},{type:zt},{type:r.LocationStrategy}]},t.propDecorators={target:[{type:p.HostBinding,args:["attr.target"]},{type:p.Input}],queryParams:[{type:p.Input}],fragment:[{type:p.Input}],queryParamsHandling:[{type:p.Input}],preserveFragment:[{type:p.Input}],skipLocationChange:[{type:p.Input}],replaceUrl:[{type:p.Input}],href:[{type:p.HostBinding}],routerLink:[{type:p.Input}],preserveQueryParams:[{type:p.Input}],onClick:[{type:p.HostListener,args:["click",["$event.button","$event.ctrlKey","$event.metaKey","$event.shiftKey"]]}]},t}();function Ne(t){return""===t||!!t}var Le=function(){function t(t,e,n,r){var i=this;this.router=t,this.element=e,this.renderer=n,this.cdr=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe(function(t){t instanceof O&&i.update()})}return t.prototype.ngAfterContentInit=function(){var e=this;this.links.changes.subscribe(function(t){return e.update()}),this.linksWithHrefs.changes.subscribe(function(t){return e.update()}),this.update()},Object.defineProperty(t.prototype,"routerLinkActive",{set:function(t){var e=Array.isArray(t)?t:t.split(" ");this.classes=e.filter(function(t){return!!t})},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){this.update()},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.update=function(){var n=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(function(){var e=n.hasActiveLinks();n.isActive!==e&&(n.isActive=e,n.classes.forEach(function(t){e?n.renderer.addClass(n.element.nativeElement,t):n.renderer.removeClass(n.element.nativeElement,t)}))})},t.prototype.isLinkActive=function(e){var n=this;return function(t){return e.isActive(t.urlTree,n.routerLinkActiveOptions.exact)}},t.prototype.hasActiveLinks=function(){return this.links.some(this.isLinkActive(this.router))||this.linksWithHrefs.some(this.isLinkActive(this.router))},t.decorators=[{type:p.Directive,args:[{selector:"[routerLinkActive]",exportAs:"routerLinkActive"}]}],t.ctorParameters=function(){return[{type:De},{type:p.ElementRef},{type:p.Renderer2},{type:p.ChangeDetectorRef}]},t.propDecorators={links:[{type:p.ContentChildren,args:[Ie,{descendants:!0}]}],linksWithHrefs:[{type:p.ContentChildren,args:[Re,{descendants:!0}]}],routerLinkActiveOptions:[{type:p.Input}],routerLinkActive:[{type:p.Input}]},t}(),je=function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Fe,this.attachRef=null},Fe=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new je,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Ve=function(){function t(t,e,n,r,i){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.EventEmitter,this.deactivateEvents=new p.EventEmitter,this.name=r||U,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");var n=(this._activatedRoute=t)._futureSnapshot.routeConfig.component,r=(e=e||this.resolver).resolveComponentFactory(n),i=this.parentContexts.getOrCreateContext(this.name).children,o=new Be(t,i,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t.decorators=[{type:p.Directive,args:[{selector:"router-outlet",exportAs:"outlet"}]}],t.ctorParameters=function(){return[{type:Fe},{type:p.ViewContainerRef},{type:p.ComponentFactoryResolver},{type:void 0,decorators:[{type:p.Attribute,args:["name"]}]},{type:p.ChangeDetectorRef}]},t.propDecorators={activateEvents:[{type:p.Output,args:["activate"]}],deactivateEvents:[{type:p.Output,args:["deactivate"]}]},t}(),Be=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===zt?this.route:t===Fe?this.childContexts:this.parent.get(t,e)},t}(),Ue=function(){},He=function(){function t(){}return t.prototype.preload=function(t,e){return d._catch.call(e(),function(){return S.of(null)})},t}(),ze=function(){function t(){}return t.prototype.preload=function(t,e){return S.of(null)},t}(),Ge=function(){function t(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i;this.loader=new Ee(t,n,function(t){return e.triggerEvent(new N(t))},function(t){return e.triggerEvent(new L(t))})}return t.prototype.setUpPreloading=function(){var t=this,e=b.filter.call(this.router.events,function(t){return t instanceof O});this.subscription=i.concatMap.call(e,function(){return t.preload()}).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(p.NgModuleRef);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){for(var n=[],r=0,i=e;r<i.length;r++){var o=i[r];if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var a=o._loadedConfig;n.push(this.processRoutes(a.module,a.routes))}else o.loadChildren&&!o.canLoad?n.push(this.preloadConfig(t,o)):o.children&&n.push(this.processRoutes(t,o.children))}return g.mergeAll.call(s.from(n))},t.prototype.preloadConfig=function(e,n){var r=this;return this.preloadingStrategy.preload(n,function(){var t=r.loader.load(e.injector,n);return k.mergeMap.call(t,function(t){return n._loadedConfig=t,r.processRoutes(t.module,t.routes)})})},t.decorators=[{type:p.Injectable}],t.ctorParameters=function(){return[{type:De},{type:p.NgModuleFactoryLoader},{type:p.Compiler},{type:p.Injector},{type:Ue}]},t}(),We=[Ve,Ie,Re,Le],qe=new p.InjectionToken("ROUTER_CONFIGURATION"),Ye=new p.InjectionToken("ROUTER_FORROOT_GUARD"),$e=[r.Location,{provide:ut,useClass:pt},{provide:De,useFactory:tn,deps:[p.ApplicationRef,ut,Fe,r.Location,p.Injector,p.NgModuleFactoryLoader,p.Compiler,Se,qe,[ke,new p.Optional],[Ce,new p.Optional]]},Fe,{provide:zt,useFactory:en,deps:[De]},{provide:p.NgModuleFactoryLoader,useClass:p.SystemJsNgModuleLoader},Ge,ze,He,{provide:qe,useValue:{enableTracing:!1}}];function Ke(){return new p.NgProbeToken("Router",De)}var Qe=function(){function n(t,e){}return n.forRoot=function(t,e){return{ngModule:n,providers:[$e,Je(t),{provide:Ye,useFactory:Ze,deps:[[De,new p.Optional,new p.SkipSelf]]},{provide:qe,useValue:e||{}},{provide:r.LocationStrategy,useFactory:Xe,deps:[r.PlatformLocation,[new p.Inject(r.APP_BASE_HREF),new p.Optional],qe]},{provide:Ue,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:ze},{provide:p.NgProbeToken,multi:!0,useFactory:Ke},sn()]}},n.forChild=function(t){return{ngModule:n,providers:[Je(t)]}},n.decorators=[{type:p.NgModule,args:[{declarations:We,exports:We}]}],n.ctorParameters=function(){return[{type:void 0,decorators:[{type:p.Optional},{type:p.Inject,args:[Ye]}]},{type:De,decorators:[{type:p.Optional}]}]},n}();function Xe(t,e,n){return void 0===n&&(n={}),n.useHash?new r.HashLocationStrategy(t,e):new r.PathLocationStrategy(t,e)}function Ze(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Je(t){return[{provide:p.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:t},{provide:Se,multi:!0,useValue:t}]}function tn(t,e,n,r,i,o,a,s,l,c,u){void 0===l&&(l={});var p=new De(null,e,n,r,i,o,a,Z(s));if(c&&(p.urlHandlingStrategy=c),u&&(p.routeReuseStrategy=u),l.errorHandler&&(p.errorHandler=l.errorHandler),l.enableTracing){var d=v.ɵgetDOM();p.events.subscribe(function(t){d.logGroup("Router Event: "+t.constructor.name),d.log(t.toString()),d.log(t),d.logGroupEnd()})}return l.onSameUrlNavigation&&(p.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(p.paramsInheritanceStrategy=l.paramsInheritanceStrategy),p}function en(t){return t.routerState.root}var nn=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new c.Subject}return t.prototype.appInitializer=function(){var i=this;return this.injector.get(r.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var e=null,t=new Promise(function(t){return e=t}),n=i.injector.get(De),r=i.injector.get(qe);if(i.isLegacyDisabled(r)||i.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '"+r.initialNavigation+"'");n.hooks.afterPreactivation=function(){return i.initNavigation?S.of(null):(i.initNavigation=!0,e(!0),i.resultOfPreactivationDone)},n.initialNavigation()}return t})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(qe),n=this.injector.get(Ge),r=this.injector.get(De),i=this.injector.get(p.ApplicationRef);t===i.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),r.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t.decorators=[{type:p.Injectable}],t.ctorParameters=function(){return[{type:p.Injector}]},t}();function rn(t){return t.appInitializer.bind(t)}function on(t){return t.bootstrapListener.bind(t)}var an=new p.InjectionToken("Router Initializer");function sn(){return[nn,{provide:p.APP_INITIALIZER,multi:!0,useFactory:rn,deps:[nn]},{provide:an,useFactory:on,deps:[nn]},{provide:p.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:an}]}var ln=new p.Version("5.2.8");t.RouterLink=Ie,t.RouterLinkWithHref=Re,t.RouterLinkActive=Le,t.RouterOutlet=Ve,t.ActivationEnd=B,t.ActivationStart=V,t.ChildActivationEnd=F,t.ChildActivationStart=j,t.GuardsCheckEnd=M,t.GuardsCheckStart=T,t.NavigationCancel=P,t.NavigationEnd=O,t.NavigationError=A,t.NavigationStart=x,t.ResolveEnd=R,t.ResolveStart=I,t.RouteConfigLoadEnd=L,t.RouteConfigLoadStart=N,t.RouterEvent=e,t.RoutesRecognized=D,t.RouteReuseStrategy=Ce,t.Router=De,t.ROUTES=Se,t.ROUTER_CONFIGURATION=qe,t.ROUTER_INITIALIZER=an,t.RouterModule=Qe,t.provideRoutes=Je,t.ChildrenOutletContexts=Fe,t.OutletContext=je,t.NoPreloading=ze,t.PreloadAllModules=He,t.PreloadingStrategy=Ue,t.RouterPreloader=Ge,t.ActivatedRoute=zt,t.ActivatedRouteSnapshot=Wt,t.RouterState=Ut,t.RouterStateSnapshot=qt,t.PRIMARY_OUTLET=U,t.convertToParamMap=z,t.UrlHandlingStrategy=ke,t.DefaultUrlSerializer=pt,t.UrlSegment=st,t.UrlSegmentGroup=at,t.UrlSerializer=ut,t.UrlTree=ot,t.VERSION=ln,t.ɵROUTER_PROVIDERS=$e,t.ɵflatten=Z,t.ɵa=Ye,t.ɵg=nn,t.ɵh=rn,t.ɵi=on,t.ɵd=Ze,t.ɵc=Xe,t.ɵj=sn,t.ɵf=en,t.ɵb=Ke,t.ɵe=tn,t.ɵk=Lt,t.ɵl=Vt,Object.defineProperty(t,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/common"),t("@angular/core"),t("rxjs/BehaviorSubject"),t("rxjs/Subject"),t("rxjs/observable/of"),t("rxjs/operator/concatMap"),t("rxjs/operator/map"),t("rxjs/operator/mergeMap"),t("rxjs/Observable"),t("rxjs/observable/from"),t("rxjs/operator/catch"),t("rxjs/operator/concatAll"),t("rxjs/operator/first"),t("rxjs/util/EmptyError"),t("rxjs/observable/fromPromise"),t("rxjs/operator/every"),t("rxjs/operator/last"),t("rxjs/operator/mergeAll"),t("rxjs/operator/reduce"),t("@angular/platform-browser"),t("rxjs/operator/filter")):i((r.ng=r.ng||{},r.ng.router={}),r.ng.common,r.ng.core,r.Rx,r.Rx,r.Rx.Observable,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.Rx,r.Rx.Observable,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.Rx,r.Rx.Observable,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.Rx.Observable.prototype,r.ng.platformBrowser,r.Rx.Observable.prototype)},{"@angular/common":62,"@angular/core":64,"@angular/platform-browser":69,"rxjs/BehaviorSubject":72,"rxjs/Observable":75,"rxjs/Subject":79,"rxjs/observable/from":102,"rxjs/observable/fromPromise":105,"rxjs/observable/of":107,"rxjs/operator/catch":110,"rxjs/operator/concatAll":111,"rxjs/operator/concatMap":112,"rxjs/operator/every":113,"rxjs/operator/filter":114,"rxjs/operator/first":115,"rxjs/operator/last":116,"rxjs/operator/map":117,"rxjs/operator/mergeAll":118,"rxjs/operator/mergeMap":119,"rxjs/operator/reduce":120,"rxjs/util/EmptyError":159}],71:[function(t,e,n){var r,i;r=this,i=function(e,l,n){"use strict";var r,i=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)});function s(t){return"string"==typeof t}function c(t){return null!=t}var t=function(t){this.name=t};t.COPY=new t("copy"),t.LINK=new t("link"),t.MOVE=new t("move"),t.NONE=new t("none");var o=function(t,e,n){if(void 0===e&&(e=0),void 0===n&&(n=0),this.imageElement=t,this.x_offset=e,this.y_offset=n,s(this.imageElement)){var r=this.imageElement;this.imageElement=new HTMLImageElement,this.imageElement.src=r}},a=function(){this.onDragStartClass="dnd-drag-start",this.onDragEnterClass="dnd-drag-enter",this.onDragOverClass="dnd-drag-over",this.onSortableDragClass="dnd-sortable-drag",this.dragEffect=t.MOVE,this.dropEffect=t.MOVE,this.dragCursor="move",this.defaultCursor="pointer"},u=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},p=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},d=function(){};function h(){return new e.DragDropService}function f(t){return new e.DragDropSortableService(t)}e.DragDropService=function(){this.allowedDropZones=[]},e.DragDropService=u([l.Injectable()],e.DragDropService),e.DragDropSortableService=function(){function t(t){this._config=t}return Object.defineProperty(t.prototype,"elem",{get:function(){return this._elem},enumerable:!0,configurable:!0}),t.prototype.markSortable=function(t){c(this._elem)&&this._elem.classList.remove(this._config.onSortableDragClass),c(t)&&(this._elem=t,this._elem.classList.add(this._config.onSortableDragClass))},t}(),e.DragDropSortableService=u([l.Injectable(),p("design:paramtypes",[a])],e.DragDropSortableService);var m=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},g=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};e.AbstractComponent=function(){function t(t,e,n,r){var a=this;this._dragDropService=e,this._config=n,this._cdr=r,this._dragEnabled=!1,this.dropEnabled=!1,this.dropZones=[],this.cloneItem=!1,this._defaultCursor=n.defaultCursor,this._elem=t.nativeElement,this._elem.style.cursor=this._defaultCursor,this._elem.ondragenter=function(t){a._onDragEnter(t)},this._elem.ondragover=function(t){return a._onDragOver(t),null!=t.dataTransfer&&(t.dataTransfer.dropEffect=a._config.dropEffect.name),!1},this._elem.ondragleave=function(t){a._onDragLeave(t)},this._elem.ondrop=function(t){a._onDrop(t)},this._elem.onmousedown=function(t){a._target=t.target},this._elem.ondragstart=function(t){var e,n;if(!a._dragHandle||a._dragHandle.contains(a._target)){if(a._onDragStart(t),null!=t.dataTransfer){if(t.dataTransfer.setData("text",""),t.dataTransfer.effectAllowed=a.effectAllowed||a._config.dragEffect.name,c(a.dragImage))if(s(a.dragImage))t.dataTransfer.setDragImage((e=a.dragImage,(n=new HTMLImageElement).src=e,n));else if("function"==typeof a.dragImage)t.dataTransfer.setDragImage((0,a.dragImage)());else{var r=a.dragImage;t.dataTransfer.setDragImage(r.imageElement,r.x_offset,r.y_offset)}else if(c(a._config.dragImage)){var i=a._config.dragImage;t.dataTransfer.setDragImage(i.imageElement,i.x_offset,i.y_offset)}else a.cloneItem&&(a._dragHelper=a._elem.cloneNode(!0),a._dragHelper.classList.add("dnd-drag-item"),a._dragHelper.style.position="absolute",a._dragHelper.style.top="0px",a._dragHelper.style.left="-1000px",a._elem.parentElement.appendChild(a._dragHelper),t.dataTransfer.setDragImage(a._dragHelper,t.offsetX,t.offsetY));var o=a._dragHandle?a._dragHandle:a._elem;a._dragEnabled?o.style.cursor=a.effectCursor?a.effectCursor:a._config.dragCursor:o.style.cursor=a._defaultCursor}}else t.preventDefault()},this._elem.ondragend=function(t){a._elem.parentElement&&a._dragHelper&&a._elem.parentElement.removeChild(a._dragHelper),a._onDragEnd(t),(a._dragHandle?a._dragHandle:a._elem).style.cursor=a._defaultCursor}}return Object.defineProperty(t.prototype,"dragEnabled",{get:function(){return this._dragEnabled},set:function(t){this._dragEnabled=!!t,this._elem.draggable=this._dragEnabled},enumerable:!0,configurable:!0}),t.prototype.setDragHandle=function(t){this._dragHandle=t},t.prototype.detectChanges=function(){var t=this;setTimeout(function(){t._cdr&&!t._cdr.destroyed&&t._cdr.detectChanges()},250)},t.prototype._onDragEnter=function(t){this._isDropAllowed(t)&&this._onDragEnterCallback(t)},t.prototype._onDragOver=function(t){this._isDropAllowed(t)&&(t.preventDefault&&t.preventDefault(),this._onDragOverCallback(t))},t.prototype._onDragLeave=function(t){this._isDropAllowed(t)&&this._onDragLeaveCallback(t)},t.prototype._onDrop=function(t){this._isDropAllowed(t)&&(this._preventAndStop(t),this._onDropCallback(t),this.detectChanges())},t.prototype._isDropAllowed=function(t){if((this._dragDropService.isDragged||t.dataTransfer&&t.dataTransfer.files)&&this.dropEnabled){if(this.allowDrop)return this.allowDrop(this._dragDropService.dragData);if(0===this.dropZones.length&&0===this._dragDropService.allowedDropZones.length)return!0;for(var e=0;e<this._dragDropService.allowedDropZones.length;e++){var n=this._dragDropService.allowedDropZones[e];if(-1!==this.dropZones.indexOf(n))return!0}}return!1},t.prototype._preventAndStop=function(t){t.preventDefault&&t.preventDefault(),t.stopPropagation&&t.stopPropagation()},t.prototype._onDragStart=function(t){this._dragEnabled&&(this._dragDropService.allowedDropZones=this.dropZones,this._onDragStartCallback(t))},t.prototype._onDragEnd=function(t){this._dragDropService.allowedDropZones=[],this._onDragEndCallback(t)},t.prototype._onDragEnterCallback=function(t){},t.prototype._onDragOverCallback=function(t){},t.prototype._onDragLeaveCallback=function(t){},t.prototype._onDropCallback=function(t){},t.prototype._onDragStartCallback=function(t){},t.prototype._onDragEndCallback=function(t){},t}(),e.AbstractComponent=m([l.Injectable(),g("design:paramtypes",[l.ElementRef,e.DragDropService,a,l.ChangeDetectorRef])],e.AbstractComponent);var y=function(t,e,n,r,i){this._dragDropService=e,this._config=n,this._Component=r,this._cdr=i,this._elem=t.nativeElement,this._Component.setDragHandle(this._elem)},v=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},b=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};e.DraggableComponent=function(o){function t(t,e,n,r){var i=o.call(this,t,e,n,r)||this;return i.onDragStart=new l.EventEmitter,i.onDragEnd=new l.EventEmitter,i.onDragSuccessCallback=new l.EventEmitter,i._defaultCursor=i._elem.style.cursor,i.dragEnabled=!0,i}return i(t,o),Object.defineProperty(t.prototype,"draggable",{set:function(t){this.dragEnabled=!!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dropzones",{set:function(t){this.dropZones=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"effectallowed",{set:function(t){this.effectAllowed=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"effectcursor",{set:function(t){this.effectCursor=t},enumerable:!0,configurable:!0}),t.prototype._onDragStartCallback=function(t){this._dragDropService.isDragged=!0,this._dragDropService.dragData=this.dragData,this._dragDropService.onDragSuccessCallback=this.onDragSuccessCallback,this._elem.classList.add(this._config.onDragStartClass),this.onDragStart.emit({dragData:this.dragData,mouseEvent:t})},t.prototype._onDragEndCallback=function(t){this._dragDropService.isDragged=!1,this._dragDropService.dragData=null,this._dragDropService.onDragSuccessCallback=null,this._elem.classList.remove(this._config.onDragStartClass),this.onDragEnd.emit({dragData:this.dragData,mouseEvent:t})},t}(e.AbstractComponent),v([l.Input("dragEnabled"),b("design:type",Boolean),b("design:paramtypes",[Boolean])],e.DraggableComponent.prototype,"draggable",null),v([l.Output(),b("design:type",l.EventEmitter)],e.DraggableComponent.prototype,"onDragStart",void 0),v([l.Output(),b("design:type",l.EventEmitter)],e.DraggableComponent.prototype,"onDragEnd",void 0),v([l.Input(),b("design:type",Object)],e.DraggableComponent.prototype,"dragData",void 0),v([l.Output("onDragSuccess"),b("design:type",l.EventEmitter)],e.DraggableComponent.prototype,"onDragSuccessCallback",void 0),v([l.Input("dropZones"),b("design:type",Array),b("design:paramtypes",[Array])],e.DraggableComponent.prototype,"dropzones",null),v([l.Input("effectAllowed"),b("design:type",String),b("design:paramtypes",[String])],e.DraggableComponent.prototype,"effectallowed",null),v([l.Input("effectCursor"),b("design:type",String),b("design:paramtypes",[String])],e.DraggableComponent.prototype,"effectcursor",null),v([l.Input(),b("design:type",Object)],e.DraggableComponent.prototype,"dragImage",void 0),v([l.Input(),b("design:type",Boolean)],e.DraggableComponent.prototype,"cloneItem",void 0),e.DraggableComponent=v([l.Directive({selector:"[dnd-draggable]"}),b("design:paramtypes",[l.ElementRef,e.DragDropService,a,l.ChangeDetectorRef])],e.DraggableComponent),e.DraggableHandleComponent=function(o){function t(t,e,n,r,i){return o.call(this,t,e,n,r,i)||this}return i(t,o),t}(y),e.DraggableHandleComponent=v([l.Directive({selector:"[dnd-draggable-handle]"}),b("design:paramtypes",[l.ElementRef,e.DragDropService,a,e.DraggableComponent,l.ChangeDetectorRef])],e.DraggableHandleComponent);var _=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},w=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};e.DroppableComponent=function(o){function t(t,e,n,r){var i=o.call(this,t,e,n,r)||this;return i.onDropSuccess=new l.EventEmitter,i.onDragEnter=new l.EventEmitter,i.onDragOver=new l.EventEmitter,i.onDragLeave=new l.EventEmitter,i.dropEnabled=!0,i}return i(t,o),Object.defineProperty(t.prototype,"droppable",{set:function(t){this.dropEnabled=!!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"allowdrop",{set:function(t){this.allowDrop=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dropzones",{set:function(t){this.dropZones=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"effectallowed",{set:function(t){this.effectAllowed=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"effectcursor",{set:function(t){this.effectCursor=t},enumerable:!0,configurable:!0}),t.prototype._onDragEnterCallback=function(t){this._dragDropService.isDragged&&(this._elem.classList.add(this._config.onDragEnterClass),this.onDragEnter.emit({dragData:this._dragDropService.dragData,mouseEvent:t}))},t.prototype._onDragOverCallback=function(t){this._dragDropService.isDragged&&(this._elem.classList.add(this._config.onDragOverClass),this.onDragOver.emit({dragData:this._dragDropService.dragData,mouseEvent:t}))},t.prototype._onDragLeaveCallback=function(t){this._dragDropService.isDragged&&(this._elem.classList.remove(this._config.onDragOverClass),this._elem.classList.remove(this._config.onDragEnterClass),this.onDragLeave.emit({dragData:this._dragDropService.dragData,mouseEvent:t}))},t.prototype._onDropCallback=function(t){var e=t.dataTransfer;(this._dragDropService.isDragged||e&&e.files)&&(this.onDropSuccess.emit({dragData:this._dragDropService.dragData,mouseEvent:t}),this._dragDropService.onDragSuccessCallback&&this._dragDropService.onDragSuccessCallback.emit({dragData:this._dragDropService.dragData,mouseEvent:t}),this._elem.classList.remove(this._config.onDragOverClass),this._elem.classList.remove(this._config.onDragEnterClass))},t}(e.AbstractComponent),_([l.Input("dropEnabled"),w("design:type",Boolean),w("design:paramtypes",[Boolean])],e.DroppableComponent.prototype,"droppable",null),_([l.Output(),w("design:type",l.EventEmitter)],e.DroppableComponent.prototype,"onDropSuccess",void 0),_([l.Output(),w("design:type",l.EventEmitter)],e.DroppableComponent.prototype,"onDragEnter",void 0),_([l.Output(),w("design:type",l.EventEmitter)],e.DroppableComponent.prototype,"onDragOver",void 0),_([l.Output(),w("design:type",l.EventEmitter)],e.DroppableComponent.prototype,"onDragLeave",void 0),_([l.Input("allowDrop"),w("design:type",Function),w("design:paramtypes",[Function])],e.DroppableComponent.prototype,"allowdrop",null),_([l.Input("dropZones"),w("design:type",Array),w("design:paramtypes",[Array])],e.DroppableComponent.prototype,"dropzones",null),_([l.Input("effectAllowed"),w("design:type",String),w("design:paramtypes",[String])],e.DroppableComponent.prototype,"effectallowed",null),_([l.Input("effectCursor"),w("design:type",String),w("design:paramtypes",[String])],e.DroppableComponent.prototype,"effectcursor",null),e.DroppableComponent=_([l.Directive({selector:"[dnd-droppable]"}),w("design:paramtypes",[l.ElementRef,e.DragDropService,a,l.ChangeDetectorRef])],e.DroppableComponent);var C=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},x=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)};e.SortableContainer=function(a){function t(t,e,n,r,i){var o=a.call(this,t,e,n,r)||this;return o._sortableDataService=i,o._sortableData=[],o.dragEnabled=!1,o}return i(t,a),Object.defineProperty(t.prototype,"draggable",{set:function(t){this.dragEnabled=!!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sortableData",{get:function(){return this._sortableData},set:function(t){(this._sortableData=t)instanceof n.FormArray?this.sortableHandler=new E:this.sortableHandler=new S,this.dropEnabled=!!this._sortableData},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dropzones",{set:function(t){this.dropZones=t},enumerable:!0,configurable:!0}),t.prototype._onDragEnterCallback=function(t){if(this._sortableDataService.isDragged){var e=this._sortableDataService.sortableContainer.getItemAt(this._sortableDataService.index);-1===this.indexOf(e)&&(this._sortableDataService.sortableContainer.removeItemAt(this._sortableDataService.index),0===this._sortableDataService.sortableContainer._sortableData.length&&(this._sortableDataService.sortableContainer.dropEnabled=!0),this.insertItemAt(e,0),(this._sortableDataService.sortableContainer=this)._sortableDataService.index=0),this.detectChanges()}},t.prototype.getItemAt=function(t){return this.sortableHandler.getItemAt(this._sortableData,t)},t.prototype.indexOf=function(t){return this.sortableHandler.indexOf(this._sortableData,t)},t.prototype.removeItemAt=function(t){this.sortableHandler.removeItemAt(this._sortableData,t)},t.prototype.insertItemAt=function(t,e){this.sortableHandler.insertItemAt(this._sortableData,t,e)},t}(e.AbstractComponent),C([l.Input("dragEnabled"),x("design:type",Boolean),x("design:paramtypes",[Boolean])],e.SortableContainer.prototype,"draggable",null),C([l.Input(),x("design:type",Object),x("design:paramtypes",[Object])],e.SortableContainer.prototype,"sortableData",null),C([l.Input("dropZones"),x("design:type",Array),x("design:paramtypes",[Array])],e.SortableContainer.prototype,"dropzones",null),e.SortableContainer=C([l.Directive({selector:"[dnd-sortable-container]"}),x("design:paramtypes",[l.ElementRef,e.DragDropService,a,l.ChangeDetectorRef,e.DragDropSortableService])],e.SortableContainer);var S=function(){function t(){}return t.prototype.getItemAt=function(t,e){return t[e]},t.prototype.indexOf=function(t,e){return t.indexOf(e)},t.prototype.removeItemAt=function(t,e){t.splice(e,1)},t.prototype.insertItemAt=function(t,e,n){t.splice(n,0,e)},t}(),E=function(){function t(){}return t.prototype.getItemAt=function(t,e){return t.at(e)},t.prototype.indexOf=function(t,e){return t.controls.indexOf(e)},t.prototype.removeItemAt=function(t,e){t.removeAt(e)},t.prototype.insertItemAt=function(t,e,n){t.insert(n,e)},t}();e.SortableComponent=function(s){function t(t,e,n,r,i,o){var a=s.call(this,t,e,n,o)||this;return a._sortableContainer=r,a._sortableDataService=i,a.onDragSuccessCallback=new l.EventEmitter,a.onDragStartCallback=new l.EventEmitter,a.onDragOverCallback=new l.EventEmitter,a.onDragEndCallback=new l.EventEmitter,a.onDropSuccessCallback=new l.EventEmitter,a.dropZones=a._sortableContainer.dropZones,a.dragEnabled=!0,a.dropEnabled=!0,a}return i(t,s),Object.defineProperty(t.prototype,"draggable",{set:function(t){this.dragEnabled=!!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"droppable",{set:function(t){this.dropEnabled=!!t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"effectallowed",{set:function(t){this.effectAllowed=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"effectcursor",{set:function(t){this.effectCursor=t},enumerable:!0,configurable:!0}),t.prototype._onDragStartCallback=function(t){this._sortableDataService.isDragged=!0,this._sortableDataService.sortableContainer=this._sortableContainer,this._sortableDataService.index=this.index,this._sortableDataService.markSortable(this._elem),this._dragDropService.isDragged=!0,this._dragDropService.dragData=this.dragData,this._dragDropService.onDragSuccessCallback=this.onDragSuccessCallback,this.onDragStartCallback.emit(this._dragDropService.dragData)},t.prototype._onDragOverCallback=function(t){this._sortableDataService.isDragged&&this._elem!==this._sortableDataService.elem&&(this._sortableDataService.sortableContainer=this._sortableContainer,this._sortableDataService.index=this.index,this._sortableDataService.markSortable(this._elem),this.onDragOverCallback.emit(this._dragDropService.dragData))},t.prototype._onDragEndCallback=function(t){this._sortableDataService.isDragged=!1,this._sortableDataService.sortableContainer=null,this._sortableDataService.index=null,this._sortableDataService.markSortable(null),this._dragDropService.isDragged=!1,this._dragDropService.dragData=null,this._dragDropService.onDragSuccessCallback=null,this.onDragEndCallback.emit(this._dragDropService.dragData)},t.prototype._onDragEnterCallback=function(t){if(this._sortableDataService.isDragged&&(this._sortableDataService.markSortable(this._elem),this.index!==this._sortableDataService.index||this._sortableDataService.sortableContainer.sortableData!==this._sortableContainer.sortableData)){var e=this._sortableDataService.sortableContainer.getItemAt(this._sortableDataService.index);this._sortableDataService.sortableContainer.removeItemAt(this._sortableDataService.index),0===this._sortableDataService.sortableContainer.sortableData.length&&(this._sortableDataService.sortableContainer.dropEnabled=!0),this._sortableContainer.insertItemAt(e,this.index),this._sortableContainer.dropEnabled&&(this._sortableContainer.dropEnabled=!1),this._sortableDataService.sortableContainer=this._sortableContainer,this._sortableDataService.index=this.index,this.detectChanges()}},t.prototype._onDropCallback=function(t){this._sortableDataService.isDragged&&(this.onDropSuccessCallback.emit(this._dragDropService.dragData),this._dragDropService.onDragSuccessCallback&&this._dragDropService.onDragSuccessCallback.emit(this._dragDropService.dragData),this._sortableContainer.detectChanges())},t}(e.AbstractComponent),C([l.Input("sortableIndex"),x("design:type",Number)],e.SortableComponent.prototype,"index",void 0),C([l.Input("dragEnabled"),x("design:type",Boolean),x("design:paramtypes",[Boolean])],e.SortableComponent.prototype,"draggable",null),C([l.Input("dropEnabled"),x("design:type",Boolean),x("design:paramtypes",[Boolean])],e.SortableComponent.prototype,"droppable",null),C([l.Input(),x("design:type",Object)],e.SortableComponent.prototype,"dragData",void 0),C([l.Input("effectAllowed"),x("design:type",String),x("design:paramtypes",[String])],e.SortableComponent.prototype,"effectallowed",null),C([l.Input("effectCursor"),x("design:type",String),x("design:paramtypes",[String])],e.SortableComponent.prototype,"effectcursor",null),C([l.Output("onDragSuccess"),x("design:type",l.EventEmitter)],e.SortableComponent.prototype,"onDragSuccessCallback",void 0),C([l.Output("onDragStart"),x("design:type",l.EventEmitter)],e.SortableComponent.prototype,"onDragStartCallback",void 0),C([l.Output("onDragOver"),x("design:type",l.EventEmitter)],e.SortableComponent.prototype,"onDragOverCallback",void 0),C([l.Output("onDragEnd"),x("design:type",l.EventEmitter)],e.SortableComponent.prototype,"onDragEndCallback",void 0),C([l.Output("onDropSuccess"),x("design:type",l.EventEmitter)],e.SortableComponent.prototype,"onDropSuccessCallback",void 0),e.SortableComponent=C([l.Directive({selector:"[dnd-sortable]"}),x("design:paramtypes",[l.ElementRef,e.DragDropService,a,e.SortableContainer,e.DragDropSortableService,l.ChangeDetectorRef])],e.SortableComponent),e.SortableHandleComponent=function(o){function t(t,e,n,r,i){return o.call(this,t,e,n,r,i)||this}return i(t,o),t}(y),e.SortableHandleComponent=C([l.Directive({selector:"[dnd-sortable-handle]"}),x("design:paramtypes",[l.ElementRef,e.DragDropService,a,e.SortableComponent,l.ChangeDetectorRef])],e.SortableHandleComponent);var k,O=this&&this.__decorate||function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},P=[a,{provide:e.DragDropService,useFactory:h},{provide:e.DragDropSortableService,useFactory:f,deps:[a]}];e.DndModule=k=function(){function t(){}return t.forRoot=function(){return{ngModule:k,providers:P}},t}(),e.DndModule=k=O([l.NgModule({declarations:[e.DraggableComponent,e.DraggableHandleComponent,e.DroppableComponent,e.SortableContainer,e.SortableComponent,e.SortableHandleComponent],exports:[e.DraggableComponent,e.DraggableHandleComponent,e.DroppableComponent,e.SortableContainer,e.SortableComponent,e.SortableHandleComponent]})],e.DndModule),e.providers=P,e.AbstractHandleComponent=y,e.DataTransferEffect=t,e.DragImage=o,e.DragDropConfig=a,e.DragDropData=d,e.dragDropServiceFactory=h,e.dragDropSortableServiceFactory=f,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof n&&void 0!==e?i(n,t("@angular/core"),t("@angular/forms")):i(r["ng2-dnd"]={},r.ng.core,r.ng.forms)},{"@angular/core":64,"@angular/forms":65}],72:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Subject"),o=t("./util/ObjectUnsubscribedError"),a=function(n){function t(t){n.call(this),this._value=t}return r(t,n),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var e=n.prototype._subscribe.call(this,t);return e&&!e.closed&&t.next(this._value),e},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.ObjectUnsubscribedError;return this._value},t.prototype.next=function(t){n.prototype.next.call(this,this._value=t)},t}(i.Subject);n.BehaviorSubject=a},{"./Subject":79,"./util/ObjectUnsubscribedError":160}],73:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=function(r){function t(t,e,n){r.call(this),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}return i(t,r),t.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},t.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(t("./Subscriber").Subscriber);n.InnerSubscriber=r},{"./Subscriber":81}],74:[function(t,e,n){"use strict";var r=t("./Observable"),i=function(){function e(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return e.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},e.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},e.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},e.prototype.toObservable=function(){switch(this.kind){case"N":return r.Observable.of(this.value);case"E":return r.Observable.throw(this.error);case"C":return r.Observable.empty()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();n.Notification=i},{"./Observable":75}],75:[function(t,e,n){"use strict";var o=t("./util/root"),a=t("./util/toSubscriber"),r=t("./symbol/observable"),i=t("./util/pipe"),s=function(){function n(t){this._isScalar=!1,t&&(this._subscribe=t)}return n.prototype.lift=function(t){var e=new n;return e.source=this,e.operator=t,e},n.prototype.subscribe=function(t,e,n){var r=this.operator,i=a.toSubscriber(t,e,n);if(r?r.call(i,this.source):i.add(this.source||!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},n.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},n.prototype.forEach=function(r,t){var i=this;if(t||(o.root.Rx&&o.root.Rx.config&&o.root.Rx.config.Promise?t=o.root.Rx.config.Promise:o.root.Promise&&(t=o.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,e){var n;n=i.subscribe(function(t){if(n)try{r(t)}catch(t){e(t),n.unsubscribe()}else r(t)},e,t)})},n.prototype._subscribe=function(t){return this.source.subscribe(t)},n.prototype[r.observable]=function(){return this},n.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:i.pipeFromArray(t)(this)},n.prototype.toPromise=function(t){var r=this;if(t||(o.root.Rx&&o.root.Rx.config&&o.root.Rx.config.Promise?t=o.root.Rx.config.Promise:o.root.Promise&&(t=o.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,e){var n;r.subscribe(function(t){return n=t},function(t){return e(t)},function(){return t(n)})})},n.create=function(t){return new n(t)},n}();n.Observable=s},{"./symbol/observable":156,"./util/pipe":173,"./util/root":174,"./util/toSubscriber":176}],76:[function(t,e,n){"use strict";n.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},{}],77:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(t){function e(){t.apply(this,arguments)}return r(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(t("./Subscriber").Subscriber);n.OuterSubscriber=i},{"./Subscriber":81}],78:[function(t,e,n){"use strict";var r=function(){function n(t,e){void 0===e&&(e=n.now),this.SchedulerAction=t,this.now=e}return n.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},n.now=Date.now?Date.now:function(){return+new Date},n}();n.Scheduler=r},{}],79:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Observable"),o=t("./Subscriber"),a=t("./Subscription"),s=t("./util/ObjectUnsubscribedError"),l=t("./SubjectSubscription"),c=t("./symbol/rxSubscriber"),u=function(e){function t(t){e.call(this,t),this.destination=t}return r(t,e),t}(o.Subscriber);n.SubjectSubscriber=u;var p=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return r(t,e),t.prototype[c.rxSubscriber]=function(){return new u(this)},t.prototype.lift=function(t){var e=new d(this,this);return e.operator=t,e},t.prototype.next=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].next(t)},t.prototype.error=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),i=0;i<n;i++)r[i].error(t);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new s.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(t){if(this.closed)throw new s.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),a.Subscription.EMPTY):this.isStopped?(t.complete(),a.Subscription.EMPTY):(this.observers.push(t),new l.SubjectSubscription(this,t))},t.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},t.create=function(t,e){return new d(t,e)},t}(i.Observable),d=function(n){function t(t,e){n.call(this),this.destination=t,this.source=e}return r(t,n),t.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},t.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},t.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},t.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):a.Subscription.EMPTY},t}(n.Subject=p);n.AnonymousSubject=d},{"./Observable":75,"./SubjectSubscription":80,"./Subscriber":81,"./Subscription":82,"./symbol/rxSubscriber":157,"./util/ObjectUnsubscribedError":160}],80:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(n){function t(t,e){n.call(this),this.subject=t,this.subscriber=e,this.closed=!1}return r(t,n),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},t}(t("./Subscription").Subscription);n.SubjectSubscription=i},{"./Subscription":82}],81:[function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("./util/isFunction"),r=t("./Subscription"),l=t("./Observer"),a=t("./symbol/rxSubscriber"),i=function(r){function i(t,e,n){switch(r.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=l.empty;break;case 1:if(!t){this.destination=l.empty;break}if("object"==typeof t){t instanceof i?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,t,e,n)}}return o(i,r),i.prototype[a.rxSubscriber]=function(){return this},i.create=function(t,e,n){var r=new i(t,e,n);return r.syncErrorThrowable=!1,r},i.prototype.next=function(t){this.isStopped||this._next(t)},i.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},i.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},i.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,r.prototype.unsubscribe.call(this))},i.prototype._next=function(t){this.destination.next(t)},i.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},i.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},i.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this},i}(r.Subscription),c=function(a){function t(t,e,n,r){var i;a.call(this),this._parentSubscriber=t;var o=this;s.isFunction(e)?i=e:e&&(i=e.next,n=e.error,r=e.complete,e!==l.empty&&(o=Object.create(e),s.isFunction(o.unsubscribe)&&this.add(o.unsubscribe.bind(o)),o.unsubscribe=this.unsubscribe.bind(this))),this._context=o,this._next=i,this._error=n,this._complete=r}return o(t,a),t.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},t.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?this.__tryOrSetError(e,this._error,t):this.__tryOrUnsub(this._error,t),this.unsubscribe();else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?this.__tryOrSetError(e,n):this.__tryOrUnsub(n),this.unsubscribe()}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},t.prototype.__tryOrSetError=function(e,t,n){try{t.call(this._context,n)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0}return!1},t.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},t}(n.Subscriber=i)},{"./Observer":76,"./Subscription":82,"./symbol/rxSubscriber":157,"./util/isFunction":167}],82:[function(t,e,n){"use strict";var u=t("./util/isArray"),p=t("./util/isObject"),d=t("./util/isFunction"),h=t("./util/tryCatch"),f=t("./util/errorObject"),m=t("./util/UnsubscriptionError"),r=function(){function r(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var t;return r.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,r=this._parents,i=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,s=r?r.length:0;n;)n.remove(this),n=++a<s&&r[a]||null;if(d.isFunction(i))h.tryCatch(i).call(this)===f.errorObject&&(e=!0,t=t||(f.errorObject.e instanceof m.UnsubscriptionError?g(f.errorObject.e.errors):[f.errorObject.e]));if(u.isArray(o))for(a=-1,s=o.length;++a<s;){var l=o[a];if(p.isObject(l))if(h.tryCatch(l.unsubscribe).call(l)===f.errorObject){e=!0,t=t||[];var c=f.errorObject.e;c instanceof m.UnsubscriptionError?t=t.concat(g(c.errors)):t.push(c)}}if(e)throw new m.UnsubscriptionError(t)}},r.prototype.add=function(t){if(!t||t===r.EMPTY)return r.EMPTY;if(t===this)return this;var e=t;switch(typeof t){case"function":e=new r(t);case"object":if(e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if("function"!=typeof e._addParent){var n=e;(e=new r)._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(e),e._addParent(this),e},r.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},r.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},r.EMPTY=((t=new r).closed=!0,t),r}();function g(t){return t.reduce(function(t,e){return t.concat(e instanceof m.UnsubscriptionError?e.errors:e)},[])}n.Subscription=r},{"./util/UnsubscriptionError":161,"./util/errorObject":162,"./util/isArray":164,"./util/isFunction":167,"./util/isObject":169,"./util/tryCatch":177}],83:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),a=t("./ScalarObservable"),s=t("./EmptyObservable"),o=function(n){function o(t,e){n.call(this),this.arrayLike=t,(this.scheduler=e)||1!==t.length||(this._isScalar=!0,this.value=t[0])}return r(o,n),o.create=function(t,e){var n=t.length;return 0===n?new s.EmptyObservable:1===n?new a.ScalarObservable(t[0],e):new o(t,e)},o.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,i=t.subscriber;i.closed||(r<=n?i.complete():(i.next(e[n]),t.index=n+1,this.schedule(t)))},o.prototype._subscribe=function(t){var e=this.arrayLike,n=this.scheduler,r=e.length;if(n)return n.schedule(o.dispatch,0,{arrayLike:e,index:0,length:r,subscriber:t});for(var i=0;i<r&&!t.closed;i++)t.next(e[i]);t.complete()},o}(i.Observable);n.ArrayLikeObservable=o},{"../Observable":75,"./EmptyObservable":87,"./ScalarObservable":95}],84:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),a=t("./ScalarObservable"),s=t("./EmptyObservable"),l=t("../util/isScheduler"),o=function(n){function o(t,e){n.call(this),this.array=t,(this.scheduler=e)||1!==t.length||(this._isScalar=!0,this.value=t[0])}return r(o,n),o.create=function(t,e){return new o(t,e)},o.of=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];l.isScheduler(n)?t.pop():n=null;var r=t.length;return 1<r?new o(t,n):1===r?new a.ScalarObservable(t[0],n):new s.EmptyObservable(n)},o.dispatch=function(t){var e=t.array,n=t.index,r=t.count,i=t.subscriber;r<=n?i.complete():(i.next(e[n]),i.closed||(t.index=n+1,this.schedule(t)))},o.prototype._subscribe=function(t){var e=this.array,n=e.length,r=this.scheduler;if(r)return r.schedule(o.dispatch,0,{array:e,index:0,count:n,subscriber:t});for(var i=0;i<n&&!t.closed;i++)t.next(e[i]);t.complete()},o}(i.Observable);n.ArrayObservable=o},{"../Observable":75,"../util/isScheduler":171,"./EmptyObservable":87,"./ScalarObservable":95}],85:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subject"),o=t("../Observable"),a=t("../Subscriber"),s=t("../Subscription"),l=t("../operators/refCount"),c=function(n){function t(t,e){n.call(this),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}return r(t,n),t.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},t.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new s.Subscription).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed?(this._connection=null,t=s.Subscription.EMPTY):this._connection=t),t},t.prototype.refCount=function(){return l.refCount()(this)},t}(o.Observable),u=(n.ConnectableObservable=c).prototype;n.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}};var p=function(n){function t(t,e){n.call(this,t),this.connectable=e}return r(t,n),t.prototype._error=function(t){this._unsubscribe(),n.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),n.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},t}(i.SubjectSubscriber),d=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new d(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}(),function(n){function t(t,e){n.call(this,t),this.connectable=e}return r(t,n),t.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,1<e)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(a.Subscriber))},{"../Observable":75,"../Subject":79,"../Subscriber":81,"../Subscription":82,"../operators/refCount":142}],86:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=t("../util/subscribeToResult"),a=t("../OuterSubscriber"),s=function(e){function n(t){e.call(this),this.observableFactory=t}return r(n,e),n.create=function(t){return new n(t)},n.prototype._subscribe=function(t){return new l(t,this.observableFactory)},n}(i.Observable);n.DeferObservable=s;var l=function(n){function t(t,e){n.call(this,t),this.factory=e,this.tryDefer()}return r(t,n),t.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},t.prototype._callFactory=function(){var t=this.factory();t&&this.add(o.subscribeToResult(this,t))},t}(a.OuterSubscriber)},{"../Observable":75,"../OuterSubscriber":77,"../util/subscribeToResult":175}],87:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(e){function n(t){e.call(this),this.scheduler=t}return r(n,e),n.create=function(t){return new n(t)},n.dispatch=function(t){t.subscriber.complete()},n.prototype._subscribe=function(t){var e=this.scheduler;if(e)return e.schedule(n.dispatch,0,{subscriber:t});t.complete()},n}(t("../Observable").Observable);n.EmptyObservable=i},{"../Observable":75}],88:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=function(n){function r(t,e){n.call(this),this.error=t,this.scheduler=e}return i(r,n),r.create=function(t,e){return new r(t,e)},r.dispatch=function(t){var e=t.error;t.subscriber.error(e)},r.prototype._subscribe=function(t){var e=this.error,n=this.scheduler;if(t.syncErrorThrowable=!0,n)return n.schedule(r.dispatch,0,{error:e,subscriber:t});t.error(e)},r}(t("../Observable").Observable);n.ErrorObservable=r},{"../Observable":75}],89:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../Observable"),o=t("./EmptyObservable"),a=t("../util/isArray"),l=t("../util/subscribeToResult"),s=t("../OuterSubscriber"),c=function(n){function r(t,e){n.call(this),this.sources=t,this.resultSelector=e}return i(r,n),r.create=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];if(null===t||0===arguments.length)return new o.EmptyObservable;var n=null;return"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&a.isArray(t[0])&&(t=t[0]),0===t.length?new o.EmptyObservable:new r(t,n)},r.prototype._subscribe=function(t){return new u(t,this.sources,this.resultSelector)},r}(r.Observable);n.ForkJoinObservable=c;var u=function(s){function t(t,e,n){s.call(this,t),this.sources=e,this.resultSelector=n,this.completed=0,this.haveValues=0;var r=e.length;this.total=r,this.values=new Array(r);for(var i=0;i<r;i++){var o=e[i],a=l.subscribeToResult(this,o,null,i);a&&(a.outerIndex=i,this.add(a))}}return i(t,s),t.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e,i._hasValue||(i._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,r=this.resultSelector,i=this.values,o=i.length;if(t._hasValue){if(this.completed++,this.completed===o){if(n===o){var a=r?r.apply(this,i):i;e.next(a)}e.complete()}}else e.complete()},t}(s.OuterSubscriber)},{"../Observable":75,"../OuterSubscriber":77,"../util/isArray":164,"../util/subscribeToResult":175,"./EmptyObservable":87}],90:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=t("../util/tryCatch"),a=t("../util/isFunction"),s=t("../util/errorObject"),y=t("../Subscription"),v=Object.prototype.toString;var l=function(i){function g(t,e,n,r){i.call(this),this.sourceObj=t,this.eventName=e,this.selector=n,this.options=r}return r(g,i),g.create=function(t,e,n,r){return a.isFunction(n)&&(r=n,n=void 0),new g(t,e,r,n)},g.setupSubscription=function(t,e,n,r,i){var o,a,s,l,c,u;if((u=t)&&"[object NodeList]"===v.call(u)||(c=t)&&"[object HTMLCollection]"===v.call(c))for(var p=0,d=t.length;p<d;p++)g.setupSubscription(t[p],e,n,r,i);else if((l=t)&&"function"==typeof l.addEventListener&&"function"==typeof l.removeEventListener){var h=t;t.addEventListener(e,n,i),o=function(){return h.removeEventListener(e,n)}}else if((s=t)&&"function"==typeof s.on&&"function"==typeof s.off){var f=t;t.on(e,n),o=function(){return f.off(e,n)}}else{if(!(a=t)||"function"!=typeof a.addListener||"function"!=typeof a.removeListener)throw new TypeError("Invalid event target");var m=t;t.addListener(e,n),o=function(){return m.removeListener(e,n)}}r.add(new y.Subscription(o))},g.prototype._subscribe=function(r){var t=this.sourceObj,e=this.eventName,n=this.options,i=this.selector;g.setupSubscription(t,e,i?function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=o.tryCatch(i).apply(void 0,t);n===s.errorObject?r.error(s.errorObject.e):r.next(n)}:function(t){return r.next(t)},r,n)},g}(i.Observable);n.FromEventObservable=l},{"../Observable":75,"../Subscription":82,"../util/errorObject":162,"../util/isFunction":167,"../util/tryCatch":177}],91:[function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},a=t("../util/isFunction"),r=t("../Observable"),s=t("../Subscription"),i=function(r){function i(t,e,n){r.call(this),this.addHandler=t,this.removeHandler=e,this.selector=n}return o(i,r),i.create=function(t,e,n){return new i(t,e,n)},i.prototype._subscribe=function(n){var r=this,t=this.removeHandler,e=this.selector?function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];r._callSelector(n,t)}:function(t){n.next(t)},i=this._callAddHandler(e,n);a.isFunction(t)&&n.add(new s.Subscription(function(){t(e,i)}))},i.prototype._callSelector=function(e,t){try{var n=this.selector.apply(this,t);e.next(n)}catch(t){e.error(t)}},i.prototype._callAddHandler=function(t,e){try{return this.addHandler(t)||null}catch(t){e.error(t)}},i}(r.Observable);n.FromEventPatternObservable=i},{"../Observable":75,"../Subscription":82,"../util/isFunction":167}],92:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/isArray"),a=t("../util/isArrayLike"),s=t("../util/isPromise"),l=t("./PromiseObservable"),c=t("./IteratorObservable"),u=t("./ArrayObservable"),p=t("./ArrayLikeObservable"),d=t("../symbol/iterator"),h=t("../Observable"),f=t("../operators/observeOn"),m=t("../symbol/observable"),r=function(n){function r(t,e){n.call(this,null),this.ish=t,this.scheduler=e}return i(r,n),r.create=function(t,e){if(null!=t){if("function"==typeof t[m.observable])return t instanceof h.Observable&&!e?t:new r(t,e);if(o.isArray(t))return new u.ArrayObservable(t,e);if(s.isPromise(t))return new l.PromiseObservable(t,e);if("function"==typeof t[d.iterator]||"string"==typeof t)return new c.IteratorObservable(t,e);if(a.isArrayLike(t))return new p.ArrayLikeObservable(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")},r.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[m.observable]().subscribe(t):e[m.observable]().subscribe(new f.ObserveOnSubscriber(t,n,0))},r}(h.Observable);n.FromObservable=r},{"../Observable":75,"../operators/observeOn":140,"../symbol/iterator":155,"../symbol/observable":156,"../util/isArray":164,"../util/isArrayLike":165,"../util/isPromise":170,"./ArrayLikeObservable":83,"./ArrayObservable":84,"./IteratorObservable":93,"./PromiseObservable":94}],93:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/root"),i=t("../Observable"),a=t("../symbol/iterator"),s=function(n){function i(t,e){if(n.call(this),this.scheduler=e,null==t)throw new Error("iterator cannot be null.");this.iterator=function(t){var e=t[a.iterator];if(!e&&"string"==typeof t)return new l(t);if(!e&&void 0!==t.length)return new c(t);if(!e)throw new TypeError("object is not iterable");return t[a.iterator]()}(t)}return r(i,n),i.create=function(t,e){return new i(t,e)},i.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,i=t.subscriber;if(n)i.error(t.error);else{var o=r.next();o.done?i.complete():(i.next(o.value),t.index=e+1,i.closed?"function"==typeof r.return&&r.return():this.schedule(t))}},i.prototype._subscribe=function(t){var e=this.iterator,n=this.scheduler;if(n)return n.schedule(i.dispatch,0,{index:0,iterator:e,subscriber:t});for(;;){var r=e.next();if(r.done){t.complete();break}if(t.next(r.value),t.closed){"function"==typeof e.return&&e.return();break}}},i}(i.Observable);n.IteratorObservable=s;var l=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),c=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=function(t){var e=+t.length;if(isNaN(e))return 0;if(0===e||(n=e,"number"!=typeof n||!o.root.isFinite(n)))return e;var n;if(r=e,i=+r,(e=(0===i?i:isNaN(i)?i:i<0?-1:1)*Math.floor(Math.abs(e)))<=0)return 0;var r,i;if(u<e)return u;return e}(t)),this.arr=t,this.idx=e,this.len=n}return t.prototype[a.iterator]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}();var u=Math.pow(2,53)-1},{"../Observable":75,"../symbol/iterator":155,"../util/root":174}],94:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/root"),r=function(n){function r(t,e){n.call(this),this.promise=t,this.scheduler=e}return i(r,n),r.create=function(t,e){return new r(t,e)},r.prototype._subscribe=function(e){var n=this,t=this.promise,r=this.scheduler;if(null==r)this._isScalar?e.closed||(e.next(this.value),e.complete()):t.then(function(t){n.value=t,n._isScalar=!0,e.closed||(e.next(t),e.complete())},function(t){e.closed||e.error(t)}).then(null,function(t){o.root.setTimeout(function(){throw t})});else if(this._isScalar){if(!e.closed)return r.schedule(a,0,{value:this.value,subscriber:e})}else t.then(function(t){n.value=t,n._isScalar=!0,e.closed||e.add(r.schedule(a,0,{value:t,subscriber:e}))},function(t){e.closed||e.add(r.schedule(s,0,{err:t,subscriber:e}))}).then(null,function(t){o.root.setTimeout(function(){throw t})})},r}(t("../Observable").Observable);function a(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function s(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}n.PromiseObservable=r},{"../Observable":75,"../util/root":174}],95:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=function(n){function r(t,e){n.call(this),this.value=t,this.scheduler=e,this._isScalar=!0,e&&(this._isScalar=!1)}return i(r,n),r.create=function(t,e){return new r(t,e)},r.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;e?r.complete():(r.next(n),r.closed||(t.done=!0,this.schedule(t)))},r.prototype._subscribe=function(t){var e=this.value,n=this.scheduler;if(n)return n.schedule(r.dispatch,0,{done:!1,value:e,subscriber:t});t.next(e),t.closed||t.complete()},r}(t("../Observable").Observable);n.ScalarObservable=r},{"../Observable":75}],96:[function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},a=t("../util/isNumeric"),r=t("../Observable"),s=t("../scheduler/async"),l=t("../util/isScheduler"),c=t("../util/isDate"),i=function(r){function i(t,e,n){void 0===t&&(t=0),r.call(this),this.period=-1,this.dueTime=0,a.isNumeric(e)?this.period=Number(e)<1?1:Number(e):l.isScheduler(e)&&(n=e),l.isScheduler(n)||(n=s.async),this.scheduler=n,this.dueTime=c.isDate(t)?+t-this.scheduler.now():t}return o(i,r),i.create=function(t,e,n){return void 0===t&&(t=0),new i(t,e,n)},i.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}},i.prototype._subscribe=function(t){var e=this.period,n=this.dueTime;return this.scheduler.schedule(i.dispatch,n,{index:0,period:e,subscriber:t})},i}(r.Observable);n.TimerObservable=i},{"../Observable":75,"../scheduler/async":154,"../util/isDate":166,"../util/isNumeric":168,"../util/isScheduler":171}],97:[function(t,e,n){"use strict";var i=t("../util/isScheduler"),o=t("../util/isArray"),a=t("./ArrayObservable"),s=t("../operators/combineLatest");n.combineLatest=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,r=null;return i.isScheduler(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&o.isArray(t[0])&&(t=t[0]),new a.ArrayObservable(t,r).lift(new s.CombineLatestOperator(n))}},{"../operators/combineLatest":125,"../util/isArray":164,"../util/isScheduler":171,"./ArrayObservable":84}],98:[function(t,e,n){"use strict";var r=t("../util/isScheduler"),i=t("./of"),o=t("./from"),a=t("../operators/concatAll");n.concat=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length||2===t.length&&r.isScheduler(t[1])?o.from(t[0]):a.concatAll()(i.of.apply(void 0,t))}},{"../operators/concatAll":126,"../util/isScheduler":171,"./from":102,"./of":107}],99:[function(t,e,n){"use strict";var r=t("./DeferObservable");n.defer=r.DeferObservable.create},{"./DeferObservable":86}],100:[function(t,e,n){"use strict";var r=t("./EmptyObservable");n.empty=r.EmptyObservable.create},{"./EmptyObservable":87}],101:[function(t,e,n){"use strict";var r=t("./ForkJoinObservable");n.forkJoin=r.ForkJoinObservable.create},{"./ForkJoinObservable":89}],102:[function(t,e,n){"use strict";var r=t("./FromObservable");n.from=r.FromObservable.create},{"./FromObservable":92}],103:[function(t,e,n){"use strict";var r=t("./FromEventObservable");n.fromEvent=r.FromEventObservable.create},{"./FromEventObservable":90}],104:[function(t,e,n){"use strict";var r=t("./FromEventPatternObservable");n.fromEventPattern=r.FromEventPatternObservable.create},{"./FromEventPatternObservable":91}],105:[function(t,e,n){"use strict";var r=t("./PromiseObservable");n.fromPromise=r.PromiseObservable.create},{"./PromiseObservable":94}],106:[function(t,e,n){"use strict";var o=t("../Observable"),a=t("./ArrayObservable"),s=t("../util/isScheduler"),l=t("../operators/mergeAll");n.merge=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,i=t[t.length-1];return s.isScheduler(i)?(r=t.pop(),1<t.length&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof o.Observable?t[0]:l.mergeAll(n)(new a.ArrayObservable(t,r))}},{"../Observable":75,"../operators/mergeAll":137,"../util/isScheduler":171,"./ArrayObservable":84}],107:[function(t,e,n){"use strict";var r=t("./ArrayObservable");n.of=r.ArrayObservable.of},{"./ArrayObservable":84}],108:[function(t,e,n){"use strict";var r=t("./ErrorObservable");n._throw=r.ErrorObservable.create},{"./ErrorObservable":88}],109:[function(t,e,n){"use strict";var r=t("./TimerObservable");n.timer=r.TimerObservable.create},{"./TimerObservable":96}],110:[function(t,e,n){"use strict";var r=t("../operators/catchError");n._catch=function(t){return r.catchError(t)(this)}},{"../operators/catchError":124}],111:[function(t,e,n){"use strict";var r=t("../operators/concatAll");n.concatAll=function(){return r.concatAll()(this)}},{"../operators/concatAll":126}],112:[function(t,e,n){"use strict";var r=t("../operators/concatMap");n.concatMap=function(t,e){return r.concatMap(t,e)(this)}},{"../operators/concatMap":127}],113:[function(t,e,n){"use strict";var r=t("../operators/every");n.every=function(t,e){return r.every(t,e)(this)}},{"../operators/every":131}],114:[function(t,e,n){"use strict";var r=t("../operators/filter");n.filter=function(t,e){return r.filter(t,e)(this)}},{"../operators/filter":132}],115:[function(t,e,n){"use strict";var r=t("../operators/first");n.first=function(t,e,n){return r.first(t,e,n)(this)}},{"../operators/first":134}],116:[function(t,e,n){"use strict";var r=t("../operators/last");n.last=function(t,e,n){return r.last(t,e,n)(this)}},{"../operators/last":135}],117:[function(t,e,n){"use strict";var r=t("../operators/map");n.map=function(t,e){return r.map(t,e)(this)}},{"../operators/map":136}],118:[function(t,e,n){"use strict";var r=t("../operators/mergeAll");n.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeAll(t)(this)}},{"../operators/mergeAll":137}],119:[function(t,e,n){"use strict";var r=t("../operators/mergeMap");n.mergeMap=function(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),r.mergeMap(t,e,n)(this)}},{"../operators/mergeMap":138}],120:[function(t,e,n){"use strict";var r=t("../operators/reduce");n.reduce=function(t,e){return 2<=arguments.length?r.reduce(t,e)(this):r.reduce(t)(this)}},{"../operators/reduce":141}],121:[function(t,e,n){"use strict";var r=t("../operators/share");n.share=function(){return r.share()(this)}},{"../operators/share":144}],122:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/tryCatch"),o=t("../util/errorObject"),a=t("../OuterSubscriber"),s=t("../util/subscribeToResult");n.audit=function(e){return function(t){return t.lift(new l(e))}};var l=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.durationSelector))},t}(),c=function(n){function t(t,e){n.call(this,t),this.durationSelector=e,this.hasValue=!1}return r(t,n),t.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=i.tryCatch(this.durationSelector)(t);if(e===o.errorObject)this.destination.error(o.errorObject.e);else{var n=s.subscribeToResult(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},t.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},t.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(a.OuterSubscriber)},{"../OuterSubscriber":77,"../util/errorObject":162,"../util/subscribeToResult":175,"../util/tryCatch":177}],123:[function(t,e,n){"use strict";var r=t("../scheduler/async"),i=t("./audit"),o=t("../observable/timer");n.auditTime=function(t,e){return void 0===e&&(e=r.async),i.audit(function(){return o.timer(t,e)})}},{"../observable/timer":109,"../scheduler/async":154,"./audit":122}],124:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../OuterSubscriber"),o=t("../util/subscribeToResult");n.catchError=function(r){return function(t){var e=new a(r),n=t.lift(e);return e.caught=n}};var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.selector,this.caught))},t}(),s=function(r){function t(t,e,n){r.call(this,t),this.selector=e,this.caught=n}return i(t,r),t.prototype.error=function(t){if(!this.isStopped){var e=void 0;try{e=this.selector(t,this.caught)}catch(t){return void r.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(o.subscribeToResult(this,e))}},t}(r.OuterSubscriber)},{"../OuterSubscriber":77,"../util/subscribeToResult":175}],125:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../observable/ArrayObservable"),o=t("../util/isArray"),a=t("../OuterSubscriber"),s=t("../util/subscribeToResult"),l={};n.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var n=null;return"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&o.isArray(e[0])&&(e=e[0].slice()),function(t){return t.lift.call(new i.ArrayObservable([t].concat(e)),new c(n))}};var c=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project))},t}();n.CombineLatestOperator=c;var u=function(n){function t(t,e){n.call(this,t),this.project=e,this.active=0,this.values=[],this.observables=[]}return r(t,n),t.prototype._next=function(t){this.values.push(l),this.observables.push(t)},t.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(s.subscribeToResult(this,r,r,n))}}},t.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(t,e,n,r,i){var o=this.values,a=o[n],s=this.toRespond?a===l?--this.toRespond:this.toRespond:0;o[n]=e,0===s&&(this.project?this._tryProject(o):this.destination.next(o.slice()))},t.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t}(a.OuterSubscriber);n.CombineLatestSubscriber=u},{"../OuterSubscriber":77,"../observable/ArrayObservable":84,"../util/isArray":164,"../util/subscribeToResult":175}],126:[function(t,e,n){"use strict";var r=t("./mergeAll");n.concatAll=function(){return r.mergeAll(1)}},{"./mergeAll":137}],127:[function(t,e,n){"use strict";var r=t("./mergeMap");n.concatMap=function(t,e){return r.mergeMap(t,e,1)}},{"./mergeMap":138}],128:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../Subscriber"),o=t("../scheduler/async");n.debounceTime=function(e,n){return void 0===n&&(n=o.async),function(t){return t.lift(new a(e,n))}};var a=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))},t}(),s=function(r){function t(t,e,n){r.call(this,t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return i(t,r),t.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},t.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},t}(r.Subscriber);function l(t){t.debouncedNext()}},{"../Subscriber":81,"../scheduler/async":154}],129:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber");n.defaultIfEmpty=function(e){return void 0===e&&(e=null),function(t){return t.lift(new o(e))}};var o=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.defaultValue))},t}(),a=function(n){function t(t,e){n.call(this,t),this.defaultValue=e,this.isEmpty=!0}return r(t,n),t.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(i.Subscriber)},{"../Subscriber":81}],130:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../scheduler/async"),o=t("../util/isDate"),a=t("../Subscriber"),s=t("../Notification");n.delay=function(t,e){void 0===e&&(e=r.async);var n=o.isDate(t)?+t-e.now():Math.abs(t);return function(t){return t.lift(new l(n,e))}};var l=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))},t}(),c=function(r){function e(t,e,n){r.call(this,t),this.delay=e,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}return i(e,r),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;0<n.length&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(0<n.length){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new u(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(s.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(s.Notification.createComplete())},e}(a.Subscriber),u=function(t,e){this.time=t,this.notification=e}},{"../Notification":74,"../Subscriber":81,"../scheduler/async":154,"../util/isDate":166}],131:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber");n.every=function(e,n){return function(t){return t.lift(new o(e,n,t))}};var o=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg,this.source))},t}(),a=function(i){function t(t,e,n,r){i.call(this,t),this.predicate=e,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}return r(t,i),t.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},t.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(i.Subscriber)},{"../Subscriber":81}],132:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../Subscriber");n.filter=function(e,n){return function(t){return t.lift(new o(e,n))}};var o=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(r){function t(t,e,n){r.call(this,t),this.predicate=e,this.thisArg=n,this.count=0}return i(t,r),t.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},t}(r.Subscriber)},{"../Subscriber":81}],133:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber"),o=t("../Subscription");n.finalize=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.callback))},t}(),s=function(n){function t(t,e){n.call(this,t),this.add(new o.Subscription(e))}return r(t,n),t}(i.Subscriber)},{"../Subscriber":81,"../Subscription":82}],134:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber"),a=t("../util/EmptyError");n.first=function(e,n,r){return function(t){return t.lift(new o(e,n,r,t))}};var o=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),s=function(o){function t(t,e,n,r,i){o.call(this,t),this.predicate=e,this.resultSelector=n,this.defaultValue=r,this.source=i,this.index=0,this.hasCompleted=!1,this._emitted=!1}return r(t,o),t.prototype._next=function(t){var e=this.index++;this.predicate?this._tryPredicate(t,e):this._emit(t,e)},t.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}n&&this._emit(t,e)},t.prototype._emit=function(t,e){this.resultSelector?this._tryResultSelector(t,e):this._emitFinal(t)},t.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this._emitFinal(n)},t.prototype._emitFinal=function(t){var e=this.destination;this._emitted||(this._emitted=!0,e.next(t),e.complete(),this.hasCompleted=!0)},t.prototype._complete=function(){var t=this.destination;this.hasCompleted||void 0===this.defaultValue?this.hasCompleted||t.error(new a.EmptyError):(t.next(this.defaultValue),t.complete())},t}(i.Subscriber)},{"../Subscriber":81,"../util/EmptyError":159}],135:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber"),a=t("../util/EmptyError");n.last=function(e,n,r){return function(t){return t.lift(new o(e,n,r,t))}};var o=function(){function t(t,e,n,r){this.predicate=t,this.resultSelector=e,this.defaultValue=n,this.source=r}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.predicate,this.resultSelector,this.defaultValue,this.source))},t}(),s=function(o){function t(t,e,n,r,i){o.call(this,t),this.predicate=e,this.resultSelector=n,this.defaultValue=r,this.source=i,this.hasValue=!1,void(this.index=0)!==r&&(this.lastValue=r,this.hasValue=!0)}return r(t,o),t.prototype._next=function(t){var e=this.index++;if(this.predicate)this._tryPredicate(t,e);else{if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},t.prototype._tryPredicate=function(t,e){var n;try{n=this.predicate(t,e,this.source)}catch(t){return void this.destination.error(t)}if(n){if(this.resultSelector)return void this._tryResultSelector(t,e);this.lastValue=t,this.hasValue=!0}},t.prototype._tryResultSelector=function(t,e){var n;try{n=this.resultSelector(t,e)}catch(t){return void this.destination.error(t)}this.lastValue=n,this.hasValue=!0},t.prototype._complete=function(){var t=this.destination;this.hasValue?(t.next(this.lastValue),t.complete()):t.error(new a.EmptyError)},t}(i.Subscriber)},{"../Subscriber":81,"../util/EmptyError":159}],136:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../Subscriber");n.map=function(e,n){return function(t){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return t.lift(new o(e,n))}};var o=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}();n.MapOperator=o;var a=function(r){function t(t,e,n){r.call(this,t),this.project=e,this.count=0,this.thisArg=n||this}return i(t,r),t.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t}(r.Subscriber)},{"../Subscriber":81}],137:[function(t,e,n){"use strict";var r=t("./mergeMap"),i=t("../util/identity");n.mergeAll=function(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),r.mergeMap(i.identity,null,t)}},{"../util/identity":163,"./mergeMap":138}],138:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/subscribeToResult"),i=t("../OuterSubscriber");n.mergeMap=function(e,n,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),function(t){return"number"==typeof n&&(r=n,n=null),t.lift(new a(e,n,r))}};var a=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.resultSelector,this.concurrent))},t}();n.MergeMapOperator=a;var s=function(i){function t(t,e,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY),i.call(this,t),this.project=e,this.resultSelector=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return r(t,i),t.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},t.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},t.prototype._innerSub=function(t,e,n){this.add(o.subscribeToResult(this,t,e,n))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._notifyResultSelector(t,e,n,r):this.destination.next(e)},t.prototype._notifyResultSelector=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},t.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,0<e.length?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.OuterSubscriber);n.MergeMapSubscriber=s},{"../OuterSubscriber":77,"../util/subscribeToResult":175}],139:[function(t,e,n){"use strict";var o=t("../observable/ConnectableObservable");n.multicast=function(r,i){return function(t){var e;if(e="function"==typeof r?r:function(){return r},"function"==typeof i)return t.lift(new a(e,i));var n=Object.create(t,o.connectableObservableDescriptor);return n.source=t,n.subjectFactory=e,n}};var a=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();n.MulticastOperator=a},{"../observable/ConnectableObservable":85}],140:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../Subscriber"),o=t("../Notification");n.observeOn=function(e,n){return void 0===n&&(n=0),function(t){return t.lift(new a(e,n))}};var a=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.scheduler,this.delay))},t}();n.ObserveOnOperator=a;var s=function(r){function e(t,e,n){void 0===n&&(n=0),r.call(this,t),this.scheduler=e,this.delay=n}return i(e,r),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new l(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(o.Notification.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(o.Notification.createError(t))},e.prototype._complete=function(){this.scheduleMessage(o.Notification.createComplete())},e}(r.Subscriber);n.ObserveOnSubscriber=s;var l=function(t,e){this.notification=t,this.destination=e};n.ObserveOnMessage=l},{"../Notification":74,"../Subscriber":81}],141:[function(t,e,n){"use strict";var i=t("./scan"),o=t("./takeLast"),a=t("./defaultIfEmpty"),s=t("../util/pipe");n.reduce=function(r,e){return 2<=arguments.length?function(t){return s.pipe(i.scan(r,e),o.takeLast(1),a.defaultIfEmpty(e))(t)}:function(t){return s.pipe(i.scan(function(t,e,n){return r(t,e,n+1)}),o.takeLast(1))(t)}}},{"../util/pipe":173,"./defaultIfEmpty":129,"./scan":143,"./takeLast":148}],142:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber");n.refCount=function(){return function(t){return t.lift(new o(t))}};var o=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new a(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),a=function(n){function t(t,e){n.call(this,t),this.connectable=e}return r(t,n),t.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,1<e)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(i.Subscriber)},{"../Subscriber":81}],143:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber");n.scan=function(e,n){var r=!1;return 2<=arguments.length&&(r=!0),function(t){return t.lift(new o(e,n,r))}};var o=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.accumulator,this.seed,this.hasSeed))},t}(),a=function(i){function t(t,e,n,r){i.call(this,t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}return r(t,i),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),t.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},t.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},t}(i.Subscriber)},{"../Subscriber":81}],144:[function(t,e,n){"use strict";var r=t("./multicast"),i=t("./refCount"),o=t("../Subject");function a(){return new o.Subject}n.share=function(){return function(t){return i.refCount()(r.multicast(a)(t))}}},{"../Subject":79,"./multicast":139,"./refCount":142}],145:[function(t,e,n){"use strict";var i=t("../observable/ArrayObservable"),o=t("../observable/ScalarObservable"),a=t("../observable/EmptyObservable"),s=t("../observable/concat"),l=t("../util/isScheduler");n.startWith=function(){for(var r=[],t=0;t<arguments.length;t++)r[t-0]=arguments[t];return function(t){var e=r[r.length-1];l.isScheduler(e)?r.pop():e=null;var n=r.length;return 1===n?s.concat(new o.ScalarObservable(r[0],e),t):1<n?s.concat(new i.ArrayObservable(r,e),t):s.concat(new a.EmptyObservable(e),t)}}},{"../observable/ArrayObservable":84,"../observable/EmptyObservable":87,"../observable/ScalarObservable":95,"../observable/concat":98,"../util/isScheduler":171}],146:[function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},r=t("../OuterSubscriber"),o=t("../util/subscribeToResult");n.switchMap=function(e,n){return function(t){return t.lift(new a(e,n))}};var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.project,this.resultSelector))},t}(),s=function(r){function t(t,e,n){r.call(this,t),this.project=e,this.resultSelector=n,this.index=0}return i(t,r),t.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},t.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=o.subscribeToResult(this,t,e,n))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||r.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&r.prototype._complete.call(this)},t.prototype.notifyNext=function(t,e,n,r,i){this.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},t.prototype._tryNotifyNext=function(t,e,n,r){var i;try{i=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(i)},t}(r.OuterSubscriber)},{"../OuterSubscriber":77,"../util/subscribeToResult":175}],147:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber"),o=t("../util/ArgumentOutOfRangeError"),a=t("../observable/EmptyObservable");n.take=function(e){return function(t){return 0===e?new a.EmptyObservable:t.lift(new s(e))}};var s=function(){function t(t){if(this.total=t,this.total<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(n){function t(t,e){n.call(this,t),this.total=e,this.count=0}return r(t,n),t.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},t}(i.Subscriber)},{"../Subscriber":81,"../observable/EmptyObservable":87,"../util/ArgumentOutOfRangeError":158}],148:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscriber"),o=t("../util/ArgumentOutOfRangeError"),a=t("../observable/EmptyObservable");n.takeLast=function(e){return function(t){return 0===e?new a.EmptyObservable:t.lift(new s(e))}};var s=function(){function t(t){if(this.total=t,this.total<0)throw new o.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.total))},t}(),l=function(n){function t(t,e){n.call(this,t),this.total=e,this.ring=new Array,this.count=0}return r(t,n),t.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length<n?e.push(t):e[r%n]=t},t.prototype._complete=function(){var t=this.destination,e=this.count;if(0<e)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=e++%n;t.next(r[o])}t.complete()},t}(i.Subscriber)},{"../Subscriber":81,"../observable/EmptyObservable":87,"../util/ArgumentOutOfRangeError":158}],149:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../OuterSubscriber"),o=t("../util/subscribeToResult");n.takeUntil=function(e){return function(t){return t.lift(new a(e))}};var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new s(t,this.notifier))},t}(),s=function(n){function t(t,e){n.call(this,t),this.notifier=e,this.add(o.subscribeToResult(this,e))}return r(t,n),t.prototype.notifyNext=function(t,e,n,r,i){this.complete()},t.prototype.notifyComplete=function(){},t}(i.OuterSubscriber)},{"../OuterSubscriber":77,"../util/subscribeToResult":175}],150:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},a=t("../Subscriber");n.tap=function(e,n,r){return function(t){return t.lift(new i(e,n,r))}};var i=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new o(t,this.nextOrObserver,this.error,this.complete))},t}(),o=function(o){function t(t,e,n,r){o.call(this,t);var i=new a.Subscriber(e,n,r);i.syncErrorThrowable=!0,this.add(i),this.safeSubscriber=i}return r(t,o),t.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},t.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},t.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},t}(a.Subscriber)},{"../Subscriber":81}],151:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(n){function t(t,e){n.call(this)}return r(t,n),t.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},t}(t("../Subscription").Subscription);n.Action=i},{"../Subscription":82}],152:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/root"),o=function(n){function t(t,e){n.call(this,t,e),this.scheduler=t,this.work=e,this.pending=!1}return r(t,n),t.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},t.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),i.root.setInterval(t.flush.bind(t,this),n)},t.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;i.root.clearInterval(e)},t.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},t}(t("./Action").Action);n.AsyncAction=o},{"../util/root":174,"./Action":151}],153:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return r(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(t("../Scheduler").Scheduler);n.AsyncScheduler=i},{"../Scheduler":78}],154:[function(t,e,n){"use strict";var r=t("./AsyncAction"),i=t("./AsyncScheduler");n.async=new i.AsyncScheduler(r.AsyncAction)},{"./AsyncAction":152,"./AsyncScheduler":153}],155:[function(t,e,n){"use strict";var r=t("../util/root");function i(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var i=Object.getOwnPropertyNames(r.prototype),o=0;o<i.length;++o){var a=i[o];if("entries"!==a&&"size"!==a&&r.prototype[a]===r.prototype.entries)return a}return"@@iterator"}n.symbolIteratorPonyfill=i,n.iterator=i(r.root),n.$$iterator=n.iterator},{"../util/root":174}],156:[function(t,e,n){"use strict";var r=t("../util/root");function i(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.getSymbolObservable=i,n.observable=i(r.root),n.$$observable=n.observable},{"../util/root":174}],157:[function(t,e,n){"use strict";var r=t("../util/root").root.Symbol;n.rxSubscriber="function"==typeof r&&"function"==typeof r.for?r.for("rxSubscriber"):"@@rxSubscriber",n.$$rxSubscriber=n.rxSubscriber},{"../util/root":174}],158:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(e){function t(){var t=e.call(this,"argument out of range");this.name=t.name="ArgumentOutOfRangeError",this.stack=t.stack,this.message=t.message}return r(t,e),t}(Error);n.ArgumentOutOfRangeError=i},{}],159:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(e){function t(){var t=e.call(this,"no elements in sequence");this.name=t.name="EmptyError",this.stack=t.stack,this.message=t.message}return r(t,e),t}(Error);n.EmptyError=i},{}],160:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return r(t,e),t}(Error);n.ObjectUnsubscribedError=i},{}],161:[function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);function r(){this.constructor=t}t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(n){function t(t){n.call(this),this.errors=t;var e=Error.call(this,t?t.length+" errors occurred during unsubscription:\n "+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=e.name="UnsubscriptionError",this.stack=e.stack,this.message=e.message}return r(t,n),t}(Error);n.UnsubscriptionError=i},{}],162:[function(t,e,n){"use strict";n.errorObject={e:{}}},{}],163:[function(t,e,n){"use strict";n.identity=function(t){return t}},{}],164:[function(t,e,n){"use strict";n.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},{}],165:[function(t,e,n){"use strict";n.isArrayLike=function(t){return t&&"number"==typeof t.length}},{}],166:[function(t,e,n){"use strict";n.isDate=function(t){return t instanceof Date&&!isNaN(+t)}},{}],167:[function(t,e,n){"use strict";n.isFunction=function(t){return"function"==typeof t}},{}],168:[function(t,e,n){"use strict";var r=t("../util/isArray");n.isNumeric=function(t){return!r.isArray(t)&&0<=t-parseFloat(t)+1}},{"../util/isArray":164}],169:[function(t,e,n){"use strict";n.isObject=function(t){return null!=t&&"object"==typeof t}},{}],170:[function(t,e,n){"use strict";n.isPromise=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},{}],171:[function(t,e,n){"use strict";n.isScheduler=function(t){return t&&"function"==typeof t.schedule}},{}],172:[function(t,e,n){"use strict";n.noop=function(){}},{}],173:[function(t,e,n){"use strict";var r=t("./noop");function i(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(t,e){return e(t)},t)}:r.noop}n.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return i(t)},n.pipeFromArray=i},{"./noop":172}],174:[function(t,e,i){(function(t){"use strict";var e="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r=e||void 0!==t&&t||n;i.root=r,function(){if(!r)throw new Error("RxJS could not find any global context (window, self, global)")}()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],175:[function(t,e,n){"use strict";var p=t("./root"),d=t("./isArrayLike"),h=t("./isPromise"),f=t("./isObject"),m=t("../Observable"),g=t("../symbol/iterator"),y=t("../InnerSubscriber"),v=t("../symbol/observable");n.subscribeToResult=function(t,e,n,r){var i=new y.InnerSubscriber(t,n,r);if(i.closed)return null;if(e instanceof m.Observable)return e._isScalar?(i.next(e.value),i.complete(),null):(i.syncErrorThrowable=!0,e.subscribe(i));if(d.isArrayLike(e)){for(var o=0,a=e.length;o<a&&!i.closed;o++)i.next(e[o]);i.closed||i.complete()}else{if(h.isPromise(e))return e.then(function(t){i.closed||(i.next(t),i.complete())},function(t){return i.error(t)}).then(null,function(t){p.root.setTimeout(function(){throw t})}),i;if(e&&"function"==typeof e[g.iterator])for(var s=e[g.iterator]();;){var l=s.next();if(l.done){i.complete();break}if(i.next(l.value),i.closed)break}else if(e&&"function"==typeof e[v.observable]){var c=e[v.observable]();if("function"==typeof c.subscribe)return c.subscribe(new y.InnerSubscriber(t,n,r));i.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var u="You provided "+(f.isObject(e)?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";i.error(new TypeError(u))}}return null}},{"../InnerSubscriber":73,"../Observable":75,"../symbol/iterator":155,"../symbol/observable":156,"./isArrayLike":165,"./isObject":169,"./isPromise":170,"./root":174}],176:[function(t,e,n){"use strict";var r=t("../Subscriber"),i=t("../symbol/rxSubscriber"),o=t("../Observer");n.toSubscriber=function(t,e,n){if(t){if(t instanceof r.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||n?new r.Subscriber(t,e,n):new r.Subscriber(o.empty)}},{"../Observer":76,"../Subscriber":81,"../symbol/rxSubscriber":157}],177:[function(t,e,n){"use strict";var r,i=t("./errorObject");function o(){try{return r.apply(this,arguments)}catch(t){return i.errorObject.e=t,i.errorObject}}n.tryCatch=function(t){return r=t,o}},{"./errorObject":162}],178:[function(t,w,e){(function(r){var e,n,i,o,a,s,l,c,u,p,d,h,f,m,g,y,v,b,_;!function(t){var e="object"==typeof r?r:"object"==typeof self?self:"object"==typeof this?this:{};function n(n,r){return n!==e&&("function"==typeof Object.create?Object.defineProperty(n,"__esModule",{value:!0}):n.__esModule=!0),function(t,e){return n[t]=r?r(t,e):e}}"object"==typeof w&&"object"==typeof w.exports?t(n(e,n(w.exports))):t(n(e))}(function(t){var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};e=function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},n=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(t);i<r.length;i++)e.indexOf(r[i])<0&&(n[r[i]]=t[r[i]])}return n},o=function(t,e,n,r){var i,o=arguments.length,a=o<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;0<=s;s--)(i=t[s])&&(a=(o<3?i(a):3<o?i(e,n,a):i(e,n))||a);return 3<o&&a&&Object.defineProperty(e,n,a),a},a=function(n,r){return function(t,e){r(t,e,n)}},s=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},l=function(o,a,s,l){return new(s||(s=Promise))(function(t,e){function n(t){try{i(l.next(t))}catch(t){e(t)}}function r(t){try{i(l.throw(t))}catch(t){e(t)}}function i(e){e.done?t(e.value):new s(function(t){t(e.value)}).then(n,r)}i((l=l.apply(o,a||[])).next())})},c=function(n,r){var i,o,a,t,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return t={next:e(0),throw:e(1),return:e(2)},"function"==typeof Symbol&&(t[Symbol.iterator]=function(){return this}),t;function e(e){return function(t){return function(e){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,o&&(a=o[2&e[0]?"return":e[0]?"throw":"next"])&&!(a=a.call(o,e[1])).done)return a;switch(o=0,a&&(e=[0,a.value]),e[0]){case 0:case 1:a=e;break;case 4:return s.label++,{value:e[1],done:!1};case 5:s.label++,o=e[1],e=[0];continue;case 7:e=s.ops.pop(),s.trys.pop();continue;default:if(!(a=0<(a=s.trys).length&&a[a.length-1])&&(6===e[0]||2===e[0])){s=0;continue}if(3===e[0]&&(!a||e[1]>a[0]&&e[1]<a[3])){s.label=e[1];break}if(6===e[0]&&s.label<a[1]){s.label=a[1],a=e;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(e);break}a[2]&&s.ops.pop(),s.trys.pop();continue}e=r.call(n,s)}catch(t){e=[6,t],o=0}finally{i=a=0}if(5&e[0])throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}([e,t])}}},u=function(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])},p=function(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}},d=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||0<e--)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},h=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(d(arguments[e]));return t},f=function(t){return this instanceof f?(this.v=t,this):new f(t)},m=function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(t,e||[]),a=[];return i={},r("next"),r("throw"),r("return"),i[Symbol.asyncIterator]=function(){return this},i;function r(r){o[r]&&(i[r]=function(n){return new Promise(function(t,e){1<a.push([r,n,t,e])||s(r,n)})})}function s(t,e){try{(n=o[t](e)).value instanceof f?Promise.resolve(n.value.v).then(l,c):u(a[0][2],n)}catch(t){u(a[0][3],t)}var n}function l(t){s("next",t)}function c(t){s("throw",t)}function u(t,e){t(e),a.shift(),a.length&&s(a[0][0],a[0][1])}},g=function(r){var t,i;return t={},e("next"),e("throw",function(t){throw t}),e("return"),t[Symbol.iterator]=function(){return this},t;function e(e,n){r[e]&&(t[e]=function(t){return(i=!i)?{value:f(r[e](t)),done:"return"===e}:n?n(t):t})}},y=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator];return e?e.call(t):p(t)},v=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},b=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},_=function(t){return t&&t.__esModule?t:{default:t}},t("__extends",e),t("__assign",n),t("__rest",i),t("__decorate",o),t("__param",a),t("__metadata",s),t("__awaiter",l),t("__generator",c),t("__exportStar",u),t("__values",p),t("__read",d),t("__spread",h),t("__await",f),t("__asyncGenerator",m),t("__asyncDelegator",g),t("__asyncValues",y),t("__makeTemplateObject",v),t("__importStar",b),t("__importDefault",_)})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[43])(43)}); \ No newline at end of file diff --git a/apps/maarch_entreprise/js/angular/systemjs.config.js b/apps/maarch_entreprise/js/angular/systemjs.config.js deleted file mode 100755 index d186bd7231e..00000000000 --- a/apps/maarch_entreprise/js/angular/systemjs.config.js +++ /dev/null @@ -1,70 +0,0 @@ -/** - * System configuration for Angular samples - * Adjust as necessary for your application needs. - */ -(function (global) { - System.config({ - paths: { - // paths serve as alias - 'npm:': '../../node_modules/' - }, - // map tells the System loader where to look for things - map: { - app: 'js/angular/app', - lang: 'js/angular/lang', - plugins: 'js/angular/plugins', - - // angular bundles - '@angular/animations': 'npm:@angular/animations/bundles/animations.umd.min.js', - '@angular/animations/browser': 'npm:@angular/animations/bundles/animations-browser.umd.min.js', - '@angular/cdk': 'npm:@angular/cdk/bundles/cdk.umd.min.js', - '@angular/cdk/a11y': 'npm:@angular/cdk/bundles/cdk-a11y.umd.min.js', - '@angular/cdk/accordion': 'npm:@angular/cdk/bundles/cdk-accordion.umd.min.js', - '@angular/cdk/bidi': 'npm:@angular/cdk/bundles/cdk-bidi.umd.min.js', - '@angular/cdk/coercion': 'npm:@angular/cdk/bundles/cdk-coercion.umd.min.js', - '@angular/cdk/collections': 'npm:@angular/cdk/bundles/cdk-collections.umd.min.js', - '@angular/cdk/keycodes': 'npm:@angular/cdk/bundles/cdk-keycodes.umd.min.js', - '@angular/cdk/layout': 'npm:@angular/cdk/bundles/cdk-layout.umd.min.js', - '@angular/cdk/observers': 'npm:@angular/cdk/bundles/cdk-observers.umd.min.js', - '@angular/cdk/overlay': 'npm:@angular/cdk/bundles/cdk-overlay.umd.min.js', - '@angular/cdk/platform': 'npm:@angular/cdk/bundles/cdk-platform.umd.min.js', - '@angular/cdk/portal': 'npm:@angular/cdk/bundles/cdk-portal.umd.min.js', - '@angular/cdk/rxjs': 'npm:@angular/cdk/bundles/cdk-rxjs.umd.min.js', - '@angular/cdk/scrolling': 'npm:@angular/cdk/bundles/cdk-scrolling.umd.min.js', - '@angular/cdk/stepper': 'npm:@angular/cdk/bundles/cdk-stepper.umd.min.js', - '@angular/cdk/table': 'npm:@angular/cdk/bundles/cdk-table.umd.min.js', - '@angular/common': 'npm:@angular/common/bundles/common.umd.min.js', - '@angular/common/http': 'npm:@angular/common/bundles/common-http.umd.min.js', - '@angular/compiler': 'npm:@angular/compiler/bundles/compiler.umd.min.js', - '@angular/core': 'npm:@angular/core/bundles/core.umd.min.js', - '@angular/forms': 'npm:@angular/forms/bundles/forms.umd.min.js', - '@angular/http': 'npm:@angular/http/bundles/http.umd.min.js', - '@angular/material-moment-adapter': 'npm:@angular/material-moment-adapter/bundles/material-moment-adapter.umd.min.js', - '@angular/material': 'npm:@angular/material/bundles/material.umd.min.js', - '@angular/platform-browser-dynamic': 'npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.min.js', - '@angular/platform-browser': 'npm:@angular/platform-browser/bundles/platform-browser.umd.min.js', - '@angular/platform-browser/animations': 'npm:@angular/platform-browser/bundles/platform-browser-animations.umd.min.js', - '@angular/router': 'npm:@angular/router/bundles/router.umd.min.js', - 'ng2-dnd': 'npm:ng2-dnd/bundles/ng2-dnd.umd.min.js', - - // other libraries - 'rxjs': 'npm:rxjs', - 'tslib': 'npm:tslib/tslib.js' - }, - // packages tells the System loader how to load when no filename and/or no extension - packages: { - app: { - defaultExtension: 'js' - }, - lang: { - defaultExtension: 'js' - }, - plugins: { - defaultExtension: 'js' - }, - rxjs: { - defaultExtension: 'js' - }, - } - }); -})(this); diff --git a/apps/maarch_entreprise/js/angular/tsconfig.app.json b/apps/maarch_entreprise/js/angular/tsconfig.app.json new file mode 100644 index 00000000000..f4c049cad09 --- /dev/null +++ b/apps/maarch_entreprise/js/angular/tsconfig.app.json @@ -0,0 +1,12 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../out-tsc/app", + "baseUrl": "../../", + "module": "es2015", + "types": [] + }, + "exclude": [ + "**/*.spec.ts" + ] +} diff --git a/apps/maarch_entreprise/js/angularFunctions.js b/apps/maarch_entreprise/js/angularFunctions.js index 44b97208886..7eecf1bcfcb 100755 --- a/apps/maarch_entreprise/js/angularFunctions.js +++ b/apps/maarch_entreprise/js/angularFunctions.js @@ -1,90 +1,45 @@ var angularGlobals = {}; +var alreadyLoaded = false; function triggerAngular(prodmode, locationToGo) { - var views = [ - //'header', - 'menu', - 'menuNav', - 'administration', - 'users-administration', - 'users-administration-redirect-modal', - 'user-administration', - 'groups-administration', - 'groups-administration-redirect-modal', - 'group-administration', - 'baskets-administration', - 'basket-administration', - 'basket-administration-settings-modal', - 'basket-administration-groupList-modal', - 'doctypes-administration', - 'doctypes-administration-redirect-modal', - 'diffusionModels-administration', - 'diffusionModel-administration', - 'entities-administration', - 'entities-administration-redirect-modal', - 'entity-administration', - 'status-administration', - 'statuses-administration', - 'actions-administration', - 'action-administration', - 'history-administration', - 'historyBatch-administration', - 'update-status-administration', - 'profile', - 'signature-book', - 'parameter-administration', - 'parameters-administration', - 'priorities-administration', - 'priority-administration', - 'reports-administration', - 'notifications-administration', - 'notifications-schedule-administration', - 'notification-administration' - ]; - $j.ajax({ url : '../../rest/initialize', - type : 'POST', + type : 'GET', dataType : 'json', - data: { - views : views - }, success: function(answer) { - angularGlobals = answer; + $j('#inner_content').html('<i class="fa fa-spinner fa-spin fa-5x" style="margin-left: 50%;margin-top: 16%;font-size: 8em"></i>'); - if (prodmode) { - var alreadyLoaded = false; - $j('script').each(function(i, element) { - if (element.src == (answer.coreUrl + "apps/maarch_entreprise/js/angular/main.bundle.min.js")) { - alreadyLoaded = true; - } - }); - if (!alreadyLoaded) { - var head = document.getElementsByTagName('head')[0]; + if (!alreadyLoaded) { + var head = document.getElementsByTagName('head')[0]; + + answer['scriptsToinject'].forEach(function(element, i) { var script = document.createElement('script'); script.type = 'text/javascript'; - script.src = "js/angular/main.bundle.min.js"; + script.src = "../../dist/" + element; - script.onreadystatechange = changeLocationToAngular(locationToGo); - script.onload = changeLocationToAngular(locationToGo); + if ((i + 1) === answer['scriptsToinject'].length) { + script.onreadystatechange = changeLocationToAngular(locationToGo); + script.onload = changeLocationToAngular(locationToGo); + } // Fire the loading - head.appendChild(script); - var meta = document.createElement('meta'); - meta.name = 'viewport'; - meta.content = "width=device-width, initial-scale=1.0"; - head.appendChild(meta); - } else { - location.href = locationToGo; - } - } else { - System.import('js/angular/main.js').catch(function(err){ console.error(err); }); - var head = document.getElementsByTagName('head')[0]; + if (i === 2) { + setTimeout(function () { + head.appendChild(script); + }, 200); + } else { + head.appendChild(script); + } + }); + var meta = document.createElement('meta'); meta.name = 'viewport'; meta.content = "width=device-width, initial-scale=1.0"; head.appendChild(meta); + + alreadyLoaded = true; + } else { location.href = locationToGo; } } diff --git a/package-lock.json b/package-lock.json index a95a5e24fdf..74aeb52638e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3,10 +3,58 @@ "requires": true, "lockfileVersion": 1, "dependencies": { + "@angular-devkit/build-optimizer": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@angular-devkit/build-optimizer/-/build-optimizer-0.3.2.tgz", + "integrity": "sha512-U0BCZtThq5rUfY08shHXpxe8ZhSsiYB/cJjUvAWRTs/ORrs8pbngS6xwseQws8d/vHoVrtqGD9GU9h8AmFRERQ==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "source-map": "0.5.7", + "typescript": "2.6.2", + "webpack-sources": "1.1.0" + } + }, + "@angular-devkit/core": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.3.2.tgz", + "integrity": "sha512-zABk/iP7YX5SVbmK4e+IX7j2d0D37MQJQiKgWdV3JzfvVJhNJzddiirtT980pIafoq+KyvTgVwXtc+vnux0oeQ==", + "dev": true, + "requires": { + "ajv": "5.5.2", + "chokidar": "1.7.0", + "rxjs": "5.5.6", + "source-map": "0.5.7" + }, + "dependencies": { + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + } + } + }, + "@angular-devkit/schematics": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@angular-devkit/schematics/-/schematics-0.3.2.tgz", + "integrity": "sha512-B6zZoqvHaTJy+vVdA6EtlxnCdGMa5elCa4j9lQLC3JI8DLvMXUWkCIPVbPzJ/GSRR9nsKWpvYMYaJyfBDUqfhw==", + "dev": true, + "requires": { + "@ngtools/json-schema": "1.2.0", + "rxjs": "5.5.6" + } + }, "@angular/animations": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/animations/-/animations-5.2.8.tgz", - "integrity": "sha1-Mc20kWOIEyP6Xe1B6JaD7F6ayLU=", + "integrity": "sha512-VfHN7ICR9QBaEbA02ip7ipNjD6m9ayfsliIE/ACkTVevObEdL90T3Q/NxiX+JRZSDL09M9XopIi1/WOeOn6Evw==", "dev": true, "requires": { "tslib": "1.9.0" @@ -21,10 +69,77 @@ "tslib": "1.9.0" } }, + "@angular/cli": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/@angular/cli/-/cli-1.7.3.tgz", + "integrity": "sha512-19sh0SbjneG7/R/FvZBfHsHqfIqyj4LQuXdddJKMCDM97UoHQTjfgrpRvBf3a3lR79wdLXchWJBD9Yc6ifosEA==", + "dev": true, + "requires": { + "@angular-devkit/build-optimizer": "0.3.2", + "@angular-devkit/core": "0.3.2", + "@angular-devkit/schematics": "0.3.2", + "@ngtools/json-schema": "1.2.0", + "@ngtools/webpack": "1.10.2", + "@schematics/angular": "0.3.2", + "@schematics/package-update": "0.3.2", + "ajv": "6.2.1", + "autoprefixer": "7.2.6", + "cache-loader": "1.2.2", + "chalk": "2.2.2", + "circular-dependency-plugin": "4.4.0", + "clean-css": "4.1.11", + "common-tags": "1.7.2", + "copy-webpack-plugin": "4.4.3", + "core-object": "3.1.5", + "denodeify": "1.2.1", + "ember-cli-string-utils": "1.1.0", + "extract-text-webpack-plugin": "3.0.2", + "file-loader": "1.1.11", + "fs-extra": "4.0.3", + "glob": "7.1.2", + "html-webpack-plugin": "2.30.1", + "istanbul-instrumenter-loader": "3.0.0", + "karma-source-map-support": "1.2.0", + "less": "2.7.3", + "less-loader": "4.1.0", + "license-webpack-plugin": "1.3.0", + "loader-utils": "1.1.0", + "lodash": "4.17.5", + "memory-fs": "0.4.1", + "minimatch": "3.0.4", + "node-modules-path": "1.0.1", + "node-sass": "4.8.1", + "nopt": "4.0.1", + "opn": "5.1.0", + "portfinder": "1.0.13", + "postcss": "6.0.19", + "postcss-import": "11.1.0", + "postcss-loader": "2.1.1", + "postcss-url": "7.3.1", + "raw-loader": "0.5.1", + "resolve": "1.5.0", + "rxjs": "5.5.6", + "sass-loader": "6.0.7", + "semver": "5.5.0", + "silent-error": "1.1.0", + "source-map-support": "0.4.18", + "style-loader": "0.19.1", + "stylus": "0.54.5", + "stylus-loader": "3.0.2", + "uglifyjs-webpack-plugin": "1.2.3", + "url-loader": "0.6.2", + "webpack": "3.11.0", + "webpack-dev-middleware": "1.12.2", + "webpack-dev-server": "2.11.2", + "webpack-merge": "4.1.2", + "webpack-sources": "1.1.0", + "webpack-subresource-integrity": "1.0.4" + } + }, "@angular/common": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/common/-/common-5.2.8.tgz", - "integrity": "sha1-JcgWCTBeTO5nNNkMj/ETKrNfgb8=", + "integrity": "sha512-vHODEZPDtBU5b7a2GjtQYPYmCPRq5FQsJp696pebGMJEZdvN/Du43z8V7lWEdBBLGD+oNXX6rXGD9Pr4P/Bg9w==", "dev": true, "requires": { "tslib": "1.9.0" @@ -49,12 +164,20 @@ "minimist": "1.2.0", "reflect-metadata": "0.1.12", "tsickle": "0.27.2" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } } }, "@angular/core": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/core/-/core-5.2.8.tgz", - "integrity": "sha1-0udlfyxc5/BQ6PQ43MQgyb68oQo=", + "integrity": "sha512-exvh2OY+WDm90bgzZ89Asi2nZc2zrg/OWJuKMbxNfA6nxnyjCQ7uGRjTGr+MOynG+vd54J2Evtg2eDPdbcNg5A==", "dev": true, "requires": { "tslib": "1.9.0" @@ -63,7 +186,7 @@ "@angular/forms": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-5.2.8.tgz", - "integrity": "sha1-7aPA7iywhVgbub+Kw8e0Y7CCtkM=", + "integrity": "sha512-yxpFwZcek7259O1+4p1Zfd8FOEJs8lh6T8n2W7IBT8Q1pcAMBCYfMi/Xga69AbypFIy3P+V6DaJoq8ZZgpwefg==", "dev": true, "requires": { "tslib": "1.9.0" @@ -72,7 +195,7 @@ "@angular/http": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/http/-/http-5.2.8.tgz", - "integrity": "sha1-vlExUDJRX4aZ+LgQ6/PKeMDMN1k=", + "integrity": "sha512-vtrO7RLN9v7adVrs/neWStmrCH6+4gm1gYqUYfl6BIYnazACMleqIeAagTbTD08oMblx2dU17NRNbD+2qL8q5A==", "dev": true, "requires": { "tslib": "1.9.0" @@ -90,7 +213,7 @@ "@angular/platform-browser": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/platform-browser/-/platform-browser-5.2.8.tgz", - "integrity": "sha1-JTJkiHQprXEFeIK8vFz9ofpLvAY=", + "integrity": "sha512-f0tONG8+ZQOiv5/hLY76Sl1/BY6AR8Zt4buf2klz7zba5SxKLZwcsk6OfJC2PA0WtlJGiz7cSjbPr0B5sZKv8w==", "dev": true, "requires": { "tslib": "1.9.0" @@ -99,7 +222,7 @@ "@angular/platform-browser-dynamic": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/platform-browser-dynamic/-/platform-browser-dynamic-5.2.8.tgz", - "integrity": "sha1-8qYgaUrXcb9GbSvXUso6ZX6n1Gw=", + "integrity": "sha512-FzHVZf5XMty0v+hnWOU5PsXexlebvW4+EhfGG85vWCM/M9y0bF3ZSmdqZoXfGO8/Px2JbcBx0r3+GKUgsCieMA==", "dev": true, "requires": { "tslib": "1.9.0" @@ -119,33 +242,58 @@ "@angular/router": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/@angular/router/-/router-5.2.8.tgz", - "integrity": "sha1-EOkGgD5ecdQtFXsMzXjnc9HjFvw=", + "integrity": "sha512-v4k1eUpauO8z/q9kcjr+vDhLvvGw5MzctJJQRoObqLhckFGBmAoITfEFsbF1ejsd/nqa9i+ivxe+LB00evbFXw==", "dev": true, "requires": { "tslib": "1.9.0" } }, - "@browserify/acorn5-object-spread": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@browserify/acorn5-object-spread/-/acorn5-object-spread-5.0.1.tgz", - "integrity": "sha1-kumzf5e+rJ7EKaPMR53tOAKXVAw=", + "@ngtools/json-schema": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@ngtools/json-schema/-/json-schema-1.2.0.tgz", + "integrity": "sha512-pMh+HDc6mOjUO3agRfB1tInimo7hf67u+0Cska2bfXFe6oU7rSMnr5PLVtiZVgwMoBHpx/6XjBymvcnWPo2Uzg==", + "dev": true + }, + "@ngtools/webpack": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/@ngtools/webpack/-/webpack-1.10.2.tgz", + "integrity": "sha512-3u2zg2rarG3qNLSukBClGADWuq/iNn5SQtlSeAbfKzwBeyLGbF0gN1z1tVx1Bcr8YwFzR6NdRePQmJGcoqq1fg==", "dev": true, "requires": { - "acorn": "5.3.0" - }, - "dependencies": { - "acorn": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz", - "integrity": "sha1-dEbTlFnFT7SagObuZHgUm5QOyCI=", - "dev": true - } + "chalk": "2.2.2", + "enhanced-resolve": "3.4.1", + "loader-utils": "1.1.0", + "magic-string": "0.22.4", + "semver": "5.5.0", + "source-map": "0.5.7", + "tree-kill": "1.2.0", + "webpack-sources": "1.1.0" + } + }, + "@schematics/angular": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@schematics/angular/-/angular-0.3.2.tgz", + "integrity": "sha512-Elrk0BA951s0ScFZU0AWrpUeJBYVR52DZ1QTIO5R0AhwEd1PW4olI8szPLGQlVW5Sd6H0FA/fyFLIvn2r9v6Rw==", + "dev": true, + "requires": { + "typescript": "2.6.2" + } + }, + "@schematics/package-update": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@schematics/package-update/-/package-update-0.3.2.tgz", + "integrity": "sha512-7aVP4994Hu8vRdTTohXkfGWEwLhrdNP3EZnWyBootm5zshWqlQojUGweZe5zwewsKcixeVOiy2YtW+aI4aGSLA==", + "dev": true, + "requires": { + "rxjs": "5.5.6", + "semver": "5.5.0", + "semver-intersect": "1.3.1" } }, "@types/datatables.net": { "version": "1.10.8", "resolved": "https://registry.npmjs.org/@types/datatables.net/-/datatables.net-1.10.8.tgz", - "integrity": "sha1-La3k1KULWHq3l0px5J7Q654Y8wA=", + "integrity": "sha512-5RzUppTRNhVJhAtP1Pq+hFVJgFP7V7yNt8Tjob8cXFg1zo91mtCR6xZn4JJ1hT6fYM1w9Bz9Iy62ja1bbZx7ZA==", "dev": true, "requires": { "@types/jquery": "2.0.49" @@ -160,7 +308,7 @@ "@types/node": { "version": "7.0.56", "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.56.tgz", - "integrity": "sha1-trZZBJGRgivkPBRhDBeF1LnN3s8=", + "integrity": "sha512-NgjN3xPyqbAXSIpznNAR5Cisx5uKqJWxcS9kefzSFEX/9J7O01/FHyfnvPI7SztBf9p6c8mqOn3olZWJx3ja6g==", "dev": true }, "JSONStream": { @@ -179,12 +327,77 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, + "accepts": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.5.tgz", + "integrity": "sha1-63d99gEXI6OxTopywIBcjoZ0a9I=", + "dev": true, + "requires": { + "mime-types": "2.1.18", + "negotiator": "0.6.1" + } + }, "acorn": { - "version": "4.0.13", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", - "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "version": "5.5.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.5.3.tgz", + "integrity": "sha512-jd5MkIUlbbmb07nXH0DT3y7rDVtkzDi4XZOUVWAer8ajmF/DTSSbl5oNFyDOl/OXA33Bl79+ypHhl2pN20VeOQ==", + "dev": true + }, + "acorn-dynamic-import": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz", + "integrity": "sha1-x1K9IQvvZ5UBtsbLf8hPj0cVjMQ=", + "dev": true, + "requires": { + "acorn": "4.0.13" + }, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + } + } + }, + "acorn-node": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.3.0.tgz", + "integrity": "sha512-efP54n3d1aLfjL2UMdaXa6DsswwzJeI5rqhbFvXMrKiJ6eJFpf+7R0zN7t8IC+XKn2YOAFAv6xbBNgHUkoHWLw==", + "dev": true, + "requires": { + "acorn": "5.5.3", + "xtend": "4.0.1" + } + }, + "ajv": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.2.1.tgz", + "integrity": "sha1-KKarxJOiq+D7TIUHrK7bQ/pVBnE=", + "dev": true, + "requires": { + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "ajv-keywords": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.1.0.tgz", + "integrity": "sha1-rCsnk5xUPpXSwG5/f1wnvkqlQ74=", "dev": true }, + "align-text": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", + "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", + "dev": true, + "requires": { + "kind-of": "3.2.2", + "longest": "1.0.1", + "repeat-string": "1.6.1" + } + }, "amdefine": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", @@ -233,6 +446,12 @@ } } }, + "ansi-html": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", + "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", + "dev": true + }, "ansi-regex": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", @@ -240,15 +459,18 @@ "dev": true }, "ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "dev": true + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "1.9.1" + } }, "anymatch": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz", - "integrity": "sha1-VT3Lj5HjyImEXf26NMd3IbkLnXo=", + "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==", "dev": true, "requires": { "micromatch": "2.3.11", @@ -268,7 +490,16 @@ "dev": true, "requires": { "delegates": "1.0.0", - "readable-stream": "2.3.3" + "readable-stream": "2.3.5" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "1.0.3" } }, "arr-diff": { @@ -283,7 +514,7 @@ "arr-flatten": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha1-NgSLv/TntH4TZkQxbJlmnqWukfE=", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", "dev": true }, "arr-union": { @@ -304,6 +535,22 @@ "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", "dev": true }, + "array-flatten": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.1.tgz", + "integrity": "sha1-Qmu52oQJDBg42BLIFQryCoMx4pY=", + "dev": true + }, + "array-includes": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.0.3.tgz", + "integrity": "sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=", + "dev": true, + "requires": { + "define-properties": "1.1.2", + "es-abstract": "1.10.0" + } + }, "array-map": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz", @@ -316,12 +563,40 @@ "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=", "dev": true }, + "array-union": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", + "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", + "dev": true, + "requires": { + "array-uniq": "1.0.3" + } + }, + "array-uniq": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", + "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", + "dev": true + }, "array-unique": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", "dev": true }, + "arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", + "dev": true + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "dev": true, + "optional": true + }, "asn1": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz", @@ -329,9 +604,9 @@ "dev": true }, "asn1.js": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.9.2.tgz", - "integrity": "sha1-gRfvT37YfNj4kES1v/l6wkOhbJo=", + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz", + "integrity": "sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==", "dev": true, "requires": { "bn.js": "4.11.8", @@ -367,6 +642,23 @@ "dev": true, "requires": { "acorn": "4.0.13" + }, + "dependencies": { + "acorn": { + "version": "4.0.13", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-4.0.13.tgz", + "integrity": "sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=", + "dev": true + } + } + }, + "async": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz", + "integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==", + "dev": true, + "requires": { + "lodash": "4.17.5" } }, "async-each": { @@ -393,6 +685,20 @@ "integrity": "sha1-GcenYEc3dEaPILLS0DNyrX1Mv10=", "dev": true }, + "autoprefixer": { + "version": "7.2.6", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-7.2.6.tgz", + "integrity": "sha512-Iq8TRIB+/9eQ8rbGhcP7ct5cYb/3qjNYAR2SnzLCEcwF6rvVOax8+9+fccgXk4bEhQGjOZd5TLhsksmAdsbGqQ==", + "dev": true, + "requires": { + "browserslist": "2.11.3", + "caniuse-lite": "1.0.30000813", + "normalize-range": "0.1.2", + "num2fraction": "1.2.2", + "postcss": "6.0.19", + "postcss-value-parser": "3.3.0" + } + }, "aws-sign2": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.6.0.tgz", @@ -405,6 +711,127 @@ "integrity": "sha1-g+9cqGCysy5KDe7e6MdxudtXRx4=", "dev": true }, + "babel-code-frame": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", + "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "esutils": "2.0.2", + "js-tokens": "3.0.2" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "babel-generator": { + "version": "6.26.1", + "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", + "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", + "dev": true, + "requires": { + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "detect-indent": "4.0.0", + "jsesc": "1.3.0", + "lodash": "4.17.5", + "source-map": "0.5.7", + "trim-right": "1.0.1" + } + }, + "babel-messages": { + "version": "6.23.0", + "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", + "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "dev": true, + "requires": { + "core-js": "2.5.3", + "regenerator-runtime": "0.11.1" + } + }, + "babel-template": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", + "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "lodash": "4.17.5" + } + }, + "babel-traverse": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", + "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", + "dev": true, + "requires": { + "babel-code-frame": "6.26.0", + "babel-messages": "6.23.0", + "babel-runtime": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "debug": "2.6.9", + "globals": "9.18.0", + "invariant": "2.2.3", + "lodash": "4.17.5" + } + }, + "babel-types": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", + "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", + "dev": true, + "requires": { + "babel-runtime": "6.26.0", + "esutils": "2.0.2", + "lodash": "4.17.5", + "to-fast-properties": "1.0.3" + } + }, + "babylon": { + "version": "6.18.0", + "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", + "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", + "dev": true + }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -444,9 +871,15 @@ } }, "base64-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.1.tgz", - "integrity": "sha1-qRlH2h9KUW6jjltOwOw3c2deCIY=", + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.2.3.tgz", + "integrity": "sha512-MsAhsUW1GxCdgYSO6tAfZrNapmUKk7mWx/k5mFY/A1gBtkaCaNapTg+FExCw1r9yeaZhqx/xPg43xgTFH6KL5w==", + "dev": true + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", "dev": true }, "bcrypt-pbkdf": { @@ -459,6 +892,12 @@ "tweetnacl": "0.14.5" } }, + "big.js": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz", + "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q==", + "dev": true + }, "binary-extensions": { "version": "1.11.0", "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", @@ -474,10 +913,62 @@ "inherits": "2.0.3" } }, + "bluebird": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", + "integrity": "sha512-MKiLiV+I1AA596t9w1sQJ8jkiSr5+ZKi0WKrYGUn6d1Fx+Ij4tIj+m2WMQSGczs5jZVxV339chE8iwk6F64wjA==", + "dev": true + }, "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", - "integrity": "sha1-LN4J617jQfSEdGuwMJsyU7GxRC8=", + "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", + "dev": true + }, + "body-parser": { + "version": "1.18.2", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz", + "integrity": "sha1-h2eKGdhLR9hZuDGZvVm84iKxBFQ=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "content-type": "1.0.4", + "debug": "2.6.9", + "depd": "1.1.2", + "http-errors": "1.6.2", + "iconv-lite": "0.4.19", + "on-finished": "2.3.0", + "qs": "6.5.1", + "raw-body": "2.3.2", + "type-is": "1.6.16" + }, + "dependencies": { + "qs": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", + "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", + "dev": true + } + } + }, + "bonjour": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", + "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", + "dev": true, + "requires": { + "array-flatten": "2.1.1", + "deep-equal": "1.0.1", + "dns-equal": "1.0.0", + "dns-txt": "2.0.2", + "multicast-dns": "6.2.3", + "multicast-dns-service-types": "1.1.0" + } + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", "dev": true }, "boom": { @@ -502,7 +993,7 @@ "requires": { "ansi-align": "2.0.0", "camelcase": "4.1.0", - "chalk": "2.3.1", + "chalk": "2.2.2", "cli-boxes": "1.0.0", "string-width": "2.1.1", "term-size": "1.2.0", @@ -515,32 +1006,12 @@ "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", "dev": true }, - "ansi-styles": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } - }, "camelcase": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", "dev": true }, - "chalk": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", - "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==", - "dev": true, - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "5.2.0" - } - }, "is-fullwidth-code-point": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", @@ -565,22 +1036,13 @@ "requires": { "ansi-regex": "3.0.0" } - }, - "supports-color": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz", - "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==", - "dev": true, - "requires": { - "has-flag": "3.0.0" - } } } }, "brace-expansion": { - "version": "1.1.8", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", - "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, "requires": { "balanced-match": "1.0.0", @@ -605,9 +1067,9 @@ "dev": true }, "browser-pack": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.0.3.tgz", - "integrity": "sha1-kcqWUYWD71gKsGOjCd5i5Ad2ejk=", + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.0.4.tgz", + "integrity": "sha512-Q4Rvn7P6ObyWfc4stqLWHtG1MJ8vVtjgT24Zbu+8UTzxYuZouqZsmNRRTFVMY/Ux0eIKv1d+JWzsInTX+fdHPQ==", "dev": true, "requires": { "JSONStream": "1.3.2", @@ -615,7 +1077,7 @@ "defined": "1.0.0", "safe-buffer": "5.1.1", "through2": "2.0.3", - "umd": "3.0.1" + "umd": "3.0.2" } }, "browser-resolve": { @@ -638,15 +1100,15 @@ "browserify": { "version": "15.2.0", "resolved": "https://registry.npmjs.org/browserify/-/browserify-15.2.0.tgz", - "integrity": "sha1-HhIbofpyz5/S2N8AL4Z0totF34k=", + "integrity": "sha512-IHYyFPm2XjJCL+VV0ZtFv8wn/sAHVOm83q3yfSn8YWbZ9jcybgPKxSDdiuMU+35jUL1914l74RnXXPD9Iyo9yg==", "dev": true, "requires": { "JSONStream": "1.3.2", "assert": "1.4.1", - "browser-pack": "6.0.3", + "browser-pack": "6.0.4", "browser-resolve": "1.11.2", "browserify-zlib": "0.2.0", - "buffer": "5.0.8", + "buffer": "5.1.0", "cached-path-relative": "1.0.1", "concat-stream": "1.5.2", "console-browserify": "1.1.0", @@ -662,7 +1124,7 @@ "htmlescape": "1.1.1", "https-browserify": "1.0.0", "inherits": "2.0.3", - "insert-module-globals": "7.0.1", + "insert-module-globals": "7.0.2", "labeled-stream-splicer": "2.0.0", "mkdirp": "0.5.1", "module-deps": "5.0.1", @@ -673,7 +1135,7 @@ "punycode": "1.4.1", "querystring-es3": "0.2.1", "read-only-stream": "2.0.0", - "readable-stream": "2.3.3", + "readable-stream": "2.3.5", "resolve": "1.5.0", "shasum": "1.0.2", "shell-quote": "1.6.1", @@ -681,7 +1143,7 @@ "stream-http": "2.8.0", "string_decoder": "1.0.3", "subarg": "1.0.0", - "syntax-error": "1.3.0", + "syntax-error": "1.4.0", "through2": "2.0.3", "timers-browserify": "1.4.2", "tty-browserify": "0.0.0", @@ -689,19 +1151,85 @@ "util": "0.10.3", "vm-browserify": "0.0.4", "xtend": "4.0.1" - } - }, - "browserify-aes": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.1.1.tgz", - "integrity": "sha1-OLerVe24Bv8tzaGn8WIHc6R3xJ8=", - "dev": true, - "requires": { - "buffer-xor": "1.0.3", - "cipher-base": "1.0.4", - "create-hash": "1.1.3", - "evp_bytestokey": "1.0.3", - "inherits": "2.0.3", + }, + "dependencies": { + "buffer": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.1.0.tgz", + "integrity": "sha512-YkIRgwsZwJWTnyQrsBTWefizHh+8GYj3kbL1BTiAQ/9pwpino0G7B2gp5tx/FUBqUlvtxV85KNR3mwfAtv15Yw==", + "dev": true, + "requires": { + "base64-js": "1.2.3", + "ieee754": "1.1.8" + } + }, + "concat-stream": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.2.tgz", + "integrity": "sha1-cIl4Yk2FavQaWnQd790mHadSwmY=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.0.6", + "typedarray": "0.0.6" + }, + "dependencies": { + "readable-stream": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", + "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "string_decoder": "0.10.31", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "domain-browser": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", + "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=", + "dev": true + }, + "process-nextick-args": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", + "dev": true + }, + "timers-browserify": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", + "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", + "dev": true, + "requires": { + "process": "0.11.10" + } + } + } + }, + "browserify-aes": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.1.1.tgz", + "integrity": "sha512-UGnTYAnB2a3YuYKIRy1/4FB2HdM866E0qC46JXvVTYKlBlZlnvfpSfY6OKfXZAkv70eJ2a1SqzpAo5CRhZGDFg==", + "dev": true, + "requires": { + "buffer-xor": "1.0.3", + "cipher-base": "1.0.4", + "create-hash": "1.1.3", + "evp_bytestokey": "1.0.3", + "inherits": "2.0.3", "safe-buffer": "5.1.1" } }, @@ -755,22 +1283,39 @@ "browserify-zlib": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha1-KGlFnZqjviRf6P4sofRuLn9U1z8=", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", "dev": true, "requires": { "pako": "1.0.6" } }, + "browserslist": { + "version": "2.11.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.11.3.tgz", + "integrity": "sha512-yWu5cXT7Av6mVwzWc8lMsJMHWn4xyjSuGYi4IozbVTLUOEYPSagUB8kiMDUHA1fS3zjr8nkxkn9jdvug4BBRmA==", + "dev": true, + "requires": { + "caniuse-lite": "1.0.30000813", + "electron-to-chromium": "1.3.37" + } + }, "buffer": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.0.8.tgz", - "integrity": "sha1-hNqlLnzy+ozkGVvFzw94CeCTCyQ=", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "dev": true, "requires": { - "base64-js": "1.2.1", - "ieee754": "1.1.8" + "base64-js": "1.2.3", + "ieee754": "1.1.8", + "isarray": "1.0.0" } }, + "buffer-indexof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", + "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==", + "dev": true + }, "buffer-xor": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", @@ -789,6 +1334,33 @@ "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", "dev": true }, + "bytes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", + "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", + "dev": true + }, + "cacache": { + "version": "10.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", + "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", + "dev": true, + "requires": { + "bluebird": "3.5.1", + "chownr": "1.0.1", + "glob": "7.1.2", + "graceful-fs": "4.1.11", + "lru-cache": "4.1.2", + "mississippi": "2.0.0", + "mkdirp": "0.5.1", + "move-concurrently": "1.0.1", + "promise-inflight": "1.0.1", + "rimraf": "2.6.2", + "ssri": "5.2.4", + "unique-filename": "1.1.0", + "y18n": "4.0.0" + } + }, "cache-base": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", @@ -814,12 +1386,34 @@ } } }, + "cache-loader": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/cache-loader/-/cache-loader-1.2.2.tgz", + "integrity": "sha512-rsGh4SIYyB9glU+d0OcHwiXHXBoUgDhHZaQ1KAbiXqfz1CDPxtTboh1gPbJ0q2qdO8a9lfcjgC5CJ2Ms32y5bw==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "mkdirp": "0.5.1", + "neo-async": "2.5.0", + "schema-utils": "0.4.5" + } + }, "cached-path-relative": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.1.tgz", "integrity": "sha1-0JxLUoAKpMB44t2BqGmqyQ0uVOc=", "dev": true }, + "camel-case": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", + "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=", + "dev": true, + "requires": { + "no-case": "2.3.2", + "upper-case": "1.1.3" + } + }, "camelcase": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", @@ -836,6 +1430,12 @@ "map-obj": "1.0.1" } }, + "caniuse-lite": { + "version": "1.0.30000813", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000813.tgz", + "integrity": "sha512-A8ITSmH5SFdMFdC704ggjg+x2z5PzQmVlG8tavwnfvbC33Q1UYrj0+G+Xm0SNAnd4He36fwUE/KEWytOEchw+A==", + "dev": true + }, "capture-stack-trace": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz", @@ -843,22 +1443,30 @@ "dev": true }, "caseless": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", - "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", "dev": true }, + "center-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/center-align/-/center-align-0.1.3.tgz", + "integrity": "sha1-qg0yYptu6XIgBBHL1EYckHvCt60=", + "dev": true, + "requires": { + "align-text": "0.1.4", + "lazy-cache": "1.0.4" + } + }, "chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.2.2.tgz", + "integrity": "sha512-LvixLAQ4MYhbf7hgL4o5PeK32gJKvVzDRiSNIApDofQvyhl8adgG2lJVXn4+ekQoK7HL9RF8lqxwerpe0x2pCw==", "dev": true, "requires": { - "ansi-styles": "2.2.1", + "ansi-styles": "3.2.1", "escape-string-regexp": "1.0.5", - "has-ansi": "2.0.0", - "strip-ansi": "3.0.1", - "supports-color": "2.0.0" + "supports-color": "4.5.0" } }, "chart.js": { @@ -883,16 +1491,28 @@ "readdirp": "2.1.0" } }, + "chownr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.0.1.tgz", + "integrity": "sha1-4qdQQqlVGQi+vSW4Uj1fl2nXkYE=", + "dev": true + }, "cipher-base": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha1-h2Dk7MJy9MNjUy+SbYdKriwTl94=", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", "dev": true, "requires": { "inherits": "2.0.3", "safe-buffer": "5.1.1" } }, + "circular-dependency-plugin": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/circular-dependency-plugin/-/circular-dependency-plugin-4.4.0.tgz", + "integrity": "sha512-yEFtUNUYT4jBykEX5ZOHw+5goA3glGZr9wAXIQqoyakjz5H5TeUmScnWRc52douAhb9eYzK3s7V6bXfNnjFdzg==", + "dev": true + }, "class-utils": { "version": "0.3.6", "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", @@ -929,7 +1549,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -949,7 +1569,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -979,6 +1599,15 @@ } } }, + "clean-css": { + "version": "4.1.11", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.1.11.tgz", + "integrity": "sha1-Ls3xRaujj1R0DybO/Q/z4D4SXWo=", + "dev": true, + "requires": { + "source-map": "0.5.7" + } + }, "cli-boxes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz", @@ -996,6 +1625,47 @@ "wrap-ansi": "2.1.0" } }, + "clone": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.1.tgz", + "integrity": "sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=", + "dev": true + }, + "clone-deep": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-2.0.2.tgz", + "integrity": "sha512-SZegPTKjCgpQH63E+eN6mVEEPdQBOUzjyJm5Pora4lrwWRFS8I0QAxV/KD6vV/i0WuijHZWQC1fMsPEdxfdVCQ==", + "dev": true, + "requires": { + "for-own": "1.0.0", + "is-plain-object": "2.0.4", + "kind-of": "6.0.2", + "shallow-clone": "1.0.0" + }, + "dependencies": { + "for-own": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", + "dev": true, + "requires": { + "for-in": "1.0.2" + } + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + } + } + }, + "co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "dev": true + }, "code-point-at": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", @@ -1037,6 +1707,14 @@ "inline-source-map": "0.6.2", "lodash.memoize": "3.0.4", "source-map": "0.5.7" + }, + "dependencies": { + "convert-source-map": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", + "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=", + "dev": true + } } }, "combined-stream": { @@ -1049,9 +1727,24 @@ } }, "commander": { - "version": "2.15.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.0.tgz", - "integrity": "sha512-7B1ilBwtYSbetCgTY1NJFg+gVpestg0fdA1MhC1Vs4ssyfSXnCAjFr+QcQM9/RedXC0EaUx1sG8Smgw2VfgKEg==", + "version": "2.14.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz", + "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==", + "dev": true + }, + "common-tags": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.7.2.tgz", + "integrity": "sha512-joj9ZlUOjCrwdbmiLqafeUSgkUM74NqhLsZtSqDmhKudaIY197zTrb8JMl31fMnCUuxwFT23eC/oWvrZzDLRJQ==", + "dev": true, + "requires": { + "babel-runtime": "6.26.0" + } + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", "dev": true }, "component-emitter": { @@ -1060,6 +1753,30 @@ "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", "dev": true }, + "compressible": { + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.13.tgz", + "integrity": "sha1-DRAgq5JLL9tNYnmHXH1tq6a6p6k=", + "dev": true, + "requires": { + "mime-db": "1.33.0" + } + }, + "compression": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.2.tgz", + "integrity": "sha1-qv+81qr4VLROuygDU9WtFlH1mmk=", + "dev": true, + "requires": { + "accepts": "1.3.5", + "bytes": "3.0.0", + "compressible": "2.0.13", + "debug": "2.6.9", + "on-headers": "1.0.1", + "safe-buffer": "5.1.1", + "vary": "1.1.2" + } + }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -1067,36 +1784,14 @@ "dev": true }, "concat-stream": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.2.tgz", - "integrity": "sha1-cIl4Yk2FavQaWnQd790mHadSwmY=", + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.1.tgz", + "integrity": "sha512-gslSSJx03QKa59cIKqeJO9HQ/WZMotvYJCuaUULrLpjj8oG40kV2Z+gz82pVxlTkOADi4PJxQPPfhl1ELYrrXw==", "dev": true, "requires": { "inherits": "2.0.3", - "readable-stream": "2.0.6", + "readable-stream": "2.3.5", "typedarray": "0.0.6" - }, - "dependencies": { - "readable-stream": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", - "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", - "dev": true, - "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", - "isarray": "1.0.0", - "process-nextick-args": "1.0.7", - "string_decoder": "0.10.31", - "util-deprecate": "1.0.2" - } - }, - "string_decoder": { - "version": "0.10.31", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", - "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", - "dev": true - } } }, "configstore": { @@ -1113,6 +1808,12 @@ "xdg-basedir": "3.0.0" } }, + "connect-history-api-fallback": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.5.0.tgz", + "integrity": "sha1-sGhzk0vF40T+9hGhlqb6rgruAVo=", + "dev": true + }, "console-browserify": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz", @@ -1134,29 +1835,132 @@ "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", "dev": true }, + "content-disposition": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz", + "integrity": "sha1-DPaLud318r55YcOoUXjLhdunjLQ=", + "dev": true + }, + "content-type": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", + "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", + "dev": true + }, "convert-source-map": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", - "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", + "dev": true + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", "dev": true }, + "cookie-signature": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", + "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=", + "dev": true + }, + "copy-concurrently": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", + "dev": true, + "requires": { + "aproba": "1.2.0", + "fs-write-stream-atomic": "1.0.10", + "iferr": "0.1.5", + "mkdirp": "0.5.1", + "rimraf": "2.6.2", + "run-queue": "1.0.3" + } + }, "copy-descriptor": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, + "copy-webpack-plugin": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.4.3.tgz", + "integrity": "sha512-v4THQ24Tks2NkyOvZuFDgZVfDD9YaA9rwYLZTrWg2GHIA8lrH5DboEyeoorh5Skki+PUbgSmnsCwhMWqYrQZrA==", + "dev": true, + "requires": { + "cacache": "10.0.4", + "find-cache-dir": "1.0.0", + "globby": "7.1.1", + "is-glob": "4.0.0", + "loader-utils": "1.1.0", + "minimatch": "3.0.4", + "p-limit": "1.2.0", + "serialize-javascript": "1.4.0" + }, + "dependencies": { + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, "core-js": { "version": "2.5.3", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz", "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=" }, + "core-object": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/core-object/-/core-object-3.1.5.tgz", + "integrity": "sha512-sA2/4+/PZ/KV6CKgjrVrrUVBKCkdDO02CUlQ0YKTQoYUwPYNOtOAcWlbYhd5v/1JqYaA6oZ4sDlOU4ppVw6Wbg==", + "dev": true, + "requires": { + "chalk": "2.2.2" + } + }, "core-util-is": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, + "cosmiconfig": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-2.2.2.tgz", + "integrity": "sha512-GiNXLwAFPYHy25XmTPpafYvn3CLAkJ8FLsscq78MQd1Kh0OU6Yzhn4eV2MVF4G9WEQZoWEGltatdR+ntGPMl5A==", + "dev": true, + "requires": { + "is-directory": "0.3.1", + "js-yaml": "3.11.0", + "minimist": "1.2.0", + "object-assign": "4.1.1", + "os-homedir": "1.0.2", + "parse-json": "2.2.0", + "require-from-string": "1.2.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, "create-ecdh": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.0.tgz", @@ -1185,7 +1989,7 @@ "cipher-base": "1.0.4", "inherits": "2.0.3", "ripemd160": "2.0.1", - "sha.js": "2.4.9" + "sha.js": "2.4.10" } }, "create-hmac": { @@ -1199,7 +2003,7 @@ "inherits": "2.0.3", "ripemd160": "2.0.1", "safe-buffer": "5.1.1", - "sha.js": "2.4.9" + "sha.js": "2.4.10" } }, "cross-spawn": { @@ -1208,7 +2012,7 @@ "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", "dev": true, "requires": { - "lru-cache": "4.1.1", + "lru-cache": "4.1.2", "which": "1.3.0" } }, @@ -1224,7 +2028,7 @@ "crypto-browserify": { "version": "3.12.0", "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "integrity": "sha1-OWz58xN/A+S45TLFj2mCVOAPgOw=", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", "dev": true, "requires": { "browserify-cipher": "1.0.0", @@ -1237,7 +2041,7 @@ "pbkdf2": "3.0.14", "public-encrypt": "4.0.0", "randombytes": "2.0.6", - "randomfill": "1.0.3" + "randomfill": "1.0.4" } }, "crypto-random-string": { @@ -1246,6 +2050,36 @@ "integrity": "sha1-ojD2T1aDEOFJgAmUB5DsmVRbyn4=", "dev": true }, + "css-parse": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/css-parse/-/css-parse-1.7.0.tgz", + "integrity": "sha1-Mh9s9zeCpv91ERE5D8BeLGV9jJs=", + "dev": true + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "1.0.0", + "css-what": "2.1.0", + "domutils": "1.5.1", + "nth-check": "1.0.1" + } + }, + "css-what": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.0.tgz", + "integrity": "sha1-lGfQMsOM+u+58teVASUwYvh/ob0=", + "dev": true + }, + "cuint": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cuint/-/cuint-0.2.2.tgz", + "integrity": "sha1-QICG1AlVDCYxFVYZ6fp7ytw7mRs=", + "dev": true + }, "currently-unhandled": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", @@ -1255,6 +2089,21 @@ "array-find-index": "1.0.2" } }, + "cyclist": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-0.2.2.tgz", + "integrity": "sha1-GzN5LhHpFKL9bW7WRHRkRE5fpkA=", + "dev": true + }, + "d": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.0.tgz", + "integrity": "sha1-dUu1v+VUUdpppYuU1F9MWwRi1Y8=", + "dev": true, + "requires": { + "es5-ext": "0.10.40" + } + }, "dashdash": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", @@ -1287,9 +2136,9 @@ "dev": true }, "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", "dev": true, "requires": { "ms": "2.0.0" @@ -1307,16 +2156,32 @@ "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", "dev": true }, + "deep-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.0.1.tgz", + "integrity": "sha1-9dJgKStmDghO/0zbyfCK0yR0SLU=", + "dev": true + }, "deep-extend": { "version": "0.4.2", "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz", "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=", "dev": true }, - "define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "define-properties": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.2.tgz", + "integrity": "sha1-g6c/L+pWmJj7c3GTyPhzyvbUXJQ=", + "dev": true, + "requires": { + "foreach": "2.0.5", + "object-keys": "1.0.11" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", "dev": true, "requires": { "is-descriptor": "1.0.2", @@ -1337,6 +2202,43 @@ "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=", "dev": true }, + "del": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", + "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", + "dev": true, + "requires": { + "globby": "6.1.0", + "is-path-cwd": "1.0.0", + "is-path-in-cwd": "1.0.0", + "p-map": "1.2.0", + "pify": "3.0.0", + "rimraf": "2.6.2" + }, + "dependencies": { + "globby": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "glob": "7.1.2", + "object-assign": "4.1.1", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + } + } + }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", @@ -1349,6 +2251,18 @@ "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "dev": true }, + "denodeify": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/denodeify/-/denodeify-1.2.1.tgz", + "integrity": "sha1-OjYof1A05pnnV3kBBSwubJQlFjE=", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, "deps-sort": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.0.tgz", @@ -1371,21 +2285,42 @@ "minimalistic-assert": "1.0.0" } }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-indent": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", + "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", + "dev": true, + "requires": { + "repeating": "2.0.1" + } + }, + "detect-node": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.3.tgz", + "integrity": "sha1-ogM8CcyOFY03dI+951B4Mr1s4Sc=", + "dev": true + }, "detective": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.0.2.tgz", - "integrity": "sha1-hOwuHFgedCEeKuT/zh7fUsMmP4Q=", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/detective/-/detective-5.1.0.tgz", + "integrity": "sha512-TFHMqfOvxlgrfVzTEkNBSh9SvSNX/HfF4OFI2QFGCyPm02EsyILqnUeb5P6q7JZ3SFNTBL5t2sePRgrN4epUWQ==", "dev": true, "requires": { - "@browserify/acorn5-object-spread": "5.0.1", - "acorn": "5.3.0", - "defined": "1.0.0" + "acorn-node": "1.3.0", + "defined": "1.0.0", + "minimist": "1.2.0" }, "dependencies": { - "acorn": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.3.0.tgz", - "integrity": "sha1-dEbTlFnFT7SagObuZHgUm5QOyCI=", + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "dev": true } } @@ -1401,18 +2336,113 @@ "randombytes": "2.0.6" } }, + "dir-glob": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz", + "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==", + "dev": true, + "requires": { + "arrify": "1.0.1", + "path-type": "3.0.0" + } + }, + "dns-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", + "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=", + "dev": true + }, + "dns-packet": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", + "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", + "dev": true, + "requires": { + "ip": "1.1.5", + "safe-buffer": "5.1.1" + } + }, + "dns-txt": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz", + "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", + "dev": true, + "requires": { + "buffer-indexof": "1.1.1" + } + }, + "dom-converter": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.1.4.tgz", + "integrity": "sha1-pF71cnuJDJv/5tfIduexnLDhfzs=", + "dev": true, + "requires": { + "utila": "0.3.3" + }, + "dependencies": { + "utila": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/utila/-/utila-0.3.3.tgz", + "integrity": "sha1-1+jn1+MJEHCSsF+NloiCTWM6QiY=", + "dev": true + } + } + }, + "dom-serializer": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", + "integrity": "sha1-BzxpdUbOB4DOI75KKOKT5AvDDII=", + "dev": true, + "requires": { + "domelementtype": "1.1.3", + "entities": "1.1.1" + }, + "dependencies": { + "domelementtype": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz", + "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=", + "dev": true + } + } + }, "domain-browser": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.1.7.tgz", - "integrity": "sha1-hnqksJP6oF8d4IwG9NeyH9+GmLw=", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "domelementtype": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.0.tgz", + "integrity": "sha1-sXrtguirWeUt2cGbF1bg/BhyBMI=", "dev": true }, + "domhandler": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.1.0.tgz", + "integrity": "sha1-0mRvXlf2w7qxHPbLBdPArPdBJZQ=", + "dev": true, + "requires": { + "domelementtype": "1.3.0" + } + }, "domino": { "version": "1.0.30", "resolved": "https://registry.npmjs.org/domino/-/domino-1.0.30.tgz", - "integrity": "sha1-VKQVTsrpaGFmgPj+ujzt/zVccfQ=", + "integrity": "sha512-ikq8WiDSkICdkElud317F2Sigc6A3EDpWsxWBwIZqOl95km4p/Vc9Rj98id7qKgsjDmExj0AVM7JOd4bb647Xg==", "dev": true }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0.1.0", + "domelementtype": "1.3.0" + } + }, "dot-prop": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz", @@ -1434,7 +2464,7 @@ "integrity": "sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=", "dev": true, "requires": { - "readable-stream": "2.3.3" + "readable-stream": "2.3.5" } }, "duplexer3": { @@ -1443,6 +2473,18 @@ "integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=", "dev": true }, + "duplexify": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.5.4.tgz", + "integrity": "sha512-JzYSLYMhoVVBe8+mbHQ4KgpvHpm0DZpJuL8PY93Vyv1fW7jYJ90LoXa1di/CVbJM+TgMs91rbDapE/RNIfnJsA==", + "dev": true, + "requires": { + "end-of-stream": "1.4.1", + "inherits": "2.0.3", + "readable-stream": "2.3.5", + "stream-shift": "1.0.0" + } + }, "ecc-jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz", @@ -1453,6 +2495,24 @@ "jsbn": "0.1.1" } }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "ejs": { + "version": "2.5.7", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.5.7.tgz", + "integrity": "sha1-zIcsFoiArjxxiXYv1f/ACJbJUYo=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.37", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.37.tgz", + "integrity": "sha1-SpJzTgBEyM8LFVO+V+riGkxuX6s=", + "dev": true + }, "elliptic": { "version": "6.4.0", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.4.0.tgz", @@ -1468,6 +2528,60 @@ "minimalistic-crypto-utils": "1.0.1" } }, + "ember-cli-string-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ember-cli-string-utils/-/ember-cli-string-utils-1.1.0.tgz", + "integrity": "sha1-ObZ3/CgF9VFzc1N2/O8njqpEUqE=", + "dev": true + }, + "emojis-list": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", + "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "end-of-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz", + "integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==", + "dev": true, + "requires": { + "once": "1.4.0" + } + }, + "enhanced-resolve": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-3.4.1.tgz", + "integrity": "sha1-BCHjOf1xQZs9oT0Smzl5BAIwR24=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "memory-fs": "0.4.1", + "object-assign": "4.1.1", + "tapable": "0.2.8" + } + }, + "entities": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", + "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", + "dev": true + }, + "errno": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.7.tgz", + "integrity": "sha512-MfrRBDWzIWifgq6tJj60gkAwtLNb6sQPlcFrSOflcP1aFmmruKQ2wRnze/8V6kgyz7H3FF8Npzv78mZ7XLLflg==", + "dev": true, + "requires": { + "prr": "1.0.1" + } + }, "error-ex": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.1.tgz", @@ -1477,12 +2591,167 @@ "is-arrayish": "0.2.1" } }, + "es-abstract": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.10.0.tgz", + "integrity": "sha512-/uh/DhdqIOSkAWifU+8nG78vlQxdLckUdI/sPgy0VhuXi2qJ7T8czBmqIYtLQVpCIFYafChnsRsB5pyb1JdmCQ==", + "dev": true, + "requires": { + "es-to-primitive": "1.1.1", + "function-bind": "1.1.1", + "has": "1.0.1", + "is-callable": "1.1.3", + "is-regex": "1.0.4" + } + }, + "es-to-primitive": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.1.1.tgz", + "integrity": "sha1-RTVSSKiJeQNLZ5Lhm7gfK3l13Q0=", + "dev": true, + "requires": { + "is-callable": "1.1.3", + "is-date-object": "1.0.1", + "is-symbol": "1.0.1" + } + }, + "es5-ext": { + "version": "0.10.40", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.40.tgz", + "integrity": "sha512-S9Fh3oya5OOvYSNGvPZJ+vyrs6VYpe1IXPowVe3N1OhaiwVaGlwfn3Zf5P5klYcWOA0toIwYQW8XEv/QqhdHvQ==", + "dev": true, + "requires": { + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" + } + }, + "es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.40", + "es6-symbol": "3.1.1" + } + }, + "es6-map": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz", + "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.40", + "es6-iterator": "2.0.3", + "es6-set": "0.1.5", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-set": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz", + "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.40", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1", + "event-emitter": "0.3.5" + } + }, + "es6-symbol": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz", + "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.40" + } + }, + "es6-weak-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.2.tgz", + "integrity": "sha1-XjqzIlH/0VOKH45f+hNXdy+S2W8=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.40", + "es6-iterator": "2.0.3", + "es6-symbol": "3.1.1" + } + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true }, + "escope": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/escope/-/escope-3.6.0.tgz", + "integrity": "sha1-4Bl16BJ4GhY6ba392AOY3GTIicM=", + "dev": true, + "requires": { + "es6-map": "0.1.5", + "es6-weak-map": "2.0.2", + "esrecurse": "4.2.1", + "estraverse": "4.2.0" + } + }, + "esprima": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.0.tgz", + "integrity": "sha512-oftTcaMu/EGrEIu904mWteKIv8vMuOgGYo7EhVJJN00R/EED9DCua/xxHRdYnKtcECzVg7xOWhflvJMnqcFZjw==", + "dev": true + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "4.2.0" + } + }, + "estraverse": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", + "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", + "dev": true + }, + "esutils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", + "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "event-emitter": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz", + "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=", + "dev": true, + "requires": { + "d": "1.0.0", + "es5-ext": "0.10.40" + } + }, "event-stream": { "version": "3.3.4", "resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz", @@ -1498,16 +2767,31 @@ "through": "2.3.8" } }, + "eventemitter3": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-1.2.0.tgz", + "integrity": "sha1-HIaZHYFq0eUEdQ5zh0Ik7PO+xQg=", + "dev": true + }, "events": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", "dev": true }, + "eventsource": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-0.1.6.tgz", + "integrity": "sha1-Cs7ehJ7X3RzMMsgRuxG5RNTykjI=", + "dev": true, + "requires": { + "original": "1.0.0" + } + }, "evp_bytestokey": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha1-f8vbGY3HGVlDLv4ThCaE4FJaywI=", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", "dev": true, "requires": { "md5.js": "1.3.4", @@ -1535,7 +2819,7 @@ "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", "dev": true, "requires": { - "lru-cache": "4.1.1", + "lru-cache": "4.1.2", "shebang-command": "1.2.0", "which": "1.3.0" } @@ -1560,6 +2844,58 @@ "fill-range": "2.2.3" } }, + "express": { + "version": "4.16.2", + "resolved": "https://registry.npmjs.org/express/-/express-4.16.2.tgz", + "integrity": "sha1-41xt/i1kt9ygpc1PIXgb4ymeB2w=", + "dev": true, + "requires": { + "accepts": "1.3.5", + "array-flatten": "1.1.1", + "body-parser": "1.18.2", + "content-disposition": "0.5.2", + "content-type": "1.0.4", + "cookie": "0.3.1", + "cookie-signature": "1.0.6", + "debug": "2.6.9", + "depd": "1.1.2", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "finalhandler": "1.1.0", + "fresh": "0.5.2", + "merge-descriptors": "1.0.1", + "methods": "1.1.2", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "path-to-regexp": "0.1.7", + "proxy-addr": "2.0.3", + "qs": "6.5.1", + "range-parser": "1.2.0", + "safe-buffer": "5.1.1", + "send": "0.16.1", + "serve-static": "1.13.1", + "setprototypeof": "1.1.0", + "statuses": "1.3.1", + "type-is": "1.6.16", + "utils-merge": "1.0.1", + "vary": "1.1.2" + }, + "dependencies": { + "array-flatten": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", + "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=", + "dev": true + }, + "qs": { + "version": "6.5.1", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz", + "integrity": "sha512-eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==", + "dev": true + } + } + }, "extend": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz", @@ -1596,23 +2932,89 @@ "is-extglob": "1.0.0" } }, + "extract-text-webpack-plugin": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz", + "integrity": "sha512-bt/LZ4m5Rqt/Crl2HiKuAl/oqg0psx1tsTLkvWbJen1CtD+fftkZhMaQ9HOtY2gWsl2Wq+sABmMVi9z3DhKWQQ==", + "dev": true, + "requires": { + "async": "2.6.0", + "loader-utils": "1.1.0", + "schema-utils": "0.3.0", + "webpack-sources": "1.1.0" + }, + "dependencies": { + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "5.5.2" + } + } + } + }, "extsprintf": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", "dev": true }, - "filename-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "fast-deep-equal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", + "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", "dev": true }, - "fill-range": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", - "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", - "dev": true, + "fast-json-stable-stringify": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", + "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", + "dev": true + }, + "faye-websocket": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", + "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + }, + "file-loader": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-1.1.11.tgz", + "integrity": "sha512-TGR4HU7HUsGg6GCOPJnFk06RhWgEWFLAGWiT6rcD+GRC2keU3s9RGJ+b3Z6/U73jwwNb2gKLJ7YCrp+jvU4ALg==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "schema-utils": "0.4.5" + } + }, + "filename-regex": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", + "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", + "dev": true + }, + "fill-range": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz", + "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=", + "dev": true, "requires": { "is-number": "2.1.0", "isobject": "2.1.0", @@ -1621,14 +3023,49 @@ "repeat-string": "1.6.1" } }, + "finalhandler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", + "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "on-finished": "2.3.0", + "parseurl": "1.3.2", + "statuses": "1.3.1", + "unpipe": "1.0.0" + } + }, + "find-cache-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", + "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", + "dev": true, + "requires": { + "commondir": "1.0.1", + "make-dir": "1.2.0", + "pkg-dir": "2.0.0" + } + }, "find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "2.0.0" + } + }, + "flush-write-stream": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.2.tgz", + "integrity": "sha1-yBuQ2HRnZvGmCaRoCZRsRd2K5Bc=", "dev": true, "requires": { - "path-exists": "2.1.0", - "pinkie-promise": "2.0.1" + "inherits": "2.0.3", + "readable-stream": "2.3.5" } }, "for-in": { @@ -1646,6 +3083,12 @@ "for-in": "1.0.2" } }, + "foreach": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.5.tgz", + "integrity": "sha1-C+4AUBiusmDQo6865ljdATbsG5k=", + "dev": true + }, "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -1663,6 +3106,12 @@ "mime-types": "2.1.18" } }, + "forwarded": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", + "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", + "dev": true + }, "fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", @@ -1672,12 +3121,51 @@ "map-cache": "0.2.2" } }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, "from": { "version": "0.1.7", "resolved": "https://registry.npmjs.org/from/-/from-0.1.7.tgz", "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", "dev": true }, + "from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.3.5" + } + }, + "fs-extra": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", + "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "jsonfile": "4.0.0", + "universalify": "0.1.1" + } + }, + "fs-write-stream-atomic": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", + "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "iferr": "0.1.5", + "imurmurhash": "0.1.4", + "readable-stream": "2.3.5" + } + }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -1691,7 +3179,7 @@ "dev": true, "optional": true, "requires": { - "nan": "2.8.0", + "nan": "2.9.2", "node-pre-gyp": "0.6.39" }, "dependencies": { @@ -2603,7 +4091,7 @@ "function-bind": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", "dev": true }, "gauge": { @@ -2690,7 +4178,7 @@ "glob": { "version": "7.1.2", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha1-wZyd+aAocC1nhhI4SmVSQExjbRU=", + "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", "dev": true, "requires": { "fs.realpath": "1.0.0", @@ -2729,6 +4217,26 @@ "ini": "1.3.5" } }, + "globals": { + "version": "9.18.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", + "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", + "dev": true + }, + "globby": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/globby/-/globby-7.1.1.tgz", + "integrity": "sha1-+yzP+UAfhgCUXfral0QMypcrhoA=", + "dev": true, + "requires": { + "array-union": "1.0.2", + "dir-glob": "2.0.0", + "glob": "7.1.2", + "ignore": "3.3.7", + "pify": "3.0.0", + "slash": "1.0.0" + } + }, "globule": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/globule/-/globule-1.2.0.tgz", @@ -2771,16 +4279,38 @@ "integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE=", "dev": true }, + "handle-thing": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-1.2.5.tgz", + "integrity": "sha1-/Xqtcmvxpf0W38KbL3pmAdJxOcQ=", + "dev": true + }, + "har-schema": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-1.0.5.tgz", + "integrity": "sha1-0mMTX0MwfALGAq/I/pWXDAFRNp4=", + "dev": true + }, "har-validator": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", - "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-4.2.1.tgz", + "integrity": "sha1-M0gdDxu/9gDdID11gSpqX7oALio=", "dev": true, "requires": { - "chalk": "1.1.3", - "commander": "2.15.0", - "is-my-json-valid": "2.17.2", - "pinkie-promise": "2.0.1" + "ajv": "4.11.8", + "har-schema": "1.0.5" + }, + "dependencies": { + "ajv": { + "version": "4.11.8", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-4.11.8.tgz", + "integrity": "sha1-gv+wKynmYq5TvcIK8VlHcGc5xTY=", + "dev": true, + "requires": { + "co": "4.6.0", + "json-stable-stringify": "1.0.1" + } + } } }, "has": { @@ -2802,9 +4332,9 @@ } }, "has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", "dev": true }, "has-unicode": { @@ -2857,7 +4387,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -2868,7 +4398,7 @@ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -2885,7 +4415,7 @@ "hash.js": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha1-NA3tvmKQGHFRweodd3o0SJNd+EY=", + "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", "dev": true, "requires": { "inherits": "2.0.3", @@ -2904,6 +4434,12 @@ "sntp": "1.0.9" } }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -2927,12 +4463,198 @@ "integrity": "sha512-lIbgIIQA3lz5XaB6vxakj6sDHADJiZadYEJB+FgA+C4nubM1NwcuvUr9EJPmnH1skZqpqUzWborWo8EIUi0Sdw==", "dev": true }, + "hpack.js": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", + "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "obuf": "1.1.2", + "readable-stream": "2.3.5", + "wbuf": "1.7.3" + } + }, + "html-entities": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.2.1.tgz", + "integrity": "sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=", + "dev": true + }, + "html-minifier": { + "version": "3.5.10", + "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.10.tgz", + "integrity": "sha512-5c8iAyeIGAiuFhVjJ0qy1lgvyQxxuZgjeOuMnoK/wjEyy8DF3xKUnE9pO+6H7VMir976K6SGlZV8ZEmIOea/Zg==", + "dev": true, + "requires": { + "camel-case": "3.0.0", + "clean-css": "4.1.11", + "commander": "2.14.1", + "he": "1.1.1", + "ncname": "1.0.0", + "param-case": "2.1.1", + "relateurl": "0.2.7", + "uglify-js": "3.3.14" + } + }, + "html-webpack-plugin": { + "version": "2.30.1", + "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-2.30.1.tgz", + "integrity": "sha1-f5xCG36pHsRg9WUn1430hO51N9U=", + "dev": true, + "requires": { + "bluebird": "3.5.1", + "html-minifier": "3.5.10", + "loader-utils": "0.2.17", + "lodash": "4.17.5", + "pretty-error": "2.1.1", + "toposort": "1.0.6" + }, + "dependencies": { + "loader-utils": { + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz", + "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1", + "object-assign": "4.1.1" + } + } + } + }, "htmlescape": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz", "integrity": "sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=", "dev": true }, + "htmlparser2": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.3.0.tgz", + "integrity": "sha1-zHDQWln2VC5D8OaFyYLhTJJKnv4=", + "dev": true, + "requires": { + "domelementtype": "1.3.0", + "domhandler": "2.1.0", + "domutils": "1.1.6", + "readable-stream": "1.0.34" + }, + "dependencies": { + "domutils": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.1.6.tgz", + "integrity": "sha1-vdw94Jm5ou+sxRxiPyj0FuzFdIU=", + "dev": true, + "requires": { + "domelementtype": "1.3.0" + } + }, + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "0.0.1", + "string_decoder": "0.10.31" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, + "http-deceiver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", + "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=", + "dev": true + }, + "http-errors": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz", + "integrity": "sha1-CgAsyFcHGSp+eUbO7cERVfYOxzY=", + "dev": true, + "requires": { + "depd": "1.1.1", + "inherits": "2.0.3", + "setprototypeof": "1.0.3", + "statuses": "1.3.1" + }, + "dependencies": { + "depd": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz", + "integrity": "sha1-V4O04cRZ8G+lyif5kfPQbnoxA1k=", + "dev": true + }, + "setprototypeof": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz", + "integrity": "sha1-ZlZ+NwQ+608E2RvWWMDL77VbjgQ=", + "dev": true + } + } + }, + "http-parser-js": { + "version": "0.4.11", + "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.11.tgz", + "integrity": "sha512-QCR5O2AjjMW8Mo4HyI1ctFcv+O99j/0g367V3YoVnrNw5hkDvAWZD0lWGcc+F4yN3V55USPCVix4efb75HxFfA==", + "dev": true + }, + "http-proxy": { + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.16.2.tgz", + "integrity": "sha1-Bt/ykpUr9k2+hHH6nfcwZtTzd0I=", + "dev": true, + "requires": { + "eventemitter3": "1.2.0", + "requires-port": "1.0.0" + } + }, + "http-proxy-middleware": { + "version": "0.17.4", + "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.17.4.tgz", + "integrity": "sha1-ZC6ISIUdZvCdTxJJEoRtuutBuDM=", + "dev": true, + "requires": { + "http-proxy": "1.16.2", + "is-glob": "3.1.0", + "lodash": "4.17.5", + "micromatch": "2.3.11" + }, + "dependencies": { + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, "http-signature": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.1.1.tgz", @@ -2950,24 +4672,59 @@ "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", "dev": true }, + "iconv-lite": { + "version": "0.4.19", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz", + "integrity": "sha512-oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==", + "dev": true + }, "ieee754": { "version": "1.1.8", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz", "integrity": "sha1-vjPUCsEO8ZJnAfbwii2G+/0a0+Q=", "dev": true }, + "iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", + "dev": true + }, + "ignore": { + "version": "3.3.7", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.7.tgz", + "integrity": "sha512-YGG3ejvBNHRqu0559EOxxNFihD0AjpvHlC/pdGKd3X3ofe+CoJkYazwNJYTNebqpPKN+VVQbh4ZFn1DivMNuHA==", + "dev": true + }, "ignore-by-default": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/ignore-by-default/-/ignore-by-default-1.0.1.tgz", "integrity": "sha1-SMptcvbGo68Aqa1K5odr44ieKwk=", "dev": true }, + "image-size": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", + "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=", + "dev": true, + "optional": true + }, "import-lazy": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz", "integrity": "sha1-BWmOPUXIjo1+nZLLBYTnfwlvPkM=", "dev": true }, + "import-local": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz", + "integrity": "sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ==", + "dev": true, + "requires": { + "pkg-dir": "2.0.0", + "resolve-cwd": "2.0.0" + } + }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", @@ -3027,15 +4784,15 @@ } }, "insert-module-globals": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.0.1.tgz", - "integrity": "sha1-wDv04BywhtW15azorQr+eInWOMM=", + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.0.2.tgz", + "integrity": "sha512-p3s7g96Nm62MbHRuj9ZXab0DuJNWD7qcmdUXCOQ/ZZn42DtDXfsLill7bq19lDCx3K3StypqUnuE3H2VmIJFUw==", "dev": true, "requires": { "JSONStream": "1.3.2", "combine-source-map": "0.7.2", "concat-stream": "1.5.2", - "is-buffer": "1.1.5", + "is-buffer": "1.1.6", "lexical-scope": "1.2.0", "process": "0.11.10", "through2": "2.0.3", @@ -3053,17 +4810,96 @@ "lodash.memoize": "3.0.4", "source-map": "0.5.7" } + }, + "concat-stream": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.2.tgz", + "integrity": "sha1-cIl4Yk2FavQaWnQd790mHadSwmY=", + "dev": true, + "requires": { + "inherits": "2.0.3", + "readable-stream": "2.0.6", + "typedarray": "0.0.6" + } + }, + "convert-source-map": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz", + "integrity": "sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=", + "dev": true + }, + "process-nextick-args": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", + "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", + "dev": true + }, + "readable-stream": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz", + "integrity": "sha1-j5A0HmilPMySh4jaz80Rs265t44=", + "dev": true, + "requires": { + "core-util-is": "1.0.2", + "inherits": "2.0.3", + "isarray": "1.0.0", + "process-nextick-args": "1.0.7", + "string_decoder": "0.10.31", + "util-deprecate": "1.0.2" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true } } }, + "internal-ip": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-1.2.0.tgz", + "integrity": "sha1-rp+/k7mEh4eF1QqN4bNWlWBYz1w=", + "dev": true, + "requires": { + "meow": "3.7.0" + } + }, + "interpret": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", + "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", + "dev": true + }, + "invariant": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.3.tgz", + "integrity": "sha512-7Z5PPegwDTyjbaeCnV0efcyS6vdKAU51kpEmS7QFib3P4822l8ICYyMn7qvJnc+WzLoDsuI9gPMKbJ8pCu8XtA==", + "dev": true, + "requires": { + "loose-envify": "1.3.1" + } + }, "invert-kv": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", "dev": true }, - "is-accessor-descriptor": { - "version": "1.0.0", + "ip": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", + "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=", + "dev": true + }, + "ipaddr.js": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.6.0.tgz", + "integrity": "sha1-4/o1e3c9phnybpXwSdBVxyeW+Gs=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", "dev": true, @@ -3095,9 +4931,9 @@ } }, "is-buffer": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz", - "integrity": "sha1-Hzsm72E7IUuIy8ojzGwB2Hlh7sw=", + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", "dev": true }, "is-builtin-module": { @@ -3109,6 +4945,12 @@ "builtin-modules": "1.1.1" } }, + "is-callable": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.3.tgz", + "integrity": "sha1-hut1OSgF3cM69xySoO7fdO52BLI=", + "dev": true + }, "is-data-descriptor": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", @@ -3126,6 +4968,12 @@ } } }, + "is-date-object": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz", + "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", + "dev": true + }, "is-descriptor": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", @@ -3145,6 +4993,12 @@ } } }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, "is-dotfile": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", @@ -3266,6 +5120,21 @@ } } }, + "is-path-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", + "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", + "dev": true + }, + "is-path-in-cwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz", + "integrity": "sha1-ZHdYK4IU1gI0YJRWcAO+ip6sBNw=", + "dev": true, + "requires": { + "is-path-inside": "1.0.1" + } + }, "is-path-inside": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", @@ -3316,6 +5185,15 @@ "integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=", "dev": true }, + "is-regex": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz", + "integrity": "sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=", + "dev": true, + "requires": { + "has": "1.0.1" + } + }, "is-retry-allowed": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz", @@ -3328,6 +5206,12 @@ "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", "dev": true }, + "is-symbol": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.1.tgz", + "integrity": "sha1-PMWfAAJRlLarLjjbrmaJJWtmBXI=", + "dev": true + }, "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", @@ -3346,6 +5230,12 @@ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", "dev": true }, + "is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "dev": true + }, "isarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", @@ -3373,10 +5263,66 @@ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, + "istanbul-instrumenter-loader": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-instrumenter-loader/-/istanbul-instrumenter-loader-3.0.0.tgz", + "integrity": "sha512-alLSEFX06ApU75sm5oWcaVNaiss/bgMRiWTct3g0P0ZZTKjR+6QiCcuVOKDI1kWJgwHEnIXsv/dWm783kPpmtw==", + "dev": true, + "requires": { + "convert-source-map": "1.5.1", + "istanbul-lib-instrument": "1.10.1", + "loader-utils": "1.1.0", + "schema-utils": "0.3.0" + }, + "dependencies": { + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "5.5.2" + } + } + } + }, + "istanbul-lib-coverage": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.0.tgz", + "integrity": "sha512-GvgM/uXRwm+gLlvkWHTjDAvwynZkL9ns15calTrmhGgowlwJBbWMYzWbKqE2DT6JDP1AFXKa+Zi0EkqNCUqY0A==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.1.tgz", + "integrity": "sha512-1dYuzkOCbuR5GRJqySuZdsmsNKPL3PTuyPevQfoCXJePT9C8y1ga75neU+Tuy9+yS3G/dgx8wgOmp2KLpgdoeQ==", + "dev": true, + "requires": { + "babel-generator": "6.26.1", + "babel-template": "6.26.0", + "babel-traverse": "6.26.0", + "babel-types": "6.26.0", + "babylon": "6.18.0", + "istanbul-lib-coverage": "1.2.0", + "semver": "5.5.0" + } + }, "jquery": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/jquery/-/jquery-3.3.1.tgz", - "integrity": "sha1-lYzinoHJeQ8xvneS311NlfxX+8o=" + "integrity": "sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg==" }, "jquery-typeahead": { "version": "2.10.4", @@ -3401,6 +5347,22 @@ "integrity": "sha512-H7ErYLM34CvDMto3GbD6xD0JLUGYXR3QTcH6B/tr4Hi/QpSThnCsIp+Sy5FRTw3B0d6py4HcNkW7nO/wdtGWEw==", "dev": true }, + "js-tokens": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", + "dev": true + }, + "js-yaml": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.11.0.tgz", + "integrity": "sha512-saJstZWv7oNeOyBh3+Dx1qWzhW0+e6/8eDzo7p5rDFqxntSztloLtuKu+Ejhtq82jsilwOIZYsCz+lIjthg1Hw==", + "dev": true, + "requires": { + "argparse": "1.0.10", + "esprima": "4.0.0" + } + }, "jsbn": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", @@ -3408,16 +5370,34 @@ "dev": true, "optional": true }, + "jsesc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", + "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", + "dev": true + }, + "json-loader": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/json-loader/-/json-loader-0.5.7.tgz", + "integrity": "sha512-QLPs8Dj7lnf3e3QYS1zkCo+4ZwqOiF9d/nZnYozTISxXWCfNs9yuky5rJw4/W34s7POaNlbZmQGaB5NiXCbP4w==", + "dev": true + }, "json-schema": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", "dev": true }, + "json-schema-traverse": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", + "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", + "dev": true + }, "json-stable-stringify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz", - "integrity": "sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", + "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", "dev": true, "requires": { "jsonify": "0.0.0" @@ -3429,6 +5409,27 @@ "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", "dev": true }, + "json3": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", + "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", + "dev": true + }, + "json5": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", + "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", + "dev": true + }, + "jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11" + } + }, "jsonify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", @@ -3475,13 +5476,28 @@ "jquery": "3.3.1" } }, + "karma-source-map-support": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/karma-source-map-support/-/karma-source-map-support-1.2.0.tgz", + "integrity": "sha1-G/gee7SwiWJ6s1LsQXnhF8QGpUA=", + "dev": true, + "requires": { + "source-map-support": "0.4.18" + } + }, + "killable": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.0.tgz", + "integrity": "sha1-2ouEvUfeU5WHj5XWTQLyRJ/gXms=", + "dev": true + }, "kind-of": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } }, "labeled-stream-splicer": { @@ -3513,13 +5529,10 @@ } }, "lazy-cache": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-2.0.2.tgz", - "integrity": "sha1-uRkKT5EzVGlIQIWfio9whNiCImQ=", - "dev": true, - "requires": { - "set-getter": "0.1.0" - } + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", + "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", + "dev": true }, "lcid": { "version": "1.0.0", @@ -3530,6 +5543,33 @@ "invert-kv": "1.0.0" } }, + "less": { + "version": "2.7.3", + "resolved": "https://registry.npmjs.org/less/-/less-2.7.3.tgz", + "integrity": "sha512-KPdIJKWcEAb02TuJtaLrhue0krtRLoRoo7x6BNJIBelO00t/CCdJQUnHW5V34OnHMWzIktSalJxRO+FvytQlCQ==", + "dev": true, + "requires": { + "errno": "0.1.7", + "graceful-fs": "4.1.11", + "image-size": "0.5.5", + "mime": "1.6.0", + "mkdirp": "0.5.1", + "promise": "7.3.1", + "request": "2.81.0", + "source-map": "0.5.7" + } + }, + "less-loader": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/less-loader/-/less-loader-4.1.0.tgz", + "integrity": "sha512-KNTsgCE9tMOM70+ddxp9yyt9iHqgmSs0yTZc5XH5Wo+g80RWRIYNqE58QJKm/yMud5wZEvz50ugRDuzVIkyahg==", + "dev": true, + "requires": { + "clone": "2.1.1", + "loader-utils": "1.1.0", + "pify": "3.0.0" + } + }, "lexical-scope": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/lexical-scope/-/lexical-scope-1.2.0.tgz", @@ -3539,6 +5579,15 @@ "astw": "2.2.0" } }, + "license-webpack-plugin": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-1.3.0.tgz", + "integrity": "sha512-12Spl8M5Ty7aRszGQUEfNK1W0gwcWNfAj0sMyJv7E7BglAb4YaZ6FciGncmwzxEcuzJ45RjA/Fql3Gw13la6aA==", + "dev": true, + "requires": { + "ejs": "2.5.7" + } + }, "load-json-file": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", @@ -3550,6 +5599,41 @@ "pify": "2.3.0", "pinkie-promise": "2.0.1", "strip-bom": "2.0.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } + } + }, + "loader-runner": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.3.0.tgz", + "integrity": "sha1-9IKuqC1UPgeSFwDVpG7yb9rGuKI=", + "dev": true + }, + "loader-utils": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.1.0.tgz", + "integrity": "sha1-yYrvSIvM7aL/teLeZG1qdUQp9c0=", + "dev": true, + "requires": { + "big.js": "3.2.0", + "emojis-list": "2.1.0", + "json5": "0.5.1" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "2.0.0", + "path-exists": "3.0.0" } }, "lodash": { @@ -3582,6 +5666,33 @@ "integrity": "sha512-eWw5r+PYICtEBgrBE5hhlT6aAa75f411bgDz/ZL2KZqYV03USvucsxcHUIlGTDTECs1eunpI7HOV7U+WLDvNdQ==", "dev": true }, + "lodash.tail": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.tail/-/lodash.tail-4.1.1.tgz", + "integrity": "sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=", + "dev": true + }, + "loglevel": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.1.tgz", + "integrity": "sha1-4PyVEztu8nbNyIh82vJKpvFW+Po=", + "dev": true + }, + "longest": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", + "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=", + "dev": true + }, + "loose-envify": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", + "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", + "dev": true, + "requires": { + "js-tokens": "3.0.2" + } + }, "loud-rejection": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", @@ -3592,6 +5703,12 @@ "signal-exit": "3.0.2" } }, + "lower-case": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", + "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=", + "dev": true + }, "lowercase-keys": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz", @@ -3599,9 +5716,9 @@ "dev": true }, "lru-cache": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.1.tgz", - "integrity": "sha512-q4spe4KTfsAS1SUHLO0wz8Qiyf1+vMIAgpRYioFYDMNqKfHQbg+AVDH3i4fvpl71/P1L0dBl+fQi+P37UYf0ew==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.2.tgz", + "integrity": "sha512-wgeVXhrDwAWnIF/yZARsFnMBtdFXOg1b8RIrhilp+0iDYN4mdQcNZElDZ0e4B64BhaxeQ5zN7PMyvu7we1kPeQ==", "dev": true, "requires": { "pseudomap": "1.0.2", @@ -3613,6 +5730,15 @@ "resolved": "https://registry.npmjs.org/lz-string/-/lz-string-1.4.4.tgz", "integrity": "sha1-wNjq82BZ9wV5bh40SBHPTEmNOiY=" }, + "magic-string": { + "version": "0.22.4", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.4.tgz", + "integrity": "sha512-kxBL06p6iO2qPBHsqGK2b3cRwiRGpnmSuVWNhwHcMX7qJOUr1HvricYP1LZOCdkQBUp0jiWg2d6WJwR3vYgByw==", + "dev": true, + "requires": { + "vlq": "0.2.3" + } + }, "make-dir": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.2.0.tgz", @@ -3620,14 +5746,6 @@ "dev": true, "requires": { "pify": "3.0.0" - }, - "dependencies": { - "pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "dev": true - } } }, "map-cache": { @@ -3679,6 +5797,31 @@ } } }, + "media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", + "dev": true + }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "dev": true, + "requires": { + "mimic-fn": "1.2.0" + } + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "0.1.7", + "readable-stream": "2.3.5" + } + }, "meow": { "version": "3.7.0", "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", @@ -3695,8 +5838,28 @@ "read-pkg-up": "1.0.1", "redent": "1.0.0", "trim-newlines": "1.0.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } } }, + "merge-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", + "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=", + "dev": true + }, + "methods": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", + "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", + "dev": true + }, "micromatch": { "version": "2.3.11", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", @@ -3721,13 +5884,19 @@ "miller-rabin": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha1-8IA1HIZbDcViqEYpZtqlNUPHik0=", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", "dev": true, "requires": { "bn.js": "4.11.8", "brorand": "1.1.0" } }, + "mime": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "dev": true + }, "mime-db": { "version": "1.33.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.33.0.tgz", @@ -3743,6 +5912,12 @@ "mime-db": "1.33.0" } }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, "minimalistic-assert": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.0.tgz", @@ -3758,18 +5933,36 @@ "minimatch": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "dev": true, "requires": { - "brace-expansion": "1.1.8" + "brace-expansion": "1.1.11" } }, "minimist": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", - "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "dev": true }, + "mississippi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", + "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", + "dev": true, + "requires": { + "concat-stream": "1.6.1", + "duplexify": "3.5.4", + "end-of-stream": "1.4.1", + "flush-write-stream": "1.0.2", + "from2": "2.3.0", + "parallel-transform": "1.1.0", + "pump": "2.0.1", + "pumpify": "1.4.0", + "stream-each": "1.2.2", + "through2": "2.0.3" + } + }, "mixin-deep": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.1.tgz", @@ -3791,6 +5984,24 @@ } } }, + "mixin-object": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz", + "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=", + "dev": true, + "requires": { + "for-in": "0.1.8", + "is-extendable": "0.1.1" + }, + "dependencies": { + "for-in": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz", + "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=", + "dev": true + } + } + }, "mkdirp": { "version": "0.5.1", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", @@ -3798,50 +6009,43 @@ "dev": true, "requires": { "minimist": "0.0.8" - }, - "dependencies": { - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", - "dev": true - } } }, "module-deps": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/module-deps/-/module-deps-5.0.1.tgz", - "integrity": "sha1-O8R8FLCm2SWv8uxKF3tFapauA5Y=", + "integrity": "sha512-sigq/hm/L+Z5IGi1DDl0x2ptkw7S86aFh213QhPLD8v9Opv90IHzKIuWJrRa5bJ77DVKHco2CfIEuThcT/vDJA==", "dev": true, "requires": { "JSONStream": "1.3.2", "browser-resolve": "1.11.2", "cached-path-relative": "1.0.1", - "concat-stream": "1.6.0", + "concat-stream": "1.6.1", "defined": "1.0.0", - "detective": "5.0.2", + "detective": "5.1.0", "duplexer2": "0.1.4", "inherits": "2.0.3", "parents": "1.0.1", - "readable-stream": "2.3.3", + "readable-stream": "2.3.5", "resolve": "1.5.0", "stream-combiner2": "1.1.1", "subarg": "1.0.0", "through2": "2.0.3", "xtend": "4.0.1" - }, - "dependencies": { - "concat-stream": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.0.tgz", - "integrity": "sha1-CqxmL9Ur54lk1VMvaUeE5wEQrPc=", - "dev": true, - "requires": { - "inherits": "2.0.3", - "readable-stream": "2.3.3", - "typedarray": "0.0.6" - } - } + } + }, + "move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", + "dev": true, + "requires": { + "aproba": "1.2.0", + "copy-concurrently": "1.0.5", + "fs-write-stream-atomic": "1.0.10", + "mkdirp": "0.5.1", + "rimraf": "2.6.2", + "run-queue": "1.0.3" } }, "ms": { @@ -3850,12 +6054,27 @@ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", "dev": true }, - "nan": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz", - "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=", + "multicast-dns": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", + "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==", "dev": true, - "optional": true + "requires": { + "dns-packet": "1.3.1", + "thunky": "1.0.2" + } + }, + "multicast-dns-service-types": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", + "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=", + "dev": true + }, + "nan": { + "version": "2.9.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.9.2.tgz", + "integrity": "sha512-ltW65co7f3PQWBDbqVvaU1WtFJUsNW7sWWm4HINhbMQIyVyzIeyZ8toX5TC5eeooE6piZoaEh4cZkueSKG3KYw==", + "dev": true }, "nanomatch": { "version": "1.2.9", @@ -3873,7 +6092,7 @@ "kind-of": "6.0.2", "object.pick": "1.3.0", "regex-not": "1.0.2", - "snapdragon": "0.8.1", + "snapdragon": "0.8.2", "to-regex": "3.0.2" }, "dependencies": { @@ -3897,13 +6116,49 @@ } } }, - "ng2-dnd": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/ng2-dnd/-/ng2-dnd-5.0.2.tgz", - "integrity": "sha512-5mWWBePwvEPsNd/HkdbD543Q9mPyJofL6zkNydl8/Ah3qrrvZT2DaEPbknY08OgkXpI2qUGksc01OzzVlRQ9dQ==" - }, - "node-gyp": { - "version": "3.6.2", + "ncname": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ncname/-/ncname-1.0.0.tgz", + "integrity": "sha1-W1etGLHKCShk72Kwse2BlPODtxw=", + "dev": true, + "requires": { + "xml-char-classes": "1.0.0" + } + }, + "negotiator": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.1.tgz", + "integrity": "sha1-KzJxhOiZIQEXeyhWP7XnECrNDKk=", + "dev": true + }, + "neo-async": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.5.0.tgz", + "integrity": "sha512-nJmSswG4As/MkRq7QZFuH/sf/yuv8ODdMZrY4Bedjp77a5MK4A6s7YbBB64c9u79EBUOfXUXBvArmvzTD0X+6g==", + "dev": true + }, + "ng2-dnd": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/ng2-dnd/-/ng2-dnd-5.0.2.tgz", + "integrity": "sha512-5mWWBePwvEPsNd/HkdbD543Q9mPyJofL6zkNydl8/Ah3qrrvZT2DaEPbknY08OgkXpI2qUGksc01OzzVlRQ9dQ==" + }, + "no-case": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", + "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", + "dev": true, + "requires": { + "lower-case": "1.1.4" + } + }, + "node-forge": { + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.1.tgz", + "integrity": "sha1-naYR6giYL0uUIGs760zJZl8gwwA=", + "dev": true + }, + "node-gyp": { + "version": "3.6.2", "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.6.2.tgz", "integrity": "sha1-m/vlRWIoYoSDjnUOrAUpWFP6HGA=", "dev": true, @@ -3916,13 +6171,22 @@ "nopt": "3.0.6", "npmlog": "4.1.2", "osenv": "0.1.5", - "request": "2.79.0", + "request": "2.81.0", "rimraf": "2.6.2", "semver": "5.3.0", "tar": "2.2.1", "which": "1.3.0" }, "dependencies": { + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1.1.1" + } + }, "semver": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", @@ -3931,6 +6195,43 @@ } } }, + "node-libs-browser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.1.0.tgz", + "integrity": "sha512-5AzFzdoIMb89hBGMZglEegffzgRg+ZFoUmisQ8HI4j1KDdpx13J0taNp2y9xPbur6W61gepGDDotGBVQ7mfUCg==", + "dev": true, + "requires": { + "assert": "1.4.1", + "browserify-zlib": "0.2.0", + "buffer": "4.9.1", + "console-browserify": "1.1.0", + "constants-browserify": "1.0.0", + "crypto-browserify": "3.12.0", + "domain-browser": "1.2.0", + "events": "1.1.1", + "https-browserify": "1.0.0", + "os-browserify": "0.3.0", + "path-browserify": "0.0.0", + "process": "0.11.10", + "punycode": "1.4.1", + "querystring-es3": "0.2.1", + "readable-stream": "2.3.5", + "stream-browserify": "2.0.1", + "stream-http": "2.8.0", + "string_decoder": "1.0.3", + "timers-browserify": "2.0.6", + "tty-browserify": "0.0.0", + "url": "0.11.0", + "util": "0.10.3", + "vm-browserify": "0.0.4" + } + }, + "node-modules-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/node-modules-path/-/node-modules-path-1.0.1.tgz", + "integrity": "sha1-QAlrCM560OoUaAhjr0ScfHWl0cg=", + "dev": true + }, "node-sass": { "version": "4.8.1", "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.8.1.tgz", @@ -3958,10 +6259,87 @@ "true-case-path": "1.0.2" }, "dependencies": { - "nan": { - "version": "2.9.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.9.2.tgz", - "integrity": "sha512-ltW65co7f3PQWBDbqVvaU1WtFJUsNW7sWWm4HINhbMQIyVyzIeyZ8toX5TC5eeooE6piZoaEh4cZkueSKG3KYw==", + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "caseless": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.11.0.tgz", + "integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "2.2.1", + "escape-string-regexp": "1.0.5", + "has-ansi": "2.0.0", + "strip-ansi": "3.0.1", + "supports-color": "2.0.0" + } + }, + "har-validator": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-2.0.6.tgz", + "integrity": "sha1-zcvAgYgmWtEZtqWnyKtw7s+10n0=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "commander": "2.14.1", + "is-my-json-valid": "2.17.2", + "pinkie-promise": "2.0.1" + } + }, + "qs": { + "version": "6.3.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", + "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=", + "dev": true + }, + "request": { + "version": "2.79.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", + "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", + "dev": true, + "requires": { + "aws-sign2": "0.6.0", + "aws4": "1.6.0", + "caseless": "0.11.0", + "combined-stream": "1.0.6", + "extend": "3.0.1", + "forever-agent": "0.6.1", + "form-data": "2.1.4", + "har-validator": "2.0.6", + "hawk": "3.1.3", + "http-signature": "1.1.1", + "is-typedarray": "1.0.0", + "isstream": "0.1.2", + "json-stringify-safe": "5.0.1", + "mime-types": "2.1.18", + "oauth-sign": "0.8.2", + "qs": "6.3.2", + "stringstream": "0.0.5", + "tough-cookie": "2.3.4", + "tunnel-agent": "0.4.3", + "uuid": "3.2.1" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "tunnel-agent": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", + "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", "dev": true } } @@ -3978,7 +6356,7 @@ "minimatch": "3.0.4", "pstree.remy": "1.1.0", "semver": "5.5.0", - "supports-color": "5.2.0", + "supports-color": "5.3.0", "touch": "3.1.0", "undefsafe": "2.0.2", "update-notifier": "2.3.0" @@ -4020,7 +6398,7 @@ "isobject": "3.0.1", "kind-of": "6.0.2", "repeat-element": "1.1.2", - "snapdragon": "0.8.1", + "snapdragon": "0.8.2", "snapdragon-node": "2.1.1", "split-string": "3.1.0", "to-regex": "3.0.2" @@ -4066,6 +6444,15 @@ "upath": "1.0.4" } }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "expand-brackets": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", @@ -4077,7 +6464,7 @@ "extend-shallow": "2.0.1", "posix-character-classes": "0.1.1", "regex-not": "1.0.2", - "snapdragon": "0.8.1", + "snapdragon": "0.8.2", "to-regex": "3.0.2" }, "dependencies": { @@ -4139,7 +6526,7 @@ "extend-shallow": "2.0.1", "fragment-cache": "0.2.1", "regex-not": "1.0.2", - "snapdragon": "0.8.1", + "snapdragon": "0.8.2", "to-regex": "3.0.2" }, "dependencies": { @@ -4207,6 +6594,12 @@ } } }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, "is-accessor-descriptor": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", @@ -4222,7 +6615,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -4242,7 +6635,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -4277,7 +6670,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -4311,14 +6704,14 @@ "nanomatch": "1.2.9", "object.pick": "1.3.0", "regex-not": "1.0.2", - "snapdragon": "0.8.1", + "snapdragon": "0.8.2", "to-regex": "3.0.2" } }, "supports-color": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz", - "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", + "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", "dev": true, "requires": { "has-flag": "3.0.0" @@ -4327,12 +6720,13 @@ } }, "nopt": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", - "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "dev": true, "requires": { - "abbrev": "1.1.1" + "abbrev": "1.1.1", + "osenv": "0.1.5" } }, "normalize-package-data": { @@ -4356,6 +6750,12 @@ "remove-trailing-separator": "1.1.0" } }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, "npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", @@ -4377,6 +6777,21 @@ "set-blocking": "2.0.0" } }, + "nth-check": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.1.tgz", + "integrity": "sha1-mSms32KPwsQQmN6rgqxYDPFJquQ=", + "dev": true, + "requires": { + "boolbase": "1.0.0" + } + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -4454,6 +6869,12 @@ } } }, + "object-keys": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.0.11.tgz", + "integrity": "sha1-xUYBd4rVYPEULODgG8yotW0TQm0=", + "dev": true + }, "object-visit": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", @@ -4498,6 +6919,27 @@ } } }, + "obuf": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", + "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", + "dev": true + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "on-headers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.1.tgz", + "integrity": "sha1-ko9dD0cNSTQmUepnlLCFfBAGk/c=", + "dev": true + }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -4507,6 +6949,36 @@ "wrappy": "1.0.2" } }, + "opn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/opn/-/opn-5.1.0.tgz", + "integrity": "sha512-iPNl7SyM8L30Rm1sjGdLLheyHVw5YXVfi3SKWJzBI7efxRwHojfRFjwE/OLM6qp9xJYMgab8WicTU1cPoY+Hpg==", + "dev": true, + "requires": { + "is-wsl": "1.1.0" + } + }, + "original": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/original/-/original-1.0.0.tgz", + "integrity": "sha1-kUf5P6FpbQS+YeAb1QuurKZWvTs=", + "dev": true, + "requires": { + "url-parse": "1.0.5" + }, + "dependencies": { + "url-parse": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.0.5.tgz", + "integrity": "sha1-CFSGBCKv3P7+tsllxmLUgAFpkns=", + "dev": true, + "requires": { + "querystringify": "0.0.4", + "requires-port": "1.0.0" + } + } + } + }, "os-browserify": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", @@ -4550,6 +7022,36 @@ "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", "dev": true }, + "p-limit": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.2.0.tgz", + "integrity": "sha512-Y/OtIaXtUPr4/YpMv1pCL5L5ed0rumAaAeBSj12F+bSlMdys7i8oQF/GUJmfpTS/QoaRrS/k6pma29haJpsMng==", + "dev": true, + "requires": { + "p-try": "1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "1.2.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, "package-json": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/package-json/-/package-json-4.0.1.tgz", @@ -4565,9 +7067,29 @@ "pako": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.6.tgz", - "integrity": "sha1-AQEhG6pwxLykoPY/Igbpe3368lg=", + "integrity": "sha512-lQe48YPsMJAig+yngZ87Lus+NF+3mtu7DVOBu6b/gHO1YpKwIj5AWjZ/TOS7i46HD/UixzWb1zeWDZfGZ3iYcg==", "dev": true }, + "parallel-transform": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.1.0.tgz", + "integrity": "sha1-1BDwZbBdojCB/NEPKIVMKb2jOwY=", + "dev": true, + "requires": { + "cyclist": "0.2.2", + "inherits": "2.0.3", + "readable-stream": "2.3.5" + } + }, + "param-case": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz", + "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=", + "dev": true, + "requires": { + "no-case": "2.3.2" + } + }, "parents": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/parents/-/parents-1.0.1.tgz", @@ -4583,7 +7105,7 @@ "integrity": "sha1-N8T5t+06tlx0gXtfJICTf7+XxxI=", "dev": true, "requires": { - "asn1.js": "4.9.2", + "asn1.js": "4.10.1", "browserify-aes": "1.1.1", "create-hash": "1.1.3", "evp_bytestokey": "1.0.3", @@ -4611,6 +7133,12 @@ "error-ex": "1.3.1" } }, + "parseurl": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.2.tgz", + "integrity": "sha1-/CidTtiZMRlGDBViUyYs3I3mW/M=", + "dev": true + }, "pascalcase": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", @@ -4630,13 +7158,10 @@ "dev": true }, "path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dev": true, - "requires": { - "pinkie-promise": "2.0.1" - } + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true }, "path-is-absolute": { "version": "1.0.1", @@ -4668,15 +7193,19 @@ "integrity": "sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=", "dev": true }, + "path-to-regexp": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", + "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=", + "dev": true + }, "path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", "dev": true, "requires": { - "graceful-fs": "4.1.11", - "pify": "2.3.0", - "pinkie-promise": "2.0.1" + "pify": "3.0.0" } }, "pause-stream": { @@ -4691,25 +7220,31 @@ "pbkdf2": { "version": "3.0.14", "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.14.tgz", - "integrity": "sha1-o14TxkeZsGzhUyD0WcIw5o5zut4=", + "integrity": "sha512-gjsZW9O34fm0R7PaLHRJmLLVfSoesxztjPjE9o6R+qtVJij90ltg1joIovN9GKrRW3t1PzhDDG3UMEMFfZ+1wA==", "dev": true, "requires": { "create-hash": "1.1.3", "create-hmac": "1.1.6", "ripemd160": "2.0.1", "safe-buffer": "5.1.1", - "sha.js": "2.4.9" + "sha.js": "2.4.10" } }, + "performance-now": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-0.2.0.tgz", + "integrity": "sha1-M+8wxcd9TqIcWlOGnZG1bY8lVeU=", + "dev": true + }, "photoswipe": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/photoswipe/-/photoswipe-4.1.2.tgz", "integrity": "sha1-lcIKdc6iO3DWKZZBytguA8rn95c=" }, "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", "dev": true }, "pinkie": { @@ -4727,55 +7262,245 @@ "pinkie": "2.0.4" } }, - "posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "dev": true - }, - "prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", - "dev": true - }, - "preserve": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", - "dev": true - }, - "process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "dev": true - }, - "process-nextick-args": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz", - "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=", - "dev": true + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "requires": { + "find-up": "2.1.0" + } }, - "ps-tree": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", - "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", + "portfinder": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.13.tgz", + "integrity": "sha1-uzLs2HwnEErm7kS1o8y/Drsa7ek=", "dev": true, "requires": { - "event-stream": "3.3.4" + "async": "1.5.2", + "debug": "2.6.9", + "mkdirp": "0.5.1" + }, + "dependencies": { + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + } } }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", "dev": true }, - "pstree.remy": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.0.tgz", - "integrity": "sha512-q5I5vLRMVtdWa8n/3UEzZX7Lfghzrg9eG2IKk2ENLSofKRCXVqMvMUHxCKgXNaqH/8ebhBxrqftHWnyTFweJ5Q==", + "postcss": { + "version": "6.0.19", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.19.tgz", + "integrity": "sha512-f13HRz0HtVwVaEuW6J6cOUCBLFtymhgyLPV7t4QEk2UD3twRI9IluDcQNdzQdBpiixkXj2OmzejhhTbSbDxNTg==", + "dev": true, + "requires": { + "chalk": "2.3.2", + "source-map": "0.6.1", + "supports-color": "5.3.0" + }, + "dependencies": { + "chalk": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz", + "integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==", + "dev": true, + "requires": { + "ansi-styles": "3.2.1", + "escape-string-regexp": "1.0.5", + "supports-color": "5.3.0" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", + "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + } + } + }, + "postcss-import": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/postcss-import/-/postcss-import-11.1.0.tgz", + "integrity": "sha512-5l327iI75POonjxkXgdRCUS+AlzAdBx4pOvMEhTKTCjb1p8IEeVR9yx3cPbmN7LIWJLbfnIXxAhoB4jpD0c/Cw==", + "dev": true, + "requires": { + "postcss": "6.0.19", + "postcss-value-parser": "3.3.0", + "read-cache": "1.0.0", + "resolve": "1.5.0" + } + }, + "postcss-load-config": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-1.2.0.tgz", + "integrity": "sha1-U56a/J3chiASHr+djDZz4M5Q0oo=", + "dev": true, + "requires": { + "cosmiconfig": "2.2.2", + "object-assign": "4.1.1", + "postcss-load-options": "1.2.0", + "postcss-load-plugins": "2.3.0" + } + }, + "postcss-load-options": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/postcss-load-options/-/postcss-load-options-1.2.0.tgz", + "integrity": "sha1-sJixVZ3awt8EvAuzdfmaXP4rbYw=", + "dev": true, + "requires": { + "cosmiconfig": "2.2.2", + "object-assign": "4.1.1" + } + }, + "postcss-load-plugins": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/postcss-load-plugins/-/postcss-load-plugins-2.3.0.tgz", + "integrity": "sha1-dFdoEWWZrKLwCfrUJrABdQSdjZI=", + "dev": true, + "requires": { + "cosmiconfig": "2.2.2", + "object-assign": "4.1.1" + } + }, + "postcss-loader": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-2.1.1.tgz", + "integrity": "sha512-f0J/DWE/hyO9/LH0WHpXkny/ZZ238sSaG3p1SRBtVZnFWUtD7GXIEgHoBg8cnAeRbmEvUxHQptY46zWfwNYj/w==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "postcss": "6.0.19", + "postcss-load-config": "1.2.0", + "schema-utils": "0.4.5" + } + }, + "postcss-url": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/postcss-url/-/postcss-url-7.3.1.tgz", + "integrity": "sha512-Ya5KIjGptgz0OtrVYfi2UbLxVAZ6Emc4Of+Grx4Sf1deWlRpFwLr8FrtkUxfqh+XiZIVkXbjQrddE10ESpNmdA==", + "dev": true, + "requires": { + "mime": "1.6.0", + "minimatch": "3.0.4", + "mkdirp": "0.5.1", + "postcss": "6.0.19", + "xxhashjs": "0.2.2" + } + }, + "postcss-value-parser": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.0.tgz", + "integrity": "sha1-h/OPnxj3dKSrTIojL1xc6IcqnRU=", + "dev": true + }, + "prepend-http": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", + "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", + "dev": true + }, + "preserve": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", + "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", + "dev": true + }, + "pretty-error": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.1.tgz", + "integrity": "sha1-X0+HyPkeWuPzuoerTPXgOxoX8aM=", + "dev": true, + "requires": { + "renderkid": "2.0.1", + "utila": "0.4.0" + } + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz", + "integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==", + "dev": true + }, + "promise": { + "version": "7.3.1", + "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", + "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", + "dev": true, + "optional": true, + "requires": { + "asap": "2.0.6" + } + }, + "promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", + "dev": true + }, + "proxy-addr": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.3.tgz", + "integrity": "sha512-jQTChiCJteusULxjBp8+jftSQE5Obdl3k4cnmLA6WXtK6XFuWRnvVL7aCiBqaLPM8c4ph0S4tKna8XvmIwEnXQ==", + "dev": true, + "requires": { + "forwarded": "0.1.2", + "ipaddr.js": "1.6.0" + } + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "dev": true + }, + "ps-tree": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ps-tree/-/ps-tree-1.1.0.tgz", + "integrity": "sha1-tCGyQUDWID8e08dplrRCewjowBQ=", + "dev": true, + "requires": { + "event-stream": "3.3.4" + } + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "pstree.remy": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/pstree.remy/-/pstree.remy-1.1.0.tgz", + "integrity": "sha512-q5I5vLRMVtdWa8n/3UEzZX7Lfghzrg9eG2IKk2ENLSofKRCXVqMvMUHxCKgXNaqH/8ebhBxrqftHWnyTFweJ5Q==", "dev": true, "requires": { "ps-tree": "1.1.0" @@ -4794,6 +7519,27 @@ "randombytes": "2.0.6" } }, + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "1.4.1", + "once": "1.4.0" + } + }, + "pumpify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.4.0.tgz", + "integrity": "sha512-2kmNR9ry+Pf45opRVirpNuIFotsxUGLaYqxIwuR77AYrYRMuFCz9eryHBS52L360O+NcR383CL4QYlMKPq4zYA==", + "dev": true, + "requires": { + "duplexify": "3.5.4", + "inherits": "2.0.3", + "pump": "2.0.1" + } + }, "punycode": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", @@ -4801,9 +7547,9 @@ "dev": true }, "qs": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.3.2.tgz", - "integrity": "sha1-51vV9uJoEioqDgvaYwslUMFmUCw=", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.4.0.tgz", + "integrity": "sha1-E+JtKK1rD/qpExLNO/cI7TUecjM=", "dev": true }, "querystring": { @@ -4818,10 +7564,16 @@ "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", "dev": true }, + "querystringify": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-0.0.4.tgz", + "integrity": "sha1-DPf4T5Rj/wrlHExLFC2VvjdyTZw=", + "dev": true + }, "randomatic": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz", - "integrity": "sha1-x6vpzIuHwLqodrGf3oP9RkeX44w=", + "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==", "dev": true, "requires": { "is-number": "3.0.0", @@ -4843,7 +7595,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -4854,7 +7606,7 @@ "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -4862,22 +7614,46 @@ "randombytes": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.0.6.tgz", - "integrity": "sha1-0wLFIpSFiISKjTAMkytEwkIx2oA=", + "integrity": "sha512-CIQ5OFxf4Jou6uOKe9t1AOgqpeU5fd70A8NPdHSGeYXqXsPe6peOwI0cUl88RWZ6sP1vPMV3avd/R6cZ5/sP1A==", "dev": true, "requires": { "safe-buffer": "5.1.1" } }, "randomfill": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.3.tgz", - "integrity": "sha1-uWt99YfwHdkXJsQY8wVTsUGOPWI=", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", "dev": true, "requires": { "randombytes": "2.0.6", "safe-buffer": "5.1.1" } }, + "range-parser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz", + "integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=", + "dev": true + }, + "raw-body": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz", + "integrity": "sha1-vNYMd9Prk83gBQKVw/N5OJvIj4k=", + "dev": true, + "requires": { + "bytes": "3.0.0", + "http-errors": "1.6.2", + "iconv-lite": "0.4.19", + "unpipe": "1.0.0" + } + }, + "raw-loader": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/raw-loader/-/raw-loader-0.5.1.tgz", + "integrity": "sha1-DD0L6u2KAclm2Xh793goElKpeao=", + "dev": true + }, "rc": { "version": "1.2.5", "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.5.tgz", @@ -4888,6 +7664,31 @@ "ini": "1.3.5", "minimist": "1.2.0", "strip-json-comments": "2.0.1" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } + } + }, + "read-cache": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", + "integrity": "sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=", + "dev": true, + "requires": { + "pify": "2.3.0" + }, + "dependencies": { + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } } }, "read-only-stream": { @@ -4896,7 +7697,7 @@ "integrity": "sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=", "dev": true, "requires": { - "readable-stream": "2.3.3" + "readable-stream": "2.3.5" } }, "read-pkg": { @@ -4908,6 +7709,25 @@ "load-json-file": "1.1.0", "normalize-package-data": "2.4.0", "path-type": "1.1.0" + }, + "dependencies": { + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "pify": "2.3.0", + "pinkie-promise": "2.0.1" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + } } }, "read-pkg-up": { @@ -4918,32 +7738,42 @@ "requires": { "find-up": "1.1.2", "read-pkg": "1.1.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "2.1.0", + "pinkie-promise": "2.0.1" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "2.0.1" + } + } } }, "readable-stream": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz", - "integrity": "sha1-No8lEtefnUb9/HE0mueHi7weuVw=", + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.5.tgz", + "integrity": "sha512-tK0yDhrkygt/knjowCUiWP9YdV7c5R+8cR0r/kt9ZhBU906Fs6RpQJCEilamRJj1Nx2rWI6LkW9gKqjTkshhEw==", "dev": true, "requires": { "core-util-is": "1.0.2", "inherits": "2.0.3", "isarray": "1.0.0", - "process-nextick-args": "1.0.7", + "process-nextick-args": "2.0.0", "safe-buffer": "5.1.1", "string_decoder": "1.0.3", "util-deprecate": "1.0.2" - }, - "dependencies": { - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - } } }, "readdirp": { @@ -4954,7 +7784,7 @@ "requires": { "graceful-fs": "4.1.11", "minimatch": "3.0.4", - "readable-stream": "2.3.3", + "readable-stream": "2.3.5", "set-immediate-shim": "1.0.1" } }, @@ -4971,13 +7801,19 @@ "reflect-metadata": { "version": "0.1.12", "resolved": "https://registry.npmjs.org/reflect-metadata/-/reflect-metadata-0.1.12.tgz", - "integrity": "sha1-MRvwxrY814LyKKgavhRqK/qcVvI=", + "integrity": "sha512-n+IyV+nGz3+0q3/Yf1ra12KpCyi001bi4XFxSjbiWWjfqb52iTTtpGXmCCAOWWIAn9KEuFZKGqBERHmrtScZ3A==", + "dev": true + }, + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", "dev": true }, "regex-cache": { "version": "0.4.4", "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", - "integrity": "sha1-db3FiioUls7EihKDW8VMjVYjNt0=", + "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", "dev": true, "requires": { "is-equal-shallow": "0.1.3" @@ -5012,12 +7848,39 @@ "rc": "1.2.5" } }, + "relateurl": { + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", + "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", + "dev": true + }, "remove-trailing-separator": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", "dev": true }, + "renderkid": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.1.tgz", + "integrity": "sha1-iYyr/Ivt5Le5ETWj/9Mj5YwNsxk=", + "dev": true, + "requires": { + "css-select": "1.2.0", + "dom-converter": "0.1.4", + "htmlparser2": "3.3.0", + "strip-ansi": "3.0.1", + "utila": "0.3.3" + }, + "dependencies": { + "utila": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/utila/-/utila-0.3.3.tgz", + "integrity": "sha1-1+jn1+MJEHCSsF+NloiCTWM6QiY=", + "dev": true + } + } + }, "repeat-element": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz", @@ -5040,19 +7903,19 @@ } }, "request": { - "version": "2.79.0", - "resolved": "https://registry.npmjs.org/request/-/request-2.79.0.tgz", - "integrity": "sha1-Tf5b9r6LjNw3/Pk+BLZVd3InEN4=", + "version": "2.81.0", + "resolved": "https://registry.npmjs.org/request/-/request-2.81.0.tgz", + "integrity": "sha1-xpKJRqDgbF+Nb4qTM0af/aRimKA=", "dev": true, "requires": { "aws-sign2": "0.6.0", "aws4": "1.6.0", - "caseless": "0.11.0", + "caseless": "0.12.0", "combined-stream": "1.0.6", "extend": "3.0.1", "forever-agent": "0.6.1", "form-data": "2.1.4", - "har-validator": "2.0.6", + "har-validator": "4.2.1", "hawk": "3.1.3", "http-signature": "1.1.1", "is-typedarray": "1.0.0", @@ -5060,10 +7923,12 @@ "json-stringify-safe": "5.0.1", "mime-types": "2.1.18", "oauth-sign": "0.8.2", - "qs": "6.3.2", + "performance-now": "0.2.0", + "qs": "6.4.0", + "safe-buffer": "5.1.1", "stringstream": "0.0.5", "tough-cookie": "2.3.4", - "tunnel-agent": "0.4.3", + "tunnel-agent": "0.6.0", "uuid": "3.2.1" } }, @@ -5073,21 +7938,48 @@ "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", "dev": true }, + "require-from-string": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-1.2.1.tgz", + "integrity": "sha1-UpyczvJzgK3+yaL5ZbZJu+5jZBg=", + "dev": true + }, "require-main-filename": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", "dev": true }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, "resolve": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.5.0.tgz", - "integrity": "sha1-HwmsznlsmnYlefMbLBzEw83fnzY=", + "integrity": "sha512-hgoSGrc3pjzAPHNBg+KnFcK2HwlHTs/YrAGUr6qgTVUZmXv1UEXXl0bZNBKMA9fud6lRYFdPGz0xXxycPzmmiw==", "dev": true, "requires": { "path-parse": "1.0.5" } }, + "resolve-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", + "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "dev": true, + "requires": { + "resolve-from": "3.0.0" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -5100,6 +7992,15 @@ "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", "dev": true }, + "right-align": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/right-align/-/right-align-0.1.3.tgz", + "integrity": "sha1-YTObci/mo1FWiSENJOFMlhSGE+8=", + "dev": true, + "requires": { + "align-text": "0.1.4" + } + }, "rimraf": { "version": "2.6.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.2.tgz", @@ -5119,27 +8020,28 @@ "inherits": "2.0.3" } }, + "run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", + "dev": true, + "requires": { + "aproba": "1.2.0" + } + }, "rxjs": { "version": "5.5.6", "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.6.tgz", - "integrity": "sha1-4x+5bW/S/x/YS86orpwC0AcXnAI=", + "integrity": "sha512-v4Q5HDC0FHAQ7zcBX7T2IL6O5ltl1a2GX4ENjPXg6SjDY69Cmx9v4113C99a4wGF16ClPv5Z8mghuYorVkg/kg==", "dev": true, "requires": { "symbol-observable": "1.0.1" - }, - "dependencies": { - "symbol-observable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", - "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", - "dev": true - } } }, "safe-buffer": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", - "integrity": "sha1-iTMSr2myEj3vcfV4iQAWce6yyFM=", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", "dev": true }, "safe-regex": { @@ -5163,6 +8065,35 @@ "yargs": "7.1.0" } }, + "sass-loader": { + "version": "6.0.7", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-6.0.7.tgz", + "integrity": "sha512-JoiyD00Yo1o61OJsoP2s2kb19L1/Y2p3QFcCdWdF6oomBGKVYuZyqHWemRBfQ2uGYsk+CH3eCguXNfpjzlcpaA==", + "dev": true, + "requires": { + "clone-deep": "2.0.2", + "loader-utils": "1.1.0", + "lodash.tail": "4.1.1", + "neo-async": "2.5.0", + "pify": "3.0.0" + } + }, + "sax": { + "version": "0.5.8", + "resolved": "https://registry.npmjs.org/sax/-/sax-0.5.8.tgz", + "integrity": "sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=", + "dev": true + }, + "schema-utils": { + "version": "0.4.5", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.5.tgz", + "integrity": "sha512-yYrjb9TX2k/J1Y5UNy3KYdZq10xhYcF8nMpAW6o3hy6Q8WSIEf9lJHG/ePnOBfziPM3fvQwfOwa13U/Fh8qTfA==", + "dev": true, + "requires": { + "ajv": "6.2.1", + "ajv-keywords": "3.1.0" + } + }, "scss-tokenizer": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", @@ -5184,10 +8115,25 @@ } } }, - "semver": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", - "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", + "select-hose": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", + "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=", + "dev": true + }, + "selfsigned": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.2.tgz", + "integrity": "sha1-tESVgNmZKbZbEKSDiTAaZZIIh1g=", + "dev": true, + "requires": { + "node-forge": "0.7.1" + } + }, + "semver": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", "dev": true }, "semver-diff": { @@ -5199,21 +8145,83 @@ "semver": "5.5.0" } }, - "set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "semver-intersect": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/semver-intersect/-/semver-intersect-1.3.1.tgz", + "integrity": "sha1-j6hKnhAovSOeRTDRo+GB5pjYhLo=", + "dev": true, + "requires": { + "semver": "5.5.0" + } + }, + "send": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.1.tgz", + "integrity": "sha512-ElCLJdJIKPk6ux/Hocwhk7NFHpI3pVm/IZOYWqUmoxcgeyM+MpxHHKhb8QmlJDX1pU6WrgaHBkVNm73Sv7uc2A==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "1.1.2", + "destroy": "1.0.4", + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "etag": "1.8.1", + "fresh": "0.5.2", + "http-errors": "1.6.2", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "2.3.0", + "range-parser": "1.2.0", + "statuses": "1.3.1" + }, + "dependencies": { + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + } + } + }, + "serialize-javascript": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.4.0.tgz", + "integrity": "sha1-fJWFFNtqwkQ6irwGLcn3iGp/YAU=", "dev": true }, - "set-getter": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/set-getter/-/set-getter-0.1.0.tgz", - "integrity": "sha1-12nBgsnVpR9AkUXy+6guXoboA3Y=", + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "1.3.5", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "1.0.3", + "http-errors": "1.6.2", + "mime-types": "2.1.18", + "parseurl": "1.3.2" + } + }, + "serve-static": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.1.tgz", + "integrity": "sha512-hSMUZrsPa/I09VYFJwa627JJkNs0NrfL1Uzuup+GqHfToR2KcsXFymXSV90hoyw3M+msjFuQly+YzIH/q0MGlQ==", "dev": true, "requires": { - "to-object-path": "0.3.0" + "encodeurl": "1.0.2", + "escape-html": "1.0.3", + "parseurl": "1.3.2", + "send": "0.16.1" } }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, "set-immediate-shim": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", @@ -5243,16 +8251,47 @@ } } }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, "sha.js": { - "version": "2.4.9", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.9.tgz", - "integrity": "sha512-G8zektVqbiPHrylgew9Zg1VRB1L/DtXNUVAM6q4QLy8NE3qtHlFXTf8VLL4k1Yl6c7NMjtZUTdXV+X44nFaT6A==", + "version": "2.4.10", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.10.tgz", + "integrity": "sha512-vnwmrFDlOExK4Nm16J2KMWHLrp14lBrjxMxBJpu++EnsuBmpiYaM/MEs46Vxxm/4FvdP5yTwuCTO9it5FSjrqA==", "dev": true, "requires": { "inherits": "2.0.3", "safe-buffer": "5.1.1" } }, + "shallow-clone": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-1.0.0.tgz", + "integrity": "sha512-oeXreoKR/SyNJtRJMAKPDSvd28OqEwG4eR/xc856cRGBII7gX9lvAqDxusPm0846z/w/hWYjI1NpKwJ00NHzRA==", + "dev": true, + "requires": { + "is-extendable": "0.1.1", + "kind-of": "5.1.0", + "mixin-object": "2.0.1" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, "shasum": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz", @@ -5260,7 +8299,18 @@ "dev": true, "requires": { "json-stable-stringify": "0.0.1", - "sha.js": "2.4.9" + "sha.js": "2.4.10" + }, + "dependencies": { + "json-stable-stringify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz", + "integrity": "sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=", + "dev": true, + "requires": { + "jsonify": "0.0.0" + } + } } }, "shebang-command": { @@ -5296,10 +8346,25 @@ "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "dev": true }, + "silent-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/silent-error/-/silent-error-1.1.0.tgz", + "integrity": "sha1-IglwbxyFCp8dENDYQJGLRvJuG8k=", + "dev": true, + "requires": { + "debug": "2.6.9" + } + }, + "slash": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", + "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", + "dev": true + }, "snapdragon": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.1.tgz", - "integrity": "sha1-4StUh/re0+PeoKyR6UAL91tAE3A=", + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", "dev": true, "requires": { "base": "0.11.2", @@ -5309,18 +8374,9 @@ "map-cache": "0.2.2", "source-map": "0.5.7", "source-map-resolve": "0.5.1", - "use": "2.0.2" + "use": "3.1.0" }, "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, "define-property": { "version": "0.2.5", "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", @@ -5354,7 +8410,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -5374,7 +8430,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -5444,6 +8500,47 @@ "hoek": "2.16.3" } }, + "sockjs": { + "version": "0.3.19", + "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", + "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", + "dev": true, + "requires": { + "faye-websocket": "0.10.0", + "uuid": "3.2.1" + } + }, + "sockjs-client": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.1.4.tgz", + "integrity": "sha1-W6vjhrd15M8U51IJEUUmVAFsixI=", + "dev": true, + "requires": { + "debug": "2.6.9", + "eventsource": "0.1.6", + "faye-websocket": "0.11.1", + "inherits": "2.0.3", + "json3": "3.3.2", + "url-parse": "1.2.0" + }, + "dependencies": { + "faye-websocket": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.1.tgz", + "integrity": "sha1-8O/hjE9W5PQK/H4Gxxn9XuYYjzg=", + "dev": true, + "requires": { + "websocket-driver": "0.7.0" + } + } + } + }, + "source-list-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.0.tgz", + "integrity": "sha512-I2UmuJSRr/T8jisiROLU3A3ltr+swpniSmNPI4Ml3ZCX6tVnDsuZzK7F2hl5jTqbZBWCEKlj5HRQiPExXLgE8A==", + "dev": true + }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -5464,20 +8561,12 @@ } }, "source-map-support": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.3.tgz", - "integrity": "sha1-Kz1f/ymM+k0a/X1DUtVp6aAVjnY=", + "version": "0.4.18", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", + "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", "dev": true, "requires": { - "source-map": "0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", - "dev": true - } + "source-map": "0.5.7" } }, "source-map-url": { @@ -5518,6 +8607,35 @@ "integrity": "sha512-2+EPwgbnmOIl8HjGBXXMd9NAu02vLjOO1nWw4kmeRDFyHn+M/ETfHxQUK0oXg8ctgVnl9t3rosNVsZ1jG61nDA==", "dev": true }, + "spdy": { + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/spdy/-/spdy-3.4.7.tgz", + "integrity": "sha1-Qv9B7OXMD5mjpsKKq7c/XDsDrLw=", + "dev": true, + "requires": { + "debug": "2.6.9", + "handle-thing": "1.2.5", + "http-deceiver": "1.2.7", + "safe-buffer": "5.1.1", + "select-hose": "2.0.0", + "spdy-transport": "2.0.20" + } + }, + "spdy-transport": { + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-2.0.20.tgz", + "integrity": "sha1-c15yBUxIayNU/onnAiVgBKOazk0=", + "dev": true, + "requires": { + "debug": "2.6.9", + "detect-node": "2.0.3", + "hpack.js": "2.1.6", + "obuf": "1.1.2", + "readable-stream": "2.3.5", + "safe-buffer": "5.1.1", + "wbuf": "1.7.3" + } + }, "split": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/split/-/split-0.3.3.tgz", @@ -5536,6 +8654,12 @@ "extend-shallow": "3.0.2" } }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, "sshpk": { "version": "1.13.1", "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.13.1.tgz", @@ -5560,6 +8684,15 @@ } } }, + "ssri": { + "version": "5.2.4", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.2.4.tgz", + "integrity": "sha512-UnEAgMZa15973iH7cUi0AHjJn1ACDIkaMyZILoqwN6yzt+4P81I8tBc5Hl+qwi5auMplZtPQsHrPBR5vJLcQtQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, "static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", @@ -5594,7 +8727,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -5614,7 +8747,7 @@ "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", "dev": true, "requires": { - "is-buffer": "1.1.5" + "is-buffer": "1.1.6" } } } @@ -5638,13 +8771,19 @@ } } }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + }, "stdout-stream": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.0.tgz", "integrity": "sha1-osfIWH5U2UJ+qe2zrD8s1SLfN4s=", "dev": true, "requires": { - "readable-stream": "2.3.3" + "readable-stream": "2.3.5" } }, "stream-browserify": { @@ -5654,7 +8793,7 @@ "dev": true, "requires": { "inherits": "2.0.3", - "readable-stream": "2.3.3" + "readable-stream": "2.3.5" } }, "stream-combiner": { @@ -5673,22 +8812,38 @@ "dev": true, "requires": { "duplexer2": "0.1.4", - "readable-stream": "2.3.3" + "readable-stream": "2.3.5" + } + }, + "stream-each": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.2.tgz", + "integrity": "sha512-mc1dbFhGBxvTM3bIWmAAINbqiuAk9TATcfIQC8P+/+HJefgaiTlMn2dHvkX8qlI12KeYKSQ1Ua9RrIqrn1VPoA==", + "dev": true, + "requires": { + "end-of-stream": "1.4.1", + "stream-shift": "1.0.0" } }, "stream-http": { "version": "2.8.0", "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.0.tgz", - "integrity": "sha1-/YZUbaybHJGv+PxdKHuY+vtBvBA=", + "integrity": "sha512-sZOFxI/5xw058XIRHl4dU3dZ+TTOIGJR78Dvo0oEAejIt4ou27k+3ne1zYmCV+v7UucbxIFQuOgnkTVHh8YPnw==", "dev": true, "requires": { "builtin-status-codes": "3.0.0", "inherits": "2.0.3", - "readable-stream": "2.3.3", + "readable-stream": "2.3.5", "to-arraybuffer": "1.0.1", "xtend": "4.0.1" } }, + "stream-shift": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.0.tgz", + "integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=", + "dev": true + }, "stream-splicer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.0.tgz", @@ -5696,7 +8851,7 @@ "dev": true, "requires": { "inherits": "2.0.3", - "readable-stream": "2.3.3" + "readable-stream": "2.3.5" } }, "string-width": { @@ -5713,7 +8868,7 @@ "string_decoder": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha1-D8Z9fBQYJd6UKC3VNr7GubzoYKs=", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", "dev": true, "requires": { "safe-buffer": "5.1.1" @@ -5764,6 +8919,89 @@ "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "dev": true }, + "style-loader": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.19.1.tgz", + "integrity": "sha512-IRE+ijgojrygQi3rsqT0U4dd+UcPCqcVvauZpCnQrGAlEe+FUIyrK93bUDScamesjP08JlQNsFJU+KmPedP5Og==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "schema-utils": "0.3.0" + }, + "dependencies": { + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "5.5.2" + } + } + } + }, + "stylus": { + "version": "0.54.5", + "resolved": "https://registry.npmjs.org/stylus/-/stylus-0.54.5.tgz", + "integrity": "sha1-QrlWCTHKcJDOhRWnmLqeaqPW3Hk=", + "dev": true, + "requires": { + "css-parse": "1.7.0", + "debug": "2.6.9", + "glob": "7.0.6", + "mkdirp": "0.5.1", + "sax": "0.5.8", + "source-map": "0.1.43" + }, + "dependencies": { + "glob": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.0.6.tgz", + "integrity": "sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=", + "dev": true, + "requires": { + "fs.realpath": "1.0.0", + "inflight": "1.0.6", + "inherits": "2.0.3", + "minimatch": "3.0.4", + "once": "1.4.0", + "path-is-absolute": "1.0.1" + } + }, + "source-map": { + "version": "0.1.43", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz", + "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "stylus-loader": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/stylus-loader/-/stylus-loader-3.0.2.tgz", + "integrity": "sha512-+VomPdZ6a0razP+zinir61yZgpw2NfljeSsdUF5kJuEzlo3khXhY19Fn6l8QQz1GRJGtMCo8nG5C04ePyV7SUA==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "lodash.clonedeep": "4.5.0", + "when": "3.6.4" + } + }, "subarg": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz", @@ -5771,27 +9009,50 @@ "dev": true, "requires": { "minimist": "1.2.0" + }, + "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + } } }, "supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.5.0.tgz", + "integrity": "sha1-vnoN5ITexcXN34s9WRJQRJEvY1s=", + "dev": true, + "requires": { + "has-flag": "2.0.0" + } + }, + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", "dev": true }, "syntax-error": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.3.0.tgz", - "integrity": "sha1-HtkmbE1AvnXcVb+bsct3Biu5bKE=", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz", + "integrity": "sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==", "dev": true, "requires": { - "acorn": "4.0.13" + "acorn-node": "1.3.0" } }, "systemjs": { "version": "0.20.19", "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-0.20.19.tgz", - "integrity": "sha1-wrnnnBn0vqU6GbHtP5dP+0Y76Uk=", + "integrity": "sha512-H/rKwNEEyej/+IhkmFNmKFyJul8tbH/muiPq5TyNoVTwsGhUjRsN3NlFnFQUvFXA3+GQmsXkCNXU6QKPl779aw==", + "dev": true + }, + "tapable": { + "version": "0.2.8", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-0.2.8.tgz", + "integrity": "sha1-mTcqXJmb8t8WCvwNdL7U9HlIzSI=", "dev": true }, "tar": { @@ -5826,10 +9087,22 @@ "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", "dev": true, "requires": { - "readable-stream": "2.3.3", + "readable-stream": "2.3.5", "xtend": "4.0.1" } }, + "thunky": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.0.2.tgz", + "integrity": "sha1-qGLgGOP7HqLsP85dVWBc9X8kc3E=", + "dev": true + }, + "time-stamp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-2.0.0.tgz", + "integrity": "sha1-lcakRTDhW6jW9KPsuMOj+sRto1c=", + "dev": true + }, "timed-out": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", @@ -5837,12 +9110,12 @@ "dev": true }, "timers-browserify": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz", - "integrity": "sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.6.tgz", + "integrity": "sha512-HQ3nbYRAowdVd0ckGFvmJPPCOH/CHleFN/Y0YQCX1DVaB7t+KFvisuyN09fuP8Jtp1CpfSh8O8bMkHbdbPe6Pw==", "dev": true, "requires": { - "process": "0.11.10" + "setimmediate": "1.0.5" } }, "tinymce": { @@ -5856,6 +9129,12 @@ "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", "dev": true }, + "to-fast-properties": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", + "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", + "dev": true + }, "to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", @@ -5903,6 +9182,12 @@ "resolved": "https://registry.npmjs.org/tooltipster/-/tooltipster-4.2.6.tgz", "integrity": "sha1-+/ej9bQL2D6BV04o2WZ8+CZnvHk=" }, + "toposort": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/toposort/-/toposort-1.0.6.tgz", + "integrity": "sha1-wxdI5V0hDv/AD9zcfW5o19e7nOw=", + "dev": true + }, "touch": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/touch/-/touch-3.1.0.tgz", @@ -5932,12 +9217,24 @@ "punycode": "1.4.1" } }, + "tree-kill": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.0.tgz", + "integrity": "sha512-DlX6dR0lOIRDFxI0mjL9IYg6OTncLm/Zt+JiBhE5OlFcAR8yc9S7FFXU9so0oda47frdM/JFsk7UjNt9vscKcg==", + "dev": true + }, "trim-newlines": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", "dev": true }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, "true-case-path": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.2.tgz", @@ -5965,7 +9262,7 @@ "tsickle": { "version": "0.27.2", "resolved": "https://registry.npmjs.org/tsickle/-/tsickle-0.27.2.tgz", - "integrity": "sha1-8z1G0Eb3PdXBVaN5IuQigW6HhzY=", + "integrity": "sha512-KW+ZgY0t2cq2Qib1sfdgMiRnk+cr3brUtzZoVWjv+Ot3jNxVorFBUH+6In6hl8Dg7BI2AAFf69NHkwvZNMSFwA==", "dev": true, "requires": { "minimist": "1.2.0", @@ -5974,18 +9271,33 @@ "source-map-support": "0.5.3" }, "dependencies": { + "minimist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", + "dev": true + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true + }, + "source-map-support": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.3.tgz", + "integrity": "sha512-eKkTgWYeBOQqFGXRfKabMFdnWepo51vWqEdoeikaEPFiJC7MCU5j2h4+6Q8npkZTeLGbSyecZvRxiSoWl3rh+w==", + "dev": true, + "requires": { + "source-map": "0.6.1" + } } } }, "tslib": { "version": "1.9.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.0.tgz", - "integrity": "sha1-43qG/ajLuvI6BX9HPJ9Nxk5fwug=", + "integrity": "sha512-f/qGG2tUkrISBlQZEjEqoZ3B2+npJjIf04H1wuAv9iA8i04Icp+61KRXxFdha22670NJopsZCIjhC3SnjPRKrQ==", "dev": true }, "tty-browserify": { @@ -5995,10 +9307,13 @@ "dev": true }, "tunnel-agent": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", - "integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", - "dev": true + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } }, "tweetnacl": { "version": "0.14.5", @@ -6007,6 +9322,16 @@ "dev": true, "optional": true }, + "type-is": { + "version": "1.6.16", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz", + "integrity": "sha512-HRkVv/5qY2G6I8iab9cI7v1bOIdhm94dVjQCPFElW9W+3GeDOSHmy2EBYe4VTApuzolPcmgFTN3ftVJRKR2J9Q==", + "dev": true, + "requires": { + "media-typer": "0.3.0", + "mime-types": "2.1.18" + } + }, "typedarray": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", @@ -6029,24 +9354,65 @@ "source-map": "0.6.1" }, "dependencies": { - "commander": { - "version": "2.14.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.14.1.tgz", - "integrity": "sha512-+YR16o3rK53SmWHU3rEM3tPAh2rwb1yPcQX5irVn7mb0gXbwuCCrnkbV5+PBfETdfg1vui07nM6PCG1zndcjQw==", - "dev": true + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "uglify-to-browserify": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz", + "integrity": "sha1-bgkk1r2mta/jSeOabWMoUKD4grc=", + "dev": true, + "optional": true + }, + "uglifyjs-webpack-plugin": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.2.3.tgz", + "integrity": "sha512-as/50351uuJGiQbhVvE510SCqM/YOWghCzIFJeEOu5oVE0QOZ3/vu2QcnVvu0Lz+vNd0rKsiCFAlbcw0i/YH2w==", + "dev": true, + "requires": { + "cacache": "10.0.4", + "find-cache-dir": "1.0.0", + "schema-utils": "0.4.5", + "serialize-javascript": "1.4.0", + "source-map": "0.6.1", + "uglify-es": "3.3.9", + "webpack-sources": "1.1.0", + "worker-farm": "1.6.0" + }, + "dependencies": { + "commander": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", + "dev": true }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true + }, + "uglify-es": { + "version": "3.3.9", + "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", + "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", + "dev": true, + "requires": { + "commander": "2.13.0", + "source-map": "0.6.1" + } } } }, "umd": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.1.tgz", - "integrity": "sha1-iuVW4RAR9jwllnCKiDclnwGz1g4=", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/umd/-/umd-3.0.2.tgz", + "integrity": "sha512-pmfBilQAzgIWo6aRuTx771b2MaCDkWzd1Z7qdByIk85Rq6bnzr0nKsQjkYshdTwOeGbSg8E3qORIZsmICwr/OA==", "dev": true }, "undefsafe": { @@ -6056,17 +9422,6 @@ "dev": true, "requires": { "debug": "2.6.9" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - } } }, "union-value": { @@ -6104,6 +9459,24 @@ } } }, + "unique-filename": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.0.tgz", + "integrity": "sha1-0F8v5AMlYIcfMOk8vnNe6iAVFPM=", + "dev": true, + "requires": { + "unique-slug": "2.0.0" + } + }, + "unique-slug": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.0.tgz", + "integrity": "sha1-22Z258fMBimHj/GWCXx4hVrp9Ks=", + "dev": true, + "requires": { + "imurmurhash": "0.1.4" + } + }, "unique-string": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-1.0.0.tgz", @@ -6113,6 +9486,18 @@ "crypto-random-string": "1.0.0" } }, + "universalify": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", + "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, "unset-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", @@ -6178,7 +9563,7 @@ "dev": true, "requires": { "boxen": "1.3.0", - "chalk": "2.3.1", + "chalk": "2.2.2", "configstore": "3.1.1", "import-lazy": "2.1.0", "is-installed-globally": "0.1.0", @@ -6186,39 +9571,14 @@ "latest-version": "3.1.0", "semver-diff": "2.1.0", "xdg-basedir": "3.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz", - "integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==", - "dev": true, - "requires": { - "color-convert": "1.9.1" - } - }, - "chalk": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", - "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==", - "dev": true, - "requires": { - "ansi-styles": "3.2.0", - "escape-string-regexp": "1.0.5", - "supports-color": "5.2.0" - } - }, - "supports-color": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.2.0.tgz", - "integrity": "sha512-F39vS48la4YvTZUPVeTqsjsFNrvcMwrV3RLZINsmHo+7djCvuUzSIeXOnZ5hmjef4bajL1dNccN+tg5XAliO5Q==", - "dev": true, - "requires": { - "has-flag": "3.0.0" - } - } } }, + "upper-case": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", + "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=", + "dev": true + }, "urix": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", @@ -6243,6 +9603,58 @@ } } }, + "url-loader": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-0.6.2.tgz", + "integrity": "sha512-h3qf9TNn53BpuXTTcpC+UehiRrl0Cv45Yr/xWayApjw6G8Bg2dGke7rIwDQ39piciWCWrC+WiqLjOh3SUp9n0Q==", + "dev": true, + "requires": { + "loader-utils": "1.1.0", + "mime": "1.6.0", + "schema-utils": "0.3.0" + }, + "dependencies": { + "ajv": { + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", + "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", + "dev": true, + "requires": { + "co": "4.6.0", + "fast-deep-equal": "1.1.0", + "fast-json-stable-stringify": "2.0.0", + "json-schema-traverse": "0.3.1" + } + }, + "schema-utils": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.3.0.tgz", + "integrity": "sha1-9YdyIs4+kx7a4DnxfrNxbnE3+M8=", + "dev": true, + "requires": { + "ajv": "5.5.2" + } + } + } + }, + "url-parse": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.2.0.tgz", + "integrity": "sha512-DT1XbYAfmQP65M/mE6OALxmXzZ/z1+e5zk2TcSKe/KiYbNGZxgtttzC0mR/sjopbpOXcbniq7eIKmocJnUWlEw==", + "dev": true, + "requires": { + "querystringify": "1.0.0", + "requires-port": "1.0.0" + }, + "dependencies": { + "querystringify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-1.0.0.tgz", + "integrity": "sha1-YoYkIRLFtxL6ZU5SZlK/ahP/Bcs=", + "dev": true + } + } + }, "url-parse-lax": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz", @@ -6253,86 +9665,18 @@ } }, "use": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/use/-/use-2.0.2.tgz", - "integrity": "sha1-riig1y+TvyJCKhii43mZMRLeyOg=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.0.tgz", + "integrity": "sha512-6UJEQM/L+mzC3ZJNM56Q4DFGLX/evKGRg15UJHGB9X5j5Z3AFbgZvjUh2yq/UJUY4U5dh7Fal++XbNg1uzpRAw==", "dev": true, "requires": { - "define-property": "0.2.5", - "isobject": "3.0.1", - "lazy-cache": "2.0.2" + "kind-of": "6.0.2" }, "dependencies": { - "define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dev": true, - "requires": { - "is-descriptor": "0.1.6" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dev": true, - "requires": { - "kind-of": "3.2.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dev": true, - "requires": { - "is-buffer": "1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dev": true, - "requires": { - "is-accessor-descriptor": "0.1.6", - "is-data-descriptor": "0.1.4", - "kind-of": "5.1.0" - } - }, - "isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "dev": true - }, "kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "dev": true } } @@ -6360,6 +9704,18 @@ "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "dev": true }, + "utila": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz", + "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, "uuid": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.2.1.tgz", @@ -6376,6 +9732,12 @@ "spdx-expression-parse": "3.0.0" } }, + "vary": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", + "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", + "dev": true + }, "verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", @@ -6395,6 +9757,12 @@ } } }, + "vlq": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/vlq/-/vlq-0.2.3.tgz", + "integrity": "sha512-DRibZL6DsNhIgYQ+wNdWDL2SL3bKPlVrRiBqV5yuMm++op8W4kGFtaQfCs4KEJn0wBZcHVHJ3eoywX8983k1ow==", + "dev": true + }, "vm-browserify": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz", @@ -6404,78 +9772,1240 @@ "indexof": "0.0.1" } }, - "which": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", - "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", - "dev": true, - "requires": { - "isexe": "2.0.0" - } - }, - "which-module": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", - "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", - "dev": true - }, - "wide-align": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", - "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", - "dev": true, - "requires": { - "string-width": "1.0.2" - } - }, - "widest-line": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz", - "integrity": "sha1-AUKk6KJD+IgsAjOqDgKBqnYVInM=", + "watchpack": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.5.0.tgz", + "integrity": "sha512-RSlipNQB1u48cq0wH/BNfCu1tD/cJ8ydFIkNYhp9o+3d+8unClkIovpW5qpFPgmL9OE48wfAnlZydXByWP82AA==", "dev": true, "requires": { - "string-width": "2.1.1" + "chokidar": "2.0.2", + "graceful-fs": "4.1.11", + "neo-async": "2.5.0" }, "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "dev": true - }, - "is-fullwidth-code-point": { + "anymatch": { "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, - "string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", "dev": true, "requires": { - "is-fullwidth-code-point": "2.0.0", - "strip-ansi": "4.0.0" + "micromatch": "3.1.9", + "normalize-path": "2.1.1" } }, - "strip-ansi": { + "arr-diff": { "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dev": true, - "requires": { - "ansi-regex": "3.0.0" - } - } - } - }, - "wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dev": true, - "requires": { + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "braces": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.1.tgz", + "integrity": "sha512-SO5lYHA3vO6gz66erVvedSCkp7AKWdv6VcQ2N4ysXfPxdAlxAMMAdwegGGcv1Bqwm7naF1hNdk5d6AAIEHV2nQ==", + "dev": true, + "requires": { + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "define-property": "1.0.0", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "kind-of": "6.0.2", + "repeat-element": "1.1.2", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "chokidar": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.2.tgz", + "integrity": "sha512-l32Hw3wqB0L2kGVmSbK/a+xXLDrUEsc84pSgMkmwygHvD7ubRsP/vxxHa5BtB6oix1XLLVCHyYMsckRXxThmZw==", + "dev": true, + "requires": { + "anymatch": "2.0.0", + "async-each": "1.0.1", + "braces": "2.3.1", + "fsevents": "1.1.3", + "glob-parent": "3.1.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "4.0.0", + "normalize-path": "2.1.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0", + "upath": "1.0.4" + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "3.1.0", + "path-dirname": "1.0.2" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "micromatch": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.9.tgz", + "integrity": "sha512-SlIz6sv5UPaAVVFRKodKjCg48EbNoIhgetzfK/Cy0v5U52Z6zB136M8tp0UC9jM53LYbmIRihJszvvqpKkfm9g==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.1", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.9", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + } + } + } + }, + "wbuf": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", + "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", + "dev": true, + "requires": { + "minimalistic-assert": "1.0.0" + } + }, + "webpack": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-3.11.0.tgz", + "integrity": "sha512-3kOFejWqj5ISpJk4Qj/V7w98h9Vl52wak3CLiw/cDOfbVTq7FeoZ0SdoHHY9PYlHr50ZS42OfvzE2vB4nncKQg==", + "dev": true, + "requires": { + "acorn": "5.5.3", + "acorn-dynamic-import": "2.0.2", + "ajv": "6.2.1", + "ajv-keywords": "3.1.0", + "async": "2.6.0", + "enhanced-resolve": "3.4.1", + "escope": "3.6.0", + "interpret": "1.1.0", + "json-loader": "0.5.7", + "json5": "0.5.1", + "loader-runner": "2.3.0", + "loader-utils": "1.1.0", + "memory-fs": "0.4.1", + "mkdirp": "0.5.1", + "node-libs-browser": "2.1.0", + "source-map": "0.5.7", + "supports-color": "4.5.0", + "tapable": "0.2.8", + "uglifyjs-webpack-plugin": "0.4.6", + "watchpack": "1.5.0", + "webpack-sources": "1.1.0", + "yargs": "8.0.2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "camelcase": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz", + "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk=", + "dev": true + }, + "cliui": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-2.1.0.tgz", + "integrity": "sha1-S0dXYP+AJkx2LDoXGQMukcf+oNE=", + "dev": true, + "requires": { + "center-align": "0.1.3", + "right-align": "0.1.3", + "wordwrap": "0.0.2" + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "4.1.11", + "parse-json": "2.2.0", + "pify": "2.3.0", + "strip-bom": "3.0.0" + } + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "dev": true, + "requires": { + "execa": "0.7.0", + "lcid": "1.0.0", + "mem": "1.1.0" + } + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "2.3.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "2.0.0", + "normalize-package-data": "2.4.0", + "path-type": "2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "2.1.0", + "read-pkg": "2.0.0" + } + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "uglify-js": { + "version": "2.8.29", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-2.8.29.tgz", + "integrity": "sha1-KcVzMUgFe7Th913zW3qcty5qWd0=", + "dev": true, + "requires": { + "source-map": "0.5.7", + "uglify-to-browserify": "1.0.2", + "yargs": "3.10.0" + }, + "dependencies": { + "yargs": { + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-3.10.0.tgz", + "integrity": "sha1-9+572FfdfB0tOMDnTvvWgdFDH9E=", + "dev": true, + "requires": { + "camelcase": "1.2.1", + "cliui": "2.1.0", + "decamelize": "1.2.0", + "window-size": "0.1.0" + } + } + } + }, + "uglifyjs-webpack-plugin": { + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-0.4.6.tgz", + "integrity": "sha1-uVH0q7a9YX5m9j64kUmOORdj4wk=", + "dev": true, + "requires": { + "source-map": "0.5.7", + "uglify-js": "2.8.29", + "webpack-sources": "1.1.0" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yargs": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-8.0.2.tgz", + "integrity": "sha1-YpmpBVsc78lp/355wdkY3Osiw2A=", + "dev": true, + "requires": { + "camelcase": "4.1.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "2.1.0", + "read-pkg-up": "2.0.0", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "2.1.1", + "which-module": "2.0.0", + "y18n": "3.2.1", + "yargs-parser": "7.0.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "1.0.2", + "strip-ansi": "3.0.1", + "wrap-ansi": "2.1.0" + }, + "dependencies": { + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "1.1.0", + "is-fullwidth-code-point": "1.0.0", + "strip-ansi": "3.0.1" + } + } + } + } + } + }, + "yargs-parser": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-7.0.0.tgz", + "integrity": "sha1-jQrELxbqVd69MyyvTEA4s+P139k=", + "dev": true, + "requires": { + "camelcase": "4.1.0" + }, + "dependencies": { + "camelcase": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", + "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", + "dev": true + } + } + } + } + }, + "webpack-core": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/webpack-core/-/webpack-core-0.6.9.tgz", + "integrity": "sha1-/FcViMhVjad76e+23r3Fo7FyvcI=", + "dev": true, + "requires": { + "source-list-map": "0.1.8", + "source-map": "0.4.4" + }, + "dependencies": { + "source-list-map": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-0.1.8.tgz", + "integrity": "sha1-xVCyq1Qn9rPyH1r+rYjE9Vh7IQY=", + "dev": true + }, + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": "1.0.1" + } + } + } + }, + "webpack-dev-middleware": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-1.12.2.tgz", + "integrity": "sha512-FCrqPy1yy/sN6U/SaEZcHKRXGlqU0DUaEBL45jkUYoB8foVb6wCnbIJ1HKIx+qUFTW+3JpVcCJCxZ8VATL4e+A==", + "dev": true, + "requires": { + "memory-fs": "0.4.1", + "mime": "1.6.0", + "path-is-absolute": "1.0.1", + "range-parser": "1.2.0", + "time-stamp": "2.0.0" + } + }, + "webpack-dev-server": { + "version": "2.11.2", + "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-2.11.2.tgz", + "integrity": "sha512-zrPoX97bx47vZiAXfDrkw8pe9QjJ+lunQl3dypojyWwWr1M5I2h0VSrMPfTjopHQPRNn+NqfjcMmhoLcUJe2gA==", + "dev": true, + "requires": { + "ansi-html": "0.0.7", + "array-includes": "3.0.3", + "bonjour": "3.5.0", + "chokidar": "2.0.2", + "compression": "1.7.2", + "connect-history-api-fallback": "1.5.0", + "debug": "3.1.0", + "del": "3.0.0", + "express": "4.16.2", + "html-entities": "1.2.1", + "http-proxy-middleware": "0.17.4", + "import-local": "1.0.0", + "internal-ip": "1.2.0", + "ip": "1.1.5", + "killable": "1.0.0", + "loglevel": "1.6.1", + "opn": "5.1.0", + "portfinder": "1.0.13", + "selfsigned": "1.10.2", + "serve-index": "1.9.1", + "sockjs": "0.3.19", + "sockjs-client": "1.1.4", + "spdy": "3.4.7", + "strip-ansi": "3.0.1", + "supports-color": "5.3.0", + "webpack-dev-middleware": "1.12.2", + "yargs": "6.6.0" + }, + "dependencies": { + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "3.1.9", + "normalize-path": "2.1.1" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "braces": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.1.tgz", + "integrity": "sha512-SO5lYHA3vO6gz66erVvedSCkp7AKWdv6VcQ2N4ysXfPxdAlxAMMAdwegGGcv1Bqwm7naF1hNdk5d6AAIEHV2nQ==", + "dev": true, + "requires": { + "arr-flatten": "1.1.0", + "array-unique": "0.3.2", + "define-property": "1.0.0", + "extend-shallow": "2.0.1", + "fill-range": "4.0.0", + "isobject": "3.0.1", + "kind-of": "6.0.2", + "repeat-element": "1.1.2", + "snapdragon": "0.8.2", + "snapdragon-node": "2.1.1", + "split-string": "3.1.0", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "chokidar": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.0.2.tgz", + "integrity": "sha512-l32Hw3wqB0L2kGVmSbK/a+xXLDrUEsc84pSgMkmwygHvD7ubRsP/vxxHa5BtB6oix1XLLVCHyYMsckRXxThmZw==", + "dev": true, + "requires": { + "anymatch": "2.0.0", + "async-each": "1.0.1", + "braces": "2.3.1", + "fsevents": "1.1.3", + "glob-parent": "3.1.0", + "inherits": "2.0.3", + "is-binary-path": "1.0.1", + "is-glob": "4.0.0", + "normalize-path": "2.1.1", + "path-is-absolute": "1.0.1", + "readdirp": "2.1.0", + "upath": "1.0.4" + } + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "2.6.9", + "define-property": "0.2.5", + "extend-shallow": "2.0.1", + "posix-character-classes": "0.1.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "0.1.6" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "0.1.6", + "is-data-descriptor": "0.1.4", + "kind-of": "5.1.0" + } + }, + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "0.3.2", + "define-property": "1.0.0", + "expand-brackets": "2.1.4", + "extend-shallow": "2.0.1", + "fragment-cache": "0.2.1", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "1.0.2" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "2.0.1", + "is-number": "3.0.0", + "repeat-string": "1.6.1", + "to-regex-range": "2.1.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "0.1.1" + } + } + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "3.1.0", + "path-dirname": "1.0.2" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + } + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-glob": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.0.tgz", + "integrity": "sha1-lSHHaEXMJhCoUgPd8ICpWML/q8A=", + "dev": true, + "requires": { + "is-extglob": "2.1.1" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "3.2.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "1.1.6" + } + } + } + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "kind-of": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", + "integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", + "dev": true + }, + "micromatch": { + "version": "3.1.9", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.9.tgz", + "integrity": "sha512-SlIz6sv5UPaAVVFRKodKjCg48EbNoIhgetzfK/Cy0v5U52Z6zB136M8tp0UC9jM53LYbmIRihJszvvqpKkfm9g==", + "dev": true, + "requires": { + "arr-diff": "4.0.0", + "array-unique": "0.3.2", + "braces": "2.3.1", + "define-property": "2.0.2", + "extend-shallow": "3.0.2", + "extglob": "2.0.4", + "fragment-cache": "0.2.1", + "kind-of": "6.0.2", + "nanomatch": "1.2.9", + "object.pick": "1.3.0", + "regex-not": "1.0.2", + "snapdragon": "0.8.2", + "to-regex": "3.0.2" + } + }, + "supports-color": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz", + "integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==", + "dev": true, + "requires": { + "has-flag": "3.0.0" + } + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true + }, + "yargs": { + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-6.6.0.tgz", + "integrity": "sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=", + "dev": true, + "requires": { + "camelcase": "3.0.0", + "cliui": "3.2.0", + "decamelize": "1.2.0", + "get-caller-file": "1.0.2", + "os-locale": "1.4.0", + "read-pkg-up": "1.0.1", + "require-directory": "2.1.1", + "require-main-filename": "1.0.1", + "set-blocking": "2.0.0", + "string-width": "1.0.2", + "which-module": "1.0.0", + "y18n": "3.2.1", + "yargs-parser": "4.2.1" + } + }, + "yargs-parser": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-4.2.1.tgz", + "integrity": "sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=", + "dev": true, + "requires": { + "camelcase": "3.0.0" + } + } + } + }, + "webpack-merge": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.1.2.tgz", + "integrity": "sha512-/0QYwW/H1N/CdXYA2PNPVbsxO3u2Fpz34vs72xm03SRfg6bMNGfMJIQEpQjKRvkG2JvT6oRJFpDtSrwbX8Jzvw==", + "dev": true, + "requires": { + "lodash": "4.17.5" + } + }, + "webpack-sources": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.1.0.tgz", + "integrity": "sha512-aqYp18kPphgoO5c/+NaUvEeACtZjMESmDChuD3NBciVpah3XpMEU9VAAtIaB1BsfJWWTSdv8Vv1m3T0aRk2dUw==", + "dev": true, + "requires": { + "source-list-map": "2.0.0", + "source-map": "0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "webpack-subresource-integrity": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/webpack-subresource-integrity/-/webpack-subresource-integrity-1.0.4.tgz", + "integrity": "sha1-j6yKfo61n8ahZ2ioXJ2U7n+dDts=", + "dev": true, + "requires": { + "webpack-core": "0.6.9" + } + }, + "websocket-driver": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.0.tgz", + "integrity": "sha1-DK+dLXVdk67gSdS90NP+LMoqJOs=", + "dev": true, + "requires": { + "http-parser-js": "0.4.11", + "websocket-extensions": "0.1.3" + } + }, + "websocket-extensions": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz", + "integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==", + "dev": true + }, + "when": { + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/when/-/when-3.6.4.tgz", + "integrity": "sha1-RztRfsFZ4rhQBUl6E5g/CVQS404=", + "dev": true + }, + "which": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.0.tgz", + "integrity": "sha512-xcJpopdamTuY5duC/KnTTNBraPK54YwpenP4lzxU8H91GudWpFv38u0CKjclE1Wi2EH2EDz5LRcHcKbCIzqGyg==", + "dev": true, + "requires": { + "isexe": "2.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wide-align": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", + "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", + "dev": true, + "requires": { + "string-width": "1.0.2" + } + }, + "widest-line": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz", + "integrity": "sha1-AUKk6KJD+IgsAjOqDgKBqnYVInM=", + "dev": true, + "requires": { + "string-width": "2.1.1" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "2.0.0", + "strip-ansi": "4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "3.0.0" + } + } + } + }, + "window-size": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/window-size/-/window-size-0.1.0.tgz", + "integrity": "sha1-VDjNLqk7IC76Ohn+iIeu58lPnJ0=", + "dev": true + }, + "wordwrap": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.2.tgz", + "integrity": "sha1-t5Zpu0LstAn4PVg8rVLKF+qhZD8=", + "dev": true + }, + "worker-farm": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.6.0.tgz", + "integrity": "sha512-6w+3tHbM87WnSWnENBUvA2pxJPLhQUg5LKwUQHq3r+XPhIM+Gh2R5ycbwPCyuGbNg+lPgdcnQUhuC02kJCvffQ==", + "dev": true, + "requires": { + "errno": "0.1.7" + } + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { "string-width": "1.0.2", "strip-ansi": "3.0.1" } @@ -6509,16 +11039,31 @@ "integrity": "sha1-f4dliEdxbbUCYyOBL4GMras4el8=", "dev": true }, + "xml-char-classes": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/xml-char-classes/-/xml-char-classes-1.0.0.tgz", + "integrity": "sha1-ZGV4SKIP/F31g6Qq2KJ3tFErvE0=", + "dev": true + }, "xtend": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz", "integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68=", "dev": true }, + "xxhashjs": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/xxhashjs/-/xxhashjs-0.2.2.tgz", + "integrity": "sha512-AkTuIuVTET12tpsVIQo+ZU6f/qDmKuRUcjaqR+OIvm+aCBsZ95i7UVY5WJ9TMsSaZ0DA2WxoZ4acu0sPH+OKAw==", + "dev": true, + "requires": { + "cuint": "0.2.2" + } + }, "y18n": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", - "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", + "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", "dev": true }, "yallist": { @@ -6553,6 +11098,12 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", "dev": true + }, + "y18n": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.1.tgz", + "integrity": "sha1-bRX7qITAhnnA136I53WegR4H+kE=", + "dev": true } } }, @@ -6576,7 +11127,7 @@ "zone.js": { "version": "0.8.20", "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.8.20.tgz", - "integrity": "sha1-ohjEjbCUZLGf9vyPDUu1sQRuGF0=" + "integrity": "sha512-FXlA37ErSXCMy5RNBcGFgCI/Zivqzr0D19GuvDxhcYIJc7xkFp6c29DKyODJu0Zo+EMyur/WPPgcBh1EHjB9jA==" } } } diff --git a/package.json b/package.json index b285b53e9c3..607d601c872 100755 --- a/package.json +++ b/package.json @@ -2,10 +2,9 @@ "name": "MaarchCourrier", "description": "MaarchCourrier", "scripts": { - "build": "tsc -p apps/maarch_entreprise/js/angular/", - "build:watch": "tsc -p apps/maarch_entreprise/js/angular/ -w", - "build-prod": "npm run build && browserify -s main apps/maarch_entreprise/js/angular/main.js > apps/maarch_entreprise/js/angular/main.bundle.js && npm run minify && node-sass --include-path scss apps/maarch_entreprise/css/maarch-material.scss apps/maarch_entreprise/css/maarch-material.css --output-style compressed", - "minify": "uglifyjs apps/maarch_entreprise/js/angular/main.bundle.js --compress --mangle --output apps/maarch_entreprise/js/angular/main.bundle.min.js", + "build": "ng build", + "build-watch": "tsc -p apps/maarch_entreprise/js/angular/ -w", + "build-prod": "ng build --prod && npm run build-css", "build-css": "node-sass --include-path scss apps/maarch_entreprise/css/maarch-material.scss apps/maarch_entreprise/css/maarch-material.css --output-style compressed" }, "keywords": [], @@ -29,6 +28,7 @@ "devDependencies": { "@angular/animations": "^5.2.8", "@angular/cdk": "^5.2.4", + "@angular/cli": "~1.7.3", "@angular/common": "^5.2.8", "@angular/compiler": "^5.2.8", "@angular/compiler-cli": "^5.2.8", @@ -43,15 +43,12 @@ "@types/datatables.net": "^1.10.8", "@types/jquery": "^2.0.49", "@types/node": "^7.0.56", - "browserify": "^15.2.0", "hammerjs": "^2.0.8", "node-sass": "^4.8.1", "nodemon": "^1.17.1", "rxjs": "^5.5.6", - "systemjs": "0.20.19", "tslib": "^1.9.0", - "typescript": "2.6.2", - "uglify-js": "^3.3.14" + "typescript": "2.6.2" }, "repository": {} } diff --git a/rest/index.php b/rest/index.php index e7f928870f9..fa49e26f030 100755 --- a/rest/index.php +++ b/rest/index.php @@ -108,7 +108,7 @@ $app = new \Slim\App(['settings' => ['displayErrorDetails' => true]]); //Initialize -$app->post('/initialize', \SrcCore\controllers\CoreController::class . ':initialize'); +$app->get('/initialize', \SrcCore\controllers\CoreController::class . ':initialize'); //Administration $app->get('/administration', \SrcCore\controllers\CoreController::class . ':getAdministration'); diff --git a/src/core/controllers/CoreController.php b/src/core/controllers/CoreController.php index ed68d240ae1..bfbb5d82edf 100644 --- a/src/core/controllers/CoreController.php +++ b/src/core/controllers/CoreController.php @@ -24,24 +24,26 @@ class CoreController { public function initialize(Request $request, Response $response) { - $customId = CoreConfigModel::getCustomId(); - - $data = $request->getParams(); - $aInit = []; $aInit['coreUrl'] = str_replace('rest/', '', \Url::coreurl()); - $aInit['applicationName'] = CoreConfigModel::getApplicationName(); $aInit['lang'] = CoreConfigModel::getLanguage(); + $aInit['scriptsToinject'] = []; - if (!empty($data['views'])) { - foreach ($data['views'] as $view) { - $aInit[$view.'View'] = 'Views/'.$view.'.component.html'; - if (file_exists("custom/{$customId}/apps/maarch_entreprise/Views/{$view}.component.html")) { - $aInit[$view.'View'] = "../../custom/{$customId}/apps/maarch_entreprise/Views/{$view}.component.html"; + $scriptsToInject = scandir('dist'); + foreach ($scriptsToInject as $key => $value) { + if (strstr($value, 'inline.') !== false || strstr($value, 'main.') !== false || strstr($value, 'vendor.') !== false) { + if (strstr($value, '.js.map') === false) { + $aInit['scriptsToinject'][] = $value; } } } + if (!empty($aInit['scriptsToinject'][2]) && strstr($aInit['scriptsToinject'][2], 'vendor.') !== false) { + $tmp = $aInit['scriptsToinject'][1]; + $aInit['scriptsToinject'][1] = $aInit['scriptsToinject'][2]; + $aInit['scriptsToinject'][2] = $tmp; + } + return $response->withJson($aInit); } -- GitLab