UNPKG

angular-datatables.net-bs

Version:
106 lines 1.19 MB
webpackJsonp([0],[function(e,t,r){"use strict";var n=r(16),i=r(626),o=r(82),s=function(){function Observable(e){this._isScalar=!1,e&&(this._subscribe=e)}return Observable.prototype.lift=function(e){var t=new Observable;return t.source=this,t.operator=e,t},Observable.prototype.subscribe=function(e,t,r){var n=this.operator,o=i.toSubscriber(e,t,r);if(n?n.call(o,this.source):o.add(this._subscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},Observable.prototype.forEach=function(e,t){var r=this;if(t||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?t=n.root.Rx.config.Promise:n.root.Promise&&(t=n.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var i=r.subscribe(function(t){if(i)try{e(t)}catch(e){n(e),i.unsubscribe()}else e(t)},n,t)})},Observable.prototype._subscribe=function(e){return this.source.subscribe(e)},Observable.prototype[o.$$observable]=function(){return this},Observable.create=function(e){return new Observable(e)},Observable}();t.Observable=s},,function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){function __(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)},i=r(120),o=r(13),s=r(157),a=r(83),u=function(e){function Subscriber(t,r,n){switch(e.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=s.empty;break;case 1:if(!t){this.destination=s.empty;break}if("object"==typeof t){t instanceof Subscriber?(this.destination=t,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new c(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new c(this,t,r,n)}}return n(Subscriber,e),Subscriber.prototype[a.$$rxSubscriber]=function(){return this},Subscriber.create=function(e,t,r){var n=new Subscriber(e,t,r);return n.syncErrorThrowable=!1,n},Subscriber.prototype.next=function(e){this.isStopped||this._next(e)},Subscriber.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},Subscriber.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},Subscriber.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},Subscriber.prototype._next=function(e){this.destination.next(e)},Subscriber.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},Subscriber.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},Subscriber}(o.Subscription);t.Subscriber=u;var c=function(e){function SafeSubscriber(t,r,n,o){e.call(this),this._parent=t;var s,a=this;i.isFunction(r)?s=r:r&&(a=r,s=r.next,n=r.error,o=r.complete,i.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this)),this._context=a,this._next=s,this._error=n,this._complete=o}return n(SafeSubscriber,e),SafeSubscriber.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parent;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},SafeSubscriber.prototype.error=function(e){if(!this.isStopped){var t=this._parent;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},SafeSubscriber.prototype.complete=function(){if(!this.isStopped){var e=this._parent;this._complete?e.syncErrorThrowable?(this.__tryOrSetError(e,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},SafeSubscriber.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},SafeSubscriber.prototype.__tryOrSetError=function(e,t,r){try{t.call(this._context,r)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},SafeSubscriber.prototype._unsubscribe=function(){var e=this._parent;this._context=null,this._parent=null,e.unsubscribe()},SafeSubscriber}(u)},function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){function __(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)},i=r(2),o=function(e){function OuterSubscriber(){e.apply(this,arguments)}return n(OuterSubscriber,e),OuterSubscriber.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},OuterSubscriber.prototype.notifyError=function(e,t){this.destination.error(e)},OuterSubscriber.prototype.notifyComplete=function(e){this.destination.complete()},OuterSubscriber}(i.Subscriber);t.OuterSubscriber=o},function(e,t,r){"use strict";function subscribeToResult(e,t,r,p){var f=new c.InnerSubscriber(e,r,p);if(f.closed)return null;if(t instanceof a.Observable)return t._isScalar?(f.next(t.value),f.complete(),null):t.subscribe(f);if(i.isArray(t)){for(var h=0,d=t.length;h<d&&!f.closed;h++)f.next(t[h]);f.closed||f.complete()}else{if(o.isPromise(t))return t.then(function(e){f.closed||(f.next(e),f.complete())},function(e){return f.error(e)}).then(null,function(e){n.root.setTimeout(function(){throw e})}),f;if(t&&"function"==typeof t[u.$$iterator])for(var m=t[u.$$iterator]();;){var v=m.next();if(v.done){f.complete();break}if(f.next(v.value),f.closed)break}else if(t&&"function"==typeof t[l.$$observable]){var y=t[l.$$observable]();if("function"==typeof y.subscribe)return y.subscribe(new c.InnerSubscriber(e,r,p));f.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var g=s.isObject(t)?"an invalid object":"'"+t+"'",b="You provided "+g+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";f.error(new TypeError(b))}}return null}var n=r(16),i=r(30),o=r(191),s=r(190),a=r(0),u=r(68),c=r(364),l=r(82);t.subscribeToResult=subscribeToResult},,,,,,,function(e,t,r){"use strict";var n=this&&this.__extends||function(e,t){function __(){this.constructor=e}for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)},i=r(0),o=r(2),s=r(13),a=r(85),u=r(158),c=r(83),l=function(e){function SubjectSubscriber(t){e.call(this,t),this.destination=t}return n(SubjectSubscriber,e),SubjectSubscriber}(o.Subscriber);t.SubjectSubscriber=l;var p=function(e){function Subject(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(Subject,e),Subject.prototype[c.$$rxSubscriber]=function(){return new l(this)},Subject.prototype.lift=function(e){var t=new f(this,this);return t.operator=e,t},Subject.prototype.next=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},Subject.prototype.error=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},Subject.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},Subject.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},Subject.prototype._subscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(e.complete(),s.Subscription.EMPTY):(this.observers.push(e),new u.SubjectSubscription(this,e))},Subject.prototype.asObservable=function(){var e=new i.Observable;return e.source=this,e},Subject.create=function(e,t){return new f(e,t)},Subject}(i.Observable);t.Subject=p;var f=function(e){function AnonymousSubject(t,r){e.call(this),this.destination=t,this.source=r}return n(AnonymousSubject,e),AnonymousSubject.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},AnonymousSubject.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},AnonymousSubject.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},AnonymousSubject.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):s.Subscription.EMPTY},AnonymousSubject}(p);t.AnonymousSubject=f},function(e,t,r){"use strict";(function(e){function getSymbolIterator(){if(!d){var e=h.Symbol;if(e&&e.iterator)d=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),r=0;r<t.length;++r){var n=t[r];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(d=n)}}return d}function scheduleMicroTask(e){Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function looseIdentical(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function stringify(e){if("string"==typeof e)return e;if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function extractAnnotation(e){return"function"==typeof e&&e.hasOwnProperty("annotation")&&(e=e.annotation),e}function applyParams(e,t){if(e===Object||e===String||e===Function||e===Number||e===Array)throw new Error("Can not use native "+stringify(e)+" as constructor");if("function"==typeof e)return e;if(Array.isArray(e)){var r=e,n=r.length-1,i=e[n];if("function"!=typeof i)throw new Error("Last position of Class method array must be Function in key "+t+" was '"+stringify(i)+"'");if(n!=i.length)throw new Error("Number of annotations ("+n+") does not match number of arguments ("+i.length+") in the function: "+stringify(i));for(var o=[],s=0,a=r.length-1;s<a;s++){var u=[];o.push(u);var c=r[s];if(Array.isArray(c))for(var l=0;l<c.length;l++)u.push(extractAnnotation(c[l]));else"function"==typeof c?u.push(extractAnnotation(c)):u.push(c)}return v.defineMetadata("parameters",o,i),i}throw new Error("Only Function or Array is supported in Class definition for key '"+t+"' is '"+stringify(e)+"'")}function Class(e){var t=applyParams(e.hasOwnProperty("constructor")?e.constructor:void 0,"constructor"),r=t.prototype;if(e.hasOwnProperty("extends")){if("function"!=typeof e.extends)throw new Error("Class definition 'extends' property must be a constructor function was: "+stringify(e.extends));t.prototype=r=Object.create(e.extends.prototype)}for(var n in e)"extends"!==n&&"prototype"!==n&&e.hasOwnProperty(n)&&(r[n]=applyParams(e[n],n));this&&this.annotations instanceof Array&&v.defineMetadata("annotations",this.annotations,t);var i=t.name;return i&&"constructor"!==i||(t.overriddenName="class"+m++),t}function makeDecorator(e,t,r,n){function DecoratorFactory(e){if(!v||!v.getOwnMetadata)throw"reflect-metadata shim is required when using class decorators";if(this instanceof DecoratorFactory)return i.call(this,e),this;var t=new DecoratorFactory(e),r="function"==typeof this&&Array.isArray(this.annotations)?this.annotations:[];r.push(t);var o=function(e){var r=v.getOwnMetadata("annotations",e)||[];return r.push(t),v.defineMetadata("annotations",r,e),e};return o.annotations=r,o.Class=Class,n&&n(o),o}var i=makeMetadataCtor([t]);return r&&(DecoratorFactory.prototype=Object.create(r.prototype)),DecoratorFactory.prototype.toString=function(){return"@"+e},DecoratorFactory.annotationCls=DecoratorFactory,DecoratorFactory}function makeMetadataCtor(e){return function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];e.forEach(function(e,n){var i=r[n];if(Array.isArray(e))t[e[0]]=void 0===i?e[1]:i;else for(var o in e)t[o]=i&&i.hasOwnProperty(o)?i[o]:e[o]})}}function makeParamDecorator(e,t,r){function ParamDecoratorFactory(){function ParamDecorator(e,t,n){for(var i=v.getOwnMetadata("parameters",e)||[];i.length<=n;)i.push(null);return i[n]=i[n]||[],i[n].push(r),v.defineMetadata("parameters",i,e),e}for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof ParamDecoratorFactory)return n.apply(this,e),this;var r=new(ParamDecoratorFactory.bind.apply(ParamDecoratorFactory,[void 0].concat(e)));return ParamDecorator.annotation=r,ParamDecorator}var n=makeMetadataCtor(t);return r&&(ParamDecoratorFactory.prototype=Object.create(r.prototype)),ParamDecoratorFactory.prototype.toString=function(){return"@"+e},ParamDecoratorFactory.annotationCls=ParamDecoratorFactory,ParamDecoratorFactory}function makePropDecorator(e,t,r){function PropDecoratorFactory(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(this instanceof PropDecoratorFactory)return n.apply(this,e),this;var r=new(PropDecoratorFactory.bind.apply(PropDecoratorFactory,[void 0].concat(e)));return function(e,t){var n=v.getOwnMetadata("propMetadata",e.constructor)||{};n[t]=n.hasOwnProperty(t)&&n[t]||[],n[t].unshift(r),v.defineMetadata("propMetadata",n,e.constructor)}}var n=makeMetadataCtor(t);return r&&(PropDecoratorFactory.prototype=Object.create(r.prototype)),PropDecoratorFactory.prototype.toString=function(){return"@"+e},PropDecoratorFactory.annotationCls=PropDecoratorFactory,PropDecoratorFactory}function isDefaultChangeDetectionStrategy(e){return null==e||e===x.Default}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function forwardRef(e){return e.__forward_ref__=forwardRef,e.toString=function(){return stringify(this())},e}function resolveForwardRef(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")&&e.__forward_ref__===forwardRef?e():e}function getDebugContext(e){return e[J]}function getOriginalError(e){return e[Z]}function getErrorLogger(e){return e[Y]||defaultErrorLogger}function defaultErrorLogger(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e.error.apply(e,t)}function wrappedError(e,t){var r=e+" caused by: "+(t instanceof Error?t.message:t),n=Error(r);return n[Z]=t,n}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function findFirstClosedCycle(e){for(var t=[],r=0;r<e.length;++r){if(t.indexOf(e[r])>-1)return t.push(e[r]),t;t.push(e[r])}return t}function constructResolvingPath(e){if(e.length>1){return" ("+findFirstClosedCycle(e.slice().reverse()).map(function(e){return stringify(e.token)}).join(" -> ")+")"}return""}function injectionError(e,t,r,n){var i=n?wrappedError("",n):Error();return i.addKey=addKey,i.keys=[t],i.injectors=[e],i.constructResolvingMessage=r,i.message=i.constructResolvingMessage(),i[Z]=n,i}function addKey(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage()}function noProviderError(e,t){return injectionError(e,t,function(){return"No provider for "+stringify(this.keys[0].token)+"!"+constructResolvingPath(this.keys)})}function cyclicDependencyError(e,t){return injectionError(e,t,function(){return"Cannot instantiate cyclic dependency!"+constructResolvingPath(this.keys)})}function instantiationError(e,t,r,n){return injectionError(e,n,function(){var e=stringify(this.keys[0].token);return getOriginalError(this).message+": Error during instantiation of "+e+"!"+constructResolvingPath(this.keys)+"."},t)}function invalidProviderError(e){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e)}function noAnnotationError(e,t){for(var r=[],n=0,i=t.length;n<i;n++){var o=t[n];o&&0!=o.length?r.push(o.map(stringify).join(" ")):r.push("?")}return Error("Cannot resolve all parameters for '"+stringify(e)+"'("+r.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+stringify(e)+"' is decorated with Injectable.")}function outOfBoundsError(e){return Error("Index "+e+" is out-of-bounds.")}function mixingMultiProvidersWithRegularProvidersError(e,t){return Error("Cannot mix multi providers and regular providers, got: "+e+" "+t)}function isType(e){return"function"==typeof e}function convertTsickleDecoratorIntoMetadata(e){return e?e.map(function(e){var t=e.type,r=t.annotationCls,n=e.args?e.args:[];return new(r.bind.apply(r,[void 0].concat(n)))}):[]}function getParentCtor(e){var t=Object.getPrototypeOf(e.prototype);return(t?t.constructor:null)||Object}function resolveReflectiveFactory(e){var t,r;if(e.useClass){var n=resolveForwardRef(e.useClass);t=ce.factory(n),r=_dependenciesFor(n)}else e.useExisting?(t=function(e){return e},r=[le.fromKey(te.get(e.useExisting))]):e.useFactory?(t=e.useFactory,r=constructDependencies(e.useFactory,e.deps)):(t=function(){return e.useValue},r=pe);return new he(t,r)}function resolveReflectiveProvider(e){return new fe(te.get(e.provide),[resolveReflectiveFactory(e)],e.multi||!1)}function resolveReflectiveProviders(e){var t=_normalizeProviders(e,[]),r=t.map(resolveReflectiveProvider),n=mergeResolvedReflectiveProviders(r,new Map);return Array.from(n.values())}function mergeResolvedReflectiveProviders(e,t){for(var r=0;r<e.length;r++){var n=e[r],i=t.get(n.key.id);if(i){if(n.multiProvider!==i.multiProvider)throw mixingMultiProvidersWithRegularProvidersError(i,n);if(n.multiProvider)for(var o=0;o<n.resolvedFactories.length;o++)i.resolvedFactories.push(n.resolvedFactories[o]);else t.set(n.key.id,n)}else{var s=void 0;s=n.multiProvider?new fe(n.key,n.resolvedFactories.slice(),n.multiProvider):n,t.set(n.key.id,s)}}return t}function _normalizeProviders(e,t){return e.forEach(function(e){if(e instanceof ie)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!(e instanceof Array))throw invalidProviderError(e);_normalizeProviders(e,t)}}),t}function constructDependencies(e,t){if(t){var r=t.map(function(e){return[e]});return t.map(function(t){return _extractToken(e,t,r)})}return _dependenciesFor(e)}function _dependenciesFor(e){var t=ce.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw noAnnotationError(e,t);return t.map(function(r){return _extractToken(e,r,t)})}function _extractToken(e,t,r){var n=null,i=!1;if(!Array.isArray(t))return t instanceof B?_createDependency(t.token,i,null):_createDependency(t,i,null);for(var o=null,s=0;s<t.length;++s){var a=t[s];a instanceof ie?n=a:a instanceof B?n=a.token:a instanceof H?i=!0:a instanceof W||a instanceof z?o=a:a instanceof c&&(n=a)}if(null!=(n=resolveForwardRef(n)))return _createDependency(n,i,o);throw noAnnotationError(e,r)}function _createDependency(e,t,r){return new le(te.get(e),t,r)}function _mapProviders(e,t){for(var r=new Array(e._providers.length),n=0;n<e._providers.length;++n)r[n]=t(e.getProviderAtIndex(n));return r}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function isPromise(e){return!!e&&"function"==typeof e.then}function isObservable(e){return!!e&&"function"==typeof e.subscribe}function _appIdRandomProviderFactory(){return""+_randomChar()+_randomChar()+_randomChar()}function _randomChar(){return String.fromCharCode(97+Math.floor(25*Math.random()))}function _throwError(){throw new Error("Runtime compiler is not loaded")}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function noComponentFactoryError(e){var t=Error("No component factory found for "+stringify(e)+". Did you add it to @NgModule.entryComponents?");return t[Ne]=e,t}function detectWTF(){var e=h.wtf;return!(!e||!(Fe=e.trace))&&(Le=Fe.events,!0)}function createScope$1(e,t){return void 0===t&&(t=null),Le.createScope(e,t)}function leave(e,t){return Fe.leaveScope(e,t),t}function startTimeRange(e,t){return Fe.beginTimeRange(e,t)}function endTimeRange(e){Fe.endTimeRange(e)}function noopScope(e,t){return null}function setTestabilityGetter(e){tt=e}function enableProdMode(){if(nt)throw new Error("Cannot enable prod mode after platform setup.");rt=!1}function isDevMode(){return nt=!0,rt}function createPlatform(e){if(Ye&&!Ye.destroyed&&!Ye.injector.get(it,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ye=e.get(st);var t=e.get(we,null);return t&&t.forEach(function(e){return e()}),Ye}function createPlatformFactory(e,t,r){void 0===r&&(r=[]);var n=new c("Platform: "+t);return function(t){void 0===t&&(t=[]);var i=getPlatform();return i&&!i.injector.get(it,!1)||(e?e(r.concat(t).concat({provide:n,useValue:!0})):createPlatform(me.resolveAndCreate(r.concat(t).concat({provide:n,useValue:!0})))),assertPlatform(n)}}function assertPlatform(e){var t=getPlatform();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function destroyPlatform(){Ye&&!Ye.destroyed&&Ye.destroy()}function getPlatform(){return Ye&&!Ye.destroyed?Ye:null}function _callAndReportToErrorHandler(e,t){try{var r=t();return isPromise(r)?r.catch(function(t){throw e.handleError(t),t}):r}catch(t){throw e.handleError(t),t}}function remove(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}function registerModuleFactory(e,t){var r=bt.get(e);if(r)throw new Error("Duplicate module registered for "+e+" - "+r.moduleType.name+" vs "+t.moduleType.name);bt.set(e,t)}function getModuleFactory(e){var t=bt.get(e);if(!t)throw new Error("No module with ID "+e+" loaded");return t}function flatten(e){return e.reduce(function(e,t){var r=Array.isArray(t)?flatten(t):t;return e.concat(r)},[])}function checkNotEmpty(e,t,r){if(!e)throw new Error("Cannot find '"+r+"' in '"+t+"'");return e}function asNativeElements(e){return e.map(function(e){return e.nativeElement})}function _queryElementChildren(e,t,r){e.childNodes.forEach(function(e){e instanceof Nt&&(t(e)&&r.push(e),_queryElementChildren(e,t,r))})}function _queryNodeChildren(e,t,r){e instanceof Nt&&e.childNodes.forEach(function(e){t(e)&&r.push(e),e instanceof Nt&&_queryNodeChildren(e,t,r)})}function getDebugNode(e){return kt.get(e)||null}function indexDebugNode(e){kt.set(e.nativeNode,e)}function removeDebugNodeFromIndex(e){kt.delete(e.nativeNode)}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function devModeEqual(e,t){var r=isListLikeIterable(e),n=isListLikeIterable(t);if(r&&n)return areIterablesEqual(e,t,devModeEqual);var i=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(r||!i||n||!o)||looseIdentical(e,t)}function isListLikeIterable(e){return!!isJsObject(e)&&(Array.isArray(e)||!(e instanceof Map)&&getSymbolIterator()in e)}function areIterablesEqual(e,t,r){for(var n=e[getSymbolIterator()](),i=t[getSymbolIterator()]();;){var o=n.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!r(o.value,s.value))return!1}}function iterateListLike(e,t){if(Array.isArray(e))for(var r=0;r<e.length;r++)t(e[r]);else for(var n=e[getSymbolIterator()](),i=void 0;!(i=n.next()).done;)t(i.value)}function isJsObject(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function getPreviousIndex(e,t,r){var n=e.previousIndex;if(null===n)return n;var i=0;return r&&n<r.length&&(i=r[n]),n+t+i}function getTypeNameForDebugging(e){return e.name||typeof e}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function _reflector(){return ce}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function asTextData(e,t){return e.nodes[t]}function asElementData(e,t){return e.nodes[t]}function asProviderData(e,t){return e.nodes[t]}function asPureExpressionData(e,t){return e.nodes[t]}function asQueryList(e,t){return e.nodes[t]}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function expressionChangedAfterItHasBeenCheckedError(e,t,r,n){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+r+"'.";return n&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),viewDebugError(i,e)}function viewWrappedDebugError(e,t){return e instanceof Error||(e=new Error(e.toString())),_addDebugContext(e,t),e}function viewDebugError(e,t){var r=new Error(e);return _addDebugContext(r,t),r}function _addDebugContext(e,t){e[J]=t,e[Y]=t.logError.bind(t)}function isViewDebugError(e){return!!getDebugContext(e)}function viewDestroyedError(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function tokenKey(e){var t=lr.get(e);return t||(t=stringify(e)+"_"+lr.size,lr.set(e,t)),t}function unwrapValue(e,t,r,n){if(n instanceof Mt){n=n.wrapped;var i=e.def.nodes[t].bindingIndex+r,o=e.oldValues[i];o instanceof Mt&&(o=o.wrapped),e.oldValues[i]=new Mt(o)}return n}function createRendererType2(e){return{id:pr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}function resolveRendererType2(e){if(e&&e.id===pr){var t=null!=e.encapsulation&&e.encapsulation!==F.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+hr++:fr}return e&&e.id===fr&&(e=null),e||null}function checkBinding(e,t,r,n){var i=e.oldValues;return!(!(1&e.state)&&looseIdentical(i[t.bindingIndex+r],n))}function checkAndUpdateBinding(e,t,r,n){return!!checkBinding(e,t,r,n)&&(e.oldValues[t.bindingIndex+r]=n,!0)}function checkBindingNoChanges(e,t,r,n){var i=e.oldValues[t.bindingIndex+r];if(1&e.state||!devModeEqual(i,n))throw expressionChangedAfterItHasBeenCheckedError(ur.createDebugContext(e,t.index),i,n,0!=(1&e.state))}function markParentViewsForCheck(e){for(var t=e;t;)2&t.def.flags&&(t.state|=2),t=t.viewContainerParent||t.parent}function dispatchEvent(e,t,r,n){return markParentViewsForCheck(16777216&e.def.nodes[t].flags?asElementData(e,t).componentView:e),ur.handleEvent(e,t,r,n)}function declaredViewContainer(e){if(e.parent){return asElementData(e.parent,e.parentNodeDef.index)}return null}function viewParentEl(e){return e.parent?e.parentNodeDef.parent:null}function renderNode(e,t){switch(100673535&t.flags){case 1:return asElementData(e,t.index).renderElement;case 2:return asTextData(e,t.index).renderText}}function elementEventFullName(e,t){return e?e+":"+t:t}function isComponentView(e){return!!e.parent&&!!(16384&e.parentNodeDef.flags)}function isEmbeddedView(e){return!(!e.parent||16384&e.parentNodeDef.flags)}function filterQueryId(e){return 1<<e%32}function splitMatchedQueriesDsl(e){var t={},r=0,n={};return e&&e.forEach(function(e){var i=e[0],o=e[1];"number"==typeof i?(t[i]=o,r|=filterQueryId(i)):n[i]=o}),{matchedQueries:t,references:n,matchedQueryIds:r}}function getParentRenderElement(e,t,r){var n=r.renderParent;return n?0==(1&n.flags)||0==(16777216&n.flags)||n.element.componentRendererType&&n.element.componentRendererType.encapsulation===F.Native?asElementData(e,r.renderParent.index).renderElement:void 0:t}function resolveViewDefinition(e){var t=dr.get(e);return t||(t=e(function(){return cr}),t.factory=e,dr.set(e,t)),t}function rootRenderNodes(e){var t=[];return visitRootRenderNodes(e,0,void 0,void 0,t),t}function visitRootRenderNodes(e,t,r,n,i){3===t&&(r=e.renderer.parentNode(renderNode(e,e.def.lastRenderRootNode))),visitSiblingRenderNodes(e,t,0,e.def.nodes.length-1,r,n,i)}function visitSiblingRenderNodes(e,t,r,n,i,o,s){for(var a=r;a<=n;a++){var u=e.def.nodes[a];7&u.flags&&visitRenderNode(e,u,t,i,o,s),a+=u.childCount}}function visitProjectedRenderNodes(e,t,r,n,i,o){for(var s=e;s&&!isComponentView(s);)s=s.parent;for(var a=s.parent,u=viewParentEl(s),c=u.index+1,l=u.index+u.childCount,p=c;p<=l;p++){var f=a.def.nodes[p];f.ngContentIndex===t&&visitRenderNode(a,f,r,n,i,o),p+=f.childCount}if(!a.parent){var h=e.root.projectableNodes[t];if(h)for(var p=0;p<h.length;p++)execRenderNodeAction(e,h[p],r,n,i,o)}}function visitRenderNode(e,t,r,n,i,o){if(4&t.flags)visitProjectedRenderNodes(e,t.ngContent.index,r,n,i,o);else{var s=renderNode(e,t);if(3===r&&16777216&t.flags&&48&t.bindingFlags){if(16&t.bindingFlags&&execRenderNodeAction(e,s,r,n,i,o),32&t.bindingFlags){var a=asElementData(e,t.index).componentView;execRenderNodeAction(a,s,r,n,i,o)}}else execRenderNodeAction(e,s,r,n,i,o);if(8388608&t.flags)for(var u=asElementData(e,t.index).viewContainer._embeddedViews,c=0;c<u.length;c++)visitRootRenderNodes(u[c],r,n,i,o);1&t.flags&&!t.element.name&&visitSiblingRenderNodes(e,r,t.index+1,t.index+t.childCount,n,i,o)}}function execRenderNodeAction(e,t,r,n,i,o){var s=e.renderer;switch(r){case 1:s.appendChild(n,t);break;case 2:s.insertBefore(n,t,i);break;case 3:s.removeChild(n,t);break;case 0:o.push(t)}}function splitNamespace(e){if(":"===e[0]){var t=e.match(mr);return[t[1],t[2]]}return["",e]}function calcBindingFlags(e){for(var t=0,r=0;r<e.length;r++)t|=e[r].flags;return t}function interpolate(e,t){for(var r="",n=0;n<2*e;n+=2)r=r+t[n]+_toStringWithNull(t[n+1]);return r+t[2*e]}function inlineInterpolate(e,t,r,n,i,o,s,a,u,c,l,p,f,h,d,m,v,y,g,b){switch(e){case 1:return t+_toStringWithNull(r)+n;case 2:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o;case 3:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o+_toStringWithNull(s)+a;case 4:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o+_toStringWithNull(s)+a+_toStringWithNull(u)+c;case 5:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o+_toStringWithNull(s)+a+_toStringWithNull(u)+c+_toStringWithNull(l)+p;case 6:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o+_toStringWithNull(s)+a+_toStringWithNull(u)+c+_toStringWithNull(l)+p+_toStringWithNull(f)+h;case 7:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o+_toStringWithNull(s)+a+_toStringWithNull(u)+c+_toStringWithNull(l)+p+_toStringWithNull(f)+h+_toStringWithNull(d)+m;case 8:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o+_toStringWithNull(s)+a+_toStringWithNull(u)+c+_toStringWithNull(l)+p+_toStringWithNull(f)+h+_toStringWithNull(d)+m+_toStringWithNull(v)+y;case 9:return t+_toStringWithNull(r)+n+_toStringWithNull(i)+o+_toStringWithNull(s)+a+_toStringWithNull(u)+c+_toStringWithNull(l)+p+_toStringWithNull(f)+h+_toStringWithNull(d)+m+_toStringWithNull(v)+y+_toStringWithNull(g)+b;default:throw new Error("Does not support more than 9 expressions")}}function _toStringWithNull(e){return null!=e?e.toString():""}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function anchorDef(e,t,r,n,i,o){e|=1;var s=splitMatchedQueriesDsl(t),a=s.matchedQueries,u=s.references;return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a,matchedQueryIds:s.matchedQueryIds,references:u,ngContentIndex:r,childCount:n,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?resolveViewDefinition(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||cr},provider:null,text:null,query:null,ngContent:null}}function elementDef(e,t,r,n,i,o,s,a,u,c,l){void 0===o&&(o=[]),u||(u=cr);var p=splitMatchedQueriesDsl(t),f=p.matchedQueries,h=p.references,d=p.matchedQueryIds,m=null,v=null;i&&(N=splitNamespace(i),m=N[0],v=N[1]),s=s||[];for(var y=new Array(s.length),g=0;g<s.length;g++){var b=s[g],_=b[0],S=b[1],w=b[2],C=splitNamespace(S),x=C[0],E=C[1],T=void 0,A=void 0;switch(15&_){case 4:A=w;break;case 1:case 8:T=w}y[g]={flags:_,ns:x,name:E,nonMinifiedName:E,securityContext:T,suffix:A}}a=a||[];for(var P=new Array(a.length),g=0;g<a.length;g++){var R=a[g],O=R[0],D=R[1];P[g]={type:0,target:O,eventName:D,propName:null}}o=o||[];var I=o.map(function(e){var t=e[0],r=e[1],n=splitNamespace(t);return[n[0],n[1],r]});return l=resolveRendererType2(l),c&&(e|=16777216),e|=1,{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:f,matchedQueryIds:d,references:h,ngContentIndex:r,childCount:n,bindings:y,bindingFlags:calcBindingFlags(y),outputs:P,element:{ns:m,name:v,attrs:I,template:null,componentProvider:null,componentView:c||null,componentRendererType:l,publicProviders:null,allProviders:null,handleEvent:u||cr},provider:null,text:null,query:null,ngContent:null};var N}function createElement(e,t,r){var n,i=r.element,o=e.root.selectorOrNode,s=e.renderer;if(e.parent||!o){n=i.name?s.createElement(i.name,i.ns):s.createComment("");var a=getParentRenderElement(e,t,r);a&&s.appendChild(a,n)}else n=s.selectRootElement(o);if(i.attrs)for(var u=0;u<i.attrs.length;u++){var c=i.attrs[u],l=c[0],p=c[1],f=c[2];s.setAttribute(n,p,f,l)}return n}function listenToElementOutputs(e,t,r,n){for(var i=0;i<r.outputs.length;i++){var o=r.outputs[i],s=renderEventHandlerClosure(e,r.index,elementEventFullName(o.target,o.eventName)),a=o.target,u=e;"component"===o.target&&(a=null,u=t);var c=u.renderer.listen(a||n,o.eventName,s);e.disposables[r.outputIndex+i]=c}}function renderEventHandlerClosure(e,t,r){return function(n){return dispatchEvent(e,t,r,n)}}function checkAndUpdateElementInline(e,t,r,n,i,o,s,a,u,c,l,p){var f=t.bindings.length,h=!1;return f>0&&checkAndUpdateElementValue(e,t,0,r)&&(h=!0),f>1&&checkAndUpdateElementValue(e,t,1,n)&&(h=!0),f>2&&checkAndUpdateElementValue(e,t,2,i)&&(h=!0),f>3&&checkAndUpdateElementValue(e,t,3,o)&&(h=!0),f>4&&checkAndUpdateElementValue(e,t,4,s)&&(h=!0),f>5&&checkAndUpdateElementValue(e,t,5,a)&&(h=!0),f>6&&checkAndUpdateElementValue(e,t,6,u)&&(h=!0),f>7&&checkAndUpdateElementValue(e,t,7,c)&&(h=!0),f>8&&checkAndUpdateElementValue(e,t,8,l)&&(h=!0),f>9&&checkAndUpdateElementValue(e,t,9,p)&&(h=!0),h}function checkAndUpdateElementDynamic(e,t,r){for(var n=!1,i=0;i<r.length;i++)checkAndUpdateElementValue(e,t,i,r[i])&&(n=!0);return n}function checkAndUpdateElementValue(e,t,r,n){if(!checkAndUpdateBinding(e,t,r,n))return!1;var i=t.bindings[r],o=asElementData(e,t.index),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:setElementAttribute(e,i,s,i.ns,a,n);break;case 2:setElementClass(e,s,a,n);break;case 4:setElementStyle(e,i,s,a,n);break;case 8:setElementProperty(16777216&t.flags&&32&i.flags?o.componentView:e,i,s,a,n)}return!0}function setElementAttribute(e,t,r,n,i,o){var s=t.securityContext,a=s?e.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;var u=e.renderer;null!=o?u.setAttribute(r,i,a,n):u.removeAttribute(r,i,n)}function setElementClass(e,t,r,n){var i=e.renderer;n?i.addClass(t,r):i.removeClass(t,r)}function setElementStyle(e,t,r,n,i){var o=e.root.sanitizer.sanitize(or.STYLE,i);if(null!=o){o=o.toString();var s=t.suffix;null!=s&&(o+=s)}else o=null;var a=e.renderer;null!=o?a.setStyle(r,n,o):a.removeStyle(r,n)}function setElementProperty(e,t,r,n,i){var o=t.securityContext,s=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(r,n,s)}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function ngContentDef(e,t){return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:4,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function appendNgContent(e,t,r){var n=getParentRenderElement(e,t,r);if(n){visitProjectedRenderNodes(e,r.ngContent.index,1,n,null,void 0)}}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function attachEmbeddedView(e,t,r,n){var i=t.viewContainer._embeddedViews;null!==r&&void 0!==r||(r=i.length),n.viewContainerParent=e,addToArray(i,r,n);var o=declaredViewContainer(n);if(o&&o!==t){var s=o.template._projectedViews;s||(s=o.template._projectedViews=[]),s.push(n)}ur.dirtyParentQueries(n),renderAttachEmbeddedView(t,r>0?i[r-1]:null,n)}function detachEmbeddedView(e,t){var r=e.viewContainer._embeddedViews;if((null==t||t>=r.length)&&(t=r.length-1),t<0)return null;var n=r[t];n.viewContainerParent=null,removeFromArray(r,t);var i=declaredViewContainer(n);if(i&&i!==e){var o=i.template._projectedViews;removeFromArray(o,o.indexOf(n))}return ur.dirtyParentQueries(n),renderDetachView(n),n}function moveEmbeddedView(e,t,r){var n=e.viewContainer._embeddedViews,i=n[t];return removeFromArray(n,t),null==r&&(r=n.length),addToArray(n,r,i),ur.dirtyParentQueries(i),renderDetachView(i),renderAttachEmbeddedView(e,r>0?n[r-1]:null,i),i}function renderAttachEmbeddedView(e,t,r){var n=t?renderNode(t,t.def.lastRenderRootNode):e.renderElement;visitRootRenderNodes(r,2,r.renderer.parentNode(n),r.renderer.nextSibling(n),void 0)}function renderDetachView(e){visitRootRenderNodes(e,3,null,null,void 0)}function addToArray(e,t,r){t>=e.length?e.push(r):e.splice(t,0,r)}function removeFromArray(e,t){t>=e.length-1?e.pop():e.splice(t,1)}function createComponentFactory(e,t,r,n,i,o){return new br(e,t,r,n,i,o)}function getComponentViewDefinitionFactory(e){return e.viewDefFactory}function createViewContainerData(e,t,r){return new Sr(e,t,r)}function createChangeDetectorRef(e){return new wr(e)}function createTemplateData(e,t){return new Cr(e,t)}function createInjector(e,t){return new xr(e,t)}function nodeValue(e,t){var r=e.def.nodes[t];if(1&r.flags){var n=asElementData(e,r.index);return r.element.template?n.template:n.renderElement}if(2&r.flags)return asTextData(e,r.index).renderText;if(10120&r.flags)return asProviderData(e,r.index).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function createRendererV1(e){return new Er(e.renderer)}function directiveDef(e,t,r,n,i,o,s){var a=[];if(o)for(var u in o){var c=o[u],l=c[0],p=c[1];a[l]={flags:8,name:u,nonMinifiedName:p,ns:null,securityContext:null,suffix:null}}var f=[];if(s)for(var h in s)f.push({type:1,propName:h,target:null,eventName:s[h]});return e|=8192,_def(e,t,r,n,n,i,a,f)}function pipeDef(e,t,r){return e|=8,_def(e,null,0,t,t,r)}function providerDef(e,t,r,n,i){return _def(e,t,0,r,n,i)}function _def(e,t,r,n,i,o,s,a){var u=splitMatchedQueriesDsl(t),c=u.matchedQueries,l=u.references,p=u.matchedQueryIds;a||(a=[]),s||(s=[]);var f=o.map(function(e){var t,r;return Array.isArray(e)?(r=e[0],t=e[1]):(r=0,t=e),{flags:r,token:t,tokenKey:tokenKey(t)}});return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:l,ngContentIndex:-1,childCount:r,bindings:s,bindingFlags:calcBindingFlags(s),outputs:a,element:null,provider:{token:n,tokenKey:tokenKey(n),value:i,deps:f},text:null,query:null,ngContent:null}}function createProviderInstance(e,t){return 2048&t.flags?Nr:_createProviderInstance(e,t)}function createPipeInstance(e,t){for(var r=e;r.parent&&!isComponentView(r);)r=r.parent;return createClass(r.parent,viewParentEl(r),!0,t.provider.value,t.provider.deps)}function createDirectiveInstance(e,t){var r=(16384&t.flags)>0,n=createClass(e,t.parent,r,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i<t.outputs.length;i++){var o=t.outputs[i],s=n[o.propName].subscribe(eventHandlerClosure(e,t.parent.index,o.eventName));e.disposables[t.outputIndex+i]=s.unsubscribe.bind(s)}return n}function eventHandlerClosure(e,t,r){return function(n){return dispatchEvent(e,t,r,n)}}function checkAndUpdateDirectiveInline(e,t,r,n,i,o,s,a,u,c,l,p){var f=asProviderData(e,t.index),h=f.instance,d=!1,m=void 0,v=t.bindings.length;return v>0&&checkBinding(e,t,0,r)&&(d=!0,m=updateProp(e,f,t,0,r,m)),v>1&&checkBinding(e,t,1,n)&&(d=!0,m=updateProp(e,f,t,1,n,m)),v>2&&checkBinding(e,t,2,i)&&(d=!0,m=updateProp(e,f,t,2,i,m)),v>3&&checkBinding(e,t,3,o)&&(d=!0,m=updateProp(e,f,t,3,o,m)),v>4&&checkBinding(e,t,4,s)&&(d=!0,m=updateProp(e,f,t,4,s,m)),v>5&&checkBinding(e,t,5,a)&&(d=!0,m=updateProp(e,f,t,5,a,m)),v>6&&checkBinding(e,t,6,u)&&(d=!0,m=updateProp(e,f,t,6,u,m)),v>7&&checkBinding(e,t,7,c)&&(d=!0,m=updateProp(e,f,t,7,c,m)),v>8&&checkBinding(e,t,8,l)&&(d=!0,m=updateProp(e,f,t,8,l,m)),v>9&&checkBinding(e,t,9,p)&&(d=!0,m=updateProp(e,f,t,9,p,m)),m&&h.ngOnChanges(m),1&e.state&&32768&t.flags&&h.ngOnInit(),131072&t.flags&&h.ngDoCheck(),d}function checkAndUpdateDirectiveDynamic(e,t,r){for(var n=asProviderData(e,t.index),i=n.instance,o=!1,s=void 0,a=0;a<r.length;a++)checkBinding(e,t,a,r[a])&&(o=!0,s=updateProp(e,n,t,a,r[a],s));return s&&i.ngOnChanges(s),1&e.state&&32768&t.flags&&i.ngOnInit(),131072&t.flags&&i.ngDoCheck(),o}function _createProviderInstance(e,t){var r,n=(4096&t.flags)>0,i=t.provider;switch(100673535&t.flags){case 256:r=createClass(e,t.parent,n,i.value,i.deps);break;case 512:r=callFactory(e,t.parent,n,i.value,i.deps);break;case 1024:r=resolveDep(e,t.parent,n,i.deps[0]);break;case 128:r=i.value}return r}function createClass(e,t,r,n,i){var o,s=i.length;switch(s){case 0:o=new n;break;case 1:o=new n(resolveDep(e,t,r,i[0]));break;case 2:o=new n(resolveDep(e,t,r,i[0]),resolveDep(e,t,r,i[1]));break;case 3:o=new n(resolveDep(e,t,r,i[0]),resolveDep(e,t,r,i[1]),resolveDep(e,t,r,i[2]));break;default:for(var a=new Array(s),u=0;u<s;u++)a[u]=resolveDep(e,t,r,i[u]);o=new(n.bind.apply(n,[void 0].concat(a)))}return o}function callFactory(e,t,r,n,i){var o,s=i.length;switch(s){case 0:o=n();break;case 1:o=n(resolveDep(e,t,r,i[0]));break;case 2:o=n(resolveDep(e,t,r,i[0]),resolveDep(e,t,r,i[1]));break;case 3:o=n(resolveDep(e,t,r,i[0]),resolveDep(e,t,r,i[1]),resolveDep(e,t,r,i[2]));break;default:for(var a=Array(s),u=0;u<s;u++)a[u]=resolveDep(e,t,r,i[u]);o=n.apply(void 0,a)}return o}function resolveDep(e,t,r,n,i){if(void 0===i&&(i=Q.THROW_IF_NOT_FOUND),8&n.flags)return n.token;var o=e;2&n.flags&&(i=null);var s=n.tokenKey;for(t&&1&n.flags&&(r=!1,t=t.parent);e;){if(t)switch(s){case Tr:var a=findCompView(e,t,r);return createRendererV1(a);case Ar:var a=findCompView(e,t,r);return a.renderer;case Pr:return new yt(asElementData(e,t.index).renderElement);case Rr:return asElementData(e,t.index).viewContainer;case Or:if(t.element.template)return asElementData(e,t.index).template;break;case Dr:return createChangeDetectorRef(findCompView(e,t,r));case Ir:return createInjector(e,t);default:var u=(r?t.element.allProviders:t.element.publicProviders)[s];if(u){var c=asProviderData(e,u.index);return c.instance===Nr&&(c.instance=_createProviderInstance(e,u)),c.instance}}r=isComponentView(e),t=viewParentEl(e),e=e.parent}var l=o.root.injector.get(n.token,kr);return l!==kr||i===kr?l:o.root.ngModule.injector.get(n.token,i)}function findCompView(e,t,r){var n;if(r)n=asElementData(e,t.index).componentView;else for(n=e;n.parent&&!isComponentView(n);)n=n.parent;return n}function updateProp(e,t,r,n,i,o){if(16384&r.flags){var s=asElementData(e,r.parent.index).componentView;2&s.def.flags&&(s.state|=2)}var a=r.bindings[n],u=a.name;if(t.instance[u]=i,262144&r.flags){o=o||{};var c=e.oldValues[r.bindingIndex+n];c instanceof Mt&&(c=c.wrapped);o[r.bindings[n].nonMinifiedName]=new Lt(c,i,0!=(1&e.state))}return e.oldValues[r.bindingIndex+n]=i,o}function callLifecycleHooksChildrenFirst(e,t){if(e.def.nodeFlags&t)for(var r=e.def.nodes,n=0;n<r.length;n++){var i=r[n],o=i.parent;for(!o&&i.flags&t&&callProviderLifecycles(e,n,i.flags&t),0==(i.childFlags&t)&&(n+=i.childCount);o&&1&o.flags&&n===o.index+o.childCount;)o.directChildFlags&t&&callElementProvidersLifecycles(e,o,t),o=o.parent}}function callElementProvidersLifecycles(e,t,r){for(var n=t.index+1;n<=t.index+t.childCount;n++){var i=e.def.nodes[n];i.flags&r&&callProviderLifecycles(e,n,i.flags&r),n+=i.childCount}}function callProviderLifecycles(e,t,r){var n=asProviderData(e,t).instance;n!==Nr&&(ur.setCurrentNode(e,t),524288&r&&n.ngAfterContentInit(),1048576&r&&n.ngAfterContentChecked(),2097152&r&&n.ngAfterViewInit(),4194304&r&&n.ngAfterViewChecked(),65536&r&&n.ngOnDestroy())}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function purePipeDef(e){return _pureExpressionDef(64,new Array(e+1))}function pureArrayDef(e){return _pureExpressionDef(16,new Array(e))}function pureObjectDef(e){return _pureExpressionDef(32,e)}function _pureExpressionDef(e,t){for(var r=new Array(t.length),n=0;n<t.length;n++){var i=t[n];r[n]={flags:8,name:i,ns:null,nonMinifiedName:i,securityContext:null,suffix:null}}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:calcBindingFlags(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function createPureExpression(e,t){return{value:void 0}}function checkAndUpdatePureExpressionInline(e,t,r,n,i,o,s,a,u,c,l,p){var f=t.bindings,h=!1,d=f.length;if(d>0&&checkAndUpdateBinding(e,t,0,r)&&(h=!0),d>1&&checkAndUpdateBinding(e,t,1,n)&&(h=!0),d>2&&checkAndUpdateBinding(e,t,2,i)&&(h=!0),d>3&&checkAndUpdateBinding(e,t,3,o)&&(h=!0),d>4&&checkAndUpdateBinding(e,t,4,s)&&(h=!0),d>5&&checkAndUpdateBinding(e,t,5,a)&&(h=!0),d>6&&checkAndUpdateBinding(e,t,6,u)&&(h=!0),d>7&&checkAndUpdateBinding(e,t,7,c)&&(h=!0),d>8&&checkAndUpdateBinding(e,t,8,l)&&(h=!0),d>9&&checkAndUpdateBinding(e,t,9,p)&&(h=!0),h){var m=asPureExpressionData(e,t.index),v=void 0;switch(100673535&t.flags){case 16:v=new Array(f.length),d>0&&(v[0]=r),d>1&&(v[1]=n),d>2&&(v[2]=i),d>3&&(v[3]=o),d>4&&(v[4]=s),d>5&&(v[5]=a),d>6&&(v[6]=u),d>7&&(v[7]=c),d>8&&(v[8]=l),d>9&&(v[9]=p);break;case 32:v={},d>0&&(v[f[0].name]=r),d>1&&(v[f[1].name]=n),d>2&&(v[f[2].name]=i),d>3&&(v[f[3].name]=o),d>4&&(v[f[4].name]=s),d>5&&(v[f[5].name]=a),d>6&&(v[f[6].name]=u),d>7&&(v[f[7].name]=c),d>8&&(v[f[8].name]=l),d>9&&(v[f[9].name]=p);break;case 64:var y=r;switch(d){case 1:v=y.transform(r);break;case 2:v=y.transform(n);break;case 3:v=y.transform(n,i);break;case 4:v=y.transform(n,i,o);break;case 5:v=y.transform(n,i,o,s);break;case 6:v=y.transform(n,i,o,s,a);break;case 7:v=y.transform(n,i,o,s,a,u);break;case 8:v=y.transform(n,i,o,s,a,u,c);break;case 9:v=y.transform(n,i,o,s,a,u,c,l);break;case 10:v=y.transform(n,i,o,s,a,u,c,l,p)}}m.value=v}return h}function checkAndUpdatePureExpressionDynamic(e,t,r){for(var n=t.bindings,i=!1,o=0;o<r.length;o++)checkAndUpdateBinding(e,t,o,r[o])&&(i=!0);if(i){var s=asPureExpressionData(e,t.index),a=void 0;switch(100673535&t.flags){case 16:a=r;break;case 32:a={};for(var o=0;o<r.length;o++)a[n[o].name]=r[o];break;case 64:var u=r[0],c=r.slice(1);a=u.transform.apply(u,c)}s.value=a}return i}/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ function queryDef(e,t,r){var n=[];for(var i in r){var o=r[i];n.push({propName:i,bindingType:o})}return{index:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:filterQueryId(t),bindings:n},ngContent:null}}function createQuery(){return new _t}function dirtyParentQueries(e){for(var t=e.def.nodeMatchedQueries;e.parent&&isEmbeddedView(e);){var r=e.parentNodeDef;e=e.parent;for(var n=r.index+r.childCount,i=0;i<=n;i++){var o=e.def.nodes[i];33554432&o.flags&&268435456&o.flags&&(o.query.filterId&t)===o.query.filterId&&asQueryList(e,i).setDirty(),!(1&o.flags&&i+o.childCount<r.index)&&33554432&o.childFlags&&268435456&o.childFlags||(i+=o.childCount)}}if(67108864&e.def.nodeFlags)for(var i=0;i<e.def.nodes.length;i++){var o=e.def.nodes[i];67108864&o.flags&&268435456&o.flags&&asQueryList(e,i).setDirty(),i+=o.childCount}}function checkAndUpdateQuery(e,t){var r=asQueryList(e,t.index);if(r.dirty){var n,i=void 0;if(33554432&t.flags){var o=t.parent.parent;i=calcQueryValues(e,o.index,o.index+o.childCount,t.query,[]),n=asProviderData(e,t.parent.index).instance}else 67108864&t.flags&&(i=calcQueryValues(e,0,e.def.nodes.length-1,t.query,[]),n=e.component);r.reset(i);for(var s=t.query.bindings,a=!1,u=0;u<s.length;u++){var c=s[u],l=void 0;switch(c.bindingType){case 0:l=r.first;break;case 1:l=r,a=!0}n[c.propName]=l}a&&r.notifyOnChanges()}}function calcQueryValues(e,t,r,n,i){for(var o=t;o<=r;o++){var s=e.def.nodes[o],a=s.matchedQueries[n.id];if(null!=a&&i.push(ge