From 77ed56de3a2b22ae3482b7000b7372ba4f69d2cd Mon Sep 17 00:00:00 2001 From: blandine Date: Thu, 23 Nov 2017 16:04:50 +0100 Subject: [PATCH] angular bug https://github.com/angular/angular-cli/issues/6730 --- angular/dist/index.html | 2 +- ...48.bundle.js => inline.34f0c46263ad4e1c0546.bundle.js} | 2 +- angular/dist/main.61fc95b17938391d0390.bundle.js | 1 + angular/dist/main.b87b5dcb5bcf3b857b94.bundle.js | 1 - angular/src/app/app.component.html | 8 ++++---- 5 files changed, 7 insertions(+), 7 deletions(-) rename angular/dist/{inline.6fcee6ef9753e26bc448.bundle.js => inline.34f0c46263ad4e1c0546.bundle.js} (95%) create mode 100644 angular/dist/main.61fc95b17938391d0390.bundle.js delete mode 100644 angular/dist/main.b87b5dcb5bcf3b857b94.bundle.js diff --git a/angular/dist/index.html b/angular/dist/index.html index 7a1c673..ae3e5da 100644 --- a/angular/dist/index.html +++ b/angular/dist/index.html @@ -5,4 +5,4 @@ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-82237751-1', 'auto'); - ga('send', 'pageview');*/ \ No newline at end of file + ga('send', 'pageview');*/ \ No newline at end of file diff --git a/angular/dist/inline.6fcee6ef9753e26bc448.bundle.js b/angular/dist/inline.34f0c46263ad4e1c0546.bundle.js similarity index 95% rename from angular/dist/inline.6fcee6ef9753e26bc448.bundle.js rename to angular/dist/inline.34f0c46263ad4e1c0546.bundle.js index 5b53ead..6efe7a0 100644 --- a/angular/dist/inline.6fcee6ef9753e26bc448.bundle.js +++ b/angular/dist/inline.34f0c46263ad4e1c0546.bundle.js @@ -1 +1 @@ -!function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var u,i,f,l=0,s=[];l1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===a&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(new i.a(t,a))}},"3iOE":function(t,e,n){"use strict";e.a=function(t){return t&&"function"==typeof t.schedule}},"6Xbx":function(t,e,n){"use strict";e.b=function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},n.d(e,"a",function(){return i});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n ");else if("object"==typeof e){var r=[];for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];r.push(i+":"+("string"==typeof o?JSON.stringify(o):a(o)))}n="{"+r.join(", ")+"}"}return"StaticInjectorError["+n+"]: "+t.replace(Dn,"\n ")}function d(t,e){return new Error(f(t,e))}function y(t){return t[Ln]}function m(t){return t[Vn]}function v(t){return!!t&&"function"==typeof t.then}function g(t){return!!t&&"function"==typeof t.subscribe}function _(){return""+b()+b()+b()}function b(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function w(){throw new Error("Runtime compiler is not loaded")}function E(t){var e=Error("No component factory found for "+a(t)+". Did you add it to @NgModule.entryComponents?");return e[$n]=t,e}function C(t,e){return null}function S(){}function T(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function x(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function k(t){t._nesting--,T(t)}function O(t){fr=t}function A(){if(yr)throw new Error("Cannot enable prod mode after platform setup.");dr=!1}function P(){return yr=!0,dr}function N(t,e,n){void 0===n&&(n=[]);var r=new cn("Platform: "+e);return function(e){void 0===e&&(e=[]);var i=I();return i&&!i.injector.get(mr,!1)||(t?t(n.concat(e).concat({provide:r,useValue:!0})):function(t){if(tn&&!tn.destroyed&&!tn.injector.get(mr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");tn=t.get(gr);var e=t.get(Wn,null);e&&e.forEach(function(t){return t()})}(Tn.create(n.concat(e).concat({provide:r,useValue:!0})))),function(t){var e=I();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function I(){return tn&&!tn.destroyed?tn:null}function R(t,e){return t=Array.isArray(e)?e.reduce(R,t):Object(on.a)({},t,e)}function j(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function D(t){return t.reduce(function(t,e){var n=Array.isArray(e)?D(e):e;return t.concat(n)},[])}function F(t,e,n){t.childNodes.forEach(function(t){t instanceof Ar&&(e(t)&&n.push(t),F(t,e,n))})}function M(t,e,n){t instanceof Ar&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Ar&&M(t,e,n)})}function L(t){return Pr.get(t)||null}function V(t){Pr.set(t.nativeNode,t)}function B(t,e){var n=H(t),r=H(e);return n&&r?function(t,e,n){for(var r=t[i()](),o=e[i()]();;){var s=r.next(),a=o.next();if(s.done&&a.done)return!0;if(s.done||a.done)return!1;if(!n(s.value,a.value))return!1}}(t,e,B):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||s(t,e)}function H(t){return!!z(t)&&(Array.isArray(t)||!(t instanceof Map)&&i()in t)}function z(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function U(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,zt(n,e),$r.dirtyParentQueries(r),Bt(r),r}function Vt(t,e,n){var r=e?ht(e,e.def.lastRenderRootNode):t.renderElement;bt(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Bt(t){bt(t,3,null,null,void 0)}function Ht(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function zt(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function Ut(t,e,n,r,i,o){return new ci(t,e,n,r,i,o)}function qt(t,e,n){return new pi(t,e,n)}function Wt(t){return new fi(t)}function Qt(t,e){return new di(t,e)}function Kt(t,e){return new yi(t,e)}function Zt(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Z(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return K(t,n.nodeIndex).renderText;if(20240&n.flags)return Y(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Yt(t){return new mi(t.renderer)}function Gt(t,e,n,r){return new vi(t,e,n,r)}function Xt(t,e,n,r,i,o,s,a){var u=[];if(s)for(var c in s){var h=s[c];u[h[0]]={flags:8,name:c,nonMinifiedName:h[1],ns:null,securityContext:null,suffix:null}}var p=[];if(a)for(var f in a)p.push({type:1,propName:f,target:null,eventName:a[f]});return e|=16384,function(t,e,n,r,i,o,s,a,u){var c=mt(n),h=c.matchedQueries,p=c.references,f=c.matchedQueryIds;u||(u=[]),a||(a=[]),o=l(o);var d=vt(s);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:xt(a),outputs:u,element:null,provider:{token:i,value:o,deps:d},text:null,query:null,ngContent:null}}(t,e,n,r,i,i,o,u,p)}function $t(t,e){return ee(t,e)}function Jt(t,e){for(var n=t;n.parent&&!ft(n);)n=n.parent;return ne(n.parent,ct(n),!0,e.provider.value,e.provider.deps)}function te(t,e){var n=ne(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return ne(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(re(t,e,n,i[0]));case 2:return r(re(t,e,n,i[0]),re(t,e,n,i[1]));case 3:return r(re(t,e,n,i[0]),re(t,e,n,i[1]),re(t,e,n,i[2]));default:for(var s=Array(o),a=0;ai)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}(l,y,e.length),i+=y.bindings.length,o+=y.outputs.length,!c&&3&y.flags&&(f=y),20224&y.flags){h||(h=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var v=0!=(32768&y.flags);0==(8192&y.flags)||v?l.element.publicProviders[et(y.provider.token)]=y:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[et(y.provider.token)]=y),v&&(l.element.componentProvider=y)}if(l?(l.childFlags|=y.flags,l.directChildFlags|=y.flags,l.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(l.childMatchedQueries|=y.element.template.nodeMatchedQueries)):a|=y.flags,y.childCount>0)l=y,be(y)||(c=y);else for(;l&&d===l.nodeIndex+l.childCount;){var g=l.parent;g&&(g.childFlags|=l.childFlags,g.childMatchedQueries|=l.childMatchedQueries),c=(l=g)&&be(l)?l.renderParent:l}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||Jr,updateRenderer:r||Jr,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function be(t){return 0!=(1&t.flags)&&null===t.element.name}function we(t,e,n,r){var i=Se(t.root,t.renderer,t,e,n);return Te(i,t.component,r),xe(i),i}function Ee(t,e,n){var r=Se(t,t.renderer,null,null,e);return Te(r,n,n),xe(r),r}function Ce(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,Se(t.root,i,t,e.element.componentProvider,n)}function Se(t,e,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s}}function Te(t,e,n){t.component=e,t.context=n}function xe(t){var e;ft(t)&&(e=Z(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&Rt(t,e,0,n)&&(f=!0),p>1&&Rt(t,e,1,r)&&(f=!0),p>2&&Rt(t,e,2,i)&&(f=!0),p>3&&Rt(t,e,3,o)&&(f=!0),p>4&&Rt(t,e,4,s)&&(f=!0),p>5&&Rt(t,e,5,a)&&(f=!0),p>6&&Rt(t,e,6,u)&&(f=!0),p>7&&Rt(t,e,7,l)&&(f=!0),p>8&&Rt(t,e,8,c)&&(f=!0),p>9&&Rt(t,e,9,h)&&(f=!0),f}(t,e,n,r,i,o,s,a,u,l,c,h);case 2:return function(t,e,n,r,i,o,s,a,u,l,c,h){var p=!1,f=e.bindings,d=f.length;if(d>0&&it(t,e,0,n)&&(p=!0),d>1&&it(t,e,1,r)&&(p=!0),d>2&&it(t,e,2,i)&&(p=!0),d>3&&it(t,e,3,o)&&(p=!0),d>4&&it(t,e,4,s)&&(p=!0),d>5&&it(t,e,5,a)&&(p=!0),d>6&&it(t,e,6,u)&&(p=!0),d>7&&it(t,e,7,l)&&(p=!0),d>8&&it(t,e,8,c)&&(p=!0),d>9&&it(t,e,9,h)&&(p=!0),p){var y=e.text.prefix;d>0&&(y+=ge(n,f[0])),d>1&&(y+=ge(r,f[1])),d>2&&(y+=ge(i,f[2])),d>3&&(y+=ge(o,f[3])),d>4&&(y+=ge(s,f[4])),d>5&&(y+=ge(a,f[5])),d>6&&(y+=ge(u,f[6])),d>7&&(y+=ge(l,f[7])),d>8&&(y+=ge(c,f[8])),d>9&&(y+=ge(h,f[9]));var m=K(t,e.nodeIndex).renderText;t.renderer.setValue(m,y)}return p}(t,e,n,r,i,o,s,a,u,l,c,h);case 16384:return function(t,e,n,r,i,o,s,a,u,l,c,h){var p=Y(t,e.nodeIndex),f=p.instance,d=!1,y=void 0,m=e.bindings.length;return m>0&&rt(t,e,0,n)&&(d=!0,y=oe(t,p,e,0,n,y)),m>1&&rt(t,e,1,r)&&(d=!0,y=oe(t,p,e,1,r,y)),m>2&&rt(t,e,2,i)&&(d=!0,y=oe(t,p,e,2,i,y)),m>3&&rt(t,e,3,o)&&(d=!0,y=oe(t,p,e,3,o,y)),m>4&&rt(t,e,4,s)&&(d=!0,y=oe(t,p,e,4,s,y)),m>5&&rt(t,e,5,a)&&(d=!0,y=oe(t,p,e,5,a,y)),m>6&&rt(t,e,6,u)&&(d=!0,y=oe(t,p,e,6,u,y)),m>7&&rt(t,e,7,l)&&(d=!0,y=oe(t,p,e,7,l,y)),m>8&&rt(t,e,8,c)&&(d=!0,y=oe(t,p,e,8,c,y)),m>9&&rt(t,e,9,h)&&(d=!0,y=oe(t,p,e,9,h,y)),y&&f.ngOnChanges(y),2&t.state&&65536&e.flags&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}(t,e,n,r,i,o,s,a,u,l,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,s,a,u,l,c,h){var p=e.bindings,f=!1,d=p.length;if(d>0&&it(t,e,0,n)&&(f=!0),d>1&&it(t,e,1,r)&&(f=!0),d>2&&it(t,e,2,i)&&(f=!0),d>3&&it(t,e,3,o)&&(f=!0),d>4&&it(t,e,4,s)&&(f=!0),d>5&&it(t,e,5,a)&&(f=!0),d>6&&it(t,e,6,u)&&(f=!0),d>7&&it(t,e,7,l)&&(f=!0),d>8&&it(t,e,8,c)&&(f=!0),d>9&&it(t,e,9,h)&&(f=!0),f){var y=G(t,e.nodeIndex),m=void 0;switch(201347067&e.flags){case 32:m=new Array(p.length),d>0&&(m[0]=n),d>1&&(m[1]=r),d>2&&(m[2]=i),d>3&&(m[3]=o),d>4&&(m[4]=s),d>5&&(m[5]=a),d>6&&(m[6]=u),d>7&&(m[7]=l),d>8&&(m[8]=c),d>9&&(m[9]=h);break;case 64:m={},d>0&&(m[p[0].name]=n),d>1&&(m[p[1].name]=r),d>2&&(m[p[2].name]=i),d>3&&(m[p[3].name]=o),d>4&&(m[p[4].name]=s),d>5&&(m[p[5].name]=a),d>6&&(m[p[6].name]=u),d>7&&(m[p[7].name]=l),d>8&&(m[p[8].name]=c),d>9&&(m[p[9].name]=h);break;case 128:var v=n;switch(d){case 1:m=v.transform(n);break;case 2:m=v.transform(r);break;case 3:m=v.transform(r,i);break;case 4:m=v.transform(r,i,o);break;case 5:m=v.transform(r,i,o,s);break;case 6:m=v.transform(r,i,o,s,a);break;case 7:m=v.transform(r,i,o,s,a,u);break;case 8:m=v.transform(r,i,o,s,a,u,l);break;case 9:m=v.transform(r,i,o,s,a,u,l,c);break;case 10:m=v.transform(r,i,o,s,a,u,l,c,h)}}y.value=m}return f}(t,e,n,r,i,o,s,a,u,l,c,h);default:throw"unreachable"}}(t,e,r,i,o,s,a,u,l,c,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&ot(t,e,0,n),p>1&&ot(t,e,1,r),p>2&&ot(t,e,2,i),p>3&&ot(t,e,3,o),p>4&&ot(t,e,4,s),p>5&&ot(t,e,5,a),p>6&&ot(t,e,6,u),p>7&&ot(t,e,7,l),p>8&&ot(t,e,8,c),p>9&&ot(t,e,9,h)}(t,e,r,i,o,s,a,u,l,c,h,p):function(t,e,n){for(var r=0;r0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+a(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}(),_r=function(){function t(t,e,n,r,i,s){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=P(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new sn.a(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),l=new sn.a(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){ur.assertNotInAngularZone(),o(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){ur.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(an.a)(u,un.a.call(l))}return t.prototype.bootstrap=function(t,e){var n=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.");var r;r=t instanceof Xn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var i=r instanceof nr?null:this._injector.get(rr),o=r.create(Tn.NULL,[],e||r.selector,i);o.onDestroy(function(){n._unloadComponent(o)});var s=o.injector.get(hr,null);return s&&o.injector.get(pr).registerApplication(o.location.nativeElement,s),this._loadComponent(o),P()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,sr(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;j(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Kn,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),j(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=or("ApplicationRef#tick()"),t}(),br=function(){},wr=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),Er=function(){},Cr=function(t){this.nativeElement=t},Sr=function(){function t(){this.dirty=!0,this._results=[],this.changes=new ar}return Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[i()]=function(){return this._results[i()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=D(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Tr=function(){},xr=function(){},kr=function(){},Or=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Ar?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Ar=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return Object(on.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((i=this.childNodes).splice.apply(i,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var i},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return F(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return M(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Or),Pr=new Map,Nr=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Ir=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),Rr=function(){function t(){}return t.prototype.supports=function(t){return H(t)},t.prototype.create=function(t){return new Dr(t)},t}(),jr=function(t,e){return e},Dr=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||jr}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex=0;t--){var e=Lt(this._data,t);$r.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new fi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof nr||(i=o.get(rr));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t;return function(t,e,n,r){var i=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),r.viewContainerParent=t,Ht(i,n,r),function(t,e){var n=lt(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(e,r),$r.dirtyParentQueries(r),Vt(e,n>0?i[n-1]:null,r)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return function(t,e,r){var i=t.viewContainer._embeddedViews,o=i[n];zt(i,n),null==r&&(r=i.length),Ht(i,r,o),$r.dirtyParentQueries(o),Bt(o),Vt(t,r>0?i[r-1]:null,o)}(this._data,0,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Lt(this._data,t);e&&$r.destroyView(e)},t.prototype.detach=function(t){var e=Lt(this._data,t);return e?new fi(e):null},t}(),fi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return function(t){var e=[];return bt(t,0,void 0,void 0,e),e}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){st(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),$r.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){$r.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),$r.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Bt(this._view),$r.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),di=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(on.b)(e,t),e.prototype.createEmbeddedView=function(t){return new fi($r.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Cr(Z(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Tr),yi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Tn.THROW_IF_NOT_FOUND),$r.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:et(t)},e)},t}(),mi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Tt(e),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n1?new e(t,r):1===i?new o.a(t[0],r):new s.a(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.subscriber;n>=t.count?r.complete():(r.next(e[n]),r.closed||(t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var o=0;o/g,">")}function y(t){fn.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||fn.removeAttribute(t,n)});for(var e=0,n=fn.childNodesAsList(t);ee.bottom||t.righte.right})}function zt(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}function Ut(t){return t||new jo}function qt(t){return t||new Do}function Wt(t){return function(){return t.scrollStrategies.reposition()}}function Qt(t){var e=t.subscriber;e.closed||(e.next(t.value),e.complete())}function Kt(t){var e=t.subscriber;e.closed||e.error(t.err)}function Zt(t){var e=t[Wo.a];if(!e&&"string"==typeof t)return new Ko(t);if(!e&&void 0!==t.length)return new Zo(t);if(!e)throw new TypeError("object is not iterable");return t[Wo.a]()}function Yt(){for(var t=[],e=0;e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[o]=[]);var u=Je(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:i});else{for(var l=!1,c=0;c-1},e}(Me),an=["alt","control","meta","shift"],un={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ln=function(t){function e(e){return t.call(this,e)||this}return Object(ae.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,i){var o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,o.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(an.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),an.forEach(function(r){r!=n&&(0,un[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded(function(){return n(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Me),cn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,hn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,pn=null,fn=null,dn=h("area,br,col,hr,img,wbr"),yn=h("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mn=h("rp,rt"),vn=p(mn,yn),gn=p(dn,p(yn,h("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),p(mn,h("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vn),_n=h("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bn=h("srcset"),wn=p(_n,bn,h("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),En=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(fn.isElementNode(e)?this.startElement(e):fn.isTextNode(e)?this.chars(fn.nodeValue(e)):this.sanitizedSomething=!0,fn.firstChild(e))e=fn.firstChild(e);else for(;e;){fn.isElementNode(e)&&this.endElement(e);var n=f(e,fn.nextSibling(e));if(n){e=n;break}e=f(e,fn.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=fn.nodeName(t).toLowerCase();gn.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),fn.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();wn.hasOwnProperty(r)?(_n[r]&&(t=c(t)),bn[r]&&(t=function(t){return(t=String(t)).split(",").map(function(t){return c(t.trim())}).join(", ")}(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(d(t)),e.buf.push('"')):e.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=fn.nodeName(t).toLowerCase();gn.hasOwnProperty(e)&&!dn.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(d(t))},t}(),Cn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sn=/([^\#-~ |!])/g,Tn=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"),xn=/^url\(([^)]+)\)$/,kn=function(){},On=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(ae.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case se.B.NONE:return e;case se.B.HTML:return e instanceof Pn?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){try{var n=function(){if(pn)return pn;var t=(fn=r()).createElement("template");if("content"in t)return t;var e=fn.createHtmlDocument();if(null==(pn=fn.querySelector(e,"body"))){var n=fn.createElement("html",e);pn=fn.createElement("body",e),fn.appendChild(n,pn),fn.appendChild(e,n)}return pn}(),i=e?String(e):"",o=5,s=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,fn.setInnerHTML(n,i=s),t.documentMode&&y(n),s=fn.getInnerHTML(n)}while(i!==s);for(var a=new En,u=a.sanitizeChildren(fn.getTemplateContent(n)||n),l=fn.getTemplateContent(n)||n,c=0,h=fn.childNodesAsList(l);c=o&&e._onFinish()}),t.onDestroy(function(){++r>=o&&e._onDestroy()}),t.onStart(function(){++i>=o&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t}(),zn="!",Un=function(t,e){return!1},qn=function(t,e){return!1},Wn=function(t,e,n){return[]};if("undefined"!=typeof Element){if(Un=function(t,e){return t.contains(e)},Element.prototype.matches)qn=function(t,e){return t.matches(e)};else{var Qn=Element.prototype,Kn=Qn.matchesSelector||Qn.mozMatchesSelector||Qn.msMatchesSelector||Qn.oMatchesSelector||Qn.webkitMatchesSelector;Kn&&(qn=function(t,e){return Kn.apply(t,[e])})}Wn=function(t,e,n){var r=[];if(n)r.push.apply(r,t.querySelectorAll(e));else{var i=t.querySelector(e);i&&r.push(i)}return r}}var Zn,Yn=null,Gn=qn,Xn=Un,$n=Wn,Jn=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return k(t)},t.prototype.matchesElement=function(t,e){return Gn(t,e)},t.prototype.containsElement=function(t,e){return Xn(t,e)},t.prototype.query=function(t,e,n){return $n(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o){return void 0===o&&(o=[]),new Bn},t}(),tr=function(){function t(){}return t.NOOP=new Jn,t}(),er=1e3,nr=new RegExp("{{\\s*(.+?)\\s*}}","g"),rr=/-+([a-z0-9])/g,ir="*",or=new Set,sr=new Set,ar=new RegExp("s*:selfs*,?","g"),ur=new RegExp(":leave","g"),lr=new RegExp(":enter","g"),cr=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new hr(e);return this._resetContextStyleTimingState(n),H(this,F(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],s=[];return t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var a=t,u=a.name;u.split(/\s*,\s*/).forEach(function(t){a.name=t,o.push(n.visitState(a,e))}),a.name=u}else if(1==t.type){var l=n.visitTransition(t,e);r+=l.queryCount,i+=l.depCount,s.push(l)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(q(t)){var e=t;Object.keys(e).forEach(function(t){M(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var s=V(i.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+s.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n=H(this,F(t.animation),e);return{type:1,matchers:function(t,e){var n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],s=i[2],a=i[3];e.push(z(o,a)),"<"!=s[0]||o==ir&&a==ir||e.push(z(a,o))}(t,n,e)}):n.push(t),n}(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:W(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return H(n,t,e)}),options:W(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=H(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:W(t.options)}},t.prototype.visitAnimate=function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Q(N(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=Q(0,0,"");return i.dynamic=!0,i.strValue=r,i}return n=n||N(r,e),Q(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var r,i=t.styles?t.styles:g({});if(5==i.type)r=this.visitKeyframes(i,e);else{var o=t.styles,s=!1;if(!o){s=!0;var a={};n.easing&&(a.easing=n.easing),o=g(a)}e.currentTime+=n.duration+n.delay;var u=this.visitStyle(o,e);u.isEmptyStep=s,r=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==Vn?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(q(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s=e.collectedStyles[e.currentQuerySelector],a=s[r],u=!0;a&&(o!=i&&o>=a.startTime&&i<=a.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+a.startTime+'ms" and "'+a.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),u=!1),o=a.startTime),u&&(s[r]={startTime:o,endTime:i}),e.options&&function(n,i,o){var s=e.options.params||{},a=M(t[r]);a.length&&a.forEach(function(t){s.hasOwnProperty(t)||o.push("Unable to resolve the local animation param "+t+" in the given list of values")})}(0,0,e.errors)}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,u=0,l=t.steps.map(function(t){var r=n._makeStyleAst(t,e),l=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(q(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(q(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=l&&(i++,c=r.offset=l),a=a||c<0||c>1,s=s||c0&&i0?i==p?1:h*i:o[i],a=s*y;e.currentTime=f+d.delay+a,d.duration=a,n._validateStyleAst(t,e),t.offset=s,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:H(this,F(t.animation),e),options:W(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:W(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:W(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(ar,"")),t=t.replace(lr,".ng-enter").replace(ur,".ng-leave").replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),[t,e]}(t.selector),o=i[0],s=i[1];e.currentQuerySelector=n.length?n+" "+o:o,T(e.collectedStyles,e.currentQuerySelector,{});var a=H(this,F(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:W(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:N(t.timings,e.errors,!0);return{type:12,animation:H(this,F(t.animation),e),timings:n,options:null}},t}(),hr=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null},pr=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),fr=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,s,a){void 0===a&&(a=[]),s=s||new pr;var u=new yr(t,e,s,a,[]);u.options=o,u.currentTimeline.setStyles([r],null,u.errors,o),H(this,n,u);var l=u.timelines.filter(function(t){return t.containsAnimation()});if(l.length&&Object.keys(i).length){var c=l[l.length-1];c.allowOnlyTimelineStyles()||c.setStyles([i],null,u.errors,o)}return l.length?l.map(function(t){return t.buildKeyframes()}):[K(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),H(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=dr);var s=A(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return H(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?A(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),H(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return N(e.params?L(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?A(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=dr);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach(function(r,i){e.currentQueryIndex=i;var a=e.createSubContext(t.options,r);o&&a.delayNextStep(o),r===e.element&&(u=a.currentTimeline),H(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe();var l=a.currentTimeline.currentTime;s=Math.max(s,l)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=o*(e.currentQueryTotal-1)-s;break;case"full":s=n.currentStaggerTime}var a=e.currentTimeline;s&&a.delayNextStep(s);var u=a.currentTime;H(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),dr={},yr=function(){function t(t,e,n,r,i,o){this._driver=t,this.element=e,this.subInstructions=n,this.errors=r,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=dr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new mr(this._driver,e,0),i.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=A(r.duration)),null!=r.delay&&(i.delay=A(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=L(o[t],s,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=dr,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new vr(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var s=[];if(r&&s.push(this.element),t.length>0){var a=this._driver.query(this.element,t,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,a)}return i||0!=s.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),s},t}(),mr=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||Vn,e._currentKeyframe[t]=Vn}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},s=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=Vn}):R(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=L(s[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:Vn),i._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=R(o,!0);Object.keys(a).forEach(function(t){var r=a[t];r==zn?e.add(t):r==Vn&&n.add(t)}),r||(a.offset=s/t.duration),i.push(a)});var o=e.size?V(e.values()):[],s=n.size?V(n.values()):[];if(r){var a=i[0],u=I(a);a.offset=0,u.offset=1,i=[a,u]}return K(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},t}(),vr=function(t){function e(e,n,r,i,o,s,a){void 0===a&&(a=!1);var u=t.call(this,e,n,s.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=i,u.postStyleProps=o,u._stretchStartingKeyframe=a,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return Object(ae.b)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,u=R(t[0],!1);u.offset=0,o.push(u);var l=R(t[0],!1);l.offset=Y(a),o.push(l);for(var c=t.length-1,h=1;h<=c;h++){var p=R(t[h],!1);p.offset=Y((n+p.offset*r)/s),o.push(p)}r=s,n=0,i="",t=o}return K(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(mr),gr=function(){},_r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(ae.b)(e,t),e.prototype.normalizePropertyName=function(t,e){return B(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(br[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(gr),br=function(t){var e={};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(t){return e[t]=!0}),e}(),wr={},Er=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return function(t,e,n){return t.some(function(t){return t(e,n)})}(this.ast.matchers,t,e)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,s){var a=[],u=this.ast.options&&this.ast.options.params||wr,l=this.buildStyles(n,i&&i.params||wr,a),c=o&&o.params||wr,h=this.buildStyles(r,c,a),p=new Set,f=new Map,d=new Map,y="void"===r,m={params:Object(ae.a)({},u,c)},v=Z(t,e,this.ast.animation,l,h,m,s,a);if(a.length)return G(e,this._triggerName,n,r,y,l,h,[],[],f,d,a);v.forEach(function(t){var n=t.element,r=T(f,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=T(d,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&p.add(n)});var g=V(p.values());return G(e,this._triggerName,n,r,y,l,h,v,g,f,d)},t}(),Cr=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=I(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=L(o,r,e)),n[t]=o})}}),n},t}(),Sr=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Cr(t.style,t.options&&t.options.params||{})}),X(this.states,"true","1"),X(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new Er(t,e,n.states))}),this.fallbackTransition=function(e,n){return new Er(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},n)}(0,this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e){return this.transitionFactories.find(function(n){return n.match(t,e)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}(),Tr=new pr,xr=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=U(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=w(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[t],a=new Map;if(s?(i=Z(this._driver,e,s,{},{},n,Tr,o)).forEach(function(t){var e=T(a,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,Vn)})});var u=b(i.map(function(t){var e=a.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return r.destroy(t)}),this.players.push(u),u},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=S(e,"","","");return E(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),kr=[],Or={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},Ar={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Pr="__ng_removed",Nr=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=I(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),Ir=new Nr("void"),Rr=new Nr("DELETED"),jr=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,et(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=n&&"done"!=n)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var o=T(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};o.push(s);var a=T(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),a[e]=Ir),function(){i._engine.afterFlush(function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),i._triggers[e]||delete a[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),s=new Fr(this.id,e,t),a=this._engine.statesByElement.get(t);a||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var u=a[e],l=new Nr(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),a[e]=l,u){if(u===Rr)return s}else u=Ir;if("void"===l.value||u.value!==l.value){var c=T(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,l.value),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:l,player:s,isFallbackTransition:p}),p||(et(t,"ng-animate-queued"),s.onStart(function(){nt(t,"ng-animate-queued")})),s.onDone(function(){var e=i.players.indexOf(s);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0;f--)this._namespaceList[f].drainQueuedTransitions(e).forEach(function(t){var e=t.player;m.push(e);var o=t.element;if(h&&n.driver.containsElement(h,o)){var c=n._buildInstruction(t,r);if(c.errors&&c.errors.length)v.push(c);else{if(t.isFallbackTransition)return e.onStart(function(){return D(o,c.fromStyles)}),e.onDestroy(function(){return j(o,c.toStyles)}),void i.push(e);c.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(o,c.timelines),s.push({instruction:c,player:e,element:o}),c.queriedElements.forEach(function(t){return T(a,t,[]).push(e)}),c.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),c.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=l.get(e);r||l.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}}else e.destroy()});if(v.length){var g=[];v.forEach(function(t){g.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return g.push("- "+t+"\n")})}),m.forEach(function(t){return t.destroy()}),this.reportError(g)}for(var _=new Set,f=0;f0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Bn},t}(),Fr=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Bn,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1}return Object.defineProperty(t.prototype,"queued",{get:function(){return 0==this._containsRealPlayer},enumerable:!0,configurable:!0}),t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return E(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0)},t.prototype.getRealPlayer=function(){return this._player},t.prototype._queueEvent=function(t,e){T(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t}(),Mr="$$classes",Lr=function(){function t(t,e){var n=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Dr(t,e),this._timelineEngine=new xr(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,s=this._triggerCache[o];if(!s){var a=[],u=U(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(t,e){return new Sr(t,e)}(r,u),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=x(n);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=x(n);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Vr=function(){function t(t,e,n,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=e,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,function(t,e){return 0===t||0===e}(this._duration,this._delay)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return i.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(t){return R(t,!1)}),n=Object.keys(this.previousStyles);if(n.length){var r=e[0],i=[];if(n.forEach(function(e){r.hasOwnProperty(e)||i.push(e),r[e]=t.previousStyles[e]}),i.length)for(var o=this,s=function(){var t=e[a];i.forEach(function(e){t[e]=ot(o.element,e)})},a=1;a=0&&t` elements explicitly or just place content inside of a `` for a single row.")}()},e}(function(t,e){return function(t){function n(){for(var n=[],r=0;r0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),Ai=function(){function t(){}return t.prototype.encodeKey=function(t){return vt(t)},t.prototype.encodeValue=function(t){return vt(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}(),Pi=function(){function t(t){void 0===t&&(t={});var e=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ai,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;return t.length>0&&t.split("&").forEach(function(t){var r=t.indexOf("="),i=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=i[0],s=i[1],a=n.get(o)||[];a.push(s),n.set(o,a)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var r=t.fromObject[n];e.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}(),Ni=function(){function t(t,e,n,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();var i;if(function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=n||null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new Oi),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s=200&&this.status<300}}()),ji=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r=this;void 0===n&&(n={});var i;if(t instanceof Ni)i=t;else{var o=void 0;void 0!==!!n.headers&&(o=n.headers instanceof Oi?n.headers:new Oi(n.headers));var s=void 0;n.params&&(s=n.params instanceof Pi?n.params:new Pi({fromObject:n.params})),i=new Ni(t,e,n.body||null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=function(t,e){return function(t,e){return Object(Si.a)(t,e,1)}(t,e)(this)}.call(Ci(i),function(t){return r.handler.handle(t)});if(t instanceof Ni||"events"===n.observe)return a;var u=function(t,e){return yt(t,e)(this)}.call(a,function(t){return t instanceof Ri});switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return mt.call(u,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return mt.call(u,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return mt.call(u,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return mt.call(u,function(t){return t.body})}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new Pi).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,wt(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,wt(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,wt(n,e))},t}(),Di=n("Ecq+"),Fi=n("1j/l"),Mi=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return Object(ae.b)(e,t),e.create=function(){for(var t=[],n=0;n=0;n--){var r=e[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,t);if(i)return i}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(dt(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(dt(function(t){return e._svgElementFromString(t)}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector("#"+e);if(!n)return null;if("svg"===n.tagName.toLowerCase())return this._setSvgAttributes(n.cloneNode(!0));if("symbol"===n.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(n));var r=this._svgElementFromString("");return r.appendChild(n.cloneNode(!0)),this._setSvgAttributes(r)},t.prototype._svgElementFromString=function(t){var e=document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=0;n=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Nt(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t}(),$i=function(){function t(t,e,n,r,i){void 0===i&&(i=!1),this._element=t,this._platform=e,this._checker=n,this._ngZone=r,this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;this._platform.isBrowser&&(this._startAnchor||(this._startAnchor=this._createAnchor()),this._endAnchor||(this._endAnchor=this._createAnchor()),this._ngZone.runOutsideAngular(function(){t._startAnchor.addEventListener("focus",function(){t.focusLastTabbableElement()}),t._endAnchor.addEventListener("focus",function(){t.focusFirstTabbableElement()}),t._element.parentNode&&(t._element.parentNode.insertBefore(t._startAnchor,t._element),t._element.parentNode.insertBefore(t._endAnchor,t._element.nextSibling))}))},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){if(!this._platform.isBrowser)return null;for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var r=e[n].nodeType===Node.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=document.createElement("div");return t.tabIndex=this._enabled?0:-1,t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(pt()).subscribe(t)},t}(),Ji=function(){function t(t,e,n){this._checker=t,this._platform=e,this._ngZone=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new $i(t,this._platform,this._checker,this._ngZone,e)},t}(),to=new se.m("liveAnnouncerElement"),eo=function(){function t(t,e){e.isBrowser&&(this._liveElement=t||this._createLiveElement())}return t.prototype.announce=function(t,e){var n=this;void 0===e&&(e="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",e),setTimeout(function(){return n._liveElement.textContent=t},100)},t.prototype.ngOnDestroy=function(){this._liveElement&&this._liveElement.parentNode&&this._liveElement.parentNode.removeChild(this._liveElement)},t.prototype._createLiveElement=function(){var t=document.createElement("div");return t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),document.body.appendChild(t),t},t}(),no=function(){function t(t,e){var n=this;this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new WeakMap,this._ngZone.runOutsideAngular(function(){return n._registerDocumentEvents()})}return t.prototype.monitor=function(t,e,n){var r=this;if(!this._platform.isBrowser)return Ci(null);if(this._elementInfo.has(t)){var i=this._elementInfo.get(t);return i.checkChildren=n,i.subject.asObservable()}var o={unlisten:function(){},checkChildren:n,renderer:e,subject:new $r.a};this._elementInfo.set(t,o);var s=function(e){return r._onFocus(e,t)},a=function(e){return r._onBlur(e,t)};return this._ngZone.runOutsideAngular(function(){t.addEventListener("focus",s,!0),t.addEventListener("blur",a,!0)}),o.unlisten=function(){t.removeEventListener("focus",s,!0),t.removeEventListener("blur",a,!0)},o.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=this._elementInfo.get(t);e&&(e.unlisten(),e.subject.complete(),this._setClasses(t),this._elementInfo.delete(t))},t.prototype.focusVia=function(t,e){this._setOriginForCurrentEventQueue(e),t.focus()},t.prototype._registerDocumentEvents=function(){var t=this;this._platform.isBrowser&&(document.addEventListener("keydown",function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},!0),document.addEventListener("mousedown",function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},!0),document.addEventListener("touchstart",function(e){null!=t._touchTimeout&&clearTimeout(t._touchTimeout),t._lastTouchTarget=e.target,t._touchTimeout=setTimeout(function(){return t._lastTouchTarget=null},650)},!function(){if(null==Zn)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Zn=!0}}))}finally{Zn=Zn||!1}return Zn}()||{passive:!0,capture:!0}),window.addEventListener("focus",function(){t._windowFocused=!0,setTimeout(function(){return t._windowFocused=!1},0)}))},t.prototype._setClasses=function(t,e){var n=this._elementInfo.get(t);if(n){var r=function(e,r){r?n.renderer.addClass(t,e):n.renderer.removeClass(t,e)};r("cdk-focused",!!e),r("cdk-touch-focused","touch"===e),r("cdk-keyboard-focused","keyboard"===e),r("cdk-mouse-focused","mouse"===e),r("cdk-program-focused","program"===e)}},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._origin=t,setTimeout(function(){return e._origin=null},0)},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);n&&(n.checkChildren||e===t.target)&&(this._origin||(this._origin=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,this._origin),n.subject.next(this._origin),this._lastFocusOrigin=this._origin,this._origin=null)},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),n.subject.next(null))},t}(),ro=function(){},io=n("8ofh"),oo=n("B1iP"),so=n("NePw"),ao=Object.prototype.toString,uo=function(t){function e(e,n,r,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=i}return Object(ae.b)(e,t),e.create=function(t,n,r,i){return Object(oo.a)(r)&&(i=r,r=void 0),new e(t,n,i,r)},e.setupSubscription=function(t,n,r,i,o){var s;if(function(t){return!!t&&"[object NodeList]"===ao.call(t)}(t)||function(t){return!!t&&"[object HTMLCollection]"===ao.call(t)}(t))for(var a=0,u=t.length;a=0}(n)?this.period=Number(n)<1&&1||Number(n):Object(ho.a)(n)&&(r=n),Object(ho.a)(r)||(r=Qi),this.scheduler=r,this.dueTime=function(t){return t instanceof Date&&!isNaN(+t)}(e)?+e-this.scheduler.now():e}return Object(ae.b)(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}},e.prototype._subscribe=function(t){return this.scheduler.schedule(e.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},e}(ki.a).create,fo=n("2kLc"),yo=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new $r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?ki.a.create(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Dt(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._globalSubscription&&!e._scrolledCount&&(e._globalSubscription.unsubscribe(),e._globalSubscription=null)}}):Ci()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(yt(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return uo(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t}(),mo=function(){function t(t,e,n,r){this._elementRef=t,this._scroll=e,this._ngZone=n,this._renderer=r,this._elementScrolled=new $r.a}return t.prototype.ngOnInit=function(){var t=this;this._scrollListener=this._ngZone.runOutsideAngular(function(){return t._renderer.listen(t.getElementRef().nativeElement,"scroll",function(e){t._elementScrolled.next(e)})}),this._scroll.register(this)},t.prototype.ngOnDestroy=function(){this._scroll.deregister(this),this._scrollListener&&(this._scrollListener(),this._scrollListener=null)},t.prototype.elementScrolled=function(){return this._elementScrolled.asObservable()},t.prototype.getElementRef=function(){return this._elementRef},t}(),vo=function(){function t(t,e){var n=this;this._change=t.isBrowser?e.runOutsideAngular(function(){return Object(fo.a)(uo(window,"resize"),uo(window,"orientationchange"))}):Ci(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){return this._viewportSize||this._updateViewportSize(),{width:this._viewportSize.width,height:this._viewportSize.height}},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){var t=document.documentElement.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Dt(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize={width:window.innerWidth,height:window.innerHeight}},t}(),go=function(){},_o=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Lt(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),bo=function(t){function e(e,n,r){var i=t.call(this)||this;return i.component=e,i.viewContainerRef=n,i.injector=r,i}return Object(ae.b)(e,t),e}(_o),wo=function(t){function e(e,n,r){var i=t.call(this)||this;return i.templateRef=e,i.viewContainerRef=n,r&&(i.context=r),i}return Object(ae.b)(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(_o),Eo=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._hostDomElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return Object(ae.b)(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=this._componentFactoryResolver.resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.parentInjector),this.setDisposeFn(function(){return e.destroy()})):(e=r.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this._hostDomElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach(function(t){return e._hostDomElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(r);-1!==t&&n.remove(t)}),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this._hostDomElement.parentNode&&this._hostDomElement.parentNode.removeChild(this._hostDomElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Lt(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof bo?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof wo?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}()),Co=function(){},So=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}(),To=function(){return function(t){var e=this;this.scrollStrategy=new So,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.direction="ltr",t&&Object.keys(t).forEach(function(n){return e[n]=t[n]})}}(),xo=function(){function t(t,e){this._scrollDispatcher=t,this._ngZone=e,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw Vt();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(0).subscribe(function(){t._ngZone.run(function(){t.disable(),t._overlayRef.hasAttached()&&t._overlayRef.detach()})}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),ko=function(){function t(t){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=-this._previousScrollPosition.left+"px",t.style.top=-this._previousScrollPosition.top+"px",t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=document.documentElement,e=document.body,n=t.style.scrollBehavior||"",r=e.style.scrollBehavior||"";this._isEnabled=!1,t.style.left=this._previousHTMLStyles.left,t.style.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),t.style.scrollBehavior=e.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.style.scrollBehavior=n,e.style.scrollBehavior=r}},t.prototype._canBeEnabled=function(){if(document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}(),Oo=function(){function t(t,e){this._scrollDispatcher=t,this._config=e,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw Vt();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){t._overlayRef.updatePosition()}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),Ao=function(){return function(t,e,n){var r=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new So},this.close=function(){return new xo(r._scrollDispatcher,r._ngZone)},this.block=function(){return new ko(r._viewportRuler)},this.reposition=function(t){return new Oo(r._scrollDispatcher,t)}}}(),Po=function(){function t(t,e,n,r,i){this._portalOutlet=t,this._pane=e,this._config=n,this._ngZone=r,this._keyboardDispatcher=i,this._backdropElement=null,this._backdropClick=new $r.a,this._attachments=new $r.a,this._detachments=new $r.a,this._keydownEvents=new $r.a,n.scrollStrategy&&n.scrollStrategy.attach(this)}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),this._updateStackingOrder(),this.updateSize(),this.updateDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(pt()).subscribe(function(){e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&(Array.isArray(this._config.panelClass)?this._config.panelClass.forEach(function(t){return e._pane.classList.add(t)}):this._pane.classList.add(this._config.panelClass)),this._attachments.next(),this._keyboardDispatcher.add(this),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEvents.asObservable()},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},t.prototype.updateDirection=function(){this._pane.setAttribute("dir",this._config.direction)},t.prototype.updateSize=function(){(this._config.width||0===this._config.width)&&(this._pane.style.width=Bt(this._config.width)),(this._config.height||0===this._config.height)&&(this._pane.style.height=Bt(this._config.height)),(this._config.minWidth||0===this._config.minWidth)&&(this._pane.style.minWidth=Bt(this._config.minWidth)),(this._config.minHeight||0===this._config.minHeight)&&(this._pane.style.minHeight=Bt(this._config.minHeight)),(this._config.maxWidth||0===this._config.maxWidth)&&(this._pane.style.maxWidth=Bt(this._config.maxWidth)),(this._config.maxHeight||0===this._config.maxHeight)&&(this._pane.style.maxHeight=Bt(this._config.maxHeight))},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._backdropElement.classList.add(this._config.backdropClass),this._pane.parentElement.insertBefore(this._backdropElement,this._pane),this._backdropElement.addEventListener("click",function(){return t._backdropClick.next(null)}),requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})},t.prototype._updateStackingOrder=function(){this._pane.nextSibling&&this._pane.parentNode.appendChild(this._pane)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null)};e.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&e.classList.remove(this._config.backdropClass),e.addEventListener("transitionend",n),e.style.pointerEvents="none",this._ngZone.runOutsideAngular(function(){setTimeout(n,500)})}},t}(),No=function(){function t(t,e,n,r){this._connectedTo=n,this._viewportRuler=r,this._dir="ltr",this._offsetX=0,this._offsetY=0,this.scrollables=[],this._resizeSubscription=mi.a.EMPTY,this._preferredPositions=[],this._onPositionChange=new $r.a,this._origin=this._connectedTo.nativeElement,this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._dir},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._onPositionChange.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;this._overlayRef=t,this._pane=t.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){return e.apply()})},t.prototype.dispose=function(){this._resizeSubscription.unsubscribe()},t.prototype.detach=function(){this._resizeSubscription.unsubscribe()},t.prototype.apply=function(){for(var t,e,n=this._pane,r=this._origin.getBoundingClientRect(),i=n.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),s=0,a=this._preferredPositions;s-1&&this._attachedOverlays.splice(e,1)},t.prototype._subscribeToKeydownEvents=function(){var t=this,e=uo(document.body,"keydown");this._keydownEventSubscription=e.pipe(yt(function(){return!!t._attachedOverlays.length})).subscribe(function(e){t._selectOverlayFromEvent(e)._keydownEvents.next(e)})},t.prototype._selectOverlayFromEvent=function(t){return this._attachedOverlays.find(function(e){return e.overlayElement===t.target||e.overlayElement.contains(t.target)})||this._attachedOverlays[this._attachedOverlays.length-1]},t}(),Do=function(){function t(){}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=document.createElement("div");t.classList.add("cdk-overlay-container"),document.body.appendChild(t),this._containerElement=t},t}(),Fo=0,Mo=new To,Lo=function(){function t(t,e,n,r,i,o,s,a){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._appRef=o,this._injector=s,this._ngZone=a}return t.prototype.create=function(t){void 0===t&&(t=Mo);var e=this._createPaneElement(),n=this._createPortalOutlet(e);return new Po(n,e,t,this._ngZone,this._keyboardDispatcher)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(){var t=document.createElement("div");return t.id="cdk-overlay-"+Fo++,t.classList.add("cdk-overlay-pane"),this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return new Eo(t,this._componentFactoryResolver,this._appRef,this._injector)},t}(),Vo=new se.m("cdk-connected-overlay-scroll-strategy"),Bo=function(){},Ho=n("8Ut3"),zo=n("kQVV"),Uo=n("mHG6"),qo=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return Object(ae.b)(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){qi.a.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Qt,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(r.schedule(Qt,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(r.schedule(Kt,0,{err:e,subscriber:t}))}).then(null,function(t){qi.a.setTimeout(function(){throw t})})},e}(ki.a),Wo=n("X3fp"),Qo=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=Zt(e)}return Object(ae.b)(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=n.next();i.done?r.complete():(r.next(i.value),t.index=e+1,r.closed?"function"==typeof n.return&&n.return():this.schedule(t))}},e.prototype._subscribe=function(t){var n=this.iterator,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{index:0,iterator:n,subscriber:t});for(;;){var i=n.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof n.return&&n.return();break}}},e}(ki.a),Ko=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[Wo.a]=function(){return this},t.prototype.next=function(){return this.idxYo?Yo:n:n}()),this.arr=t,this.idx=e,this.len=n}return t.prototype[Wo.a]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(e[n]),t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.arrayLike,r=this.scheduler,i=n.length;if(r)return r.schedule(e.dispatch,0,{arrayLike:n,index:0,length:i,subscriber:t});for(var o=0;o1?Yt(new Ei.a(t,n),e):Yt(new Di.a(n),e)}}(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t._updateContentMargins(),t._changeDetectorRef.markForCheck()})},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype.open=function(){this._drawers.forEach(function(t){return t.open()})},t.prototype.close=function(){this._drawers.forEach(function(t){return t.close()})},t.prototype._watchDrawerToggle=function(t){var e=this;t._animationStarted.pipe(Gt(this._drawers.changes),yt(function(t){return t.fromState!==t.toState})).subscribe(function(t){"open-instant"!==t.toState&&e._renderer.addClass(e._element.nativeElement,"mat-drawer-transition"),e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Gt(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})},t.prototype._watchDrawerPosition=function(t){var e=this;t&&t.onPositionChanged.pipe(Gt(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.asObservable().pipe(pt()).subscribe(function(){e._validateDrawers()})})},t.prototype._watchDrawerMode=function(t){var e=this;t&&t._modeChanged.pipe(Gt(Object(fo.a)(this._drawers.changes,this._destroyed))).subscribe(function(){e._updateContentMargins(),e._changeDetectorRef.markForCheck()})},t.prototype._setContainerClass=function(t){t?this._renderer.addClass(this._element.nativeElement,"mat-drawer-opened"):this._renderer.removeClass(this._element.nativeElement,"mat-drawer-opened")},t.prototype._validateDrawers=function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?(null!=t._end&&Xt("end"),t._end=e):(null!=t._start&&Xt("start"),t._start=e)}),this._right=this._left=null,null==this._dir||"ltr"==this._dir.value?(this._left=this._start,this._right=this._end):(this._left=this._end,this._right=this._start)},t.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},t.prototype._closeModalDrawer=function(){[this._start,this._end].filter(function(t){return t&&!t.disableClose&&"side"!==t.mode}).forEach(function(t){return t.close()})},t.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&"side"!=this._start.mode||this._isDrawerOpen(this._end)&&"side"!=this._end.mode},t.prototype._isDrawerOpen=function(t){return null!=t&&t.opened},t.prototype._updateContentMargins=function(){var t=0,e=0;if(this._left&&this._left.opened&&("side"==this._left.mode?t+=this._left._width:"push"==this._left.mode&&(t+=n=this._left._width,e-=n)),this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){var n=this._right._width;e+=n,t-=n}this._contentMargins.next({left:t,right:e})},t}(),us=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(ae.b)(e,t),e}(os),ls=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return Object(ae.b)(e,t),Object.defineProperty(e.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=ct(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=ht(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=ht(t)},enumerable:!0,configurable:!0}),e}(ss),cs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(ae.b)(e,t),e}(as),hs=function(){},ps=function(){},fs=function(){this.title="Ling Consulting"},ds=function(){},ys=se.U({encapsulation:2,styles:[".mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:600px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}}),ms=se.U({encapsulation:2,styles:[],data:{}}),vs=se.U({encapsulation:2,styles:[],data:{animation:[{type:7,name:"transform",definitions:[{type:0,name:"open, open-instant",styles:{type:6,styles:{transform:"translate3d(0, 0, 0)",visibility:"visible"},offset:null},options:void 0},{type:0,name:"void",styles:{type:6,styles:{visibility:"hidden"},offset:null},options:void 0},{type:1,expr:"void => open-instant",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"void <=> open, open-instant => void",animation:{type:4,styles:null,timings:"400ms cubic-bezier(0.25, 0.8, 0.25, 1)"},options:null}],options:{}}]}}),gs=se.U({encapsulation:2,styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;min-width:5vw;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-opened:not(.mat-drawer-side),.mat-drawer.mat-drawer-opening:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-fixed{position:fixed}"],data:{}}),_s=se.U({encapsulation:0,styles:[[".link-component[_ngcontent-%COMP%]{display:inline-block;margin:10px}"]],data:{}}),bs=se.U({encapsulation:0,styles:[[".content[_ngcontent-%COMP%]{text-align:justify;margin:0;width:100%;height:100%}.float-left[_ngcontent-%COMP%]{float:left;margin-right:10px}.content-wrapper[_ngcontent-%COMP%]{margin:0 20px 0 40px}.sidenav[_ngcontent-%COMP%]{width:200px;height:100%;padding:0 20px;background-color:#fafafa;border-left:1px solid rgba(230,99,6,.281)}.icon-links[_ngcontent-%COMP%]{margin-top:40px;text-align:center}mat-sidenav-container[_ngcontent-%COMP%]{margin:20px 0 100px;width:100%;height:100%}.mat-drawer-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.footer[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:200px;height:50px;padding:20px 40px;background-color:#f5f5f5;text-align:center}@media only screen and (max-width:960px){.sidenav[_ngcontent-%COMP%]{display:none}.content-wrapper[_ngcontent-%COMP%]{margin:20px 20px 0 40px}.footer[_ngcontent-%COMP%]{right:0}}"]],data:{}}),ws=se.S("app-root",fs,function(t){return se._13(0,[(t()(),se.W(0,0,null,null,1,"app-root",[],null,null,null,ie,bs)),se.V(1,49152,null,0,fs,[],null,null)],null,null)},{},{},[]),Es=se.T(ds,[fs],function(t){return se._6([se._7(512,se.h,se.P,[[8,[ws]],[3,se.h],se.r]),se._7(5120,se.q,se._5,[[3,se.q]]),se._7(4608,fe,de,[se.q,[2,pe]]),se._7(4608,se.g,se.g,[]),se._7(5120,se.a,se.X,[]),se._7(5120,se.o,se._3,[]),se._7(5120,se.p,se._4,[]),se._7(4608,kn,On,[ge]),se._7(6144,se.A,null,[kn]),se._7(4608,rn,on,[]),se._7(5120,De,function(t,e,n,r,i){return[new en(t,e),new ln(n),new sn(r,i)]},[ge,se.t,ge,ge,rn]),se._7(4608,Fe,Fe,[De,se.t]),se._7(135680,Ve,Ve,[ge]),se._7(4608,qe,qe,[Fe,Ve]),se._7(5120,tr,at,[]),se._7(5120,gr,ut,[]),se._7(4608,Lr,Kr,[tr,gr]),se._7(5120,se.y,lt,[qe,Lr,se.t]),se._7(6144,Le,null,[Ve]),se._7(4608,se.E,se.E,[se.t]),se._7(4608,Ae,Ae,[ge]),se._7(4608,Re,Re,[ge]),se._7(4608,Ln,Hr,[se.y,ke]),se._7(6144,Yr,null,[ke]),se._7(4608,Gr,Gr,[[2,Yr]]),se._7(4608,ti,ti,[]),se._7(5120,zi,St,[[3,zi],[2,ji],kn]),se._7(4608,Xi,Xi,[ti]),se._7(4608,Ji,Ji,[Xi,ti,se.t]),se._7(136192,Gi,Pt,[[3,Gi],ti]),se._7(5120,eo,Rt,[[3,eo],[2,to],ti]),se._7(5120,no,jt,[[3,no],se.t,ti]),se._7(5120,yo,Ft,[[3,yo],se.t,ti]),se._7(5120,vo,Mt,[[3,vo],ti,se.t]),se._7(4608,Ao,Ao,[yo,vo,se.t]),se._7(5120,Do,qt,[[3,Do]]),se._7(4608,Ro,Ro,[vo]),se._7(5120,jo,Ut,[[3,jo]]),se._7(4608,Lo,Lo,[Ao,Do,se.h,Ro,jo,se.e,se.n,se.t]),se._7(5120,Vo,Wt,[Lo]),se._7(512,ve,ve,[]),se._7(1024,se.j,m,[]),se._7(1024,se.b,function(t){return[function(t){return o("probe",s),o("coreTokens",Object(ae.a)({},je,(t||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return s}}(t)]},[[2,se.s]]),se._7(512,se.c,se.c,[[2,se.b]]),se._7(131584,se.e,se.e,[se.t,se.Q,se.n,se.j,se.h,se.c]),se._7(512,se.d,se.d,[se.e]),se._7(512,Mn,Mn,[[3,Mn]]),se._7(512,Zr,Zr,[]),se._7(512,Xr,Xr,[]),se._7(256,ni,!0,[]),se._7(512,ri,ri,[[2,ni]]),se._7(512,ei,ei,[]),se._7(512,oi,oi,[]),se._7(512,Ui,Ui,[]),se._7(512,ro,ro,[]),se._7(512,Co,Co,[]),se._7(512,go,go,[]),se._7(512,Bo,Bo,[]),se._7(512,hs,hs,[]),se._7(512,ds,ds,[])])});Object(se.K)(),Fn().bootstrapModuleFactory(Es).catch(function(t){return console.log(t)})},eIqN:function(t,e,n){"use strict";function r(){return function(t){return t.lift(new c(t))}}function i(){return new s.a}var o=n("6Xbx"),s=n("TO51"),a=n("AP4T"),u=n("E9/g"),l=n("qLnt"),c=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),h=function(t){function e(e,n){t.call(this,e),this.connectable=n}return Object(o.b)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a),p=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(o.b)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new l.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed?(this._connection=null,t=l.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return r()(this)},e}(a.a).prototype,f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:p._subscribe},_isComplete:{value:p._isComplete,writable:!0},getSubject:{value:p.getSubject},connect:{value:p.connect},refCount:{value:p.refCount}},d=function(t){function e(e,n){t.call(this,e),this.connectable=n}return Object(o.b)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(s.b),y=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();e.a=function(){return function(t){return r()(function(t,e){return function(e){var n;if(n="function"==typeof t?t:function(){return t},!1)return e.lift(new y(n,void 0));var r=Object.create(e,f);return r.source=e,r.subjectFactory=n,r}}(i)(t))}}},fRUx:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},grVA:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},kQVV:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return t&&"number"==typeof t.length}},lI6h:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("6Xbx"),i=function(t){function e(){t.apply(this,arguments)}return Object(r.b)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n("E9/g").a)},mHG6:function(t,e,n){"use strict";e.a=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},mz3w:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){var e,r=n("xIGM").a.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}()},qLnt:function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof c?e.errors:e)},[])}var i=n("1j/l"),o=n("NGRF"),s=n("B1iP"),a=n("8ofh"),u=n("NePw"),l=n("6Xbx"),c=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return Object(l.b)(e,t),e}(Error);n.d(e,"a",function(){return h});var h=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,l=this._parents,h=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,d=l?l.length:0;n;)n.remove(this),n=++f\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),t.apply(this,arguments)}}function p(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&et(r,n)}function f(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==it?t.apply(e?e[0]||a:a,e):t}function y(t,e){return t===a?e:t}function m(t,e,n){c(b(e),function(e){t.addEventListener(e,n,!1)})}function v(t,e,n){c(b(e),function(e){t.removeEventListener(e,n,!1)})}function g(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function _(t,e){return t.indexOf(e)>-1}function b(t){return t.trim().split(/\s+/g)}function w(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;rn[e]}):r.sort()),r}function S(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=O(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,u=s?s.center:o.center,l=e.center=A(r);e.timeStamp=at(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=R(u,l),e.distance=I(u,l),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==yt&&o.eventType!==mt||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=N(e.deltaX,e.deltaY);var c=P(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=st(c.x)>st(c.y)?c.x:c.y,e.scale=s?function(t,e){return I(r[0],r[1],kt)/I(t[0],t[1],kt)}(s.pointers):1,e.rotation=s?function(t,e){return R(r[1],r[0],kt)+R(t[1],t[0],kt)}(s.pointers):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,s=t.lastInterval||e,u=e.timeStamp-s.timeStamp;if(e.eventType!=vt&&(u>dt||s.velocity===a)){var l=e.deltaX-s.deltaX,c=e.deltaY-s.deltaY,h=P(u,l,c);r=h.x,i=h.y,n=st(h.x)>st(h.y)?h.x:h.y,o=N(l,c),t.lastInterval=e}else n=s.velocity,r=s.velocityX,i=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var h=t.element;g(e.srcEvent.target,h)&&(h=e.srcEvent.target),e.target=h}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function O(t){for(var e=[],n=0;n=st(e)?t<0?_t:bt:e<0?wt:Et}function I(t,e,n){n||(n=xt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function R(t,e,n){n||(n=xt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function j(){this.evEl=At,this.evWin=Pt,this.pressed=!1,x.apply(this,arguments)}function D(){this.evEl=Rt,this.evWin=jt,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function F(){this.evTarget=Ft,this.evWin=Mt,this.started=!1,x.apply(this,arguments)}function M(){this.evTarget=Vt,this.targetIds={},x.apply(this,arguments)}function L(){x.apply(this,arguments);var t=f(this.handler,this);this.touch=new M(this.manager,t),this.mouse=new j(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function V(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches,i=function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)};setTimeout(i,Bt)}}function B(t,e){this.manager=t,this.set(e)}function H(t){this.options=et({},this.defaults,t||{}),this.id=ct++,this.manager=null,this.options.enable=y(this.options.enable,!0),this.state=qt,this.simultaneous={},this.requireFail=[]}function z(t){return t&Yt?"cancel":t&Kt?"end":t&Qt?"move":t&Wt?"start":""}function U(t){return t==Et?"down":t==wt?"up":t==_t?"left":t==bt?"right":""}function q(t,e){var n=e.manager;return n?n.get(t):t}function W(){H.apply(this,arguments)}function Q(){W.apply(this,arguments),this.pX=null,this.pY=null}function K(){W.apply(this,arguments)}function Z(){H.apply(this,arguments),this._timer=null,this._input=null}function Y(){W.apply(this,arguments)}function G(){W.apply(this,arguments)}function X(){H.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function $(t,e){return e=e||{},e.recognizers=y(e.recognizers,$.defaults.preset),new J(t,e)}function J(t,e){this.options=et({},$.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){return new(t.options.inputClass||(pt?D:ft?M:ht?L:j))(t,k)}(this),this.touchAction=new B(this,this.options.touchAction),tt(this,!0),c(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function tt(t,e){var n=t.element;if(n.style){var r;c(t.options.cssProps,function(i,o){r=S(n.style,o),e?(t.oldCssProps[r]=n.style[r],n.style[r]=i):n.style[r]=t.oldCssProps[r]||""}),e||(t.oldCssProps={})}}var et,nt=["","webkit","Moz","MS","ms","o"],rt=o.createElement("div"),it="function",ot=Math.round,st=Math.abs,at=Date.now;et="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,r=this.state;r=Kt&&e(n.options.event+z(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&i&e.direction},attrTest:function(t){return W.prototype.attrTest.call(this,t)&&(this.state&Wt||!(this.state&Wt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=U(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),p(K,W,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Wt)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),p(Z,H,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distancee.time;if(this._input=t,!r||!n||t.eventType&(mt|vt)&&!i)this.reset();else if(t.eventType&yt)this.reset(),this._timer=u(function(){this.state=Zt,this.tryEmit()},e.time,this);else if(t.eventType&mt)return Zt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Zt&&(t&&t.eventType&mt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=at(),this.manager.emit(this.options.event,this._input)))}}),p(Y,W,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Wt)}}),p(G,W,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ct|St,pointers:1},getTouchAction:function(){return Q.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Ct|St)?e=t.overallVelocity:n&Ct?e=t.overallVelocityX:n&St&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&st(e)>this.options.velocity&&t.eventType&mt},emit:function(t){var e=U(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(X,H,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.a)},xIGM:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return o});var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||void 0!==t&&t||i}).call(e,n("fRUx"))}},[0]); \ No newline at end of file diff --git a/angular/dist/main.b87b5dcb5bcf3b857b94.bundle.js b/angular/dist/main.b87b5dcb5bcf3b857b94.bundle.js deleted file mode 100644 index dfe5b2b..0000000 --- a/angular/dist/main.b87b5dcb5bcf3b857b94.bundle.js +++ /dev/null @@ -1 +0,0 @@ -webpackJsonp([1],{0:function(t,e,n){t.exports=n("cDNt")},"1j/l":function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},"2kLc":function(t,e,n){"use strict";var r=n("AP4T"),i=n("Oryw"),o=n("bywS"),s=n("3iOE");n.d(e,"a",function(){return a});var a=function(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof u&&(n=t.pop()),null===a&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(n)(new i.a(t,a))}},"3iOE":function(t,e,n){"use strict";e.a=function(t){return t&&"function"==typeof t.schedule}},"6Xbx":function(t,e,n){"use strict";e.b=function(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},n.d(e,"a",function(){return i});var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n ");else if("object"==typeof e){var r=[];for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];r.push(i+":"+("string"==typeof o?JSON.stringify(o):a(o)))}n="{"+r.join(", ")+"}"}return"StaticInjectorError["+n+"]: "+t.replace(Dn,"\n ")}function d(t,e){return new Error(f(t,e))}function y(t){return t[Ln]}function m(t){return t[Vn]}function v(t){return!!t&&"function"==typeof t.then}function g(t){return!!t&&"function"==typeof t.subscribe}function _(){return""+b()+b()+b()}function b(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function w(){throw new Error("Runtime compiler is not loaded")}function E(t){var e=Error("No component factory found for "+a(t)+". Did you add it to @NgModule.entryComponents?");return e[$n]=t,e}function C(t,e){return null}function S(){}function T(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function x(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function k(t){t._nesting--,T(t)}function O(t){fr=t}function A(){if(yr)throw new Error("Cannot enable prod mode after platform setup.");dr=!1}function P(){return yr=!0,dr}function N(t,e,n){void 0===n&&(n=[]);var r=new cn("Platform: "+e);return function(e){void 0===e&&(e=[]);var i=I();return i&&!i.injector.get(mr,!1)||(t?t(n.concat(e).concat({provide:r,useValue:!0})):function(t){if(tn&&!tn.destroyed&&!tn.injector.get(mr,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");tn=t.get(gr);var e=t.get(Wn,null);e&&e.forEach(function(t){return t()})}(Tn.create(n.concat(e).concat({provide:r,useValue:!0})))),function(t){var e=I();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function I(){return tn&&!tn.destroyed?tn:null}function R(t,e){return t=Array.isArray(e)?e.reduce(R,t):Object(on.a)({},t,e)}function j(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function D(t){return t.reduce(function(t,e){var n=Array.isArray(e)?D(e):e;return t.concat(n)},[])}function F(t,e,n){t.childNodes.forEach(function(t){t instanceof Ar&&(e(t)&&n.push(t),F(t,e,n))})}function M(t,e,n){t instanceof Ar&&t.childNodes.forEach(function(t){e(t)&&n.push(t),t instanceof Ar&&M(t,e,n)})}function L(t){return Pr.get(t)||null}function V(t){Pr.set(t.nativeNode,t)}function B(t,e){var n=H(t),r=H(e);return n&&r?function(t,e,n){for(var r=t[i()](),o=e[i()]();;){var s=r.next(),a=o.next();if(s.done&&a.done)return!0;if(s.done||a.done)return!1;if(!n(s.value,a.value))return!1}}(t,e,B):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||s(t,e)}function H(t){return!!z(t)&&(Array.isArray(t)||!(t instanceof Map)&&i()in t)}function z(t){return null!==t&&("function"==typeof t||"object"==typeof t)}function U(t,e,n){var r=t.previousIndex;if(null===r)return r;var i=0;return n&&r=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,zt(n,e),$r.dirtyParentQueries(r),Bt(r),r}function Vt(t,e,n){var r=e?ht(e,e.def.lastRenderRootNode):t.renderElement;bt(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Bt(t){bt(t,3,null,null,void 0)}function Ht(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function zt(t,e){e>=t.length-1?t.pop():t.splice(e,1)}function Ut(t,e,n,r,i,o){return new ci(t,e,n,r,i,o)}function qt(t,e,n){return new pi(t,e,n)}function Wt(t){return new fi(t)}function Qt(t,e){return new di(t,e)}function Kt(t,e){return new yi(t,e)}function Zt(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Z(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return K(t,n.nodeIndex).renderText;if(20240&n.flags)return Y(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function Yt(t){return new mi(t.renderer)}function Gt(t,e,n,r){return new vi(t,e,n,r)}function Xt(t,e,n,r,i,o,s,a){var u=[];if(s)for(var c in s){var h=s[c];u[h[0]]={flags:8,name:c,nonMinifiedName:h[1],ns:null,securityContext:null,suffix:null}}var p=[];if(a)for(var f in a)p.push({type:1,propName:f,target:null,eventName:a[f]});return e|=16384,function(t,e,n,r,i,o,s,a,u){var c=mt(n),h=c.matchedQueries,p=c.references,f=c.matchedQueryIds;u||(u=[]),a||(a=[]),o=l(o);var d=vt(s);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:f,references:p,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:xt(a),outputs:u,element:null,provider:{token:i,value:o,deps:d},text:null,query:null,ngContent:null}}(t,e,n,r,i,i,o,u,p)}function $t(t,e){return ee(t,e)}function Jt(t,e){for(var n=t;n.parent&&!ft(n);)n=n.parent;return ne(n.parent,ct(n),!0,e.provider.value,e.provider.deps)}function te(t,e){var n=ne(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return ne(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(re(t,e,n,i[0]));case 2:return r(re(t,e,n,i[0]),re(t,e,n,i[1]));case 3:return r(re(t,e,n,i[0]),re(t,e,n,i[1]),re(t,e,n,i[2]));default:for(var s=Array(o),a=0;ai)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}(l,y,e.length),i+=y.bindings.length,o+=y.outputs.length,!c&&3&y.flags&&(f=y),20224&y.flags){h||(h=!0,l.element.publicProviders=Object.create(l.element.publicProviders),l.element.allProviders=l.element.publicProviders);var v=0!=(32768&y.flags);0==(8192&y.flags)||v?l.element.publicProviders[et(y.provider.token)]=y:(p||(p=!0,l.element.allProviders=Object.create(l.element.publicProviders)),l.element.allProviders[et(y.provider.token)]=y),v&&(l.element.componentProvider=y)}if(l?(l.childFlags|=y.flags,l.directChildFlags|=y.flags,l.childMatchedQueries|=y.matchedQueryIds,y.element&&y.element.template&&(l.childMatchedQueries|=y.element.template.nodeMatchedQueries)):a|=y.flags,y.childCount>0)l=y,be(y)||(c=y);else for(;l&&d===l.nodeIndex+l.childCount;){var g=l.parent;g&&(g.childFlags|=l.childFlags,g.childMatchedQueries|=l.childMatchedQueries),c=(l=g)&&be(l)?l.renderParent:l}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:u,flags:t,nodes:e,updateDirectives:n||Jr,updateRenderer:r||Jr,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:f}}function be(t){return 0!=(1&t.flags)&&null===t.element.name}function we(t,e,n,r){var i=Se(t.root,t.renderer,t,e,n);return Te(i,t.component,r),xe(i),i}function Ee(t,e,n){var r=Se(t,t.renderer,null,null,e);return Te(r,n,n),xe(r),r}function Ce(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,Se(t.root,i,t,e.element.componentProvider,n)}function Se(t,e,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:s}}function Te(t,e,n){t.component=e,t.context=n}function xe(t){var e;ft(t)&&(e=Z(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&Rt(t,e,0,n)&&(f=!0),p>1&&Rt(t,e,1,r)&&(f=!0),p>2&&Rt(t,e,2,i)&&(f=!0),p>3&&Rt(t,e,3,o)&&(f=!0),p>4&&Rt(t,e,4,s)&&(f=!0),p>5&&Rt(t,e,5,a)&&(f=!0),p>6&&Rt(t,e,6,u)&&(f=!0),p>7&&Rt(t,e,7,l)&&(f=!0),p>8&&Rt(t,e,8,c)&&(f=!0),p>9&&Rt(t,e,9,h)&&(f=!0),f}(t,e,n,r,i,o,s,a,u,l,c,h);case 2:return function(t,e,n,r,i,o,s,a,u,l,c,h){var p=!1,f=e.bindings,d=f.length;if(d>0&&it(t,e,0,n)&&(p=!0),d>1&&it(t,e,1,r)&&(p=!0),d>2&&it(t,e,2,i)&&(p=!0),d>3&&it(t,e,3,o)&&(p=!0),d>4&&it(t,e,4,s)&&(p=!0),d>5&&it(t,e,5,a)&&(p=!0),d>6&&it(t,e,6,u)&&(p=!0),d>7&&it(t,e,7,l)&&(p=!0),d>8&&it(t,e,8,c)&&(p=!0),d>9&&it(t,e,9,h)&&(p=!0),p){var y=e.text.prefix;d>0&&(y+=ge(n,f[0])),d>1&&(y+=ge(r,f[1])),d>2&&(y+=ge(i,f[2])),d>3&&(y+=ge(o,f[3])),d>4&&(y+=ge(s,f[4])),d>5&&(y+=ge(a,f[5])),d>6&&(y+=ge(u,f[6])),d>7&&(y+=ge(l,f[7])),d>8&&(y+=ge(c,f[8])),d>9&&(y+=ge(h,f[9]));var m=K(t,e.nodeIndex).renderText;t.renderer.setValue(m,y)}return p}(t,e,n,r,i,o,s,a,u,l,c,h);case 16384:return function(t,e,n,r,i,o,s,a,u,l,c,h){var p=Y(t,e.nodeIndex),f=p.instance,d=!1,y=void 0,m=e.bindings.length;return m>0&&rt(t,e,0,n)&&(d=!0,y=oe(t,p,e,0,n,y)),m>1&&rt(t,e,1,r)&&(d=!0,y=oe(t,p,e,1,r,y)),m>2&&rt(t,e,2,i)&&(d=!0,y=oe(t,p,e,2,i,y)),m>3&&rt(t,e,3,o)&&(d=!0,y=oe(t,p,e,3,o,y)),m>4&&rt(t,e,4,s)&&(d=!0,y=oe(t,p,e,4,s,y)),m>5&&rt(t,e,5,a)&&(d=!0,y=oe(t,p,e,5,a,y)),m>6&&rt(t,e,6,u)&&(d=!0,y=oe(t,p,e,6,u,y)),m>7&&rt(t,e,7,l)&&(d=!0,y=oe(t,p,e,7,l,y)),m>8&&rt(t,e,8,c)&&(d=!0,y=oe(t,p,e,8,c,y)),m>9&&rt(t,e,9,h)&&(d=!0,y=oe(t,p,e,9,h,y)),y&&f.ngOnChanges(y),2&t.state&&65536&e.flags&&f.ngOnInit(),262144&e.flags&&f.ngDoCheck(),d}(t,e,n,r,i,o,s,a,u,l,c,h);case 32:case 64:case 128:return function(t,e,n,r,i,o,s,a,u,l,c,h){var p=e.bindings,f=!1,d=p.length;if(d>0&&it(t,e,0,n)&&(f=!0),d>1&&it(t,e,1,r)&&(f=!0),d>2&&it(t,e,2,i)&&(f=!0),d>3&&it(t,e,3,o)&&(f=!0),d>4&&it(t,e,4,s)&&(f=!0),d>5&&it(t,e,5,a)&&(f=!0),d>6&&it(t,e,6,u)&&(f=!0),d>7&&it(t,e,7,l)&&(f=!0),d>8&&it(t,e,8,c)&&(f=!0),d>9&&it(t,e,9,h)&&(f=!0),f){var y=G(t,e.nodeIndex),m=void 0;switch(201347067&e.flags){case 32:m=new Array(p.length),d>0&&(m[0]=n),d>1&&(m[1]=r),d>2&&(m[2]=i),d>3&&(m[3]=o),d>4&&(m[4]=s),d>5&&(m[5]=a),d>6&&(m[6]=u),d>7&&(m[7]=l),d>8&&(m[8]=c),d>9&&(m[9]=h);break;case 64:m={},d>0&&(m[p[0].name]=n),d>1&&(m[p[1].name]=r),d>2&&(m[p[2].name]=i),d>3&&(m[p[3].name]=o),d>4&&(m[p[4].name]=s),d>5&&(m[p[5].name]=a),d>6&&(m[p[6].name]=u),d>7&&(m[p[7].name]=l),d>8&&(m[p[8].name]=c),d>9&&(m[p[9].name]=h);break;case 128:var v=n;switch(d){case 1:m=v.transform(n);break;case 2:m=v.transform(r);break;case 3:m=v.transform(r,i);break;case 4:m=v.transform(r,i,o);break;case 5:m=v.transform(r,i,o,s);break;case 6:m=v.transform(r,i,o,s,a);break;case 7:m=v.transform(r,i,o,s,a,u);break;case 8:m=v.transform(r,i,o,s,a,u,l);break;case 9:m=v.transform(r,i,o,s,a,u,l,c);break;case 10:m=v.transform(r,i,o,s,a,u,l,c,h)}}y.value=m}return f}(t,e,n,r,i,o,s,a,u,l,c,h);default:throw"unreachable"}}(t,e,r,i,o,s,a,u,l,c,h,p):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&ot(t,e,0,n),p>1&&ot(t,e,1,r),p>2&&ot(t,e,2,i),p>3&&ot(t,e,3,o),p>4&&ot(t,e,4,s),p>5&&ot(t,e,5,a),p>6&&ot(t,e,6,u),p>7&&ot(t,e,7,l),p>8&&ot(t,e,8,c),p>9&&ot(t,e,9,h)}(t,e,r,i,o,s,a,u,l,c,h,p):function(t,e,n){for(var r=0;r0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+a(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}(),_r=function(){function t(t,e,n,r,i,s){var a=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=P(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var u=new sn.a(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),l=new sn.a(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){ur.assertNotInAngularZone(),o(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){ur.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(an.a)(u,un.a.call(l))}return t.prototype.bootstrap=function(t,e){var n=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.");var r;r=t instanceof Xn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(r.componentType);var i=r instanceof nr?null:this._injector.get(rr),o=r.create(Tn.NULL,[],e||r.selector,i);o.onDestroy(function(){n._unloadComponent(o)});var s=o.injector.get(hr,null);return s&&o.injector.get(pr).registerApplication(o.location.nativeElement,s),this._loadComponent(o),P()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(t){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(t)})}finally{this._runningTick=!1,sr(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;j(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Kn,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),j(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=or("ApplicationRef#tick()"),t}(),br=function(){},wr=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),Er=function(){},Cr=function(t){this.nativeElement=t},Sr=function(){function t(){this.dirty=!0,this._results=[],this.changes=new ar}return Object.defineProperty(t.prototype,"length",{get:function(){return this._results.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"first",{get:function(){return this._results[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this._results[this.length-1]},enumerable:!0,configurable:!0}),t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[i()]=function(){return this._results[i()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=D(t),this.dirty=!1},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Tr=function(){},xr=function(){},kr=function(){},Or=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Ar?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Ar=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return Object(on.b)(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n=this,r=this.childNodes.indexOf(t);-1!==r&&((i=this.childNodes).splice.apply(i,[r+1,0].concat(e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=n}));var i},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return F(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return M(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Or),Pr=new Map,Nr=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t}(),Ir=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}(),Rr=function(){function t(){}return t.prototype.supports=function(t){return H(t)},t.prototype.create=function(t){return new Dr(t)},t}(),jr=function(t,e){return e},Dr=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||jr}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex=0;t--){var e=Lt(this._data,t);$r.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new fi(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof nr||(i=o.get(rr));var s=t.create(o,r,void 0,i);return this.insert(s.hostView,e),s},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=t;return function(t,e,n,r){var i=e.viewContainer._embeddedViews;null!==n&&void 0!==n||(n=i.length),r.viewContainerParent=t,Ht(i,n,r),function(t,e){var n=lt(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(e,r),$r.dirtyParentQueries(r),Vt(e,n>0?i[n-1]:null,r)}(this._view,this._data,e,n._view),n.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(t._view);return function(t,e,r){var i=t.viewContainer._embeddedViews,o=i[n];zt(i,n),null==r&&(r=i.length),Ht(i,r,o),$r.dirtyParentQueries(o),Bt(o),Vt(t,r>0?i[r-1]:null,o)}(this._data,0,e),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Lt(this._data,t);e&&$r.destroyView(e)},t.prototype.detach=function(t){var e=Lt(this._data,t);return e?new fi(e):null},t}(),fi=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return function(t){var e=[];return bt(t,0,void 0,void 0,e),e}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){st(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin(),$r.checkAndUpdateView(this._view),t.end&&t.end()},t.prototype.checkNoChanges=function(){$r.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),$r.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Bt(this._view),$r.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}(),di=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return Object(on.b)(e,t),e.prototype.createEmbeddedView=function(t){return new fi($r.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Cr(Z(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Tr),yi=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Tn.THROW_IF_NOT_FOUND),$r.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:et(t)},e)},t}(),mi=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=Tt(e),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n1?new e(t,r):1===i?new o.a(t[0],r):new s.a(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.subscriber;n>=t.count?r.complete():(r.next(e[n]),r.closed||(t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var o=0;o/g,">")}function y(t){fn.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||fn.removeAttribute(t,n)});for(var e=0,n=fn.childNodesAsList(t);ee.bottom||t.righte.right})}function zt(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}function Ut(t){return t||new jo}function qt(t){return t||new Do}function Wt(t){return function(){return t.scrollStrategies.reposition()}}function Qt(t){var e=t.subscriber;e.closed||(e.next(t.value),e.complete())}function Kt(t){var e=t.subscriber;e.closed||e.error(t.err)}function Zt(t){var e=t[Wo.a];if(!e&&"string"==typeof t)return new Ko(t);if(!e&&void 0!==t.length)return new Zo(t);if(!e)throw new TypeError("object is not iterable");return t[Wo.a]()}function Yt(){for(var t=[],e=0;e0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;s||(s=t[o]=[]);var u=Je(e)?Zone.root:Zone.current;if(0===s.length)s.push({zone:u,handler:i});else{for(var l=!1,c=0;c-1},e}(Me),an=["alt","control","meta","shift"],un={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},ln=function(t){function e(e){return t.call(this,e)||this}return Object(ae.b)(e,t),e.prototype.supports=function(t){return null!=e.parseEventName(t)},e.prototype.addEventListener=function(t,n,i){var o=e.parseEventName(n),s=e.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return r().onAndCancel(t,o.domEventName,s)})},e.parseEventName=function(t){var n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;var i=e._normalizeKey(n.pop()),o="";if(an.forEach(function(t){var e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},e.getEventFullKey=function(t){var e="",n=r().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),an.forEach(function(r){r!=n&&(0,un[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,n,r){return function(i){e.getEventFullKey(i)===t&&r.runGuarded(function(){return n(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Me),cn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,hn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i,pn=null,fn=null,dn=h("area,br,col,hr,img,wbr"),yn=h("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),mn=h("rp,rt"),vn=p(mn,yn),gn=p(dn,p(yn,h("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),p(mn,h("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),vn),_n=h("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),bn=h("srcset"),wn=p(_n,bn,h("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width")),En=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(fn.isElementNode(e)?this.startElement(e):fn.isTextNode(e)?this.chars(fn.nodeValue(e)):this.sanitizedSomething=!0,fn.firstChild(e))e=fn.firstChild(e);else for(;e;){fn.isElementNode(e)&&this.endElement(e);var n=f(e,fn.nextSibling(e));if(n){e=n;break}e=f(e,fn.parentElement(e))}return this.buf.join("")},t.prototype.startElement=function(t){var e=this,n=fn.nodeName(t).toLowerCase();gn.hasOwnProperty(n)?(this.buf.push("<"),this.buf.push(n),fn.attributeMap(t).forEach(function(t,n){var r=n.toLowerCase();wn.hasOwnProperty(r)?(_n[r]&&(t=c(t)),bn[r]&&(t=function(t){return(t=String(t)).split(",").map(function(t){return c(t.trim())}).join(", ")}(t)),e.buf.push(" "),e.buf.push(n),e.buf.push('="'),e.buf.push(d(t)),e.buf.push('"')):e.sanitizedSomething=!0}),this.buf.push(">")):this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=fn.nodeName(t).toLowerCase();gn.hasOwnProperty(e)&&!dn.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(d(t))},t}(),Cn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Sn=/([^\#-~ |!])/g,Tn=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"),xn=/^url\(([^)]+)\)$/,kn=function(){},On=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return Object(ae.b)(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case se.B.NONE:return e;case se.B.HTML:return e instanceof Pn?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){try{var n=function(){if(pn)return pn;var t=(fn=r()).createElement("template");if("content"in t)return t;var e=fn.createHtmlDocument();if(null==(pn=fn.querySelector(e,"body"))){var n=fn.createElement("html",e);pn=fn.createElement("body",e),fn.appendChild(n,pn),fn.appendChild(e,n)}return pn}(),i=e?String(e):"",o=5,s=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,fn.setInnerHTML(n,i=s),t.documentMode&&y(n),s=fn.getInnerHTML(n)}while(i!==s);for(var a=new En,u=a.sanitizeChildren(fn.getTemplateContent(n)||n),l=fn.getTemplateContent(n)||n,c=0,h=fn.childNodesAsList(l);c=o&&e._onFinish()}),t.onDestroy(function(){++r>=o&&e._onDestroy()}),t.onStart(function(){++i>=o&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t}(),zn="!",Un=function(t,e){return!1},qn=function(t,e){return!1},Wn=function(t,e,n){return[]};if("undefined"!=typeof Element){if(Un=function(t,e){return t.contains(e)},Element.prototype.matches)qn=function(t,e){return t.matches(e)};else{var Qn=Element.prototype,Kn=Qn.matchesSelector||Qn.mozMatchesSelector||Qn.msMatchesSelector||Qn.oMatchesSelector||Qn.webkitMatchesSelector;Kn&&(qn=function(t,e){return Kn.apply(t,[e])})}Wn=function(t,e,n){var r=[];if(n)r.push.apply(r,t.querySelectorAll(e));else{var i=t.querySelector(e);i&&r.push(i)}return r}}var Zn,Yn=null,Gn=qn,Xn=Un,$n=Wn,Jn=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return k(t)},t.prototype.matchesElement=function(t,e){return Gn(t,e)},t.prototype.containsElement=function(t,e){return Xn(t,e)},t.prototype.query=function(t,e,n){return $n(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,r,i,o){return void 0===o&&(o=[]),new Bn},t}(),tr=function(){function t(){}return t.NOOP=new Jn,t}(),er=1e3,nr=new RegExp("{{\\s*(.+?)\\s*}}","g"),rr=/-+([a-z0-9])/g,ir="*",or=new Set,sr=new Set,ar=new RegExp("s*:selfs*,?","g"),ur=new RegExp(":leave","g"),lr=new RegExp(":enter","g"),cr=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new hr(e);return this._resetContextStyleTimingState(n),H(this,F(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,r=e.queryCount=0,i=e.depCount=0,o=[],s=[];return t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var a=t,u=a.name;u.split(/\s*,\s*/).forEach(function(t){a.name=t,o.push(n.visitState(a,e))}),a.name=u}else if(1==t.type){var l=n.visitTransition(t,e);r+=l.queryCount,i+=l.depCount,s.push(l)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),r=t.options&&t.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(t){if(q(t)){var e=t;Object.keys(e).forEach(function(t){M(e[t]).forEach(function(t){o.hasOwnProperty(t)||i.add(t)})})}}),i.size){var s=V(i.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+s.join(", "))}}return{type:0,name:t.name,style:n,options:r?{params:r}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n=H(this,F(t.animation),e);return{type:1,matchers:function(t,e){var n=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var r=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],s=i[2],a=i[3];e.push(z(o,a)),"<"!=s[0]||o==ir&&a==ir||e.push(z(a,o))}(t,n,e)}):n.push(t),n}(t.expr,e.errors),animation:n,queryCount:e.queryCount,depCount:e.depCount,options:W(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return H(n,t,e)}),options:W(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=H(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:W(t.options)}},t.prototype.visitAnimate=function(t,e){var n=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Q(N(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=Q(0,0,"");return i.dynamic=!0,i.strValue=r,i}return n=n||N(r,e),Q(n.duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=n;var r,i=t.styles?t.styles:g({});if(5==i.type)r=this.visitKeyframes(i,e);else{var o=t.styles,s=!1;if(!o){s=!0;var a={};n.easing&&(a.easing=n.easing),o=g(a)}e.currentTime+=n.duration+n.delay;var u=this.visitStyle(o,e);u.isEmptyStep=s,r=u}return e.currentAnimateTimings=null,{type:4,timings:n,style:r,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==Vn?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(q(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s=e.collectedStyles[e.currentQuerySelector],a=s[r],u=!0;a&&(o!=i&&o>=a.startTime&&i<=a.endTime&&(e.errors.push('The CSS property "'+r+'" that exists between the times of "'+a.startTime+'ms" and "'+a.endTime+'ms" is also being animated in a parallel animation between the times of "'+o+'ms" and "'+i+'ms"'),u=!1),o=a.startTime),u&&(s[r]={startTime:o,endTime:i}),e.options&&function(n,i,o){var s=e.options.params||{},a=M(t[r]);a.length&&a.forEach(function(t){s.hasOwnProperty(t)||o.push("Unable to resolve the local animation param "+t+" in the given list of values")})}(0,0,e.errors)}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,u=0,l=t.steps.map(function(t){var r=n._makeStyleAst(t,e),l=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(q(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(q(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=l&&(i++,c=r.offset=l),a=a||c<0||c>1,s=s||c0&&i0?i==p?1:h*i:o[i],a=s*y;e.currentTime=f+d.delay+a,d.duration=a,n._validateStyleAst(t,e),t.offset=s,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:H(this,F(t.animation),e),options:W(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:W(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:W(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(ar,"")),t=t.replace(lr,".ng-enter").replace(ur,".ng-leave").replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),[t,e]}(t.selector),o=i[0],s=i[1];e.currentQuerySelector=n.length?n+" "+o:o,T(e.collectedStyles,e.currentQuerySelector,{});var a=H(this,F(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:t.selector,options:W(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:N(t.timings,e.errors,!0);return{type:12,animation:H(this,F(t.animation),e),timings:n,options:null}},t}(),hr=function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null},pr=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,e)},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),fr=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,s,a){void 0===a&&(a=[]),s=s||new pr;var u=new yr(t,e,s,a,[]);u.options=o,u.currentTimeline.setStyles([r],null,u.errors,o),H(this,n,u);var l=u.timelines.filter(function(t){return t.containsAnimation()});if(l.length&&Object.keys(i).length){var c=l[l.length-1];c.allowOnlyTimelineStyles()||c.setStyles([i],null,u.errors,o)}return l.length?l.map(function(t){return t.buildKeyframes()}):[K(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?A(n.duration):null,o=null!=n.delay?A(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),H(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=dr);var s=A(o.delay);i.delayNextStep(s)}t.steps.length&&(t.steps.forEach(function(t){return H(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?A(t.options.delay):0;t.steps.forEach(function(s){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),H(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return N(e.params?L(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?A(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=dr);var s=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;var u=null;a.forEach(function(r,i){e.currentQueryIndex=i;var a=e.createSubContext(t.options,r);o&&a.delayNextStep(o),r===e.element&&(u=a.currentTimeline),H(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe();var l=a.currentTimeline.currentTime;s=Math.max(s,l)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(s),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),s=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=o*(e.currentQueryTotal-1)-s;break;case"full":s=n.currentStaggerTime}var a=e.currentTimeline;s&&a.delayNextStep(s);var u=a.currentTime;H(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),dr={},yr=function(){function t(t,e,n,r,i,o){this._driver=t,this.element=e,this.subInstructions=n,this.errors=r,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=dr,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=o||new mr(this._driver,e,0),i.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=A(r.duration)),null!=r.delay&&(i.delay=A(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(t){e&&s.hasOwnProperty(t)||(s[t]=L(o[t],s,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=dr,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new vr(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var s=[];if(r&&s.push(this.element),t.length>0){var a=this._driver.query(this.element,t,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,a)}return i||0!=s.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),s},t}(),mr=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||Vn,e._currentKeyframe[t]=Vn}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},s=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=Vn}):R(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(s).forEach(function(t){var e=L(s[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:Vn),i._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=R(o,!0);Object.keys(a).forEach(function(t){var r=a[t];r==zn?e.add(t):r==Vn&&n.add(t)}),r||(a.offset=s/t.duration),i.push(a)});var o=e.size?V(e.values()):[],s=n.size?V(n.values()):[];if(r){var a=i[0],u=I(a);a.offset=0,u.offset=1,i=[a,u]}return K(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},t}(),vr=function(t){function e(e,n,r,i,o,s,a){void 0===a&&(a=!1);var u=t.call(this,e,n,s.delay)||this;return u.element=n,u.keyframes=r,u.preStyleProps=i,u.postStyleProps=o,u._stretchStartingKeyframe=a,u.timings={duration:s.duration,delay:s.delay,easing:s.easing},u}return Object(ae.b)(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,u=R(t[0],!1);u.offset=0,o.push(u);var l=R(t[0],!1);l.offset=Y(a),o.push(l);for(var c=t.length-1,h=1;h<=c;h++){var p=R(t[h],!1);p.offset=Y((n+p.offset*r)/s),o.push(p)}r=s,n=0,i="",t=o}return K(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(mr),gr=function(){},_r=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(ae.b)(e,t),e.prototype.normalizePropertyName=function(t,e){return B(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(br[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(gr),br=function(t){var e={};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(t){return e[t]=!0}),e}(),wr={},Er=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e){return function(t,e,n){return t.some(function(t){return t(e,n)})}(this.ast.matchers,t,e)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,o,s){var a=[],u=this.ast.options&&this.ast.options.params||wr,l=this.buildStyles(n,i&&i.params||wr,a),c=o&&o.params||wr,h=this.buildStyles(r,c,a),p=new Set,f=new Map,d=new Map,y="void"===r,m={params:Object(ae.a)({},u,c)},v=Z(t,e,this.ast.animation,l,h,m,s,a);if(a.length)return G(e,this._triggerName,n,r,y,l,h,[],[],f,d,a);v.forEach(function(t){var n=t.element,r=T(f,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=T(d,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&p.add(n)});var g=V(p.values());return G(e,this._triggerName,n,r,y,l,h,v,g,f,d)},t}(),Cr=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=I(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=L(o,r,e)),n[t]=o})}}),n},t}(),Sr=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Cr(t.style,t.options&&t.options.params||{})}),X(this.states,"true","1"),X(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new Er(t,e,n.states))}),this.fallbackTransition=function(e,n){return new Er(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},n)}(0,this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e){return this.transitionFactories.find(function(n){return n.match(t,e)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}(),Tr=new pr,xr=function(){function t(t,e){this._driver=t,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=U(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=w(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[])},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[t],a=new Map;if(s?(i=Z(this._driver,e,s,{},{},n,Tr,o)).forEach(function(t){var e=T(a,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,Vn)})});var u=b(i.map(function(t){var e=a.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=u,u.onDestroy(function(){return r.destroy(t)}),this.players.push(u),u},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=S(e,"","","");return E(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),kr=[],Or={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!1},Ar={namespaceId:"",setForRemoval:null,hasAnimation:!1,removedBeforeQueried:!0},Pr="__ng_removed",Nr=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=I(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),Ir=new Nr("void"),Rr=new Nr("DELETED"),jr=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,et(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=n&&"done"!=n)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var o=T(this._elementListeners,t,[]),s={name:e,phase:n,callback:r};o.push(s);var a=T(this._engine.statesByElement,t,{});return a.hasOwnProperty(e)||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),a[e]=Ir),function(){i._engine.afterFlush(function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),i._triggers[e]||delete a[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),s=new Fr(this.id,e,t),a=this._engine.statesByElement.get(t);a||(et(t,"ng-trigger"),et(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var u=a[e],l=new Nr(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&u&&l.absorbOptions(u.options),a[e]=l,u){if(u===Rr)return s}else u=Ir;if("void"===l.value||u.value!==l.value){var c=T(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(u.value,l.value),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:u,toState:l,player:s,isFallbackTransition:p}),p||(et(t,"ng-animate-queued"),s.onStart(function(){nt(t,"ng-animate-queued")})),s.onDone(function(){var e=i.players.indexOf(s);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0;f--)this._namespaceList[f].drainQueuedTransitions(e).forEach(function(t){var e=t.player;m.push(e);var o=t.element;if(h&&n.driver.containsElement(h,o)){var c=n._buildInstruction(t,r);if(c.errors&&c.errors.length)v.push(c);else{if(t.isFallbackTransition)return e.onStart(function(){return D(o,c.fromStyles)}),e.onDestroy(function(){return j(o,c.toStyles)}),void i.push(e);c.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(o,c.timelines),s.push({instruction:c,player:e,element:o}),c.queriedElements.forEach(function(t){return T(a,t,[]).push(e)}),c.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),c.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=l.get(e);r||l.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}}else e.destroy()});if(v.length){var g=[];v.forEach(function(t){g.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return g.push("- "+t+"\n")})}),m.forEach(function(t){return t.destroy()}),this.reportError(g)}for(var _=new Set,f=0;f0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Bn},t}(),Fr=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Bn,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1}return Object.defineProperty(t.prototype,"queued",{get:function(){return 0==this._containsRealPlayer},enumerable:!0,configurable:!0}),t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return E(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0)},t.prototype.getRealPlayer=function(){return this._player},t.prototype._queueEvent=function(t,e){T(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._player.totalTime},enumerable:!0,configurable:!0}),t}(),Mr="$$classes",Lr=function(){function t(t,e){var n=this;this._driver=t,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new Dr(t,e),this._timelineEngine=new xr(t,e),this._transitionEngine.onRemovalComplete=function(t,e){return n.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,s=this._triggerCache[o];if(!s){var a=[],u=U(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));s=function(t,e){return new Sr(t,e)}(r,u),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(e,r,s)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=x(n);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=x(n);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Vr=function(){function t(t,e,n,r){void 0===r&&(r=[]);var i=this;this.element=t,this.keyframes=e,this.options=n,this.previousPlayers=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.previousStyles={},this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay,function(t,e){return 0===t||0===e}(this._duration,this._delay)&&r.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return i.previousStyles[t]=e[t]})})}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes.map(function(t){return R(t,!1)}),n=Object.keys(this.previousStyles);if(n.length){var r=e[0],i=[];if(n.forEach(function(e){r.hasOwnProperty(e)||i.push(e),r[e]=t.previousStyles[e]}),i.length)for(var o=this,s=function(){var t=e[a];i.forEach(function(e){t[e]=ot(o.element,e)})},a=1;a=0&&t` elements explicitly or just place content inside of a `` for a single row.")}()},e}(function(t,e){return function(t){function n(){for(var n=[],r=0;r0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,n),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),Ai=function(){function t(){}return t.prototype.encodeKey=function(t){return vt(t)},t.prototype.encodeValue=function(t){return vt(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}(),Pi=function(){function t(t){void 0===t&&(t={});var e=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new Ai,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(t,e){var n=new Map;return t.length>0&&t.split("&").forEach(function(t){var r=t.indexOf("="),i=-1==r?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,r)),e.decodeValue(t.slice(r+1))],o=i[0],s=i[1],a=n.get(o)||[];a.push(s),n.set(o,a)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var r=t.fromObject[n];e.map.set(n,Array.isArray(r)?r:[r])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}(),Ni=function(){function t(t,e,n,r){this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();var i;if(function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=n||null,i=r):i=n,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new Oi),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var s=e.indexOf("?");this.urlWithParams=e+(-1===s?"?":s=200&&this.status<300}}()),ji=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r=this;void 0===n&&(n={});var i;if(t instanceof Ni)i=t;else{var o=void 0;void 0!==!!n.headers&&(o=n.headers instanceof Oi?n.headers:new Oi(n.headers));var s=void 0;n.params&&(s=n.params instanceof Pi?n.params:new Pi({fromObject:n.params})),i=new Ni(t,e,n.body||null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=function(t,e){return function(t,e){return Object(Si.a)(t,e,1)}(t,e)(this)}.call(Ci(i),function(t){return r.handler.handle(t)});if(t instanceof Ni||"events"===n.observe)return a;var u=function(t,e){return yt(t,e)(this)}.call(a,function(t){return t instanceof Ri});switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return mt.call(u,function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body});case"blob":return mt.call(u,function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body});case"text":return mt.call(u,function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body});case"json":default:return mt.call(u,function(t){return t.body})}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new Pi).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,wt(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,wt(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,wt(n,e))},t}(),Di=n("Ecq+"),Fi=n("1j/l"),Mi=function(t){function e(e,n){t.call(this),this.sources=e,this.resultSelector=n}return Object(ae.b)(e,t),e.create=function(){for(var t=[],n=0;n=0;n--){var r=e[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,t);if(i)return i}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(dt(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(dt(function(t){return e._svgElementFromString(t)}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector("#"+e);if(!n)return null;if("svg"===n.tagName.toLowerCase())return this._setSvgAttributes(n.cloneNode(!0));if("symbol"===n.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(n));var r=this._svgElementFromString("");return r.appendChild(n.cloneNode(!0)),this._setSvgAttributes(r)},t.prototype._svgElementFromString=function(t){var e=document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=0;n=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||Nt(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t}(),$i=function(){function t(t,e,n,r,i){void 0===i&&(i=!1),this._element=t,this._platform=e,this._checker=n,this._ngZone=r,this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;this._platform.isBrowser&&(this._startAnchor||(this._startAnchor=this._createAnchor()),this._endAnchor||(this._endAnchor=this._createAnchor()),this._ngZone.runOutsideAngular(function(){t._startAnchor.addEventListener("focus",function(){t.focusLastTabbableElement()}),t._endAnchor.addEventListener("focus",function(){t.focusFirstTabbableElement()}),t._element.parentNode&&(t._element.parentNode.insertBefore(t._startAnchor,t._element),t._element.parentNode.insertBefore(t._endAnchor,t._element.nextSibling))}))},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){if(!this._platform.isBrowser)return null;for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var r=e[n].nodeType===Node.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=document.createElement("div");return t.tabIndex=this._enabled?0:-1,t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(pt()).subscribe(t)},t}(),Ji=function(){function t(t,e,n){this._checker=t,this._platform=e,this._ngZone=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new $i(t,this._platform,this._checker,this._ngZone,e)},t}(),to=new se.m("liveAnnouncerElement"),eo=function(){function t(t,e){e.isBrowser&&(this._liveElement=t||this._createLiveElement())}return t.prototype.announce=function(t,e){var n=this;void 0===e&&(e="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",e),setTimeout(function(){return n._liveElement.textContent=t},100)},t.prototype.ngOnDestroy=function(){this._liveElement&&this._liveElement.parentNode&&this._liveElement.parentNode.removeChild(this._liveElement)},t.prototype._createLiveElement=function(){var t=document.createElement("div");return t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),document.body.appendChild(t),t},t}(),no=function(){function t(t,e){var n=this;this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new WeakMap,this._ngZone.runOutsideAngular(function(){return n._registerDocumentEvents()})}return t.prototype.monitor=function(t,e,n){var r=this;if(!this._platform.isBrowser)return Ci(null);if(this._elementInfo.has(t)){var i=this._elementInfo.get(t);return i.checkChildren=n,i.subject.asObservable()}var o={unlisten:function(){},checkChildren:n,renderer:e,subject:new $r.a};this._elementInfo.set(t,o);var s=function(e){return r._onFocus(e,t)},a=function(e){return r._onBlur(e,t)};return this._ngZone.runOutsideAngular(function(){t.addEventListener("focus",s,!0),t.addEventListener("blur",a,!0)}),o.unlisten=function(){t.removeEventListener("focus",s,!0),t.removeEventListener("blur",a,!0)},o.subject.asObservable()},t.prototype.stopMonitoring=function(t){var e=this._elementInfo.get(t);e&&(e.unlisten(),e.subject.complete(),this._setClasses(t),this._elementInfo.delete(t))},t.prototype.focusVia=function(t,e){this._setOriginForCurrentEventQueue(e),t.focus()},t.prototype._registerDocumentEvents=function(){var t=this;this._platform.isBrowser&&(document.addEventListener("keydown",function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},!0),document.addEventListener("mousedown",function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},!0),document.addEventListener("touchstart",function(e){null!=t._touchTimeout&&clearTimeout(t._touchTimeout),t._lastTouchTarget=e.target,t._touchTimeout=setTimeout(function(){return t._lastTouchTarget=null},650)},!function(){if(null==Zn)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Zn=!0}}))}finally{Zn=Zn||!1}return Zn}()||{passive:!0,capture:!0}),window.addEventListener("focus",function(){t._windowFocused=!0,setTimeout(function(){return t._windowFocused=!1},0)}))},t.prototype._setClasses=function(t,e){var n=this._elementInfo.get(t);if(n){var r=function(e,r){r?n.renderer.addClass(t,e):n.renderer.removeClass(t,e)};r("cdk-focused",!!e),r("cdk-touch-focused","touch"===e),r("cdk-keyboard-focused","keyboard"===e),r("cdk-mouse-focused","mouse"===e),r("cdk-program-focused","program"===e)}},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._origin=t,setTimeout(function(){return e._origin=null},0)},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);n&&(n.checkChildren||e===t.target)&&(this._origin||(this._origin=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,this._origin),n.subject.next(this._origin),this._lastFocusOrigin=this._origin,this._origin=null)},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),n.subject.next(null))},t}(),ro=function(){},io=n("8ofh"),oo=n("B1iP"),so=n("NePw"),ao=Object.prototype.toString,uo=function(t){function e(e,n,r,i){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=i}return Object(ae.b)(e,t),e.create=function(t,n,r,i){return Object(oo.a)(r)&&(i=r,r=void 0),new e(t,n,i,r)},e.setupSubscription=function(t,n,r,i,o){var s;if(function(t){return!!t&&"[object NodeList]"===ao.call(t)}(t)||function(t){return!!t&&"[object HTMLCollection]"===ao.call(t)}(t))for(var a=0,u=t.length;a=0}(n)?this.period=Number(n)<1&&1||Number(n):Object(ho.a)(n)&&(r=n),Object(ho.a)(r)||(r=Qi),this.scheduler=r,this.dueTime=function(t){return t instanceof Date&&!isNaN(+t)}(e)?+e-this.scheduler.now():e}return Object(ae.b)(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}},e.prototype._subscribe=function(t){return this.scheduler.schedule(e.dispatch,this.dueTime,{index:0,period:this.period,subscriber:t})},e}(ki.a).create,fo=n("2kLc"),yo=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new $r.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?ki.a.create(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(Dt(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._globalSubscription&&!e._scrolledCount&&(e._globalSubscription.unsubscribe(),e._globalSubscription=null)}}):Ci()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(yt(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return uo(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t}(),mo=function(){function t(t,e,n,r){this._elementRef=t,this._scroll=e,this._ngZone=n,this._renderer=r,this._elementScrolled=new $r.a}return t.prototype.ngOnInit=function(){var t=this;this._scrollListener=this._ngZone.runOutsideAngular(function(){return t._renderer.listen(t.getElementRef().nativeElement,"scroll",function(e){t._elementScrolled.next(e)})}),this._scroll.register(this)},t.prototype.ngOnDestroy=function(){this._scroll.deregister(this),this._scrollListener&&(this._scrollListener(),this._scrollListener=null)},t.prototype.elementScrolled=function(){return this._elementScrolled.asObservable()},t.prototype.getElementRef=function(){return this._elementRef},t}(),vo=function(){function t(t,e){var n=this;this._change=t.isBrowser?e.runOutsideAngular(function(){return Object(fo.a)(uo(window,"resize"),uo(window,"orientationchange"))}):Ci(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){return this._viewportSize||this._updateViewportSize(),{width:this._viewportSize.width,height:this._viewportSize.height}},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){var t=document.documentElement.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(Dt(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize={width:window.innerWidth,height:window.innerHeight}},t}(),go=function(){},_o=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Lt(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),bo=function(t){function e(e,n,r){var i=t.call(this)||this;return i.component=e,i.viewContainerRef=n,i.injector=r,i}return Object(ae.b)(e,t),e}(_o),wo=function(t){function e(e,n,r){var i=t.call(this)||this;return i.templateRef=e,i.viewContainerRef=n,r&&(i.context=r),i}return Object(ae.b)(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(_o),Eo=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._hostDomElement=e,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return Object(ae.b)(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,r=this._componentFactoryResolver.resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(r,t.viewContainerRef.length,t.injector||t.viewContainerRef.parentInjector),this.setDisposeFn(function(){return e.destroy()})):(e=r.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this._hostDomElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,r=n.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach(function(t){return e._hostDomElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(r);-1!==t&&n.remove(t)}),r},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this._hostDomElement.parentNode&&this._hostDomElement.parentNode.removeChild(this._hostDomElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Lt(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof bo?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof wo?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}()),Co=function(){},So=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}(),To=function(){return function(t){var e=this;this.scrollStrategy=new So,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.direction="ltr",t&&Object.keys(t).forEach(function(n){return e[n]=t[n]})}}(),xo=function(){function t(t,e){this._scrollDispatcher=t,this._ngZone=e,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw Vt();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(0).subscribe(function(){t._ngZone.run(function(){t.disable(),t._overlayRef.hasAttached()&&t._overlayRef.detach()})}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),ko=function(){function t(t){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=-this._previousScrollPosition.left+"px",t.style.top=-this._previousScrollPosition.top+"px",t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=document.documentElement,e=document.body,n=t.style.scrollBehavior||"",r=e.style.scrollBehavior||"";this._isEnabled=!1,t.style.left=this._previousHTMLStyles.left,t.style.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),t.style.scrollBehavior=e.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.style.scrollBehavior=n,e.style.scrollBehavior=r}},t.prototype._canBeEnabled=function(){if(document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}(),Oo=function(){function t(t,e){this._scrollDispatcher=t,this._config=e,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw Vt();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){t._overlayRef.updatePosition()}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),Ao=function(){return function(t,e,n){var r=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new So},this.close=function(){return new xo(r._scrollDispatcher,r._ngZone)},this.block=function(){return new ko(r._viewportRuler)},this.reposition=function(t){return new Oo(r._scrollDispatcher,t)}}}(),Po=function(){function t(t,e,n,r,i){this._portalOutlet=t,this._pane=e,this._config=n,this._ngZone=r,this._keyboardDispatcher=i,this._backdropElement=null,this._backdropClick=new $r.a,this._attachments=new $r.a,this._detachments=new $r.a,this._keydownEvents=new $r.a,n.scrollStrategy&&n.scrollStrategy.attach(this)}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),this._updateStackingOrder(),this.updateSize(),this.updateDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(pt()).subscribe(function(){e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&(Array.isArray(this._config.panelClass)?this._config.panelClass.forEach(function(t){return e._pane.classList.add(t)}):this._pane.classList.add(this._config.panelClass)),this._attachments.next(),this._keyboardDispatcher.add(this),n},t.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable();var t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),t}},t.prototype.dispose=function(){var t=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEvents.asObservable()},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},t.prototype.updateDirection=function(){this._pane.setAttribute("dir",this._config.direction)},t.prototype.updateSize=function(){(this._config.width||0===this._config.width)&&(this._pane.style.width=Bt(this._config.width)),(this._config.height||0===this._config.height)&&(this._pane.style.height=Bt(this._config.height)),(this._config.minWidth||0===this._config.minWidth)&&(this._pane.style.minWidth=Bt(this._config.minWidth)),(this._config.minHeight||0===this._config.minHeight)&&(this._pane.style.minHeight=Bt(this._config.minHeight)),(this._config.maxWidth||0===this._config.maxWidth)&&(this._pane.style.maxWidth=Bt(this._config.maxWidth)),(this._config.maxHeight||0===this._config.maxHeight)&&(this._pane.style.maxHeight=Bt(this._config.maxHeight))},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._backdropElement.classList.add(this._config.backdropClass),this._pane.parentElement.insertBefore(this._backdropElement,this._pane),this._backdropElement.addEventListener("click",function(){return t._backdropClick.next(null)}),requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})},t.prototype._updateStackingOrder=function(){this._pane.nextSibling&&this._pane.parentNode.appendChild(this._pane)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null)};e.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&e.classList.remove(this._config.backdropClass),e.addEventListener("transitionend",n),e.style.pointerEvents="none",this._ngZone.runOutsideAngular(function(){setTimeout(n,500)})}},t}(),No=function(){function t(t,e,n,r){this._connectedTo=n,this._viewportRuler=r,this._dir="ltr",this._offsetX=0,this._offsetY=0,this.scrollables=[],this._resizeSubscription=mi.a.EMPTY,this._preferredPositions=[],this._onPositionChange=new $r.a,this._origin=this._connectedTo.nativeElement,this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._dir},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._onPositionChange.asObservable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;this._overlayRef=t,this._pane=t.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){return e.apply()})},t.prototype.dispose=function(){this._resizeSubscription.unsubscribe()},t.prototype.detach=function(){this._resizeSubscription.unsubscribe()},t.prototype.apply=function(){for(var t,e,n=this._pane,r=this._origin.getBoundingClientRect(),i=n.getBoundingClientRect(),o=this._viewportRuler.getViewportSize(),s=0,a=this._preferredPositions;s-1&&this._attachedOverlays.splice(e,1)},t.prototype._subscribeToKeydownEvents=function(){var t=this,e=uo(document.body,"keydown");this._keydownEventSubscription=e.pipe(yt(function(){return!!t._attachedOverlays.length})).subscribe(function(e){t._selectOverlayFromEvent(e)._keydownEvents.next(e)})},t.prototype._selectOverlayFromEvent=function(t){return this._attachedOverlays.find(function(e){return e.overlayElement===t.target||e.overlayElement.contains(t.target)})||this._attachedOverlays[this._attachedOverlays.length-1]},t}(),Do=function(){function t(){}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=document.createElement("div");t.classList.add("cdk-overlay-container"),document.body.appendChild(t),this._containerElement=t},t}(),Fo=0,Mo=new To,Lo=function(){function t(t,e,n,r,i,o,s,a){this.scrollStrategies=t,this._overlayContainer=e,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._appRef=o,this._injector=s,this._ngZone=a}return t.prototype.create=function(t){void 0===t&&(t=Mo);var e=this._createPaneElement(),n=this._createPortalOutlet(e);return new Po(n,e,t,this._ngZone,this._keyboardDispatcher)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(){var t=document.createElement("div");return t.id="cdk-overlay-"+Fo++,t.classList.add("cdk-overlay-pane"),this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return new Eo(t,this._componentFactoryResolver,this._appRef,this._injector)},t}(),Vo=new se.m("cdk-connected-overlay-scroll-strategy"),Bo=function(){},Ho=n("8Ut3"),zo=n("kQVV"),Uo=n("mHG6"),qo=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return Object(ae.b)(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){qi.a.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Qt,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(r.schedule(Qt,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(r.schedule(Kt,0,{err:e,subscriber:t}))}).then(null,function(t){qi.a.setTimeout(function(){throw t})})},e}(ki.a),Wo=n("X3fp"),Qo=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=Zt(e)}return Object(ae.b)(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.iterator,r=t.subscriber;if(t.hasError)r.error(t.error);else{var i=n.next();i.done?r.complete():(r.next(i.value),t.index=e+1,r.closed?"function"==typeof n.return&&n.return():this.schedule(t))}},e.prototype._subscribe=function(t){var n=this.iterator,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{index:0,iterator:n,subscriber:t});for(;;){var i=n.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof n.return&&n.return();break}}},e}(ki.a),Ko=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[Wo.a]=function(){return this},t.prototype.next=function(){return this.idxYo?Yo:n:n}()),this.arr=t,this.idx=e,this.len=n}return t.prototype[Wo.a]=function(){return this},t.prototype.next=function(){return this.idx=t.length?r.complete():(r.next(e[n]),t.index=n+1,this.schedule(t)))},e.prototype._subscribe=function(t){var n=this.arrayLike,r=this.scheduler,i=n.length;if(r)return r.schedule(e.dispatch,0,{arrayLike:n,index:0,length:i,subscriber:t});for(var o=0;o1?Yt(new Ei.a(t,n),e):Yt(new Di.a(n),e)}}(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t._updateContentMargins(),t._changeDetectorRef.markForCheck()})},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype.open=function(){this._drawers.forEach(function(t){return t.open()})},t.prototype.close=function(){this._drawers.forEach(function(t){return t.close()})},t.prototype._watchDrawerToggle=function(t){var e=this;t._animationStarted.pipe(Gt(this._drawers.changes),yt(function(t){return t.fromState!==t.toState})).subscribe(function(t){"open-instant"!==t.toState&&e._renderer.addClass(e._element.nativeElement,"mat-drawer-transition"),e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(Gt(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})},t.prototype._watchDrawerPosition=function(t){var e=this;t&&t.onPositionChanged.pipe(Gt(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.asObservable().pipe(pt()).subscribe(function(){e._validateDrawers()})})},t.prototype._watchDrawerMode=function(t){var e=this;t&&t._modeChanged.pipe(Gt(Object(fo.a)(this._drawers.changes,this._destroyed))).subscribe(function(){e._updateContentMargins(),e._changeDetectorRef.markForCheck()})},t.prototype._setContainerClass=function(t){t?this._renderer.addClass(this._element.nativeElement,"mat-drawer-opened"):this._renderer.removeClass(this._element.nativeElement,"mat-drawer-opened")},t.prototype._validateDrawers=function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?(null!=t._end&&Xt("end"),t._end=e):(null!=t._start&&Xt("start"),t._start=e)}),this._right=this._left=null,null==this._dir||"ltr"==this._dir.value?(this._left=this._start,this._right=this._end):(this._left=this._end,this._right=this._start)},t.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},t.prototype._closeModalDrawer=function(){[this._start,this._end].filter(function(t){return t&&!t.disableClose&&"side"!==t.mode}).forEach(function(t){return t.close()})},t.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&"side"!=this._start.mode||this._isDrawerOpen(this._end)&&"side"!=this._end.mode},t.prototype._isDrawerOpen=function(t){return null!=t&&t.opened},t.prototype._updateContentMargins=function(){var t=0,e=0;if(this._left&&this._left.opened&&("side"==this._left.mode?t+=this._left._width:"push"==this._left.mode&&(t+=n=this._left._width,e-=n)),this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){var n=this._right._width;e+=n,t-=n}this._contentMargins.next({left:t,right:e})},t}(),us=function(t){function e(e,n){return t.call(this,e,n)||this}return Object(ae.b)(e,t),e}(os),ls=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return Object(ae.b)(e,t),Object.defineProperty(e.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(t){this._fixedInViewport=ct(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(t){this._fixedTopGap=ht(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(t){this._fixedBottomGap=ht(t)},enumerable:!0,configurable:!0}),e}(ss),cs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Object(ae.b)(e,t),e}(as),hs=function(){},ps=function(){},fs=function(){this.title="Ling Consulting"},ds=function(){},ys=se.U({encapsulation:2,styles:[".mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:600px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}}),ms=se.U({encapsulation:2,styles:[],data:{}}),vs=se.U({encapsulation:2,styles:[],data:{animation:[{type:7,name:"transform",definitions:[{type:0,name:"open, open-instant",styles:{type:6,styles:{transform:"translate3d(0, 0, 0)",visibility:"visible"},offset:null},options:void 0},{type:0,name:"void",styles:{type:6,styles:{visibility:"hidden"},offset:null},options:void 0},{type:1,expr:"void => open-instant",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"void <=> open, open-instant => void",animation:{type:4,styles:null,timings:"400ms cubic-bezier(0.25, 0.8, 0.25, 1)"},options:null}],options:{}}]}}),gs=se.U({encapsulation:2,styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-opened{overflow:hidden}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media screen and (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{-webkit-backface-visibility:hidden;backface-visibility:hidden;position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;min-width:5vw;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer.mat-drawer-opened:not(.mat-drawer-side),.mat-drawer.mat-drawer-opening:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-fixed{position:fixed}"],data:{}}),_s=se.U({encapsulation:0,styles:[[".link-component[_ngcontent-%COMP%]{display:inline-block;margin:10px}"]],data:{}}),bs=se.U({encapsulation:0,styles:[[".content[_ngcontent-%COMP%]{text-align:justify;margin:0;width:100%;height:100%}.float-left[_ngcontent-%COMP%]{float:left;margin-right:10px}.content-wrapper[_ngcontent-%COMP%]{margin:0 20px 0 40px}.sidenav[_ngcontent-%COMP%]{width:200px;height:100%;padding:0 20px;background-color:#fafafa;border-left:1px solid rgba(230,99,6,.281)}.icon-links[_ngcontent-%COMP%]{margin-top:40px;text-align:center}mat-sidenav-container[_ngcontent-%COMP%]{margin:20px 0 100px;width:100%;height:100%}.mat-drawer-container[_ngcontent-%COMP%]{color:rgba(0,0,0,.87)}.footer[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:200px;height:50px;padding:20px 40px;background-color:#f5f5f5;text-align:center}@media only screen and (max-width:960px){.sidenav[_ngcontent-%COMP%]{display:none}.content-wrapper[_ngcontent-%COMP%]{margin:20px 20px 0 40px}.footer[_ngcontent-%COMP%]{right:0}}"]],data:{}}),ws=se.S("app-root",fs,function(t){return se._13(0,[(t()(),se.W(0,0,null,null,1,"app-root",[],null,null,null,ie,bs)),se.V(1,49152,null,0,fs,[],null,null)],null,null)},{},{},[]),Es=se.T(ds,[fs],function(t){return se._6([se._7(512,se.h,se.P,[[8,[ws]],[3,se.h],se.r]),se._7(5120,se.q,se._5,[[3,se.q]]),se._7(4608,fe,de,[se.q,[2,pe]]),se._7(4608,se.g,se.g,[]),se._7(5120,se.a,se.X,[]),se._7(5120,se.o,se._3,[]),se._7(5120,se.p,se._4,[]),se._7(4608,kn,On,[ge]),se._7(6144,se.A,null,[kn]),se._7(4608,rn,on,[]),se._7(5120,De,function(t,e,n,r,i){return[new en(t,e),new ln(n),new sn(r,i)]},[ge,se.t,ge,ge,rn]),se._7(4608,Fe,Fe,[De,se.t]),se._7(135680,Ve,Ve,[ge]),se._7(4608,qe,qe,[Fe,Ve]),se._7(5120,tr,at,[]),se._7(5120,gr,ut,[]),se._7(4608,Lr,Kr,[tr,gr]),se._7(5120,se.y,lt,[qe,Lr,se.t]),se._7(6144,Le,null,[Ve]),se._7(4608,se.E,se.E,[se.t]),se._7(4608,Ae,Ae,[ge]),se._7(4608,Re,Re,[ge]),se._7(4608,Ln,Hr,[se.y,ke]),se._7(6144,Yr,null,[ke]),se._7(4608,Gr,Gr,[[2,Yr]]),se._7(4608,ti,ti,[]),se._7(5120,zi,St,[[3,zi],[2,ji],kn]),se._7(4608,Xi,Xi,[ti]),se._7(4608,Ji,Ji,[Xi,ti,se.t]),se._7(136192,Gi,Pt,[[3,Gi],ti]),se._7(5120,eo,Rt,[[3,eo],[2,to],ti]),se._7(5120,no,jt,[[3,no],se.t,ti]),se._7(5120,yo,Ft,[[3,yo],se.t,ti]),se._7(5120,vo,Mt,[[3,vo],ti,se.t]),se._7(4608,Ao,Ao,[yo,vo,se.t]),se._7(5120,Do,qt,[[3,Do]]),se._7(4608,Ro,Ro,[vo]),se._7(5120,jo,Ut,[[3,jo]]),se._7(4608,Lo,Lo,[Ao,Do,se.h,Ro,jo,se.e,se.n,se.t]),se._7(5120,Vo,Wt,[Lo]),se._7(512,ve,ve,[]),se._7(1024,se.j,m,[]),se._7(1024,se.b,function(t){return[function(t){return o("probe",s),o("coreTokens",Object(ae.a)({},je,(t||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return s}}(t)]},[[2,se.s]]),se._7(512,se.c,se.c,[[2,se.b]]),se._7(131584,se.e,se.e,[se.t,se.Q,se.n,se.j,se.h,se.c]),se._7(512,se.d,se.d,[se.e]),se._7(512,Mn,Mn,[[3,Mn]]),se._7(512,Zr,Zr,[]),se._7(512,Xr,Xr,[]),se._7(256,ni,!0,[]),se._7(512,ri,ri,[[2,ni]]),se._7(512,ei,ei,[]),se._7(512,oi,oi,[]),se._7(512,Ui,Ui,[]),se._7(512,ro,ro,[]),se._7(512,Co,Co,[]),se._7(512,go,go,[]),se._7(512,Bo,Bo,[]),se._7(512,hs,hs,[]),se._7(512,ds,ds,[])])});Object(se.K)(),Fn().bootstrapModuleFactory(Es).catch(function(t){return console.log(t)})},eIqN:function(t,e,n){"use strict";function r(){return function(t){return t.lift(new c(t))}}function i(){return new s.a}var o=n("6Xbx"),s=n("TO51"),a=n("AP4T"),u=n("E9/g"),l=n("qLnt"),c=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),h=function(t){function e(e,n){t.call(this,e),this.connectable=n}return Object(o.b)(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(u.a),p=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return Object(o.b)(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new l.a).add(this.source.subscribe(new d(this.getSubject(),this))),t.closed?(this._connection=null,t=l.a.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return r()(this)},e}(a.a).prototype,f={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:p._subscribe},_isComplete:{value:p._isComplete,writable:!0},getSubject:{value:p.getSubject},connect:{value:p.connect},refCount:{value:p.refCount}},d=function(t){function e(e,n){t.call(this,e),this.connectable=n}return Object(o.b)(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(s.b),y=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),i=n(r).subscribe(t);return i.add(e.subscribe(r)),i},t}();e.a=function(){return function(t){return r()(function(t,e){return function(e){var n;if(n="function"==typeof t?t:function(){return t},!1)return e.lift(new y(n,void 0));var r=Object.create(e,f);return r.source=e,r.subjectFactory=n,r}}(i)(t))}}},fRUx:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},grVA:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},kQVV:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){return t&&"number"==typeof t.length}},lI6h:function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("6Xbx"),i=function(t){function e(){t.apply(this,arguments)}return Object(r.b)(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(n("E9/g").a)},mHG6:function(t,e,n){"use strict";e.a=function(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}},mz3w:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var r=function(t){var e,r=n("xIGM").a.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}()},qLnt:function(t,e,n){"use strict";function r(t){return t.reduce(function(t,e){return t.concat(e instanceof c?e.errors:e)},[])}var i=n("1j/l"),o=n("NGRF"),s=n("B1iP"),a=n("8ofh"),u=n("NePw"),l=n("6Xbx"),c=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return Object(l.b)(e,t),e}(Error);n.d(e,"a",function(){return h});var h=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this._parent,l=this._parents,h=this._unsubscribe,p=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,d=l?l.length:0;n;)n.remove(this),n=++f\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),t.apply(this,arguments)}}function p(t,e,n){var r,i=e.prototype;(r=t.prototype=Object.create(i)).constructor=t,r._super=i,n&&et(r,n)}function f(t,e){return function(){return t.apply(e,arguments)}}function d(t,e){return typeof t==it?t.apply(e?e[0]||a:a,e):t}function y(t,e){return t===a?e:t}function m(t,e,n){c(b(e),function(e){t.addEventListener(e,n,!1)})}function v(t,e,n){c(b(e),function(e){t.removeEventListener(e,n,!1)})}function g(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function _(t,e){return t.indexOf(e)>-1}function b(t){return t.trim().split(/\s+/g)}function w(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var r=0;rn[e]}):r.sort()),r}function S(t,e){for(var n,r,i=e[0].toUpperCase()+e.slice(1),o=0;o1&&!n.firstMultiple?n.firstMultiple=O(e):1===i&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,u=s?s.center:o.center,l=e.center=A(r);e.timeStamp=at(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=R(u,l),e.distance=I(u,l),function(t,e){var n=e.center,r=t.offsetDelta||{},i=t.prevDelta||{},o=t.prevInput||{};e.eventType!==yt&&o.eventType!==mt||(i=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=i.x+(n.x-r.x),e.deltaY=i.y+(n.y-r.y)}(n,e),e.offsetDirection=N(e.deltaX,e.deltaY);var c=P(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=st(c.x)>st(c.y)?c.x:c.y,e.scale=s?function(t,e){return I(r[0],r[1],kt)/I(t[0],t[1],kt)}(s.pointers):1,e.rotation=s?function(t,e){return R(r[1],r[0],kt)+R(t[1],t[0],kt)}(s.pointers):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,r,i,o,s=t.lastInterval||e,u=e.timeStamp-s.timeStamp;if(e.eventType!=vt&&(u>dt||s.velocity===a)){var l=e.deltaX-s.deltaX,c=e.deltaY-s.deltaY,h=P(u,l,c);r=h.x,i=h.y,n=st(h.x)>st(h.y)?h.x:h.y,o=N(l,c),t.lastInterval=e}else n=s.velocity,r=s.velocityX,i=s.velocityY,o=s.direction;e.velocity=n,e.velocityX=r,e.velocityY=i,e.direction=o}(n,e);var h=t.element;g(e.srcEvent.target,h)&&(h=e.srcEvent.target),e.target=h}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function O(t){for(var e=[],n=0;n=st(e)?t<0?_t:bt:e<0?wt:Et}function I(t,e,n){n||(n=xt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return Math.sqrt(r*r+i*i)}function R(t,e,n){n||(n=xt);var r=e[n[0]]-t[n[0]],i=e[n[1]]-t[n[1]];return 180*Math.atan2(i,r)/Math.PI}function j(){this.evEl=At,this.evWin=Pt,this.pressed=!1,x.apply(this,arguments)}function D(){this.evEl=Rt,this.evWin=jt,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function F(){this.evTarget=Ft,this.evWin=Mt,this.started=!1,x.apply(this,arguments)}function M(){this.evTarget=Vt,this.targetIds={},x.apply(this,arguments)}function L(){x.apply(this,arguments);var t=f(this.handler,this);this.touch=new M(this.manager,t),this.mouse=new j(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function V(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var r=this.lastTouches,i=function(){var t=r.indexOf(n);t>-1&&r.splice(t,1)};setTimeout(i,Bt)}}function B(t,e){this.manager=t,this.set(e)}function H(t){this.options=et({},this.defaults,t||{}),this.id=ct++,this.manager=null,this.options.enable=y(this.options.enable,!0),this.state=qt,this.simultaneous={},this.requireFail=[]}function z(t){return t&Yt?"cancel":t&Kt?"end":t&Qt?"move":t&Wt?"start":""}function U(t){return t==Et?"down":t==wt?"up":t==_t?"left":t==bt?"right":""}function q(t,e){var n=e.manager;return n?n.get(t):t}function W(){H.apply(this,arguments)}function Q(){W.apply(this,arguments),this.pX=null,this.pY=null}function K(){W.apply(this,arguments)}function Z(){H.apply(this,arguments),this._timer=null,this._input=null}function Y(){W.apply(this,arguments)}function G(){W.apply(this,arguments)}function X(){H.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function $(t,e){return e=e||{},e.recognizers=y(e.recognizers,$.defaults.preset),new J(t,e)}function J(t,e){this.options=et({},$.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){return new(t.options.inputClass||(pt?D:ft?M:ht?L:j))(t,k)}(this),this.touchAction=new B(this,this.options.touchAction),tt(this,!0),c(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function tt(t,e){var n=t.element;if(n.style){var r;c(t.options.cssProps,function(i,o){r=S(n.style,o),e?(t.oldCssProps[r]=n.style[r],n.style[r]=i):n.style[r]=t.oldCssProps[r]||""}),e||(t.oldCssProps={})}}var et,nt=["","webkit","Moz","MS","ms","o"],rt=o.createElement("div"),it="function",ot=Math.round,st=Math.abs,at=Date.now;et="function"!=typeof Object.assign?function(t){if(t===a||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,r=this.state;r=Kt&&e(n.options.event+z(r))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;te.threshold&&i&e.direction},attrTest:function(t){return W.prototype.attrTest.call(this,t)&&(this.state&Wt||!(this.state&Wt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=U(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),p(K,W,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Wt)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),p(Z,H,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distancee.time;if(this._input=t,!r||!n||t.eventType&(mt|vt)&&!i)this.reset();else if(t.eventType&yt)this.reset(),this._timer=u(function(){this.state=Zt,this.tryEmit()},e.time,this);else if(t.eventType&mt)return Zt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Zt&&(t&&t.eventType&mt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=at(),this.manager.emit(this.options.event,this._input)))}}),p(Y,W,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Wt)}}),p(G,W,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Ct|St,pointers:1},getTouchAction:function(){return Q.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Ct|St)?e=t.overallVelocity:n&Ct?e=t.overallVelocityX:n&St&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&st(e)>this.options.velocity&&t.eventType&mt},emit:function(t){var e=U(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(X,H,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,r=t.distance0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(o.a)},xIGM:function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return o});var r="undefined"!=typeof window&&window,i="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,o=r||void 0!==t&&t||i}).call(e,n("fRUx"))}},[0]); \ No newline at end of file diff --git a/angular/src/app/app.component.html b/angular/src/app/app.component.html index 282a41b..5310059 100644 --- a/angular/src/app/app.component.html +++ b/angular/src/app/app.component.html @@ -7,12 +7,12 @@

{{title}}

- + file_download Download CV
- Blandine picture + Blandine picture

Hi, I'm Blandine Descamps, a senior front-end developer passionate about creating great user experiences! I'm available @@ -46,8 +46,8 @@

{{title}}