Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@angular/core

Package Overview
Dependencies
Maintainers
1
Versions
852
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/core - npm Package Compare versions

Comparing version 4.0.0-rc.2 to 4.0.0-rc.3

bundles/core-testing.umd.min.js

1100

@angular/core/testing.es5.js

@@ -1,14 +0,13 @@

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
import { getDebugNode, InjectionToken, NgZone, Injector, NgModule, ReflectiveInjector, ɵERROR_COMPONENT_TYPE, Compiler } from '@angular/core';
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
/**
* @license Angular v4.0.0-rc.3
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
import { getDebugNode, InjectionToken, NgZone, ɵstringify, Injector, NgModule, ReflectiveInjector, ɵERROR_COMPONENT_TYPE, Compiler } from '@angular/core';
/**
* @license

@@ -20,3 +19,3 @@ * Copyright Google Inc. All Rights Reserved.

*/
var _global = typeof window === 'undefined' ? global : window;
var _global = (typeof window === 'undefined' ? global : window);
/**

@@ -48,6 +47,4 @@ * Wraps a test function in an asynchronous test zone. The test will automatically

// fake it here and assume sync.
done = function done() {};
done.fail = function (e) {
throw e;
};
done = function () { };
done.fail = function (e) { throw e; };
}

@@ -57,3 +54,4 @@ runInTestZone(fn, this, done, function (err) {

return done.fail(new Error(err));
} else {
}
else {
done.fail(err);

@@ -70,3 +68,2 @@ }

var _this = this;
return new Promise(function (finishCallback, failCallback) {

@@ -81,7 +78,9 @@ runInTestZone(fn, _this, finishCallback, failCallback);

if (AsyncTestZoneSpec === undefined) {
throw new Error('AsyncTestZoneSpec is needed for the async() test helper but could not be found. ' + 'Please make sure that your environment includes zone.js/dist/async-test.js');
throw new Error('AsyncTestZoneSpec is needed for the async() test helper but could not be found. ' +
'Please make sure that your environment includes zone.js/dist/async-test.js');
}
var ProxyZoneSpec = Zone['ProxyZoneSpec'];
if (ProxyZoneSpec === undefined) {
throw new Error('ProxyZoneSpec is needed for the async() test helper but could not be found. ' + 'Please make sure that your environment includes zone.js/dist/proxy.js');
throw new Error('ProxyZoneSpec is needed for the async() test helper but could not be found. ' +
'Please make sure that your environment includes zone.js/dist/proxy.js');
}

@@ -118,24 +117,2 @@ var proxyZoneSpec = ProxyZoneSpec.get();

}
function scheduleMicroTask(fn) {
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
}
function stringify(token) {
if (typeof token === 'string') {
return token;
}
if (token == null) {
return '' + token;
}
if (token.overriddenName) {
return '' + token.overriddenName;
}
if (token.name) {
return '' + token.name;
}
var res = token.toString();
var newLineIndex = res.indexOf('\n');
return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
}
/**

@@ -146,9 +123,5 @@ * Fixture for debugging and testing a component.

*/
var ComponentFixture = function () {
var ComponentFixture = (function () {
function ComponentFixture(componentRef, ngZone, _autoDetect) {
var _this2 = this;
_classCallCheck(this, ComponentFixture);
var _this = this;
this.componentRef = componentRef;

@@ -172,11 +145,10 @@ this.ngZone = ngZone;

if (ngZone != null) {
this._onUnstableSubscription = ngZone.onUnstable.subscribe({ next: function next() {
_this2._isStable = false;
} });
this._onUnstableSubscription =
ngZone.onUnstable.subscribe({ next: function () { _this._isStable = false; } });
this._onMicrotaskEmptySubscription = ngZone.onMicrotaskEmpty.subscribe({
next: function next() {
if (_this2._autoDetect) {
next: function () {
if (_this._autoDetect) {
// Do a change detection run with checkNoChanges set to true to check
// there are no changes on the second run.
_this2.detectChanges(true);
_this.detectChanges(true);
}

@@ -186,6 +158,6 @@ }

this._onStableSubscription = ngZone.onStable.subscribe({
next: function next() {
_this2._isStable = true;
next: function () {
_this._isStable = true;
// Check whether there is a pending whenStable() completer to resolve.
if (_this2._promise !== null) {
if (_this._promise !== null) {
// If so check whether there are no pending macrotasks before resolving.

@@ -195,7 +167,7 @@ // Do this check in the next tick so that ngZone gets a chance to update the state of

scheduleMicroTask(function () {
if (!_this2.ngZone.hasPendingMacrotasks) {
if (_this2._promise !== null) {
_this2._resolve(true);
_this2._resolve = null;
_this2._promise = null;
if (!_this.ngZone.hasPendingMacrotasks) {
if (_this._promise !== null) {
_this._resolve(true);
_this._resolve = null;
_this._promise = null;
}

@@ -207,130 +179,99 @@ }

});
this._onErrorSubscription = ngZone.onError.subscribe({ next: function next(error) {
throw error;
} });
this._onErrorSubscription =
ngZone.onError.subscribe({ next: function (error) { throw error; } });
}
}
_createClass(ComponentFixture, [{
key: '_tick',
value: function _tick(checkNoChanges) {
this.changeDetectorRef.detectChanges();
if (checkNoChanges) {
this.checkNoChanges();
}
ComponentFixture.prototype._tick = function (checkNoChanges) {
this.changeDetectorRef.detectChanges();
if (checkNoChanges) {
this.checkNoChanges();
}
/**
* Trigger a change detection cycle for the component.
*/
}, {
key: 'detectChanges',
value: function detectChanges() {
var _this3 = this;
var checkNoChanges = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
if (this.ngZone != null) {
// Run the change detection inside the NgZone so that any async tasks as part of the change
// detection are captured by the zone and can be waited for in isStable.
this.ngZone.run(function () {
_this3._tick(checkNoChanges);
});
} else {
// Running without zone. Just do the change detection.
this._tick(checkNoChanges);
}
};
/**
* Trigger a change detection cycle for the component.
*/
ComponentFixture.prototype.detectChanges = function (checkNoChanges) {
var _this = this;
if (checkNoChanges === void 0) { checkNoChanges = true; }
if (this.ngZone != null) {
// Run the change detection inside the NgZone so that any async tasks as part of the change
// detection are captured by the zone and can be waited for in isStable.
this.ngZone.run(function () { _this._tick(checkNoChanges); });
}
/**
* Do a change detection run to make sure there were no changes.
*/
}, {
key: 'checkNoChanges',
value: function checkNoChanges() {
this.changeDetectorRef.checkNoChanges();
else {
// Running without zone. Just do the change detection.
this._tick(checkNoChanges);
}
/**
* Set whether the fixture should autodetect changes.
*
* Also runs detectChanges once so that any existing change is detected.
*/
}, {
key: 'autoDetectChanges',
value: function autoDetectChanges() {
var autoDetect = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
if (this.ngZone == null) {
throw new Error('Cannot call autoDetectChanges when ComponentFixtureNoNgZone is set');
}
this._autoDetect = autoDetect;
this.detectChanges();
};
/**
* Do a change detection run to make sure there were no changes.
*/
ComponentFixture.prototype.checkNoChanges = function () { this.changeDetectorRef.checkNoChanges(); };
/**
* Set whether the fixture should autodetect changes.
*
* Also runs detectChanges once so that any existing change is detected.
*/
ComponentFixture.prototype.autoDetectChanges = function (autoDetect) {
if (autoDetect === void 0) { autoDetect = true; }
if (this.ngZone == null) {
throw new Error('Cannot call autoDetectChanges when ComponentFixtureNoNgZone is set');
}
/**
* Return whether the fixture is currently stable or has async tasks that have not been completed
* yet.
*/
}, {
key: 'isStable',
value: function isStable() {
return this._isStable && !this.ngZone.hasPendingMacrotasks;
this._autoDetect = autoDetect;
this.detectChanges();
};
/**
* Return whether the fixture is currently stable or has async tasks that have not been completed
* yet.
*/
ComponentFixture.prototype.isStable = function () { return this._isStable && !this.ngZone.hasPendingMacrotasks; };
/**
* Get a promise that resolves when the fixture is stable.
*
* This can be used to resume testing after events have triggered asynchronous activity or
* asynchronous change detection.
*/
ComponentFixture.prototype.whenStable = function () {
var _this = this;
if (this.isStable()) {
return Promise.resolve(false);
}
/**
* Get a promise that resolves when the fixture is stable.
*
* This can be used to resume testing after events have triggered asynchronous activity or
* asynchronous change detection.
*/
}, {
key: 'whenStable',
value: function whenStable() {
var _this4 = this;
if (this.isStable()) {
return Promise.resolve(false);
} else if (this._promise !== null) {
return this._promise;
} else {
this._promise = new Promise(function (res) {
_this4._resolve = res;
});
return this._promise;
}
else if (this._promise !== null) {
return this._promise;
}
/**
* Trigger component destruction.
*/
}, {
key: 'destroy',
value: function destroy() {
if (!this._isDestroyed) {
this.componentRef.destroy();
if (this._onUnstableSubscription != null) {
this._onUnstableSubscription.unsubscribe();
this._onUnstableSubscription = null;
}
if (this._onStableSubscription != null) {
this._onStableSubscription.unsubscribe();
this._onStableSubscription = null;
}
if (this._onMicrotaskEmptySubscription != null) {
this._onMicrotaskEmptySubscription.unsubscribe();
this._onMicrotaskEmptySubscription = null;
}
if (this._onErrorSubscription != null) {
this._onErrorSubscription.unsubscribe();
this._onErrorSubscription = null;
}
this._isDestroyed = true;
else {
this._promise = new Promise(function (res) { _this._resolve = res; });
return this._promise;
}
};
/**
* Trigger component destruction.
*/
ComponentFixture.prototype.destroy = function () {
if (!this._isDestroyed) {
this.componentRef.destroy();
if (this._onUnstableSubscription != null) {
this._onUnstableSubscription.unsubscribe();
this._onUnstableSubscription = null;
}
if (this._onStableSubscription != null) {
this._onStableSubscription.unsubscribe();
this._onStableSubscription = null;
}
if (this._onMicrotaskEmptySubscription != null) {
this._onMicrotaskEmptySubscription.unsubscribe();
this._onMicrotaskEmptySubscription = null;
}
if (this._onErrorSubscription != null) {
this._onErrorSubscription.unsubscribe();
this._onErrorSubscription = null;
}
this._isDestroyed = true;
}
}]);
};
return ComponentFixture;
}();
}());
function scheduleMicroTask(fn) {
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
}
/**

@@ -343,4 +284,2 @@ * @license

*/
var FakeAsyncTestZoneSpec = Zone['FakeAsyncTestZoneSpec'];

@@ -381,2 +320,6 @@ var ProxyZoneSpec = Zone['ProxyZoneSpec'];

return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var proxyZoneSpec = ProxyZoneSpec.assertPresent();

@@ -398,19 +341,18 @@ if (_inFakeAsyncCall) {

try {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
res = fn.apply(this, args);
flushMicrotasks();
} finally {
}
finally {
proxyZoneSpec.setDelegate(lastProxyZoneSpec);
}
if (_fakeAsyncTestZoneSpec.pendingPeriodicTimers.length > 0) {
throw new Error(_fakeAsyncTestZoneSpec.pendingPeriodicTimers.length + ' ' + 'periodic timer(s) still in the queue.');
throw new Error(_fakeAsyncTestZoneSpec.pendingPeriodicTimers.length + " " +
"periodic timer(s) still in the queue.");
}
if (_fakeAsyncTestZoneSpec.pendingTimers.length > 0) {
throw new Error(_fakeAsyncTestZoneSpec.pendingTimers.length + ' timer(s) still in the queue.');
throw new Error(_fakeAsyncTestZoneSpec.pendingTimers.length + " timer(s) still in the queue.");
}
return res;
} finally {
}
finally {
_inFakeAsyncCall = false;

@@ -439,5 +381,4 @@ resetFakeAsyncZone();

*/
function tick() {
var millis = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
function tick(millis) {
if (millis === void 0) { millis = 0; }
_getFakeAsyncZoneSpec().tick(millis);

@@ -463,3 +404,2 @@ }

}
/**

@@ -481,35 +421,19 @@ * @license

* found in the LICENSE file at https://angular.io/license
*/
var AsyncTestCompleter = function () {
*/ var AsyncTestCompleter = (function () {
function AsyncTestCompleter() {
var _this5 = this;
_classCallCheck(this, AsyncTestCompleter);
var _this = this;
this._promise = new Promise(function (res, rej) {
_this5._resolve = res;
_this5._reject = rej;
_this._resolve = res;
_this._reject = rej;
});
}
_createClass(AsyncTestCompleter, [{
key: 'done',
value: function done(value) {
this._resolve(value);
}
}, {
key: 'fail',
value: function fail(error, stackTrace) {
this._reject(error);
}
}, {
key: 'promise',
get: function get() {
return this._promise;
}
}]);
AsyncTestCompleter.prototype.done = function (value) { this._resolve(value); };
AsyncTestCompleter.prototype.fail = function (error, stackTrace) { this._reject(error); };
Object.defineProperty(AsyncTestCompleter.prototype, "promise", {
get: function () { return this._promise; },
enumerable: true,
configurable: true
});
return AsyncTestCompleter;
}();
}());
function unimplemented() {

@@ -523,41 +447,26 @@ throw Error('unimplemented');

*/
var TestingCompiler = function (_Compiler) {
_inherits(TestingCompiler, _Compiler);
var TestingCompiler = (function (_super) {
__extends(TestingCompiler, _super);
function TestingCompiler() {
_classCallCheck(this, TestingCompiler);
return _possibleConstructorReturn(this, (TestingCompiler.__proto__ || Object.getPrototypeOf(TestingCompiler)).apply(this, arguments));
return _super !== null && _super.apply(this, arguments) || this;
}
_createClass(TestingCompiler, [{
key: 'overrideModule',
value: function overrideModule(module, overrides) {
throw unimplemented();
}
}, {
key: 'overrideDirective',
value: function overrideDirective(directive, overrides) {
throw unimplemented();
}
}, {
key: 'overrideComponent',
value: function overrideComponent(component, overrides) {
throw unimplemented();
}
}, {
key: 'overridePipe',
value: function overridePipe(directive, overrides) {
throw unimplemented();
}
}, {
key: 'injector',
get: function get() {
throw unimplemented();
}
}]);
Object.defineProperty(TestingCompiler.prototype, "injector", {
get: function () { throw unimplemented(); },
enumerable: true,
configurable: true
});
TestingCompiler.prototype.overrideModule = function (module, overrides) {
throw unimplemented();
};
TestingCompiler.prototype.overrideDirective = function (directive, overrides) {
throw unimplemented();
};
TestingCompiler.prototype.overrideComponent = function (component, overrides) {
throw unimplemented();
};
TestingCompiler.prototype.overridePipe = function (directive, overrides) {
throw unimplemented();
};
return TestingCompiler;
}(Compiler);
}(Compiler));
/**

@@ -568,8 +477,7 @@ * A factory for creating a Compiler

*/
var TestingCompilerFactory = function TestingCompilerFactory() {
_classCallCheck(this, TestingCompilerFactory);
};
var TestingCompilerFactory = (function () {
function TestingCompilerFactory() {
}
return TestingCompilerFactory;
}());
var UNDEFINED = new Object();

@@ -581,16 +489,8 @@ /**

*/
var TestComponentRenderer = function () {
var TestComponentRenderer = (function () {
function TestComponentRenderer() {
_classCallCheck(this, TestComponentRenderer);
}
_createClass(TestComponentRenderer, [{
key: 'insertRootElement',
value: function insertRootElement(rootElementId) {}
}]);
TestComponentRenderer.prototype.insertRootElement = function (rootElementId) { };
return TestComponentRenderer;
}();
}());
var _nextRootElementId = 0;

@@ -614,7 +514,4 @@ /**

*/
var TestBed = function () {
var TestBed = (function () {
function TestBed() {
_classCallCheck(this, TestBed);
this._instantiated = false;

@@ -650,349 +547,256 @@ this._compiler = null;

*/
_createClass(TestBed, [{
key: 'initTestEnvironment',
/**
* Initialize the environment for testing with a compiler factory, a PlatformRef, and an
* angular module. These are common to every test in the suite.
*
* This may only be called once, to set up the common providers for the current test
* suite on the current platform. If you absolutely need to change the providers,
* first use `resetTestEnvironment`.
*
* Test modules and platforms for individual platforms are available from
* '@angular/<platform_name>/testing'.
*
* @experimental
*/
value: function initTestEnvironment(ngModule, platform) {
if (this.platform || this.ngModule) {
throw new Error('Cannot set base providers because it has already been called');
}
this.platform = platform;
this.ngModule = ngModule;
TestBed.initTestEnvironment = function (ngModule, platform) {
var testBed = getTestBed();
testBed.initTestEnvironment(ngModule, platform);
return testBed;
};
/**
* Reset the providers for the test injector.
*
* @experimental
*/
TestBed.resetTestEnvironment = function () { getTestBed().resetTestEnvironment(); };
TestBed.resetTestingModule = function () {
getTestBed().resetTestingModule();
return TestBed;
};
/**
* Allows overriding default compiler providers and settings
* which are defined in test_injector.js
*/
TestBed.configureCompiler = function (config) {
getTestBed().configureCompiler(config);
return TestBed;
};
/**
* Allows overriding default providers, directives, pipes, modules of the test injector,
* which are defined in test_injector.js
*/
TestBed.configureTestingModule = function (moduleDef) {
getTestBed().configureTestingModule(moduleDef);
return TestBed;
};
/**
* Compile components with a `templateUrl` for the test's NgModule.
* It is necessary to call this function
* as fetching urls is asynchronous.
*/
TestBed.compileComponents = function () { return getTestBed().compileComponents(); };
TestBed.overrideModule = function (ngModule, override) {
getTestBed().overrideModule(ngModule, override);
return TestBed;
};
TestBed.overrideComponent = function (component, override) {
getTestBed().overrideComponent(component, override);
return TestBed;
};
TestBed.overrideDirective = function (directive, override) {
getTestBed().overrideDirective(directive, override);
return TestBed;
};
TestBed.overridePipe = function (pipe, override) {
getTestBed().overridePipe(pipe, override);
return TestBed;
};
TestBed.overrideTemplate = function (component, template) {
getTestBed().overrideComponent(component, { set: { template: template, templateUrl: null } });
return TestBed;
};
TestBed.get = function (token, notFoundValue) {
if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; }
return getTestBed().get(token, notFoundValue);
};
TestBed.createComponent = function (component) {
return getTestBed().createComponent(component);
};
/**
* Initialize the environment for testing with a compiler factory, a PlatformRef, and an
* angular module. These are common to every test in the suite.
*
* This may only be called once, to set up the common providers for the current test
* suite on the current platform. If you absolutely need to change the providers,
* first use `resetTestEnvironment`.
*
* Test modules and platforms for individual platforms are available from
* '@angular/<platform_name>/testing'.
*
* @experimental
*/
TestBed.prototype.initTestEnvironment = function (ngModule, platform) {
if (this.platform || this.ngModule) {
throw new Error('Cannot set base providers because it has already been called');
}
/**
* Reset the providers for the test injector.
*
* @experimental
*/
}, {
key: 'resetTestEnvironment',
value: function resetTestEnvironment() {
this.resetTestingModule();
this.platform = null;
this.ngModule = null;
this.platform = platform;
this.ngModule = ngModule;
};
/**
* Reset the providers for the test injector.
*
* @experimental
*/
TestBed.prototype.resetTestEnvironment = function () {
this.resetTestingModule();
this.platform = null;
this.ngModule = null;
};
TestBed.prototype.resetTestingModule = function () {
this._compiler = null;
this._moduleOverrides = [];
this._componentOverrides = [];
this._directiveOverrides = [];
this._pipeOverrides = [];
this._moduleRef = null;
this._moduleWithComponentFactories = null;
this._compilerOptions = [];
this._providers = [];
this._declarations = [];
this._imports = [];
this._schemas = [];
this._instantiated = false;
this._activeFixtures.forEach(function (fixture) { return fixture.destroy(); });
this._activeFixtures = [];
};
TestBed.prototype.configureCompiler = function (config) {
this._assertNotInstantiated('TestBed.configureCompiler', 'configure the compiler');
this._compilerOptions.push(config);
};
TestBed.prototype.configureTestingModule = function (moduleDef) {
this._assertNotInstantiated('TestBed.configureTestingModule', 'configure the test module');
if (moduleDef.providers) {
(_a = this._providers).push.apply(_a, moduleDef.providers);
}
}, {
key: 'resetTestingModule',
value: function resetTestingModule() {
this._compiler = null;
this._moduleOverrides = [];
this._componentOverrides = [];
this._directiveOverrides = [];
this._pipeOverrides = [];
this._moduleRef = null;
this._moduleWithComponentFactories = null;
this._compilerOptions = [];
this._providers = [];
this._declarations = [];
this._imports = [];
this._schemas = [];
this._instantiated = false;
this._activeFixtures.forEach(function (fixture) {
return fixture.destroy();
});
this._activeFixtures = [];
if (moduleDef.declarations) {
(_b = this._declarations).push.apply(_b, moduleDef.declarations);
}
}, {
key: 'configureCompiler',
value: function configureCompiler(config) {
this._assertNotInstantiated('TestBed.configureCompiler', 'configure the compiler');
this._compilerOptions.push(config);
if (moduleDef.imports) {
(_c = this._imports).push.apply(_c, moduleDef.imports);
}
}, {
key: 'configureTestingModule',
value: function configureTestingModule(moduleDef) {
this._assertNotInstantiated('TestBed.configureTestingModule', 'configure the test module');
if (moduleDef.providers) {
var _providers;
(_providers = this._providers).push.apply(_providers, _toConsumableArray(moduleDef.providers));
}
if (moduleDef.declarations) {
var _declarations;
(_declarations = this._declarations).push.apply(_declarations, _toConsumableArray(moduleDef.declarations));
}
if (moduleDef.imports) {
var _imports;
(_imports = this._imports).push.apply(_imports, _toConsumableArray(moduleDef.imports));
}
if (moduleDef.schemas) {
var _schemas;
(_schemas = this._schemas).push.apply(_schemas, _toConsumableArray(moduleDef.schemas));
}
if (moduleDef.schemas) {
(_d = this._schemas).push.apply(_d, moduleDef.schemas);
}
}, {
key: 'compileComponents',
value: function compileComponents() {
var _this7 = this;
if (this._moduleWithComponentFactories || this._instantiated) {
return Promise.resolve(null);
}
var moduleType = this._createCompilerAndModule();
return this._compiler.compileModuleAndAllComponentsAsync(moduleType).then(function (moduleAndComponentFactories) {
_this7._moduleWithComponentFactories = moduleAndComponentFactories;
});
var _a, _b, _c, _d;
};
TestBed.prototype.compileComponents = function () {
var _this = this;
if (this._moduleWithComponentFactories || this._instantiated) {
return Promise.resolve(null);
}
}, {
key: '_initIfNeeded',
value: function _initIfNeeded() {
if (this._instantiated) {
return;
var moduleType = this._createCompilerAndModule();
return this._compiler.compileModuleAndAllComponentsAsync(moduleType)
.then(function (moduleAndComponentFactories) {
_this._moduleWithComponentFactories = moduleAndComponentFactories;
});
};
TestBed.prototype._initIfNeeded = function () {
if (this._instantiated) {
return;
}
if (!this._moduleWithComponentFactories) {
try {
var moduleType = this._createCompilerAndModule();
this._moduleWithComponentFactories =
this._compiler.compileModuleAndAllComponentsSync(moduleType);
}
if (!this._moduleWithComponentFactories) {
try {
var moduleType = this._createCompilerAndModule();
this._moduleWithComponentFactories = this._compiler.compileModuleAndAllComponentsSync(moduleType);
} catch (e) {
if (getComponentType(e)) {
throw new Error('This test module uses the component ' + stringify(getComponentType(e)) + ' which is using a "templateUrl" or "styleUrls", but they were never compiled. ' + 'Please call "TestBed.compileComponents" before your test.');
} else {
throw e;
}
catch (e) {
if (getComponentType(e)) {
throw new Error("This test module uses the component " + ɵstringify(getComponentType(e)) + " which is using a \"templateUrl\" or \"styleUrls\", but they were never compiled. " +
"Please call \"TestBed.compileComponents\" before your test.");
}
else {
throw e;
}
}
var ngZone = new NgZone({ enableLongStackTrace: true });
var ngZoneInjector = ReflectiveInjector.resolveAndCreate([{ provide: NgZone, useValue: ngZone }], this.platform.injector);
this._moduleRef = this._moduleWithComponentFactories.ngModuleFactory.create(ngZoneInjector);
this._instantiated = true;
}
}, {
key: '_createCompilerAndModule',
value: function _createCompilerAndModule() {
var _this8 = this;
var providers = this._providers.concat([{ provide: TestBed, useValue: this }]);
var declarations = this._declarations;
var imports = [this.ngModule, this._imports];
var schemas = this._schemas;
var DynamicTestModule = function DynamicTestModule() {
_classCallCheck(this, DynamicTestModule);
};
DynamicTestModule.decorators = [{ type: NgModule, args: [{ providers: providers, declarations: declarations, imports: imports, schemas: schemas }] }];
/** @nocollapse */
DynamicTestModule.ctorParameters = function () {
return [];
};
var compilerFactory = this.platform.injector.get(TestingCompilerFactory);
this._compiler = compilerFactory.createTestingCompiler(this._compilerOptions.concat([{ useDebug: true }]));
this._moduleOverrides.forEach(function (entry) {
return _this8._compiler.overrideModule(entry[0], entry[1]);
});
this._componentOverrides.forEach(function (entry) {
return _this8._compiler.overrideComponent(entry[0], entry[1]);
});
this._directiveOverrides.forEach(function (entry) {
return _this8._compiler.overrideDirective(entry[0], entry[1]);
});
this._pipeOverrides.forEach(function (entry) {
return _this8._compiler.overridePipe(entry[0], entry[1]);
});
var ngZone = new NgZone({ enableLongStackTrace: true });
var ngZoneInjector = ReflectiveInjector.resolveAndCreate([{ provide: NgZone, useValue: ngZone }], this.platform.injector);
this._moduleRef = this._moduleWithComponentFactories.ngModuleFactory.create(ngZoneInjector);
this._instantiated = true;
};
TestBed.prototype._createCompilerAndModule = function () {
var _this = this;
var providers = this._providers.concat([{ provide: TestBed, useValue: this }]);
var declarations = this._declarations;
var imports = [this.ngModule, this._imports];
var schemas = this._schemas;
var DynamicTestModule = (function () {
function DynamicTestModule() {
}
return DynamicTestModule;
}());
DynamicTestModule.decorators = [
{ type: NgModule, args: [{ providers: providers, declarations: declarations, imports: imports, schemas: schemas },] },
];
/** @nocollapse */
DynamicTestModule.ctorParameters = function () { return []; };
var compilerFactory = this.platform.injector.get(TestingCompilerFactory);
this._compiler =
compilerFactory.createTestingCompiler(this._compilerOptions.concat([{ useDebug: true }]));
this._moduleOverrides.forEach(function (entry) { return _this._compiler.overrideModule(entry[0], entry[1]); });
this._componentOverrides.forEach(function (entry) { return _this._compiler.overrideComponent(entry[0], entry[1]); });
this._directiveOverrides.forEach(function (entry) { return _this._compiler.overrideDirective(entry[0], entry[1]); });
this._pipeOverrides.forEach(function (entry) { return _this._compiler.overridePipe(entry[0], entry[1]); });
return DynamicTestModule;
};
TestBed.prototype._assertNotInstantiated = function (methodName, methodDescription) {
if (this._instantiated) {
throw new Error("Cannot " + methodDescription + " when the test module has already been instantiated. " +
("Make sure you are not using `inject` before `" + methodName + "`."));
}
}, {
key: '_assertNotInstantiated',
value: function _assertNotInstantiated(methodName, methodDescription) {
if (this._instantiated) {
throw new Error('Cannot ' + methodDescription + ' when the test module has already been instantiated. ' + ('Make sure you are not using `inject` before `' + methodName + '`.'));
}
};
TestBed.prototype.get = function (token, notFoundValue) {
if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; }
this._initIfNeeded();
if (token === TestBed) {
return this;
}
}, {
key: 'get',
value: function get(token) {
var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Injector.THROW_IF_NOT_FOUND;
this._initIfNeeded();
if (token === TestBed) {
return this;
}
// Tests can inject things from the ng module and from the compiler,
// but the ng module can't inject things from the compiler and vice versa.
var result = this._moduleRef.injector.get(token, UNDEFINED);
return result === UNDEFINED ? this._compiler.injector.get(token, notFoundValue) : result;
// Tests can inject things from the ng module and from the compiler,
// but the ng module can't inject things from the compiler and vice versa.
var result = this._moduleRef.injector.get(token, UNDEFINED);
return result === UNDEFINED ? this._compiler.injector.get(token, notFoundValue) : result;
};
TestBed.prototype.execute = function (tokens, fn, context) {
var _this = this;
this._initIfNeeded();
var params = tokens.map(function (t) { return _this.get(t); });
return fn.apply(context, params);
};
TestBed.prototype.overrideModule = function (ngModule, override) {
this._assertNotInstantiated('overrideModule', 'override module metadata');
this._moduleOverrides.push([ngModule, override]);
};
TestBed.prototype.overrideComponent = function (component, override) {
this._assertNotInstantiated('overrideComponent', 'override component metadata');
this._componentOverrides.push([component, override]);
};
TestBed.prototype.overrideDirective = function (directive, override) {
this._assertNotInstantiated('overrideDirective', 'override directive metadata');
this._directiveOverrides.push([directive, override]);
};
TestBed.prototype.overridePipe = function (pipe, override) {
this._assertNotInstantiated('overridePipe', 'override pipe metadata');
this._pipeOverrides.push([pipe, override]);
};
TestBed.prototype.createComponent = function (component) {
var _this = this;
this._initIfNeeded();
var componentFactory = this._moduleWithComponentFactories.componentFactories.find(function (compFactory) { return compFactory.componentType === component; });
if (!componentFactory) {
throw new Error("Cannot create the component " + ɵstringify(component) + " as it was not imported into the testing module!");
}
}, {
key: 'execute',
value: function execute(tokens, fn, context) {
var _this9 = this;
this._initIfNeeded();
var params = tokens.map(function (t) {
return _this9.get(t);
});
return fn.apply(context, params);
}
}, {
key: 'overrideModule',
value: function overrideModule(ngModule, override) {
this._assertNotInstantiated('overrideModule', 'override module metadata');
this._moduleOverrides.push([ngModule, override]);
}
}, {
key: 'overrideComponent',
value: function overrideComponent(component, override) {
this._assertNotInstantiated('overrideComponent', 'override component metadata');
this._componentOverrides.push([component, override]);
}
}, {
key: 'overrideDirective',
value: function overrideDirective(directive, override) {
this._assertNotInstantiated('overrideDirective', 'override directive metadata');
this._directiveOverrides.push([directive, override]);
}
}, {
key: 'overridePipe',
value: function overridePipe(pipe, override) {
this._assertNotInstantiated('overridePipe', 'override pipe metadata');
this._pipeOverrides.push([pipe, override]);
}
}, {
key: 'createComponent',
value: function createComponent(component) {
var _this10 = this;
this._initIfNeeded();
var componentFactory = this._moduleWithComponentFactories.componentFactories.find(function (compFactory) {
return compFactory.componentType === component;
});
if (!componentFactory) {
throw new Error('Cannot create the component ' + stringify(component) + ' as it was not imported into the testing module!');
}
var noNgZone = this.get(ComponentFixtureNoNgZone, false);
var autoDetect = this.get(ComponentFixtureAutoDetect, false);
var ngZone = noNgZone ? null : this.get(NgZone, null);
var testComponentRenderer = this.get(TestComponentRenderer);
var rootElId = 'root' + _nextRootElementId++;
testComponentRenderer.insertRootElement(rootElId);
var initComponent = function initComponent() {
var componentRef = componentFactory.create(_this10, [], '#' + rootElId);
return new ComponentFixture(componentRef, ngZone, autoDetect);
};
var fixture = !ngZone ? initComponent() : ngZone.run(initComponent);
this._activeFixtures.push(fixture);
return fixture;
}
}], [{
key: 'initTestEnvironment',
value: function initTestEnvironment(ngModule, platform) {
var testBed = getTestBed();
testBed.initTestEnvironment(ngModule, platform);
return testBed;
}
/**
* Reset the providers for the test injector.
*
* @experimental
*/
}, {
key: 'resetTestEnvironment',
value: function resetTestEnvironment() {
getTestBed().resetTestEnvironment();
}
}, {
key: 'resetTestingModule',
value: function resetTestingModule() {
getTestBed().resetTestingModule();
return TestBed;
}
/**
* Allows overriding default compiler providers and settings
* which are defined in test_injector.js
*/
}, {
key: 'configureCompiler',
value: function configureCompiler(config) {
getTestBed().configureCompiler(config);
return TestBed;
}
/**
* Allows overriding default providers, directives, pipes, modules of the test injector,
* which are defined in test_injector.js
*/
}, {
key: 'configureTestingModule',
value: function configureTestingModule(moduleDef) {
getTestBed().configureTestingModule(moduleDef);
return TestBed;
}
/**
* Compile components with a `templateUrl` for the test's NgModule.
* It is necessary to call this function
* as fetching urls is asynchronous.
*/
}, {
key: 'compileComponents',
value: function compileComponents() {
return getTestBed().compileComponents();
}
}, {
key: 'overrideModule',
value: function overrideModule(ngModule, override) {
getTestBed().overrideModule(ngModule, override);
return TestBed;
}
}, {
key: 'overrideComponent',
value: function overrideComponent(component, override) {
getTestBed().overrideComponent(component, override);
return TestBed;
}
}, {
key: 'overrideDirective',
value: function overrideDirective(directive, override) {
getTestBed().overrideDirective(directive, override);
return TestBed;
}
}, {
key: 'overridePipe',
value: function overridePipe(pipe, override) {
getTestBed().overridePipe(pipe, override);
return TestBed;
}
}, {
key: 'overrideTemplate',
value: function overrideTemplate(component, template) {
getTestBed().overrideComponent(component, { set: { template: template, templateUrl: null } });
return TestBed;
}
}, {
key: 'get',
value: function get(token) {
var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : Injector.THROW_IF_NOT_FOUND;
return getTestBed().get(token, notFoundValue);
}
}, {
key: 'createComponent',
value: function createComponent(component) {
return getTestBed().createComponent(component);
}
}]);
var noNgZone = this.get(ComponentFixtureNoNgZone, false);
var autoDetect = this.get(ComponentFixtureAutoDetect, false);
var ngZone = noNgZone ? null : this.get(NgZone, null);
var testComponentRenderer = this.get(TestComponentRenderer);
var rootElId = "root" + _nextRootElementId++;
testComponentRenderer.insertRootElement(rootElId);
var initComponent = function () {
var componentRef = componentFactory.create(_this, [], "#" + rootElId);
return new ComponentFixture(componentRef, ngZone, autoDetect);
};
var fixture = !ngZone ? initComponent() : ngZone.run(initComponent);
this._activeFixtures.push(fixture);
return fixture;
};
return TestBed;
}();
}());
var _testBed = null;

@@ -1029,3 +833,3 @@ /**

*/
function _inject(tokens, fn) {
function inject(tokens, fn) {
var testBed = getTestBed();

@@ -1035,4 +839,3 @@ if (tokens.indexOf(AsyncTestCompleter) >= 0) {

return function () {
var _this11 = this;
var _this = this;
// Return an async test method that returns a Promise if AsyncTestCompleter is one of

@@ -1042,11 +845,10 @@ // the injected tokens.

var completer = testBed.get(AsyncTestCompleter);
testBed.execute(tokens, fn, _this11);
testBed.execute(tokens, fn, _this);
return completer.promise;
});
};
} else {
}
else {
// Not using an arrow function to preserve context passed from call site
return function () {
return testBed.execute(tokens, fn, this);
};
return function () { return testBed.execute(tokens, fn, this); };
}

@@ -1057,36 +859,24 @@ }

*/
var InjectSetupWrapper = function () {
var InjectSetupWrapper = (function () {
function InjectSetupWrapper(_moduleDef) {
_classCallCheck(this, InjectSetupWrapper);
this._moduleDef = _moduleDef;
}
_createClass(InjectSetupWrapper, [{
key: '_addModule',
value: function _addModule() {
var moduleDef = this._moduleDef();
if (moduleDef) {
getTestBed().configureTestingModule(moduleDef);
}
InjectSetupWrapper.prototype._addModule = function () {
var moduleDef = this._moduleDef();
if (moduleDef) {
getTestBed().configureTestingModule(moduleDef);
}
}, {
key: 'inject',
value: function inject(tokens, fn) {
var self = this;
// Not using an arrow function to preserve context passed from call site
return function () {
self._addModule();
return _inject(tokens, fn).call(this);
};
}
}]);
};
InjectSetupWrapper.prototype.inject = function (tokens, fn) {
var self = this;
// Not using an arrow function to preserve context passed from call site
return function () {
self._addModule();
return inject(tokens, fn).call(this);
};
};
return InjectSetupWrapper;
}();
function withModule(moduleDef) {
var fn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
}());
function withModule(moduleDef, fn) {
if (fn === void 0) { fn = null; }
if (fn) {

@@ -1102,5 +892,3 @@ // Not using an arrow function to preserve context passed from call site

}
return new InjectSetupWrapper(function () {
return moduleDef;
});
return new InjectSetupWrapper(function () { return moduleDef; });
}

@@ -1110,7 +898,6 @@ function getComponentType(error) {

}
var _global$2 = typeof window === 'undefined' ? global : window;
var _global$1 = (typeof window === 'undefined' ? global : window);
// Reset the test providers and the fake async zone before each test.
if (_global$2.beforeEach) {
_global$2.beforeEach(function () {
if (_global$1.beforeEach) {
_global$1.beforeEach(function () {
TestBed.resetTestingModule();

@@ -1123,3 +910,2 @@ resetFakeAsyncZone();

var __core_private_testing_placeholder__ = '';
export { async, ComponentFixture, resetFakeAsyncZone, fakeAsync, tick, discardPeriodicTasks, flushMicrotasks, TestComponentRenderer, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, TestBed, getTestBed, _inject as inject, InjectSetupWrapper, withModule, __core_private_testing_placeholder__, TestingCompiler as ɵTestingCompiler, TestingCompilerFactory as ɵTestingCompilerFactory };
export { async, ComponentFixture, resetFakeAsyncZone, fakeAsync, tick, discardPeriodicTasks, flushMicrotasks, TestComponentRenderer, ComponentFixtureAutoDetect, ComponentFixtureNoNgZone, TestBed, getTestBed, inject, InjectSetupWrapper, withModule, __core_private_testing_placeholder__, TestingCompiler as ɵTestingCompiler, TestingCompilerFactory as ɵTestingCompilerFactory };

@@ -1,2 +0,7 @@

import { getDebugNode, InjectionToken, NgZone, Injector, NgModule, ReflectiveInjector, ɵERROR_COMPONENT_TYPE, Compiler } from '@angular/core';
/**
* @license Angular v4.0.0-rc.3
* (c) 2010-2017 Google, Inc. https://angular.io/
* License: MIT
*/
import { getDebugNode, InjectionToken, NgZone, ɵstringify, Injector, NgModule, ReflectiveInjector, ɵERROR_COMPONENT_TYPE, Compiler } from '@angular/core';

@@ -103,23 +108,2 @@ /**

function scheduleMicroTask(fn) {
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
}
function stringify(token) {
if (typeof token === 'string') {
return token;
}
if (token == null) {
return '' + token;
}
if (token.overriddenName) {
return `${token.overriddenName}`;
}
if (token.name) {
return `${token.name}`;
}
const res = token.toString();
const newLineIndex = res.indexOf('\n');
return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
}
/**

@@ -270,2 +254,5 @@ * Fixture for debugging and testing a component.

}
function scheduleMicroTask(fn) {
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
}

@@ -660,3 +647,3 @@ /**

if (getComponentType(e)) {
throw new Error(`This test module uses the component ${stringify(getComponentType(e))} which is using a "templateUrl" or "styleUrls", but they were never compiled. ` +
throw new Error(`This test module uses the component ${ɵstringify(getComponentType(e))} which is using a "templateUrl" or "styleUrls", but they were never compiled. ` +
`Please call "TestBed.compileComponents" before your test.`);

@@ -736,3 +723,3 @@ }

if (!componentFactory) {
throw new Error(`Cannot create the component ${stringify(component)} as it was not imported into the testing module!`);
throw new Error(`Cannot create the component ${ɵstringify(component)} as it was not imported into the testing module!`);
}

@@ -843,6 +830,6 @@ const noNgZone = this.get(ComponentFixtureNoNgZone, false);

const _global$2 = (typeof window === 'undefined' ? global : window);
const _global$1 = (typeof window === 'undefined' ? global : window);
// Reset the test providers and the fake async zone before each test.
if (_global$2.beforeEach) {
_global$2.beforeEach(() => {
if (_global$1.beforeEach) {
_global$1.beforeEach(() => {
TestBed.resetTestingModule();

@@ -849,0 +836,0 @@ resetFakeAsyncZone();

/**
* @license Angular v4.0.0-rc.2
* @license Angular v4.0.0-rc.3
* (c) 2010-2017 Google, Inc. https://angular.io/

@@ -7,81 +7,12 @@ * License: MIT

(function (global, factory) {
if (typeof define === "function" && define.amd) {
define('@angular/core/testing', ['exports', '@angular/core'], factory);
} else if (typeof exports !== "undefined") {
factory(exports, require('@angular/core'));
} else {
var mod = {
exports: {}
};
factory(mod.exports, global.ng.core);
global.ng = global.ng || {};
global.ng.core = global.ng.core || {};
global.ng.core.testing = mod.exports;
}
})(this, function (exports, _core) {
'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) :
(factory((global.ng = global.ng || {}, global.ng.core = global.ng.core || {}, global.ng.core.testing = global.ng.core.testing || {}),global.ng.core));
}(this, function (exports,_angular_core) { 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ɵTestingCompilerFactory = exports.ɵTestingCompiler = exports.__core_private_testing_placeholder__ = exports.withModule = exports.InjectSetupWrapper = exports.inject = exports.getTestBed = exports.TestBed = exports.ComponentFixtureNoNgZone = exports.ComponentFixtureAutoDetect = exports.TestComponentRenderer = exports.flushMicrotasks = exports.discardPeriodicTasks = exports.tick = exports.fakeAsync = exports.resetFakeAsyncZone = exports.ComponentFixture = exports.async = undefined;
function _toConsumableArray(arr) {
if (Array.isArray(arr)) {
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
return arr2;
} else {
return Array.from(arr);
}
}
function _possibleConstructorReturn(self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "function") ? call : self;
}
function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
}
});
if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
}
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
var _createClass = function () {
function defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, descriptor.key, descriptor);
}
}
return function (Constructor, protoProps, staticProps) {
if (protoProps) defineProperties(Constructor.prototype, protoProps);
if (staticProps) defineProperties(Constructor, staticProps);
return Constructor;
};
}();
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
/**

@@ -94,3 +25,3 @@ * @license

*/
var _global = typeof window === 'undefined' ? global : window;
var _global = (typeof window === 'undefined' ? global : window);
/**

@@ -122,6 +53,4 @@ * Wraps a test function in an asynchronous test zone. The test will automatically

// fake it here and assume sync.
done = function done() {};
done.fail = function (e) {
throw e;
};
done = function () { };
done.fail = function (e) { throw e; };
}

@@ -131,3 +60,4 @@ runInTestZone(fn, this, done, function (err) {

return done.fail(new Error(err));
} else {
}
else {
done.fail(err);

@@ -144,3 +74,2 @@ }

var _this = this;
return new Promise(function (finishCallback, failCallback) {

@@ -155,7 +84,9 @@ runInTestZone(fn, _this, finishCallback, failCallback);

if (AsyncTestZoneSpec === undefined) {
throw new Error('AsyncTestZoneSpec is needed for the async() test helper but could not be found. ' + 'Please make sure that your environment includes zone.js/dist/async-test.js');
throw new Error('AsyncTestZoneSpec is needed for the async() test helper but could not be found. ' +
'Please make sure that your environment includes zone.js/dist/async-test.js');
}
var ProxyZoneSpec = Zone['ProxyZoneSpec'];
if (ProxyZoneSpec === undefined) {
throw new Error('ProxyZoneSpec is needed for the async() test helper but could not be found. ' + 'Please make sure that your environment includes zone.js/dist/proxy.js');
throw new Error('ProxyZoneSpec is needed for the async() test helper but could not be found. ' +
'Please make sure that your environment includes zone.js/dist/proxy.js');
}

@@ -192,24 +123,2 @@ var proxyZoneSpec = ProxyZoneSpec.get();

}
function scheduleMicroTask(fn) {
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
}
function stringify(token) {
if (typeof token === 'string') {
return token;
}
if (token == null) {
return '' + token;
}
if (token.overriddenName) {
return '' + token.overriddenName;
}
if (token.name) {
return '' + token.name;
}
var res = token.toString();
var newLineIndex = res.indexOf('\n');
return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
}
/**

@@ -220,9 +129,5 @@ * Fixture for debugging and testing a component.

*/
var ComponentFixture = function () {
var ComponentFixture = (function () {
function ComponentFixture(componentRef, ngZone, _autoDetect) {
var _this2 = this;
_classCallCheck(this, ComponentFixture);
var _this = this;
this.componentRef = componentRef;

@@ -240,3 +145,3 @@ this.ngZone = ngZone;

this.elementRef = componentRef.location;
this.debugElement = (0, _core.getDebugNode)(this.elementRef.nativeElement);
this.debugElement = _angular_core.getDebugNode(this.elementRef.nativeElement);
this.componentInstance = componentRef.instance;

@@ -247,11 +152,10 @@ this.nativeElement = this.elementRef.nativeElement;

if (ngZone != null) {
this._onUnstableSubscription = ngZone.onUnstable.subscribe({ next: function next() {
_this2._isStable = false;
} });
this._onUnstableSubscription =
ngZone.onUnstable.subscribe({ next: function () { _this._isStable = false; } });
this._onMicrotaskEmptySubscription = ngZone.onMicrotaskEmpty.subscribe({
next: function next() {
if (_this2._autoDetect) {
next: function () {
if (_this._autoDetect) {
// Do a change detection run with checkNoChanges set to true to check
// there are no changes on the second run.
_this2.detectChanges(true);
_this.detectChanges(true);
}

@@ -261,6 +165,6 @@ }

this._onStableSubscription = ngZone.onStable.subscribe({
next: function next() {
_this2._isStable = true;
next: function () {
_this._isStable = true;
// Check whether there is a pending whenStable() completer to resolve.
if (_this2._promise !== null) {
if (_this._promise !== null) {
// If so check whether there are no pending macrotasks before resolving.

@@ -270,7 +174,7 @@ // Do this check in the next tick so that ngZone gets a chance to update the state of

scheduleMicroTask(function () {
if (!_this2.ngZone.hasPendingMacrotasks) {
if (_this2._promise !== null) {
_this2._resolve(true);
_this2._resolve = null;
_this2._promise = null;
if (!_this.ngZone.hasPendingMacrotasks) {
if (_this._promise !== null) {
_this._resolve(true);
_this._resolve = null;
_this._promise = null;
}

@@ -282,100 +186,99 @@ }

});
this._onErrorSubscription = ngZone.onError.subscribe({ next: function next(error) {
throw error;
} });
this._onErrorSubscription =
ngZone.onError.subscribe({ next: function (error) { throw error; } });
}
}
_createClass(ComponentFixture, [{
key: '_tick',
value: function _tick(checkNoChanges) {
this.changeDetectorRef.detectChanges();
if (checkNoChanges) {
this.checkNoChanges();
}
ComponentFixture.prototype._tick = function (checkNoChanges) {
this.changeDetectorRef.detectChanges();
if (checkNoChanges) {
this.checkNoChanges();
}
}, {
key: 'detectChanges',
value: function detectChanges() {
var _this3 = this;
var checkNoChanges = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
if (this.ngZone != null) {
// Run the change detection inside the NgZone so that any async tasks as part of the change
// detection are captured by the zone and can be waited for in isStable.
this.ngZone.run(function () {
_this3._tick(checkNoChanges);
});
} else {
// Running without zone. Just do the change detection.
this._tick(checkNoChanges);
}
};
/**
* Trigger a change detection cycle for the component.
*/
ComponentFixture.prototype.detectChanges = function (checkNoChanges) {
var _this = this;
if (checkNoChanges === void 0) { checkNoChanges = true; }
if (this.ngZone != null) {
// Run the change detection inside the NgZone so that any async tasks as part of the change
// detection are captured by the zone and can be waited for in isStable.
this.ngZone.run(function () { _this._tick(checkNoChanges); });
}
}, {
key: 'checkNoChanges',
value: function checkNoChanges() {
this.changeDetectorRef.checkNoChanges();
else {
// Running without zone. Just do the change detection.
this._tick(checkNoChanges);
}
}, {
key: 'autoDetectChanges',
value: function autoDetectChanges() {
var autoDetect = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
if (this.ngZone == null) {
throw new Error('Cannot call autoDetectChanges when ComponentFixtureNoNgZone is set');
}
this._autoDetect = autoDetect;
this.detectChanges();
};
/**
* Do a change detection run to make sure there were no changes.
*/
ComponentFixture.prototype.checkNoChanges = function () { this.changeDetectorRef.checkNoChanges(); };
/**
* Set whether the fixture should autodetect changes.
*
* Also runs detectChanges once so that any existing change is detected.
*/
ComponentFixture.prototype.autoDetectChanges = function (autoDetect) {
if (autoDetect === void 0) { autoDetect = true; }
if (this.ngZone == null) {
throw new Error('Cannot call autoDetectChanges when ComponentFixtureNoNgZone is set');
}
}, {
key: 'isStable',
value: function isStable() {
return this._isStable && !this.ngZone.hasPendingMacrotasks;
this._autoDetect = autoDetect;
this.detectChanges();
};
/**
* Return whether the fixture is currently stable or has async tasks that have not been completed
* yet.
*/
ComponentFixture.prototype.isStable = function () { return this._isStable && !this.ngZone.hasPendingMacrotasks; };
/**
* Get a promise that resolves when the fixture is stable.
*
* This can be used to resume testing after events have triggered asynchronous activity or
* asynchronous change detection.
*/
ComponentFixture.prototype.whenStable = function () {
var _this = this;
if (this.isStable()) {
return Promise.resolve(false);
}
}, {
key: 'whenStable',
value: function whenStable() {
var _this4 = this;
if (this.isStable()) {
return Promise.resolve(false);
} else if (this._promise !== null) {
return this._promise;
} else {
this._promise = new Promise(function (res) {
_this4._resolve = res;
});
return this._promise;
}
else if (this._promise !== null) {
return this._promise;
}
}, {
key: 'destroy',
value: function destroy() {
if (!this._isDestroyed) {
this.componentRef.destroy();
if (this._onUnstableSubscription != null) {
this._onUnstableSubscription.unsubscribe();
this._onUnstableSubscription = null;
}
if (this._onStableSubscription != null) {
this._onStableSubscription.unsubscribe();
this._onStableSubscription = null;
}
if (this._onMicrotaskEmptySubscription != null) {
this._onMicrotaskEmptySubscription.unsubscribe();
this._onMicrotaskEmptySubscription = null;
}
if (this._onErrorSubscription != null) {
this._onErrorSubscription.unsubscribe();
this._onErrorSubscription = null;
}
this._isDestroyed = true;
else {
this._promise = new Promise(function (res) { _this._resolve = res; });
return this._promise;
}
};
/**
* Trigger component destruction.
*/
ComponentFixture.prototype.destroy = function () {
if (!this._isDestroyed) {
this.componentRef.destroy();
if (this._onUnstableSubscription != null) {
this._onUnstableSubscription.unsubscribe();
this._onUnstableSubscription = null;
}
if (this._onStableSubscription != null) {
this._onStableSubscription.unsubscribe();
this._onStableSubscription = null;
}
if (this._onMicrotaskEmptySubscription != null) {
this._onMicrotaskEmptySubscription.unsubscribe();
this._onMicrotaskEmptySubscription = null;
}
if (this._onErrorSubscription != null) {
this._onErrorSubscription.unsubscribe();
this._onErrorSubscription = null;
}
this._isDestroyed = true;
}
}]);
};
return ComponentFixture;
}();
}());
function scheduleMicroTask(fn) {
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
}
/**

@@ -423,2 +326,6 @@ * @license

return function () {
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var proxyZoneSpec = ProxyZoneSpec.assertPresent();

@@ -440,19 +347,18 @@ if (_inFakeAsyncCall) {

try {
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
res = fn.apply(this, args);
flushMicrotasks();
} finally {
}
finally {
proxyZoneSpec.setDelegate(lastProxyZoneSpec);
}
if (_fakeAsyncTestZoneSpec.pendingPeriodicTimers.length > 0) {
throw new Error(_fakeAsyncTestZoneSpec.pendingPeriodicTimers.length + ' ' + 'periodic timer(s) still in the queue.');
throw new Error(_fakeAsyncTestZoneSpec.pendingPeriodicTimers.length + " " +
"periodic timer(s) still in the queue.");
}
if (_fakeAsyncTestZoneSpec.pendingTimers.length > 0) {
throw new Error(_fakeAsyncTestZoneSpec.pendingTimers.length + ' timer(s) still in the queue.');
throw new Error(_fakeAsyncTestZoneSpec.pendingTimers.length + " timer(s) still in the queue.");
}
return res;
} finally {
}
finally {
_inFakeAsyncCall = false;

@@ -481,5 +387,4 @@ resetFakeAsyncZone();

*/
function tick() {
var millis = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
function tick(millis) {
if (millis === void 0) { millis = 0; }
_getFakeAsyncZoneSpec().tick(millis);

@@ -505,3 +410,2 @@ }

}
/**

@@ -523,35 +427,19 @@ * @license

* found in the LICENSE file at https://angular.io/license
*/
var AsyncTestCompleter = function () {
*/ var AsyncTestCompleter = (function () {
function AsyncTestCompleter() {
var _this5 = this;
_classCallCheck(this, AsyncTestCompleter);
var _this = this;
this._promise = new Promise(function (res, rej) {
_this5._resolve = res;
_this5._reject = rej;
_this._resolve = res;
_this._reject = rej;
});
}
_createClass(AsyncTestCompleter, [{
key: 'done',
value: function done(value) {
this._resolve(value);
}
}, {
key: 'fail',
value: function fail(error, stackTrace) {
this._reject(error);
}
}, {
key: 'promise',
get: function get() {
return this._promise;
}
}]);
AsyncTestCompleter.prototype.done = function (value) { this._resolve(value); };
AsyncTestCompleter.prototype.fail = function (error, stackTrace) { this._reject(error); };
Object.defineProperty(AsyncTestCompleter.prototype, "promise", {
get: function () { return this._promise; },
enumerable: true,
configurable: true
});
return AsyncTestCompleter;
}();
}());
function unimplemented() {

@@ -565,46 +453,36 @@ throw Error('unimplemented');

*/
var TestingCompiler = function (_Compiler) {
_inherits(TestingCompiler, _Compiler);
var TestingCompiler = (function (_super) {
__extends(TestingCompiler, _super);
function TestingCompiler() {
_classCallCheck(this, TestingCompiler);
return _possibleConstructorReturn(this, (TestingCompiler.__proto__ || Object.getPrototypeOf(TestingCompiler)).apply(this, arguments));
return _super !== null && _super.apply(this, arguments) || this;
}
_createClass(TestingCompiler, [{
key: 'overrideModule',
value: function overrideModule(module, overrides) {
throw unimplemented();
}
}, {
key: 'overrideDirective',
value: function overrideDirective(directive, overrides) {
throw unimplemented();
}
}, {
key: 'overrideComponent',
value: function overrideComponent(component, overrides) {
throw unimplemented();
}
}, {
key: 'overridePipe',
value: function overridePipe(directive, overrides) {
throw unimplemented();
}
}, {
key: 'injector',
get: function get() {
throw unimplemented();
}
}]);
Object.defineProperty(TestingCompiler.prototype, "injector", {
get: function () { throw unimplemented(); },
enumerable: true,
configurable: true
});
TestingCompiler.prototype.overrideModule = function (module, overrides) {
throw unimplemented();
};
TestingCompiler.prototype.overrideDirective = function (directive, overrides) {
throw unimplemented();
};
TestingCompiler.prototype.overrideComponent = function (component, overrides) {
throw unimplemented();
};
TestingCompiler.prototype.overridePipe = function (directive, overrides) {
throw unimplemented();
};
return TestingCompiler;
}(_core.Compiler);
var TestingCompilerFactory = function TestingCompilerFactory() {
_classCallCheck(this, TestingCompilerFactory);
};
}(_angular_core.Compiler));
/**
* A factory for creating a Compiler
*
* @experimental
*/
var TestingCompilerFactory = (function () {
function TestingCompilerFactory() {
}
return TestingCompilerFactory;
}());
var UNDEFINED = new Object();

@@ -616,16 +494,8 @@ /**

*/
var TestComponentRenderer = function () {
var TestComponentRenderer = (function () {
function TestComponentRenderer() {
_classCallCheck(this, TestComponentRenderer);
}
_createClass(TestComponentRenderer, [{
key: 'insertRootElement',
value: function insertRootElement(rootElementId) {}
}]);
TestComponentRenderer.prototype.insertRootElement = function (rootElementId) { };
return TestComponentRenderer;
}();
}());
var _nextRootElementId = 0;

@@ -635,7 +505,7 @@ /**

*/
var ComponentFixtureAutoDetect = new _core.InjectionToken('ComponentFixtureAutoDetect');
var ComponentFixtureAutoDetect = new _angular_core.InjectionToken('ComponentFixtureAutoDetect');
/**
* @experimental
*/
var ComponentFixtureNoNgZone = new _core.InjectionToken('ComponentFixtureNoNgZone');
var ComponentFixtureNoNgZone = new _angular_core.InjectionToken('ComponentFixtureNoNgZone');
/**

@@ -650,7 +520,4 @@ * @whatItDoes Configures and initializes environment for unit testing and provides methods for

*/
var TestBed = function () {
var TestBed = (function () {
function TestBed() {
_classCallCheck(this, TestBed);
this._instantiated = false;

@@ -686,307 +553,256 @@ this._compiler = null;

*/
_createClass(TestBed, [{
key: 'initTestEnvironment',
value: function initTestEnvironment(ngModule, platform) {
if (this.platform || this.ngModule) {
throw new Error('Cannot set base providers because it has already been called');
}
this.platform = platform;
this.ngModule = ngModule;
TestBed.initTestEnvironment = function (ngModule, platform) {
var testBed = getTestBed();
testBed.initTestEnvironment(ngModule, platform);
return testBed;
};
/**
* Reset the providers for the test injector.
*
* @experimental
*/
TestBed.resetTestEnvironment = function () { getTestBed().resetTestEnvironment(); };
TestBed.resetTestingModule = function () {
getTestBed().resetTestingModule();
return TestBed;
};
/**
* Allows overriding default compiler providers and settings
* which are defined in test_injector.js
*/
TestBed.configureCompiler = function (config) {
getTestBed().configureCompiler(config);
return TestBed;
};
/**
* Allows overriding default providers, directives, pipes, modules of the test injector,
* which are defined in test_injector.js
*/
TestBed.configureTestingModule = function (moduleDef) {
getTestBed().configureTestingModule(moduleDef);
return TestBed;
};
/**
* Compile components with a `templateUrl` for the test's NgModule.
* It is necessary to call this function
* as fetching urls is asynchronous.
*/
TestBed.compileComponents = function () { return getTestBed().compileComponents(); };
TestBed.overrideModule = function (ngModule, override) {
getTestBed().overrideModule(ngModule, override);
return TestBed;
};
TestBed.overrideComponent = function (component, override) {
getTestBed().overrideComponent(component, override);
return TestBed;
};
TestBed.overrideDirective = function (directive, override) {
getTestBed().overrideDirective(directive, override);
return TestBed;
};
TestBed.overridePipe = function (pipe, override) {
getTestBed().overridePipe(pipe, override);
return TestBed;
};
TestBed.overrideTemplate = function (component, template) {
getTestBed().overrideComponent(component, { set: { template: template, templateUrl: null } });
return TestBed;
};
TestBed.get = function (token, notFoundValue) {
if (notFoundValue === void 0) { notFoundValue = _angular_core.Injector.THROW_IF_NOT_FOUND; }
return getTestBed().get(token, notFoundValue);
};
TestBed.createComponent = function (component) {
return getTestBed().createComponent(component);
};
/**
* Initialize the environment for testing with a compiler factory, a PlatformRef, and an
* angular module. These are common to every test in the suite.
*
* This may only be called once, to set up the common providers for the current test
* suite on the current platform. If you absolutely need to change the providers,
* first use `resetTestEnvironment`.
*
* Test modules and platforms for individual platforms are available from
* '@angular/<platform_name>/testing'.
*
* @experimental
*/
TestBed.prototype.initTestEnvironment = function (ngModule, platform) {
if (this.platform || this.ngModule) {
throw new Error('Cannot set base providers because it has already been called');
}
}, {
key: 'resetTestEnvironment',
value: function resetTestEnvironment() {
this.resetTestingModule();
this.platform = null;
this.ngModule = null;
this.platform = platform;
this.ngModule = ngModule;
};
/**
* Reset the providers for the test injector.
*
* @experimental
*/
TestBed.prototype.resetTestEnvironment = function () {
this.resetTestingModule();
this.platform = null;
this.ngModule = null;
};
TestBed.prototype.resetTestingModule = function () {
this._compiler = null;
this._moduleOverrides = [];
this._componentOverrides = [];
this._directiveOverrides = [];
this._pipeOverrides = [];
this._moduleRef = null;
this._moduleWithComponentFactories = null;
this._compilerOptions = [];
this._providers = [];
this._declarations = [];
this._imports = [];
this._schemas = [];
this._instantiated = false;
this._activeFixtures.forEach(function (fixture) { return fixture.destroy(); });
this._activeFixtures = [];
};
TestBed.prototype.configureCompiler = function (config) {
this._assertNotInstantiated('TestBed.configureCompiler', 'configure the compiler');
this._compilerOptions.push(config);
};
TestBed.prototype.configureTestingModule = function (moduleDef) {
this._assertNotInstantiated('TestBed.configureTestingModule', 'configure the test module');
if (moduleDef.providers) {
(_a = this._providers).push.apply(_a, moduleDef.providers);
}
}, {
key: 'resetTestingModule',
value: function resetTestingModule() {
this._compiler = null;
this._moduleOverrides = [];
this._componentOverrides = [];
this._directiveOverrides = [];
this._pipeOverrides = [];
this._moduleRef = null;
this._moduleWithComponentFactories = null;
this._compilerOptions = [];
this._providers = [];
this._declarations = [];
this._imports = [];
this._schemas = [];
this._instantiated = false;
this._activeFixtures.forEach(function (fixture) {
return fixture.destroy();
});
this._activeFixtures = [];
if (moduleDef.declarations) {
(_b = this._declarations).push.apply(_b, moduleDef.declarations);
}
}, {
key: 'configureCompiler',
value: function configureCompiler(config) {
this._assertNotInstantiated('TestBed.configureCompiler', 'configure the compiler');
this._compilerOptions.push(config);
if (moduleDef.imports) {
(_c = this._imports).push.apply(_c, moduleDef.imports);
}
}, {
key: 'configureTestingModule',
value: function configureTestingModule(moduleDef) {
this._assertNotInstantiated('TestBed.configureTestingModule', 'configure the test module');
if (moduleDef.providers) {
var _providers;
(_providers = this._providers).push.apply(_providers, _toConsumableArray(moduleDef.providers));
}
if (moduleDef.declarations) {
var _declarations;
(_declarations = this._declarations).push.apply(_declarations, _toConsumableArray(moduleDef.declarations));
}
if (moduleDef.imports) {
var _imports;
(_imports = this._imports).push.apply(_imports, _toConsumableArray(moduleDef.imports));
}
if (moduleDef.schemas) {
var _schemas;
(_schemas = this._schemas).push.apply(_schemas, _toConsumableArray(moduleDef.schemas));
}
if (moduleDef.schemas) {
(_d = this._schemas).push.apply(_d, moduleDef.schemas);
}
}, {
key: 'compileComponents',
value: function compileComponents() {
var _this7 = this;
if (this._moduleWithComponentFactories || this._instantiated) {
return Promise.resolve(null);
}
var moduleType = this._createCompilerAndModule();
return this._compiler.compileModuleAndAllComponentsAsync(moduleType).then(function (moduleAndComponentFactories) {
_this7._moduleWithComponentFactories = moduleAndComponentFactories;
});
var _a, _b, _c, _d;
};
TestBed.prototype.compileComponents = function () {
var _this = this;
if (this._moduleWithComponentFactories || this._instantiated) {
return Promise.resolve(null);
}
}, {
key: '_initIfNeeded',
value: function _initIfNeeded() {
if (this._instantiated) {
return;
var moduleType = this._createCompilerAndModule();
return this._compiler.compileModuleAndAllComponentsAsync(moduleType)
.then(function (moduleAndComponentFactories) {
_this._moduleWithComponentFactories = moduleAndComponentFactories;
});
};
TestBed.prototype._initIfNeeded = function () {
if (this._instantiated) {
return;
}
if (!this._moduleWithComponentFactories) {
try {
var moduleType = this._createCompilerAndModule();
this._moduleWithComponentFactories =
this._compiler.compileModuleAndAllComponentsSync(moduleType);
}
if (!this._moduleWithComponentFactories) {
try {
var moduleType = this._createCompilerAndModule();
this._moduleWithComponentFactories = this._compiler.compileModuleAndAllComponentsSync(moduleType);
} catch (e) {
if (getComponentType(e)) {
throw new Error('This test module uses the component ' + stringify(getComponentType(e)) + ' which is using a "templateUrl" or "styleUrls", but they were never compiled. ' + 'Please call "TestBed.compileComponents" before your test.');
} else {
throw e;
}
catch (e) {
if (getComponentType(e)) {
throw new Error("This test module uses the component " + _angular_core.ɵstringify(getComponentType(e)) + " which is using a \"templateUrl\" or \"styleUrls\", but they were never compiled. " +
"Please call \"TestBed.compileComponents\" before your test.");
}
else {
throw e;
}
}
var ngZone = new _core.NgZone({ enableLongStackTrace: true });
var ngZoneInjector = _core.ReflectiveInjector.resolveAndCreate([{ provide: _core.NgZone, useValue: ngZone }], this.platform.injector);
this._moduleRef = this._moduleWithComponentFactories.ngModuleFactory.create(ngZoneInjector);
this._instantiated = true;
}
}, {
key: '_createCompilerAndModule',
value: function _createCompilerAndModule() {
var _this8 = this;
var providers = this._providers.concat([{ provide: TestBed, useValue: this }]);
var declarations = this._declarations;
var imports = [this.ngModule, this._imports];
var schemas = this._schemas;
var DynamicTestModule = function DynamicTestModule() {
_classCallCheck(this, DynamicTestModule);
};
DynamicTestModule.decorators = [{ type: _core.NgModule, args: [{ providers: providers, declarations: declarations, imports: imports, schemas: schemas }] }];
/** @nocollapse */
DynamicTestModule.ctorParameters = function () {
return [];
};
var compilerFactory = this.platform.injector.get(TestingCompilerFactory);
this._compiler = compilerFactory.createTestingCompiler(this._compilerOptions.concat([{ useDebug: true }]));
this._moduleOverrides.forEach(function (entry) {
return _this8._compiler.overrideModule(entry[0], entry[1]);
});
this._componentOverrides.forEach(function (entry) {
return _this8._compiler.overrideComponent(entry[0], entry[1]);
});
this._directiveOverrides.forEach(function (entry) {
return _this8._compiler.overrideDirective(entry[0], entry[1]);
});
this._pipeOverrides.forEach(function (entry) {
return _this8._compiler.overridePipe(entry[0], entry[1]);
});
var ngZone = new _angular_core.NgZone({ enableLongStackTrace: true });
var ngZoneInjector = _angular_core.ReflectiveInjector.resolveAndCreate([{ provide: _angular_core.NgZone, useValue: ngZone }], this.platform.injector);
this._moduleRef = this._moduleWithComponentFactories.ngModuleFactory.create(ngZoneInjector);
this._instantiated = true;
};
TestBed.prototype._createCompilerAndModule = function () {
var _this = this;
var providers = this._providers.concat([{ provide: TestBed, useValue: this }]);
var declarations = this._declarations;
var imports = [this.ngModule, this._imports];
var schemas = this._schemas;
var DynamicTestModule = (function () {
function DynamicTestModule() {
}
return DynamicTestModule;
}());
DynamicTestModule.decorators = [
{ type: _angular_core.NgModule, args: [{ providers: providers, declarations: declarations, imports: imports, schemas: schemas },] },
];
/** @nocollapse */
DynamicTestModule.ctorParameters = function () { return []; };
var compilerFactory = this.platform.injector.get(TestingCompilerFactory);
this._compiler =
compilerFactory.createTestingCompiler(this._compilerOptions.concat([{ useDebug: true }]));
this._moduleOverrides.forEach(function (entry) { return _this._compiler.overrideModule(entry[0], entry[1]); });
this._componentOverrides.forEach(function (entry) { return _this._compiler.overrideComponent(entry[0], entry[1]); });
this._directiveOverrides.forEach(function (entry) { return _this._compiler.overrideDirective(entry[0], entry[1]); });
this._pipeOverrides.forEach(function (entry) { return _this._compiler.overridePipe(entry[0], entry[1]); });
return DynamicTestModule;
};
TestBed.prototype._assertNotInstantiated = function (methodName, methodDescription) {
if (this._instantiated) {
throw new Error("Cannot " + methodDescription + " when the test module has already been instantiated. " +
("Make sure you are not using `inject` before `" + methodName + "`."));
}
}, {
key: '_assertNotInstantiated',
value: function _assertNotInstantiated(methodName, methodDescription) {
if (this._instantiated) {
throw new Error('Cannot ' + methodDescription + ' when the test module has already been instantiated. ' + ('Make sure you are not using `inject` before `' + methodName + '`.'));
}
};
TestBed.prototype.get = function (token, notFoundValue) {
if (notFoundValue === void 0) { notFoundValue = _angular_core.Injector.THROW_IF_NOT_FOUND; }
this._initIfNeeded();
if (token === TestBed) {
return this;
}
}, {
key: 'get',
value: function get(token) {
var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _core.Injector.THROW_IF_NOT_FOUND;
this._initIfNeeded();
if (token === TestBed) {
return this;
}
// Tests can inject things from the ng module and from the compiler,
// but the ng module can't inject things from the compiler and vice versa.
var result = this._moduleRef.injector.get(token, UNDEFINED);
return result === UNDEFINED ? this._compiler.injector.get(token, notFoundValue) : result;
// Tests can inject things from the ng module and from the compiler,
// but the ng module can't inject things from the compiler and vice versa.
var result = this._moduleRef.injector.get(token, UNDEFINED);
return result === UNDEFINED ? this._compiler.injector.get(token, notFoundValue) : result;
};
TestBed.prototype.execute = function (tokens, fn, context) {
var _this = this;
this._initIfNeeded();
var params = tokens.map(function (t) { return _this.get(t); });
return fn.apply(context, params);
};
TestBed.prototype.overrideModule = function (ngModule, override) {
this._assertNotInstantiated('overrideModule', 'override module metadata');
this._moduleOverrides.push([ngModule, override]);
};
TestBed.prototype.overrideComponent = function (component, override) {
this._assertNotInstantiated('overrideComponent', 'override component metadata');
this._componentOverrides.push([component, override]);
};
TestBed.prototype.overrideDirective = function (directive, override) {
this._assertNotInstantiated('overrideDirective', 'override directive metadata');
this._directiveOverrides.push([directive, override]);
};
TestBed.prototype.overridePipe = function (pipe, override) {
this._assertNotInstantiated('overridePipe', 'override pipe metadata');
this._pipeOverrides.push([pipe, override]);
};
TestBed.prototype.createComponent = function (component) {
var _this = this;
this._initIfNeeded();
var componentFactory = this._moduleWithComponentFactories.componentFactories.find(function (compFactory) { return compFactory.componentType === component; });
if (!componentFactory) {
throw new Error("Cannot create the component " + _angular_core.ɵstringify(component) + " as it was not imported into the testing module!");
}
}, {
key: 'execute',
value: function execute(tokens, fn, context) {
var _this9 = this;
this._initIfNeeded();
var params = tokens.map(function (t) {
return _this9.get(t);
});
return fn.apply(context, params);
}
}, {
key: 'overrideModule',
value: function overrideModule(ngModule, override) {
this._assertNotInstantiated('overrideModule', 'override module metadata');
this._moduleOverrides.push([ngModule, override]);
}
}, {
key: 'overrideComponent',
value: function overrideComponent(component, override) {
this._assertNotInstantiated('overrideComponent', 'override component metadata');
this._componentOverrides.push([component, override]);
}
}, {
key: 'overrideDirective',
value: function overrideDirective(directive, override) {
this._assertNotInstantiated('overrideDirective', 'override directive metadata');
this._directiveOverrides.push([directive, override]);
}
}, {
key: 'overridePipe',
value: function overridePipe(pipe, override) {
this._assertNotInstantiated('overridePipe', 'override pipe metadata');
this._pipeOverrides.push([pipe, override]);
}
}, {
key: 'createComponent',
value: function createComponent(component) {
var _this10 = this;
this._initIfNeeded();
var componentFactory = this._moduleWithComponentFactories.componentFactories.find(function (compFactory) {
return compFactory.componentType === component;
});
if (!componentFactory) {
throw new Error('Cannot create the component ' + stringify(component) + ' as it was not imported into the testing module!');
}
var noNgZone = this.get(ComponentFixtureNoNgZone, false);
var autoDetect = this.get(ComponentFixtureAutoDetect, false);
var ngZone = noNgZone ? null : this.get(_core.NgZone, null);
var testComponentRenderer = this.get(TestComponentRenderer);
var rootElId = 'root' + _nextRootElementId++;
testComponentRenderer.insertRootElement(rootElId);
var initComponent = function initComponent() {
var componentRef = componentFactory.create(_this10, [], '#' + rootElId);
return new ComponentFixture(componentRef, ngZone, autoDetect);
};
var fixture = !ngZone ? initComponent() : ngZone.run(initComponent);
this._activeFixtures.push(fixture);
return fixture;
}
}], [{
key: 'initTestEnvironment',
value: function initTestEnvironment(ngModule, platform) {
var testBed = getTestBed();
testBed.initTestEnvironment(ngModule, platform);
return testBed;
}
}, {
key: 'resetTestEnvironment',
value: function resetTestEnvironment() {
getTestBed().resetTestEnvironment();
}
}, {
key: 'resetTestingModule',
value: function resetTestingModule() {
getTestBed().resetTestingModule();
return TestBed;
}
}, {
key: 'configureCompiler',
value: function configureCompiler(config) {
getTestBed().configureCompiler(config);
return TestBed;
}
}, {
key: 'configureTestingModule',
value: function configureTestingModule(moduleDef) {
getTestBed().configureTestingModule(moduleDef);
return TestBed;
}
}, {
key: 'compileComponents',
value: function compileComponents() {
return getTestBed().compileComponents();
}
}, {
key: 'overrideModule',
value: function overrideModule(ngModule, override) {
getTestBed().overrideModule(ngModule, override);
return TestBed;
}
}, {
key: 'overrideComponent',
value: function overrideComponent(component, override) {
getTestBed().overrideComponent(component, override);
return TestBed;
}
}, {
key: 'overrideDirective',
value: function overrideDirective(directive, override) {
getTestBed().overrideDirective(directive, override);
return TestBed;
}
}, {
key: 'overridePipe',
value: function overridePipe(pipe, override) {
getTestBed().overridePipe(pipe, override);
return TestBed;
}
}, {
key: 'overrideTemplate',
value: function overrideTemplate(component, template) {
getTestBed().overrideComponent(component, { set: { template: template, templateUrl: null } });
return TestBed;
}
}, {
key: 'get',
value: function get(token) {
var notFoundValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _core.Injector.THROW_IF_NOT_FOUND;
return getTestBed().get(token, notFoundValue);
}
}, {
key: 'createComponent',
value: function createComponent(component) {
return getTestBed().createComponent(component);
}
}]);
var noNgZone = this.get(ComponentFixtureNoNgZone, false);
var autoDetect = this.get(ComponentFixtureAutoDetect, false);
var ngZone = noNgZone ? null : this.get(_angular_core.NgZone, null);
var testComponentRenderer = this.get(TestComponentRenderer);
var rootElId = "root" + _nextRootElementId++;
testComponentRenderer.insertRootElement(rootElId);
var initComponent = function () {
var componentRef = componentFactory.create(_this, [], "#" + rootElId);
return new ComponentFixture(componentRef, ngZone, autoDetect);
};
var fixture = !ngZone ? initComponent() : ngZone.run(initComponent);
this._activeFixtures.push(fixture);
return fixture;
};
return TestBed;
}();
}());
var _testBed = null;

@@ -1023,3 +839,3 @@ /**

*/
function _inject(tokens, fn) {
function inject(tokens, fn) {
var testBed = getTestBed();

@@ -1029,4 +845,3 @@ if (tokens.indexOf(AsyncTestCompleter) >= 0) {

return function () {
var _this11 = this;
var _this = this;
// Return an async test method that returns a Promise if AsyncTestCompleter is one of

@@ -1036,11 +851,10 @@ // the injected tokens.

var completer = testBed.get(AsyncTestCompleter);
testBed.execute(tokens, fn, _this11);
testBed.execute(tokens, fn, _this);
return completer.promise;
});
};
} else {
}
else {
// Not using an arrow function to preserve context passed from call site
return function () {
return testBed.execute(tokens, fn, this);
};
return function () { return testBed.execute(tokens, fn, this); };
}

@@ -1051,36 +865,24 @@ }

*/
var InjectSetupWrapper = function () {
var InjectSetupWrapper = (function () {
function InjectSetupWrapper(_moduleDef) {
_classCallCheck(this, InjectSetupWrapper);
this._moduleDef = _moduleDef;
}
_createClass(InjectSetupWrapper, [{
key: '_addModule',
value: function _addModule() {
var moduleDef = this._moduleDef();
if (moduleDef) {
getTestBed().configureTestingModule(moduleDef);
}
InjectSetupWrapper.prototype._addModule = function () {
var moduleDef = this._moduleDef();
if (moduleDef) {
getTestBed().configureTestingModule(moduleDef);
}
}, {
key: 'inject',
value: function inject(tokens, fn) {
var self = this;
// Not using an arrow function to preserve context passed from call site
return function () {
self._addModule();
return _inject(tokens, fn).call(this);
};
}
}]);
};
InjectSetupWrapper.prototype.inject = function (tokens, fn) {
var self = this;
// Not using an arrow function to preserve context passed from call site
return function () {
self._addModule();
return inject(tokens, fn).call(this);
};
};
return InjectSetupWrapper;
}();
function withModule(moduleDef) {
var fn = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
}());
function withModule(moduleDef, fn) {
if (fn === void 0) { fn = null; }
if (fn) {

@@ -1096,14 +898,11 @@ // Not using an arrow function to preserve context passed from call site

}
return new InjectSetupWrapper(function () {
return moduleDef;
});
return new InjectSetupWrapper(function () { return moduleDef; });
}
function getComponentType(error) {
return error[_core.ɵERROR_COMPONENT_TYPE];
return error[_angular_core.ɵERROR_COMPONENT_TYPE];
}
var _global$2 = typeof window === 'undefined' ? global : window;
var _global$1 = (typeof window === 'undefined' ? global : window);
// Reset the test providers and the fake async zone before each test.
if (_global$2.beforeEach) {
_global$2.beforeEach(function () {
if (_global$1.beforeEach) {
_global$1.beforeEach(function () {
TestBed.resetTestingModule();

@@ -1129,3 +928,3 @@ resetFakeAsyncZone();

exports.getTestBed = getTestBed;
exports.inject = _inject;
exports.inject = inject;
exports.InjectSetupWrapper = InjectSetupWrapper;

@@ -1136,2 +935,3 @@ exports.withModule = withModule;

exports.ɵTestingCompilerFactory = TestingCompilerFactory;
});
}));
{
"name": "@angular/core",
"version": "4.0.0-rc.2",
"version": "4.0.0-rc.3",
"description": "Angular - the core framework",

@@ -5,0 +5,0 @@ "main": "./bundles/core.umd.js",

@@ -1,1 +0,6 @@

{"typings": "../typings/testing/index.d.ts", "main": "../bundles/core-testing.umd.js", "module": "../@angular/core/testing.es5.js", "es2015": "../@angular/core/testing.js"}
{
"typings": "../typings/testing/index.d.ts",
"main": "../bundles/core-testing.umd.js",
"module": "../@angular/core/testing.es5.js",
"es2015": "../@angular/core/testing.js"
}

@@ -5,16 +5,15 @@ /**

export * from './public_api';
export { AnimationMetadataType as ɵy, animate as ɵba, group as ɵbb, keyframes as ɵbf, sequence as ɵbc, state as ɵbe, style as ɵbd, transition as ɵbg, trigger as ɵz } from './src/animation/dsl';
export { _initViewEngine as ɵp, _iterableDiffersFactory as ɵm, _keyValueDiffersFactory as ɵn, _localeFactory as ɵo } from './src/application_module';
export { AnimationMetadataType as ɵx, animate as ɵz, group as ɵba, keyframes as ɵbe, sequence as ɵbb, state as ɵbd, style as ɵbc, transition as ɵbf, trigger as ɵy } from './src/animation/dsl';
export { _initViewEngine as ɵo, _iterableDiffersFactory as ɵl, _keyValueDiffersFactory as ɵm, _localeFactory as ɵn } from './src/application_module';
export { ApplicationRef_ as ɵf } from './src/application_ref';
export { _appIdRandomProviderFactory as ɵg } from './src/application_tokens';
export { defaultIterableDiffers as ɵh, defaultKeyValueDiffers as ɵi } from './src/change_detection/change_detection';
export { DefaultIterableDifferFactory as ɵk } from './src/change_detection/differs/default_iterable_differ';
export { DefaultKeyValueDifferFactory as ɵl } from './src/change_detection/differs/default_keyvalue_differ';
export { DefaultIterableDifferFactory as ɵj } from './src/change_detection/differs/default_iterable_differ';
export { DefaultKeyValueDifferFactory as ɵk } from './src/change_detection/differs/default_keyvalue_differ';
export { ReflectiveInjector_ as ɵc } from './src/di/reflective_injector';
export { ReflectiveDependency as ɵd, resolveReflectiveProviders as ɵe } from './src/di/reflective_provider';
export { isBlank as ɵj } from './src/facade/lang';
export { wtfEnabled as ɵq } from './src/profile/profile';
export { createScope as ɵs, detectWTF as ɵr, endTimeRange as ɵv, leave as ɵt, startTimeRange as ɵu } from './src/profile/wtf_impl';
export { PlatformReflectionCapabilities as ɵw } from './src/reflection/platform_reflection_capabilities';
export { wtfEnabled as ɵp } from './src/profile/profile';
export { createScope as ɵr, detectWTF as ɵq, endTimeRange as ɵu, leave as ɵs, startTimeRange as ɵt } from './src/profile/wtf_impl';
export { PlatformReflectionCapabilities as ɵv } from './src/reflection/platform_reflection_capabilities';
export { makeParamDecorator as ɵa, makePropDecorator as ɵb } from './src/util/decorators';
export { _def as ɵx } from './src/view/provider';
export { _def as ɵw } from './src/view/provider';

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":3,"metadata":{"ɵa":{"__symbolic":"function"},"ɵb":{"__symbolic":"function"},"ɵc":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ResolvedReflectiveProvider"}]},{"__symbolic":"reference","name":"Injector"}]}],"get":[{"__symbolic":"method"}],"resolveAndCreateChild":[{"__symbolic":"method"}],"createChildFromResolved":[{"__symbolic":"method"}],"resolveAndInstantiate":[{"__symbolic":"method"}],"instantiateResolved":[{"__symbolic":"method"}],"getProviderAtIndex":[{"__symbolic":"method"}],"_new":[{"__symbolic":"method"}],"_getMaxNumberOfObjects":[{"__symbolic":"method"}],"_instantiateProvider":[{"__symbolic":"method"}],"_instantiate":[{"__symbolic":"method"}],"_getByReflectiveDependency":[{"__symbolic":"method"}],"_getByKey":[{"__symbolic":"method"}],"_getObjByKeyId":[{"__symbolic":"method"}],"_throwOrNull":[{"__symbolic":"method"}],"_getByKeySelf":[{"__symbolic":"method"}],"_getByKeyDefault":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ReflectiveKey"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"error","message":"Expression form not supported","line":28,"character":78,"module":"./src/di/reflective_provider"}]}]},"statics":{"fromKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵd"},"arguments":[{"__symbolic":"reference","name":"key"},false,null]}}}},"ɵe":{"__symbolic":"function"},"ɵf":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ApplicationRef"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgZone"},{"__symbolic":"reference","name":"ɵConsole"},{"__symbolic":"reference","name":"Injector"},{"__symbolic":"reference","name":"ErrorHandler"},{"__symbolic":"reference","name":"ComponentFactoryResolver"},{"__symbolic":"reference","name":"ApplicationInitStatus"}]}],"attachView":[{"__symbolic":"method"}],"detachView":[{"__symbolic":"method"}],"bootstrap":[{"__symbolic":"method"}],"_loadComponent":[{"__symbolic":"method"}],"_unloadComponent":[{"__symbolic":"method"}],"tick":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_tickScope":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./profile/profile","name":"wtfCreateScope"},"arguments":["ApplicationRef#tick()"]}}},"ɵg":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":25,"character":9,"module":"./src/application_tokens"}},"ɵh":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"IterableDiffers"},"arguments":[[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵk"}}]]},"ɵi":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"KeyValueDiffers"},"arguments":[[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵl"}}]]},"ɵj":{"__symbolic":"function","parameters":["obj"],"value":{"__symbolic":"binop","operator":"==","left":{"__symbolic":"reference","name":"obj"},"right":null}},"ɵk":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"supports":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"},{"__symbolic":"method"}]}},"ɵl":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor"}],"supports":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"},{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"reference","name":"ɵh"}},"ɵn":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"reference","name":"ɵi"}},"ɵo":{"__symbolic":"function","parameters":["locale"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"locale"},"right":"en-US"}},"ɵp":{"__symbolic":"function"},"ɵq":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵr"}},"ɵr":{"__symbolic":"function"},"ɵs":{"__symbolic":"function","parameters":["signature","flags"],"defaults":[null,null],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":37,"character":4,"context":{"name":"events"},"module":"./src/profile/wtf_impl"}},"ɵt":{"__symbolic":"function"},"ɵu":{"__symbolic":"function","parameters":["rangeType","action"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":36,"character":4,"context":{"name":"trace"},"module":"./src/profile/wtf_impl"}},"ɵv":{"__symbolic":"function"},"ɵx":{"__symbolic":"function"},"ANALYZE_FOR_ENTRY_COMPONENTS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["AnalyzeForEntryComponents"]},"Attribute":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Attribute",[["attributeName",{"__symbolic":"reference","name":"undefined"}]]]},"ContentChild":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ContentChild",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":true,"isViewQuery":false,"descendants":true,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"ContentChildren":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ContentChildren",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":false,"isViewQuery":false,"descendants":false,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"Query":{"__symbolic":"class","members":{}},"ViewChild":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ViewChild",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":true,"isViewQuery":true,"descendants":true,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"ViewChildren":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ViewChildren",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":false,"isViewQuery":true,"descendants":true,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"Component":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Component",{"selector":{"__symbolic":"reference","name":"undefined"},"inputs":{"__symbolic":"reference","name":"undefined"},"outputs":{"__symbolic":"reference","name":"undefined"},"host":{"__symbolic":"reference","name":"undefined"},"exportAs":{"__symbolic":"reference","name":"undefined"},"moduleId":{"__symbolic":"reference","name":"undefined"},"providers":{"__symbolic":"reference","name":"undefined"},"viewProviders":{"__symbolic":"reference","name":"undefined"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Default"},"queries":{"__symbolic":"reference","name":"undefined"},"templateUrl":{"__symbolic":"reference","name":"undefined"},"template":{"__symbolic":"reference","name":"undefined"},"styleUrls":{"__symbolic":"reference","name":"undefined"},"styles":{"__symbolic":"reference","name":"undefined"},"animations":{"__symbolic":"reference","name":"undefined"},"encapsulation":{"__symbolic":"reference","name":"undefined"},"interpolation":{"__symbolic":"reference","name":"undefined"},"entryComponents":{"__symbolic":"reference","name":"undefined"}},{"__symbolic":"reference","name":"Directive"}]},"Directive":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Directive",{"selector":{"__symbolic":"reference","name":"undefined"},"inputs":{"__symbolic":"reference","name":"undefined"},"outputs":{"__symbolic":"reference","name":"undefined"},"host":{"__symbolic":"reference","name":"undefined"},"providers":{"__symbolic":"reference","name":"undefined"},"exportAs":{"__symbolic":"reference","name":"undefined"},"queries":{"__symbolic":"reference","name":"undefined"}}]},"HostBinding":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["HostBinding",[["hostPropertyName",{"__symbolic":"reference","name":"undefined"}]]]},"HostListener":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["HostListener",[["eventName",{"__symbolic":"reference","name":"undefined"}],["args",[]]]]},"Input":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["Input",[["bindingPropertyName",{"__symbolic":"reference","name":"undefined"}]]]},"Output":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["Output",[["bindingPropertyName",{"__symbolic":"reference","name":"undefined"}]]]},"Pipe":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Pipe",{"name":{"__symbolic":"reference","name":"undefined"},"pure":true}]},"CUSTOM_ELEMENTS_SCHEMA":{"name":"custom-elements"},"NO_ERRORS_SCHEMA":{"name":"no-errors-schema"},"NgModule":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["NgModule",{"providers":{"__symbolic":"reference","name":"undefined"},"declarations":{"__symbolic":"reference","name":"undefined"},"imports":{"__symbolic":"reference","name":"undefined"},"exports":{"__symbolic":"reference","name":"undefined"},"entryComponents":{"__symbolic":"reference","name":"undefined"},"bootstrap":{"__symbolic":"reference","name":"undefined"},"schemas":{"__symbolic":"reference","name":"undefined"},"id":{"__symbolic":"reference","name":"undefined"}}]},"ViewEncapsulation":{"Emulated":0,"Native":1,"None":2},"Version":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Version"},"arguments":["4.0.0-rc.2"]},"Class":{"__symbolic":"function"},"Inject":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Inject",[["token",{"__symbolic":"reference","name":"undefined"}]]]},"Optional":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Optional",[]]},"Injectable":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Injectable",[]]},"Self":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Self",[]]},"SkipSelf":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["SkipSelf",[]]},"Host":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Host",[]]},"forwardRef":{"__symbolic":"function"},"resolveForwardRef":{"__symbolic":"function"},"Injector":{"__symbolic":"class","members":{"get":[{"__symbolic":"method"},{"__symbolic":"method"}]},"statics":{"THROW_IF_NOT_FOUND":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Object"}},"NULL":{"__symbolic":"error","message":"Reference to non-exported class","line":16,"character":0,"context":{"className":"_NullInjector"}}}},"ReflectiveInjector":{"__symbolic":"class","members":{"resolveAndCreateChild":[{"__symbolic":"method"}],"createChildFromResolved":[{"__symbolic":"method"}],"resolveAndInstantiate":[{"__symbolic":"method"}],"instantiateResolved":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}]},"statics":{"resolve":{"__symbolic":"function","parameters":["providers"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵe"},"arguments":[{"__symbolic":"reference","name":"providers"}]}},"fromResolvedProviders":{"__symbolic":"function","parameters":["providers","parent"],"defaults":[null,null],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵc"},"arguments":[{"__symbolic":"reference","name":"providers"},{"__symbolic":"reference","name":"parent"}]}}}},"ResolvedReflectiveFactory":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Function"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵd"}]}]}]}},"ReflectiveKey":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Object"},{"__symbolic":"reference","name":"number"}]}]},"statics":{"get":{"__symbolic":"function","parameters":["token"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"_globalKeyRegistry"},"member":"get"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"resolveForwardRef"},"arguments":[{"__symbolic":"reference","name":"token"}]}]}},"numberOfKeys":{"__symbolic":"error","message":"Variable not initialized","line":54,"character":13}}},"InjectionToken":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"OpaqueToken"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"toString":[{"__symbolic":"method"}]}},"OpaqueToken":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"toString":[{"__symbolic":"method"}]}},"createPlatform":{"__symbolic":"function"},"assertPlatform":{"__symbolic":"function"},"destroyPlatform":{"__symbolic":"function"},"getPlatform":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"error","message":"Reference to a local symbol","line":36,"character":4,"context":{"name":"_platform"},"module":"./src/application_ref"},"right":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"error","message":"Reference to a local symbol","line":36,"character":4,"context":{"name":"_platform"},"module":"./src/application_ref"}}},"thenExpression":{"__symbolic":"error","message":"Reference to a local symbol","line":36,"character":4,"context":{"name":"_platform"},"module":"./src/application_ref"},"elseExpression":null}},"PlatformRef":{"__symbolic":"class","members":{"bootstrapModuleFactory":[{"__symbolic":"method"}],"bootstrapModule":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"ApplicationRef":{"__symbolic":"class","members":{"bootstrap":[{"__symbolic":"method"}],"tick":[{"__symbolic":"method"}],"attachView":[{"__symbolic":"method"}],"detachView":[{"__symbolic":"method"}]}},"enableProdMode":{"__symbolic":"function"},"isDevMode":{"__symbolic":"function"},"createPlatformFactory":{"__symbolic":"function"},"NgProbeToken":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"APP_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["AppId"]},"PACKAGE_ROOT_URL":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Application Packages Root URL"]},"PLATFORM_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Platform Initializer"]},"PLATFORM_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Platform ID"]},"APP_BOOTSTRAP_LISTENER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["appBootstrapListener"]},"APP_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Application Initializer"]},"ApplicationInitStatus":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_INITIALIZER"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Optional"}}]],"parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":29,"character":61,"module":"./src/application_init"}]}]}]}},"NgZone":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null]}],"run":[{"__symbolic":"method"}],"runGuarded":[{"__symbolic":"method"}],"runOutsideAngular":[{"__symbolic":"method"}],"checkStable":[{"__symbolic":"method"}],"forkInnerZoneWithAngularBehavior":[{"__symbolic":"method"}],"onEnter":[{"__symbolic":"method"}],"onLeave":[{"__symbolic":"method"}],"setHasMicrotask":[{"__symbolic":"method"}],"setHasMacrotask":[{"__symbolic":"method"}],"triggerError":[{"__symbolic":"method"}]},"statics":{"isInAngularZone":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Zone"},"member":"current"},"member":"get"},"arguments":["isAngularZone"]},"right":true}}}},"RenderComponentType":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"ViewEncapsulation"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":17,"character":68,"module":"./src/render/api"}]},{"__symbolic":"reference","name":"any"}]}]}},"Renderer":{"__symbolic":"class","members":{"selectRootElement":[{"__symbolic":"method"}],"createElement":[{"__symbolic":"method"}],"createViewRoot":[{"__symbolic":"method"}],"createTemplateAnchor":[{"__symbolic":"method"}],"createText":[{"__symbolic":"method"}],"projectNodes":[{"__symbolic":"method"}],"attachViewAfter":[{"__symbolic":"method"}],"detachView":[{"__symbolic":"method"}],"destroyView":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}],"listenGlobal":[{"__symbolic":"method"}],"setElementProperty":[{"__symbolic":"method"}],"setElementAttribute":[{"__symbolic":"method"}],"setBindingDebugInfo":[{"__symbolic":"method"}],"setElementClass":[{"__symbolic":"method"}],"setElementStyle":[{"__symbolic":"method"}],"invokeElementMethod":[{"__symbolic":"method"}],"setText":[{"__symbolic":"method"}],"animate":[{"__symbolic":"method"}]}},"RendererFactoryV2":{"__symbolic":"class","members":{"createRenderer":[{"__symbolic":"method"}]}},"RendererV2":{"__symbolic":"class","members":{"destroy":[{"__symbolic":"method"}],"createElement":[{"__symbolic":"method"}],"createComment":[{"__symbolic":"method"}],"createText":[{"__symbolic":"method"}],"appendChild":[{"__symbolic":"method"}],"insertBefore":[{"__symbolic":"method"}],"removeChild":[{"__symbolic":"method"}],"selectRootElement":[{"__symbolic":"method"}],"parentNode":[{"__symbolic":"method"}],"nextSibling":[{"__symbolic":"method"}],"setAttribute":[{"__symbolic":"method"}],"removeAttribute":[{"__symbolic":"method"}],"addClass":[{"__symbolic":"method"}],"removeClass":[{"__symbolic":"method"}],"setStyle":[{"__symbolic":"method"}],"removeStyle":[{"__symbolic":"method"}],"setProperty":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}]}},"RootRenderer":{"__symbolic":"class","members":{"renderComponent":[{"__symbolic":"method"}]}},"COMPILER_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["compilerOptions"]},"Compiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}]}},"CompilerFactory":{"__symbolic":"class","members":{"createCompiler":[{"__symbolic":"method"}]}},"ModuleWithComponentFactories":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgModuleFactory"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]}]}]}},"ComponentFactory":{"__symbolic":"class","arity":1,"members":{"create":[{"__symbolic":"method"}]}},"ComponentRef":{"__symbolic":"class","arity":1,"members":{"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}]}},"ComponentFactoryResolver":{"__symbolic":"class","members":{"resolveComponentFactory":[{"__symbolic":"method"}]},"statics":{"NULL":{"__symbolic":"error","message":"Reference to non-exported class","line":29,"character":0,"context":{"className":"_NullComponentFactoryResolver"}}}},"ElementRef":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"NgModuleFactory":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":57,"character":30,"module":"./src/linker/ng_module_factory"},{"__symbolic":"reference","name":"Type"}]}],"create":[{"__symbolic":"method"}]}},"NgModuleRef":{"__symbolic":"class","arity":1,"members":{"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}]}},"NgModuleFactoryLoader":{"__symbolic":"class","members":{"load":[{"__symbolic":"method"}]}},"getModuleFactory":{"__symbolic":"function"},"QueryList":{"__symbolic":"class","arity":1,"members":{"map":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"find":[{"__symbolic":"method"}],"reduce":[{"__symbolic":"method"}],"forEach":[{"__symbolic":"method"}],"some":[{"__symbolic":"method"}],"toArray":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"notifyOnChanges":[{"__symbolic":"method"}],"setDirty":[{"__symbolic":"method"}]}},"SystemJsNgModuleLoader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Optional"}}]],"parameters":[{"__symbolic":"reference","name":"Compiler"},{"__symbolic":"reference","name":"SystemJsNgModuleLoaderConfig"}]}],"load":[{"__symbolic":"method"}],"loadAndCompile":[{"__symbolic":"method"}],"loadFactory":[{"__symbolic":"method"}]}},"SystemJsNgModuleLoaderConfig":{"__symbolic":"class","members":{}},"TemplateRef":{"__symbolic":"class","arity":1,"members":{"createEmbeddedView":[{"__symbolic":"method"}]}},"ViewContainerRef":{"__symbolic":"class","members":{"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"createEmbeddedView":[{"__symbolic":"method"}],"createComponent":[{"__symbolic":"method"}],"insert":[{"__symbolic":"method"}],"move":[{"__symbolic":"method"}],"indexOf":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}]}},"EmbeddedViewRef":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ViewRef"},"members":{}},"ViewRef":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ChangeDetectorRef"},"members":{"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}]}},"DebugElement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"DebugNode"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"ɵRenderDebugInfo"}]}],"addChild":[{"__symbolic":"method"}],"removeChild":[{"__symbolic":"method"}],"insertChildrenAfter":[{"__symbolic":"method"}],"insertBefore":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}],"queryAll":[{"__symbolic":"method"}],"queryAllNodes":[{"__symbolic":"method"}],"triggerEventHandler":[{"__symbolic":"method"}]}},"DebugNode":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"DebugNode"},{"__symbolic":"reference","name":"ɵRenderDebugInfo"}]}]}},"asNativeElements":{"__symbolic":"function","parameters":["debugEls"],"value":{"__symbolic":"error","message":"Function call not supported","line":144,"character":22,"module":"./src/debug/debug_node"}},"getDebugNode":{"__symbolic":"function","parameters":["nativeNode"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Map"}},"member":"get"},"arguments":[{"__symbolic":"reference","name":"nativeNode"}]}},"Testability":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgZone"}]}],"_watchAngularEvents":[{"__symbolic":"method"}],"increasePendingRequestCount":[{"__symbolic":"method"}],"decreasePendingRequestCount":[{"__symbolic":"method"}],"isStable":[{"__symbolic":"method"}],"_runCallbacksIfReady":[{"__symbolic":"method"}],"whenStable":[{"__symbolic":"method"}],"getPendingRequestCount":[{"__symbolic":"method"}],"findBindings":[{"__symbolic":"method"}],"findProviders":[{"__symbolic":"method"}]}},"TestabilityRegistry":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"registerApplication":[{"__symbolic":"method"}],"getTestability":[{"__symbolic":"method"}],"getAllTestabilities":[{"__symbolic":"method"}],"getAllRootElements":[{"__symbolic":"method"}],"findTestabilityInTree":[{"__symbolic":"method"}]}},"setTestabilityGetter":{"__symbolic":"function"},"ChangeDetectionStrategy":{"OnPush":0,"Default":1},"ChangeDetectorRef":{"__symbolic":"class","members":{"markForCheck":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"checkNoChanges":[{"__symbolic":"method"}],"reattach":[{"__symbolic":"method"}]}},"DefaultIterableDiffer":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TrackByFunction"}]}],"forEachItem":[{"__symbolic":"method"}],"forEachOperation":[{"__symbolic":"method"}],"forEachPreviousItem":[{"__symbolic":"method"}],"forEachAddedItem":[{"__symbolic":"method"}],"forEachMovedItem":[{"__symbolic":"method"}],"forEachRemovedItem":[{"__symbolic":"method"}],"forEachIdentityChange":[{"__symbolic":"method"}],"diff":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"check":[{"__symbolic":"method"}],"_reset":[{"__symbolic":"method"}],"_mismatch":[{"__symbolic":"method"}],"_verifyReinsertion":[{"__symbolic":"method"}],"_truncate":[{"__symbolic":"method"}],"_reinsertAfter":[{"__symbolic":"method"}],"_moveAfter":[{"__symbolic":"method"}],"_addAfter":[{"__symbolic":"method"}],"_insertAfter":[{"__symbolic":"method"}],"_remove":[{"__symbolic":"method"}],"_unlink":[{"__symbolic":"method"}],"_addToMoves":[{"__symbolic":"method"}],"_addToRemovals":[{"__symbolic":"method"}],"_addIdentityChange":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"IterableDiffers":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":157,"character":25,"context":{"typeName":"IterableDifferFactory"},"module":"./src/change_detection/differs/iterable_differs"}]}]}],"find":[{"__symbolic":"method"}]},"statics":{"extend":{"__symbolic":"function","parameters":["factories"],"value":{"__symbolic":"error","message":"Function call not supported","line":191,"character":18,"module":"./src/change_detection/differs/iterable_differs"}}}},"KeyValueDiffers":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":129,"character":25,"context":{"typeName":"KeyValueDifferFactory"},"module":"./src/change_detection/differs/keyvalue_differs"}]}]}],"find":[{"__symbolic":"method"}]},"statics":{"extend":{"__symbolic":"function","parameters":["factories"],"value":{"__symbolic":"error","message":"Function call not supported","line":161,"character":18,"module":"./src/change_detection/differs/keyvalue_differs"}}}},"SimpleChange":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"boolean"}]}],"isFirstChange":[{"__symbolic":"method"}]}},"WrappedValue":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]},"statics":{"wrap":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"WrappedValue"},"arguments":[{"__symbolic":"reference","name":"value"}]}}}},"platformCore":{"__symbolic":"error","message":"Reference to a local symbol","line":20,"character":6,"context":{"name":"_CORE_PLATFORM_PROVIDERS"},"module":"./src/platform_core_providers"},"TRANSLATIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Translations"]},"TRANSLATIONS_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["TranslationsFormat"]},"LOCALE_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["LocaleId"]},"MissingTranslationStrategy":{"Error":0,"Warning":1,"Ignore":2},"ApplicationModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","name":"ɵf"},{"provide":{"__symbolic":"reference","name":"ApplicationRef"},"useExisting":{"__symbolic":"reference","name":"ɵf"}},{"__symbolic":"reference","name":"ApplicationInitStatus"},{"__symbolic":"reference","name":"Compiler"},{"__symbolic":"reference","name":"ɵAPP_ID_RANDOM_PROVIDER"},{"provide":{"__symbolic":"reference","name":"IterableDiffers"},"useFactory":{"__symbolic":"reference","name":"ɵm"}},{"provide":{"__symbolic":"reference","name":"KeyValueDiffers"},"useFactory":{"__symbolic":"reference","name":"ɵn"}},{"provide":{"__symbolic":"reference","name":"LOCALE_ID"},"useFactory":{"__symbolic":"reference","name":"ɵo"},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"LOCALE_ID"}]},{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","name":"SkipSelf"}}]]},{"provide":{"__symbolic":"reference","name":"APP_INITIALIZER"},"useValue":{"__symbolic":"reference","name":"ɵp"},"multi":true}]}]}],"members":{}},"wtfCreateScope":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵq"},"thenExpression":{"__symbolic":"reference","name":"ɵs"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":53,"character":31,"module":"./src/profile/profile"}},"wtfLeave":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵq"},"thenExpression":{"__symbolic":"reference","name":"ɵt"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":65,"character":25,"module":"./src/profile/profile"}},"wtfStartTimeRange":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵq"},"thenExpression":{"__symbolic":"reference","name":"ɵu"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":81,"character":34,"module":"./src/profile/profile"}},"wtfEndTimeRange":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵq"},"thenExpression":{"__symbolic":"reference","name":"ɵv"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":89,"character":81,"module":"./src/profile/profile"}},"Type":{"__symbolic":"reference","name":"Function"},"EventEmitter":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","module":"rxjs/Subject","name":"Subject"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"boolean"}]}],"emit":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}]}},"ErrorHandler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"boolean"}]}],"handleError":[{"__symbolic":"method"}],"_extractMessage":[{"__symbolic":"method"}],"_findContext":[{"__symbolic":"method"}],"_findOriginalError":[{"__symbolic":"method"}],"_findOriginalStack":[{"__symbolic":"method"}]}},"ɵALLOW_MULTIPLE_PLATFORMS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["AllowMultipleToken"]},"ɵAPP_ID_RANDOM_PROVIDER":{"provide":{"__symbolic":"reference","name":"APP_ID"},"useFactory":{"__symbolic":"reference","name":"ɵg"},"deps":[]},"ɵValueUnwrapper":{"__symbolic":"class","members":{"unwrap":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]}},"ɵdevModeEqual":{"__symbolic":"function"},"ɵChangeDetectorStatus":{"CheckOnce":0,"Checked":1,"CheckAlways":2,"Detached":3,"Errored":4,"Destroyed":5},"ɵisDefaultChangeDetectionStrategy":{"__symbolic":"function","parameters":["changeDetectionStrategy"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵj"},"arguments":[{"__symbolic":"reference","name":"changeDetectionStrategy"}]},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"changeDetectionStrategy"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Default"}}}},"ɵConsole":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"log":[{"__symbolic":"method"}],"warn":[{"__symbolic":"method"}]}},"ɵERROR_COMPONENT_TYPE":"ngComponentType","ɵComponentFactory":{"__symbolic":"class","arity":1,"members":{"create":[{"__symbolic":"method"}]}},"ɵCodegenComponentFactoryResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]},{"__symbolic":"reference","name":"ComponentFactoryResolver"}]}],"resolveComponentFactory":[{"__symbolic":"method"}]}},"ɵLIFECYCLE_HOOKS_VALUES":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"OnInit"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"OnDestroy"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"DoCheck"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"OnChanges"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterContentInit"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterContentChecked"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterViewInit"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterViewChecked"}],"ɵLifecycleHooks":{"OnInit":0,"OnDestroy":1,"DoCheck":2,"OnChanges":3,"AfterContentInit":4,"AfterContentChecked":5,"AfterViewInit":6,"AfterViewChecked":7},"ɵViewMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":79,"character":92,"module":"./src/metadata/view"}]}]}},"ɵReflector":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵReflectorReader"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵw"}]}],"updateCapabilities":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"getter":[{"__symbolic":"method"}],"setter":[{"__symbolic":"method"}],"method":[{"__symbolic":"method"}],"importUri":[{"__symbolic":"method"}],"resolveIdentifier":[{"__symbolic":"method"}],"resolveEnum":[{"__symbolic":"method"}]}},"ɵreflector":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵReflector"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵReflectionCapabilities"}}]},"ɵReflectionCapabilities":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}],"isReflectionEnabled":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"_zipTypesAndAnnotations":[{"__symbolic":"method"}],"_ownParameters":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"_ownAnnotations":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"_ownPropMetadata":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"getter":[{"__symbolic":"method"}],"setter":[{"__symbolic":"method"}],"method":[{"__symbolic":"method"}],"importUri":[{"__symbolic":"method"}],"resolveIdentifier":[{"__symbolic":"method"}],"resolveEnum":[{"__symbolic":"method"}]}},"ɵReflectorReader":{"__symbolic":"class","members":{"parameters":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"importUri":[{"__symbolic":"method"}],"resolveIdentifier":[{"__symbolic":"method"}],"resolveEnum":[{"__symbolic":"method"}]}},"ɵRenderDebugInfo":{"__symbolic":"class","members":{}},"ɵmakeDecorator":{"__symbolic":"function"},"ɵisObservable":{"__symbolic":"function","parameters":["obj"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"obj"},"right":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"obj"},"index":{"__symbolic":"reference","module":"rxjs/symbol/observable","name":"$$observable"}}}}}},"ɵisPromise":{"__symbolic":"function","parameters":["obj"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"reference","name":"obj"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":17,"character":18,"module":"./src/util/lang"},"right":"function"}}},"Sanitizer":{"__symbolic":"class","members":{"sanitize":[{"__symbolic":"method"}]}},"SecurityContext":{"NONE":0,"HTML":1,"STYLE":2,"SCRIPT":3,"URL":4,"RESOURCE_URL":5},"ɵNgModuleInjector":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ɵCodegenComponentFactoryResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Injector"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]}]}],"create":[{"__symbolic":"method"}],"createInternal":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"getInternal":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"destroyInternal":[{"__symbolic":"method"}]}},"ɵregisterModuleFactory":{"__symbolic":"function"},"ɵArgumentType":{"Inline":0,"Dynamic":1},"ɵBindingType":{"ElementAttribute":0,"ElementClass":1,"ElementStyle":2,"ElementProperty":3,"ComponentHostProperty":4,"DirectiveProperty":5,"TextInterpolation":6,"PureExpressionProperty":7},"ɵDepFlags":{"None":0,"SkipSelf":1,"Optional":2,"Value":8},"ɵEMPTY_ARRAY":[],"ɵEMPTY_MAP":{},"ɵNodeFlags":{"None":0,"TypeElement":1,"TypeText":2,"CatRenderNode":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypeElement"},"right":{"__symbolic":"reference","name":"TypeText"}},"TypeNgContent":4,"TypePipe":8,"TypePureArray":16,"TypePureObject":32,"TypePurePipe":64,"CatPureExpression":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypePureArray"},"right":{"__symbolic":"reference","name":"TypePureObject"}},"right":{"__symbolic":"reference","name":"TypePurePipe"}},"TypeValueProvider":128,"TypeClassProvider":256,"TypeFactoryProvider":512,"TypeUseExistingProvider":1024,"LazyProvider":2048,"PrivateProvider":4096,"TypeDirective":8192,"Component":16384,"CatProvider":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypeValueProvider"},"right":{"__symbolic":"reference","name":"TypeClassProvider"}},"right":{"__symbolic":"reference","name":"TypeFactoryProvider"}},"right":{"__symbolic":"reference","name":"TypeUseExistingProvider"}},"right":{"__symbolic":"reference","name":"TypeDirective"}},"OnInit":32768,"OnDestroy":65536,"DoCheck":131072,"OnChanges":262144,"AfterContentInit":524288,"AfterContentChecked":1048576,"AfterViewInit":2097152,"AfterViewChecked":4194304,"EmbeddedViews":8388608,"ComponentView":16777216,"TypeContentQuery":33554432,"TypeViewQuery":67108864,"StaticQuery":134217728,"DynamicQuery":268435456,"CatQuery":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypeContentQuery"},"right":{"__symbolic":"reference","name":"TypeViewQuery"}},"Types":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"CatRenderNode"},"right":{"__symbolic":"reference","name":"TypeNgContent"}},"right":{"__symbolic":"reference","name":"TypePipe"}},"right":{"__symbolic":"reference","name":"CatPureExpression"}},"right":{"__symbolic":"reference","name":"CatProvider"}},"right":{"__symbolic":"reference","name":"CatQuery"}}},"ɵQueryBindingType":{"First":0,"All":1},"ɵQueryValueType":{"ElementRef":0,"RenderElement":1,"TemplateRef":2,"ViewContainerRef":3,"Provider":4},"ɵViewFlags":{"None":0,"OnPush":2},"ɵand":{"__symbolic":"function"},"ɵccf":{"__symbolic":"function","parameters":["selector","componentType","viewDefFactory"],"value":{"__symbolic":"error","message":"Reference to non-exported class","line":37,"character":0,"context":{"className":"ComponentFactory_"},"module":"./src/view/refs"}},"ɵcrt":{"__symbolic":"function"},"ɵdid":{"__symbolic":"function"},"ɵeld":{"__symbolic":"function"},"ɵelementEventFullName":{"__symbolic":"function","parameters":["target","name"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"target"},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":139,"character":18,"module":"./src/view/util"},"elseExpression":{"__symbolic":"reference","name":"name"}}},"ɵgetComponentViewDefinitionFactory":{"__symbolic":"function","parameters":["componentFactory"],"value":{"__symbolic":"error","message":"Expression form not supported","line":34,"character":10,"module":"./src/view/refs"}},"ɵinlineInterpolate":{"__symbolic":"function"},"ɵinterpolate":{"__symbolic":"function"},"ɵncd":{"__symbolic":"function","parameters":["ngContentIndex","index"],"value":{"index":{"__symbolic":"reference","name":"undefined"},"parent":{"__symbolic":"reference","name":"undefined"},"renderParent":{"__symbolic":"reference","name":"undefined"},"bindingIndex":{"__symbolic":"reference","name":"undefined"},"outputIndex":{"__symbolic":"reference","name":"undefined"},"flags":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵNodeFlags"},"member":"TypeNgContent"},"childFlags":0,"directChildFlags":0,"childMatchedQueries":0,"matchedQueries":{},"matchedQueryIds":0,"references":{},"ngContentIndex":{"__symbolic":"reference","name":"ngContentIndex"},"childCount":0,"bindings":[],"outputs":[],"element":{"__symbolic":"reference","name":"undefined"},"provider":{"__symbolic":"reference","name":"undefined"},"text":{"__symbolic":"reference","name":"undefined"},"query":{"__symbolic":"reference","name":"undefined"},"ngContent":{"index":{"__symbolic":"reference","name":"index"}}}},"ɵnov":{"__symbolic":"function"},"ɵpid":{"__symbolic":"function"},"ɵprd":{"__symbolic":"function","parameters":["flags","matchedQueries","token","value","deps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵx"},"arguments":[{"__symbolic":"reference","name":"flags"},{"__symbolic":"reference","name":"matchedQueries"},0,{"__symbolic":"reference","name":"token"},{"__symbolic":"reference","name":"value"},{"__symbolic":"reference","name":"deps"}]}},"ɵpad":{"__symbolic":"function","parameters":["argCount"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":24,"character":9,"context":{"name":"_pureExpressionDef"},"module":"./src/view/pure_expression"}},"ɵpod":{"__symbolic":"function","parameters":["propertyNames"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":24,"character":9,"context":{"name":"_pureExpressionDef"},"module":"./src/view/pure_expression"}},"ɵppd":{"__symbolic":"function","parameters":["argCount"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":24,"character":9,"context":{"name":"_pureExpressionDef"},"module":"./src/view/pure_expression"}},"ɵqud":{"__symbolic":"function"},"ɵted":{"__symbolic":"function"},"ɵunv":{"__symbolic":"function"},"ɵvid":{"__symbolic":"function"},"AUTO_STYLE":"*","trigger":{"__symbolic":"function","parameters":["name","definitions"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵz"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"definitions"}]}},"animate":{"__symbolic":"function","parameters":["timings","styles"],"defaults":[null,null],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵba"},"arguments":[{"__symbolic":"reference","name":"timings"},{"__symbolic":"reference","name":"styles"}]}},"group":{"__symbolic":"function","parameters":["steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbb"},"arguments":[{"__symbolic":"reference","name":"steps"}]}},"sequence":{"__symbolic":"function","parameters":["steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbc"},"arguments":[{"__symbolic":"reference","name":"steps"}]}},"style":{"__symbolic":"function","parameters":["tokens"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbd"},"arguments":[{"__symbolic":"reference","name":"tokens"}]}},"state":{"__symbolic":"function","parameters":["name","styles"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbe"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"styles"}]}},"keyframes":{"__symbolic":"function","parameters":["steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbf"},"arguments":[{"__symbolic":"reference","name":"steps"}]}},"transition":{"__symbolic":"function","parameters":["stateChangeExpr","steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbg"},"arguments":[{"__symbolic":"reference","name":"stateChangeExpr"},{"__symbolic":"reference","name":"steps"}]}},"ɵy":{"State":0,"Transition":1,"Sequence":2,"Group":3,"Animate":4,"KeyframeSequence":5,"Style":6},"ɵz":{"__symbolic":"function","parameters":["name","definitions"],"value":{"name":{"__symbolic":"reference","name":"name"},"definitions":{"__symbolic":"reference","name":"definitions"}}},"ɵba":{"__symbolic":"function","parameters":["timings","styles"],"defaults":[null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵy"},"member":"Animate"},"styles":{"__symbolic":"reference","name":"styles"},"timings":{"__symbolic":"reference","name":"timings"}}},"ɵbb":{"__symbolic":"function","parameters":["steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵy"},"member":"Group"},"steps":{"__symbolic":"reference","name":"steps"}}},"ɵbc":{"__symbolic":"function","parameters":["steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵy"},"member":"Sequence"},"steps":{"__symbolic":"reference","name":"steps"}}},"ɵbd":{"__symbolic":"function","parameters":["tokens"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵy"},"member":"Style"},"styles":{"__symbolic":"reference","name":"tokens"}}},"ɵbe":{"__symbolic":"function","parameters":["name","styles"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵy"},"member":"State"},"name":{"__symbolic":"reference","name":"name"},"styles":{"__symbolic":"reference","name":"styles"}}},"ɵbf":{"__symbolic":"function","parameters":["steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵy"},"member":"KeyframeSequence"},"steps":{"__symbolic":"reference","name":"steps"}}},"ɵbg":{"__symbolic":"function","parameters":["stateChangeExpr","steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵy"},"member":"Transition"},"expr":{"__symbolic":"reference","name":"stateChangeExpr"},"animation":{"__symbolic":"reference","name":"steps"}}}},"importAs":"@angular/core"}
{"__symbolic":"module","version":3,"metadata":{"ɵa":{"__symbolic":"function"},"ɵb":{"__symbolic":"function"},"ɵc":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ResolvedReflectiveProvider"}]},{"__symbolic":"reference","name":"Injector"}]}],"get":[{"__symbolic":"method"}],"resolveAndCreateChild":[{"__symbolic":"method"}],"createChildFromResolved":[{"__symbolic":"method"}],"resolveAndInstantiate":[{"__symbolic":"method"}],"instantiateResolved":[{"__symbolic":"method"}],"getProviderAtIndex":[{"__symbolic":"method"}],"_new":[{"__symbolic":"method"}],"_getMaxNumberOfObjects":[{"__symbolic":"method"}],"_instantiateProvider":[{"__symbolic":"method"}],"_instantiate":[{"__symbolic":"method"}],"_getByReflectiveDependency":[{"__symbolic":"method"}],"_getByKey":[{"__symbolic":"method"}],"_getObjByKeyId":[{"__symbolic":"method"}],"_throwOrNull":[{"__symbolic":"method"}],"_getByKeySelf":[{"__symbolic":"method"}],"_getByKeyDefault":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ReflectiveKey"},{"__symbolic":"reference","name":"boolean"},{"__symbolic":"error","message":"Expression form not supported","line":28,"character":78,"module":"./src/di/reflective_provider"}]}]},"statics":{"fromKey":{"__symbolic":"function","parameters":["key"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵd"},"arguments":[{"__symbolic":"reference","name":"key"},false,null]}}}},"ɵe":{"__symbolic":"function"},"ɵf":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ApplicationRef"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgZone"},{"__symbolic":"reference","name":"ɵConsole"},{"__symbolic":"reference","name":"Injector"},{"__symbolic":"reference","name":"ErrorHandler"},{"__symbolic":"reference","name":"ComponentFactoryResolver"},{"__symbolic":"reference","name":"ApplicationInitStatus"}]}],"attachView":[{"__symbolic":"method"}],"detachView":[{"__symbolic":"method"}],"bootstrap":[{"__symbolic":"method"}],"_loadComponent":[{"__symbolic":"method"}],"_unloadComponent":[{"__symbolic":"method"}],"tick":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]},"statics":{"_tickScope":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./profile/profile","name":"wtfCreateScope"},"arguments":["ApplicationRef#tick()"]}}},"ɵg":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"error","message":"Expression form not supported","line":25,"character":9,"module":"./src/application_tokens"}},"ɵh":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"IterableDiffers"},"arguments":[[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵj"}}]]},"ɵi":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"KeyValueDiffers"},"arguments":[[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵk"}}]]},"ɵj":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"supports":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"},{"__symbolic":"method"}]}},"ɵk":{"__symbolic":"class","arity":2,"members":{"__ctor__":[{"__symbolic":"constructor"}],"supports":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"},{"__symbolic":"method"}]}},"ɵl":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"reference","name":"ɵh"}},"ɵm":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"reference","name":"ɵi"}},"ɵn":{"__symbolic":"function","parameters":["locale"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"locale"},"right":"en-US"}},"ɵo":{"__symbolic":"function"},"ɵp":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵq"}},"ɵq":{"__symbolic":"function"},"ɵr":{"__symbolic":"function","parameters":["signature","flags"],"defaults":[null,null],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":37,"character":4,"context":{"name":"events"},"module":"./src/profile/wtf_impl"}},"ɵs":{"__symbolic":"function"},"ɵt":{"__symbolic":"function","parameters":["rangeType","action"],"value":{"__symbolic":"error","message":"Reference to a local symbol","line":36,"character":4,"context":{"name":"trace"},"module":"./src/profile/wtf_impl"}},"ɵu":{"__symbolic":"function"},"ɵw":{"__symbolic":"function"},"ANALYZE_FOR_ENTRY_COMPONENTS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["AnalyzeForEntryComponents"]},"Attribute":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Attribute",[["attributeName",{"__symbolic":"reference","name":"undefined"}]]]},"ContentChild":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ContentChild",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":true,"isViewQuery":false,"descendants":true,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"ContentChildren":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ContentChildren",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":false,"isViewQuery":false,"descendants":false,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"Query":{"__symbolic":"class","members":{}},"ViewChild":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ViewChild",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":true,"isViewQuery":true,"descendants":true,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"ViewChildren":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["ViewChildren",[["selector",{"__symbolic":"reference","name":"undefined"}],{"first":false,"isViewQuery":true,"descendants":true,"read":{"__symbolic":"reference","name":"undefined"}}],{"__symbolic":"reference","name":"Query"}]},"Component":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Component",{"selector":{"__symbolic":"reference","name":"undefined"},"inputs":{"__symbolic":"reference","name":"undefined"},"outputs":{"__symbolic":"reference","name":"undefined"},"host":{"__symbolic":"reference","name":"undefined"},"exportAs":{"__symbolic":"reference","name":"undefined"},"moduleId":{"__symbolic":"reference","name":"undefined"},"providers":{"__symbolic":"reference","name":"undefined"},"viewProviders":{"__symbolic":"reference","name":"undefined"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Default"},"queries":{"__symbolic":"reference","name":"undefined"},"templateUrl":{"__symbolic":"reference","name":"undefined"},"template":{"__symbolic":"reference","name":"undefined"},"styleUrls":{"__symbolic":"reference","name":"undefined"},"styles":{"__symbolic":"reference","name":"undefined"},"animations":{"__symbolic":"reference","name":"undefined"},"encapsulation":{"__symbolic":"reference","name":"undefined"},"interpolation":{"__symbolic":"reference","name":"undefined"},"entryComponents":{"__symbolic":"reference","name":"undefined"}},{"__symbolic":"reference","name":"Directive"}]},"Directive":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Directive",{"selector":{"__symbolic":"reference","name":"undefined"},"inputs":{"__symbolic":"reference","name":"undefined"},"outputs":{"__symbolic":"reference","name":"undefined"},"host":{"__symbolic":"reference","name":"undefined"},"providers":{"__symbolic":"reference","name":"undefined"},"exportAs":{"__symbolic":"reference","name":"undefined"},"queries":{"__symbolic":"reference","name":"undefined"}}]},"HostBinding":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["HostBinding",[["hostPropertyName",{"__symbolic":"reference","name":"undefined"}]]]},"HostListener":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["HostListener",[["eventName",{"__symbolic":"reference","name":"undefined"}],["args",[]]]]},"Input":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["Input",[["bindingPropertyName",{"__symbolic":"reference","name":"undefined"}]]]},"Output":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵb"},"arguments":["Output",[["bindingPropertyName",{"__symbolic":"reference","name":"undefined"}]]]},"Pipe":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Pipe",{"name":{"__symbolic":"reference","name":"undefined"},"pure":true}]},"CUSTOM_ELEMENTS_SCHEMA":{"name":"custom-elements"},"NO_ERRORS_SCHEMA":{"name":"no-errors-schema"},"NgModule":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["NgModule",{"providers":{"__symbolic":"reference","name":"undefined"},"declarations":{"__symbolic":"reference","name":"undefined"},"imports":{"__symbolic":"reference","name":"undefined"},"exports":{"__symbolic":"reference","name":"undefined"},"entryComponents":{"__symbolic":"reference","name":"undefined"},"bootstrap":{"__symbolic":"reference","name":"undefined"},"schemas":{"__symbolic":"reference","name":"undefined"},"id":{"__symbolic":"reference","name":"undefined"}}]},"ViewEncapsulation":{"Emulated":0,"Native":1,"None":2},"Version":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}]}},"VERSION":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Version"},"arguments":["4.0.0-rc.3"]},"Class":{"__symbolic":"function"},"Inject":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Inject",[["token",{"__symbolic":"reference","name":"undefined"}]]]},"Optional":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Optional",[]]},"Injectable":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵmakeDecorator"},"arguments":["Injectable",[]]},"Self":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Self",[]]},"SkipSelf":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["SkipSelf",[]]},"Host":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵa"},"arguments":["Host",[]]},"forwardRef":{"__symbolic":"function"},"resolveForwardRef":{"__symbolic":"function"},"Injector":{"__symbolic":"class","members":{"get":[{"__symbolic":"method"},{"__symbolic":"method"}]},"statics":{"THROW_IF_NOT_FOUND":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Object"}},"NULL":{"__symbolic":"error","message":"Reference to non-exported class","line":16,"character":0,"context":{"className":"_NullInjector"}}}},"ReflectiveInjector":{"__symbolic":"class","members":{"resolveAndCreateChild":[{"__symbolic":"method"}],"createChildFromResolved":[{"__symbolic":"method"}],"resolveAndInstantiate":[{"__symbolic":"method"}],"instantiateResolved":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}]},"statics":{"resolve":{"__symbolic":"function","parameters":["providers"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵe"},"arguments":[{"__symbolic":"reference","name":"providers"}]}},"fromResolvedProviders":{"__symbolic":"function","parameters":["providers","parent"],"defaults":[null,null],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵc"},"arguments":[{"__symbolic":"reference","name":"providers"},{"__symbolic":"reference","name":"parent"}]}}}},"ResolvedReflectiveFactory":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Function"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵd"}]}]}]}},"ReflectiveKey":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Object"},{"__symbolic":"reference","name":"number"}]}]},"statics":{"get":{"__symbolic":"function","parameters":["token"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"_globalKeyRegistry"},"member":"get"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"resolveForwardRef"},"arguments":[{"__symbolic":"reference","name":"token"}]}]}},"numberOfKeys":{"__symbolic":"error","message":"Variable not initialized","line":53,"character":13}}},"InjectionToken":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"OpaqueToken"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"toString":[{"__symbolic":"method"}]}},"OpaqueToken":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"}]}],"toString":[{"__symbolic":"method"}]}},"createPlatform":{"__symbolic":"function"},"assertPlatform":{"__symbolic":"function"},"destroyPlatform":{"__symbolic":"function"},"getPlatform":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"if","condition":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"error","message":"Reference to a local symbol","line":33,"character":4,"context":{"name":"_platform"},"module":"./src/application_ref"},"right":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"error","message":"Reference to a local symbol","line":33,"character":4,"context":{"name":"_platform"},"module":"./src/application_ref"}}},"thenExpression":{"__symbolic":"error","message":"Reference to a local symbol","line":33,"character":4,"context":{"name":"_platform"},"module":"./src/application_ref"},"elseExpression":null}},"PlatformRef":{"__symbolic":"class","members":{"bootstrapModuleFactory":[{"__symbolic":"method"}],"bootstrapModule":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}]}},"ApplicationRef":{"__symbolic":"class","members":{"bootstrap":[{"__symbolic":"method"}],"tick":[{"__symbolic":"method"}],"attachView":[{"__symbolic":"method"}],"detachView":[{"__symbolic":"method"}]}},"enableProdMode":{"__symbolic":"function"},"isDevMode":{"__symbolic":"function"},"createPlatformFactory":{"__symbolic":"function"},"NgProbeToken":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"any"}]}]}},"APP_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["AppId"]},"PACKAGE_ROOT_URL":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Application Packages Root URL"]},"PLATFORM_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Platform Initializer"]},"PLATFORM_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Platform ID"]},"APP_BOOTSTRAP_LISTENER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["appBootstrapListener"]},"APP_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Application Initializer"]},"ApplicationInitStatus":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"APP_INITIALIZER"}]},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Optional"}}]],"parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":29,"character":61,"module":"./src/application_init"}]}]}]}},"NgZone":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[null]}],"run":[{"__symbolic":"method"}],"runGuarded":[{"__symbolic":"method"}],"runOutsideAngular":[{"__symbolic":"method"}],"checkStable":[{"__symbolic":"method"}],"forkInnerZoneWithAngularBehavior":[{"__symbolic":"method"}],"onEnter":[{"__symbolic":"method"}],"onLeave":[{"__symbolic":"method"}],"setHasMicrotask":[{"__symbolic":"method"}],"setHasMacrotask":[{"__symbolic":"method"}],"triggerError":[{"__symbolic":"method"}]},"statics":{"isInAngularZone":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"Zone"},"member":"current"},"member":"get"},"arguments":["isAngularZone"]},"right":true}}}},"RenderComponentType":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"number"},{"__symbolic":"reference","name":"ViewEncapsulation"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Expression form not supported","line":17,"character":68,"module":"./src/render/api"}]},{"__symbolic":"reference","name":"any"}]}]}},"Renderer":{"__symbolic":"class","members":{"selectRootElement":[{"__symbolic":"method"}],"createElement":[{"__symbolic":"method"}],"createViewRoot":[{"__symbolic":"method"}],"createTemplateAnchor":[{"__symbolic":"method"}],"createText":[{"__symbolic":"method"}],"projectNodes":[{"__symbolic":"method"}],"attachViewAfter":[{"__symbolic":"method"}],"detachView":[{"__symbolic":"method"}],"destroyView":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}],"listenGlobal":[{"__symbolic":"method"}],"setElementProperty":[{"__symbolic":"method"}],"setElementAttribute":[{"__symbolic":"method"}],"setBindingDebugInfo":[{"__symbolic":"method"}],"setElementClass":[{"__symbolic":"method"}],"setElementStyle":[{"__symbolic":"method"}],"invokeElementMethod":[{"__symbolic":"method"}],"setText":[{"__symbolic":"method"}],"animate":[{"__symbolic":"method"}]}},"Renderer2":{"__symbolic":"class","members":{"destroy":[{"__symbolic":"method"}],"createElement":[{"__symbolic":"method"}],"createComment":[{"__symbolic":"method"}],"createText":[{"__symbolic":"method"}],"appendChild":[{"__symbolic":"method"}],"insertBefore":[{"__symbolic":"method"}],"removeChild":[{"__symbolic":"method"}],"selectRootElement":[{"__symbolic":"method"}],"parentNode":[{"__symbolic":"method"}],"nextSibling":[{"__symbolic":"method"}],"setAttribute":[{"__symbolic":"method"}],"removeAttribute":[{"__symbolic":"method"}],"addClass":[{"__symbolic":"method"}],"removeClass":[{"__symbolic":"method"}],"setStyle":[{"__symbolic":"method"}],"removeStyle":[{"__symbolic":"method"}],"setProperty":[{"__symbolic":"method"}],"setValue":[{"__symbolic":"method"}],"listen":[{"__symbolic":"method"}]}},"RendererFactory2":{"__symbolic":"class","members":{"createRenderer":[{"__symbolic":"method"}]}},"RootRenderer":{"__symbolic":"class","members":{"renderComponent":[{"__symbolic":"method"}]}},"COMPILER_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["compilerOptions"]},"Compiler":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"compileModuleSync":[{"__symbolic":"method"}],"compileModuleAsync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsSync":[{"__symbolic":"method"}],"compileModuleAndAllComponentsAsync":[{"__symbolic":"method"}],"getNgContentSelectors":[{"__symbolic":"method"}],"clearCache":[{"__symbolic":"method"}],"clearCacheFor":[{"__symbolic":"method"}]}},"CompilerFactory":{"__symbolic":"class","members":{"createCompiler":[{"__symbolic":"method"}]}},"ModuleWithComponentFactories":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgModuleFactory"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]}]}]}},"ComponentFactory":{"__symbolic":"class","arity":1,"members":{"create":[{"__symbolic":"method"}]}},"ComponentRef":{"__symbolic":"class","arity":1,"members":{"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}]}},"ComponentFactoryResolver":{"__symbolic":"class","members":{"resolveComponentFactory":[{"__symbolic":"method"}]},"statics":{"NULL":{"__symbolic":"error","message":"Reference to non-exported class","line":29,"character":0,"context":{"className":"_NullComponentFactoryResolver"}}}},"ElementRef":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]}},"NgModuleFactory":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":58,"character":30,"module":"./src/linker/ng_module_factory"},{"__symbolic":"reference","name":"Type"}]}],"create":[{"__symbolic":"method"}]}},"NgModuleRef":{"__symbolic":"class","arity":1,"members":{"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}]}},"NgModuleFactoryLoader":{"__symbolic":"class","members":{"load":[{"__symbolic":"method"}]}},"getModuleFactory":{"__symbolic":"function"},"QueryList":{"__symbolic":"class","arity":1,"members":{"map":[{"__symbolic":"method"}],"filter":[{"__symbolic":"method"}],"find":[{"__symbolic":"method"}],"reduce":[{"__symbolic":"method"}],"forEach":[{"__symbolic":"method"}],"some":[{"__symbolic":"method"}],"toArray":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"notifyOnChanges":[{"__symbolic":"method"}],"setDirty":[{"__symbolic":"method"}]}},"SystemJsNgModuleLoader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Optional"}}]],"parameters":[{"__symbolic":"reference","name":"Compiler"},{"__symbolic":"reference","name":"SystemJsNgModuleLoaderConfig"}]}],"load":[{"__symbolic":"method"}],"loadAndCompile":[{"__symbolic":"method"}],"loadFactory":[{"__symbolic":"method"}]}},"SystemJsNgModuleLoaderConfig":{"__symbolic":"class","members":{}},"TemplateRef":{"__symbolic":"class","arity":1,"members":{"createEmbeddedView":[{"__symbolic":"method"}]}},"ViewContainerRef":{"__symbolic":"class","members":{"clear":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"createEmbeddedView":[{"__symbolic":"method"}],"createComponent":[{"__symbolic":"method"}],"insert":[{"__symbolic":"method"}],"move":[{"__symbolic":"method"}],"indexOf":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}]}},"EmbeddedViewRef":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ViewRef"},"members":{}},"ViewRef":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ChangeDetectorRef"},"members":{"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}]}},"DebugElement":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"DebugNode"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"ɵRenderDebugInfo"}]}],"addChild":[{"__symbolic":"method"}],"removeChild":[{"__symbolic":"method"}],"insertChildrenAfter":[{"__symbolic":"method"}],"insertBefore":[{"__symbolic":"method"}],"query":[{"__symbolic":"method"}],"queryAll":[{"__symbolic":"method"}],"queryAllNodes":[{"__symbolic":"method"}],"triggerEventHandler":[{"__symbolic":"method"}]}},"DebugNode":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"DebugNode"},{"__symbolic":"reference","name":"ɵRenderDebugInfo"}]}]}},"asNativeElements":{"__symbolic":"function","parameters":["debugEls"],"value":{"__symbolic":"error","message":"Function call not supported","line":143,"character":22,"module":"./src/debug/debug_node"}},"getDebugNode":{"__symbolic":"function","parameters":["nativeNode"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Map"}},"member":"get"},"arguments":[{"__symbolic":"reference","name":"nativeNode"}]}},"Testability":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NgZone"}]}],"_watchAngularEvents":[{"__symbolic":"method"}],"increasePendingRequestCount":[{"__symbolic":"method"}],"decreasePendingRequestCount":[{"__symbolic":"method"}],"isStable":[{"__symbolic":"method"}],"_runCallbacksIfReady":[{"__symbolic":"method"}],"whenStable":[{"__symbolic":"method"}],"getPendingRequestCount":[{"__symbolic":"method"}],"findBindings":[{"__symbolic":"method"}],"findProviders":[{"__symbolic":"method"}]}},"TestabilityRegistry":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"registerApplication":[{"__symbolic":"method"}],"getTestability":[{"__symbolic":"method"}],"getAllTestabilities":[{"__symbolic":"method"}],"getAllRootElements":[{"__symbolic":"method"}],"findTestabilityInTree":[{"__symbolic":"method"}]}},"setTestabilityGetter":{"__symbolic":"function"},"ChangeDetectionStrategy":{"OnPush":0,"Default":1},"ChangeDetectorRef":{"__symbolic":"class","members":{"markForCheck":[{"__symbolic":"method"}],"detach":[{"__symbolic":"method"}],"detectChanges":[{"__symbolic":"method"}],"checkNoChanges":[{"__symbolic":"method"}],"reattach":[{"__symbolic":"method"}]}},"DefaultIterableDiffer":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TrackByFunction"}]}],"forEachItem":[{"__symbolic":"method"}],"forEachOperation":[{"__symbolic":"method"}],"forEachPreviousItem":[{"__symbolic":"method"}],"forEachAddedItem":[{"__symbolic":"method"}],"forEachMovedItem":[{"__symbolic":"method"}],"forEachRemovedItem":[{"__symbolic":"method"}],"forEachIdentityChange":[{"__symbolic":"method"}],"diff":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"check":[{"__symbolic":"method"}],"_reset":[{"__symbolic":"method"}],"_mismatch":[{"__symbolic":"method"}],"_verifyReinsertion":[{"__symbolic":"method"}],"_truncate":[{"__symbolic":"method"}],"_reinsertAfter":[{"__symbolic":"method"}],"_moveAfter":[{"__symbolic":"method"}],"_addAfter":[{"__symbolic":"method"}],"_insertAfter":[{"__symbolic":"method"}],"_remove":[{"__symbolic":"method"}],"_unlink":[{"__symbolic":"method"}],"_addToMoves":[{"__symbolic":"method"}],"_addToRemovals":[{"__symbolic":"method"}],"_addIdentityChange":[{"__symbolic":"method"}],"toString":[{"__symbolic":"method"}]}},"IterableDiffers":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":156,"character":25,"context":{"typeName":"IterableDifferFactory"},"module":"./src/change_detection/differs/iterable_differs"}]}]}],"find":[{"__symbolic":"method"}]},"statics":{"extend":{"__symbolic":"function","parameters":["factories"],"value":{"__symbolic":"error","message":"Function call not supported","line":190,"character":18,"module":"./src/change_detection/differs/iterable_differs"}}}},"KeyValueDiffers":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":129,"character":25,"context":{"typeName":"KeyValueDifferFactory"},"module":"./src/change_detection/differs/keyvalue_differs"}]}]}],"find":[{"__symbolic":"method"}]},"statics":{"extend":{"__symbolic":"function","parameters":["factories"],"value":{"__symbolic":"error","message":"Function call not supported","line":161,"character":18,"module":"./src/change_detection/differs/keyvalue_differs"}}}},"SimpleChange":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"boolean"}]}],"isFirstChange":[{"__symbolic":"method"}]}},"WrappedValue":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}]},"statics":{"wrap":{"__symbolic":"function","parameters":["value"],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"WrappedValue"},"arguments":[{"__symbolic":"reference","name":"value"}]}}}},"platformCore":{"__symbolic":"error","message":"Reference to a local symbol","line":20,"character":6,"context":{"name":"_CORE_PLATFORM_PROVIDERS"},"module":"./src/platform_core_providers"},"TRANSLATIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["Translations"]},"TRANSLATIONS_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["TranslationsFormat"]},"LOCALE_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["LocaleId"]},"MissingTranslationStrategy":{"Error":0,"Warning":1,"Ignore":2},"ApplicationModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"NgModule"},"arguments":[{"providers":[{"__symbolic":"reference","name":"ɵf"},{"provide":{"__symbolic":"reference","name":"ApplicationRef"},"useExisting":{"__symbolic":"reference","name":"ɵf"}},{"__symbolic":"reference","name":"ApplicationInitStatus"},{"__symbolic":"reference","name":"Compiler"},{"__symbolic":"reference","name":"ɵAPP_ID_RANDOM_PROVIDER"},{"provide":{"__symbolic":"reference","name":"IterableDiffers"},"useFactory":{"__symbolic":"reference","name":"ɵl"}},{"provide":{"__symbolic":"reference","name":"KeyValueDiffers"},"useFactory":{"__symbolic":"reference","name":"ɵm"}},{"provide":{"__symbolic":"reference","name":"LOCALE_ID"},"useFactory":{"__symbolic":"reference","name":"ɵn"},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Inject"},"arguments":[{"__symbolic":"reference","name":"LOCALE_ID"}]},{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Optional"}},{"__symbolic":"new","expression":{"__symbolic":"reference","name":"SkipSelf"}}]]},{"provide":{"__symbolic":"reference","name":"APP_INITIALIZER"},"useValue":{"__symbolic":"reference","name":"ɵo"},"multi":true}]}]}],"members":{}},"wtfCreateScope":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵp"},"thenExpression":{"__symbolic":"reference","name":"ɵr"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":53,"character":31,"module":"./src/profile/profile"}},"wtfLeave":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵp"},"thenExpression":{"__symbolic":"reference","name":"ɵs"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":65,"character":25,"module":"./src/profile/profile"}},"wtfStartTimeRange":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵp"},"thenExpression":{"__symbolic":"reference","name":"ɵt"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":81,"character":34,"module":"./src/profile/profile"}},"wtfEndTimeRange":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"ɵp"},"thenExpression":{"__symbolic":"reference","name":"ɵu"},"elseExpression":{"__symbolic":"error","message":"Function call not supported","line":89,"character":81,"module":"./src/profile/profile"}},"Type":{"__symbolic":"reference","name":"Function"},"EventEmitter":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","module":"rxjs/Subject","name":"Subject"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"boolean"}]}],"emit":[{"__symbolic":"method"}],"subscribe":[{"__symbolic":"method"}]}},"ErrorHandler":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"boolean"}]}],"handleError":[{"__symbolic":"method"}],"_extractMessage":[{"__symbolic":"method"}],"_findContext":[{"__symbolic":"method"}],"_findOriginalError":[{"__symbolic":"method"}],"_findOriginalStack":[{"__symbolic":"method"}]}},"ɵALLOW_MULTIPLE_PLATFORMS":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"InjectionToken"},"arguments":["AllowMultipleToken"]},"ɵAPP_ID_RANDOM_PROVIDER":{"provide":{"__symbolic":"reference","name":"APP_ID"},"useFactory":{"__symbolic":"reference","name":"ɵg"},"deps":[]},"ɵValueUnwrapper":{"__symbolic":"class","members":{"unwrap":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}]}},"ɵdevModeEqual":{"__symbolic":"function"},"ɵisListLikeIterable":{"__symbolic":"function"},"ɵChangeDetectorStatus":{"CheckOnce":0,"Checked":1,"CheckAlways":2,"Detached":3,"Errored":4,"Destroyed":5},"ɵisDefaultChangeDetectionStrategy":{"__symbolic":"function","parameters":["changeDetectionStrategy"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"==","left":{"__symbolic":"reference","name":"changeDetectionStrategy"},"right":null},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"changeDetectionStrategy"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Default"}}}},"ɵConsole":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Injectable"}}],"members":{"log":[{"__symbolic":"method"}],"warn":[{"__symbolic":"method"}]}},"ɵERROR_COMPONENT_TYPE":"ngComponentType","ɵComponentFactory":{"__symbolic":"class","arity":1,"members":{"create":[{"__symbolic":"method"}]}},"ɵCodegenComponentFactoryResolver":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]},{"__symbolic":"reference","name":"ComponentFactoryResolver"}]}],"resolveComponentFactory":[{"__symbolic":"method"}]}},"ɵLIFECYCLE_HOOKS_VALUES":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"OnInit"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"OnDestroy"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"DoCheck"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"OnChanges"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterContentInit"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterContentChecked"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterViewInit"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵLifecycleHooks"},"member":"AfterViewChecked"}],"ɵLifecycleHooks":{"OnInit":0,"OnDestroy":1,"DoCheck":2,"OnChanges":3,"AfterContentInit":4,"AfterContentChecked":5,"AfterViewInit":6,"AfterViewChecked":7},"ɵViewMetadata":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Expression form not supported","line":79,"character":92,"module":"./src/metadata/view"}]}]}},"ɵReflector":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵReflectorReader"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵv"}]}],"updateCapabilities":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"getter":[{"__symbolic":"method"}],"setter":[{"__symbolic":"method"}],"method":[{"__symbolic":"method"}],"importUri":[{"__symbolic":"method"}],"resolveIdentifier":[{"__symbolic":"method"}],"resolveEnum":[{"__symbolic":"method"}]}},"ɵreflector":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵReflector"},"arguments":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵReflectionCapabilities"}}]},"ɵReflectionCapabilities":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"any"}]}],"isReflectionEnabled":[{"__symbolic":"method"}],"factory":[{"__symbolic":"method"}],"_zipTypesAndAnnotations":[{"__symbolic":"method"}],"_ownParameters":[{"__symbolic":"method"}],"parameters":[{"__symbolic":"method"}],"_ownAnnotations":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"_ownPropMetadata":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"hasLifecycleHook":[{"__symbolic":"method"}],"getter":[{"__symbolic":"method"}],"setter":[{"__symbolic":"method"}],"method":[{"__symbolic":"method"}],"importUri":[{"__symbolic":"method"}],"resolveIdentifier":[{"__symbolic":"method"}],"resolveEnum":[{"__symbolic":"method"}]}},"ɵReflectorReader":{"__symbolic":"class","members":{"parameters":[{"__symbolic":"method"}],"annotations":[{"__symbolic":"method"}],"propMetadata":[{"__symbolic":"method"}],"importUri":[{"__symbolic":"method"}],"resolveIdentifier":[{"__symbolic":"method"}],"resolveEnum":[{"__symbolic":"method"}]}},"ɵRenderDebugInfo":{"__symbolic":"class","members":{}},"ɵglobal":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"error","message":"Expression form not supported","line":14,"character":17,"module":"./src/util"},"right":"undefined"},"right":{"__symbolic":"reference","name":"window"}},"right":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"error","message":"Expression form not supported","line":17,"character":17,"module":"./src/util"},"right":"undefined"},"right":{"__symbolic":"error","message":"Reference to a local symbol","line":13,"character":12,"context":{"name":"global"},"module":"./src/util"}}},"right":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"error","message":"Expression form not supported","line":15,"character":15,"module":"./src/util"},"right":"undefined"},"right":{"__symbolic":"binop","operator":"!==","left":{"__symbolic":"error","message":"Expression form not supported","line":15,"character":46,"module":"./src/util"},"right":"undefined"}},"right":{"__symbolic":"binop","operator":"instanceof","left":{"__symbolic":"reference","name":"self"},"right":{"__symbolic":"error","message":"Reference to a local symbol","line":9,"character":12,"context":{"name":"WorkerGlobalScope"},"module":"./src/util"}}},"right":{"__symbolic":"reference","name":"self"}}},"ɵlooseIdentical":{"__symbolic":"function","parameters":["a","b"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"a"},"right":{"__symbolic":"reference","name":"b"}},"right":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":20,"module":"./src/util"},"right":"number"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":50,"character":45,"module":"./src/util"},"right":"number"}},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNaN"},"arguments":[{"__symbolic":"reference","name":"a"}]}},"right":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"isNaN"},"arguments":[{"__symbolic":"reference","name":"b"}]}}}},"ɵstringify":{"__symbolic":"function"},"ɵmakeDecorator":{"__symbolic":"function"},"ɵisObservable":{"__symbolic":"function","parameters":["obj"],"value":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"reference","name":"obj"},"right":{"__symbolic":"index","expression":{"__symbolic":"reference","name":"obj"},"index":{"__symbolic":"reference","module":"rxjs/symbol/observable","name":"$$observable"}}}}}},"ɵisPromise":{"__symbolic":"function","parameters":["obj"],"value":{"__symbolic":"binop","operator":"&&","left":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"pre","operator":"!","operand":{"__symbolic":"reference","name":"obj"}}},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"error","message":"Expression form not supported","line":17,"character":18,"module":"./src/util/lang"},"right":"function"}}},"ɵmerge":{"__symbolic":"function"},"Sanitizer":{"__symbolic":"class","members":{"sanitize":[{"__symbolic":"method"}]}},"SecurityContext":{"NONE":0,"HTML":1,"STYLE":2,"SCRIPT":3,"URL":4,"RESOURCE_URL":5},"ɵNgModuleInjector":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ɵCodegenComponentFactoryResolver"},"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Injector"},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]},{"__symbolic":"reference","name":"Array","arguments":[{"__symbolic":"reference","name":"ɵComponentFactory"}]}]}],"create":[{"__symbolic":"method"}],"createInternal":[{"__symbolic":"method"}],"get":[{"__symbolic":"method"}],"getInternal":[{"__symbolic":"method"}],"destroy":[{"__symbolic":"method"}],"onDestroy":[{"__symbolic":"method"}],"destroyInternal":[{"__symbolic":"method"}]}},"ɵregisterModuleFactory":{"__symbolic":"function"},"ɵArgumentType":{"Inline":0,"Dynamic":1},"ɵBindingType":{"ElementAttribute":0,"ElementClass":1,"ElementStyle":2,"ElementProperty":3,"ComponentHostProperty":4,"DirectiveProperty":5,"TextInterpolation":6,"PureExpressionProperty":7},"ɵDepFlags":{"None":0,"SkipSelf":1,"Optional":2,"Value":8},"ɵEMPTY_ARRAY":[],"ɵEMPTY_MAP":{},"ɵNodeFlags":{"None":0,"TypeElement":1,"TypeText":2,"CatRenderNode":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypeElement"},"right":{"__symbolic":"reference","name":"TypeText"}},"TypeNgContent":4,"TypePipe":8,"TypePureArray":16,"TypePureObject":32,"TypePurePipe":64,"CatPureExpression":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypePureArray"},"right":{"__symbolic":"reference","name":"TypePureObject"}},"right":{"__symbolic":"reference","name":"TypePurePipe"}},"TypeValueProvider":128,"TypeClassProvider":256,"TypeFactoryProvider":512,"TypeUseExistingProvider":1024,"LazyProvider":2048,"PrivateProvider":4096,"TypeDirective":8192,"Component":16384,"CatProvider":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypeValueProvider"},"right":{"__symbolic":"reference","name":"TypeClassProvider"}},"right":{"__symbolic":"reference","name":"TypeFactoryProvider"}},"right":{"__symbolic":"reference","name":"TypeUseExistingProvider"}},"right":{"__symbolic":"reference","name":"TypeDirective"}},"OnInit":32768,"OnDestroy":65536,"DoCheck":131072,"OnChanges":262144,"AfterContentInit":524288,"AfterContentChecked":1048576,"AfterViewInit":2097152,"AfterViewChecked":4194304,"EmbeddedViews":8388608,"ComponentView":16777216,"TypeContentQuery":33554432,"TypeViewQuery":67108864,"StaticQuery":134217728,"DynamicQuery":268435456,"CatQuery":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"TypeContentQuery"},"right":{"__symbolic":"reference","name":"TypeViewQuery"}},"Types":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"binop","operator":"|","left":{"__symbolic":"reference","name":"CatRenderNode"},"right":{"__symbolic":"reference","name":"TypeNgContent"}},"right":{"__symbolic":"reference","name":"TypePipe"}},"right":{"__symbolic":"reference","name":"CatPureExpression"}},"right":{"__symbolic":"reference","name":"CatProvider"}},"right":{"__symbolic":"reference","name":"CatQuery"}}},"ɵQueryBindingType":{"First":0,"All":1},"ɵQueryValueType":{"ElementRef":0,"RenderElement":1,"TemplateRef":2,"ViewContainerRef":3,"Provider":4},"ɵViewFlags":{"None":0,"OnPush":2},"ɵand":{"__symbolic":"function"},"ɵccf":{"__symbolic":"function","parameters":["selector","componentType","viewDefFactory"],"value":{"__symbolic":"error","message":"Reference to non-exported class","line":37,"character":0,"context":{"className":"ComponentFactory_"},"module":"./src/view/refs"}},"ɵcrt":{"__symbolic":"function"},"ɵdid":{"__symbolic":"function"},"ɵeld":{"__symbolic":"function"},"ɵelementEventFullName":{"__symbolic":"function","parameters":["target","name"],"value":{"__symbolic":"if","condition":{"__symbolic":"reference","name":"target"},"thenExpression":{"__symbolic":"error","message":"Expression form not supported","line":139,"character":18,"module":"./src/view/util"},"elseExpression":{"__symbolic":"reference","name":"name"}}},"ɵgetComponentViewDefinitionFactory":{"__symbolic":"function","parameters":["componentFactory"],"value":{"__symbolic":"error","message":"Expression form not supported","line":34,"character":10,"module":"./src/view/refs"}},"ɵinlineInterpolate":{"__symbolic":"function"},"ɵinterpolate":{"__symbolic":"function"},"ɵncd":{"__symbolic":"function","parameters":["ngContentIndex","index"],"value":{"index":{"__symbolic":"reference","name":"undefined"},"parent":{"__symbolic":"reference","name":"undefined"},"renderParent":{"__symbolic":"reference","name":"undefined"},"bindingIndex":{"__symbolic":"reference","name":"undefined"},"outputIndex":{"__symbolic":"reference","name":"undefined"},"flags":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵNodeFlags"},"member":"TypeNgContent"},"childFlags":0,"directChildFlags":0,"childMatchedQueries":0,"matchedQueries":{},"matchedQueryIds":0,"references":{},"ngContentIndex":{"__symbolic":"reference","name":"ngContentIndex"},"childCount":0,"bindings":[],"outputs":[],"element":{"__symbolic":"reference","name":"undefined"},"provider":{"__symbolic":"reference","name":"undefined"},"text":{"__symbolic":"reference","name":"undefined"},"query":{"__symbolic":"reference","name":"undefined"},"ngContent":{"index":{"__symbolic":"reference","name":"index"}}}},"ɵnov":{"__symbolic":"function"},"ɵpid":{"__symbolic":"function"},"ɵprd":{"__symbolic":"function","parameters":["flags","matchedQueries","token","value","deps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵw"},"arguments":[{"__symbolic":"reference","name":"flags"},{"__symbolic":"reference","name":"matchedQueries"},0,{"__symbolic":"reference","name":"token"},{"__symbolic":"reference","name":"value"},{"__symbolic":"reference","name":"deps"}]}},"ɵpad":{"__symbolic":"function","parameters":["argCount"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":24,"character":9,"context":{"name":"_pureExpressionDef"},"module":"./src/view/pure_expression"}},"ɵpod":{"__symbolic":"function","parameters":["propertyNames"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":24,"character":9,"context":{"name":"_pureExpressionDef"},"module":"./src/view/pure_expression"}},"ɵppd":{"__symbolic":"function","parameters":["argCount"],"value":{"__symbolic":"error","message":"Reference to a non-exported function","line":24,"character":9,"context":{"name":"_pureExpressionDef"},"module":"./src/view/pure_expression"}},"ɵqud":{"__symbolic":"function"},"ɵted":{"__symbolic":"function"},"ɵunv":{"__symbolic":"function"},"ɵvid":{"__symbolic":"function"},"AUTO_STYLE":"*","trigger":{"__symbolic":"function","parameters":["name","definitions"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵy"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"definitions"}]}},"animate":{"__symbolic":"function","parameters":["timings","styles"],"defaults":[null,null],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵz"},"arguments":[{"__symbolic":"reference","name":"timings"},{"__symbolic":"reference","name":"styles"}]}},"group":{"__symbolic":"function","parameters":["steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵba"},"arguments":[{"__symbolic":"reference","name":"steps"}]}},"sequence":{"__symbolic":"function","parameters":["steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbb"},"arguments":[{"__symbolic":"reference","name":"steps"}]}},"style":{"__symbolic":"function","parameters":["tokens"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbc"},"arguments":[{"__symbolic":"reference","name":"tokens"}]}},"state":{"__symbolic":"function","parameters":["name","styles"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbd"},"arguments":[{"__symbolic":"reference","name":"name"},{"__symbolic":"reference","name":"styles"}]}},"keyframes":{"__symbolic":"function","parameters":["steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbe"},"arguments":[{"__symbolic":"reference","name":"steps"}]}},"transition":{"__symbolic":"function","parameters":["stateChangeExpr","steps"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"ɵbf"},"arguments":[{"__symbolic":"reference","name":"stateChangeExpr"},{"__symbolic":"reference","name":"steps"}]}},"ɵx":{"State":0,"Transition":1,"Sequence":2,"Group":3,"Animate":4,"KeyframeSequence":5,"Style":6},"ɵy":{"__symbolic":"function","parameters":["name","definitions"],"value":{"name":{"__symbolic":"reference","name":"name"},"definitions":{"__symbolic":"reference","name":"definitions"}}},"ɵz":{"__symbolic":"function","parameters":["timings","styles"],"defaults":[null,null],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵx"},"member":"Animate"},"styles":{"__symbolic":"reference","name":"styles"},"timings":{"__symbolic":"reference","name":"timings"}}},"ɵba":{"__symbolic":"function","parameters":["steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵx"},"member":"Group"},"steps":{"__symbolic":"reference","name":"steps"}}},"ɵbb":{"__symbolic":"function","parameters":["steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵx"},"member":"Sequence"},"steps":{"__symbolic":"reference","name":"steps"}}},"ɵbc":{"__symbolic":"function","parameters":["tokens"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵx"},"member":"Style"},"styles":{"__symbolic":"reference","name":"tokens"}}},"ɵbd":{"__symbolic":"function","parameters":["name","styles"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵx"},"member":"State"},"name":{"__symbolic":"reference","name":"name"},"styles":{"__symbolic":"reference","name":"styles"}}},"ɵbe":{"__symbolic":"function","parameters":["steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵx"},"member":"KeyframeSequence"},"steps":{"__symbolic":"reference","name":"steps"}}},"ɵbf":{"__symbolic":"function","parameters":["stateChangeExpr","steps"],"value":{"type":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ɵx"},"member":"Transition"},"expr":{"__symbolic":"reference","name":"stateChangeExpr"},"animation":{"__symbolic":"reference","name":"steps"}}}},"importAs":"@angular/core"}

@@ -1,2 +0,1 @@

export { looseIdentical } from '../facade/lang';
export declare function devModeEqual(a: any, b: any): boolean;

@@ -49,1 +48,5 @@ /**

}
export declare function isListLikeIterable(obj: any): boolean;
export declare function areIterablesEqual(a: any, b: any, comparator: (a: any, b: any) => boolean): boolean;
export declare function iterateListLike(obj: any, fn: (p: any) => any): void;
export declare function isJsObject(o: any): boolean;
import { IterableDiffers } from './differs/iterable_differs';
import { KeyValueDiffers } from './differs/keyvalue_differs';
export { SimpleChanges } from '../metadata/lifecycle_hooks';
export { SimpleChange, ValueUnwrapper, WrappedValue, devModeEqual, looseIdentical } from './change_detection_util';
export { SimpleChange, ValueUnwrapper, WrappedValue, devModeEqual } from './change_detection_util';
export { ChangeDetectorRef } from './change_detector_ref';

@@ -6,0 +6,0 @@ export { ChangeDetectionStrategy, ChangeDetectorStatus, isDefaultChangeDetectionStrategy } from './constants';

/**
* @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
*/
/**
* Describes within the change detector which strategy will be used the next time change

@@ -3,0 +10,0 @@ * detection is triggered.

@@ -158,1 +158,2 @@ /**

}
export declare function getTypeNameForDebugging(type: any): string;

@@ -12,2 +12,2 @@ /**

export { reflector as ɵreflector } from './reflection/reflection';
export { ArgumentType as ɵArgumentType, BindingType as ɵBindingType, DepFlags as ɵDepFlags, EMPTY_ARRAY as ɵEMPTY_ARRAY, EMPTY_MAP as ɵEMPTY_MAP, NodeFlags as ɵNodeFlags, QueryBindingType as ɵQueryBindingType, QueryValueType as ɵQueryValueType, ViewDefinition as ɵViewDefinition, ViewFlags as ɵViewFlags, anchorDef as ɵand, createComponentFactory as ɵccf, createRendererTypeV2 as ɵcrt, directiveDef as ɵdid, elementDef as ɵeld, elementEventFullName as ɵelementEventFullName, getComponentViewDefinitionFactory as ɵgetComponentViewDefinitionFactory, inlineInterpolate as ɵinlineInterpolate, interpolate as ɵinterpolate, ngContentDef as ɵncd, nodeValue as ɵnov, pipeDef as ɵpid, providerDef as ɵprd, pureArrayDef as ɵpad, pureObjectDef as ɵpod, purePipeDef as ɵppd, queryDef as ɵqud, textDef as ɵted, unwrapValue as ɵunv, viewDef as ɵvid } from './view/index';
export { ArgumentType as ɵArgumentType, BindingType as ɵBindingType, DepFlags as ɵDepFlags, EMPTY_ARRAY as ɵEMPTY_ARRAY, EMPTY_MAP as ɵEMPTY_MAP, NodeFlags as ɵNodeFlags, QueryBindingType as ɵQueryBindingType, QueryValueType as ɵQueryValueType, ViewDefinition as ɵViewDefinition, ViewFlags as ɵViewFlags, anchorDef as ɵand, createComponentFactory as ɵccf, createRendererType2 as ɵcrt, directiveDef as ɵdid, elementDef as ɵeld, elementEventFullName as ɵelementEventFullName, getComponentViewDefinitionFactory as ɵgetComponentViewDefinitionFactory, inlineInterpolate as ɵinlineInterpolate, interpolate as ɵinterpolate, ngContentDef as ɵncd, nodeValue as ɵnov, pipeDef as ɵpid, providerDef as ɵprd, pureArrayDef as ɵpad, pureObjectDef as ɵpod, purePipeDef as ɵppd, queryDef as ɵqud, textDef as ɵted, unwrapValue as ɵunv, viewDef as ɵvid } from './view/index';

@@ -11,2 +11,3 @@ /**

export { ValueUnwrapper as ɵValueUnwrapper, devModeEqual as ɵdevModeEqual } from './change_detection/change_detection_util';
export { isListLikeIterable as ɵisListLikeIterable } from './change_detection/change_detection_util';
export { ChangeDetectorStatus as ɵChangeDetectorStatus, isDefaultChangeDetectionStrategy as ɵisDefaultChangeDetectionStrategy } from './change_detection/constants';

@@ -24,3 +25,4 @@ export { Console as ɵConsole } from './console';

export { DirectRenderer as ɵDirectRenderer, RenderDebugInfo as ɵRenderDebugInfo } from './render/api';
export { global as ɵglobal, looseIdentical as ɵlooseIdentical, stringify as ɵstringify } from './util';
export { makeDecorator as ɵmakeDecorator } from './util/decorators';
export { isObservable as ɵisObservable, isPromise as ɵisPromise } from './util/lang';
export { isObservable as ɵisObservable, isPromise as ɵisPromise, merge as ɵmerge } from './util/lang';

@@ -15,3 +15,3 @@ /**

export * from './version';
export * from './util';
export { Class, ClassDefinition, TypeDecorator } from './util/decorators';
export * from './di';

@@ -24,3 +24,3 @@ export { createPlatform, assertPlatform, destroyPlatform, getPlatform, PlatformRef, ApplicationRef, enableProdMode, isDevMode, createPlatformFactory, NgProbeToken } from './application_ref';

export * from './linker';
export { DebugElement, DebugNode, asNativeElements, getDebugNode } from './debug/debug_node';
export { DebugElement, DebugNode, asNativeElements, getDebugNode, Predicate } from './debug/debug_node';
export { GetTestability, Testability, TestabilityRegistry, setTestabilityGetter } from './testability/testability';

@@ -33,3 +33,3 @@ export * from './change_detection';

export { Type } from './type';
export { EventEmitter } from './facade/async';
export { EventEmitter } from './event_emitter';
export { ErrorHandler } from './error_handler';

@@ -36,0 +36,0 @@ export * from './core_private_export';

@@ -9,3 +9,2 @@ /**

import { Injector } from '../di';
import { Predicate } from '../facade/collection';
import { RenderDebugInfo } from '../render/api';

@@ -76,1 +75,10 @@ export declare class EventListener {

export declare function removeDebugNodeFromIndex(node: DebugNode): void;
/**
* A boolean-valued function over a value, possibly including context information
* regarding that value's position in an array.
*
* @experimental All debugging apis are currently experimental.
*/
export interface Predicate<T> {
(value: T, index?: number, array?: T[]): boolean;
}

@@ -0,1 +1,8 @@

/**
* @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
*/
import { Type } from '../type';

@@ -2,0 +9,0 @@ /**

@@ -0,1 +1,8 @@

/**
* @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
*/
import { Type } from '../type';

@@ -2,0 +9,0 @@ import { InjectionToken } from './injection_token';

@@ -74,2 +74,5 @@ /**

export declare type CompilerOptions = {
/**
* @deprecated since v4 this option has no effect anymore.
*/
useDebug?: boolean;

@@ -76,0 +79,0 @@ useJit?: boolean;

@@ -0,1 +1,8 @@

/**
* @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
*/
import { Type } from '../type';

@@ -2,0 +9,0 @@ import { ComponentFactory } from './component_factory';

@@ -8,3 +8,3 @@ /**

*/
import { Observable } from '../facade/async';
import { Observable } from 'rxjs/Observable';
/**

@@ -11,0 +11,0 @@ * An unmodifiable list of items that Angular keeps up to date when the state

@@ -0,1 +1,8 @@

/**
* @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
*/
import { Type } from '../type';

@@ -2,0 +9,0 @@ import { PlatformReflectionCapabilities } from './platform_reflection_capabilities';

@@ -8,2 +8,2 @@ /**

*/
export { RenderComponentType, Renderer, RendererFactoryV2, RendererTypeV2, RendererV2, RootRenderer } from './render/api';
export { RenderComponentType, Renderer, Renderer2, RendererFactory2, RendererType2, RootRenderer } from './render/api';

@@ -11,3 +11,3 @@ /**

/**
* @deprecated Use `RendererTypeV2` (and `RendererV2`) instead.
* @deprecated Use `RendererType2` (and `Renderer2`) instead.
*/

@@ -37,3 +37,3 @@ export declare class RenderComponentType {

/**
* @deprecated Use the `RendererV2` instead.
* @deprecated Use the `Renderer2` instead.
*/

@@ -48,3 +48,3 @@ export interface DirectRenderer {

/**
* @deprecated Use the `RendererV2` instead.
* @deprecated Use the `Renderer2` instead.
*/

@@ -75,3 +75,3 @@ export declare abstract class Renderer {

}
export declare const RendererV2Interceptor: InjectionToken<RendererV2[]>;
export declare const Renderer2Interceptor: InjectionToken<Renderer2[]>;
/**

@@ -89,3 +89,3 @@ * Injectable service that provides a low-level interface for modifying the UI.

*
* @deprecated Use `RendererFactoryV2` instead.
* @deprecated Use `RendererFactory2` instead.
*/

@@ -98,3 +98,3 @@ export declare abstract class RootRenderer {

*/
export interface RendererTypeV2 {
export interface RendererType2 {
id: string;

@@ -110,4 +110,4 @@ encapsulation: ViewEncapsulation;

*/
export declare abstract class RendererFactoryV2 {
abstract createRenderer(hostElement: any, type: RendererTypeV2): RendererV2;
export declare abstract class RendererFactory2 {
abstract createRenderer(hostElement: any, type: RendererType2): Renderer2;
}

@@ -117,3 +117,3 @@ /**

*/
export declare abstract class RendererV2 {
export declare abstract class Renderer2 {
/**

@@ -160,3 +160,3 @@ * This field can be used to store arbitrary data on this renderer instance.

abstract setValue(node: any, value: string): void;
abstract listen(target: 'window' | 'document' | 'body' | any, eventName: string, callback: (event: any) => boolean): () => void;
abstract listen(target: 'window' | 'document' | 'body' | any, eventName: string, callback: (event: any) => boolean | void): () => void;
}

@@ -1,8 +0,8 @@

/**
* @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
*/
export { Class, ClassDefinition, TypeDecorator } from './util/decorators';
declare const _global: {
[name: string]: any;
};
export { _global as global };
export declare function getSymbolIterator(): string | symbol;
export declare function scheduleMicroTask(fn: Function): void;
export declare function looseIdentical(a: any, b: any): boolean;
export declare function stringify(token: any): string;

@@ -0,1 +1,8 @@

/**
* @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
*/
import { Type } from '../type';

@@ -2,0 +9,0 @@ /**

@@ -17,1 +17,8 @@ /**

export declare function isObservable(obj: any | Observable<any>): obj is Observable<any>;
export declare function merge<V>(m1: {
[key: string]: V;
}, m2: {
[key: string]: V;
}): {
[key: string]: V;
};

@@ -1,6 +0,6 @@

import { RendererTypeV2 } from '../render/api';
import { RendererType2 } from '../render/api';
import { SecurityContext } from '../security';
import { BindingType, ElementData, ElementHandleEventFn, NodeDef, NodeFlags, QueryValueType, ViewData, ViewDefinition, ViewDefinitionFactory } from './types';
export declare function anchorDef(flags: NodeFlags, matchedQueriesDsl: [string | number, QueryValueType][], ngContentIndex: number, childCount: number, handleEvent?: ElementHandleEventFn, templateFactory?: ViewDefinitionFactory): NodeDef;
export declare function elementDef(flags: NodeFlags, matchedQueriesDsl: [string | number, QueryValueType][], ngContentIndex: number, childCount: number, namespaceAndName: string, fixedAttrs?: [string, string][], bindings?: ([BindingType.ElementClass, string] | [BindingType.ElementStyle, string, string] | [BindingType.ElementAttribute | BindingType.ElementProperty | BindingType.ComponentHostProperty, string, SecurityContext])[], outputs?: ([string, string])[], handleEvent?: ElementHandleEventFn, componentView?: () => ViewDefinition, componentRendererType?: RendererTypeV2): NodeDef;
export declare function elementDef(flags: NodeFlags, matchedQueriesDsl: [string | number, QueryValueType][], ngContentIndex: number, childCount: number, namespaceAndName: string, fixedAttrs?: [string, string][], bindings?: ([BindingType.ElementClass, string] | [BindingType.ElementStyle, string, string] | [BindingType.ElementAttribute | BindingType.ElementProperty | BindingType.ComponentHostProperty, string, SecurityContext])[], outputs?: ([string, string])[], handleEvent?: ElementHandleEventFn, componentView?: () => ViewDefinition, componentRendererType?: RendererType2): NodeDef;
export declare function createElement(view: ViewData, renderHost: any, def: NodeDef): ElementData;

@@ -7,0 +7,0 @@ export declare function listenToElementOutputs(view: ViewData, compView: ViewData, def: NodeDef, el: any): void;

@@ -16,5 +16,5 @@ /**

export { textDef } from './text';
export { EMPTY_ARRAY, EMPTY_MAP, createRendererTypeV2, elementEventFullName, inlineInterpolate, interpolate, rootRenderNodes, unwrapValue } from './util';
export { EMPTY_ARRAY, EMPTY_MAP, createRendererType2, elementEventFullName, inlineInterpolate, interpolate, rootRenderNodes, unwrapValue } from './util';
export { viewDef } from './view';
export { attachEmbeddedView, detachEmbeddedView, moveEmbeddedView } from './view_attach';
export * from './types';
import { Injector } from '../di';
import { QueryList } from '../linker/query_list';
import { RendererFactoryV2, RendererTypeV2, RendererV2 } from '../render/api';
import { Renderer2, RendererFactory2, RendererType2 } from '../render/api';
import { Sanitizer, SecurityContext } from '../security';

@@ -180,3 +180,3 @@ export interface ViewDefinition {

componentProvider: NodeDef;
componentRendererType: RendererTypeV2;
componentRendererType: RendererType2;
componentView: ViewDefinitionFactory;

@@ -254,3 +254,3 @@ /**

root: RootData;
renderer: RendererV2;
renderer: Renderer2;
parentNodeDef: NodeDef;

@@ -351,4 +351,4 @@ parent: ViewData;

selectorOrNode: any;
renderer: RendererV2;
rendererFactory: RendererFactoryV2;
renderer: Renderer2;
rendererFactory: RendererFactory2;
sanitizer: Sanitizer;

@@ -355,0 +355,0 @@ }

import { ViewEncapsulation } from '../metadata/view';
import { RendererTypeV2 } from '../render/api';
import { RendererType2 } from '../render/api';
import { ElementData, NodeDef, QueryValueType, ViewData, ViewDefinition, ViewDefinitionFactory } from './types';
export declare function tokenKey(token: any): string;
export declare function unwrapValue(value: any): any;
export declare function createRendererTypeV2(values: {
export declare function createRendererType2(values: {
styles: (string | any[])[];

@@ -12,3 +12,3 @@ encapsulation: ViewEncapsulation;

};
}): RendererTypeV2;
}): RendererType2;
export declare function checkBinding(view: ViewData, def: NodeDef, bindingIdx: number, value: any): boolean;

@@ -15,0 +15,0 @@ export declare function checkAndUpdateBinding(view: ViewData, def: NodeDef, bindingIdx: number, value: any): boolean;

@@ -8,3 +8,3 @@ /**

*/
import { EventEmitter } from '../facade/async';
import { EventEmitter } from '../event_emitter';
/**

@@ -11,0 +11,0 @@ * An injectable service for executing work inside or outside of the Angular zone.

@@ -13,8 +13,2 @@ /**

*/
export * from './async';
export * from './component_fixture';
export * from './fake_async';
export * from './test_bed';
export * from './before_each';
export * from './metadata_override';
export * from './private_export_testing';
export * from './src/testing';

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./async"},{"from":"./component_fixture"},{"from":"./fake_async"},{"from":"./test_bed"},{"from":"./before_each"},{"from":"./metadata_override"},{"from":"./private_export_testing"}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./async"},{"from":"./component_fixture"},{"from":"./fake_async"},{"from":"./test_bed"},{"from":"./before_each"},{"from":"./metadata_override"},{"from":"./private_export_testing"}]}]
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./src/testing"}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./src/testing"}]}]

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc