From 328f3cb7cdb175e779df30d34891f92b92f796b1 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Mishra Date: Tue, 8 May 2018 10:09:00 +0530 Subject: [PATCH] update link in readme file --- README.md | 2 +- dist/index.html | 4 ++-- ...2f14c0dcc8918853e7.js => main.4b20b7ce32df78939b4f.js} | 2 +- dist/polyfills.1371016fb090fbda5d54.js | 1 + dist/polyfills.2bba700694d966419730.js | 1 - package.json | 2 +- src/app/app.module.ts | 8 ++++---- 7 files changed, 10 insertions(+), 10 deletions(-) rename dist/{main.a52f14c0dcc8918853e7.js => main.4b20b7ce32df78939b4f.js} (99%) create mode 100644 dist/polyfills.1371016fb090fbda5d54.js delete mode 100644 dist/polyfills.2bba700694d966419730.js diff --git a/README.md b/README.md index fe71fedff..ab12faccb 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This project is a port of the famous Free Admin Bootstrap Theme [SB Admin v6.0]( Powered by [StartAngular](http://startangular.com/) & [StrapUI](http://strapui.com/) -## [Demo](http://rawgit.com/start-angular/SB-Admin-BS4-Angular-5/master/dist/) +## [Demo](http://rawgit.com/start-angular/SB-Admin-BS4-Angular-6/master/dist/) This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.0. diff --git a/dist/index.html b/dist/index.html index c16e6ed4b..45d71a4fa 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,7 +1,7 @@ SB Admin Angular5 BS4 - + @@ -16,4 +16,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/dist/main.a52f14c0dcc8918853e7.js b/dist/main.4b20b7ce32df78939b4f.js similarity index 99% rename from dist/main.a52f14c0dcc8918853e7.js rename to dist/main.4b20b7ce32df78939b4f.js index 23c8d1f60..39fcc0e20 100644 --- a/dist/main.a52f14c0dcc8918853e7.js +++ b/dist/main.4b20b7ce32df78939b4f.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"+Sv0":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){}},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return function(t){for(var n=0,r=e.length;n0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):Q(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(be,"\n ")}function Oe(e,t){return new Error(Se(e,t))}var xe=void 0;function Te(e){var t=xe;return xe=e,t}function ke(e,t){if(void 0===t&&(t=0),void 0===xe)throw new Error("inject() must be called from an injection context");if(null===xe){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;throw new Error("Injector: NOT_FOUND ["+Q(e)+"]")}return xe.get(e,8&t?null:void 0,t)}function je(e){for(var t=[],n=0;n1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return Q(e.token)}).join(" -> ")+")":""}function We(e,t,n,r){var o=[t],i=n(o),a=r?function(e,t){var n=i+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[ze]=t,r}(0,r):Error(i);return a.addKey=Ye,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[ze]=r,a}function Ye(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Je(e,t){for(var n=[],r=0,o=t.length;r=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw We(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Ze(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Cn=function(){function e(){this._applications=new Map,On.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),On.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}();function En(e){On=e}var Sn,On=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),xn=!0,Tn=!1,kn=new f("AllowMultipleToken");function jn(){if(Tn)throw new Error("Cannot enable prod mode after platform setup.");xn=!1}function Pn(){return Tn=!0,xn}var In=function(e,t){this.name=e,this.token=t};function An(e){if(Sn&&!Sn.destroyed&&!Sn.injector.get(kn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Sn=e.get(Ln);var t=e.get(Dt,null);return t&&t.forEach(function(e){return e()}),Sn}function Dn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new f(r);return function(t){void 0===t&&(t=[]);var i=Mn();if(!i||i.injector.get(kn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});An(pe.create({providers:a,name:r}))}return Nn(o)}}function Nn(e){var t=Mn();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Rn(){Sn&&!Sn.destroyed&&Sn.destroy()}function Mn(){return Sn&&!Sn.destroyed?Sn:null}var Ln=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new bn:("zone.js"===n?void 0:n)||new hn({enableLongStackTrace:Pn()}),i=[{provide:hn,useValue:o}];return o.run(function(){var t=pe.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(Qe,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Hn(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(kt)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Ot(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(zt),o=Fn({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Q(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Fn(e,t){return Array.isArray(t)?t.reduce(Fn,e):Object(r.__assign)({},e,t)}var Vn=function(){function e(e,t,n,r,o,i){var c=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Pn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run(function(){c.tick()})}});var l=new a.a(function(e){c._stable=c._zone.isStable&&!c._zone.hasPendingMacrotasks&&!c._zone.hasPendingMicrotasks,c._zone.runOutsideAngular(function(){e.next(c._stable),e.complete()})}),f=new a.a(function(e){var t;c._zone.runOutsideAngular(function(){t=c._zone.onStable.subscribe(function(){hn.assertNotInAngularZone(),G(function(){c._stable||c._zone.hasPendingMacrotasks||c._zone.hasPendingMicrotasks||(c._stable=!0,e.next(!0))})})});var n=c._zone.onUnstable.subscribe(function(){hn.assertInAngularZone(),c._stable&&(c._stable=!1,c._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(l,f.pipe(Object(u.a)()))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof qt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof $t?null:this._injector.get(Xt),i=n.create(pe.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(wn,null);return a&&i.injector.get(Cn).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Pn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,ln(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Hn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Rt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Hn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=cn("ApplicationRef#tick()"),e}();function Hn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Un=function(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},zn=function(){},Bn=function(){},qn=function(){},Gn=function(){},Kn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Qn=function(){},Zn=function(e){this.nativeElement=e},Wn=function(){},Yn=new Map;function Jn(e,t){var n=Yn.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);Yn.set(e,t)}function $n(e){var t=Yn.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}var Xn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new dn,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[q()]=function(){return this._results[q()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),er=function(){},tr={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},nr=function(){function e(e,t){this._compiler=e,this._config=t||tr}return e.prototype.load=function(e){return this._compiler instanceof Ht?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,o=Object(r.__read)(e.split("#"),2),i=o[0],a=o[1];return void 0===a&&(a="default"),n("crnd")(i).then(function(e){return e[a]}).then(function(e){return rr(e,i,a)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(r.__read)(e.split("#"),2),o=t[0],i=t[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(e){return e[i+a]}).then(function(e){return rr(e,o,i)})},e}();function rr(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var or=function(){},ir=function(){},ar=function(){},sr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(ar),ur=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(sr),cr=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof lr?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),lr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return Object(r.__extends)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,o=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,Object(r.__spread)([i+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=o}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return pr(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return dr(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(cr);function fr(e){return e.map(function(e){return e.nativeElement})}function pr(e,t,n){e.childNodes.forEach(function(e){e instanceof lr&&(t(e)&&n.push(e),pr(e,t,n))})}function dr(e,t,n){e instanceof lr&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof lr&&dr(e,t,n)})}var hr=new Map;function yr(e){return hr.get(e)||null}function vr(e){hr.set(e.nativeNode,e)}function gr(e,t){var n=br(e),r=br(t);return n&&r?function(e,t,n){for(var r=e[q()](),o=t[q()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,gr):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||K(e,t)}var mr=function(){function e(e){this.wrapped=e}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}(),_r=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function br(e){return!!wr(e)&&(Array.isArray(e)||!(e instanceof Map)&&q()in e)}function wr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Cr=function(){function e(){}return e.prototype.supports=function(e){return br(e)},e.prototype.create=function(e){return new Sr(e)},e}(),Er=function(e,t){return t},Sr=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Er}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();ro.hasOwnProperty(t)&&!Xr.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(lo(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),uo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,co=/([^\#-~ |!])/g;function lo(e){return e.replace(/&/g,"&").replace(uo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(co,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function fo(e,t){var n=null;try{$r=$r||new Kr(e);var r=t?String(t):"";n=$r.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=$r.getInertBodyElement(r)}while(r!==i);var a=new so,s=a.sanitizeChildren(po(n)||n);return Pn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var u=po(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function po(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ho=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"),yo=/^url\(([^)]+)\)$/;function vo(e){if(!(e=String(e).trim()))return"";var t=e.match(yo);return t&&Wr(t[1])===t[1]||e.match(ho)&&function(e){for(var t=!0,n=!0,r=0;r-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:c,token:t.token},e._providers[c]=Ei,e._providers[c]=Pi(e,e._def.providersByKey[t.tokenKey])}return e._parent.get(t.token,n)}finally{Te(i)}}function Pi(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var o=n.length;switch(o){case 0:return new t;case 1:return new t(ji(e,n[0]));case 2:return new t(ji(e,n[0]),ji(e,n[1]));case 3:return new t(ji(e,n[0]),ji(e,n[1]),ji(e,n[2]));default:for(var i=new Array(o),a=0;a=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Ri(n,t),To.dirtyParentQueries(r),Di(r),r}function Ai(e,t,n){var r=t?Zo(t,t.def.lastRenderRootNode):e.renderElement;oi(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Di(e){oi(e,3,null,null,void 0)}function Ni(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ri(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Mi=new Object;function Li(e,t,n,r,o,i){return new Vi(e,t,n,r,o,i)}function Fi(e){return e.viewDefFactory}var Vi=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=ri(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=To.createRootView(e,t||[],n,o,r,Mi),s=Eo(a,i).instance;return n&&a.renderer.setAttribute(Co(a,0).renderElement,"ng-version",He.full),new Hi(a,new qi(a),s)},t}(qt),Hi=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Zn(Co(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Zi(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(e){this._viewRef.onDestroy(e)},t}(Bt);function Ui(e,t,n){return new zi(e,t,n)}var zi=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Zn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Qo(e),e=e.parent;return e?new Zi(e,t):new Zi(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ii(this._data,e);To.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new qi(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof $t||(o=i.get(Xt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return o=a._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,Ni(i,r,o),function(e,t){var n=Ko(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),To.dirtyParentQueries(o),Ai(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=s],Ri(i,r),null==o&&(o=i.length),Ni(i,o,a),To.dirtyParentQueries(a),Di(a),Ai(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Ii(this._data,e);t&&To.destroyView(t)},e.prototype.detach=function(e){var t=Ii(this._data,e);return t?new qi(t):null},e}();function Bi(e){return new qi(e)}var qi=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return oi(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Bo(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{To.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){To.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),To.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Di(this._view),To.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Gi(e,t){return new Ki(e,t)}var Ki=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new qi(To.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Zn(Co(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(or);function Qi(e,t){return new Zi(e,t)}var Zi=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=pe.THROW_IF_NOT_FOUND),To.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Do(e)},t)},e}();function Wi(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Co(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return wo(e,n.nodeIndex).renderText;if(20240&n.flags)return Eo(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Yi(e){return new Ji(e.renderer)}var Ji=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(r.__read)(li(t),2),o=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,o),o},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,o=t.provider;switch(201347067&t.flags){case 512:return ga(e,t.parent,n,o.value,o.deps);case 1024:return function(e,t,n,o,i){var a=i.length;switch(a){case 0:return o();case 1:return o(_a(e,t,n,i[0]));case 2:return o(_a(e,t,n,i[0]),_a(e,t,n,i[1]));case 3:return o(_a(e,t,n,i[0]),_a(e,t,n,i[1]),_a(e,t,n,i[2]));default:for(var s=Array(a),u=0;u0)c=y,Ha(y)||(l=y);else for(;c&&h===c.nodeIndex+c.childCount;){var m=c.parent;m&&(m.childFlags|=c.childFlags,m.childMatchedQueries|=c.childMatchedQueries),l=(c=m)&&Ha(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||Io,updateRenderer:r||Io,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:d}}function Ha(e){return 0!=(1&e.flags)&&null===e.element.name}function Ua(e,t,n){var r=t.element&&t.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 "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function za(e,t,n,r){var o=Ga(e.root,e.renderer,e,t,n);return Ka(o,e.component,r),Qa(o),o}function Ba(e,t,n){var r=Ga(e,e.renderer,null,null,t);return Ka(r,n,n),Qa(r),r}function qa(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ga(e.root,o,e,t.element.componentProvider,n)}function Ga(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Ka(e,t,n){e.component=t,e.context=n}function Qa(e){var t;Yo(e)&&(t=Co(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&Ci(e,t,0,n)&&(d=!0),p>1&&Ci(e,t,1,r)&&(d=!0),p>2&&Ci(e,t,2,o)&&(d=!0),p>3&&Ci(e,t,3,i)&&(d=!0),p>4&&Ci(e,t,4,a)&&(d=!0),p>5&&Ci(e,t,5,s)&&(d=!0),p>6&&Ci(e,t,6,u)&&(d=!0),p>7&&Ci(e,t,7,c)&&(d=!0),p>8&&Ci(e,t,8,l)&&(d=!0),p>9&&Ci(e,t,9,f)&&(d=!0),d}(e,t,n,r,o,i,a,s,u,c,l,f);case 2:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=!1,d=t.bindings,h=d.length;if(h>0&&Uo(e,t,0,n)&&(p=!0),h>1&&Uo(e,t,1,r)&&(p=!0),h>2&&Uo(e,t,2,o)&&(p=!0),h>3&&Uo(e,t,3,i)&&(p=!0),h>4&&Uo(e,t,4,a)&&(p=!0),h>5&&Uo(e,t,5,s)&&(p=!0),h>6&&Uo(e,t,6,u)&&(p=!0),h>7&&Uo(e,t,7,c)&&(p=!0),h>8&&Uo(e,t,8,l)&&(p=!0),h>9&&Uo(e,t,9,f)&&(p=!0),p){var y=t.text.prefix;h>0&&(y+=Fa(n,d[0])),h>1&&(y+=Fa(r,d[1])),h>2&&(y+=Fa(o,d[2])),h>3&&(y+=Fa(i,d[3])),h>4&&(y+=Fa(a,d[4])),h>5&&(y+=Fa(s,d[5])),h>6&&(y+=Fa(u,d[6])),h>7&&(y+=Fa(c,d[7])),h>8&&(y+=Fa(l,d[8])),h>9&&(y+=Fa(f,d[9]));var v=wo(e,t.nodeIndex).renderText;e.renderer.setValue(v,y)}return p}(e,t,n,r,o,i,a,s,u,c,l,f);case 16384:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=Eo(e,t.nodeIndex),d=p.instance,h=!1,y=void 0,v=t.bindings.length;return v>0&&Ho(e,t,0,n)&&(h=!0,y=wa(e,p,t,0,n,y)),v>1&&Ho(e,t,1,r)&&(h=!0,y=wa(e,p,t,1,r,y)),v>2&&Ho(e,t,2,o)&&(h=!0,y=wa(e,p,t,2,o,y)),v>3&&Ho(e,t,3,i)&&(h=!0,y=wa(e,p,t,3,i,y)),v>4&&Ho(e,t,4,a)&&(h=!0,y=wa(e,p,t,4,a,y)),v>5&&Ho(e,t,5,s)&&(h=!0,y=wa(e,p,t,5,s,y)),v>6&&Ho(e,t,6,u)&&(h=!0,y=wa(e,p,t,6,u,y)),v>7&&Ho(e,t,7,c)&&(h=!0,y=wa(e,p,t,7,c,y)),v>8&&Ho(e,t,8,l)&&(h=!0,y=wa(e,p,t,8,l,y)),v>9&&Ho(e,t,9,f)&&(h=!0,y=wa(e,p,t,9,f,y)),y&&d.ngOnChanges(y),65536&t.flags&&bo(e,256,t.nodeIndex)&&d.ngOnInit(),262144&t.flags&&d.ngDoCheck(),h}(e,t,n,r,o,i,a,s,u,c,l,f);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=t.bindings,d=!1,h=p.length;if(h>0&&Uo(e,t,0,n)&&(d=!0),h>1&&Uo(e,t,1,r)&&(d=!0),h>2&&Uo(e,t,2,o)&&(d=!0),h>3&&Uo(e,t,3,i)&&(d=!0),h>4&&Uo(e,t,4,a)&&(d=!0),h>5&&Uo(e,t,5,s)&&(d=!0),h>6&&Uo(e,t,6,u)&&(d=!0),h>7&&Uo(e,t,7,c)&&(d=!0),h>8&&Uo(e,t,8,l)&&(d=!0),h>9&&Uo(e,t,9,f)&&(d=!0),d){var y=So(e,t.nodeIndex),v=void 0;switch(201347067&t.flags){case 32:v=new Array(p.length),h>0&&(v[0]=n),h>1&&(v[1]=r),h>2&&(v[2]=o),h>3&&(v[3]=i),h>4&&(v[4]=a),h>5&&(v[5]=s),h>6&&(v[6]=u),h>7&&(v[7]=c),h>8&&(v[8]=l),h>9&&(v[9]=f);break;case 64:v={},h>0&&(v[p[0].name]=n),h>1&&(v[p[1].name]=r),h>2&&(v[p[2].name]=o),h>3&&(v[p[3].name]=i),h>4&&(v[p[4].name]=a),h>5&&(v[p[5].name]=s),h>6&&(v[p[6].name]=u),h>7&&(v[p[7].name]=c),h>8&&(v[p[8].name]=l),h>9&&(v[p[9].name]=f);break;case 128:var g=n;switch(h){case 1:v=g.transform(n);break;case 2:v=g.transform(r);break;case 3:v=g.transform(r,o);break;case 4:v=g.transform(r,o,i);break;case 5:v=g.transform(r,o,i,a);break;case 6:v=g.transform(r,o,i,a,s);break;case 7:v=g.transform(r,o,i,a,s,u);break;case 8:v=g.transform(r,o,i,a,s,u,c);break;case 9:v=g.transform(r,o,i,a,s,u,c,l);break;case 10:v=g.transform(r,o,i,a,s,u,c,l,f)}}y.value=v}return d}(e,t,n,r,o,i,a,s,u,c,l,f);default:throw"unreachable"}}(e,t,o,i,a,s,u,c,l,f,p,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o0&&zo(e,t,0,n),p>1&&zo(e,t,1,r),p>2&&zo(e,t,2,o),p>3&&zo(e,t,3,i),p>4&&zo(e,t,4,a),p>5&&zo(e,t,5,s),p>6&&zo(e,t,6,u),p>7&&zo(e,t,7,c),p>8&&zo(e,t,8,l),p>9&&zo(e,t,9,f)}(e,t,r,o,i,a,s,u,c,l,f,p):function(e,t,n){for(var r=0;r0){var i=new Set(e.modules);vs.forEach(function(t,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:ei(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Do(r)]=o}})}}(e=e.factory(function(){return Io})),e):e}(r))}var ys=new Map,vs=new Map,gs=new Map;function ms(e){ys.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&vs.set(e.token,e)}function _s(e,t){var n=ri(ri(Fi(t)).nodes[0].element.componentView);gs.set(e,n)}function bs(){ys.clear(),vs.clear(),gs.clear()}function ws(e){if(0===ys.size)return e;var t=function(e){for(var t=[],n=null,r=0;r=t&&ru(n)}function tu(e,t){null!=e&&ru(t)}function nu(e,t){null==e&&ru(t)}function ru(e){throw new Error("ASSERTION ERROR: "+e)}function ou(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function iu(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function au(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function su(e,t,n){1===e.lifecycleStage&&(uu(e.directives,t.initHooks,t.checkHooks,n),e.lifecycleStage=2)}function uu(e,t,n,r){var o=r?t:n;o&&cu(e,o)}function cu(e,t){for(var n=0;n"}var hu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function yu(e){return!!e.listen}var vu={createRenderer:function(e,t){return document}};function gu(e,t){return!(e!=e&&t!=t)&&e!==t}function mu(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function _u(e,t){for(var n=e;n&&n!==t;){var r=n.pNextOrParent;if(r){for(;1!==r.type;){if(i=Cu(r))return i;r=r.pNextOrParent}n=r}else{for(var o=n.next;o;){var i;if(i=Cu(o))return i;o=o.next}var a=n.parent;if(n=null,a){var s=a.type;0!==s&&2!==s||(n=a)}}}return null}function bu(e){var t=e.pNextOrParent;return t?1===t.type?null:t:e.next}function wu(e,t){for(var n=e,r=bu(n);n&&!r;){if((n=n.pNextOrParent||n.parent)===t)return null;r=n&&bu(n)}return r}function Cu(e){for(var t=e;t;){var n=null;if(3===t.type)return t.native;if(0===t.type){var r=t.dynamicLContainerNode?t.dynamicLContainerNode.data:t.data;n=r.views.length?r.views[0].child:null}else n=1===t.type?t.data.head:t.child;t=null===n?wu(t,e):n}return null}function Eu(e,t){return yu(t)?t.createText(mu(e)):t.createTextNode(mu(e))}function Su(e,t,n,r){ngDevMode&&fu(e,0),ngDevMode&&fu(t,2);var o=e.data.renderParent,i=o?o.native:null,a=t.child;if(i)for(;a;){var s=null,u=e.view.renderer;if(3===a.type)n?(a.native||(a.native=Eu("",u)),yu(u)?u.insertBefore(i,a.native,r):i.insertBefore(a.native,r,!0)):yu(u)?u.removeChild(i,a.native):i.removeChild(a.native),s=a.next;else if(0===a.type){var c=a.data;c.renderParent=o,s=c.views.length?c.views[0].child:null}else s=1===a.type?a.data.head:a.child;a=null===s?wu(a,t):s}}function Ou(e,t,n){var r=e.data.views;if(n>0&&Tu(r[n-1],t),n0&&Tu(n[t-1],r.next),n.splice(t,1),r.next=null,function(e){for(var t=e;t;){var n=null;if(t.views&&t.views.length?n=t.views[0].data:t.child?n=t.child:t.next&&(ju(t),n=t.next),null==n){for(;t&&!t.next&&t!==e;)ju(t),t=ku(t,e);ju(t||e),n=t&&t.next}t=n}}(r.data),Su(e,r,!1),e.data.queries&&e.data.queries.removeView(t),r}function Tu(e,t){e.next=t,e.data.next=t?t.data:null}function ku(e,t){var n;return(n=e.node)&&2===n.type?n.parent.data:e.parent===t?null:e.parent}function ju(e){!function(e){var t=e.cleanup;if(null!=t){for(var n=0;n0&&" "!==n[i-1]||a=qu.length?qu[e]=null:s.tNode=qu[e],Bu?(Yu=null,zu.view!==tc&&2!==zu.type||(ngDevMode&&tu(zu.child,"previousOrParentNode's child should not have been set."),zu.child=s)):zu&&(ngDevMode&&tu(zu.next,"previousOrParentNode's next property should not have been set "+e+"."),zu.next=s,zu.dynamicLContainerNode&&(zu.dynamicLContainerNode.next=s))),zu=s,Bu=!0,s}function dc(e,t,n,r,o,i){var a,s=Bu,u=zu;try{Bu=!0,zu=null;var c=2;null==e&&(e=pc(null,2,null,lc(-1,r,bc(t,o||null,i||null),t,n,2)),c=1),a=ic(e.data,e),t(c,n),sc(),zc()}finally{ac(a),Bu=s,zu=u}return e}function hc(e){return 1&e.flags?3:2}function yc(e,t,n,r){ngDevMode&&$s(tc.bindingStartIndex,-1,"elements should be created before any bindings");var o=Hu.createElement(t),i=pc(e,3,o,null);return n&&Cc(o,n),Iu(i.parent,o,tc),vc(e,t,n,r,null),o}function vc(e,t,n,r,o){var i=zu;oc?(ngDevMode&&xl(e-1),i.tNode=qu[e]=kc(t,n||null,o),function(e,t,n){var r=n?{"":-1}:null,o=t.currentMatches=function(e){var t=tc.tView.directiveRegistry,n=null;if(t)for(var r=0;r0)for(var n=e.flags>>13,r=n+t,o=tc.tView.directives,i=n;i>13,o=r+(4095&e),i=r;i0)for(var o=e>>13,i=o+n,a=0===t,s=tc.tView.directives,u=o;u=i.length)&&(i=function(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var o=n.attrs,i=0;i=n.length||null==n[e]){var r=tc.tView;n[e]=wc(r.directiveRegistry,r.pipeRegistry)}return n[e]}(e,t),null,null,2);n.queries&&(o.queries=n.queries.enterView(n.nextIndex)),ic(o,r=pc(null,2,null,o))}return hc(r.data)}function qc(){sc(),Bu=!1;var e=zu=tc.node,t=zu.parent;if(t){ngDevMode&&fu(e,2),ngDevMode&&fu(t,0);var n=t.data;Ju&&(function(e,t){if(null!=e)for(var n=t.child;n;){if(1===n.type)for(var r=n.data.head,o=n.data.tail;r;)r.dynamicLContainerNode&&(r.dynamicLContainerNode.data.renderParent=e),r=r===o?null:r.pNextOrParent;n=n.next}}(n.renderParent,e),Ou(t,e,n.nextIndex)),n.nextIndex++}ac(tc.parent),ngDevMode&&$s(Bu,!1,"isParent"),ngDevMode&&fu(zu,2)}function Gc(e,t){ngDevMode&&xl(t);var n=$u[t];ngDevMode&&fu(n,3),ngDevMode&&nu(n.data,"Component's host node should have an LView attached.");var r=n.data;8==(8&r.flags)&&6&r.flags&&(ngDevMode&&xl(e,Xu),el(r,n,tc.tView.directives[e],El(Xu[e])))}function Kc(e,t,n){for(var r=t?t.length+1:1,o=new Array(r),i=0;i>13],e)}function el(e,t,n,r){var o=ic(e,t),i=n.template;try{i(hc(e),r),sc(),zc()}finally{ac(o)}}function tl(e){ngDevMode&&nu(e,"component"),Jc(kl(e).view)}var nl={};function rl(){ngDevMode&&$s(tc.bindingStartIndex,-1,"Binding start index should only be set once, when null"),ngDevMode&&$s(tc.bindingIndex,-1,"Binding index should not yet be set "+tc.bindingIndex),tc.bindingIndex=tc.bindingStartIndex=$u.length}function ol(e){if(tc.bindingStartIndex<0)return rl(),$u[tc.bindingIndex++]=e;var t=e!==nl&&gu($u[tc.bindingIndex],e);return t&&(Vu(Ju,rc,$u[tc.bindingIndex],e),$u[tc.bindingIndex]=e),tc.bindingIndex++,t?e:nl}function il(e){ngDevMode&&eu(2,e.length,"should have at least 3 values"),ngDevMode&&$s(e.length%2,1,"should have an odd number of values");for(var t=!1,n=1;n=qu.length&&(qu[e]=null),$u[e]=t}function yl(e){return ngDevMode&&xl(e),$u[e]}function vl(e){return ngDevMode&&nu(Xu,"Directives array should be defined if reading a dir."),ngDevMode&&xl(e,Xu),Xu[e]}function gl(){return ngDevMode&&xl(tc.bindingIndex),ngDevMode&&Xs($u[tc.bindingIndex],nl,"Stored value should never be NO_CHANGE."),$u[tc.bindingIndex++]}function ml(e){if(ngDevMode&&Xs(e,nl,"Incoming value should never be NO_CHANGE."),tc.bindingStartIndex<0)rl();else{if(!gu($u[tc.bindingIndex],e))return tc.bindingIndex++,!1;Vu(Ju,rc,$u[tc.bindingIndex],e)}return $u[tc.bindingIndex++]=e,!0}function _l(e){return ml(e),e}function bl(e,t){var n=ml(e);return ml(t)||n}function wl(e,t,n,r){var o=bl(e,t);return bl(n,r)||o}function Cl(){return tc.tView}function El(e){return Array.isArray(e)?e[0]:e}function Sl(){$s(Bu,!0,"previousOrParentNode should be a parent")}function Ol(){nu(zu.parent,"previousOrParentNode should have a parent")}function xl(e,t){null==t&&(t=$u),eu(e,t?t.length:0,"index expected to be a valid data index")}function Tl(e,t){null==t&&(t=$u),$s(t.length,e,"index "+e+" expected to be at the end of arr (length "+t.length+")")}function kl(e){ngDevMode&&nu(e,"expecting component got null");var t=e[Gu];return ngDevMode&&nu(e,"object is not a component"),t}var jl=Ku,Pl=Qu,Il=function(){function e(e,t){this._view=e,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},e.prototype.destroy=function(){},e.prototype.onDestroy=function(e){},e.prototype.markForCheck=function(){Jc(this._view)},e.prototype.detach=function(){this._view.flags&=-9},e.prototype.reattach=function(){this._view.flags|=8},e.prototype.detectChanges=function(){Xc(this.context)},e.prototype.checkNoChanges=function(){!function(e){rc=!0;try{Xc(e)}finally{rc=!1}}(this.context)},e}(),Al=function(e){function t(t,n,r){var o=e.call(this,t.data,r)||this;return o._lViewNode=t,o}return Object(r.__extends)(t,e),t}(Il);function Dl(e,t){return Nl(new Il(e,t))}function Nl(e){var t=null;return e.destroyed=!1,e.destroy=function(){t&&t.forEach(function(e){return e()}),this.destroyed=!0},e.onDestroy=function(e){return(t||(t=[])).push(e)},e}function Rl(e,t){var n;void 0===t&&(t={}),ngDevMode&&(void 0===n&&(n="Type passed in is not ComponentType, it does not have 'ngComponentDef' property."),e.ngComponentDef||ru(n));var r,o=t.rendererFactory||vu,i=e.ngComponentDef;i.type!=e&&(i.type=e);var a=i.selectors[0][0],s=Ec(o,t.host||a),u={component:null,scheduler:t.scheduler||requestAnimationFrame.bind(window),clean:jl},c=lc(-1,o.createRenderer(s,i.rendererType),wc(null,null),null,u,i.onPush?4:2);c.injector=t.injector||null;var l,f=ic(c,null);try{o.begin&&o.begin(),l=function(e,t,n){Bu=!1,zu=null;var r=pc(0,3,s,lc(-1,Hu,bc(n.template,n.directiveDefs,n.pipeDefs),null,null,n.onPush?4:2));return oc&&(r.tNode=kc(e,null,null),r.tNode.flags=4096,n.diPublic&&n.diPublic(n),tc.tView.directives=[n]),r}(a,0,i),r=u.component=Lc(0,i.factory(),i),mc(l.nodeInjector,r,l.data),t.hostFeatures&&t.hostFeatures.forEach(function(e){return e(r,i)}),cc(),uc(Pl),el(l.data,l,i,r)}finally{ac(f),o.end&&o.end()}return r}function Ml(e){return function(e){var t=$c(e).context;return ngDevMode&&nu(t,"rootContext"),t}(e).clean}var Ll="__NG_ELEMENT_ID__",Fl=256,Vl=0;function Hl(){return ngDevMode&&Sl(),Ul(Wu())}function Ul(e){var t=e.nodeInjector,n=e.parent&&e.parent.nodeInjector;return t!=n?t:e.nodeInjector={parent:n,node:e,bf0:0,bf1:0,bf2:0,bf3:0,bf4:0,bf5:0,bf6:0,bf7:0,cbf0:null==n?0:n.cbf0|n.bf0,cbf1:null==n?0:n.cbf1|n.bf1,cbf2:null==n?0:n.cbf2|n.bf2,cbf3:null==n?0:n.cbf3|n.bf3,cbf4:null==n?0:n.cbf4|n.bf4,cbf5:null==n?0:n.cbf5|n.bf5,cbf6:null==n?0:n.cbf6|n.bf6,cbf7:null==n?0:n.cbf7|n.bf7,templateRef:null,viewContainerRef:null,elementRef:null,changeDetectorRef:null}}function zl(e){!function(e,t){!function(e,t){var n=t[Ll];null==n&&(n=t[Ll]=Vl++);var r=n%Fl,o=1<>13])}(n.view.node):null}function Wl(e,t,n){var r,o="number"==typeof(r=t[Ll])?r%Fl:null;if(null===o){var i=Te(Wu().view.injector);try{return ke(t,n)}finally{Te(i)}}else for(var a=e;a&&(a=Jl(a,o));){var s=a.node,u=s.tNode.flags,c=4095&u;if(0!==c)for(var l=u>>13,f=l+c,p=s.view.tView.directives,d=l;d>13,i=o+(4095&r),a=o;a0?(e=r.concat(e.slice(n+1)),n=0):n++:(t.push(r),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Hf(e,t,n,r){ngDevMode&&Sl();var o=new Vf;return(Yu||(Yu=new Af)).track(o,t,n,r),null!=e&&hl(e,o),o}function Uf(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}var zf="__SANITIZER_TRUSTED_BRAND__";function Bf(e){return e instanceof String&&"Html"===e[zf]?e.toString():fo(document,mu(e))}function qf(e){return e instanceof String&&"Style"===e[zf]?e.toString():vo(mu(e))}function Gf(e){return e instanceof String&&"Url"===e[zf]?e.toString():Wr(mu(e))}function Kf(e){if(e instanceof String&&"ResourceUrl"===e[zf])return e.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Qf(e){return $f(e,"Html")}function Zf(e){return $f(e,"Style")}function Wf(e){return $f(e,"Script")}function Yf(e){return $f(e,"Url")}function Jf(e){return $f(e,"ResourceUrl")}function $f(e,t){var n=new String(e);return n[zf]=t,n}},DKTb:function(e,t,n){"use strict";function r(e){setTimeout(function(){throw e})}n.d(t,"a",function(){return r})},"En8+":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},"F/XL":function(e,t,n){"use strict";var r=n("nkY7"),o=n("IUTb"),i=n("G5J1"),a=n("6blF");function s(){for(var e=[],t=0;t0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=c.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),p=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(o.__extends)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return c.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),d=void 0,h=["en",[["a","p"],["AM","PM"],d],[["AM","PM"],d,d],[["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"]],d,[["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"]],d,[["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}",d,"{1} 'at' {0}",d],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],y={},v=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),g=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),m=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),_=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),b=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function w(e,t,n){var r=P(e);return k(k([r[3],r[4]],t),n)}function C(e,t,n){var r=P(e);return k(k([r[5],r[6]],t),n)}function E(e,t){return k(P(e)[10],t)}function S(e,t){return k(P(e)[11],t)}function O(e,t){return k(P(e)[12],t)}function x(e,t){var n=P(e),r=n[13][t];if(void 0===r){if(t===b.CurrencyDecimal)return n[13][b.Decimal];if(t===b.CurrencyGroup)return n[13][b.Group]}return r}function T(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function k(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function j(e){var t=Object(o.__read)(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function P(e){var t=e.toLowerCase().replace(/_/g,"-"),n=y[t];if(n)return n;var r=t.split("-")[0];if(n=y[r])return n;if("en"===r)return h;throw new Error('Missing locale data for the locale "'+e+'".')}var I=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,A={},D=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,N=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),R=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.Milliseconds=6]="Milliseconds",e[e.Day=7]="Day",e}({}),M=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function L(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function F(e,t,n,r,o){void 0===n&&(n="-");var i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));for(var a=String(e);a.length0||s>-n)&&(s+=n),e===R.Hours&&0===s&&-12===n&&(s=12),F(s,t,x(a,b.MinusSign),r,o)}}function H(e,t,n,r){return void 0===n&&(n=g.Format),void 0===r&&(r=!1),function(o,i){return function(e,t,n,r,o,i){switch(n){case M.Months:return C(t,o,r)[e.getMonth()];case M.Days:return w(t,o,r)[e.getDay()];case M.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(i){var u,c=function(e){var t=P(e);return T(t),(t[19][2]||[]).map(function(e){return"string"==typeof e?j(e):[j(e[0]),j(e[1])]})}(t),l=function(e,t,n){var r=P(e);return T(r),k(k([r[19][0],r[19][1]],t)||[],n)||[]}(t,o,r);if(c.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=e[1],o=r.hours;a>=n.hours&&s>=n.minutes&&(a0?Math.floor(o/60):Math.ceil(o/60);switch(e){case N.Short:return(o>=0?"+":"")+F(a,2,i)+F(Math.abs(o%60),2,i);case N.ShortGMT:return"GMT"+(o>=0?"+":"")+F(a,1,i);case N.Long:return"GMT"+(o>=0?"+":"")+F(a,2,i)+":"+F(Math.abs(o%60),2,i);case N.Extended:return 0===r?"Z":(o>=0?"+":"")+F(a,2,i)+":"+F(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+e+'"')}}}var z=0,B=4;function q(e,t){return void 0===t&&(t=!1),function(n,r){var o,i,a,s;if(t){var u=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,c=n.getDate();o=1+Math.floor((c+u)/7)}else{var l=(a=n.getFullYear(),s=new Date(a,z,1).getDay(),new Date(a,0,1+(s<=B?B:B+7)-s)),f=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(B-i.getDay()))).getTime()-l.getTime();o=1+Math.round(f/6048e5)}return F(o,e,x(r,b.MinusSign))}}var G={};function K(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Q(e){return e instanceof Date&&!isNaN(e.valueOf())}var Z=new r.InjectionToken("UseV4Plurals"),W=function(){},Y=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(o.__extends)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return P(e)[18]}(t||this.locale)(e)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},t}(W);function J(e,t){t=encodeURIComponent(t);try{for(var n=Object(o.__values)(e.split(";")),r=n.next();!r.done;r=n.next()){var i=r.value,a=i.indexOf("="),s=Object(o.__read)(-1==a?[i,""]:[i.slice(0,a),i.slice(a+1)],2),u=s[1];if(s[0].trim()===t)return decodeURIComponent(u)}}catch(e){c={error:e}}finally{try{r&&!r.done&&(l=n.return)&&l.call(n)}finally{if(c)throw c.error}}return null;var c,l}var $=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["\u0275stringify"])(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e}(),X=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),ee=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._differ=null}return Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(r.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){if("ngForOf"in e){var t=e.ngForOf.currentValue;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(e){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((n=t).name||typeof n)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var n},e.prototype.ngDoCheck=function(){if(this._differ){var e=this._differ.diff(this.ngForOf);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new X(null,t.ngForOf,-1,-1),o),a=new te(e,i);n.push(a)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),a=new te(e,i),n.push(a))});for(var r=0;r=2&&(n=!0),function(r){return r.lift(new a(e,t,n))}}var a=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))},e}(),s=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return r.__extends(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(o.a),u=n("AxiF"),c=n("HJBe"),l=n("y3By");function f(e,t){return arguments.length>=2?function(n){return Object(l.a)(i(e,t),Object(u.a)(1),Object(c.a)(t))(n)}:function(t){return Object(l.a)(i(function(t,n,r){return e(t,n,r+1)}),Object(u.a)(1))(t)}}n.d(t,"a",function(){return f})},S1nX:function(e,t,n){"use strict";var r=n("mrSG"),o=n("K9Ia"),i=n("6blF"),a=n("FFOo"),s=n("pugT");function u(){return function(e){return e.lift(new c(e))}}var c=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new l(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(a.a),f=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.a).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed?(this._connection=null,e=s.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return u()(this)},t}(i.a).prototype,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:f._subscribe},_isComplete:{value:f._isComplete,writable:!0},getSubject:{value:f.getSubject},connect:{value:f.connect},refCount:{value:f.refCount}},d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(o.b);function h(){return new o.a}function y(){return function(e){return u()((t=h,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,p);return r.source=e,r.subjectFactory=n,r})(e));var t}}n.d(t,"a",function(){return y})},S5XQ:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("DKTb"),o=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.a),t}}},Txjg:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("Zn8D");function o(){return Object(r.a)(1)}},"VnD/":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("mrSG"),o=n("FFOo");function i(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return r.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(o.a)},ZYCi:function(e,t,n){"use strict";var r=n("Ip0R"),o=n("CcnG"),i=n("mrSG"),a=n("F/XL"),s=n("26FU"),u=n("0/uQ"),c=n("6blF"),l=n("K9Ia"),f=function(e){function t(){var n=e.call(this,"no elements in sequence")||this;return n.name="EmptyError",Object.setPrototypeOf(n,t.prototype),n}return i.__extends(t,e),t}(Error),p=n("67Y/"),d=n("Phjn"),h=n("Qgas"),y=n("psW0"),v=n("VnD/"),g=n("AxiF"),m=n("xMyE"),_=function(e){return void 0===e&&(e=b),Object(m.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function b(){return new f}var w=n("HJBe"),C=n("mChF");function E(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(v.a)(function(t,n){return e(t,n,r)}):C.a,Object(g.a)(1),n?Object(w.a)(t):_(function(){return new f}))}}var S=n("MGBS"),O=n("zotm");function x(e){return function(t){var n=new T(e),r=t.lift(n);return n.caught=r}}var T=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new k(e,this.selector,this.caught))},e}(),k=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return i.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(Object(O.a)(this,n))}},t}(S.a),j=n("FFOo");function P(e,t){return function(n){return n.lift(new I(e,t,n))}}var I=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new A(e,this.predicate,this.thisArg,this.source))},e}(),A=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return i.__extends(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(j.a),D=n("Zn8D"),N=n("t9fZ");function R(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(v.a)(function(t,n){return e(t,n,r)}):C.a,Object(N.a)(1),n?Object(w.a)(t):_(function(){return new f}))}}var M=n("Txjg"),L=n("ZYjt");n.d(t,"t",function(){return Xt}),n.d(t,"z",function(){return cn}),n.d(t,"A",function(){return ln}),n.d(t,"B",function(){return fn}),n.d(t,"w",function(){return on}),n.d(t,"v",function(){return rn}),n.d(t,"y",function(){return un}),n.d(t,"u",function(){return tn}),n.d(t,"x",function(){return sn}),n.d(t,"n",function(){return Ut}),n.d(t,"m",function(){return Bt}),n.d(t,"p",function(){return Kt}),n.d(t,"d",function(){return H}),n.d(t,"k",function(){return Pt}),n.d(t,"l",function(){return Ft}),n.d(t,"j",function(){return At}),n.d(t,"h",function(){return $t}),n.d(t,"i",function(){return pn}),n.d(t,"o",function(){return nn}),n.d(t,"b",function(){return Gt}),n.d(t,"e",function(){return Yt}),n.d(t,"f",function(){return Wt}),n.d(t,"g",function(){return Zt}),n.d(t,"q",function(){return Jt}),n.d(t,"a",function(){return Xe}),n.d(t,"r",function(){return Nt}),n.d(t,"c",function(){return Ce}),n.d(t,"s",function(){return we});var F=function(e,t){this.id=e,this.url=t},V=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(F),H=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(F),U=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(F),z=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(F),B=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),q=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),G=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(F),K=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),Q=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),Z=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),W=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),Y=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),J=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),$=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),X=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ee="primary",te=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function ne(e){return new te(e)}function re(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length0?e[e.length-1]:null}function pe(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function de(e){return e.pipe(Object(D.a)(),P(function(e){return!0===e}))}function he(e){return Object(o["\u0275isObservable"])(e)?e:Object(o["\u0275isPromise"])(e)?Object(u.a)(Promise.resolve(e)):Object(a.a)(e)}function ye(e,t,n){return n?function(e,t){return ce(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!_e(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!_e(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!_e(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!_e(n.segments,a)&&!!n.children[ee]&&t(n.children[ee],r,s)}(t,n,n.segments)}(e.root,t.root)}var ve=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Ee.serialize(this)},e}(),ge=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,pe(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Se(this)},e}(),me=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=ne(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Pe(this)},e}();function _e(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function be(e,t){var n=[];return pe(e.children,function(e,r){r===ee&&(n=n.concat(t(e,r)))}),pe(e.children,function(e,r){r!==ee&&(n=n.concat(t(e,r)))}),n}var we=function(){},Ce=function(){function e(){}return e.prototype.parse=function(e){var t=new Re(e);return new ve(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return Se(t);if(n){var r=t.children[ee]?e(t.children[ee],!1):"",o=[];return pe(t.children,function(t,n){n!==ee&&o.push(n+":"+e(t,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=be(t,function(n,r){return r===ee?[e(t.children[ee],!1)]:[r+":"+e(n,!1)]});return Se(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return xe(e)+"="+xe(t)}).join("&"):xe(e)+"="+xe(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),Ee=new Ce;function Se(e){return e.segments.map(function(e){return Pe(e)}).join("/")}function Oe(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xe(e){return Oe(e).replace(/%3B/gi,";")}function Te(e){return Oe(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ke(e){return decodeURIComponent(e)}function je(e){return ke(e.replace(/\+/g,"%20"))}function Pe(e){return""+Te(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+Te(e)+"="+Te(t[e])}).join(""));var t}var Ie=/^[^\/()?;=&#]+/;function Ae(e){var t=e.match(Ie);return t?t[0]:""}var De=/^[^=?&#]+/,Ne=/^[^?&#]+/,Re=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ge([],{}):new ge([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[ee]=new ge(e,t)),n},e.prototype.parseSegment=function(){var e=Ae(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new me(ke(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Ae(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Ae(this.remaining);r&&this.capture(n=r)}e[ke(t)]=ke(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(De))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(Ne);return t?t[0]:""}(this.remaining);o&&this.capture(r=o)}var i=je(n),a=je(r);if(e.hasOwnProperty(i)){var s=e[i];Array.isArray(s)||(e[i]=s=[s]),s.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ae(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=ee);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[ee]:new ge([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Me=function(e){this.segmentGroup=e||null},Le=function(e){this.urlTree=e};function Fe(e){return new c.a(function(t){return t.error(new Me(e))})}function Ve(e){return new c.a(function(t){return t.error(new Le(e))})}function He(e){return new c.a(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var Ue=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(o.NgModuleRef)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ee).pipe(Object(p.a)(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(x(function(t){if(t instanceof Le)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Me)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,ee).pipe(Object(p.a)(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(x(function(e){if(e instanceof Me)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new ge([],((r={})[ee]=e,r)):e;return new ve(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(p.a)(function(e){return new ge([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Object(a.a)({});var i=[],s=[],u={};return pe(n,function(n,o){var a,c,l=(a=o,c=n,r.expandSegmentGroup(e,t,c,a)).pipe(Object(p.a)(function(e){return u[o]=e}));o===ee?i.push(l):s.push(l)}),a.a.apply(null,i.concat(s)).pipe(Object(M.a)(),E(),Object(p.a)(function(){return u}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,s){var u=this;return a.a.apply(void 0,Object(i.__spread)(n)).pipe(Object(p.a)(function(i){return u.expandSegmentAgainstRoute(e,t,n,i,r,o,s).pipe(x(function(e){if(e instanceof Me)return Object(a.a)(null);throw e}))}),Object(M.a)(),R(function(e){return!!e}),x(function(e,n){if(e instanceof f||"EmptyError"===e.name){if(u.noLeftoversInUrl(t,r,o))return Object(a.a)(new ge([],{}));throw new Me(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,a){return Ge(r)!==i?Fe(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):Fe(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ve(i):this.lineralizeSegments(n,i).pipe(Object(y.a)(function(n){var i=new ge(n,{});return o.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var a=this,s=ze(t,r,o),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return Fe(t);var f=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?Ve(f):this.lineralizeSegments(r,f).pipe(Object(y.a)(function(r){return a.expandSegment(e,t,n,r.concat(o.slice(c)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(p.a)(function(e){return n._loadedConfig=e,new ge(r,{})})):Object(a.a)(new ge(r,{}));var s=ze(t,n,r),u=s.consumedSegments,c=s.lastChild;if(!s.matched)return Fe(t);var l=r.slice(c);return this.getChildConfig(e,n).pipe(Object(y.a)(function(e){var n=e.module,r=e.routes,s=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return qe(e,t,n)&&Ge(n)!==ee})}(e,n)?{segmentGroup:Be(new ge(t,function(e,t){var n,r,o={};o[ee]=t;try{for(var a=Object(i.__values)(e),s=a.next();!s.done;s=a.next()){var u=s.value;""===u.path&&Ge(u)!==ee&&(o[Ge(u)]=new ge([],{}))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}(r,new ge(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return qe(e,t,n)})}(e,n)?{segmentGroup:Be(new ge(e.segments,function(e,t,n,r){var o,a,s={};try{for(var u=Object(i.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;qe(e,t,l)&&!r[Ge(l)]&&(s[Ge(l)]=new ge([],{}))}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return Object(i.__assign)({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,u,l,r),c=s.segmentGroup,f=s.slicedSegments;return 0===f.length&&c.hasChildren()?o.expandChildren(n,r,c).pipe(Object(p.a)(function(e){return new ge(u,e)})):0===r.length&&0===f.length?Object(a.a)(new ge(u,{})):o.expandSegment(n,c,r,f,ee,!0).pipe(Object(p.a)(function(e){return new ge(u.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t){var n=this;return t.children?Object(a.a)(new oe(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(a.a)(t._loadedConfig):function(e,t){var n=t.canLoad;return n&&0!==n.length?de(Object(u.a)(n).pipe(Object(p.a)(function(n){var r=e.get(n);return he(r.canLoad?r.canLoad(t):r(t))}))):Object(a.a)(!0)}(e.injector,t).pipe(Object(y.a)(function(r){return r?n.configLoader.load(e.injector,t).pipe(Object(p.a)(function(e){return t._loadedConfig=e,e})):function(e){return new c.a(function(t){return t.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(t)})):Object(a.a)(new oe([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(a.a)(n);if(r.numberOfChildren>1||!r.children[ee])return He(e.redirectTo);r=r.children[ee]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new ve(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return pe(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return pe(t.children,function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)}),new ge(i,a)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map(function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var a=Object(i.__values)(t),s=a.next();!s.done;s=a.next()){var u=s.value;if(u.path===e.path)return t.splice(o),u;o++}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return e},e}();function ze(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||re)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Be(e){if(1===e.numberOfChildren&&e.children[ee]){var t=e.children[ee];return new ge(e.segments.concat(t.segments),t.children)}return e}function qe(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ge(e){return e.outlet||ee}var Ke=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Qe(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Qe(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Ze(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Ze(e,this._root).map(function(e){return e.value})},e}();function Qe(e,t){if(e===t.value)return t;try{for(var n=Object(i.__values)(t.children),r=n.next();!r.done;r=n.next()){var o=Qe(e,r.value);if(o)return o}}catch(e){a={error:e}}finally{try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}}return null;var a,s}function Ze(e,t){if(e===t.value)return[t];try{for(var n=Object(i.__values)(t.children),r=n.next();!r.done;r=n.next()){var o=Ze(e,r.value);if(o.length)return o.unshift(t),o}}catch(e){a={error:e}}finally{try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}}return[];var a,s}var We=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Ye(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Je=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,rt(r,t),r}return Object(i.__extends)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(Ke);function $e(e,t){var n=function(e,t){var n=new tt([],{},{},"",{},ee,t,null,e.root,-1,{});return new nt("",new We(n,[]))}(e,t),r=new s.a([new me("",{})]),o=new s.a({}),i=new s.a({}),a=new s.a({}),u=new s.a(""),c=new Xe(r,o,a,u,i,ee,t,n.root);return c.snapshot=n.root,new Je(new We(c,[]),n)}var Xe=function(){function e(e,t,n,r,o,i,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(p.a)(function(e){return ne(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)(function(e){return ne(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function et(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(e){return e.reduce(function(e,t){return{params:Object(i.__assign)({},e.params,t.params),data:Object(i.__assign)({},e.data,t.data),resolve:Object(i.__assign)({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var tt=function(){function e(e,t,n,r,o,i,a,s,u,c,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ne(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),nt=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,rt(r,n),r}return Object(i.__extends)(t,e),t.prototype.toString=function(){return ot(this._root)},t}(Ke);function rt(e,t){t.value._routerState=e,t.children.forEach(function(t){return rt(e,t)})}function ot(e){var t=e.children.length>0?" { "+e.children.map(ot).join(", ")+" } ":"";return""+e.value+t}function it(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ce(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ce(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&st(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==fe(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),lt=function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function ft(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[ee]:""+e}function pt(e,t,n){if(e||(e=new ge([],{})),0===e.segments.length&&e.hasChildren())return dt(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o=n.length)return i;var a=e.segments[o],s=ft(n[r]),u=r0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!gt(s,u,a))return i;r+=2}else{if(!gt(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?fe(n).parameters:{};o=new tt(n,u,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,kt(e),r,e.component,e,Et(t),St(t)+n.length,jt(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new wt;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||re)(n,e,t);if(!r)throw new wt;var o={};pe(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object(i.__assign)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,s=n.slice(c.lastChild),o=new tt(a,c.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,kt(e),r,e.component,e,Et(t),St(t)+a.length,jt(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),f=Ot(t,a,s,l),p=f.segmentGroup,d=f.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(l,p);return[new We(o,h)]}if(0===l.length&&0===d.length)return[new We(o,[])];var y=this.processSegment(l,p,d,ee);return[new We(o,y)]},e}();function Et(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function St(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Ot(e,t,n,r){if(n.length>0&&function(e,t,n){return r.some(function(n){return xt(e,t,n)&&Tt(n)!==ee})}(e,n)){var o=new ge(t,function(e,t,n,r){var o,a,s={};s[ee]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var u=Object(i.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(""===l.path&&Tt(l)!==ee){var f=new ge([],{});f._sourceSegment=e,f._segmentIndexShift=t.length,s[Tt(l)]=f}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return s}(e,t,r,new ge(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return xt(e,t,n)})}(e,n)){var a=new ge(e.segments,function(e,t,n,r){var o,a,s={};try{for(var u=Object(i.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(xt(e,t,l)&&!r[Tt(l)]){var f=new ge([],{});f._sourceSegment=e,f._segmentIndexShift=e.segments.length,s[Tt(l)]=f}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return Object(i.__assign)({},r,s)}(e,n,r,e.children));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new ge(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function xt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Tt(e){return e.outlet||ee}function kt(e){return e.data||{}}function jt(e){return e.resolve||{}}var Pt=function(){},It=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),At=new o.InjectionToken("ROUTES"),Dt=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(p.a)(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new oe(le(o.injector.get(At)).map(ue),o)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(u.a)(this.loader.load(e)):he(e()).pipe(Object(y.a)(function(e){return e instanceof o.NgModuleFactory?Object(a.a)(e):Object(u.a)(t.compiler.compileModuleAsync(e))}))},e}(),Nt=function(){},Rt=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function Mt(e){throw e}function Lt(e){return Object(a.a)(null)}var Ft=function(){function e(e,t,n,r,i,a,u,c){var f=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.navigations=new s.a(null),this.navigationId=0,this.events=new l.a,this.errorHandler=Mt,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Lt,afterPreactivation:Lt},this.urlHandlingStrategy=new Rt,this.routeReuseStrategy=new It,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=i.get(o.NgModuleRef),this.resetConfig(c),this.currentUrlTree=new ve(new ge([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Dt(a,u,function(e){return f.triggerEvent(new Z(e))},function(e){return f.triggerEvent(new W(e))}),this.routerState=$e(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.urlSerializer.parse(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout(function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){ie(e),this.config=e.map(ue),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,a=t.fragment,s=t.preserveQueryParams,u=t.queryParamsHandling,c=t.preserveFragment;Object(o.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=c?this.currentUrlTree.fragment:a,p=null;if(u)switch(u){case"merge":p=Object(i.__assign)({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=s?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(e,t,n,r,o){if(0===n.length)return ut(t.root,t.root,t,r,o);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ct(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var a={};return pe(r.outlets,function(e,t){a[t]="string"==typeof e?e.split("/"):e}),Object(i.__spread)(e,[{outlets:a}])}if(r.segmentPath)return Object(i.__spread)(e,[r.segmentPath])}return"string"!=typeof r?Object(i.__spread)(e,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):Object(i.__spread)(e,[r])},[]);return new ct(n,t,r)}(n);if(a.toRoot())return ut(t.root,new ge([],{}),t,r,o);var s=function(e,n,r){if(e.isAbsolute)return new lt(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new lt(r.snapshot._urlSegment,!0,0);var o=st(e.commands[0])?0:1;return function(t,n,i){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+o,u=e.numberOfDoubleDots;u>s;){if(u-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new lt(a,!1,s-u)}()}(a,0,e),u=s.processChildren?dt(s.segmentGroup,s.index,a.commands):pt(s.segmentGroup,s.index,a.commands);return ut(s.segmentGroup,u,t,r,o)}(l,this.currentUrlTree,e,p,f)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1});var n=e instanceof ve?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;s||(s=e[a]=[]);var c=$(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:c,handler:i});else{for(var l=!1,f=0;f-1},t}(I),ie=["alt","control","meta","shift"],ae={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},se=function(e){function t(t){return e.call(this,t)||this}return Object(i.__extends)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(ie.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=s().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ie.forEach(function(r){r!=n&&(0,ae[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(I),ue=function(){},ce=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(i.__extends)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case o.SecurityContext.NONE:return t;case o.SecurityContext.HTML:return t instanceof fe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(o["\u0275_sanitizeHtml"])(this._doc,String(t)));case o.SecurityContext.STYLE:return t instanceof pe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(o["\u0275_sanitizeStyle"])(t));case o.SecurityContext.SCRIPT:if(t instanceof de)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case o.SecurityContext.URL:return t instanceof ye||t instanceof he?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(o["\u0275_sanitizeUrl"])(String(t)));case o.SecurityContext.RESOURCE_URL:if(t instanceof ye)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof le)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new fe(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new pe(e)},t.prototype.bypassSecurityTrustScript=function(e){return new de(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new he(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new ye(e)},t}(ue),le=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(le),pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(le),de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(le),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(le),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(le),ve=[{provide:o.PLATFORM_ID,useValue:r.v},{provide:o.PLATFORM_INITIALIZER,useValue:function(){d.makeCurrent(),w.init()},multi:!0},{provide:r.r,useClass:g,deps:[y]},{provide:y,useFactory:function(){return document},deps:[]}],ge=Object(o.createPlatformFactory)(o.platformCore,"browser",ve);function me(){return new o.ErrorHandler}var _e=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:o.APP_ID,useValue:t.appId},{provide:_,useExisting:o.APP_ID},b]}},e}();"undefined"!=typeof window&&window},Zn8D:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("psW0"),o=n("mChF");function i(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(r.a)(o.a,e)}},b7mW:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("mrSG"),o=function(e){function t(){var n=e.call(this,"argument out of range")||this;return n.name="ArgumentOutOfRangeError",Object.setPrototypeOf(n,t.prototype),n}return r.__extends(t,e),t}(Error)},crnd:function(e,t,n){var r={"./access-denied/access-denied.module.ngfactory":["iUTe",10],"./blank-page/blank-page.module.ngfactory":["LcBl",1],"./bs-component/bs-component.module.ngfactory":["oW3c",0,2],"./bs-element/bs-element.module.ngfactory":["WgX5",0,4],"./charts/charts.module.ngfactory":["rYty",0,7],"./dashboard/dashboard.module.ngfactory":["UE8e",0,8],"./form/form.module.ngfactory":["aEOV",0,5],"./grid/grid.module.ngfactory":["6OTL",0,3],"./layout/layout.module.ngfactory":["/cdV",0,14],"./login/login.module.ngfactory":["f+ep",13],"./not-found/not-found.module.ngfactory":["Ec8W",9],"./server-error/server-error.module.ngfactory":["+g98",11],"./signup/signup.module.ngfactory":["mH0F",12],"./tables/tables.module.ngfactory":["TP0X",0,6]};function o(e){var t=r[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.resolve().then(function(){var t=new Error('Cannot find module "'+e+'".');throw t.code="MODULE_NOT_FOUND",t})}o.keys=function(){return Object.keys(r)},o.id="crnd",e.exports=o},iLxQ:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},isby:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},mChF:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",function(){return r})},mrSG:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return o}),n.d(t,"__assign",function(){return i}),n.d(t,"__rest",function(){return a}),n.d(t,"__decorate",function(){return s}),n.d(t,"__param",function(){return u}),n.d(t,"__metadata",function(){return c}),n.d(t,"__awaiter",function(){return l}),n.d(t,"__generator",function(){return f}),n.d(t,"__exportStar",function(){return p}),n.d(t,"__values",function(){return d}),n.d(t,"__read",function(){return h}),n.d(t,"__spread",function(){return y}),n.d(t,"__await",function(){return v}),n.d(t,"__asyncGenerator",function(){return g}),n.d(t,"__asyncDelegator",function(){return m}),n.d(t,"__asyncValues",function(){return _}),n.d(t,"__makeTemplateObject",function(){return b}),n.d(t,"__importStar",function(){return w}),n.d(t,"__importDefault",function(){return C});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function f(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=r[2&i[0]?"return":i[0]?"throw":"next"])&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[0,o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function y(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=o[e](t)).value instanceof v?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function m(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){e[r]&&(t[r]=function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:o?o(t):t})}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):d(e)}function b(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}},nkY7:function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return r})},p0ib:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("6blF"),o=n("nkY7"),i=n("Zn8D"),a=n("IUTb");function s(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof u&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof r.a?e[0]:Object(i.a)(n)(Object(a.a)(e,s))}},psW0:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("mrSG"),o=n("zotm"),i=n("MGBS"),a=n("67Y/"),s=n("0/uQ");function u(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(u(function(n,r){return Object(s.a)(e(n,r)).pipe(Object(a.a)(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new c(e,n))})}var c=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.concurrent))},e}(),l=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.__extends(t,e),t.prototype._next=function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.a)},pugT:function(e,t,n){"use strict";var r,o=n("isby"),i=n("McSo"),a=n("2Bdj"),s={e:{}};function u(){try{return r.apply(this,arguments)}catch(e){return s.e=e,s}}function c(e){return r=e,u}var l=n("mrSG"),f=function(e){function t(n){var r=e.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"")||this;return r.errors=n,r.name="UnsubscriptionError",Object.setPrototypeOf(r,t.prototype),r}return l.__extends(t,e),t}(Error);n.d(t,"a",function(){return p});var p=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,u=this._unsubscribe,l=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var p=-1,h=r?r.length:0;n;)n.remove(this),n=++p *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var o=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var i=o[1],a=o[2],s=o[3];t.push(pe(i,s)),"<"!=a[0]||i==ce&&s==ce||t.push(pe(s,i))}(e,o,r)}):o.push(n),o),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:me(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return se(n,e,t)}),options:me(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,o=0,i=e.steps.map(function(e){t.currentTime=r;var i=se(n,e,t);return o=Math.max(o,t.currentTime),i});return t.currentTime=o,{type:3,steps:i,options:me(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return _e(Q(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var o=_e(0,0,"");return o.dynamic=!0,o.strValue=r,o}return _e((n=n||Q(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var o=e.styles?e.styles:g({});if(5==o.type)n=this.visitKeyframes(o,t);else{var i=e.styles,a=!1;if(!i){a=!0;var s={};r.easing&&(s.easing=r.easing),i=g(s)}t.currentTime+=r.duration+r.delay;var u=this.visitStyle(i,t);u.isEmptyStep=a,n=u}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==y?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,o=null;return n.forEach(function(e){if(ge(e)){var t=e,n=t.easing;if(n&&(o=n,delete t.easing),!r)for(var i in t)if(t[i].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,o=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,u,c=t.collectedStyles[t.currentQuerySelector],l=c[r],f=!0;l&&(i!=o&&i>=l.startTime&&o<=l.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+l.startTime+'ms" and "'+l.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),f=!1),i=l.startTime),f&&(c[r]={startTime:i,endTime:o}),t.options&&(a=t.errors,s=t.options.params||{},(u=ee(e[r])).length&&u.forEach(function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],a=!1,s=!1,u=0,c=e.steps.map(function(e){var r=n._makeStyleAst(e,t),c=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ge(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ge(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),l=0;return null!=c&&(o++,l=r.offset=c),s=s||l<0||l>1,a=a||l0&&o0?o==p?1:f*o:i[o],s=a*y;t.currentTime=d+h.delay+s,h.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:se(this,$(e.animation),t),options:me(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:me(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:me(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var o=Object(C.__read)(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(de,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),i=o[0],a=o[1];t.currentQuerySelector=n.length?n+" "+i:i,k(t.collectedStyles,t.currentQuerySelector,{});var s=se(this,$(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:me(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Q(e.timings,t.errors,!0);return{type:12,animation:se(this,$(e.animation),t),timings:n,options:null}},e}(),ve=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ge(e){return!Array.isArray(e)&&"object"==typeof e}function me(e){var t;return e?(e=Z(e)).params&&(e.params=(t=e.params)?Z(t):null):e={},e}function _e(e,t,n){return{duration:e,delay:t,easing:n}}function be(e,t,n,r,o,i,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:a,subTimeline:s}}var we=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(C.__spread)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),Ce=new RegExp(":enter","g"),Ee=new RegExp(":leave","g");function Se(e,t,n,r,o,i,a,s,u,c){return void 0===i&&(i={}),void 0===a&&(a={}),void 0===c&&(c=[]),(new Oe).buildKeyframes(e,t,n,r,o,i,a,s,u,c)}var Oe=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,o,i,a,s,u,c){void 0===c&&(c=[]),u=u||new we;var l=new Te(e,t,u,r,o,c,[]);l.options=s,l.currentTimeline.setStyles([i],null,l.errors,s),se(this,n,l);var f=l.timelines.filter(function(e){return e.containsAnimation()});if(f.length&&Object.keys(a).length){var p=f[f.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,l.errors,s)}return f.length?f.map(function(e){return e.buildKeyframes()}):[be(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,o=null!=n.duration?G(n.duration):null,i=null!=n.delay?G(n.delay):null;return 0!==o&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,o,i);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),se(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,o=t,i=e.options;if(i&&(i.params||i.delay)&&((o=t.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=xe);var a=G(i.delay);o.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return se(n,e,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],o=t.currentTimeline.currentTime,i=e.options&&e.options.delay?G(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);i&&s.delayNextStep(i),se(n,a,s),o=Math.max(o,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(o),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Q(t.params?te(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(n.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,o=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach(function(e){i.forwardTime((e.offset||0)*o),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+o),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,o=e.options||{},i=o.delay?G(o.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=xe);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach(function(r,o){t.currentQueryIndex=o;var s=t.createSubContext(e.options,r);i&&s.delayNextStep(i),r===t.element&&(u=s.currentTimeline),se(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,o=e.timings,i=Math.abs(o.duration),a=i*(t.currentQueryTotal-1),s=i*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;se(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},e}(),xe={},Te=function(){function e(e,t,n,r,o,i,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=xe,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ke(this._driver,t,0),a.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,o=this.options;null!=r.duration&&(o.duration=G(r.duration)),null!=r.delay&&(o.delay=G(r.delay));var i=r.params;if(i){var a=o.params;a||(a=this.options.params={}),Object.keys(i).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=te(i[e],a,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var o=n||this.element,i=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||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,this.subContextCount++,i},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=xe,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},o=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,o,i){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(Ce,"."+this._enterClassName)).replace(Ee,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(C.__spread)(s))}return o||0!=a.length||i.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),a},e}(),ke=function(){function e(e,t,n,r){this._driver=e,this.element=t,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.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))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||y,t._currentKeyframe[e]=y}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var o=this;t&&(this._previousKeyframe.easing=t);var i=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=y}):W(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=te(a[e],i,n);o._pendingStyles[e]=t,o._localTimelineStyles.hasOwnProperty(e)||(o._backFill[e]=o._globalTimelineStyles.hasOwnProperty(e)?o._globalTimelineStyles[e]:y),o._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],o=e._styleSummary[n];(!r||o.time>r.time)&&t._updateStyle(n,o.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,a){var s=W(i,!0);Object.keys(s).forEach(function(e){var r=s[e];r==w?t.add(e):r==y&&n.add(e)}),r||(s.offset=a/e.duration),o.push(s)});var i=t.size?ne(t.values()):[],a=n.size?ne(n.values()):[];if(r){var s=o[0],u=Z(s);s.offset=0,u.offset=1,o=[s,u]}return be(this.element,o,i,a,this.duration,this.startTime,this.easing,!1)},e}(),je=function(e){function t(t,n,r,o,i,a,s){void 0===s&&(s=!1);var u=e.call(this,t,n,a.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=i,u._stretchStartingKeyframe=s,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return Object(C.__extends)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,o=t.easing;if(this._stretchStartingKeyframe&&n){var i=[],a=r+n,s=n/a,u=W(e[0],!1);u.offset=0,i.push(u);var c=W(e[0],!1);c.offset=Pe(s),i.push(c);for(var l=e.length-1,f=1;f<=l;f++){var p=W(e[f],!1);p.offset=Pe((n+p.offset*r)/a),i.push(p)}r=a,n=0,o="",e=i}return be(this.element,e,this.preStyleProps,this.postStyleProps,r,n,o,!0)},t}(ke);function Pe(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var Ie=function(){},Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(C.__extends)(t,e),t.prototype.normalizePropertyName=function(e,t){return oe(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var o="",i=n.toString().trim();if(De[t]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return i+o},t}(Ie),De=function(e){var t={};return"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(",").forEach(function(e){return t[e]=!0}),t}();function Ne(e,t,n,r,o,i,a,s,u,c,l,f,p){return{type:0,element:e,triggerName:t,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:f,errors:p}}var Re={},Me=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,o){return e.some(function(e){return e(t,n,r,o)})}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],o=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return o?o.buildStyles(t,n):i},e.prototype.build=function(e,t,n,r,o,i,a,s,u){var c=[],l=this.ast.options&&this.ast.options.params||Re,f=this.buildStyles(n,a&&a.params||Re,c),p=s&&s.params||Re,d=this.buildStyles(r,p,c),h=new Set,y=new Map,v=new Map,g="void"===r,m={params:Object(C.__assign)({},l,p)},_=Se(e,t,this.ast.animation,o,i,f,d,m,u,c),b=0;if(_.forEach(function(e){b=Math.max(e.duration+e.delay,b)}),c.length)return Ne(t,this._triggerName,n,r,g,f,d,[],[],y,v,b,c);_.forEach(function(e){var n=e.element,r=k(y,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var o=k(v,n,{});e.postStyleProps.forEach(function(e){return o[e]=!0}),n!==t&&h.add(n)});var w=ne(h.values());return Ne(t,this._triggerName,n,r,g,f,d,_,w,y,v,b)},e}(),Le=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=Z(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var o=e;Object.keys(o).forEach(function(e){var i=o[e];i.length>1&&(i=te(i,r,t)),n[e]=i})}}),n},e}(),Fe=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){n.states[e.name]=new Le(e.style,e.options&&e.options.params||{})}),Ve(this.states,"true","1"),Ve(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new Me(e,t,n.states))}),this.fallbackTransition=new Me(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find(function(o){return o.match(e,t,n,r)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Ve(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var He=new we,Ue=function(){function e(e,t){this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=he(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,o=S(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var o,i=[],a=this._animations[e],s=new Map;if(a?(o=Se(this._driver,t,a,"ng-enter","ng-leave",{},{},n,He,i)).forEach(function(e){var t=k(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,y)})});var u=E(o.map(function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=u,u.onDestroy(function(){return r.destroy(e)}),this.players.push(u),u},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var o=T(t,"","","");return O(this._getPlayer(e),n,o,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),ze=[],Be={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},qe={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Ge="__ng_removed",Ke=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(n?e.value:e),n){var r=Z(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),Qe=new Ke("void"),Ze=new Ke("DELETED"),We=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,rt(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var o,i=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(o=n)&&"done"!=o)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=k(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var u=k(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(rt(e,"ng-trigger"),rt(e,"ng-trigger-"+t),u[t]=Qe),function(){i._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),i._triggers[t]||delete u[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(t),a=new Je(this.id,t,e),s=this._engine.statesByElement.get(e);s||(rt(e,"ng-trigger"),rt(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],c=new Ke(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[t]=c,u){if(u===Ze)return a}else u=Qe;if("void"===c.value||u.value!==c.value){var l=k(this._engine.playersByElement,e,[]);l.forEach(function(e){e.namespaceId==o.id&&e.triggerName==t&&e.queued&&e.destroy()});var f=i.matchTransition(u.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:u,toState:c,player:a,isFallbackTransition:p}),p||(rt(e,"ng-animate-queued"),a.onStart(function(){ot(e,"ng-animate-queued")})),a.onDone(function(){var t=o.players.indexOf(a);t>=0&&o.players.splice(t,1);var n=o._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var o=0;o=0){for(var r=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,t)){this._namespaceList.splice(o+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.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);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),o=0;o=0;j--)this._namespaceList[j].drainQueuedTransitions(t).forEach(function(e){var t=e.player;x.push(t);var i=e.element;if(f&&n.driver.containsElement(f,i)){var l=S.get(i),p=h.get(i),d=n._buildInstruction(e,r,p,l);if(d.errors&&d.errors.length)T.push(d);else{if(e.isFallbackTransition)return t.onStart(function(){return J(i,d.fromStyles)}),t.onDestroy(function(){return Y(i,d.toStyles)}),void o.push(t);d.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(i,d.timelines),a.push({instruction:d,player:t,element:i}),d.queriedElements.forEach(function(e){return k(s,e,[]).push(t)}),d.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),d.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=c.get(t);r||c.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}}else t.destroy()});if(T.length){var P=[];T.forEach(function(e){P.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return P.push("- "+e+"\n")})}),x.forEach(function(e){return e.destroy()}),this.reportError(P)}var I=new Map,A=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(A.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,I))}),o.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){k(I,t,[]).push(e),e.destroy()})});var D=g.filter(function(e){return at(e,u,c)}),N=new Map;et(N,this.driver,_,c,y).forEach(function(e){at(e,u,c)&&D.push(e)});var R=new Map;d.forEach(function(e,t){et(R,n.driver,new Set(e),u,w)}),D.forEach(function(e){var t=N.get(e),n=R.get(e);N.set(e,Object(C.__assign)({},t,n))});var M=[],L=[],V={};a.forEach(function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(l.has(t))return a.onDestroy(function(){return Y(t,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void o.push(a);var u=V;if(A.size>1){for(var c=t,f=[];c=c.parentNode;){var p=A.get(c);if(p){u=p;break}f.push(c)}f.forEach(function(e){return A.set(e,u)})}var d=n._buildAnimation(a.namespaceId,s,I,i,R,N);if(a.setRealPlayer(d),u===V)M.push(a);else{var h=n.playersByElement.get(u);h&&h.length&&(a.parentPlayer=E(h)),o.push(a)}}else J(t,s.fromStyles),a.onDestroy(function(){return Y(t,s.toStyles)}),L.push(a),l.has(t)&&o.push(a)}),L.forEach(function(e){var t=i.get(e.element);if(t&&t.length){var n=E(t);e.setRealPlayer(n)}}),o.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var H=0;H0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new _(e.duration,e.delay)},e}(),Je=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new _,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return O(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){k(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function $e(e){return e&&1===e.nodeType}function Xe(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function et(e,t,n,r,o){var i=[];n.forEach(function(e){return i.push(Xe(e))});var a=[];r.forEach(function(n,r){var i={};n.forEach(function(e){var n=i[e]=t.computeStyle(r,e,o);n&&0!=n.length||(r[Ge]=qe,a.push(r))}),e.set(r,i)});var s=0;return n.forEach(function(e){return Xe(e,i[s++])}),a}function tt(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),o=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var i=o.get(t);if(i)return i;var a=t.parentNode;return i=n.has(a)?a:r.has(a)?1:e(a),o.set(t,i),i}(e);1!==t&&n.get(t).push(e)}),n}var nt="$$classes";function rt(e,t){if(e.classList)e.classList.add(t);else{var n=e[nt];n||(n=e[nt]={}),n[t]=!0}}function ot(e,t){if(e.classList)e.classList.remove(t);else{var n=e[nt];n&&delete n[t]}}function it(e,t,n){E(n).onDone(function(){return e.processLeaveNode(t)})}function at(e,t,n){var r=n.get(e);if(!r)return!1;var o=t.get(e);return o?r.forEach(function(e){return o.add(e)}):t.set(e,r),n.delete(e),!0}var st=function(){function e(e,t){var n=this;this._driver=e,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Ye(e,t),this._timelineEngine=new Ue(e,t),this._transitionEngine.onRemovalComplete=function(e,t){return n.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,o){var i=e+"-"+r,a=this._triggerCache[i];if(!a){var s=[],u=he(this._driver,o,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=function(e,t){return new Fe(e,t)}(r,u),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(t,r,a)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var o=Object(C.__read)(j(n),2);this._timelineEngine.command(o[0],t,o[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,o){if("@"==n.charAt(0)){var i=Object(C.__read)(j(n),2);return this._timelineEngine.listen(i[0],t,i[1],o)}return this._transitionEngine.listen(e,t,n,r,o)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),ut="animation",ct="animationend",lt=function(){function e(e,t,n,r,o,i,a){var s=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=o,this._fillMode=i,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return s._handleCallback(e)}}return e.prototype.apply=function(){var e,t,n;t=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=vt(e=this._element,"").trim()).length&&(function(e,t){for(var n=0;n=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),ht(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=dt(n=vt(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),yt(e,"",n.join(","))))},e}();function ft(e,t,n){yt(e,"PlayState",n,pt(e,t))}function pt(e,t){var n=vt(e,"");return n.indexOf(",")>0?dt(n.split(","),t):dt([n],t)}function dt(e,t){for(var n=0;n=0)return n;return-1}function ht(e,t,n){n?e.removeEventListener(ct,t):e.addEventListener(ct,t)}function yt(e,t,n,r){var o=ut+t;if(null!=r){var i=e.style[o];if(i.length){var a=i.split(",");a[r]=n,n=a.join(",")}}e.style[o]=n}function vt(e,t){return e.style[ut+t]}var gt="linear",mt=function(e){return e[e.INITIALIZED=1]="INITIALIZED",e[e.STARTED=2]="STARTED",e[e.FINISHED=3]="FINISHED",e[e.DESTROYED=4]="DESTROYED",e}({}),_t=function(){function e(e,t,n,r,o,i,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this.state=0,this.easing=i||gt,this.totalTime=r+o,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this.state>=mt.DESTROYED||(this.state=mt.DESTROYED,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this.state>=mt.FINISHED||(this.state=mt.FINISHED,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this.state>=mt.STARTED},e.prototype.init=function(){this.state>=mt.INITIALIZED||(this.state=mt.INITIALIZED,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this.state=mt.STARTED),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new lt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this.state>=mt.FINISHED;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:ue(e.element,r))})}this.currentSnapshot=t},e}(),bt=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._styles=n,r._startingStyles={},r.__initialized=!1,r}return Object(C.__extends)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){t.element.style[e]=t._styles[e]}),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style[e]=n:t.element.style.removeProperty(e)}),this._startingStyles=null,e.prototype.destroy.call(this))},t}(_),wt=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return L(e)},e.prototype.matchesElement=function(e,t){return V(e,t)},e.prototype.containsElement=function(e,t){return H(e,t)},e.prototype.query=function(e,t,n){return U(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){var r="@keyframes "+t+" {\n",o="";(n=n.map(function(e){return t=e,n={},Object.keys(t).forEach(function(e){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2");n[r]=t[e]}),n;var t,n})).forEach(function(e){o=" ";var t=parseFloat(e.offset);r+=""+o+100*t+"% {\n",o+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=o+"animation-timing-function: "+n+";\n"));default:return void(r+=""+o+t+": "+n+";\n")}}),r+=o+"}\n"}),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i},e.prototype.animate=function(e,t,n,r,o,i,a){void 0===i&&(i=[]),a&&this._notifyFaultyScrubber();var s=i.filter(function(e){return e instanceof _t}),u={};ie(n,r)&&s.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var c=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=ae(e,t,u));if(0==n)return new bt(e,c);var l="gen_css_kf_"+this._count++,f=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(f);var p=new _t(e,t,l,n,r,o,c);return p.onDestroy(function(){var e;(e=f).parentNode.removeChild(e)}),p},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}(),Ct=function(){function e(e,t,n){this.element=e,this.keyframes=t,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;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()})}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:ue(e.element,n))}),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Et=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(St().toString()),this._cssKeyframesDriver=new wt}return e.prototype.validateStyleProperty=function(e){return L(e)},e.prototype.matchesElement=function(e,t){return V(e,t)},e.prototype.containsElement=function(e,t){return H(e,t)},e.prototype.query=function(e,t,n){return U(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,o,i,a){if(void 0===i&&(i=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,o,i);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(s.easing=o);var u={},c=i.filter(function(e){return e instanceof Ct});return ie(n,r)&&c.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})}),t=ae(e,t=t.map(function(e){return W(e,!1)}),u),new Ct(e,t,s)},e}();function St(){return"undefined"!=typeof Element&&Element.prototype.animate||{}}var Ot=function(e){function t(t,n){var o=e.call(this)||this;return o._nextAnimationId=0,o._renderer=t.createRenderer(n.body,{id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}}),o}return Object(C.__extends)(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?v(e):e;return kt(this._renderer,null,t,"register",[n]),new xt(t,this._renderer)},t}(h),xt=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return Object(C.__extends)(t,e),t.prototype.create=function(e,t){return new Tt(this._id,e,t||{},this._renderer)},t}(function(){}),Tt=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n=0&&e0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,Object(C.__spread)(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),Kt=function(){function e(){}return e.prototype.encodeKey=function(e){return Qt(e)},e.prototype.encodeValue=function(e){return Qt(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function Qt(e){return encodeURIComponent(e).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 Zt=function(){function e(e){void 0===e&&(e={});var t,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Kt,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),o=Object(C.__read)(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),i=o[0],a=o[1],s=r.get(i)||[];s.push(a),r.set(i,s)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=null)},e}();function Wt(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Yt(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Jt(e){return"undefined"!=typeof FormData&&e instanceof FormData}var $t=function(){function e(e,t,n,r){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){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,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new Gt),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a=200&&this.status<300}}(),tn=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Xt.ResponseHeader,n}return Object(C.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(en),nn=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Xt.Response,n.body=void 0!==t.body?t.body:null,n}return Object(C.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(en),rn=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(C.__extends)(t,e),t}(en);function on(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var an=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,o=this;if(void 0===n&&(n={}),e instanceof $t)r=e;else{var i;i=n.headers instanceof Gt?n.headers:new Gt(n.headers);var a=void 0;n.params&&(a=n.params instanceof Zt?n.params:new Zt({fromObject:n.params})),r=new $t(e,t,void 0!==n.body?n.body:null,{headers:i,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=Object(Ft.a)(r).pipe(Object(Ut.a)(function(e){return o.handler.handle(e)}));if(e instanceof $t||"events"===n.observe)return s;var u=s.pipe(Object(zt.a)(function(e){return e instanceof nn}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return u.pipe(Object(Ht.a)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return u.pipe(Object(Ht.a)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return u.pipe(Object(Ht.a)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return u.pipe(Object(Ht.a)(function(e){return e.body}))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new Zt).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,on(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,on(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,on(n,t))},e}(),sn=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),un=new r.InjectionToken("HTTP_INTERCEPTORS"),cn=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),ln=/^\)\]\}',?\n/,fn=function(){},pn=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),dn=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new Vt.a(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new Gt(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new tn({headers:o,status:t,statusText:n,url:i})},c=function(){var t=u(),o=t.headers,i=t.status,a=t.statusText,s=t.url,c=null;204!==i&&(c=void 0===r.response?r.responseText:r.response),0===i&&(i=c?200:0);var l=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof c){var f=c;c=c.replace(ln,"");try{c=""!==c?JSON.parse(c):null}catch(e){c=f,l&&(l=!1,c={error:e,text:c})}}l?(n.next(new nn({body:c,headers:o,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new rn({error:c,headers:o,status:i,statusText:a,url:s||void 0}))},l=function(e){var t=new rn({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(t)},f=!1,p=function(t){f||(n.next(u()),f=!0);var o={type:Xt.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},d=function(e){var t={type:Xt.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",c),r.addEventListener("error",l),e.reportProgress&&(r.addEventListener("progress",p),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:Xt.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",c),e.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}})},e}(),hn=new r.InjectionToken("XSRF_COOKIE_NAME"),yn=new r.InjectionToken("XSRF_HEADER_NAME"),vn=function(){},gn=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(p.x)(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),mn=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),_n=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(un,[]);this.chain=t.reduceRight(function(e,t){return new sn(e,t)},this.backend)}return this.chain.handle(e)},e}(),bn=function(){function e(){}return e.disable=function(){return{ngModule:e,providers:[{provide:mn,useClass:cn}]}},e.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:hn,useValue:t.cookieName}:[],t.headerName?{provide:yn,useValue:t.headerName}:[]]}},e}(),wn=function(){},Cn=n("ruFZ"),En=function(){function e(e){this.router=e}return e.prototype.canActivate=function(){return!!localStorage.getItem("isLoggedin")||(this.router.navigate(["/login"]),!1)},e}(),Sn=(n("+Sv0"),n("MviD"),function(){}),On=r["\u0275cmf"](a,[s],function(e){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[f]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](5120,r.LOCALE_ID,r["\u0275angular_packages_core_core_l"],[[3,r.LOCALE_ID]]),r["\u0275mpd"](4608,p.o,p.n,[r.LOCALE_ID,[2,p.w]]),r["\u0275mpd"](5120,r.APP_ID,r["\u0275angular_packages_core_core_f"],[]),r["\u0275mpd"](5120,r.IterableDiffers,r["\u0275angular_packages_core_core_j"],[]),r["\u0275mpd"](5120,r.KeyValueDiffers,r["\u0275angular_packages_core_core_k"],[]),r["\u0275mpd"](4608,d.c,d.r,[p.c]),r["\u0275mpd"](6144,r.Sanitizer,null,[d.c]),r["\u0275mpd"](4608,d.f,d.g,[]),r["\u0275mpd"](5120,d.d,function(e,t,n,r,o,i){return[new d.k(e,t),new d.o(n),new d.n(r,o,i)]},[p.c,r.NgZone,p.c,p.c,d.f,r["\u0275Console"]]),r["\u0275mpd"](4608,d.e,d.e,[d.d,r.NgZone]),r["\u0275mpd"](135680,d.m,d.m,[p.c]),r["\u0275mpd"](4608,d.l,d.l,[d.e,d.m]),r["\u0275mpd"](5120,B,Dt,[]),r["\u0275mpd"](5120,Ie,Nt,[]),r["\u0275mpd"](4608,st,At,[B,Ie]),r["\u0275mpd"](5120,r.RendererFactory2,Rt,[d.l,st,r.NgZone]),r["\u0275mpd"](6144,d.p,null,[d.m]),r["\u0275mpd"](4608,r.Testability,r.Testability,[r.NgZone]),r["\u0275mpd"](4608,d.h,d.h,[p.c]),r["\u0275mpd"](4608,d.i,d.i,[p.c]),r["\u0275mpd"](4608,h,Ot,[r.RendererFactory2,d.b]),r["\u0275mpd"](4608,vn,gn,[p.c,r.PLATFORM_ID,hn]),r["\u0275mpd"](4608,mn,mn,[vn,yn]),r["\u0275mpd"](5120,un,function(e){return[e]},[mn]),r["\u0275mpd"](4608,pn,pn,[]),r["\u0275mpd"](6144,fn,null,[pn]),r["\u0275mpd"](4608,dn,dn,[fn]),r["\u0275mpd"](6144,qt,null,[dn]),r["\u0275mpd"](4608,Bt,_n,[qt,r.Injector]),r["\u0275mpd"](4608,an,an,[Bt]),r["\u0275mpd"](5120,u.a,u.y,[u.l]),r["\u0275mpd"](4608,u.e,u.e,[]),r["\u0275mpd"](6144,u.g,null,[u.e]),r["\u0275mpd"](135680,u.q,u.q,[u.l,r.NgModuleFactoryLoader,r.Compiler,r.Injector,u.g]),r["\u0275mpd"](4608,u.f,u.f,[]),r["\u0275mpd"](5120,u.i,u.B,[u.z]),r["\u0275mpd"](5120,r.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[u.i]),r["\u0275mpd"](5120,Cn.f,i,[an]),r["\u0275mpd"](4608,Cn.c,Cn.e,[]),r["\u0275mpd"](4608,Cn.h,Cn.d,[]),r["\u0275mpd"](4608,Cn.b,Cn.a,[]),r["\u0275mpd"](4608,Cn.m,Cn.m,[]),r["\u0275mpd"](4608,Cn.j,Cn.j,[Cn.m,Cn.f,Cn.c,Cn.h,Cn.b,Cn.k,Cn.l]),r["\u0275mpd"](4608,En,En,[u.l]),r["\u0275mpd"](1073742336,p.b,p.b,[]),r["\u0275mpd"](1024,r.ErrorHandler,d.q,[]),r["\u0275mpd"](1024,r.NgProbeToken,function(){return[u.u()]},[]),r["\u0275mpd"](512,u.z,u.z,[r.Injector]),r["\u0275mpd"](1024,r.APP_INITIALIZER,function(e,t){return[d.s(e),u.A(t)]},[[2,r.NgProbeToken],u.z]),r["\u0275mpd"](512,r.ApplicationInitStatus,r.ApplicationInitStatus,[[2,r.APP_INITIALIZER]]),r["\u0275mpd"](131584,r.ApplicationRef,r.ApplicationRef,[r.NgZone,r["\u0275Console"],r.Injector,r.ErrorHandler,r.ComponentFactoryResolver,r.ApplicationInitStatus]),r["\u0275mpd"](1073742336,r.ApplicationModule,r.ApplicationModule,[r.ApplicationRef]),r["\u0275mpd"](1073742336,d.a,d.a,[[3,d.a]]),r["\u0275mpd"](1073742336,Lt,Lt,[]),r["\u0275mpd"](1073742336,bn,bn,[]),r["\u0275mpd"](1073742336,wn,wn,[]),r["\u0275mpd"](1073742336,Cn.g,Cn.g,[]),r["\u0275mpd"](1024,u.t,u.w,[[3,u.l]]),r["\u0275mpd"](512,u.s,u.c,[]),r["\u0275mpd"](512,u.b,u.b,[]),r["\u0275mpd"](256,u.h,{},[]),r["\u0275mpd"](1024,p.j,u.v,[p.r,[2,p.a],u.h]),r["\u0275mpd"](512,p.i,p.i,[p.j]),r["\u0275mpd"](512,r.Compiler,r.Compiler,[]),r["\u0275mpd"](512,r.NgModuleFactoryLoader,r.SystemJsNgModuleLoader,[r.Compiler,[2,r.SystemJsNgModuleLoaderConfig]]),r["\u0275mpd"](1024,u.j,function(){return[[{path:"",loadChildren:"./layout/layout.module#LayoutModule",canActivate:[En]},{path:"login",loadChildren:"./login/login.module#LoginModule"},{path:"signup",loadChildren:"./signup/signup.module#SignupModule"},{path:"error",loadChildren:"./server-error/server-error.module#ServerErrorModule"},{path:"access-denied",loadChildren:"./access-denied/access-denied.module#AccessDeniedModule"},{path:"not-found",loadChildren:"./not-found/not-found.module#NotFoundModule"},{path:"**",redirectTo:"not-found"}]]},[]),r["\u0275mpd"](1024,u.l,u.x,[r.ApplicationRef,u.s,u.b,p.i,r.Injector,r.NgModuleFactoryLoader,r.Compiler,u.j,u.h,[2,u.r],[2,u.k]]),r["\u0275mpd"](1073742336,u.o,u.o,[[2,u.t],[2,u.l]]),r["\u0275mpd"](1073742336,Sn,Sn,[]),r["\u0275mpd"](1073742336,a,a,[]),r["\u0275mpd"](256,r["\u0275APP_ROOT"],!0,[]),r["\u0275mpd"](256,Mt,"BrowserAnimations",[]),r["\u0275mpd"](256,hn,"XSRF-TOKEN",[]),r["\u0275mpd"](256,yn,"X-XSRF-TOKEN",[]),r["\u0275mpd"](256,Cn.l,void 0,[]),r["\u0275mpd"](256,Cn.k,void 0,[])])});Object(r.enableProdMode)(),d.j().bootstrapModuleFactory(On).catch(function(e){return console.log(e)})},zotm:function(e,t,n){"use strict";var r=n("mrSG"),o=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return r.__extends(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n("FFOo").a),i=n("Fxb1");function a(e,t,n,r){var a=new o(e,n,r);return Object(i.a)(t)(a)}n.d(t,"a",function(){return a})}},[[4,15]]]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{"+Sv0":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){}},"+tJ4":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(e){return function(t){for(var n=0,r=e.length;n0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o ");else if("object"==typeof t){var o=[];for(var i in t)if(t.hasOwnProperty(i)){var a=t[i];o.push(i+":"+("string"==typeof a?JSON.stringify(a):Q(a)))}r="{"+o.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+e.replace(be,"\n ")}function Oe(e,t){return new Error(Se(e,t))}var xe=void 0;function Te(e){var t=xe;return xe=e,t}function ke(e,t){if(void 0===t&&(t=0),void 0===xe)throw new Error("inject() must be called from an injection context");if(null===xe){var n=e.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;throw new Error("Injector: NOT_FOUND ["+Q(e)+"]")}return xe.get(e,8&t?null:void 0,t)}function je(e){for(var t=[],n=0;n1?" ("+function(e){for(var t=[],n=0;n-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return Q(e.token)}).join(" -> ")+")":""}function We(e,t,n,r){var o=[t],i=n(o),a=r?function(e,t){var n=i+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[ze]=t,r}(0,r):Error(i);return a.addKey=Ye,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[ze]=r,a}function Ye(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Je(e,t){for(var n=[],r=0,o=t.length;r=this._providers.length)throw function(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw We(this,e.key,function(e){return"Cannot instantiate cyclic dependency!"+Ze(e)});return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n0&&(o=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==o}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),Cn=function(){function e(){this._applications=new Map,On.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),On.findTestabilityInTree(this,e,t)},e.ctorParameters=function(){return[]},e}();function En(e){On=e}var Sn,On=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),xn=!0,Tn=!1,kn=new f("AllowMultipleToken");function jn(){if(Tn)throw new Error("Cannot enable prod mode after platform setup.");xn=!1}function Pn(){return Tn=!0,xn}var In=function(e,t){this.name=e,this.token=t};function An(e){if(Sn&&!Sn.destroyed&&!Sn.injector.get(kn,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Sn=e.get(Ln);var t=e.get(Dt,null);return t&&t.forEach(function(e){return e()}),Sn}function Dn(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,o=new f(r);return function(t){void 0===t&&(t=[]);var i=Mn();if(!i||i.injector.get(kn,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0});An(pe.create({providers:a,name:r}))}return Nn(o)}}function Nn(e){var t=Mn();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function Rn(){Sn&&!Sn.destroyed&&Sn.destroy()}function Mn(){return Sn&&!Sn.destroyed?Sn:null}var Ln=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,o="noop"===(n=t?t.ngZone:void 0)?new bn:("zone.js"===n?void 0:n)||new hn({enableLongStackTrace:Pn()}),i=[{provide:hn,useValue:o}];return o.run(function(){var t=pe.create({providers:i,parent:r.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(Qe,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return Hn(r._modules,n)}),o.runOutsideAngular(function(){return o.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,o){try{var i=((a=n.injector.get(kt)).runInitializers(),a.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Ot(i)?i.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):i}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}var a}(a,o)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.injector.get(zt),o=Fn({},t);return r.createCompiler([o]).compileModuleAsync(e).then(function(e){return n.bootstrapModuleFactory(e,o)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Vn);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Q(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function Fn(e,t){return Array.isArray(t)?t.reduce(Fn,e):Object(r.__assign)({},e,t)}var Vn=function(){function e(e,t,n,r,o,i){var c=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=o,this._initStatus=i,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Pn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run(function(){c.tick()})}});var l=new a.a(function(e){c._stable=c._zone.isStable&&!c._zone.hasPendingMacrotasks&&!c._zone.hasPendingMicrotasks,c._zone.runOutsideAngular(function(){e.next(c._stable),e.complete()})}),f=new a.a(function(e){var t;c._zone.runOutsideAngular(function(){t=c._zone.onStable.subscribe(function(){hn.assertNotInAngularZone(),G(function(){c._stable||c._zone.hasPendingMacrotasks||c._zone.hasPendingMicrotasks||(c._stable=!0,e.next(!0))})})});var n=c._zone.onUnstable.subscribe(function(){hn.assertInAngularZone(),c._stable&&(c._stable=!1,c._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(s.a)(l,f.pipe(Object(u.a)()))}return e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof qt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n instanceof $t?null:this._injector.get(Xt),i=n.create(pe.NULL,[],t||n.selector,o);i.onDestroy(function(){r._unloadComponent(i)});var a=i.injector.get(wn,null);return a&&i.injector.get(Cn).registerApplication(i.location.nativeElement,a),this._loadComponent(i),Pn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i},e.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,ln(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;Hn(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Rt,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),Hn(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=cn("ApplicationRef#tick()"),e}();function Hn(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Un=function(e,t,n,r,o,i){this.id=e,this.templateUrl=t,this.slotCount=n,this.encapsulation=r,this.styles=o,this.animations=i},zn=function(){},Bn=function(){},qn=function(){},Gn=function(){},Kn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Qn=function(){},Zn=function(e){this.nativeElement=e},Wn=function(){},Yn=new Map;function Jn(e,t){var n=Yn.get(e);if(n)throw new Error("Duplicate module registered for "+e+" - "+n.moduleType.name+" vs "+t.moduleType.name);Yn.set(e,t)}function $n(e){var t=Yn.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}var Xn=function(){function e(){this.dirty=!0,this._results=[],this.changes=new dn,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[q()]=function(){return this._results[q()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var r=Array.isArray(n)?e(n):n;return t.concat(r)},[])}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),er=function(){},tr={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},nr=function(){function e(e,t){this._compiler=e,this._config=t||tr}return e.prototype.load=function(e){return this._compiler instanceof Ht?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,o=Object(r.__read)(e.split("#"),2),i=o[0],a=o[1];return void 0===a&&(a="default"),n("crnd")(i).then(function(e){return e[a]}).then(function(e){return rr(e,i,a)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=Object(r.__read)(e.split("#"),2),o=t[0],i=t[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("crnd")(this._config.factoryPathPrefix+o+this._config.factoryPathSuffix).then(function(e){return e[i+a]}).then(function(e){return rr(e,o,i)})},e}();function rr(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var or=function(){},ir=function(){},ar=function(){},sr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(ar),ur=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.__extends)(t,e),t}(sr),cr=function(){function e(e,t,n){this._debugContext=n,this.nativeNode=e,t&&t instanceof lr?t.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),lr=function(e){function t(t,n,r){var o=e.call(this,t,n,r)||this;return o.properties={},o.attributes={},o.classes={},o.styles={},o.childNodes=[],o.nativeElement=t,o}return Object(r.__extends)(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,o=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,Object(r.__spread)([i+1,0],t)),t.forEach(function(e){e.parent&&e.parent.removeChild(e),e.parent=o}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return pr(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return dr(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(cr);function fr(e){return e.map(function(e){return e.nativeElement})}function pr(e,t,n){e.childNodes.forEach(function(e){e instanceof lr&&(t(e)&&n.push(e),pr(e,t,n))})}function dr(e,t,n){e instanceof lr&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof lr&&dr(e,t,n)})}var hr=new Map;function yr(e){return hr.get(e)||null}function vr(e){hr.set(e.nativeNode,e)}function gr(e,t){var n=br(e),r=br(t);return n&&r?function(e,t,n){for(var r=e[q()](),o=t[q()]();;){var i=r.next(),a=o.next();if(i.done&&a.done)return!0;if(i.done||a.done)return!1;if(!n(i.value,a.value))return!1}}(e,t,gr):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||K(e,t)}var mr=function(){function e(e){this.wrapped=e}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}(),_r=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function br(e){return!!wr(e)&&(Array.isArray(e)||!(e instanceof Map)&&q()in e)}function wr(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Cr=function(){function e(){}return e.prototype.supports=function(e){return br(e)},e.prototype.create=function(e){return new Sr(e)},e}(),Er=function(e,t){return t},Sr=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Er}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e=""+e+"";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(null);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e=""+e+"";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0")}else this.sanitizedSomething=!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();ro.hasOwnProperty(t)&&!Xr.hasOwnProperty(t)&&(this.buf.push(""))},e.prototype.chars=function(e){this.buf.push(lo(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),uo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,co=/([^\#-~ |!])/g;function lo(e){return e.replace(/&/g,"&").replace(uo,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(co,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function fo(e,t){var n=null;try{$r=$r||new Kr(e);var r=t?String(t):"";n=$r.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=$r.getInertBodyElement(r)}while(r!==i);var a=new so,s=a.sanitizeChildren(po(n)||n);return Pn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var u=po(n)||n;u.firstChild;)u.removeChild(u.firstChild)}}function po(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ho=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"),yo=/^url\(([^)]+)\)$/;function vo(e){if(!(e=String(e).trim()))return"";var t=e.match(yo);return t&&Wr(t[1])===t[1]||e.match(ho)&&function(e){for(var t=!0,n=!0,r=0;r-1}(r)||"root"===o.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:t.token.ngInjectableDef.factory,deps:[],index:c,token:t.token},e._providers[c]=Ei,e._providers[c]=Pi(e,e._def.providersByKey[t.tokenKey])}return e._parent.get(t.token,n)}finally{Te(i)}}function Pi(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var o=n.length;switch(o){case 0:return new t;case 1:return new t(ji(e,n[0]));case 2:return new t(ji(e,n[0]),ji(e,n[1]));case 3:return new t(ji(e,n[0]),ji(e,n[1]),ji(e,n[2]));default:for(var i=new Array(o),a=0;a=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,Ri(n,t),To.dirtyParentQueries(r),Di(r),r}function Ai(e,t,n){var r=t?Zo(t,t.def.lastRenderRootNode):e.renderElement;oi(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Di(e){oi(e,3,null,null,void 0)}function Ni(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ri(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Mi=new Object;function Li(e,t,n,r,o,i){return new Vi(e,t,n,r,o,i)}function Fi(e){return e.viewDefFactory}var Vi=function(e){function t(t,n,r,o,i,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=o,s._outputs=i,s.ngContentSelectors=a,s.viewDefFactory=r,s}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var o=ri(this.viewDefFactory),i=o.nodes[0].element.componentProvider.nodeIndex,a=To.createRootView(e,t||[],n,o,r,Mi),s=Eo(a,i).instance;return n&&a.renderer.setAttribute(Co(a,0).renderElement,"ng-version",He.full),new Hi(a,new qi(a),s)},t}(qt),Hi=function(e){function t(t,n,r){var o=e.call(this)||this;return o._view=t,o._viewRef=n,o._component=r,o._elDef=o._view.def.nodes[0],o.hostView=n,o.changeDetectorRef=n,o.instance=r,o}return Object(r.__extends)(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Zn(Co(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Zi(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(e){this._viewRef.onDestroy(e)},t}(Bt);function Ui(e,t,n){return new zi(e,t,n)}var zi=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new Zn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Zi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Qo(e),e=e.parent;return e?new Zi(e,t):new Zi(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Ii(this._data,e);To.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new qi(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;o||e instanceof $t||(o=i.get(Xt));var a=e.create(i,r,void 0,o);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,o,i,a=e;return o=a._view,i=(n=this._data).viewContainer._embeddedViews,null!==(r=t)&&void 0!==r||(r=i.length),o.viewContainerParent=this._view,Ni(i,r,o),function(e,t){var n=Ko(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,o),To.dirtyParentQueries(o),Ai(n,r>0?i[r-1]:null,o),a.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,o,i,a,s=this._embeddedViews.indexOf(e._view);return o=t,a=(i=(n=this._data).viewContainer._embeddedViews)[r=s],Ri(i,r),null==o&&(o=i.length),Ni(i,o,a),To.dirtyParentQueries(a),Di(a),Ai(n,o>0?i[o-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Ii(this._data,e);t&&To.destroyView(t)},e.prototype.detach=function(e){var t=Ii(this._data,e);return t?new qi(t):null},e}();function Bi(e){return new qi(e)}var qi=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return oi(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){Bo(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{To.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){To.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),To.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Di(this._view),To.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Gi(e,t){return new Ki(e,t)}var Ki=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return Object(r.__extends)(t,e),t.prototype.createEmbeddedView=function(e){return new qi(To.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Zn(Co(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(or);function Qi(e,t){return new Zi(e,t)}var Zi=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=pe.THROW_IF_NOT_FOUND),To.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Do(e)},t)},e}();function Wi(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Co(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return wo(e,n.nodeIndex).renderText;if(20240&n.flags)return Eo(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Yi(e){return new Ji(e.renderer)}var Ji=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=Object(r.__read)(li(t),2),o=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,o),o},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r0,o=t.provider;switch(201347067&t.flags){case 512:return ga(e,t.parent,n,o.value,o.deps);case 1024:return function(e,t,n,o,i){var a=i.length;switch(a){case 0:return o();case 1:return o(_a(e,t,n,i[0]));case 2:return o(_a(e,t,n,i[0]),_a(e,t,n,i[1]));case 3:return o(_a(e,t,n,i[0]),_a(e,t,n,i[1]),_a(e,t,n,i[2]));default:for(var s=Array(a),u=0;u0)c=y,Ha(y)||(l=y);else for(;c&&h===c.nodeIndex+c.childCount;){var m=c.parent;m&&(m.childFlags|=c.childFlags,m.childMatchedQueries|=c.childMatchedQueries),l=(c=m)&&Ha(c)?c.renderParent:c}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:u,flags:e,nodes:t,updateDirectives:n||Io,updateRenderer:r||Io,handleEvent:function(e,n,r,o){return t[n].element.handleEvent(e,r,o)},bindingCount:o,outputCount:i,lastRenderRootNode:d}}function Ha(e){return 0!=(1&e.flags)&&null===e.element.name}function Ua(e,t,n){var r=t.element&&t.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 "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var o=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=o&&t.nodeIndex+t.childCount>o)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function za(e,t,n,r){var o=Ga(e.root,e.renderer,e,t,n);return Ka(o,e.component,r),Qa(o),o}function Ba(e,t,n){var r=Ga(e,e.renderer,null,null,t);return Ka(r,n,n),Qa(r),r}function qa(e,t,n,r){var o,i=t.element.componentRendererType;return o=i?e.root.rendererFactory.createRenderer(r,i):e.root.renderer,Ga(e.root,o,e,t.element.componentProvider,n)}function Ga(e,t,n,r,o){var i=new Array(o.nodes.length),a=o.outputCount?new Array(o.outputCount):null;return{def:o,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:i,state:13,root:e,renderer:t,oldValues:new Array(o.bindingCount),disposables:a,initIndex:-1}}function Ka(e,t,n){e.component=t,e.context=n}function Qa(e){var t;Yo(e)&&(t=Co(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,o=0;o0&&Ci(e,t,0,n)&&(d=!0),p>1&&Ci(e,t,1,r)&&(d=!0),p>2&&Ci(e,t,2,o)&&(d=!0),p>3&&Ci(e,t,3,i)&&(d=!0),p>4&&Ci(e,t,4,a)&&(d=!0),p>5&&Ci(e,t,5,s)&&(d=!0),p>6&&Ci(e,t,6,u)&&(d=!0),p>7&&Ci(e,t,7,c)&&(d=!0),p>8&&Ci(e,t,8,l)&&(d=!0),p>9&&Ci(e,t,9,f)&&(d=!0),d}(e,t,n,r,o,i,a,s,u,c,l,f);case 2:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=!1,d=t.bindings,h=d.length;if(h>0&&Uo(e,t,0,n)&&(p=!0),h>1&&Uo(e,t,1,r)&&(p=!0),h>2&&Uo(e,t,2,o)&&(p=!0),h>3&&Uo(e,t,3,i)&&(p=!0),h>4&&Uo(e,t,4,a)&&(p=!0),h>5&&Uo(e,t,5,s)&&(p=!0),h>6&&Uo(e,t,6,u)&&(p=!0),h>7&&Uo(e,t,7,c)&&(p=!0),h>8&&Uo(e,t,8,l)&&(p=!0),h>9&&Uo(e,t,9,f)&&(p=!0),p){var y=t.text.prefix;h>0&&(y+=Fa(n,d[0])),h>1&&(y+=Fa(r,d[1])),h>2&&(y+=Fa(o,d[2])),h>3&&(y+=Fa(i,d[3])),h>4&&(y+=Fa(a,d[4])),h>5&&(y+=Fa(s,d[5])),h>6&&(y+=Fa(u,d[6])),h>7&&(y+=Fa(c,d[7])),h>8&&(y+=Fa(l,d[8])),h>9&&(y+=Fa(f,d[9]));var v=wo(e,t.nodeIndex).renderText;e.renderer.setValue(v,y)}return p}(e,t,n,r,o,i,a,s,u,c,l,f);case 16384:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=Eo(e,t.nodeIndex),d=p.instance,h=!1,y=void 0,v=t.bindings.length;return v>0&&Ho(e,t,0,n)&&(h=!0,y=wa(e,p,t,0,n,y)),v>1&&Ho(e,t,1,r)&&(h=!0,y=wa(e,p,t,1,r,y)),v>2&&Ho(e,t,2,o)&&(h=!0,y=wa(e,p,t,2,o,y)),v>3&&Ho(e,t,3,i)&&(h=!0,y=wa(e,p,t,3,i,y)),v>4&&Ho(e,t,4,a)&&(h=!0,y=wa(e,p,t,4,a,y)),v>5&&Ho(e,t,5,s)&&(h=!0,y=wa(e,p,t,5,s,y)),v>6&&Ho(e,t,6,u)&&(h=!0,y=wa(e,p,t,6,u,y)),v>7&&Ho(e,t,7,c)&&(h=!0,y=wa(e,p,t,7,c,y)),v>8&&Ho(e,t,8,l)&&(h=!0,y=wa(e,p,t,8,l,y)),v>9&&Ho(e,t,9,f)&&(h=!0,y=wa(e,p,t,9,f,y)),y&&d.ngOnChanges(y),65536&t.flags&&bo(e,256,t.nodeIndex)&&d.ngOnInit(),262144&t.flags&&d.ngDoCheck(),h}(e,t,n,r,o,i,a,s,u,c,l,f);case 32:case 64:case 128:return function(e,t,n,r,o,i,a,s,u,c,l,f){var p=t.bindings,d=!1,h=p.length;if(h>0&&Uo(e,t,0,n)&&(d=!0),h>1&&Uo(e,t,1,r)&&(d=!0),h>2&&Uo(e,t,2,o)&&(d=!0),h>3&&Uo(e,t,3,i)&&(d=!0),h>4&&Uo(e,t,4,a)&&(d=!0),h>5&&Uo(e,t,5,s)&&(d=!0),h>6&&Uo(e,t,6,u)&&(d=!0),h>7&&Uo(e,t,7,c)&&(d=!0),h>8&&Uo(e,t,8,l)&&(d=!0),h>9&&Uo(e,t,9,f)&&(d=!0),d){var y=So(e,t.nodeIndex),v=void 0;switch(201347067&t.flags){case 32:v=new Array(p.length),h>0&&(v[0]=n),h>1&&(v[1]=r),h>2&&(v[2]=o),h>3&&(v[3]=i),h>4&&(v[4]=a),h>5&&(v[5]=s),h>6&&(v[6]=u),h>7&&(v[7]=c),h>8&&(v[8]=l),h>9&&(v[9]=f);break;case 64:v={},h>0&&(v[p[0].name]=n),h>1&&(v[p[1].name]=r),h>2&&(v[p[2].name]=o),h>3&&(v[p[3].name]=i),h>4&&(v[p[4].name]=a),h>5&&(v[p[5].name]=s),h>6&&(v[p[6].name]=u),h>7&&(v[p[7].name]=c),h>8&&(v[p[8].name]=l),h>9&&(v[p[9].name]=f);break;case 128:var g=n;switch(h){case 1:v=g.transform(n);break;case 2:v=g.transform(r);break;case 3:v=g.transform(r,o);break;case 4:v=g.transform(r,o,i);break;case 5:v=g.transform(r,o,i,a);break;case 6:v=g.transform(r,o,i,a,s);break;case 7:v=g.transform(r,o,i,a,s,u);break;case 8:v=g.transform(r,o,i,a,s,u,c);break;case 9:v=g.transform(r,o,i,a,s,u,c,l);break;case 10:v=g.transform(r,o,i,a,s,u,c,l,f)}}y.value=v}return d}(e,t,n,r,o,i,a,s,u,c,l,f);default:throw"unreachable"}}(e,t,o,i,a,s,u,c,l,f,p,d):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,o=0;o0&&zo(e,t,0,n),p>1&&zo(e,t,1,r),p>2&&zo(e,t,2,o),p>3&&zo(e,t,3,i),p>4&&zo(e,t,4,a),p>5&&zo(e,t,5,s),p>6&&zo(e,t,6,u),p>7&&zo(e,t,7,c),p>8&&zo(e,t,8,l),p>9&&zo(e,t,9,f)}(e,t,r,o,i,a,s,u,c,l,f,p):function(e,t,n){for(var r=0;r0){var i=new Set(e.modules);vs.forEach(function(t,r){if(i.has(r.ngInjectableDef.providedIn)){var o={token:r,flags:t.flags|(n?4096:0),deps:ei(t.deps),value:t.value,index:e.providers.length};e.providers.push(o),e.providersByKey[Do(r)]=o}})}}(e=e.factory(function(){return Io})),e):e}(r))}var ys=new Map,vs=new Map,gs=new Map;function ms(e){ys.set(e.token,e),"function"==typeof e.token&&e.token.ngInjectableDef&&"function"==typeof e.token.ngInjectableDef.providedIn&&vs.set(e.token,e)}function _s(e,t){var n=ri(ri(Fi(t)).nodes[0].element.componentView);gs.set(e,n)}function bs(){ys.clear(),vs.clear(),gs.clear()}function ws(e){if(0===ys.size)return e;var t=function(e){for(var t=[],n=null,r=0;r=t&&ru(n)}function tu(e,t){null!=e&&ru(t)}function nu(e,t){null==e&&ru(t)}function ru(e){throw new Error("ASSERTION ERROR: "+e)}function ou(e,t,n){e.afterContentInit&&(t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentInit),e.afterContentChecked&&((t.contentHooks||(t.contentHooks=[])).push(n,e.afterContentChecked),(t.contentCheckHooks||(t.contentCheckHooks=[])).push(n,e.afterContentChecked))}function iu(e,t,n){e.afterViewInit&&(t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewInit),e.afterViewChecked&&((t.viewHooks||(t.viewHooks=[])).push(n,e.afterViewChecked),(t.viewCheckHooks||(t.viewCheckHooks=[])).push(n,e.afterViewChecked))}function au(e,t,n){null!=e.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(n,e.onDestroy)}function su(e,t,n){1===e.lifecycleStage&&(uu(e.directives,t.initHooks,t.checkHooks,n),e.lifecycleStage=2)}function uu(e,t,n,r){var o=r?t:n;o&&cu(e,o)}function cu(e,t){for(var n=0;n"}var hu=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function yu(e){return!!e.listen}var vu={createRenderer:function(e,t){return document}};function gu(e,t){return!(e!=e&&t!=t)&&e!==t}function mu(e){return"function"==typeof e?e.name||e:"string"==typeof e?e:null==e?"":""+e}function _u(e,t){for(var n=e;n&&n!==t;){var r=n.pNextOrParent;if(r){for(;1!==r.type;){if(i=Cu(r))return i;r=r.pNextOrParent}n=r}else{for(var o=n.next;o;){var i;if(i=Cu(o))return i;o=o.next}var a=n.parent;if(n=null,a){var s=a.type;0!==s&&2!==s||(n=a)}}}return null}function bu(e){var t=e.pNextOrParent;return t?1===t.type?null:t:e.next}function wu(e,t){for(var n=e,r=bu(n);n&&!r;){if((n=n.pNextOrParent||n.parent)===t)return null;r=n&&bu(n)}return r}function Cu(e){for(var t=e;t;){var n=null;if(3===t.type)return t.native;if(0===t.type){var r=t.dynamicLContainerNode?t.dynamicLContainerNode.data:t.data;n=r.views.length?r.views[0].child:null}else n=1===t.type?t.data.head:t.child;t=null===n?wu(t,e):n}return null}function Eu(e,t){return yu(t)?t.createText(mu(e)):t.createTextNode(mu(e))}function Su(e,t,n,r){ngDevMode&&fu(e,0),ngDevMode&&fu(t,2);var o=e.data.renderParent,i=o?o.native:null,a=t.child;if(i)for(;a;){var s=null,u=e.view.renderer;if(3===a.type)n?(a.native||(a.native=Eu("",u)),yu(u)?u.insertBefore(i,a.native,r):i.insertBefore(a.native,r,!0)):yu(u)?u.removeChild(i,a.native):i.removeChild(a.native),s=a.next;else if(0===a.type){var c=a.data;c.renderParent=o,s=c.views.length?c.views[0].child:null}else s=1===a.type?a.data.head:a.child;a=null===s?wu(a,t):s}}function Ou(e,t,n){var r=e.data.views;if(n>0&&Tu(r[n-1],t),n0&&Tu(n[t-1],r.next),n.splice(t,1),r.next=null,function(e){for(var t=e;t;){var n=null;if(t.views&&t.views.length?n=t.views[0].data:t.child?n=t.child:t.next&&(ju(t),n=t.next),null==n){for(;t&&!t.next&&t!==e;)ju(t),t=ku(t,e);ju(t||e),n=t&&t.next}t=n}}(r.data),Su(e,r,!1),e.data.queries&&e.data.queries.removeView(t),r}function Tu(e,t){e.next=t,e.data.next=t?t.data:null}function ku(e,t){var n;return(n=e.node)&&2===n.type?n.parent.data:e.parent===t?null:e.parent}function ju(e){!function(e){var t=e.cleanup;if(null!=t){for(var n=0;n0&&" "!==n[i-1]||a=qu.length?qu[e]=null:s.tNode=qu[e],Bu?(Yu=null,zu.view!==tc&&2!==zu.type||(ngDevMode&&tu(zu.child,"previousOrParentNode's child should not have been set."),zu.child=s)):zu&&(ngDevMode&&tu(zu.next,"previousOrParentNode's next property should not have been set "+e+"."),zu.next=s,zu.dynamicLContainerNode&&(zu.dynamicLContainerNode.next=s))),zu=s,Bu=!0,s}function dc(e,t,n,r,o,i){var a,s=Bu,u=zu;try{Bu=!0,zu=null;var c=2;null==e&&(e=pc(null,2,null,lc(-1,r,bc(t,o||null,i||null),t,n,2)),c=1),a=ic(e.data,e),t(c,n),sc(),zc()}finally{ac(a),Bu=s,zu=u}return e}function hc(e){return 1&e.flags?3:2}function yc(e,t,n,r){ngDevMode&&$s(tc.bindingStartIndex,-1,"elements should be created before any bindings");var o=Hu.createElement(t),i=pc(e,3,o,null);return n&&Cc(o,n),Iu(i.parent,o,tc),vc(e,t,n,r,null),o}function vc(e,t,n,r,o){var i=zu;oc?(ngDevMode&&xl(e-1),i.tNode=qu[e]=kc(t,n||null,o),function(e,t,n){var r=n?{"":-1}:null,o=t.currentMatches=function(e){var t=tc.tView.directiveRegistry,n=null;if(t)for(var r=0;r0)for(var n=e.flags>>13,r=n+t,o=tc.tView.directives,i=n;i>13,o=r+(4095&e),i=r;i0)for(var o=e>>13,i=o+n,a=0===t,s=tc.tView.directives,u=o;u=i.length)&&(i=function(e,t,n){var r=n.initialInputs||(n.initialInputs=[]);r[e]=null;for(var o=n.attrs,i=0;i=n.length||null==n[e]){var r=tc.tView;n[e]=wc(r.directiveRegistry,r.pipeRegistry)}return n[e]}(e,t),null,null,2);n.queries&&(o.queries=n.queries.enterView(n.nextIndex)),ic(o,r=pc(null,2,null,o))}return hc(r.data)}function qc(){sc(),Bu=!1;var e=zu=tc.node,t=zu.parent;if(t){ngDevMode&&fu(e,2),ngDevMode&&fu(t,0);var n=t.data;Ju&&(function(e,t){if(null!=e)for(var n=t.child;n;){if(1===n.type)for(var r=n.data.head,o=n.data.tail;r;)r.dynamicLContainerNode&&(r.dynamicLContainerNode.data.renderParent=e),r=r===o?null:r.pNextOrParent;n=n.next}}(n.renderParent,e),Ou(t,e,n.nextIndex)),n.nextIndex++}ac(tc.parent),ngDevMode&&$s(Bu,!1,"isParent"),ngDevMode&&fu(zu,2)}function Gc(e,t){ngDevMode&&xl(t);var n=$u[t];ngDevMode&&fu(n,3),ngDevMode&&nu(n.data,"Component's host node should have an LView attached.");var r=n.data;8==(8&r.flags)&&6&r.flags&&(ngDevMode&&xl(e,Xu),el(r,n,tc.tView.directives[e],El(Xu[e])))}function Kc(e,t,n){for(var r=t?t.length+1:1,o=new Array(r),i=0;i>13],e)}function el(e,t,n,r){var o=ic(e,t),i=n.template;try{i(hc(e),r),sc(),zc()}finally{ac(o)}}function tl(e){ngDevMode&&nu(e,"component"),Jc(kl(e).view)}var nl={};function rl(){ngDevMode&&$s(tc.bindingStartIndex,-1,"Binding start index should only be set once, when null"),ngDevMode&&$s(tc.bindingIndex,-1,"Binding index should not yet be set "+tc.bindingIndex),tc.bindingIndex=tc.bindingStartIndex=$u.length}function ol(e){if(tc.bindingStartIndex<0)return rl(),$u[tc.bindingIndex++]=e;var t=e!==nl&&gu($u[tc.bindingIndex],e);return t&&(Vu(Ju,rc,$u[tc.bindingIndex],e),$u[tc.bindingIndex]=e),tc.bindingIndex++,t?e:nl}function il(e){ngDevMode&&eu(2,e.length,"should have at least 3 values"),ngDevMode&&$s(e.length%2,1,"should have an odd number of values");for(var t=!1,n=1;n=qu.length&&(qu[e]=null),$u[e]=t}function yl(e){return ngDevMode&&xl(e),$u[e]}function vl(e){return ngDevMode&&nu(Xu,"Directives array should be defined if reading a dir."),ngDevMode&&xl(e,Xu),Xu[e]}function gl(){return ngDevMode&&xl(tc.bindingIndex),ngDevMode&&Xs($u[tc.bindingIndex],nl,"Stored value should never be NO_CHANGE."),$u[tc.bindingIndex++]}function ml(e){if(ngDevMode&&Xs(e,nl,"Incoming value should never be NO_CHANGE."),tc.bindingStartIndex<0)rl();else{if(!gu($u[tc.bindingIndex],e))return tc.bindingIndex++,!1;Vu(Ju,rc,$u[tc.bindingIndex],e)}return $u[tc.bindingIndex++]=e,!0}function _l(e){return ml(e),e}function bl(e,t){var n=ml(e);return ml(t)||n}function wl(e,t,n,r){var o=bl(e,t);return bl(n,r)||o}function Cl(){return tc.tView}function El(e){return Array.isArray(e)?e[0]:e}function Sl(){$s(Bu,!0,"previousOrParentNode should be a parent")}function Ol(){nu(zu.parent,"previousOrParentNode should have a parent")}function xl(e,t){null==t&&(t=$u),eu(e,t?t.length:0,"index expected to be a valid data index")}function Tl(e,t){null==t&&(t=$u),$s(t.length,e,"index "+e+" expected to be at the end of arr (length "+t.length+")")}function kl(e){ngDevMode&&nu(e,"expecting component got null");var t=e[Gu];return ngDevMode&&nu(e,"object is not a component"),t}var jl=Ku,Pl=Qu,Il=function(){function e(e,t){this._view=e,this.context=t}return e.prototype._setComponentContext=function(e,t){this._view=e,this.context=t},e.prototype.destroy=function(){},e.prototype.onDestroy=function(e){},e.prototype.markForCheck=function(){Jc(this._view)},e.prototype.detach=function(){this._view.flags&=-9},e.prototype.reattach=function(){this._view.flags|=8},e.prototype.detectChanges=function(){Xc(this.context)},e.prototype.checkNoChanges=function(){!function(e){rc=!0;try{Xc(e)}finally{rc=!1}}(this.context)},e}(),Al=function(e){function t(t,n,r){var o=e.call(this,t.data,r)||this;return o._lViewNode=t,o}return Object(r.__extends)(t,e),t}(Il);function Dl(e,t){return Nl(new Il(e,t))}function Nl(e){var t=null;return e.destroyed=!1,e.destroy=function(){t&&t.forEach(function(e){return e()}),this.destroyed=!0},e.onDestroy=function(e){return(t||(t=[])).push(e)},e}function Rl(e,t){var n;void 0===t&&(t={}),ngDevMode&&(void 0===n&&(n="Type passed in is not ComponentType, it does not have 'ngComponentDef' property."),e.ngComponentDef||ru(n));var r,o=t.rendererFactory||vu,i=e.ngComponentDef;i.type!=e&&(i.type=e);var a=i.selectors[0][0],s=Ec(o,t.host||a),u={component:null,scheduler:t.scheduler||requestAnimationFrame.bind(window),clean:jl},c=lc(-1,o.createRenderer(s,i.rendererType),wc(null,null),null,u,i.onPush?4:2);c.injector=t.injector||null;var l,f=ic(c,null);try{o.begin&&o.begin(),l=function(e,t,n){Bu=!1,zu=null;var r=pc(0,3,s,lc(-1,Hu,bc(n.template,n.directiveDefs,n.pipeDefs),null,null,n.onPush?4:2));return oc&&(r.tNode=kc(e,null,null),r.tNode.flags=4096,n.diPublic&&n.diPublic(n),tc.tView.directives=[n]),r}(a,0,i),r=u.component=Lc(0,i.factory(),i),mc(l.nodeInjector,r,l.data),t.hostFeatures&&t.hostFeatures.forEach(function(e){return e(r,i)}),cc(),uc(Pl),el(l.data,l,i,r)}finally{ac(f),o.end&&o.end()}return r}function Ml(e){return function(e){var t=$c(e).context;return ngDevMode&&nu(t,"rootContext"),t}(e).clean}var Ll="__NG_ELEMENT_ID__",Fl=256,Vl=0;function Hl(){return ngDevMode&&Sl(),Ul(Wu())}function Ul(e){var t=e.nodeInjector,n=e.parent&&e.parent.nodeInjector;return t!=n?t:e.nodeInjector={parent:n,node:e,bf0:0,bf1:0,bf2:0,bf3:0,bf4:0,bf5:0,bf6:0,bf7:0,cbf0:null==n?0:n.cbf0|n.bf0,cbf1:null==n?0:n.cbf1|n.bf1,cbf2:null==n?0:n.cbf2|n.bf2,cbf3:null==n?0:n.cbf3|n.bf3,cbf4:null==n?0:n.cbf4|n.bf4,cbf5:null==n?0:n.cbf5|n.bf5,cbf6:null==n?0:n.cbf6|n.bf6,cbf7:null==n?0:n.cbf7|n.bf7,templateRef:null,viewContainerRef:null,elementRef:null,changeDetectorRef:null}}function zl(e){!function(e,t){!function(e,t){var n=t[Ll];null==n&&(n=t[Ll]=Vl++);var r=n%Fl,o=1<>13])}(n.view.node):null}function Wl(e,t,n){var r,o="number"==typeof(r=t[Ll])?r%Fl:null;if(null===o){var i=Te(Wu().view.injector);try{return ke(t,n)}finally{Te(i)}}else for(var a=e;a&&(a=Jl(a,o));){var s=a.node,u=s.tNode.flags,c=4095&u;if(0!==c)for(var l=u>>13,f=l+c,p=s.view.tView.directives,d=l;d>13,i=o+(4095&r),a=o;a0?(e=r.concat(e.slice(n+1)),n=0):n++:(t.push(r),n++)}return t}(e),this.dirty=!1},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}();function Hf(e,t,n,r){ngDevMode&&Sl();var o=new Vf;return(Yu||(Yu=new Af)).track(o,t,n,r),null!=e&&hl(e,o),o}function Uf(e){return!!e.dirty&&(e.reset(e._valuesTree),e.notifyOnChanges(),!0)}var zf="__SANITIZER_TRUSTED_BRAND__";function Bf(e){return e instanceof String&&"Html"===e[zf]?e.toString():fo(document,mu(e))}function qf(e){return e instanceof String&&"Style"===e[zf]?e.toString():vo(mu(e))}function Gf(e){return e instanceof String&&"Url"===e[zf]?e.toString():Wr(mu(e))}function Kf(e){if(e instanceof String&&"ResourceUrl"===e[zf])return e.toString();throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function Qf(e){return $f(e,"Html")}function Zf(e){return $f(e,"Style")}function Wf(e){return $f(e,"Script")}function Yf(e){return $f(e,"Url")}function Jf(e){return $f(e,"ResourceUrl")}function $f(e,t){var n=new String(e);return n[zf]=t,n}},DKTb:function(e,t,n){"use strict";function r(e){setTimeout(function(){throw e})}n.d(t,"a",function(){return r})},"En8+":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},"F/XL":function(e,t,n){"use strict";var r=n("nkY7"),o=n("IUTb"),i=n("G5J1"),a=n("6blF");function s(){for(var e=[],t=0;t0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=c.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),p=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=n,r}return Object(o.__extends)(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return c.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+c.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.pushState(e,t,o)},t.prototype.replaceState=function(e,t,n,r){var o=this.prepareExternalUrl(n+c.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,o)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(s),d=void 0,h=["en",[["a","p"],["AM","PM"],d],[["AM","PM"],d,d],[["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"]],d,[["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"]],d,[["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}",d,"{1} 'at' {0}",d],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],y={},v=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),g=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),m=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),_=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),b=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function w(e,t,n){var r=P(e);return k(k([r[3],r[4]],t),n)}function C(e,t,n){var r=P(e);return k(k([r[5],r[6]],t),n)}function E(e,t){return k(P(e)[10],t)}function S(e,t){return k(P(e)[11],t)}function O(e,t){return k(P(e)[12],t)}function x(e,t){var n=P(e),r=n[13][t];if(void 0===r){if(t===b.CurrencyDecimal)return n[13][b.Decimal];if(t===b.CurrencyGroup)return n[13][b.Group]}return r}function T(e){if(!e[19])throw new Error('Missing extra locale data for the locale "'+e[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function k(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function j(e){var t=Object(o.__read)(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}function P(e){var t=e.toLowerCase().replace(/_/g,"-"),n=y[t];if(n)return n;var r=t.split("-")[0];if(n=y[r])return n;if("en"===r)return h;throw new Error('Missing locale data for the locale "'+e+'".')}var I=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,A={},D=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,N=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),R=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.Milliseconds=6]="Milliseconds",e[e.Day=7]="Day",e}({}),M=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function L(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function F(e,t,n,r,o){void 0===n&&(n="-");var i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));for(var a=String(e);a.length0||s>-n)&&(s+=n),e===R.Hours&&0===s&&-12===n&&(s=12),F(s,t,x(a,b.MinusSign),r,o)}}function H(e,t,n,r){return void 0===n&&(n=g.Format),void 0===r&&(r=!1),function(o,i){return function(e,t,n,r,o,i){switch(n){case M.Months:return C(t,o,r)[e.getMonth()];case M.Days:return w(t,o,r)[e.getDay()];case M.DayPeriods:var a=e.getHours(),s=e.getMinutes();if(i){var u,c=function(e){var t=P(e);return T(t),(t[19][2]||[]).map(function(e){return"string"==typeof e?j(e):[j(e[0]),j(e[1])]})}(t),l=function(e,t,n){var r=P(e);return T(r),k(k([r[19][0],r[19][1]],t)||[],n)||[]}(t,o,r);if(c.forEach(function(e,t){if(Array.isArray(e)){var n=e[0],r=e[1],o=r.hours;a>=n.hours&&s>=n.minutes&&(a0?Math.floor(o/60):Math.ceil(o/60);switch(e){case N.Short:return(o>=0?"+":"")+F(a,2,i)+F(Math.abs(o%60),2,i);case N.ShortGMT:return"GMT"+(o>=0?"+":"")+F(a,1,i);case N.Long:return"GMT"+(o>=0?"+":"")+F(a,2,i)+":"+F(Math.abs(o%60),2,i);case N.Extended:return 0===r?"Z":(o>=0?"+":"")+F(a,2,i)+":"+F(Math.abs(o%60),2,i);default:throw new Error('Unknown zone width "'+e+'"')}}}var z=0,B=4;function q(e,t){return void 0===t&&(t=!1),function(n,r){var o,i,a,s;if(t){var u=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,c=n.getDate();o=1+Math.floor((c+u)/7)}else{var l=(a=n.getFullYear(),s=new Date(a,z,1).getDay(),new Date(a,0,1+(s<=B?B:B+7)-s)),f=(i=n,new Date(i.getFullYear(),i.getMonth(),i.getDate()+(B-i.getDay()))).getTime()-l.getTime();o=1+Math.round(f/6048e5)}return F(o,e,x(r,b.MinusSign))}}var G={};function K(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Q(e){return e instanceof Date&&!isNaN(e.valueOf())}var Z=new r.InjectionToken("UseV4Plurals"),W=function(){},Y=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return Object(o.__extends)(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return P(e)[18]}(t||this.locale)(e)){case v.Zero:return"zero";case v.One:return"one";case v.Two:return"two";case v.Few:return"few";case v.Many:return"many";default:return"other"}},t}(W);function J(e,t){t=encodeURIComponent(t);try{for(var n=Object(o.__values)(e.split(";")),r=n.next();!r.done;r=n.next()){var i=r.value,a=i.indexOf("="),s=Object(o.__read)(-1==a?[i,""]:[i.slice(0,a),i.slice(a+1)],2),u=s[1];if(s[0].trim()===t)return decodeURIComponent(u)}}catch(e){c={error:e}}finally{try{r&&!r.done&&(l=n.return)&&l.call(n)}finally{if(c)throw c.error}}return null;var c,l}var $=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r["\u0275stringify"])(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e}(),X=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),ee=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._differ=null}return Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){Object(r.isDevMode)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){if("ngForOf"in e){var t=e.ngForOf.currentValue;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(e){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((n=t).name||typeof n)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var n},e.prototype.ngDoCheck=function(){if(this._differ){var e=this._differ.diff(this.ngForOf);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new X(null,t.ngForOf,-1,-1),o),a=new te(e,i);n.push(a)}else null==o?t._viewContainer.remove(r):(i=t._viewContainer.get(r),t._viewContainer.move(i,o),a=new te(e,i),n.push(a))});for(var r=0;r=2&&(n=!0),function(r){return r.lift(new a(e,t,n))}}var a=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.accumulator,this.seed,this.hasSeed))},e}(),s=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.accumulator=n,i._seed=r,i.hasSeed=o,i.index=0,i}return r.__extends(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(e){this.destination.error(e)}this.seed=t,this.destination.next(t)},t}(o.a),u=n("AxiF"),c=n("HJBe"),l=n("y3By");function f(e,t){return arguments.length>=2?function(n){return Object(l.a)(i(e,t),Object(u.a)(1),Object(c.a)(t))(n)}:function(t){return Object(l.a)(i(function(t,n,r){return e(t,n,r+1)}),Object(u.a)(1))(t)}}n.d(t,"a",function(){return f})},S1nX:function(e,t,n){"use strict";var r=n("mrSG"),o=n("K9Ia"),i=n("6blF"),a=n("FFOo"),s=n("pugT");function u(){return function(e){return e.lift(new c(e))}}var c=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new l(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o},e}(),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(a.a),f=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return r.__extends(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new s.a).add(this.source.subscribe(new d(this.getSubject(),this))),e.closed?(this._connection=null,e=s.a.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return u()(this)},t}(i.a).prototype,p={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:f._subscribe},_isComplete:{value:f._isComplete,writable:!0},getSubject:{value:f.getSubject},connect:{value:f.connect},refCount:{value:f.refCount}},d=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return r.__extends(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(o.b);function h(){return new o.a}function y(){return function(e){return u()((t=h,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,p);return r.source=e,r.subjectFactory=n,r})(e));var t}}n.d(t,"a",function(){return y})},S5XQ:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("DKTb"),o=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,r.a),t}}},Txjg:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("Zn8D");function o(){return Object(r.a)(1)}},"VnD/":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("mrSG"),o=n("FFOo");function i(e,t){return function(n){return n.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return r.__extends(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(o.a)},ZYCi:function(e,t,n){"use strict";var r=n("Ip0R"),o=n("CcnG"),i=n("mrSG"),a=n("F/XL"),s=n("26FU"),u=n("0/uQ"),c=n("6blF"),l=n("K9Ia"),f=function(e){function t(){var n=e.call(this,"no elements in sequence")||this;return n.name="EmptyError",Object.setPrototypeOf(n,t.prototype),n}return i.__extends(t,e),t}(Error),p=n("67Y/"),d=n("Phjn"),h=n("Qgas"),y=n("psW0"),v=n("VnD/"),g=n("AxiF"),m=n("xMyE"),_=function(e){return void 0===e&&(e=b),Object(m.a)({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function b(){return new f}var w=n("HJBe"),C=n("mChF");function E(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(v.a)(function(t,n){return e(t,n,r)}):C.a,Object(g.a)(1),n?Object(w.a)(t):_(function(){return new f}))}}var S=n("MGBS"),O=n("zotm");function x(e){return function(t){var n=new T(e),r=t.lift(n);return n.caught=r}}var T=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new k(e,this.selector,this.caught))},e}(),k=function(e){function t(t,n,r){var o=e.call(this,t)||this;return o.selector=n,o.caught=r,o}return i.__extends(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(Object(O.a)(this,n))}},t}(S.a),j=n("FFOo");function P(e,t){return function(n){return n.lift(new I(e,t,n))}}var I=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new A(e,this.predicate,this.thisArg,this.source))},e}(),A=function(e){function t(t,n,r,o){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.source=o,i.index=0,i.thisArg=r||i,i}return i.__extends(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(e){return void this.destination.error(e)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(j.a),D=n("Zn8D"),N=n("t9fZ");function R(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(v.a)(function(t,n){return e(t,n,r)}):C.a,Object(N.a)(1),n?Object(w.a)(t):_(function(){return new f}))}}var M=n("Txjg"),L=n("ZYjt");n.d(t,"t",function(){return Xt}),n.d(t,"z",function(){return cn}),n.d(t,"A",function(){return ln}),n.d(t,"B",function(){return fn}),n.d(t,"w",function(){return on}),n.d(t,"v",function(){return rn}),n.d(t,"y",function(){return un}),n.d(t,"u",function(){return tn}),n.d(t,"x",function(){return sn}),n.d(t,"n",function(){return Ut}),n.d(t,"m",function(){return Bt}),n.d(t,"p",function(){return Kt}),n.d(t,"d",function(){return H}),n.d(t,"k",function(){return Pt}),n.d(t,"l",function(){return Ft}),n.d(t,"j",function(){return At}),n.d(t,"h",function(){return $t}),n.d(t,"i",function(){return pn}),n.d(t,"o",function(){return nn}),n.d(t,"b",function(){return Gt}),n.d(t,"e",function(){return Yt}),n.d(t,"f",function(){return Wt}),n.d(t,"g",function(){return Zt}),n.d(t,"q",function(){return Jt}),n.d(t,"a",function(){return Xe}),n.d(t,"r",function(){return Nt}),n.d(t,"c",function(){return Ce}),n.d(t,"s",function(){return we});var F=function(e,t){this.id=e,this.url=t},V=function(e){function t(t,n,r,o){void 0===r&&(r="imperative"),void 0===o&&(o=null);var i=e.call(this,t,n)||this;return i.navigationTrigger=r,i.restoredState=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(F),H=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(F),U=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.reason=r,o}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(F),z=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.error=r,o}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(F),B=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),q=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),G=function(e){function t(t,n,r,o,i){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=r,a.state=o,a.shouldActivate=i,a}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(F),K=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),Q=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i.state=o,i}return Object(i.__extends)(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(F),Z=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),W=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),Y=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),J=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),$=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),X=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),ee="primary",te=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function ne(e){return new te(e)}function re(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length0?e[e.length-1]:null}function pe(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function de(e){return e.pipe(Object(D.a)(),P(function(e){return!0===e}))}function he(e){return Object(o["\u0275isObservable"])(e)?e:Object(o["\u0275isPromise"])(e)?Object(u.a)(Promise.resolve(e)):Object(a.a)(e)}function ye(e,t,n){return n?function(e,t){return ce(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!_e(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!_e(a=n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!_e(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!_e(n.segments,a)&&!!n.children[ee]&&t(n.children[ee],r,s)}(t,n,n.segments)}(e.root,t.root)}var ve=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Ee.serialize(this)},e}(),ge=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,pe(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Se(this)},e}(),me=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=ne(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Pe(this)},e}();function _e(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function be(e,t){var n=[];return pe(e.children,function(e,r){r===ee&&(n=n.concat(t(e,r)))}),pe(e.children,function(e,r){r!==ee&&(n=n.concat(t(e,r)))}),n}var we=function(){},Ce=function(){function e(){}return e.prototype.parse=function(e){var t=new Re(e);return new ve(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return Se(t);if(n){var r=t.children[ee]?e(t.children[ee],!1):"",o=[];return pe(t.children,function(t,n){n!==ee&&o.push(n+":"+e(t,!1))}),o.length>0?r+"("+o.join("//")+")":r}var i=be(t,function(n,r){return r===ee?[e(t.children[ee],!1)]:[r+":"+e(n,!1)]});return Se(t)+"/("+i.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return xe(e)+"="+xe(t)}).join("&"):xe(e)+"="+xe(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),Ee=new Ce;function Se(e){return e.segments.map(function(e){return Pe(e)}).join("/")}function Oe(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xe(e){return Oe(e).replace(/%3B/gi,";")}function Te(e){return Oe(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function ke(e){return decodeURIComponent(e)}function je(e){return ke(e.replace(/\+/g,"%20"))}function Pe(e){return""+Te(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+Te(e)+"="+Te(t[e])}).join(""));var t}var Ie=/^[^\/()?;=&#]+/;function Ae(e){var t=e.match(Ie);return t?t[0]:""}var De=/^[^=?&#]+/,Ne=/^[^?&#]+/,Re=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ge([],{}):new ge([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[ee]=new ge(e,t)),n},e.prototype.parseSegment=function(){var e=Ae(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new me(ke(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Ae(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Ae(this.remaining);r&&this.capture(n=r)}e[ke(t)]=ke(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(De))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(Ne);return t?t[0]:""}(this.remaining);o&&this.capture(r=o)}var i=je(n),a=je(r);if(e.hasOwnProperty(i)){var s=e[i];Array.isArray(s)||(e[i]=s=[s]),s.push(a)}else e[i]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ae(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o=ee);var i=this.parseChildren();t[o]=1===Object.keys(i).length?i[ee]:new ge([],i),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Me=function(e){this.segmentGroup=e||null},Le=function(e){this.urlTree=e};function Fe(e){return new c.a(function(t){return t.error(new Me(e))})}function Ve(e){return new c.a(function(t){return t.error(new Le(e))})}function He(e){return new c.a(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var Ue=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(o.NgModuleRef)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,ee).pipe(Object(p.a)(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(x(function(t){if(t instanceof Le)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Me)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,ee).pipe(Object(p.a)(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(x(function(e){if(e instanceof Me)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,o=e.segments.length>0?new ge([],((r={})[ee]=e,r)):e;return new ve(o,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(p.a)(function(e){return new ge([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Object(a.a)({});var i=[],s=[],u={};return pe(n,function(n,o){var a,c,l=(a=o,c=n,r.expandSegmentGroup(e,t,c,a)).pipe(Object(p.a)(function(e){return u[o]=e}));o===ee?i.push(l):s.push(l)}),a.a.apply(null,i.concat(s)).pipe(Object(M.a)(),E(),Object(p.a)(function(){return u}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,o,s){var u=this;return a.a.apply(void 0,Object(i.__spread)(n)).pipe(Object(p.a)(function(i){return u.expandSegmentAgainstRoute(e,t,n,i,r,o,s).pipe(x(function(e){if(e instanceof Me)return Object(a.a)(null);throw e}))}),Object(M.a)(),R(function(e){return!!e}),x(function(e,n){if(e instanceof f||"EmptyError"===e.name){if(u.noLeftoversInUrl(t,r,o))return Object(a.a)(new ge([],{}));throw new Me(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,o,i,a){return Ge(r)!==i?Fe(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):Fe(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ve(i):this.lineralizeSegments(n,i).pipe(Object(y.a)(function(n){var i=new ge(n,{});return o.expandSegment(e,i,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,o,i){var a=this,s=ze(t,r,o),u=s.consumedSegments,c=s.lastChild,l=s.positionalParamSegments;if(!s.matched)return Fe(t);var f=this.applyRedirectCommands(u,r.redirectTo,l);return r.redirectTo.startsWith("/")?Ve(f):this.lineralizeSegments(r,f).pipe(Object(y.a)(function(r){return a.expandSegment(e,t,n,r.concat(o.slice(c)),i,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(p.a)(function(e){return n._loadedConfig=e,new ge(r,{})})):Object(a.a)(new ge(r,{}));var s=ze(t,n,r),u=s.consumedSegments,c=s.lastChild;if(!s.matched)return Fe(t);var l=r.slice(c);return this.getChildConfig(e,n).pipe(Object(y.a)(function(e){var n=e.module,r=e.routes,s=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return qe(e,t,n)&&Ge(n)!==ee})}(e,n)?{segmentGroup:Be(new ge(t,function(e,t){var n,r,o={};o[ee]=t;try{for(var a=Object(i.__values)(e),s=a.next();!s.done;s=a.next()){var u=s.value;""===u.path&&Ge(u)!==ee&&(o[Ge(u)]=new ge([],{}))}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}(r,new ge(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return qe(e,t,n)})}(e,n)?{segmentGroup:Be(new ge(e.segments,function(e,t,n,r){var o,a,s={};try{for(var u=Object(i.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;qe(e,t,l)&&!r[Ge(l)]&&(s[Ge(l)]=new ge([],{}))}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return Object(i.__assign)({},r,s)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,u,l,r),c=s.segmentGroup,f=s.slicedSegments;return 0===f.length&&c.hasChildren()?o.expandChildren(n,r,c).pipe(Object(p.a)(function(e){return new ge(u,e)})):0===r.length&&0===f.length?Object(a.a)(new ge(u,{})):o.expandSegment(n,c,r,f,ee,!0).pipe(Object(p.a)(function(e){return new ge(u.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t){var n=this;return t.children?Object(a.a)(new oe(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(a.a)(t._loadedConfig):function(e,t){var n=t.canLoad;return n&&0!==n.length?de(Object(u.a)(n).pipe(Object(p.a)(function(n){var r=e.get(n);return he(r.canLoad?r.canLoad(t):r(t))}))):Object(a.a)(!0)}(e.injector,t).pipe(Object(y.a)(function(r){return r?n.configLoader.load(e.injector,t).pipe(Object(p.a)(function(e){return t._loadedConfig=e,e})):function(e){return new c.a(function(t){return t.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(t)})):Object(a.a)(new oe([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(a.a)(n);if(r.numberOfChildren>1||!r.children[ee])return He(e.redirectTo);r=r.children[ee]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new ve(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return pe(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return pe(t.children,function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)}),new ge(i,a)},e.prototype.createSegments=function(e,t,n,r){var o=this;return t.map(function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,o=0;try{for(var a=Object(i.__values)(t),s=a.next();!s.done;s=a.next()){var u=s.value;if(u.path===e.path)return t.splice(o),u;o++}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return e},e}();function ze(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||re)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Be(e){if(1===e.numberOfChildren&&e.children[ee]){var t=e.children[ee];return new ge(e.segments.concat(t.segments),t.children)}return e}function qe(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ge(e){return e.outlet||ee}var Ke=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Qe(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Qe(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Ze(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Ze(e,this._root).map(function(e){return e.value})},e}();function Qe(e,t){if(e===t.value)return t;try{for(var n=Object(i.__values)(t.children),r=n.next();!r.done;r=n.next()){var o=Qe(e,r.value);if(o)return o}}catch(e){a={error:e}}finally{try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}}return null;var a,s}function Ze(e,t){if(e===t.value)return[t];try{for(var n=Object(i.__values)(t.children),r=n.next();!r.done;r=n.next()){var o=Ze(e,r.value);if(o.length)return o.unshift(t),o}}catch(e){a={error:e}}finally{try{r&&!r.done&&(s=n.return)&&s.call(n)}finally{if(a)throw a.error}}return[];var a,s}var We=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Ye(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Je=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,rt(r,t),r}return Object(i.__extends)(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(Ke);function $e(e,t){var n=function(e,t){var n=new tt([],{},{},"",{},ee,t,null,e.root,-1,{});return new nt("",new We(n,[]))}(e,t),r=new s.a([new me("",{})]),o=new s.a({}),i=new s.a({}),a=new s.a({}),u=new s.a(""),c=new Xe(r,o,a,u,i,ee,t,n.root);return c.snapshot=n.root,new Je(new We(c,[]),n)}var Xe=function(){function e(e,t,n,r,o,i,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this._futureSnapshot=s}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(p.a)(function(e){return ne(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(p.a)(function(e){return ne(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function et(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var o=n[r],a=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(a.component)break;r--}}return function(e){return e.reduce(function(e,t){return{params:Object(i.__assign)({},e.params,t.params),data:Object(i.__assign)({},e.data,t.data),resolve:Object(i.__assign)({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var tt=function(){function e(e,t,n,r,o,i,a,s,u,c,l){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=i,this.component=a,this.routeConfig=s,this._urlSegment=u,this._lastPathIndex=c,this._resolve=l}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=ne(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=ne(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),nt=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,rt(r,n),r}return Object(i.__extends)(t,e),t.prototype.toString=function(){return ot(this._root)},t}(Ke);function rt(e,t){t.value._routerState=e,t.children.forEach(function(t){return rt(e,t)})}function ot(e){var t=e.children.length>0?" { "+e.children.map(ot).join(", ")+" } ":"";return""+e.value+t}function it(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ce(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ce(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n0&&st(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==fe(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),lt=function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n};function ft(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[ee]:""+e}function pt(e,t,n){if(e||(e=new ge([],{})),0===e.segments.length&&e.hasChildren())return dt(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o=n.length)return i;var a=e.segments[o],s=ft(n[r]),u=r0&&void 0===s)break;if(s&&u&&"object"==typeof u&&void 0===u.outlets){if(!gt(s,u,a))return i;r+=2}else{if(!gt(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?fe(n).parameters:{};o=new tt(n,u,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,kt(e),r,e.component,e,Et(t),St(t)+n.length,jt(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new wt;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||re)(n,e,t);if(!r)throw new wt;var o={};pe(r.posParams,function(e,t){o[t]=e.path});var a=r.consumed.length>0?Object(i.__assign)({},o,r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(t,e,n);a=c.consumedSegments,s=n.slice(c.lastChild),o=new tt(a,c.parameters,Object.freeze(this.urlTree.queryParams),this.urlTree.fragment,kt(e),r,e.component,e,Et(t),St(t)+a.length,jt(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),f=Ot(t,a,s,l),p=f.segmentGroup,d=f.slicedSegments;if(0===d.length&&p.hasChildren()){var h=this.processChildren(l,p);return[new We(o,h)]}if(0===l.length&&0===d.length)return[new We(o,[])];var y=this.processSegment(l,p,d,ee);return[new We(o,y)]},e}();function Et(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function St(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Ot(e,t,n,r){if(n.length>0&&function(e,t,n){return r.some(function(n){return xt(e,t,n)&&Tt(n)!==ee})}(e,n)){var o=new ge(t,function(e,t,n,r){var o,a,s={};s[ee]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var u=Object(i.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(""===l.path&&Tt(l)!==ee){var f=new ge([],{});f._sourceSegment=e,f._segmentIndexShift=t.length,s[Tt(l)]=f}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return s}(e,t,r,new ge(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return xt(e,t,n)})}(e,n)){var a=new ge(e.segments,function(e,t,n,r){var o,a,s={};try{for(var u=Object(i.__values)(n),c=u.next();!c.done;c=u.next()){var l=c.value;if(xt(e,t,l)&&!r[Tt(l)]){var f=new ge([],{});f._sourceSegment=e,f._segmentIndexShift=e.segments.length,s[Tt(l)]=f}}}catch(e){o={error:e}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(o)throw o.error}}return Object(i.__assign)({},r,s)}(e,n,r,e.children));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new ge(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function xt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Tt(e){return e.outlet||ee}function kt(e){return e.data||{}}function jt(e){return e.resolve||{}}var Pt=function(){},It=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),At=new o.InjectionToken("ROUTES"),Dt=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(p.a)(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new oe(le(o.injector.get(At)).map(ue),o)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?Object(u.a)(this.loader.load(e)):he(e()).pipe(Object(y.a)(function(e){return e instanceof o.NgModuleFactory?Object(a.a)(e):Object(u.a)(t.compiler.compileModuleAsync(e))}))},e}(),Nt=function(){},Rt=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function Mt(e){throw e}function Lt(e){return Object(a.a)(null)}var Ft=function(){function e(e,t,n,r,i,a,u,c){var f=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=c,this.navigations=new s.a(null),this.navigationId=0,this.events=new l.a,this.errorHandler=Mt,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Lt,afterPreactivation:Lt},this.urlHandlingStrategy=new Rt,this.routeReuseStrategy=new It,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.ngModule=i.get(o.NgModuleRef),this.resetConfig(c),this.currentUrlTree=new ve(new ge([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Dt(a,u,function(e){return f.triggerEvent(new Z(e))},function(e){return f.triggerEvent(new W(e))}),this.routerState=$e(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.urlSerializer.parse(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?{navigationId:t.state.navigationId}:null;setTimeout(function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){ie(e),this.config=e.map(ue),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,a=t.fragment,s=t.preserveQueryParams,u=t.queryParamsHandling,c=t.preserveFragment;Object(o.isDevMode)()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,f=c?this.currentUrlTree.fragment:a,p=null;if(u)switch(u){case"merge":p=Object(i.__assign)({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=s?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(e,t,n,r,o){if(0===n.length)return ut(t.root,t.root,t,r,o);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ct(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var a={};return pe(r.outlets,function(e,t){a[t]="string"==typeof e?e.split("/"):e}),Object(i.__spread)(e,[{outlets:a}])}if(r.segmentPath)return Object(i.__spread)(e,[r.segmentPath])}return"string"!=typeof r?Object(i.__spread)(e,[r]):0===o?(r.split("/").forEach(function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):Object(i.__spread)(e,[r])},[]);return new ct(n,t,r)}(n);if(a.toRoot())return ut(t.root,new ge([],{}),t,r,o);var s=function(e,n,r){if(e.isAbsolute)return new lt(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new lt(r.snapshot._urlSegment,!0,0);var o=st(e.commands[0])?0:1;return function(t,n,i){for(var a=r.snapshot._urlSegment,s=r.snapshot._lastPathIndex+o,u=e.numberOfDoubleDots;u>s;){if(u-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new lt(a,!1,s-u)}()}(a,0,e),u=s.processChildren?dt(s.segmentGroup,s.index,a.commands):pt(s.segmentGroup,s.index,a.commands);return ut(s.segmentGroup,u,t,r,o)}(l,this.currentUrlTree,e,p,f)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1});var n=e instanceof ve?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r0;s||(s=e[a]=[]);var c=$(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:c,handler:i});else{for(var l=!1,f=0;f-1},t}(I),ie=["alt","control","meta","shift"],ae={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},se=function(e){function t(t){return e.call(this,t)||this}return Object(i.__extends)(t,e),t.prototype.supports=function(e){return null!=t.parseEventName(e)},t.prototype.addEventListener=function(e,n,r){var o=t.parseEventName(n),i=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return s().onAndCancel(e,o.domEventName,i)})},t.parseEventName=function(e){var n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var o=t._normalizeKey(n.pop()),i="";if(ie.forEach(function(e){var t=n.indexOf(e);t>-1&&(n.splice(t,1),i+=e+".")}),i+=o,0!=n.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a},t.getEventFullKey=function(e){var t="",n=s().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),ie.forEach(function(r){r!=n&&(0,ae[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,n,r){return function(o){t.getEventFullKey(o)===e&&r.runGuarded(function(){return n(o)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(I),ue=function(){},ce=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return Object(i.__extends)(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case o.SecurityContext.NONE:return t;case o.SecurityContext.HTML:return t instanceof fe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),Object(o["\u0275_sanitizeHtml"])(this._doc,String(t)));case o.SecurityContext.STYLE:return t instanceof pe?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),Object(o["\u0275_sanitizeStyle"])(t));case o.SecurityContext.SCRIPT:if(t instanceof de)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case o.SecurityContext.URL:return t instanceof ye||t instanceof he?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Object(o["\u0275_sanitizeUrl"])(String(t)));case o.SecurityContext.RESOURCE_URL:if(t instanceof ye)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof le)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new fe(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new pe(e)},t.prototype.bypassSecurityTrustScript=function(e){return new de(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new he(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new ye(e)},t}(ue),le=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(le),pe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"Style"},t}(le),de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"Script"},t}(le),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"URL"},t}(le),ye=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(i.__extends)(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(le),ve=[{provide:o.PLATFORM_ID,useValue:r.v},{provide:o.PLATFORM_INITIALIZER,useValue:function(){d.makeCurrent(),w.init()},multi:!0},{provide:r.r,useClass:g,deps:[y]},{provide:y,useFactory:function(){return document},deps:[]}],ge=Object(o.createPlatformFactory)(o.platformCore,"browser",ve);function me(){return new o.ErrorHandler}var _e=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return e.withServerTransition=function(t){return{ngModule:e,providers:[{provide:o.APP_ID,useValue:t.appId},{provide:_,useExisting:o.APP_ID},b]}},e}();"undefined"!=typeof window&&window},Zn8D:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var r=n("psW0"),o=n("mChF");function i(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),Object(r.a)(o.a,e)}},b7mW:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=n("mrSG"),o=function(e){function t(){var n=e.call(this,"argument out of range")||this;return n.name="ArgumentOutOfRangeError",Object.setPrototypeOf(n,t.prototype),n}return r.__extends(t,e),t}(Error)},crnd:function(e,t,n){var r={"./access-denied/access-denied.module.ngfactory":["iUTe",10],"./blank-page/blank-page.module.ngfactory":["LcBl",1],"./bs-component/bs-component.module.ngfactory":["oW3c",0,2],"./bs-element/bs-element.module.ngfactory":["WgX5",0,4],"./charts/charts.module.ngfactory":["rYty",0,7],"./dashboard/dashboard.module.ngfactory":["UE8e",0,8],"./form/form.module.ngfactory":["aEOV",0,5],"./grid/grid.module.ngfactory":["6OTL",0,3],"./layout/layout.module.ngfactory":["/cdV",0,14],"./login/login.module.ngfactory":["f+ep",13],"./not-found/not-found.module.ngfactory":["Ec8W",9],"./server-error/server-error.module.ngfactory":["+g98",11],"./signup/signup.module.ngfactory":["mH0F",12],"./tables/tables.module.ngfactory":["TP0X",0,6]};function o(e){var t=r[e];return t?Promise.all(t.slice(1).map(n.e)).then(function(){return n(t[0])}):Promise.resolve().then(function(){var t=new Error('Cannot find module "'+e+'".');throw t.code="MODULE_NOT_FOUND",t})}o.keys=function(){return Object.keys(r)},o.id="crnd",e.exports=o},iLxQ:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},isby:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},mChF:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",function(){return r})},mrSG:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return o}),n.d(t,"__assign",function(){return i}),n.d(t,"__rest",function(){return a}),n.d(t,"__decorate",function(){return s}),n.d(t,"__param",function(){return u}),n.d(t,"__metadata",function(){return c}),n.d(t,"__awaiter",function(){return l}),n.d(t,"__generator",function(){return f}),n.d(t,"__exportStar",function(){return p}),n.d(t,"__values",function(){return d}),n.d(t,"__read",function(){return h}),n.d(t,"__spread",function(){return y}),n.d(t,"__await",function(){return v}),n.d(t,"__asyncGenerator",function(){return g}),n.d(t,"__asyncDelegator",function(){return m}),n.d(t,"__asyncValues",function(){return _}),n.d(t,"__makeTemplateObject",function(){return b}),n.d(t,"__importStar",function(){return w}),n.d(t,"__importDefault",function(){return C});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function s(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n(function(t){t(e.value)}).then(a,s)}u((r=r.apply(e,t||[])).next())})}function f(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=r[2&i[0]?"return":i[0]?"throw":"next"])&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[0,o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function y(){for(var e=[],t=0;t1||s(e,t)})})}function s(e,t){try{(n=o[e](t)).value instanceof v?Promise.resolve(n.value.v).then(u,c):l(i[0][2],n)}catch(e){l(i[0][3],e)}var n}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function m(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){e[r]&&(t[r]=function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:o?o(t):t})}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator];return t?t.call(e):d(e)}function b(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}},nkY7:function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return r})},p0ib:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var r=n("6blF"),o=n("nkY7"),i=n("Zn8D"),a=n("IUTb");function s(){for(var e=[],t=0;t1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof u&&(n=e.pop()),null===s&&1===e.length&&e[0]instanceof r.a?e[0]:Object(i.a)(n)(Object(a.a)(e,s))}},psW0:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var r=n("mrSG"),o=n("zotm"),i=n("MGBS"),a=n("67Y/"),s=n("0/uQ");function u(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(u(function(n,r){return Object(s.a)(e(n,r)).pipe(Object(a.a)(function(e,o){return t(n,e,r,o)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new c(e,n))})}var c=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.project,this.concurrent))},e}(),l=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var o=e.call(this,t)||this;return o.project=n,o.concurrent=r,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return r.__extends(t,e),t.prototype._next=function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(i.a)},pugT:function(e,t,n){"use strict";var r,o=n("isby"),i=n("McSo"),a=n("2Bdj"),s={e:{}};function u(){try{return r.apply(this,arguments)}catch(e){return s.e=e,s}}function c(e){return r=e,u}var l=n("mrSG"),f=function(e){function t(n){var r=e.call(this,n?n.length+" errors occurred during unsubscription:\n "+n.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"")||this;return r.errors=n,r.name="UnsubscriptionError",Object.setPrototypeOf(r,t.prototype),r}return l.__extends(t,e),t}(Error);n.d(t,"a",function(){return p});var p=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,r=this._parents,u=this._unsubscribe,l=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var p=-1,h=r?r.length:0;n;)n.remove(this),n=++p *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t) *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var o=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var i=o[1],a=o[2],s=o[3];t.push(pe(i,s)),"<"!=a[0]||i==ce&&s==ce||t.push(pe(s,i))}(e,o,r)}):o.push(n),o),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:me(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return se(n,e,t)}),options:me(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,o=0,i=e.steps.map(function(e){t.currentTime=r;var i=se(n,e,t);return o=Math.max(o,t.currentTime),i});return t.currentTime=o,{type:3,steps:i,options:me(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return _e(Q(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var o=_e(0,0,"");return o.dynamic=!0,o.strValue=r,o}return _e((n=n||Q(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var o=e.styles?e.styles:g({});if(5==o.type)n=this.visitKeyframes(o,t);else{var i=e.styles,a=!1;if(!i){a=!0;var s={};r.easing&&(s.easing=r.easing),i=g(s)}t.currentTime+=r.duration+r.delay;var u=this.visitStyle(i,t);u.isEmptyStep=a,n=u}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==y?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,o=null;return n.forEach(function(e){if(ge(e)){var t=e,n=t.easing;if(n&&(o=n,delete t.easing),!r)for(var i in t)if(t[i].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,o=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var a,s,u,c=t.collectedStyles[t.currentQuerySelector],l=c[r],f=!0;l&&(i!=o&&i>=l.startTime&&o<=l.endTime&&(t.errors.push('The CSS property "'+r+'" that exists between the times of "'+l.startTime+'ms" and "'+l.endTime+'ms" is also being animated in a parallel animation between the times of "'+i+'ms" and "'+o+'ms"'),f=!1),i=l.startTime),f&&(c[r]={startTime:i,endTime:o}),t.options&&(a=t.errors,s=t.options.params||{},(u=ee(e[r])).length&&u.forEach(function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],a=!1,s=!1,u=0,c=e.steps.map(function(e){var r=n._makeStyleAst(e,t),c=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ge(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ge(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),l=0;return null!=c&&(o++,l=r.offset=c),s=s||l<0||l>1,a=a||l0&&o0?o==p?1:f*o:i[o],s=a*y;t.currentTime=d+h.delay+s,h.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:se(this,$(e.animation),t),options:me(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:me(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:me(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var o=Object(C.__read)(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(de,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),i=o[0],a=o[1];t.currentQuerySelector=n.length?n+" "+i:i,k(t.collectedStyles,t.currentQuerySelector,{});var s=se(this,$(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:me(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Q(e.timings,t.errors,!0);return{type:12,animation:se(this,$(e.animation),t),timings:n,options:null}},e}(),ve=function(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function ge(e){return!Array.isArray(e)&&"object"==typeof e}function me(e){var t;return e?(e=Z(e)).params&&(e.params=(t=e.params)?Z(t):null):e={},e}function _e(e,t,n){return{duration:e,delay:t,easing:n}}function be(e,t,n,r,o,i,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:a,subTimeline:s}}var we=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,Object(C.__spread)(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),Ce=new RegExp(":enter","g"),Ee=new RegExp(":leave","g");function Se(e,t,n,r,o,i,a,s,u,c){return void 0===i&&(i={}),void 0===a&&(a={}),void 0===c&&(c=[]),(new Oe).buildKeyframes(e,t,n,r,o,i,a,s,u,c)}var Oe=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,o,i,a,s,u,c){void 0===c&&(c=[]),u=u||new we;var l=new Te(e,t,u,r,o,c,[]);l.options=s,l.currentTimeline.setStyles([i],null,l.errors,s),se(this,n,l);var f=l.timelines.filter(function(e){return e.containsAnimation()});if(f.length&&Object.keys(a).length){var p=f[f.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,l.errors,s)}return f.length?f.map(function(e){return e.buildKeyframes()}):[be(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,o=null!=n.duration?G(n.duration):null,i=null!=n.delay?G(n.delay):null;return 0!==o&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,o,i);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),se(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,o=t,i=e.options;if(i&&(i.params||i.delay)&&((o=t.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=xe);var a=G(i.delay);o.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return se(n,e,o)}),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],o=t.currentTimeline.currentTime,i=e.options&&e.options.delay?G(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);i&&s.delayNextStep(i),se(n,a,s),o=Math.max(o,s.currentTimeline.currentTime),r.push(s.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(o),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Q(t.params?te(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(n.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,o=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach(function(e){i.forwardTime((e.offset||0)*o),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+o),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,o=e.options||{},i=o.delay?G(o.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=xe);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,t.errors);t.currentQueryTotal=s.length;var u=null;s.forEach(function(r,o){t.currentQueryIndex=o;var s=t.createSubContext(e.options,r);i&&s.delayNextStep(i),r===t.element&&(u=s.currentTimeline),se(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),u&&(t.currentTimeline.mergeTimelineCollectedStyles(u),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,o=e.timings,i=Math.abs(o.duration),a=i*(t.currentQueryTotal-1),s=i*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var u=t.currentTimeline;s&&u.delayNextStep(s);var c=u.currentTime;se(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-c+(r.startTime-n.currentTimeline.startTime)},e}(),xe={},Te=function(){function e(e,t,n,r,o,i,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=i,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=xe,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new ke(this._driver,t,0),a.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,o=this.options;null!=r.duration&&(o.duration=G(r.duration)),null!=r.delay&&(o.delay=G(r.delay));var i=r.params;if(i){var a=o.params;a||(a=this.options.params={}),Object.keys(i).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=te(i[e],a,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var o=n||this.element,i=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||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,this.subContextCount++,i},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=xe,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},o=new je(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,o,i){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(Ce,"."+this._enterClassName)).replace(Ee,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,Object(C.__spread)(s))}return o||0!=a.length||i.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),a},e}(),ke=function(){function e(e,t,n,r){this._driver=e,this.element=t,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.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))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||y,t._currentKeyframe[e]=y}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var o=this;t&&(this._previousKeyframe.easing=t);var i=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=y}):W(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=te(a[e],i,n);o._pendingStyles[e]=t,o._localTimelineStyles.hasOwnProperty(e)||(o._backFill[e]=o._globalTimelineStyles.hasOwnProperty(e)?o._globalTimelineStyles[e]:y),o._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],o=e._styleSummary[n];(!r||o.time>r.time)&&t._updateStyle(n,o.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach(function(i,a){var s=W(i,!0);Object.keys(s).forEach(function(e){var r=s[e];r==w?t.add(e):r==y&&n.add(e)}),r||(s.offset=a/e.duration),o.push(s)});var i=t.size?ne(t.values()):[],a=n.size?ne(n.values()):[];if(r){var s=o[0],u=Z(s);s.offset=0,u.offset=1,o=[s,u]}return be(this.element,o,i,a,this.duration,this.startTime,this.easing,!1)},e}(),je=function(e){function t(t,n,r,o,i,a,s){void 0===s&&(s=!1);var u=e.call(this,t,n,a.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=o,u.postStyleProps=i,u._stretchStartingKeyframe=s,u.timings={duration:a.duration,delay:a.delay,easing:a.easing},u}return Object(C.__extends)(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,o=t.easing;if(this._stretchStartingKeyframe&&n){var i=[],a=r+n,s=n/a,u=W(e[0],!1);u.offset=0,i.push(u);var c=W(e[0],!1);c.offset=Pe(s),i.push(c);for(var l=e.length-1,f=1;f<=l;f++){var p=W(e[f],!1);p.offset=Pe((n+p.offset*r)/a),i.push(p)}r=a,n=0,o="",e=i}return be(this.element,e,this.preStyleProps,this.postStyleProps,r,n,o,!0)},t}(ke);function Pe(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var Ie=function(){},Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(C.__extends)(t,e),t.prototype.normalizePropertyName=function(e,t){return oe(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var o="",i=n.toString().trim();if(De[t]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return i+o},t}(Ie),De=function(e){var t={};return"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(",").forEach(function(e){return t[e]=!0}),t}();function Ne(e,t,n,r,o,i,a,s,u,c,l,f,p){return{type:0,element:e,triggerName:t,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:u,preStyleProps:c,postStyleProps:l,totalTime:f,errors:p}}var Re={},Me=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,o){return e.some(function(e){return e(t,n,r,o)})}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],o=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return o?o.buildStyles(t,n):i},e.prototype.build=function(e,t,n,r,o,i,a,s,u){var c=[],l=this.ast.options&&this.ast.options.params||Re,f=this.buildStyles(n,a&&a.params||Re,c),p=s&&s.params||Re,d=this.buildStyles(r,p,c),h=new Set,y=new Map,v=new Map,g="void"===r,m={params:Object(C.__assign)({},l,p)},_=Se(e,t,this.ast.animation,o,i,f,d,m,u,c),b=0;if(_.forEach(function(e){b=Math.max(e.duration+e.delay,b)}),c.length)return Ne(t,this._triggerName,n,r,g,f,d,[],[],y,v,b,c);_.forEach(function(e){var n=e.element,r=k(y,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var o=k(v,n,{});e.postStyleProps.forEach(function(e){return o[e]=!0}),n!==t&&h.add(n)});var w=ne(h.values());return Ne(t,this._triggerName,n,r,g,f,d,_,w,y,v,b)},e}(),Le=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=Z(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var o=e;Object.keys(o).forEach(function(e){var i=o[e];i.length>1&&(i=te(i,r,t)),n[e]=i})}}),n},e}(),Fe=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){n.states[e.name]=new Le(e.style,e.options&&e.options.params||{})}),Ve(this.states,"true","1"),Ve(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new Me(e,t,n.states))}),this.fallbackTransition=new Me(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find(function(o){return o.match(e,t,n,r)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function Ve(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var He=new we,Ue=function(){function e(e,t){this._driver=e,this._normalizer=t,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=he(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,o=S(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var o,i=[],a=this._animations[e],s=new Map;if(a?(o=Se(this._driver,t,a,"ng-enter","ng-leave",{},{},n,He,i)).forEach(function(e){var t=k(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(i.push("The requested animation doesn't exist or has already been destroyed"),o=[]),i.length)throw new Error("Unable to create the animation due to the following errors: "+i.join("\n"));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,y)})});var u=E(o.map(function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=u,u.onDestroy(function(){return r.destroy(e)}),this.players.push(u),u},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var o=T(t,"","","");return O(this._getPlayer(e),n,o,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),ze=[],Be={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},qe={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Ge="__ng_removed",Ke=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(n?e.value:e),n){var r=Z(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),Qe=new Ke("void"),Ze=new Ke("DELETED"),We=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,rt(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var o,i=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" because the provided event is undefined!');if("start"!=(o=n)&&"done"!=o)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=k(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var u=k(this._engine.statesByElement,e,{});return u.hasOwnProperty(t)||(rt(e,"ng-trigger"),rt(e,"ng-trigger-"+t),u[t]=Qe),function(){i._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),i._triggers[t]||delete u[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var o=this;void 0===r&&(r=!0);var i=this._getTrigger(t),a=new Je(this.id,t,e),s=this._engine.statesByElement.get(e);s||(rt(e,"ng-trigger"),rt(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var u=s[t],c=new Ke(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&c.absorbOptions(u.options),s[t]=c,u){if(u===Ze)return a}else u=Qe;if("void"===c.value||u.value!==c.value){var l=k(this._engine.playersByElement,e,[]);l.forEach(function(e){e.namespaceId==o.id&&e.triggerName==t&&e.queued&&e.destroy()});var f=i.matchTransition(u.value,c.value,e,c.params),p=!1;if(!f){if(!r)return;f=i.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:f,fromState:u,toState:c,player:a,isFallbackTransition:p}),p||(rt(e,"ng-animate-queued"),a.onStart(function(){ot(e,"ng-animate-queued")})),a.onDone(function(){var t=o.players.indexOf(a);t>=0&&o.players.splice(t,1);var n=o._engine.playersByElement.get(e);if(n){var r=n.indexOf(a);r>=0&&n.splice(r,1)}}),this.players.push(a),l.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var o=0;o=0){for(var r=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,t)){this._namespaceList.splice(o+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.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);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),o=0;o=0;j--)this._namespaceList[j].drainQueuedTransitions(t).forEach(function(e){var t=e.player;x.push(t);var i=e.element;if(f&&n.driver.containsElement(f,i)){var l=S.get(i),p=h.get(i),d=n._buildInstruction(e,r,p,l);if(d.errors&&d.errors.length)T.push(d);else{if(e.isFallbackTransition)return t.onStart(function(){return J(i,d.fromStyles)}),t.onDestroy(function(){return Y(i,d.toStyles)}),void o.push(t);d.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(i,d.timelines),a.push({instruction:d,player:t,element:i}),d.queriedElements.forEach(function(e){return k(s,e,[]).push(t)}),d.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),d.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=c.get(t);r||c.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}}else t.destroy()});if(T.length){var P=[];T.forEach(function(e){P.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return P.push("- "+e+"\n")})}),x.forEach(function(e){return e.destroy()}),this.reportError(P)}var I=new Map,A=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(A.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,I))}),o.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){k(I,t,[]).push(e),e.destroy()})});var D=g.filter(function(e){return at(e,u,c)}),N=new Map;et(N,this.driver,_,c,y).forEach(function(e){at(e,u,c)&&D.push(e)});var R=new Map;d.forEach(function(e,t){et(R,n.driver,new Set(e),u,w)}),D.forEach(function(e){var t=N.get(e),n=R.get(e);N.set(e,Object(C.__assign)({},t,n))});var M=[],L=[],V={};a.forEach(function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(l.has(t))return a.onDestroy(function(){return Y(t,s.toStyles)}),a.disabled=!0,a.overrideTotalTime(s.totalTime),void o.push(a);var u=V;if(A.size>1){for(var c=t,f=[];c=c.parentNode;){var p=A.get(c);if(p){u=p;break}f.push(c)}f.forEach(function(e){return A.set(e,u)})}var d=n._buildAnimation(a.namespaceId,s,I,i,R,N);if(a.setRealPlayer(d),u===V)M.push(a);else{var h=n.playersByElement.get(u);h&&h.length&&(a.parentPlayer=E(h)),o.push(a)}}else J(t,s.fromStyles),a.onDestroy(function(){return Y(t,s.toStyles)}),L.push(a),l.has(t)&&o.push(a)}),L.forEach(function(e){var t=i.get(e.element);if(t&&t.length){var n=E(t);e.setRealPlayer(n)}}),o.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var H=0;H0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new _(e.duration,e.delay)},e}(),Je=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new _,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return O(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){k(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function $e(e){return e&&1===e.nodeType}function Xe(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function et(e,t,n,r,o){var i=[];n.forEach(function(e){return i.push(Xe(e))});var a=[];r.forEach(function(n,r){var i={};n.forEach(function(e){var n=i[e]=t.computeStyle(r,e,o);n&&0!=n.length||(r[Ge]=qe,a.push(r))}),e.set(r,i)});var s=0;return n.forEach(function(e){return Xe(e,i[s++])}),a}function tt(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),o=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var i=o.get(t);if(i)return i;var a=t.parentNode;return i=n.has(a)?a:r.has(a)?1:e(a),o.set(t,i),i}(e);1!==t&&n.get(t).push(e)}),n}var nt="$$classes";function rt(e,t){if(e.classList)e.classList.add(t);else{var n=e[nt];n||(n=e[nt]={}),n[t]=!0}}function ot(e,t){if(e.classList)e.classList.remove(t);else{var n=e[nt];n&&delete n[t]}}function it(e,t,n){E(n).onDone(function(){return e.processLeaveNode(t)})}function at(e,t,n){var r=n.get(e);if(!r)return!1;var o=t.get(e);return o?r.forEach(function(e){return o.add(e)}):t.set(e,r),n.delete(e),!0}var st=function(){function e(e,t){var n=this;this._driver=e,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Ye(e,t),this._timelineEngine=new Ue(e,t),this._transitionEngine.onRemovalComplete=function(e,t){return n.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,o){var i=e+"-"+r,a=this._triggerCache[i];if(!a){var s=[],u=he(this._driver,o,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=function(e,t){return new Fe(e,t)}(r,u),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(t,r,a)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var o=Object(C.__read)(j(n),2);this._timelineEngine.command(o[0],t,o[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,o){if("@"==n.charAt(0)){var i=Object(C.__read)(j(n),2);return this._timelineEngine.listen(i[0],t,i[1],o)}return this._transitionEngine.listen(e,t,n,r,o)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}(),ut="animation",ct="animationend",lt=function(){function e(e,t,n,r,o,i,a){var s=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=o,this._fillMode=i,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return s._handleCallback(e)}}return e.prototype.apply=function(){var e,t,n;t=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=vt(e=this._element,"").trim()).length&&(function(e,t){for(var n=0;n=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),ht(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=dt(n=vt(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),yt(e,"",n.join(","))))},e}();function ft(e,t,n){yt(e,"PlayState",n,pt(e,t))}function pt(e,t){var n=vt(e,"");return n.indexOf(",")>0?dt(n.split(","),t):dt([n],t)}function dt(e,t){for(var n=0;n=0)return n;return-1}function ht(e,t,n){n?e.removeEventListener(ct,t):e.addEventListener(ct,t)}function yt(e,t,n,r){var o=ut+t;if(null!=r){var i=e.style[o];if(i.length){var a=i.split(",");a[r]=n,n=a.join(",")}}e.style[o]=n}function vt(e,t){return e.style[ut+t]}var gt="linear",mt=function(e){return e[e.INITIALIZED=1]="INITIALIZED",e[e.STARTED=2]="STARTED",e[e.FINISHED=3]="FINISHED",e[e.DESTROYED=4]="DESTROYED",e}({}),_t=function(){function e(e,t,n,r,o,i,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=o,this._finalStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this.state=0,this.easing=i||gt,this.totalTime=r+o,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this.state>=mt.DESTROYED||(this.state=mt.DESTROYED,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this.state>=mt.FINISHED||(this.state=mt.FINISHED,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this.state>=mt.STARTED},e.prototype.init=function(){this.state>=mt.INITIALIZED||(this.state=mt.INITIALIZED,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this.state=mt.STARTED),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new lt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this.state>=mt.FINISHED;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:ue(e.element,r))})}this.currentSnapshot=t},e}(),bt=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._styles=n,r._startingStyles={},r.__initialized=!1,r}return Object(C.__extends)(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){t.element.style[e]=t._styles[e]}),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style[e]=n:t.element.style.removeProperty(e)}),this._startingStyles=null,e.prototype.destroy.call(this))},t}(_),wt=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return L(e)},e.prototype.matchesElement=function(e,t){return V(e,t)},e.prototype.containsElement=function(e,t){return H(e,t)},e.prototype.query=function(e,t,n){return U(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){var r="@keyframes "+t+" {\n",o="";(n=n.map(function(e){return t=e,n={},Object.keys(t).forEach(function(e){var r=e.replace(/([a-z])([A-Z])/g,"$1-$2");n[r]=t[e]}),n;var t,n})).forEach(function(e){o=" ";var t=parseFloat(e.offset);r+=""+o+100*t+"% {\n",o+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=o+"animation-timing-function: "+n+";\n"));default:return void(r+=""+o+t+": "+n+";\n")}}),r+=o+"}\n"}),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i},e.prototype.animate=function(e,t,n,r,o,i,a){void 0===i&&(i=[]),a&&this._notifyFaultyScrubber();var s=i.filter(function(e){return e instanceof _t}),u={};ie(n,r)&&s.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})});var c=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=ae(e,t,u));if(0==n)return new bt(e,c);var l="gen_css_kf_"+this._count++,f=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(f);var p=new _t(e,t,l,n,r,o,c);return p.onDestroy(function(){var e;(e=f).parentNode.removeChild(e)}),p},e.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},e}(),Ct=function(){function e(e,t,n){this.element=e,this.keyframes=t,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;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()})}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:ue(e.element,n))}),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Et=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(St().toString()),this._cssKeyframesDriver=new wt}return e.prototype.validateStyleProperty=function(e){return L(e)},e.prototype.matchesElement=function(e,t){return V(e,t)},e.prototype.containsElement=function(e,t){return H(e,t)},e.prototype.query=function(e,t,n){return U(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,o,i,a){if(void 0===i&&(i=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,o,i);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(s.easing=o);var u={},c=i.filter(function(e){return e instanceof Ct});return ie(n,r)&&c.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return u[e]=t[e]})}),t=ae(e,t=t.map(function(e){return W(e,!1)}),u),new Ct(e,t,s)},e}();function St(){return"undefined"!=typeof Element&&Element.prototype.animate||{}}var Ot=function(e){function t(t,n){var o=e.call(this)||this;return o._nextAnimationId=0,o._renderer=t.createRenderer(n.body,{id:"0",encapsulation:r.ViewEncapsulation.None,styles:[],data:{animation:[]}}),o}return Object(C.__extends)(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?v(e):e;return kt(this._renderer,null,t,"register",[n]),new xt(t,this._renderer)},t}(h),xt=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return Object(C.__extends)(t,e),t.prototype.create=function(e,t){return new Tt(this._id,e,t||{},this._renderer)},t}(function(){}),Tt=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n=0&&e0){var r=e.slice(0,n),o=r.toLowerCase(),i=e.slice(n+1).trim();t.maybeSetNormalizedName(r,o),t.headers.has(o)?t.headers.get(o).push(i):t.headers.set(o,[i])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],o=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(o,r),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,Object(C.__spread)(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter(function(e){return-1===o.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),Kt=function(){function e(){}return e.prototype.encodeKey=function(e){return Qt(e)},e.prototype.encodeValue=function(e){return Qt(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function Qt(e){return encodeURIComponent(e).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 Zt=function(){function e(e){void 0===e&&(e={});var t,n,r,o=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Kt,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),o=Object(C.__read)(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),i=o[0],a=o[1],s=r.get(i)||[];s.push(a),r.set(i,s)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];o.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=null)},e}();function Wt(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Yt(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Jt(e){return"undefined"!=typeof FormData&&e instanceof FormData}var $t=function(){function e(e,t,n,r){var o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){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,o=r):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new Gt),this.params){var i=this.params.toString();if(0===i.length)this.urlWithParams=t;else{var a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a=200&&this.status<300}}(),tn=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Xt.ResponseHeader,n}return Object(C.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(en),nn=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Xt.Response,n.body=void 0!==t.body?t.body:null,n}return Object(C.__extends)(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(en),rn=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return Object(C.__extends)(t,e),t}(en);function on(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var an=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,o=this;if(void 0===n&&(n={}),e instanceof $t)r=e;else{var i;i=n.headers instanceof Gt?n.headers:new Gt(n.headers);var a=void 0;n.params&&(a=n.params instanceof Zt?n.params:new Zt({fromObject:n.params})),r=new $t(e,t,void 0!==n.body?n.body:null,{headers:i,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=Object(Ft.a)(r).pipe(Object(Ut.a)(function(e){return o.handler.handle(e)}));if(e instanceof $t||"events"===n.observe)return s;var u=s.pipe(Object(zt.a)(function(e){return e instanceof nn}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return u.pipe(Object(Ht.a)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return u.pipe(Object(Ht.a)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return u.pipe(Object(Ht.a)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return u.pipe(Object(Ht.a)(function(e){return e.body}))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new Zt).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,on(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,on(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,on(n,t))},e}(),sn=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),un=new r.InjectionToken("HTTP_INTERCEPTORS"),cn=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),ln=/^\)\]\}',?\n/,fn=function(){},pn=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),dn=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new Vt.a(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=e.serializeBody(),s=null,u=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new Gt(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new tn({headers:o,status:t,statusText:n,url:i})},c=function(){var t=u(),o=t.headers,i=t.status,a=t.statusText,s=t.url,c=null;204!==i&&(c=void 0===r.response?r.responseText:r.response),0===i&&(i=c?200:0);var l=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof c){var f=c;c=c.replace(ln,"");try{c=""!==c?JSON.parse(c):null}catch(e){c=f,l&&(l=!1,c={error:e,text:c})}}l?(n.next(new nn({body:c,headers:o,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new rn({error:c,headers:o,status:i,statusText:a,url:s||void 0}))},l=function(e){var t=new rn({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(t)},f=!1,p=function(t){f||(n.next(u()),f=!0);var o={type:Xt.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},d=function(e){var t={type:Xt.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",c),r.addEventListener("error",l),e.reportProgress&&(r.addEventListener("progress",p),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:Xt.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",c),e.reportProgress&&(r.removeEventListener("progress",p),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}})},e}(),hn=new r.InjectionToken("XSRF_COOKIE_NAME"),yn=new r.InjectionToken("XSRF_HEADER_NAME"),vn=function(){},gn=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(p.x)(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),mn=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),_n=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(un,[]);this.chain=t.reduceRight(function(e,t){return new sn(e,t)},this.backend)}return this.chain.handle(e)},e}(),bn=function(){function e(){}return e.disable=function(){return{ngModule:e,providers:[{provide:mn,useClass:cn}]}},e.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:hn,useValue:t.cookieName}:[],t.headerName?{provide:yn,useValue:t.headerName}:[]]}},e}(),wn=function(){},Cn=n("ruFZ"),En=function(){function e(e){this.router=e}return e.prototype.canActivate=function(){return!!localStorage.getItem("isLoggedin")||(this.router.navigate(["/login"]),!1)},e}(),Sn=(n("+Sv0"),n("MviD"),function(){}),On=r["\u0275cmf"](a,[s],function(e){return r["\u0275mod"]([r["\u0275mpd"](512,r.ComponentFactoryResolver,r["\u0275CodegenComponentFactoryResolver"],[[8,[f]],[3,r.ComponentFactoryResolver],r.NgModuleRef]),r["\u0275mpd"](5120,r.LOCALE_ID,r["\u0275angular_packages_core_core_l"],[[3,r.LOCALE_ID]]),r["\u0275mpd"](4608,p.o,p.n,[r.LOCALE_ID,[2,p.w]]),r["\u0275mpd"](5120,r.APP_ID,r["\u0275angular_packages_core_core_f"],[]),r["\u0275mpd"](5120,r.IterableDiffers,r["\u0275angular_packages_core_core_j"],[]),r["\u0275mpd"](5120,r.KeyValueDiffers,r["\u0275angular_packages_core_core_k"],[]),r["\u0275mpd"](4608,d.c,d.r,[p.c]),r["\u0275mpd"](6144,r.Sanitizer,null,[d.c]),r["\u0275mpd"](4608,d.f,d.g,[]),r["\u0275mpd"](5120,d.d,function(e,t,n,r,o,i){return[new d.k(e,t),new d.o(n),new d.n(r,o,i)]},[p.c,r.NgZone,p.c,p.c,d.f,r["\u0275Console"]]),r["\u0275mpd"](4608,d.e,d.e,[d.d,r.NgZone]),r["\u0275mpd"](135680,d.m,d.m,[p.c]),r["\u0275mpd"](4608,d.l,d.l,[d.e,d.m]),r["\u0275mpd"](5120,B,Dt,[]),r["\u0275mpd"](5120,Ie,Nt,[]),r["\u0275mpd"](4608,st,At,[B,Ie]),r["\u0275mpd"](5120,r.RendererFactory2,Rt,[d.l,st,r.NgZone]),r["\u0275mpd"](6144,d.p,null,[d.m]),r["\u0275mpd"](4608,r.Testability,r.Testability,[r.NgZone]),r["\u0275mpd"](4608,d.h,d.h,[p.c]),r["\u0275mpd"](4608,d.i,d.i,[p.c]),r["\u0275mpd"](4608,h,Ot,[r.RendererFactory2,d.b]),r["\u0275mpd"](4608,vn,gn,[p.c,r.PLATFORM_ID,hn]),r["\u0275mpd"](4608,mn,mn,[vn,yn]),r["\u0275mpd"](5120,un,function(e){return[e]},[mn]),r["\u0275mpd"](4608,pn,pn,[]),r["\u0275mpd"](6144,fn,null,[pn]),r["\u0275mpd"](4608,dn,dn,[fn]),r["\u0275mpd"](6144,qt,null,[dn]),r["\u0275mpd"](4608,Bt,_n,[qt,r.Injector]),r["\u0275mpd"](4608,an,an,[Bt]),r["\u0275mpd"](5120,u.a,u.y,[u.l]),r["\u0275mpd"](4608,u.e,u.e,[]),r["\u0275mpd"](6144,u.g,null,[u.e]),r["\u0275mpd"](135680,u.q,u.q,[u.l,r.NgModuleFactoryLoader,r.Compiler,r.Injector,u.g]),r["\u0275mpd"](4608,u.f,u.f,[]),r["\u0275mpd"](5120,u.i,u.B,[u.z]),r["\u0275mpd"](5120,r.APP_BOOTSTRAP_LISTENER,function(e){return[e]},[u.i]),r["\u0275mpd"](5120,Cn.f,i,[an]),r["\u0275mpd"](4608,Cn.c,Cn.e,[]),r["\u0275mpd"](4608,Cn.h,Cn.d,[]),r["\u0275mpd"](4608,Cn.b,Cn.a,[]),r["\u0275mpd"](4608,Cn.m,Cn.m,[]),r["\u0275mpd"](4608,Cn.j,Cn.j,[Cn.m,Cn.f,Cn.c,Cn.h,Cn.b,Cn.k,Cn.l]),r["\u0275mpd"](4608,En,En,[u.l]),r["\u0275mpd"](1073742336,p.b,p.b,[]),r["\u0275mpd"](1024,r.ErrorHandler,d.q,[]),r["\u0275mpd"](1024,r.NgProbeToken,function(){return[u.u()]},[]),r["\u0275mpd"](512,u.z,u.z,[r.Injector]),r["\u0275mpd"](1024,r.APP_INITIALIZER,function(e,t){return[d.s(e),u.A(t)]},[[2,r.NgProbeToken],u.z]),r["\u0275mpd"](512,r.ApplicationInitStatus,r.ApplicationInitStatus,[[2,r.APP_INITIALIZER]]),r["\u0275mpd"](131584,r.ApplicationRef,r.ApplicationRef,[r.NgZone,r["\u0275Console"],r.Injector,r.ErrorHandler,r.ComponentFactoryResolver,r.ApplicationInitStatus]),r["\u0275mpd"](1073742336,r.ApplicationModule,r.ApplicationModule,[r.ApplicationRef]),r["\u0275mpd"](1073742336,d.a,d.a,[[3,d.a]]),r["\u0275mpd"](1073742336,Lt,Lt,[]),r["\u0275mpd"](1073742336,bn,bn,[]),r["\u0275mpd"](1073742336,wn,wn,[]),r["\u0275mpd"](1073742336,Cn.g,Cn.g,[]),r["\u0275mpd"](1024,u.t,u.w,[[3,u.l]]),r["\u0275mpd"](512,u.s,u.c,[]),r["\u0275mpd"](512,u.b,u.b,[]),r["\u0275mpd"](256,u.h,{},[]),r["\u0275mpd"](1024,p.j,u.v,[p.r,[2,p.a],u.h]),r["\u0275mpd"](512,p.i,p.i,[p.j]),r["\u0275mpd"](512,r.Compiler,r.Compiler,[]),r["\u0275mpd"](512,r.NgModuleFactoryLoader,r.SystemJsNgModuleLoader,[r.Compiler,[2,r.SystemJsNgModuleLoaderConfig]]),r["\u0275mpd"](1024,u.j,function(){return[[{path:"",loadChildren:"./layout/layout.module#LayoutModule",canActivate:[En]},{path:"login",loadChildren:"./login/login.module#LoginModule"},{path:"signup",loadChildren:"./signup/signup.module#SignupModule"},{path:"error",loadChildren:"./server-error/server-error.module#ServerErrorModule"},{path:"access-denied",loadChildren:"./access-denied/access-denied.module#AccessDeniedModule"},{path:"not-found",loadChildren:"./not-found/not-found.module#NotFoundModule"},{path:"**",redirectTo:"not-found"}]]},[]),r["\u0275mpd"](1024,u.l,u.x,[r.ApplicationRef,u.s,u.b,p.i,r.Injector,r.NgModuleFactoryLoader,r.Compiler,u.j,u.h,[2,u.r],[2,u.k]]),r["\u0275mpd"](1073742336,u.o,u.o,[[2,u.t],[2,u.l]]),r["\u0275mpd"](1073742336,Sn,Sn,[]),r["\u0275mpd"](1073742336,a,a,[]),r["\u0275mpd"](256,r["\u0275APP_ROOT"],!0,[]),r["\u0275mpd"](256,Mt,"BrowserAnimations",[]),r["\u0275mpd"](256,hn,"XSRF-TOKEN",[]),r["\u0275mpd"](256,yn,"X-XSRF-TOKEN",[]),r["\u0275mpd"](256,Cn.l,void 0,[]),r["\u0275mpd"](256,Cn.k,void 0,[])])});Object(r.enableProdMode)(),d.j().bootstrapModuleFactory(On).catch(function(e){return console.log(e)})},zotm:function(e,t,n){"use strict";var r=n("mrSG"),o=function(e){function t(t,n,r){var o=e.call(this)||this;return o.parent=t,o.outerValue=n,o.outerIndex=r,o.index=0,o}return r.__extends(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(n("FFOo").a),i=n("Fxb1");function a(e,t,n,r){var a=new o(e,n,r);return Object(i.a)(t)(a)}n.d(t,"a",function(){return a})}},[[4,15]]]); \ No newline at end of file diff --git a/dist/polyfills.1371016fb090fbda5d54.js b/dist/polyfills.1371016fb090fbda5d54.js new file mode 100644 index 000000000..643c027cc --- /dev/null +++ b/dist/polyfills.1371016fb090fbda5d54.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{"+auO":function(t,e,n){var r=n("XKFU"),o=n("lvtm");r(r.S,"Math",{cbrt:function(t){return o(t=+t)*Math.pow(Math.abs(t),1/3)}})},"+oPb":function(t,e,n){"use strict";n("OGtf")("blink",function(t){return function(){return t(this,"blink","","")}})},"+rLv":function(t,e,n){var r=n("dyZX").document;t.exports=r&&r.documentElement},"/KAi":function(t,e,n){var r=n("XKFU"),o=n("dyZX").isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&o(t)}})},"/SS/":function(t,e,n){var r=n("XKFU");r(r.S,"Object",{setPrototypeOf:n("i5dc").set})},"/e88":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},"0/R4":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"0E+W":function(t,e,n){n("elZq")("Array")},"0LDn":function(t,e,n){"use strict";n("OGtf")("italics",function(t){return function(){return t(this,"i","","")}})},"0TWp":function(t,e,n){!function(){"use strict";!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}if(n("Zone"),t.Zone)throw new Error("Zone already loaded.");var o,i=function(){function e(t,e){this._properties=null,this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new u(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==F.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return O.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return P},enumerable:!0,configurable:!0}),e.__load_patch=function(o,i){if(F.hasOwnProperty(o))throw Error("Already loaded patch: "+o);if(!t["__Zone_disable_"+o]){var a="Zone:"+o;n(a),F[o]=i(t,e,E),r(a,a)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){void 0===e&&(e=void 0),void 0===n&&(n=null),void 0===r&&(r=null),O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{O=O.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),void 0===n&&(n=null),void 0===r&&(r=null),O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{O=O.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");if(t.state!==y||t.type!==x){var r=t.state!=k;r&&t._transitionTo(k,b),t.runCount++;var o=P;P=t,O={parent:O,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=null);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(t){if(this._zoneDelegate.handleError(this,t))throw t}}finally{t.state!==y&&t.state!==S&&(t.type==x||t.data&&t.data.isPeriodic?r&&t._transitionTo(b,k):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(y,k,y))),O=O.parent,P=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(m,y);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(e){throw t._transitionTo(S,m,y),this._zoneDelegate.handleError(this,e),e}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==m&&t._transitionTo(b,m),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new c(w,t,e,n,r,null))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new c(T,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new c(x,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||g).name+"; Execution: "+this.name+")");t._transitionTo(_,b,k);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,_),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(y,_),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),c=function(){function e(n,r,o,i,a,u){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=u,this.callback=o;var c=this;this.invoke=n===x&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,c,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),M++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==M&&d(),M--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(y,m)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==y&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId:Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),s=D("setTimeout"),f=D("Promise"),l=D("then"),p=[],h=!1;function v(e){0===M&&0===p.length&&(o||t[f]&&(o=t[f].resolve(0)),o?o[l](d):t[s](d,0)),e&&p.push(e)}function d(){if(!h){for(h=!0;p.length;){var t=p;p=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=p(t[n],e+"_"+n));return t}function _(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var S="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,w=!("nw"in y)&&void 0!==y.process&&"[object process]"==={}.toString.call(y.process),T=!w&&!S&&!(!d||!g.HTMLElement),x=void 0!==y.process&&"[object process]"==={}.toString.call(y.process)&&!S&&!(!d||!g.HTMLElement),F={},E=function(t){if(t=t||y.event){var e=F[t.type];e||(e=F[t.type]=v("ON_PROPERTY"+t.type));var n=(this||t.target||y)[e],r=n&&n.apply(this,arguments);return void 0==r||r||t.preventDefault(),r}};function O(n,r,o){var i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){delete i.writable,delete i.value;var a=i.get,u=i.set,c=r.substr(2),s=F[c];s||(s=F[c]=v("ON_PROPERTY"+c)),i.set=function(t){var e=this;e||n!==y||(e=y),e&&(e[s]&&e.removeEventListener(c,E),u&&u.apply(e,b),"function"==typeof t?(e[s]=t,e.addEventListener(c,E,!1)):e[s]=null)},i.get=function(){var t=this;if(t||n!==y||(t=y),!t)return null;var e=t[s];if(e)return e;if(a){var o=a&&a.call(this);if(o)return i.set.call(this,o),"function"==typeof t[m]&&t.removeAttribute(r),o}return null},e(n,r,i)}}function P(t,e,n){if(e)for(var r=0;r1?new u(e,n):new u(e),l=t(f,"onmessage");return l&&!1===l.configurable?(c=r(f),s=f,[i,a,"send","close"].forEach(function(t){c[t]=function(){var e=o.call(arguments);if(t===i||t===a){var n=e.length>0?e[0]:void 0;if(n){var r=Zone.__symbol__("ON_PROPERTY"+n);f[r]=c[r]}}return f[t].apply(f,e)}})):c=f,P(c,["close","error","message","open"],s),c};var c=n.WebSocket;for(var s in u)c[s]=u[s]}(0,c)}}var lt=v("unbound");Zone.__load_patch("util",function(t,e,n){n.patchOnProperties=P,n.patchMethod=D,n.bindArguments=k}),Zone.__load_patch("timers",function(t){V(t,"set","clear","Timeout"),V(t,"set","clear","Interval"),V(t,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(t){V(t,"request","cancel","AnimationFrame"),V(t,"mozRequest","mozCancel","AnimationFrame"),V(t,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(t,e){for(var n=["alert","prompt","confirm"],r=0;r=0&&"function"==typeof n[r.cbIdx]?h(r.name,n[r.cbIdx],r,i,null):t.apply(e,n)}})}()}),Zone.__load_patch("XHR",function(t,e){!function(e){var s=XMLHttpRequest.prototype,f=s[u],l=s[c];if(!f){var p=t.XMLHttpRequestEventTarget;if(p){var v=p.prototype;f=v[u],l=v[c]}}var d="readystatechange",g="scheduled";function y(t){XMLHttpRequest[i]=!1;var e=t.data,r=e.target,a=r[o];f||(f=r[u],l=r[c]),a&&l.call(r,d,a);var s=r[o]=function(){r.readyState===r.DONE&&!e.aborted&&XMLHttpRequest[i]&&t.state===g&&t.invoke()};return f.call(r,d,s),r[n]||(r[n]=t),_.apply(r,e.args),XMLHttpRequest[i]=!0,t}function m(){}function b(t){var e=t.data;return e.aborted=!0,S.apply(e.target,e.args)}var k=D(s,"open",function(){return function(t,e){return t[r]=0==e[2],t[a]=e[1],k.apply(t,e)}}),_=D(s,"send",function(){return function(t,e){return t[r]?_.apply(t,e):h("XMLHttpRequest.send",m,{target:t,url:t[a],isPeriodic:!1,delay:null,args:e,aborted:!1},y,b)}}),S=D(s,"abort",function(){return function(t){var e=t[n];if(e&&"string"==typeof e.type){if(null==e.cancelFn||e.data&&e.data.aborted)return;e.zone.cancelTask(e)}}})}();var n=v("xhrTask"),r=v("xhrSync"),o=v("xhrListener"),i=v("xhrScheduled"),a=v("xhrURL")}),Zone.__load_patch("geolocation",function(e){e.navigator&&e.navigator.geolocation&&function(e,n){for(var r=e.constructor.name,o=function(o){var i=n[o],a=e[i];if(a){if(!_(t(e,i)))return"continue";e[i]=function(t){var e=function(){return t.apply(this,k(arguments,r+"."+i))};return K(e,t),e}(a)}},i=0;is;)c.call(t,a=u[s++])&&e.push(a);return e}},"1TsA":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},"1sa7":function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},"25dN":function(t,e,n){var r=n("XKFU");r(r.S,"Object",{is:n("g6HL")})},"2OiF":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"2Spj":function(t,e,n){var r=n("XKFU");r(r.P,"Function",{bind:n("8MEG")})},"2atp":function(t,e,n){var r=n("XKFU"),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},3:function(t,e,n){t.exports=n("hN/g")},"3Lyj":function(t,e,n){var r=n("KroJ");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"3xty":function(t,e,n){var r=n("XKFU"),o=n("2OiF"),i=n("y3w9"),a=(n("dyZX").Reflect||{}).apply,u=Function.apply;r(r.S+r.F*!n("eeVq")(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=o(t),c=i(n);return a?a(r,e,c):u.call(r,e,c)}})},"45Tv":function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=n("OP3Y"),a=r.has,u=r.get,c=r.key,s=function(t,e,n){if(a(t,e,n))return u(t,e,n);var r=i(e);return null!==r?s(t,r,n):void 0};r.exp({getMetadata:function(t,e){return s(t,o(e),arguments.length<3?void 0:c(arguments[2]))}})},"49D4":function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},"4A4+":function(t,e,n){n("2Spj"),n("f3/d"),n("IXt9"),t.exports=n("g3g5").Function},"4LiD":function(t,e,n){"use strict";var r=n("dyZX"),o=n("XKFU"),i=n("KroJ"),a=n("3Lyj"),u=n("Z6vF"),c=n("SlkY"),s=n("9gX7"),f=n("0/R4"),l=n("eeVq"),p=n("XMVh"),h=n("fyDq"),v=n("Xbzi");t.exports=function(t,e,n,d,g,y){var m=r[t],b=m,k=g?"set":"add",_=b&&b.prototype,S={},w=function(t){var e=_[t];i(_,t,"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(y||_.forEach&&!l(function(){(new b).entries().next()}))){var T=new b,x=T[k](y?{}:-0,1)!=T,F=l(function(){T.has(1)}),E=p(function(t){new b(t)}),O=!y&&l(function(){for(var t=new b,e=5;e--;)t[k](e,e);return!t.has(-0)});E||((b=e(function(e,n){s(e,b,t);var r=v(new m,e,b);return void 0!=n&&c(n,g,r[k],r),r})).prototype=_,_.constructor=b),(F||O)&&(w("delete"),w("has"),g&&w("get")),(O||x)&&w(k),y&&_.clear&&delete _.clear}else b=d.getConstructor(e,t,g,k),a(b.prototype,n),u.NEED=!0;return h(b,t),S[t]=b,o(o.G+o.W+o.F*(b!=m),S),y||d.setStrong(b,t,g),b}},"4R4u":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"5Pf0":function(t,e,n){var r=n("S/j/"),o=n("OP3Y");n("Xtr8")("getPrototypeOf",function(){return function(t){return o(r(t))}})},"694e":function(t,e,n){var r=n("EemH"),o=n("XKFU"),i=n("y3w9");o(o.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(i(t),e)}})},"6AQ9":function(t,e,n){"use strict";var r=n("XKFU"),o=n("8a7r");r(r.S+r.F*n("eeVq")(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)o(n,t,arguments[t++]);return n.length=e,n}})},"6FMO":function(t,e,n){var r=n("0/R4"),o=n("EWmC"),i=n("K0xU")("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},"7Dlh":function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},"7h0T":function(t,e,n){var r=n("XKFU");r(r.S,"Number",{isNaN:function(t){return t!=t}})},"8+KV":function(t,e,n){"use strict";var r=n("XKFU"),o=n("CkkT")(0),i=n("LyE8")([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},"84bF":function(t,e,n){"use strict";n("OGtf")("small",function(t){return function(){return t(this,"small","","")}})},"8MEG":function(t,e,n){"use strict";var r=n("2OiF"),o=n("0/R4"),i=n("MfQN"),a=[].slice,u={};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?function(t,e,n){if(!(e in u)){for(var r=[],o=0;o0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},"9P93":function(t,e,n){var r=n("XKFU"),o=Math.imul;r(r.S+r.F*n("eeVq")(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},"9VmF":function(t,e,n){"use strict";var r=n("XKFU"),o=n("ne8i"),i=n("0sh+"),a="".startsWith;r(r.P+r.F*n("UUeW")("startsWith"),"String",{startsWith:function(t){var e=i(this,t,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},"9gX7":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"9rMk":function(t,e,n){var r=n("XKFU");r(r.S,"Reflect",{has:function(t,e){return e in t}})},A2zW:function(t,e,n){"use strict";var r=n("XKFU"),o=n("RYi7"),i=n("vvmO"),a=n("l0Rn"),u=1..toFixed,c=Math.floor,s=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(t,e){for(var n=-1,r=e;++n<6;)s[n]=(r+=t*s[n])%1e7,r=c(r/1e7)},p=function(t){for(var e=6,n=0;--e>=0;)s[e]=c((n+=s[e])/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==s[t]){var n=String(s[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},v=function(t,e,n){return 0===e?n:e%2==1?v(t,e-1,n*t):v(t*t,e/2,n)};r(r.P+r.F*(!!u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("eeVq")(function(){u.call({})})),"Number",{toFixed:function(t){var e,n,r,u,c=i(this,f),s=o(t),d="",g="0";if(s<0||s>20)throw RangeError(f);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*v(2,69,1))-69)<0?c*v(2,-e,1):c/v(2,e,1),n*=4503599627370496,(e=52-e)>0){for(l(0,n),r=s;r>=7;)l(1e7,0),r-=7;for(l(v(10,r,1),0),r=e-1;r>=23;)p(1<<23),r-=23;p(1<0?d+((u=g.length)<=s?"0."+a.call("0",s-u)+g:g.slice(0,u-s)+"."+g.slice(u-s)):d+g}})},Afnz:function(t,e,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),u=n("hPIQ"),c=n("QaDb"),s=n("fyDq"),f=n("OP3Y"),l=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,d,g,y){c(n,e,v);var m,b,k,_=function(t){if(!p&&t in x)return x[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",w="values"==d,T=!1,x=t.prototype,F=x[l]||x["@@iterator"]||d&&x[d],E=F||_(d),O=d?w?_("entries"):E:void 0,P="Array"==e&&x.entries||F;if(P&&(k=f(P.call(new t)))!==Object.prototype&&k.next&&(s(k,S,!0),r||"function"==typeof k[l]||a(k,l,h)),w&&F&&"values"!==F.name&&(T=!0,E=function(){return F.call(this)}),r&&!y||!p&&!T&&x[l]||a(x,l,E),u[e]=E,u[S]=h,d)if(m={values:w?E:_("values"),keys:g?E:_("keys"),entries:O},y)for(b in m)b in x||i(x,b,m[b]);else o(o.P+o.F*(p||T),e,m);return m}},AphP:function(t,e,n){"use strict";var r=n("XKFU"),o=n("S/j/"),i=n("apmT");r(r.P+r.F*n("eeVq")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=o(this),n=i(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},AvRE:function(t,e,n){var r=n("RYi7"),o=n("vhPU");t.exports=function(t){return function(e,n){var i,a,u=String(o(e)),c=r(n),s=u.length;return c<0||c>=s?t?"":void 0:(i=u.charCodeAt(c))<55296||i>56319||c+1===s||(a=u.charCodeAt(c+1))<56320||a>57343?t?u.charAt(c):i:t?u.slice(c,c+2):a-56320+(i-55296<<10)+65536}}},BC7C:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{fround:n("kcoS")})},"BJ/l":function(t,e,n){var r=n("XKFU");r(r.S,"Math",{log1p:n("1sa7")})},BP8U:function(t,e,n){var r=n("XKFU"),o=n("PKUr");r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},BqfV:function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},Btvt:function(t,e,n){"use strict";var r=n("I8a+"),o={};o[n("K0xU")("toStringTag")]="z",o+""!="[object z]"&&n("KroJ")(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},"C/va":function(t,e,n){"use strict";var r=n("y3w9");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},CkkT:function(t,e,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),u=n("zRwo");t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||u;return function(e,u,v){for(var d,g,y=i(e),m=o(y),b=r(u,v,3),k=a(m.length),_=0,S=n?h(e,k):c?h(e,0):void 0;k>_;_++)if((p||_ in m)&&(g=b(d=m[_],_,y),t))if(n)S[_]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return _;case 2:S.push(d)}else if(f)return!1;return l?-1:s||f?f:S}}},CuTL:function(t,e,n){n("fyVe"),n("U2t9"),n("2atp"),n("+auO"),n("MtdB"),n("Jcmo"),n("nzyx"),n("BC7C"),n("x8ZO"),n("9P93"),n("eHKK"),n("BJ/l"),n("pp/T"),n("CyHz"),n("bBoP"),n("x8Yj"),n("hLT2"),t.exports=n("g3g5").Math},CyHz:function(t,e,n){var r=n("XKFU");r(r.S,"Math",{sign:n("lvtm")})},DNiP:function(t,e,n){"use strict";var r=n("XKFU"),o=n("eyMr");r(r.P+r.F*!n("LyE8")([].reduce,!0),"Array",{reduce:function(t){return o(this,t,arguments.length,arguments[1],!1)}})},DVgA:function(t,e,n){var r=n("zhAb"),o=n("4R4u");t.exports=Object.keys||function(t){return r(t,o)}},DW2E:function(t,e,n){var r=n("0/R4"),o=n("Z6vF").onFreeze;n("Xtr8")("freeze",function(t){return function(e){return t&&r(e)?t(o(e)):e}})},EK0E:function(t,e,n){"use strict";var r,o=n("CkkT")(0),i=n("KroJ"),a=n("Z6vF"),u=n("czNK"),c=n("ZD67"),s=n("0/R4"),f=n("eeVq"),l=n("s5qY"),p=a.getWeak,h=Object.isExtensible,v=c.ufstore,d={},g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(s(t)){var e=p(t);return!0===e?v(l(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return c.def(l(this,"WeakMap"),t,e)}},m=t.exports=n("4LiD")("WeakMap",g,y,c,!0,!0);f(function(){return 7!=(new m).set((Object.freeze||Object)(d),7).get(d)})&&(u((r=c.getConstructor(g,"WeakMap")).prototype,y),a.NEED=!0,o(["delete","has","get","set"],function(t){var e=m.prototype,n=e[t];i(e,t,function(e,o){if(s(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)})}))},EWmC:function(t,e,n){var r=n("LZWt");t.exports=Array.isArray||function(t){return"Array"==r(t)}},EemH:function(t,e,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),u=n("aagx"),c=n("xpql"),s=Object.getOwnPropertyDescriptor;e.f=n("nh4g")?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},FEjr:function(t,e,n){"use strict";n("OGtf")("strike",function(t){return function(){return t(this,"strike","","")}})},FJW5:function(t,e,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");t.exports=n("nh4g")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),u=a.length,c=0;u>c;)r.f(t,n=a[c++],e[n]);return t}},FLlr:function(t,e,n){var r=n("XKFU");r(r.P,"String",{repeat:n("l0Rn")})},FZcq:function(t,e,n){n("49D4"),n("zq+C"),n("45Tv"),n("uAtd"),n("BqfV"),n("fN/3"),n("iW+S"),n("7Dlh"),n("Opxb"),t.exports=n("g3g5").Reflect},FlsD:function(t,e,n){var r=n("0/R4");n("Xtr8")("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},GNAe:function(t,e,n){var r=n("XKFU"),o=n("PKUr");r(r.G+r.F*(parseInt!=o),{parseInt:o})},H6hf:function(t,e,n){var r=n("y3w9");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},"HAE/":function(t,e,n){var r=n("XKFU");r(r.S+r.F*!n("nh4g"),"Object",{defineProperty:n("hswa").f})},HEwt:function(t,e,n){"use strict";var r=n("m0Pp"),o=n("XKFU"),i=n("S/j/"),a=n("H6hf"),u=n("M6Qj"),c=n("ne8i"),s=n("8a7r"),f=n("J+6e");o(o.S+o.F*!n("XMVh")(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,o,l,p=i(t),h="function"==typeof this?this:Array,v=arguments.length,d=v>1?arguments[1]:void 0,g=void 0!==d,y=0,m=f(p);if(g&&(d=r(d,v>2?arguments[2]:void 0,2)),void 0==m||h==Array&&u(m))for(n=new h(e=c(p.length));e>y;y++)s(n,y,g?d(p[y],y):p[y]);else for(l=m.call(p),n=new h;!(o=l.next()).done;y++)s(n,y,g?a(l,d,[o.value,y],!0):o.value);return n.length=y,n}})},I5cv:function(t,e,n){var r=n("XKFU"),o=n("Kuth"),i=n("2OiF"),a=n("y3w9"),u=n("0/R4"),c=n("eeVq"),s=n("8MEG"),f=(n("dyZX").Reflect||{}).construct,l=c(function(){function t(){}return!(f(function(){},[],t)instanceof t)}),p=!c(function(){f(function(){})});r(r.S+r.F*(l||p),"Reflect",{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(p&&!l)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(s.apply(t,r))}var c=n.prototype,h=o(u(c)?c:Object.prototype),v=Function.apply.call(t,h,e);return u(v)?v:h}})},I78e:function(t,e,n){"use strict";var r=n("XKFU"),o=n("+rLv"),i=n("LZWt"),a=n("d/Gc"),u=n("ne8i"),c=[].slice;r(r.P+r.F*n("eeVq")(function(){o&&c.call(o)}),"Array",{slice:function(t,e){var n=u(this.length),r=i(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var o=a(t,n),s=a(e,n),f=u(s-o),l=new Array(f),p=0;p1?arguments[1]:void 0)}}),n("nGyu")(i)},"IU+Z":function(t,e,n){"use strict";var r=n("Mukb"),o=n("KroJ"),i=n("eeVq"),a=n("vhPU"),u=n("K0xU");t.exports=function(t,e,n){var c=u(t),s=n(a,c,""[t]),f=s[0],l=s[1];i(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(o(String.prototype,t,f),r(RegExp.prototype,c,2==e?function(t,e){return l.call(t,this,e)}:function(t){return l.call(t,this)}))}},IXt9:function(t,e,n){"use strict";var r=n("0/R4"),o=n("OP3Y"),i=n("K0xU")("hasInstance"),a=Function.prototype;i in a||n("hswa").f(a,i,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=o(t);)if(this.prototype===t)return!0;return!1}})},IlFx:function(t,e,n){var r=n("XKFU"),o=n("y3w9"),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return o(t),!i||i(t)}})},Iw71:function(t,e,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},"J+6e":function(t,e,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");t.exports=n("g3g5").getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[r(t)]}},JCqj:function(t,e,n){"use strict";n("OGtf")("sup",function(t){return function(){return t(this,"sup","","")}})},Jcmo:function(t,e,n){var r=n("XKFU"),o=Math.exp;r(r.S,"Math",{cosh:function(t){return(o(t=+t)+o(-t))/2}})},JduL:function(t,e,n){n("Xtr8")("getOwnPropertyNames",function(){return n("e7yV").f})},JiEa:function(t,e){e.f=Object.getOwnPropertySymbols},K0xU:function(t,e,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},KKXr:function(t,e,n){n("IU+Z")("split",2,function(t,e,r){"use strict";var o=n("quPj"),i=r,a=[].push;if("c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!o(t))return i.call(n,t,e);var r,c,s,f,l,p=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,d=void 0===e?4294967295:e>>>0,g=new RegExp(t.source,h+"g");for(u||(r=new RegExp("^"+g.source+"$(?!\\s)",h));(c=g.exec(n))&&!((s=c.index+c[0].length)>v&&(p.push(n.slice(v,c.index)),!u&&c.length>1&&c[0].replace(r,function(){for(l=1;l1&&c.index=d));)g.lastIndex===c.index&&g.lastIndex++;return v===n.length?!f&&g.test("")||p.push(""):p.push(n.slice(v)),p.length>d?p.slice(0,d):p}}else"0".split(void 0,0).length&&(r=function(t,e){return void 0===t&&0===e?[]:i.call(this,t,e)});return[function(n,o){var i=t(this),a=void 0==n?void 0:n[e];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},r]})},KroJ:function(t,e,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),u=Function.toString,c=(""+u).split("toString");n("g3g5").inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:u?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},Kuth:function(t,e,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),u=function(){},c=function(){var t,e=n("Iw71")("iframe"),r=i.length;for(e.style.display="none",n("+rLv").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("