webpackJsonp([9,10],[ /* 0 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var root_1 = __webpack_require__(27); var toSubscriber_1 = __webpack_require__(1131); var observable_1 = __webpack_require__(138); var pipe_1 = __webpack_require__(299); /** * A representation of any set of values over any amount of time. This is the most basic building block * of RxJS. * * @class Observable */ var Observable = (function () { /** * @constructor * @param {Function} subscribe the function that is called when the Observable is * initially subscribed to. This function is given a Subscriber, to which new values * can be `next`ed, or an `error` method can be called to raise an error, or * `complete` can be called to notify of a successful completion. */ function Observable(subscribe) { this._isScalar = false; if (subscribe) { this._subscribe = subscribe; } } /** * Creates a new Observable, with this Observable as the source, and the passed * operator defined as the new observable's operator. * @method lift * @param {Operator} operator the operator defining the operation to take on the observable * @return {Observable} a new observable with the Operator applied */ Observable.prototype.lift = function (operator) { var observable = new Observable(); observable.source = this; observable.operator = operator; return observable; }; /** * Invokes an execution of an Observable and registers Observer handlers for notifications it will emit. * * Use it when you have all these Observables, but still nothing is happening. * * `subscribe` is not a regular operator, but a method that calls Observable's internal `subscribe` function. It * might be for example a function that you passed to a {@link create} static factory, but most of the time it is * a library implementation, which defines what and when will be emitted by an Observable. This means that calling * `subscribe` is actually the moment when Observable starts its work, not when it is created, as it is often * thought. * * Apart from starting the execution of an Observable, this method allows you to listen for values * that an Observable emits, as well as for when it completes or errors. You can achieve this in two * following ways. * * The first way is creating an object that implements {@link Observer} interface. It should have methods * defined by that interface, but note that it should be just a regular JavaScript object, which you can create * yourself in any way you want (ES6 class, classic function constructor, object literal etc.). In particular do * not attempt to use any RxJS implementation details to create Observers - you don't need them. Remember also * that your object does not have to implement all methods. If you find yourself creating a method that doesn't * do anything, you can simply omit it. Note however, that if `error` method is not provided, all errors will * be left uncaught. * * The second way is to give up on Observer object altogether and simply provide callback functions in place of its methods. * This means you can provide three functions as arguments to `subscribe`, where first function is equivalent * of a `next` method, second of an `error` method and third of a `complete` method. Just as in case of Observer, * if you do not need to listen for something, you can omit a function, preferably by passing `undefined` or `null`, * since `subscribe` recognizes these functions by where they were placed in function call. When it comes * to `error` function, just as before, if not provided, errors emitted by an Observable will be thrown. * * Whatever style of calling `subscribe` you use, in both cases it returns a Subscription object. * This object allows you to call `unsubscribe` on it, which in turn will stop work that an Observable does and will clean * up all resources that an Observable used. Note that cancelling a subscription will not call `complete` callback * provided to `subscribe` function, which is reserved for a regular completion signal that comes from an Observable. * * Remember that callbacks provided to `subscribe` are not guaranteed to be called asynchronously. * It is an Observable itself that decides when these functions will be called. For example {@link of} * by default emits all its values synchronously. Always check documentation for how given Observable * will behave when subscribed and if its default behavior can be modified with a {@link Scheduler}. * * @example Subscribe with an Observer * const sumObserver = { * sum: 0, * next(value) { * console.log('Adding: ' + value); * this.sum = this.sum + value; * }, * error() { // We actually could just remove this method, * }, // since we do not really care about errors right now. * complete() { * console.log('Sum equals: ' + this.sum); * } * }; * * Rx.Observable.of(1, 2, 3) // Synchronously emits 1, 2, 3 and then completes. * .subscribe(sumObserver); * * // Logs: * // "Adding: 1" * // "Adding: 2" * // "Adding: 3" * // "Sum equals: 6" * * * @example Subscribe with functions * let sum = 0; * * Rx.Observable.of(1, 2, 3) * .subscribe( * function(value) { * console.log('Adding: ' + value); * sum = sum + value; * }, * undefined, * function() { * console.log('Sum equals: ' + sum); * } * ); * * // Logs: * // "Adding: 1" * // "Adding: 2" * // "Adding: 3" * // "Sum equals: 6" * * * @example Cancel a subscription * const subscription = Rx.Observable.interval(1000).subscribe( * num => console.log(num), * undefined, * () => console.log('completed!') // Will not be called, even * ); // when cancelling subscription * * * setTimeout(() => { * subscription.unsubscribe(); * console.log('unsubscribed!'); * }, 2500); * * // Logs: * // 0 after 1s * // 1 after 2s * // "unsubscribed!" after 2.5s * * * @param {Observer|Function} observerOrNext (optional) Either an observer with methods to be called, * or the first of three possible handlers, which is the handler for each value emitted from the subscribed * Observable. * @param {Function} error (optional) A handler for a terminal event resulting from an error. If no error handler is provided, * the error will be thrown as unhandled. * @param {Function} complete (optional) A handler for a terminal event resulting from successful completion. * @return {ISubscription} a subscription reference to the registered handlers * @method subscribe */ Observable.prototype.subscribe = function (observerOrNext, error, complete) { var operator = this.operator; var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete); if (operator) { operator.call(sink, this.source); } else { sink.add(this.source || !sink.syncErrorThrowable ? this._subscribe(sink) : this._trySubscribe(sink)); } if (sink.syncErrorThrowable) { sink.syncErrorThrowable = false; if (sink.syncErrorThrown) { throw sink.syncErrorValue; } } return sink; }; Observable.prototype._trySubscribe = function (sink) { try { return this._subscribe(sink); } catch (err) { sink.syncErrorThrown = true; sink.syncErrorValue = err; sink.error(err); } }; /** * @method forEach * @param {Function} next a handler for each value emitted by the observable * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise * @return {Promise} a promise that either resolves on observable completion or * rejects with the handled error */ Observable.prototype.forEach = function (next, PromiseCtor) { var _this = this; if (!PromiseCtor) { if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) { PromiseCtor = root_1.root.Rx.config.Promise; } else if (root_1.root.Promise) { PromiseCtor = root_1.root.Promise; } } if (!PromiseCtor) { throw new Error('no Promise impl found'); } return new PromiseCtor(function (resolve, reject) { // Must be declared in a separate statement to avoid a RefernceError when // accessing subscription below in the closure due to Temporal Dead Zone. var subscription; subscription = _this.subscribe(function (value) { if (subscription) { // if there is a subscription, then we can surmise // the next handling is asynchronous. Any errors thrown // need to be rejected explicitly and unsubscribe must be // called manually try { next(value); } catch (err) { reject(err); subscription.unsubscribe(); } } else { // if there is NO subscription, then we're getting a nexted // value synchronously during subscription. We can just call it. // If it errors, Observable's `subscribe` will ensure the // unsubscription logic is called, then synchronously rethrow the error. // After that, Promise will trap the error and send it // down the rejection path. next(value); } }, reject, resolve); }); }; Observable.prototype._subscribe = function (subscriber) { return this.source.subscribe(subscriber); }; /** * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable * @method Symbol.observable * @return {Observable} this instance of the observable */ Observable.prototype[observable_1.observable] = function () { return this; }; /* tslint:enable:max-line-length */ /** * Used to stitch together functional operators into a chain. * @method pipe * @return {Observable} the Observable result of all of the operators having * been called in the order they were passed in. * * @example * * import { map, filter, scan } from 'rxjs/operators'; * * Rx.Observable.interval(1000) * .pipe( * filter(x => x % 2 === 0), * map(x => x + x), * scan((acc, x) => acc + x) * ) * .subscribe(x => console.log(x)) */ Observable.prototype.pipe = function () { var operations = []; for (var _i = 0; _i < arguments.length; _i++) { operations[_i - 0] = arguments[_i]; } if (operations.length === 0) { return this; } return pipe_1.pipeFromArray(operations)(this); }; /* tslint:enable:max-line-length */ Observable.prototype.toPromise = function (PromiseCtor) { var _this = this; if (!PromiseCtor) { if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) { PromiseCtor = root_1.root.Rx.config.Promise; } else if (root_1.root.Promise) { PromiseCtor = root_1.root.Promise; } } if (!PromiseCtor) { throw new Error('no Promise impl found'); } return new PromiseCtor(function (resolve, reject) { var value; _this.subscribe(function (x) { return value = x; }, function (err) { return reject(err); }, function () { return resolve(value); }); }); }; // HACK: Since TypeScript inherits static properties too, we have to // fight against TypeScript here so Subject can have a different static create signature /** * Creates a new cold Observable by calling the Observable constructor * @static true * @owner Observable * @method create * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor * @return {Observable} a new cold observable */ Observable.create = function (subscribe) { return new Observable(subscribe); }; return Observable; }()); exports.Observable = Observable; //# sourceMappingURL=Observable.js.map /***/ }), /* 1 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__src_core__ = __webpack_require__(597); /* unused harmony reexport createPlatform */ /* unused harmony reexport assertPlatform */ /* unused harmony reexport destroyPlatform */ /* unused harmony reexport getPlatform */ /* unused harmony reexport PlatformRef */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["i"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["a"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["H"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["L"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["j"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["W"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_15", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_15"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["M"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["k"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["l"]; }); /* unused harmony reexport ApplicationInitStatus */ /* unused harmony reexport DebugElement */ /* unused harmony reexport DebugNode */ /* unused harmony reexport asNativeElements */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["V"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["N"]; }); /* unused harmony reexport TestabilityRegistry */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Y"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_39", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_39"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_14", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_9"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["w"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["O"]; }); /* unused harmony reexport wtfCreateScope */ /* unused harmony reexport wtfLeave */ /* unused harmony reexport wtfStartTimeRange */ /* unused harmony reexport wtfEndTimeRange */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_26", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_18"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["J"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["P"]; }); /* unused harmony reexport AnimationTransitionEvent */ /* unused harmony reexport AnimationPlayer */ /* unused harmony reexport AnimationStyles */ /* unused harmony reexport AnimationKeyframe */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Q"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["U"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["m"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["z"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_28", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_28"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_1", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_1"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_27", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_27"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_29", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_29"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_30", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_30"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["d"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["A"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_3", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_2"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_2", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_3"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["e"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_4", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_4"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["v"]; }); /* unused harmony reexport AfterContentChecked */ /* unused harmony reexport AfterContentInit */ /* unused harmony reexport AfterViewChecked */ /* unused harmony reexport AfterViewInit */ /* unused harmony reexport DoCheck */ /* unused harmony reexport OnChanges */ /* unused harmony reexport OnDestroy */ /* unused harmony reexport OnInit */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_17", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_16"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_16", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_17"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["b"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["X"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["u"]; }); /* unused harmony reexport VERSION */ /* unused harmony reexport Class */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_5", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_5"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_25", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_19"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["n"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_0", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["Z"]; }); /* unused harmony reexport ResolvedReflectiveFactory */ /* unused harmony reexport ReflectiveKey */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["g"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["o"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["p"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["c"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_6", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_6"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["q"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["B"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["T"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_9", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_10"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["E"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["R"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_7", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_7"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["r"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_40", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_40"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_41", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_41"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_11", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_11"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_12", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_12"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_0"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["F"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["h"]; }); /* unused harmony reexport NgModuleRef */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["s"]; }); /* unused harmony reexport getModuleFactory */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_10", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_13"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["t"]; }); /* unused harmony reexport SystemJsNgModuleLoaderConfig */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["C"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["D"]; }); /* unused harmony reexport EmbeddedViewRef */ /* unused harmony reexport ViewRef */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_8", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_8"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["x"]; }); /* unused harmony reexport CollectionChangeRecord */ /* unused harmony reexport DefaultIterableDiffer */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["I"]; }); /* unused harmony reexport KeyValueChangeRecord */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["G"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_13", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_14"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["y"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["S"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["f"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["K"]; }); /* unused harmony reexport AnimationEntryMetadata */ /* unused harmony reexport AnimationStateMetadata */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_18", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_20"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_19", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_21"]; }); /* unused harmony reexport AnimationMetadata */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_21", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_22"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_20", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_23"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_22", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_24"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_23", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_25"]; }); /* unused harmony reexport AnimationSequenceMetadata */ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_24", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_26"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_35", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_31"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_38", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_32"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_37", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_33"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_34", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_34"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_32", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_35"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_36", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_36"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_33", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_37"]; }); /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "_31", function() { return __WEBPACK_IMPORTED_MODULE_0__src_core__["_38"]; }); /** * @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 */ /** * @module * @description * Entry point for all public APIs of the core package. */ //# sourceMappingURL=index.js.map /***/ }), /* 2 */ /***/ (function(module, exports, __webpack_require__) { var global = __webpack_require__(20); var core = __webpack_require__(19); var hide = __webpack_require__(53); var redefine = __webpack_require__(29); var ctx = __webpack_require__(91); var PROTOTYPE = 'prototype'; var $export = function (type, name, source) { var IS_FORCED = type & $export.F; var IS_GLOBAL = type & $export.G; var IS_STATIC = type & $export.S; var IS_PROTO = type & $export.P; var IS_BIND = type & $export.B; var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]; var exports = IS_GLOBAL ? core : core[name] || (core[name] = {}); var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {}); var key, own, out, exp; if (IS_GLOBAL) source = name; for (key in source) { // contains in native own = !IS_FORCED && target && target[key] !== undefined; // export native or passed out = (own ? target : source)[key]; // bind timers to global for call from export context exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global if (target) redefine(target, key, out, type & $export.U); // export if (exports[key] != out) hide(exports, key, exp); if (IS_PROTO && expProto[key] != out) expProto[key] = out; } }; global.core = core; // type bitmap $export.F = 1; // forced $export.G = 2; // global $export.S = 4; // static $export.P = 8; // proto $export.B = 16; // bind $export.W = 32; // wrap $export.U = 64; // safe $export.R = 128; // real proto method for `library` module.exports = $export; /***/ }), /* 3 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; 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 __()); }; var isFunction_1 = __webpack_require__(202); var Subscription_1 = __webpack_require__(21); var Observer_1 = __webpack_require__(432); var rxSubscriber_1 = __webpack_require__(199); /** * Implements the {@link Observer} interface and extends the * {@link Subscription} class. While the {@link Observer} is the public API for * consuming the values of an {@link Observable}, all Observers get converted to * a Subscriber, in order to provide Subscription-like capabilities such as * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for * implementing operators, but it is rarely used as a public API. * * @class Subscriber */ var Subscriber = (function (_super) { __extends(Subscriber, _super); /** * @param {Observer|function(value: T): void} [destinationOrNext] A partially * defined Observer or a `next` callback function. * @param {function(e: ?any): void} [error] The `error` callback of an * Observer. * @param {function(): void} [complete] The `complete` callback of an * Observer. */ function Subscriber(destinationOrNext, error, complete) { _super.call(this); this.syncErrorValue = null; this.syncErrorThrown = false; this.syncErrorThrowable = false; this.isStopped = false; switch (arguments.length) { case 0: this.destination = Observer_1.empty; break; case 1: if (!destinationOrNext) { this.destination = Observer_1.empty; break; } if (typeof destinationOrNext === 'object') { if (destinationOrNext instanceof Subscriber) { this.syncErrorThrowable = destinationOrNext.syncErrorThrowable; this.destination = destinationOrNext; this.destination.add(this); } else { this.syncErrorThrowable = true; this.destination = new SafeSubscriber(this, destinationOrNext); } break; } default: this.syncErrorThrowable = true; this.destination = new SafeSubscriber(this, destinationOrNext, error, complete); break; } } Subscriber.prototype[rxSubscriber_1.rxSubscriber] = function () { return this; }; /** * A static factory for a Subscriber, given a (potentially partial) definition * of an Observer. * @param {function(x: ?T): void} [next] The `next` callback of an Observer. * @param {function(e: ?any): void} [error] The `error` callback of an * Observer. * @param {function(): void} [complete] The `complete` callback of an * Observer. * @return {Subscriber} A Subscriber wrapping the (partially defined) * Observer represented by the given arguments. */ Subscriber.create = function (next, error, complete) { var subscriber = new Subscriber(next, error, complete); subscriber.syncErrorThrowable = false; return subscriber; }; /** * The {@link Observer} callback to receive notifications of type `next` from * the Observable, with a value. The Observable may call this method 0 or more * times. * @param {T} [value] The `next` value. * @return {void} */ Subscriber.prototype.next = function (value) { if (!this.isStopped) { this._next(value); } }; /** * The {@link Observer} callback to receive notifications of type `error` from * the Observable, with an attached {@link Error}. Notifies the Observer that * the Observable has experienced an error condition. * @param {any} [err] The `error` exception. * @return {void} */ Subscriber.prototype.error = function (err) { if (!this.isStopped) { this.isStopped = true; this._error(err); } }; /** * The {@link Observer} callback to receive a valueless notification of type * `complete` from the Observable. Notifies the Observer that the Observable * has finished sending push-based notifications. * @return {void} */ Subscriber.prototype.complete = function () { if (!this.isStopped) { this.isStopped = true; this._complete(); } }; Subscriber.prototype.unsubscribe = function () { if (this.closed) { return; } this.isStopped = true; _super.prototype.unsubscribe.call(this); }; Subscriber.prototype._next = function (value) { this.destination.next(value); }; Subscriber.prototype._error = function (err) { this.destination.error(err); this.unsubscribe(); }; Subscriber.prototype._complete = function () { this.destination.complete(); this.unsubscribe(); }; Subscriber.prototype._unsubscribeAndRecycle = function () { var _a = this, _parent = _a._parent, _parents = _a._parents; this._parent = null; this._parents = null; this.unsubscribe(); this.closed = false; this.isStopped = false; this._parent = _parent; this._parents = _parents; return this; }; return Subscriber; }(Subscription_1.Subscription)); exports.Subscriber = Subscriber; /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var SafeSubscriber = (function (_super) { __extends(SafeSubscriber, _super); function SafeSubscriber(_parentSubscriber, observerOrNext, error, complete) { _super.call(this); this._parentSubscriber = _parentSubscriber; var next; var context = this; if (isFunction_1.isFunction(observerOrNext)) { next = observerOrNext; } else if (observerOrNext) { next = observerOrNext.next; error = observerOrNext.error; complete = observerOrNext.complete; if (observerOrNext !== Observer_1.empty) { context = Object.create(observerOrNext); if (isFunction_1.isFunction(context.unsubscribe)) { this.add(context.unsubscribe.bind(context)); } context.unsubscribe = this.unsubscribe.bind(this); } } this._context = context; this._next = next; this._error = error; this._complete = complete; } SafeSubscriber.prototype.next = function (value) { if (!this.isStopped && this._next) { var _parentSubscriber = this._parentSubscriber; if (!_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._next, value); } else if (this.__tryOrSetError(_parentSubscriber, this._next, value)) { this.unsubscribe(); } } }; SafeSubscriber.prototype.error = function (err) { if (!this.isStopped) { var _parentSubscriber = this._parentSubscriber; if (this._error) { if (!_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(this._error, err); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, this._error, err); this.unsubscribe(); } } else if (!_parentSubscriber.syncErrorThrowable) { this.unsubscribe(); throw err; } else { _parentSubscriber.syncErrorValue = err; _parentSubscriber.syncErrorThrown = true; this.unsubscribe(); } } }; SafeSubscriber.prototype.complete = function () { var _this = this; if (!this.isStopped) { var _parentSubscriber = this._parentSubscriber; if (this._complete) { var wrappedComplete = function () { return _this._complete.call(_this._context); }; if (!_parentSubscriber.syncErrorThrowable) { this.__tryOrUnsub(wrappedComplete); this.unsubscribe(); } else { this.__tryOrSetError(_parentSubscriber, wrappedComplete); this.unsubscribe(); } } else { this.unsubscribe(); } } }; SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) { try { fn.call(this._context, value); } catch (err) { this.unsubscribe(); throw err; } }; SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) { try { fn.call(this._context, value); } catch (err) { parent.syncErrorValue = err; parent.syncErrorThrown = true; return true; } return false; }; SafeSubscriber.prototype._unsubscribe = function () { var _parentSubscriber = this._parentSubscriber; this._context = null; this._parentSubscriber = null; _parentSubscriber.unsubscribe(); }; return SafeSubscriber; }(Subscriber)); //# sourceMappingURL=Subscriber.js.map /***/ }), /* 4 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; 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 __()); }; var Subscriber_1 = __webpack_require__(3); /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ var OuterSubscriber = (function (_super) { __extends(OuterSubscriber, _super); function OuterSubscriber() { _super.apply(this, arguments); } OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) { this.destination.next(innerValue); }; OuterSubscriber.prototype.notifyError = function (error, innerSub) { this.destination.error(error); }; OuterSubscriber.prototype.notifyComplete = function (innerSub) { this.destination.complete(); }; return OuterSubscriber; }(Subscriber_1.Subscriber)); exports.OuterSubscriber = OuterSubscriber; //# sourceMappingURL=OuterSubscriber.js.map /***/ }), /* 5 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var root_1 = __webpack_require__(27); var isArrayLike_1 = __webpack_require__(531); var isPromise_1 = __webpack_require__(533); var isObject_1 = __webpack_require__(532); var Observable_1 = __webpack_require__(0); var iterator_1 = __webpack_require__(137); var InnerSubscriber_1 = __webpack_require__(851); var observable_1 = __webpack_require__(138); function subscribeToResult(outerSubscriber, result, outerValue, outerIndex) { var destination = new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex); if (destination.closed) { return null; } if (result instanceof Observable_1.Observable) { if (result._isScalar) { destination.next(result.value); destination.complete(); return null; } else { destination.syncErrorThrowable = true; return result.subscribe(destination); } } else if (isArrayLike_1.isArrayLike(result)) { for (var i = 0, len = result.length; i < len && !destination.closed; i++) { destination.next(result[i]); } if (!destination.closed) { destination.complete(); } } else if (isPromise_1.isPromise(result)) { result.then(function (value) { if (!destination.closed) { destination.next(value); destination.complete(); } }, function (err) { return destination.error(err); }) .then(null, function (err) { // Escaping the Promise trap: globally throw unhandled errors root_1.root.setTimeout(function () { throw err; }); }); return destination; } else if (result && typeof result[iterator_1.iterator] === 'function') { var iterator = result[iterator_1.iterator](); do { var item = iterator.next(); if (item.done) { destination.complete(); break; } destination.next(item.value); if (destination.closed) { break; } } while (true); } else if (result && typeof result[observable_1.observable] === 'function') { var obs = result[observable_1.observable](); if (typeof obs.subscribe !== 'function') { destination.error(new TypeError('Provided object does not correctly implement Symbol.observable')); } else { return obs.subscribe(new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex)); } } else { var value = isObject_1.isObject(result) ? 'an invalid object' : "'" + result + "'"; var msg = ("You provided " + value + " where a stream was expected.") + ' You can provide an Observable, Promise, Array, or Iterable.'; destination.error(new TypeError(msg)); } return null; } exports.subscribeToResult = subscribeToResult; //# sourceMappingURL=subscribeToResult.js.map /***/ }), /* 6 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export scheduleMicroTask */ /* unused harmony export global */ /* unused harmony export getTypeNameForDebugging */ /* harmony export (immutable) */ __webpack_exports__["c"] = isPresent; /* harmony export (immutable) */ __webpack_exports__["d"] = isBlank; /* harmony export (immutable) */ __webpack_exports__["a"] = isStrictStringMap; /* harmony export (immutable) */ __webpack_exports__["e"] = stringify; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return NumberWrapper; }); /* unused harmony export looseIdentical */ /* harmony export (immutable) */ __webpack_exports__["f"] = isJsObject; /* unused harmony export print */ /* unused harmony export warn */ /* unused harmony export setValueOnPath */ /* harmony export (immutable) */ __webpack_exports__["g"] = getSymbolIterator; /* harmony export (immutable) */ __webpack_exports__["b"] = isPrimitive; /* harmony export (immutable) */ __webpack_exports__["h"] = escapeRegExp; /** * @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 */ var /** @type {?} */ globalScope; if (typeof window === 'undefined') { if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) { // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492 globalScope = (self); } else { globalScope = (global); } } else { globalScope = (window); } /** * @param {?} fn * @return {?} */ function scheduleMicroTask(fn) { Zone.current.scheduleMicroTask('scheduleMicrotask', fn); } // Need to declare a new variable for global here since TypeScript // exports the original value of the symbol. var /** @type {?} */ _global = globalScope; /** * @param {?} type * @return {?} */ function getTypeNameForDebugging(type) { return type['name'] || typeof type; } // TODO: remove calls to assert in production environment // Note: Can't just export this and import in in other files // as `assert` is a reserved keyword in Dart _global.assert = function assert(condition) { // TODO: to be fixed properly via #2830, noop for now }; /** * @param {?} obj * @return {?} */ function isPresent(obj) { return obj != null; } /** * @param {?} obj * @return {?} */ function isBlank(obj) { return obj == null; } var /** @type {?} */ STRING_MAP_PROTO = Object.getPrototypeOf({}); /** * @param {?} obj * @return {?} */ function isStrictStringMap(obj) { return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO; } /** * @param {?} token * @return {?} */ 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 /** @type {?} */ res = token.toString(); var /** @type {?} */ newLineIndex = res.indexOf('\n'); return newLineIndex === -1 ? res : res.substring(0, newLineIndex); } var NumberWrapper = (function () { function NumberWrapper() { } /** * @param {?} text * @return {?} */ NumberWrapper.parseIntAutoRadix = function (text) { var /** @type {?} */ result = parseInt(text); if (isNaN(result)) { throw new Error('Invalid integer literal when parsing ' + text); } return result; }; /** * @param {?} value * @return {?} */ NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); }; return NumberWrapper; }()); /** * @param {?} a * @param {?} b * @return {?} */ function looseIdentical(a, b) { return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b); } /** * @param {?} o * @return {?} */ function isJsObject(o) { return o !== null && (typeof o === 'function' || typeof o === 'object'); } /** * @param {?} obj * @return {?} */ function print(obj) { // tslint:disable-next-line:no-console console.log(obj); } /** * @param {?} obj * @return {?} */ function warn(obj) { console.warn(obj); } /** * @param {?} global * @param {?} path * @param {?} value * @return {?} */ function setValueOnPath(global, path, value) { var /** @type {?} */ parts = path.split('.'); var /** @type {?} */ obj = global; while (parts.length > 1) { var /** @type {?} */ name_1 = parts.shift(); if (obj.hasOwnProperty(name_1) && obj[name_1] != null) { obj = obj[name_1]; } else { obj = obj[name_1] = {}; } } if (obj === undefined || obj === null) { obj = {}; } obj[parts.shift()] = value; } var /** @type {?} */ _symbolIterator = null; /** * @return {?} */ function getSymbolIterator() { if (!_symbolIterator) { if (((globalScope)).Symbol && Symbol.iterator) { _symbolIterator = Symbol.iterator; } else { // es6-shim specific logic var /** @type {?} */ keys = Object.getOwnPropertyNames(Map.prototype); for (var /** @type {?} */ i = 0; i < keys.length; ++i) { var /** @type {?} */ key = keys[i]; if (key !== 'entries' && key !== 'size' && ((Map)).prototype[key] === Map.prototype['entries']) { _symbolIterator = key; } } } } return _symbolIterator; } /** * @param {?} obj * @return {?} */ function isPrimitive(obj) { return !isJsObject(obj); } /** * @param {?} s * @return {?} */ function escapeRegExp(s) { return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); } //# sourceMappingURL=lang.js.map /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(70))) /***/ }), /* 7 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* WEBPACK VAR INJECTION */(function(global) {/* harmony export (immutable) */ __webpack_exports__["a"] = scheduleMicroTask; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return _global; }); /* harmony export (immutable) */ __webpack_exports__["l"] = getTypeNameForDebugging; /* harmony export (immutable) */ __webpack_exports__["b"] = isPresent; /* harmony export (immutable) */ __webpack_exports__["k"] = isBlank; /* unused harmony export isStrictStringMap */ /* harmony export (immutable) */ __webpack_exports__["c"] = stringify; /* unused harmony export NumberWrapper */ /* harmony export (immutable) */ __webpack_exports__["j"] = looseIdentical; /* harmony export (immutable) */ __webpack_exports__["e"] = isJsObject; /* harmony export (immutable) */ __webpack_exports__["g"] = print; /* harmony export (immutable) */ __webpack_exports__["h"] = warn; /* unused harmony export setValueOnPath */ /* harmony export (immutable) */ __webpack_exports__["f"] = getSymbolIterator; /* harmony export (immutable) */ __webpack_exports__["i"] = isPrimitive; /* unused harmony export escapeRegExp */ /** * @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 */ var /** @type {?} */ globalScope; if (typeof window === 'undefined') { if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) { // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492 globalScope = (self); } else { globalScope = (global); } } else { globalScope = (window); } /** * @param {?} fn * @return {?} */ function scheduleMicroTask(fn) { Zone.current.scheduleMicroTask('scheduleMicrotask', fn); } // Need to declare a new variable for global here since TypeScript // exports the original value of the symbol. var /** @type {?} */ _global = globalScope; /** * @param {?} type * @return {?} */ function getTypeNameForDebugging(type) { return type['name'] || typeof type; } // TODO: remove calls to assert in production environment // Note: Can't just export this and import in in other files // as `assert` is a reserved keyword in Dart _global.assert = function assert(condition) { // TODO: to be fixed properly via #2830, noop for now }; /** * @param {?} obj * @return {?} */ function isPresent(obj) { return obj != null; } /** * @param {?} obj * @return {?} */ function isBlank(obj) { return obj == null; } var /** @type {?} */ STRING_MAP_PROTO = Object.getPrototypeOf({}); /** * @param {?} obj * @return {?} */ function isStrictStringMap(obj) { return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO; } /** * @param {?} token * @return {?} */ 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 /** @type {?} */ res = token.toString(); var /** @type {?} */ newLineIndex = res.indexOf('\n'); return newLineIndex === -1 ? res : res.substring(0, newLineIndex); } var NumberWrapper = (function () { function NumberWrapper() { } /** * @param {?} text * @return {?} */ NumberWrapper.parseIntAutoRadix = function (text) { var /** @type {?} */ result = parseInt(text); if (isNaN(result)) { throw new Error('Invalid integer literal when parsing ' + text); } return result; }; /** * @param {?} value * @return {?} */ NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); }; return NumberWrapper; }()); /** * @param {?} a * @param {?} b * @return {?} */ function looseIdentical(a, b) { return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b); } /** * @param {?} o * @return {?} */ function isJsObject(o) { return o !== null && (typeof o === 'function' || typeof o === 'object'); } /** * @param {?} obj * @return {?} */ function print(obj) { // tslint:disable-next-line:no-console console.log(obj); } /** * @param {?} obj * @return {?} */ function warn(obj) { console.warn(obj); } /** * @param {?} global * @param {?} path * @param {?} value * @return {?} */ function setValueOnPath(global, path, value) { var /** @type {?} */ parts = path.split('.'); var /** @type {?} */ obj = global; while (parts.length > 1) { var /** @type {?} */ name_1 = parts.shift(); if (obj.hasOwnProperty(name_1) && obj[name_1] != null) { obj = obj[name_1]; } else { obj = obj[name_1] = {}; } } if (obj === undefined || obj === null) { obj = {}; } obj[parts.shift()] = value; } var /** @type {?} */ _symbolIterator = null; /** * @return {?} */ function getSymbolIterator() { if (!_symbolIterator) { if (((globalScope)).Symbol && Symbol.iterator) { _symbolIterator = Symbol.iterator; } else { // es6-shim specific logic var /** @type {?} */ keys = Object.getOwnPropertyNames(Map.prototype); for (var /** @type {?} */ i = 0; i < keys.length; ++i) { var /** @type {?} */ key = keys[i]; if (key !== 'entries' && key !== 'size' && ((Map)).prototype[key] === Map.prototype['entries']) { _symbolIterator = key; } } } } return _symbolIterator; } /** * @param {?} obj * @return {?} */ function isPrimitive(obj) { return !isJsObject(obj); } /** * @param {?} s * @return {?} */ function escapeRegExp(s) { return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); } //# sourceMappingURL=lang.js.map /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(70))) /***/ }), /* 8 */ /***/ (function(module, exports, __webpack_require__) { var isObject = __webpack_require__(11); module.exports = function (it) { if (!isObject(it)) throw TypeError(it + ' is not an object!'); return it; }; /***/ }), /* 9 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__facade_lang__ = __webpack_require__(6); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return TypeModifier; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return Type; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return BuiltinTypeName; }); /* unused harmony export BuiltinType */ /* unused harmony export ExpressionType */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return ArrayType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return MapType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return DYNAMIC_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return BOOL_TYPE; }); /* unused harmony export INT_TYPE */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return NUMBER_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return STRING_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return FUNCTION_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return NULL_TYPE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return BinaryOperator; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return Expression; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return BuiltinVar; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return ReadVarExpr; }); /* unused harmony export WriteVarExpr */ /* unused harmony export WriteKeyExpr */ /* unused harmony export WritePropExpr */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return BuiltinMethod; }); /* unused harmony export InvokeMethodExpr */ /* unused harmony export InvokeFunctionExpr */ /* unused harmony export InstantiateExpr */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return LiteralExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return ExternalExpr; }); /* unused harmony export ConditionalExpr */ /* unused harmony export NotExpr */ /* unused harmony export CastExpr */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return FnParam; }); /* unused harmony export FunctionExpr */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return BinaryOperatorExpr; }); /* unused harmony export ReadPropExpr */ /* unused harmony export ReadKeyExpr */ /* unused harmony export LiteralArrayExpr */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return LiteralMapEntry; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return LiteralMapExpr; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return THIS_EXPR; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return SUPER_EXPR; }); /* unused harmony export CATCH_ERROR_VAR */ /* unused harmony export CATCH_STACK_VAR */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return NULL_EXPR; }); /* unused harmony export TYPED_NULL_EXPR */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return StmtModifier; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return Statement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return DeclareVarStmt; }); /* unused harmony export DeclareFunctionStmt */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return ExpressionStatement; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return ReturnStatement; }); /* unused harmony export AbstractClassPart */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return ClassField; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return ClassMethod; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return ClassGetter; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return ClassStmt; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return IfStmt; }); /* unused harmony export CommentStmt */ /* unused harmony export TryCatchStmt */ /* unused harmony export ThrowStmt */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return ExpressionTransformer; }); /* unused harmony export RecursiveExpressionVisitor */ /* harmony export (immutable) */ __webpack_exports__["I"] = replaceVarInExpression; /* harmony export (immutable) */ __webpack_exports__["w"] = findReadVarNames; /* harmony export (immutable) */ __webpack_exports__["a"] = variable; /* harmony export (immutable) */ __webpack_exports__["g"] = importExpr; /* harmony export (immutable) */ __webpack_exports__["d"] = importType; /* harmony export (immutable) */ __webpack_exports__["P"] = expressionType; /* harmony export (immutable) */ __webpack_exports__["h"] = literalArr; /* harmony export (immutable) */ __webpack_exports__["l"] = literalMap; /* harmony export (immutable) */ __webpack_exports__["v"] = not; /* harmony export (immutable) */ __webpack_exports__["B"] = fn; /* harmony export (immutable) */ __webpack_exports__["f"] = literal; /** * @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 */ 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 __()); }; var TypeModifier = {}; TypeModifier.Const = 0; TypeModifier[TypeModifier.Const] = "Const"; /** * @abstract */ var Type = (function () { /** * @param {?=} modifiers */ function Type(modifiers) { if (modifiers === void 0) { modifiers = null; } this.modifiers = modifiers; if (!modifiers) { this.modifiers = []; } } /** * @abstract * @param {?} visitor * @param {?} context * @return {?} */ Type.prototype.visitType = function (visitor, context) { }; /** * @param {?} modifier * @return {?} */ Type.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; }; return Type; }()); function Type_tsickle_Closure_declarations() { /** @type {?} */ Type.prototype.modifiers; } var BuiltinTypeName = {}; BuiltinTypeName.Dynamic = 0; BuiltinTypeName.Bool = 1; BuiltinTypeName.String = 2; BuiltinTypeName.Int = 3; BuiltinTypeName.Number = 4; BuiltinTypeName.Function = 5; BuiltinTypeName.Null = 6; BuiltinTypeName[BuiltinTypeName.Dynamic] = "Dynamic"; BuiltinTypeName[BuiltinTypeName.Bool] = "Bool"; BuiltinTypeName[BuiltinTypeName.String] = "String"; BuiltinTypeName[BuiltinTypeName.Int] = "Int"; BuiltinTypeName[BuiltinTypeName.Number] = "Number"; BuiltinTypeName[BuiltinTypeName.Function] = "Function"; BuiltinTypeName[BuiltinTypeName.Null] = "Null"; var BuiltinType = (function (_super) { __extends(BuiltinType, _super); /** * @param {?} name * @param {?=} modifiers */ function BuiltinType(name, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; } /** * @param {?} visitor * @param {?} context * @return {?} */ BuiltinType.prototype.visitType = function (visitor, context) { return visitor.visitBuiltintType(this, context); }; return BuiltinType; }(Type)); function BuiltinType_tsickle_Closure_declarations() { /** @type {?} */ BuiltinType.prototype.name; } var ExpressionType = (function (_super) { __extends(ExpressionType, _super); /** * @param {?} value * @param {?=} typeParams * @param {?=} modifiers */ function ExpressionType(value, typeParams, modifiers) { if (typeParams === void 0) { typeParams = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.value = value; this.typeParams = typeParams; } /** * @param {?} visitor * @param {?} context * @return {?} */ ExpressionType.prototype.visitType = function (visitor, context) { return visitor.visitExpressionType(this, context); }; return ExpressionType; }(Type)); function ExpressionType_tsickle_Closure_declarations() { /** @type {?} */ ExpressionType.prototype.value; /** @type {?} */ ExpressionType.prototype.typeParams; } var ArrayType = (function (_super) { __extends(ArrayType, _super); /** * @param {?} of * @param {?=} modifiers */ function ArrayType(of, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.of = of; } /** * @param {?} visitor * @param {?} context * @return {?} */ ArrayType.prototype.visitType = function (visitor, context) { return visitor.visitArrayType(this, context); }; return ArrayType; }(Type)); function ArrayType_tsickle_Closure_declarations() { /** @type {?} */ ArrayType.prototype.of; } var MapType = (function (_super) { __extends(MapType, _super); /** * @param {?} valueType * @param {?=} modifiers */ function MapType(valueType, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.valueType = valueType; } /** * @param {?} visitor * @param {?} context * @return {?} */ MapType.prototype.visitType = function (visitor, context) { return visitor.visitMapType(this, context); }; return MapType; }(Type)); function MapType_tsickle_Closure_declarations() { /** @type {?} */ MapType.prototype.valueType; } var /** @type {?} */ DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic); var /** @type {?} */ BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool); var /** @type {?} */ INT_TYPE = new BuiltinType(BuiltinTypeName.Int); var /** @type {?} */ NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number); var /** @type {?} */ STRING_TYPE = new BuiltinType(BuiltinTypeName.String); var /** @type {?} */ FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function); var /** @type {?} */ NULL_TYPE = new BuiltinType(BuiltinTypeName.Null); var BinaryOperator = {}; BinaryOperator.Equals = 0; BinaryOperator.NotEquals = 1; BinaryOperator.Identical = 2; BinaryOperator.NotIdentical = 3; BinaryOperator.Minus = 4; BinaryOperator.Plus = 5; BinaryOperator.Divide = 6; BinaryOperator.Multiply = 7; BinaryOperator.Modulo = 8; BinaryOperator.And = 9; BinaryOperator.Or = 10; BinaryOperator.Lower = 11; BinaryOperator.LowerEquals = 12; BinaryOperator.Bigger = 13; BinaryOperator.BiggerEquals = 14; BinaryOperator[BinaryOperator.Equals] = "Equals"; BinaryOperator[BinaryOperator.NotEquals] = "NotEquals"; BinaryOperator[BinaryOperator.Identical] = "Identical"; BinaryOperator[BinaryOperator.NotIdentical] = "NotIdentical"; BinaryOperator[BinaryOperator.Minus] = "Minus"; BinaryOperator[BinaryOperator.Plus] = "Plus"; BinaryOperator[BinaryOperator.Divide] = "Divide"; BinaryOperator[BinaryOperator.Multiply] = "Multiply"; BinaryOperator[BinaryOperator.Modulo] = "Modulo"; BinaryOperator[BinaryOperator.And] = "And"; BinaryOperator[BinaryOperator.Or] = "Or"; BinaryOperator[BinaryOperator.Lower] = "Lower"; BinaryOperator[BinaryOperator.LowerEquals] = "LowerEquals"; BinaryOperator[BinaryOperator.Bigger] = "Bigger"; BinaryOperator[BinaryOperator.BiggerEquals] = "BiggerEquals"; /** * @abstract */ var Expression = (function () { /** * @param {?} type */ function Expression(type) { this.type = type; } /** * @abstract * @param {?} visitor * @param {?} context * @return {?} */ Expression.prototype.visitExpression = function (visitor, context) { }; /** * @param {?} name * @return {?} */ Expression.prototype.prop = function (name) { return new ReadPropExpr(this, name); }; /** * @param {?} index * @param {?=} type * @return {?} */ Expression.prototype.key = function (index, type) { if (type === void 0) { type = null; } return new ReadKeyExpr(this, index, type); }; /** * @param {?} name * @param {?} params * @return {?} */ Expression.prototype.callMethod = function (name, params) { return new InvokeMethodExpr(this, name, params); }; /** * @param {?} params * @return {?} */ Expression.prototype.callFn = function (params) { return new InvokeFunctionExpr(this, params); }; /** * @param {?} params * @param {?=} type * @return {?} */ Expression.prototype.instantiate = function (params, type) { if (type === void 0) { type = null; } return new InstantiateExpr(this, params, type); }; /** * @param {?} trueCase * @param {?=} falseCase * @return {?} */ Expression.prototype.conditional = function (trueCase, falseCase) { if (falseCase === void 0) { falseCase = null; } return new ConditionalExpr(this, trueCase, falseCase); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.equals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.notEquals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.identical = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.notIdentical = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.minus = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.plus = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.divide = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.multiply = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.modulo = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.and = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.And, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.or = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.lower = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.lowerEquals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.bigger = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs); }; /** * @param {?} rhs * @return {?} */ Expression.prototype.biggerEquals = function (rhs) { return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs); }; /** * @return {?} */ Expression.prototype.isBlank = function () { // Note: We use equals by purpose here to compare to null and undefined in JS. // We use the typed null to allow strictNullChecks to narrow types. return this.equals(TYPED_NULL_EXPR); }; /** * @param {?} type * @return {?} */ Expression.prototype.cast = function (type) { return new CastExpr(this, type); }; /** * @return {?} */ Expression.prototype.toStmt = function () { return new ExpressionStatement(this); }; return Expression; }()); function Expression_tsickle_Closure_declarations() { /** @type {?} */ Expression.prototype.type; } var BuiltinVar = {}; BuiltinVar.This = 0; BuiltinVar.Super = 1; BuiltinVar.CatchError = 2; BuiltinVar.CatchStack = 3; BuiltinVar[BuiltinVar.This] = "This"; BuiltinVar[BuiltinVar.Super] = "Super"; BuiltinVar[BuiltinVar.CatchError] = "CatchError"; BuiltinVar[BuiltinVar.CatchStack] = "CatchStack"; var ReadVarExpr = (function (_super) { __extends(ReadVarExpr, _super); /** * @param {?} name * @param {?=} type */ function ReadVarExpr(name, type) { if (type === void 0) { type = null; } _super.call(this, type); if (typeof name === 'string') { this.name = name; this.builtin = null; } else { this.name = null; this.builtin = name; } } /** * @param {?} visitor * @param {?} context * @return {?} */ ReadVarExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitReadVarExpr(this, context); }; /** * @param {?} value * @return {?} */ ReadVarExpr.prototype.set = function (value) { return new WriteVarExpr(this.name, value); }; return ReadVarExpr; }(Expression)); function ReadVarExpr_tsickle_Closure_declarations() { /** @type {?} */ ReadVarExpr.prototype.name; /** @type {?} */ ReadVarExpr.prototype.builtin; } var WriteVarExpr = (function (_super) { __extends(WriteVarExpr, _super); /** * @param {?} name * @param {?} value * @param {?=} type */ function WriteVarExpr(name, value, type) { if (type === void 0) { type = null; } _super.call(this, type || value.type); this.name = name; this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ WriteVarExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitWriteVarExpr(this, context); }; /** * @param {?=} type * @param {?=} modifiers * @return {?} */ WriteVarExpr.prototype.toDeclStmt = function (type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } return new DeclareVarStmt(this.name, this.value, type, modifiers); }; return WriteVarExpr; }(Expression)); function WriteVarExpr_tsickle_Closure_declarations() { /** @type {?} */ WriteVarExpr.prototype.value; /** @type {?} */ WriteVarExpr.prototype.name; } var WriteKeyExpr = (function (_super) { __extends(WriteKeyExpr, _super); /** * @param {?} receiver * @param {?} index * @param {?} value * @param {?=} type */ function WriteKeyExpr(receiver, index, value, type) { if (type === void 0) { type = null; } _super.call(this, type || value.type); this.receiver = receiver; this.index = index; this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ WriteKeyExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitWriteKeyExpr(this, context); }; return WriteKeyExpr; }(Expression)); function WriteKeyExpr_tsickle_Closure_declarations() { /** @type {?} */ WriteKeyExpr.prototype.value; /** @type {?} */ WriteKeyExpr.prototype.receiver; /** @type {?} */ WriteKeyExpr.prototype.index; } var WritePropExpr = (function (_super) { __extends(WritePropExpr, _super); /** * @param {?} receiver * @param {?} name * @param {?} value * @param {?=} type */ function WritePropExpr(receiver, name, value, type) { if (type === void 0) { type = null; } _super.call(this, type || value.type); this.receiver = receiver; this.name = name; this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ WritePropExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitWritePropExpr(this, context); }; return WritePropExpr; }(Expression)); function WritePropExpr_tsickle_Closure_declarations() { /** @type {?} */ WritePropExpr.prototype.value; /** @type {?} */ WritePropExpr.prototype.receiver; /** @type {?} */ WritePropExpr.prototype.name; } var BuiltinMethod = {}; BuiltinMethod.ConcatArray = 0; BuiltinMethod.SubscribeObservable = 1; BuiltinMethod.Bind = 2; BuiltinMethod[BuiltinMethod.ConcatArray] = "ConcatArray"; BuiltinMethod[BuiltinMethod.SubscribeObservable] = "SubscribeObservable"; BuiltinMethod[BuiltinMethod.Bind] = "Bind"; var InvokeMethodExpr = (function (_super) { __extends(InvokeMethodExpr, _super); /** * @param {?} receiver * @param {?} method * @param {?} args * @param {?=} type */ function InvokeMethodExpr(receiver, method, args, type) { if (type === void 0) { type = null; } _super.call(this, type); this.receiver = receiver; this.args = args; if (typeof method === 'string') { this.name = method; this.builtin = null; } else { this.name = null; this.builtin = method; } } /** * @param {?} visitor * @param {?} context * @return {?} */ InvokeMethodExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitInvokeMethodExpr(this, context); }; return InvokeMethodExpr; }(Expression)); function InvokeMethodExpr_tsickle_Closure_declarations() { /** @type {?} */ InvokeMethodExpr.prototype.name; /** @type {?} */ InvokeMethodExpr.prototype.builtin; /** @type {?} */ InvokeMethodExpr.prototype.receiver; /** @type {?} */ InvokeMethodExpr.prototype.args; } var InvokeFunctionExpr = (function (_super) { __extends(InvokeFunctionExpr, _super); /** * @param {?} fn * @param {?} args * @param {?=} type */ function InvokeFunctionExpr(fn, args, type) { if (type === void 0) { type = null; } _super.call(this, type); this.fn = fn; this.args = args; } /** * @param {?} visitor * @param {?} context * @return {?} */ InvokeFunctionExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitInvokeFunctionExpr(this, context); }; return InvokeFunctionExpr; }(Expression)); function InvokeFunctionExpr_tsickle_Closure_declarations() { /** @type {?} */ InvokeFunctionExpr.prototype.fn; /** @type {?} */ InvokeFunctionExpr.prototype.args; } var InstantiateExpr = (function (_super) { __extends(InstantiateExpr, _super); /** * @param {?} classExpr * @param {?} args * @param {?=} type */ function InstantiateExpr(classExpr, args, type) { _super.call(this, type); this.classExpr = classExpr; this.args = args; } /** * @param {?} visitor * @param {?} context * @return {?} */ InstantiateExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitInstantiateExpr(this, context); }; return InstantiateExpr; }(Expression)); function InstantiateExpr_tsickle_Closure_declarations() { /** @type {?} */ InstantiateExpr.prototype.classExpr; /** @type {?} */ InstantiateExpr.prototype.args; } var LiteralExpr = (function (_super) { __extends(LiteralExpr, _super); /** * @param {?} value * @param {?=} type */ function LiteralExpr(value, type) { if (type === void 0) { type = null; } _super.call(this, type); this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ LiteralExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitLiteralExpr(this, context); }; return LiteralExpr; }(Expression)); function LiteralExpr_tsickle_Closure_declarations() { /** @type {?} */ LiteralExpr.prototype.value; } var ExternalExpr = (function (_super) { __extends(ExternalExpr, _super); /** * @param {?} value * @param {?=} type * @param {?=} typeParams */ function ExternalExpr(value, type, typeParams) { if (type === void 0) { type = null; } if (typeParams === void 0) { typeParams = null; } _super.call(this, type); this.value = value; this.typeParams = typeParams; } /** * @param {?} visitor * @param {?} context * @return {?} */ ExternalExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitExternalExpr(this, context); }; return ExternalExpr; }(Expression)); function ExternalExpr_tsickle_Closure_declarations() { /** @type {?} */ ExternalExpr.prototype.value; /** @type {?} */ ExternalExpr.prototype.typeParams; } var ConditionalExpr = (function (_super) { __extends(ConditionalExpr, _super); /** * @param {?} condition * @param {?} trueCase * @param {?=} falseCase * @param {?=} type */ function ConditionalExpr(condition, trueCase, falseCase, type) { if (falseCase === void 0) { falseCase = null; } if (type === void 0) { type = null; } _super.call(this, type || trueCase.type); this.condition = condition; this.falseCase = falseCase; this.trueCase = trueCase; } /** * @param {?} visitor * @param {?} context * @return {?} */ ConditionalExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitConditionalExpr(this, context); }; return ConditionalExpr; }(Expression)); function ConditionalExpr_tsickle_Closure_declarations() { /** @type {?} */ ConditionalExpr.prototype.trueCase; /** @type {?} */ ConditionalExpr.prototype.condition; /** @type {?} */ ConditionalExpr.prototype.falseCase; } var NotExpr = (function (_super) { __extends(NotExpr, _super); /** * @param {?} condition */ function NotExpr(condition) { _super.call(this, BOOL_TYPE); this.condition = condition; } /** * @param {?} visitor * @param {?} context * @return {?} */ NotExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitNotExpr(this, context); }; return NotExpr; }(Expression)); function NotExpr_tsickle_Closure_declarations() { /** @type {?} */ NotExpr.prototype.condition; } var CastExpr = (function (_super) { __extends(CastExpr, _super); /** * @param {?} value * @param {?} type */ function CastExpr(value, type) { _super.call(this, type); this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ CastExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitCastExpr(this, context); }; return CastExpr; }(Expression)); function CastExpr_tsickle_Closure_declarations() { /** @type {?} */ CastExpr.prototype.value; } var FnParam = (function () { /** * @param {?} name * @param {?=} type */ function FnParam(name, type) { if (type === void 0) { type = null; } this.name = name; this.type = type; } return FnParam; }()); function FnParam_tsickle_Closure_declarations() { /** @type {?} */ FnParam.prototype.name; /** @type {?} */ FnParam.prototype.type; } var FunctionExpr = (function (_super) { __extends(FunctionExpr, _super); /** * @param {?} params * @param {?} statements * @param {?=} type */ function FunctionExpr(params, statements, type) { if (type === void 0) { type = null; } _super.call(this, type); this.params = params; this.statements = statements; } /** * @param {?} visitor * @param {?} context * @return {?} */ FunctionExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitFunctionExpr(this, context); }; /** * @param {?} name * @param {?=} modifiers * @return {?} */ FunctionExpr.prototype.toDeclStmt = function (name, modifiers) { if (modifiers === void 0) { modifiers = null; } return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers); }; return FunctionExpr; }(Expression)); function FunctionExpr_tsickle_Closure_declarations() { /** @type {?} */ FunctionExpr.prototype.params; /** @type {?} */ FunctionExpr.prototype.statements; } var BinaryOperatorExpr = (function (_super) { __extends(BinaryOperatorExpr, _super); /** * @param {?} operator * @param {?} lhs * @param {?} rhs * @param {?=} type */ function BinaryOperatorExpr(operator, lhs, rhs, type) { if (type === void 0) { type = null; } _super.call(this, type || lhs.type); this.operator = operator; this.rhs = rhs; this.lhs = lhs; } /** * @param {?} visitor * @param {?} context * @return {?} */ BinaryOperatorExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitBinaryOperatorExpr(this, context); }; return BinaryOperatorExpr; }(Expression)); function BinaryOperatorExpr_tsickle_Closure_declarations() { /** @type {?} */ BinaryOperatorExpr.prototype.lhs; /** @type {?} */ BinaryOperatorExpr.prototype.operator; /** @type {?} */ BinaryOperatorExpr.prototype.rhs; } var ReadPropExpr = (function (_super) { __extends(ReadPropExpr, _super); /** * @param {?} receiver * @param {?} name * @param {?=} type */ function ReadPropExpr(receiver, name, type) { if (type === void 0) { type = null; } _super.call(this, type); this.receiver = receiver; this.name = name; } /** * @param {?} visitor * @param {?} context * @return {?} */ ReadPropExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitReadPropExpr(this, context); }; /** * @param {?} value * @return {?} */ ReadPropExpr.prototype.set = function (value) { return new WritePropExpr(this.receiver, this.name, value); }; return ReadPropExpr; }(Expression)); function ReadPropExpr_tsickle_Closure_declarations() { /** @type {?} */ ReadPropExpr.prototype.receiver; /** @type {?} */ ReadPropExpr.prototype.name; } var ReadKeyExpr = (function (_super) { __extends(ReadKeyExpr, _super); /** * @param {?} receiver * @param {?} index * @param {?=} type */ function ReadKeyExpr(receiver, index, type) { if (type === void 0) { type = null; } _super.call(this, type); this.receiver = receiver; this.index = index; } /** * @param {?} visitor * @param {?} context * @return {?} */ ReadKeyExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitReadKeyExpr(this, context); }; /** * @param {?} value * @return {?} */ ReadKeyExpr.prototype.set = function (value) { return new WriteKeyExpr(this.receiver, this.index, value); }; return ReadKeyExpr; }(Expression)); function ReadKeyExpr_tsickle_Closure_declarations() { /** @type {?} */ ReadKeyExpr.prototype.receiver; /** @type {?} */ ReadKeyExpr.prototype.index; } var LiteralArrayExpr = (function (_super) { __extends(LiteralArrayExpr, _super); /** * @param {?} entries * @param {?=} type */ function LiteralArrayExpr(entries, type) { if (type === void 0) { type = null; } _super.call(this, type); this.entries = entries; } /** * @param {?} visitor * @param {?} context * @return {?} */ LiteralArrayExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitLiteralArrayExpr(this, context); }; return LiteralArrayExpr; }(Expression)); function LiteralArrayExpr_tsickle_Closure_declarations() { /** @type {?} */ LiteralArrayExpr.prototype.entries; } var LiteralMapEntry = (function () { /** * @param {?} key * @param {?} value * @param {?=} quoted */ function LiteralMapEntry(key, value, quoted) { if (quoted === void 0) { quoted = false; } this.key = key; this.value = value; this.quoted = quoted; } return LiteralMapEntry; }()); function LiteralMapEntry_tsickle_Closure_declarations() { /** @type {?} */ LiteralMapEntry.prototype.key; /** @type {?} */ LiteralMapEntry.prototype.value; /** @type {?} */ LiteralMapEntry.prototype.quoted; } var LiteralMapExpr = (function (_super) { __extends(LiteralMapExpr, _super); /** * @param {?} entries * @param {?=} type */ function LiteralMapExpr(entries, type) { if (type === void 0) { type = null; } _super.call(this, type); this.entries = entries; this.valueType = null; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__["c" /* isPresent */])(type)) { this.valueType = type.valueType; } } /** * @param {?} visitor * @param {?} context * @return {?} */ LiteralMapExpr.prototype.visitExpression = function (visitor, context) { return visitor.visitLiteralMapExpr(this, context); }; return LiteralMapExpr; }(Expression)); function LiteralMapExpr_tsickle_Closure_declarations() { /** @type {?} */ LiteralMapExpr.prototype.valueType; /** @type {?} */ LiteralMapExpr.prototype.entries; } var /** @type {?} */ THIS_EXPR = new ReadVarExpr(BuiltinVar.This); var /** @type {?} */ SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super); var /** @type {?} */ CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError); var /** @type {?} */ CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack); var /** @type {?} */ NULL_EXPR = new LiteralExpr(null, null); var /** @type {?} */ TYPED_NULL_EXPR = new LiteralExpr(null, NULL_TYPE); var StmtModifier = {}; StmtModifier.Final = 0; StmtModifier.Private = 1; StmtModifier[StmtModifier.Final] = "Final"; StmtModifier[StmtModifier.Private] = "Private"; /** * @abstract */ var Statement = (function () { /** * @param {?=} modifiers */ function Statement(modifiers) { if (modifiers === void 0) { modifiers = null; } this.modifiers = modifiers; if (!modifiers) { this.modifiers = []; } } /** * @abstract * @param {?} visitor * @param {?} context * @return {?} */ Statement.prototype.visitStatement = function (visitor, context) { }; /** * @param {?} modifier * @return {?} */ Statement.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; }; return Statement; }()); function Statement_tsickle_Closure_declarations() { /** @type {?} */ Statement.prototype.modifiers; } var DeclareVarStmt = (function (_super) { __extends(DeclareVarStmt, _super); /** * @param {?} name * @param {?} value * @param {?=} type * @param {?=} modifiers */ function DeclareVarStmt(name, value, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; this.value = value; this.type = type || value.type; } /** * @param {?} visitor * @param {?} context * @return {?} */ DeclareVarStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitDeclareVarStmt(this, context); }; return DeclareVarStmt; }(Statement)); function DeclareVarStmt_tsickle_Closure_declarations() { /** @type {?} */ DeclareVarStmt.prototype.type; /** @type {?} */ DeclareVarStmt.prototype.name; /** @type {?} */ DeclareVarStmt.prototype.value; } var DeclareFunctionStmt = (function (_super) { __extends(DeclareFunctionStmt, _super); /** * @param {?} name * @param {?} params * @param {?} statements * @param {?=} type * @param {?=} modifiers */ function DeclareFunctionStmt(name, params, statements, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; this.params = params; this.statements = statements; this.type = type; } /** * @param {?} visitor * @param {?} context * @return {?} */ DeclareFunctionStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitDeclareFunctionStmt(this, context); }; return DeclareFunctionStmt; }(Statement)); function DeclareFunctionStmt_tsickle_Closure_declarations() { /** @type {?} */ DeclareFunctionStmt.prototype.name; /** @type {?} */ DeclareFunctionStmt.prototype.params; /** @type {?} */ DeclareFunctionStmt.prototype.statements; /** @type {?} */ DeclareFunctionStmt.prototype.type; } var ExpressionStatement = (function (_super) { __extends(ExpressionStatement, _super); /** * @param {?} expr */ function ExpressionStatement(expr) { _super.call(this); this.expr = expr; } /** * @param {?} visitor * @param {?} context * @return {?} */ ExpressionStatement.prototype.visitStatement = function (visitor, context) { return visitor.visitExpressionStmt(this, context); }; return ExpressionStatement; }(Statement)); function ExpressionStatement_tsickle_Closure_declarations() { /** @type {?} */ ExpressionStatement.prototype.expr; } var ReturnStatement = (function (_super) { __extends(ReturnStatement, _super); /** * @param {?} value */ function ReturnStatement(value) { _super.call(this); this.value = value; } /** * @param {?} visitor * @param {?} context * @return {?} */ ReturnStatement.prototype.visitStatement = function (visitor, context) { return visitor.visitReturnStmt(this, context); }; return ReturnStatement; }(Statement)); function ReturnStatement_tsickle_Closure_declarations() { /** @type {?} */ ReturnStatement.prototype.value; } var AbstractClassPart = (function () { /** * @param {?=} type * @param {?} modifiers */ function AbstractClassPart(type, modifiers) { if (type === void 0) { type = null; } this.type = type; this.modifiers = modifiers; if (!modifiers) { this.modifiers = []; } } /** * @param {?} modifier * @return {?} */ AbstractClassPart.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; }; return AbstractClassPart; }()); function AbstractClassPart_tsickle_Closure_declarations() { /** @type {?} */ AbstractClassPart.prototype.type; /** @type {?} */ AbstractClassPart.prototype.modifiers; } var ClassField = (function (_super) { __extends(ClassField, _super); /** * @param {?} name * @param {?=} type * @param {?=} modifiers */ function ClassField(name, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, type, modifiers); this.name = name; } return ClassField; }(AbstractClassPart)); function ClassField_tsickle_Closure_declarations() { /** @type {?} */ ClassField.prototype.name; } var ClassMethod = (function (_super) { __extends(ClassMethod, _super); /** * @param {?} name * @param {?} params * @param {?} body * @param {?=} type * @param {?=} modifiers */ function ClassMethod(name, params, body, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, type, modifiers); this.name = name; this.params = params; this.body = body; } return ClassMethod; }(AbstractClassPart)); function ClassMethod_tsickle_Closure_declarations() { /** @type {?} */ ClassMethod.prototype.name; /** @type {?} */ ClassMethod.prototype.params; /** @type {?} */ ClassMethod.prototype.body; } var ClassGetter = (function (_super) { __extends(ClassGetter, _super); /** * @param {?} name * @param {?} body * @param {?=} type * @param {?=} modifiers */ function ClassGetter(name, body, type, modifiers) { if (type === void 0) { type = null; } if (modifiers === void 0) { modifiers = null; } _super.call(this, type, modifiers); this.name = name; this.body = body; } return ClassGetter; }(AbstractClassPart)); function ClassGetter_tsickle_Closure_declarations() { /** @type {?} */ ClassGetter.prototype.name; /** @type {?} */ ClassGetter.prototype.body; } var ClassStmt = (function (_super) { __extends(ClassStmt, _super); /** * @param {?} name * @param {?} parent * @param {?} fields * @param {?} getters * @param {?} constructorMethod * @param {?} methods * @param {?=} modifiers */ function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) { if (modifiers === void 0) { modifiers = null; } _super.call(this, modifiers); this.name = name; this.parent = parent; this.fields = fields; this.getters = getters; this.constructorMethod = constructorMethod; this.methods = methods; } /** * @param {?} visitor * @param {?} context * @return {?} */ ClassStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitDeclareClassStmt(this, context); }; return ClassStmt; }(Statement)); function ClassStmt_tsickle_Closure_declarations() { /** @type {?} */ ClassStmt.prototype.name; /** @type {?} */ ClassStmt.prototype.parent; /** @type {?} */ ClassStmt.prototype.fields; /** @type {?} */ ClassStmt.prototype.getters; /** @type {?} */ ClassStmt.prototype.constructorMethod; /** @type {?} */ ClassStmt.prototype.methods; } var IfStmt = (function (_super) { __extends(IfStmt, _super); /** * @param {?} condition * @param {?} trueCase * @param {?=} falseCase */ function IfStmt(condition, trueCase, falseCase) { if (falseCase === void 0) { falseCase = []; } _super.call(this); this.condition = condition; this.trueCase = trueCase; this.falseCase = falseCase; } /** * @param {?} visitor * @param {?} context * @return {?} */ IfStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitIfStmt(this, context); }; return IfStmt; }(Statement)); function IfStmt_tsickle_Closure_declarations() { /** @type {?} */ IfStmt.prototype.condition; /** @type {?} */ IfStmt.prototype.trueCase; /** @type {?} */ IfStmt.prototype.falseCase; } var CommentStmt = (function (_super) { __extends(CommentStmt, _super); /** * @param {?} comment */ function CommentStmt(comment) { _super.call(this); this.comment = comment; } /** * @param {?} visitor * @param {?} context * @return {?} */ CommentStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitCommentStmt(this, context); }; return CommentStmt; }(Statement)); function CommentStmt_tsickle_Closure_declarations() { /** @type {?} */ CommentStmt.prototype.comment; } var TryCatchStmt = (function (_super) { __extends(TryCatchStmt, _super); /** * @param {?} bodyStmts * @param {?} catchStmts */ function TryCatchStmt(bodyStmts, catchStmts) { _super.call(this); this.bodyStmts = bodyStmts; this.catchStmts = catchStmts; } /** * @param {?} visitor * @param {?} context * @return {?} */ TryCatchStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitTryCatchStmt(this, context); }; return TryCatchStmt; }(Statement)); function TryCatchStmt_tsickle_Closure_declarations() { /** @type {?} */ TryCatchStmt.prototype.bodyStmts; /** @type {?} */ TryCatchStmt.prototype.catchStmts; } var ThrowStmt = (function (_super) { __extends(ThrowStmt, _super); /** * @param {?} error */ function ThrowStmt(error) { _super.call(this); this.error = error; } /** * @param {?} visitor * @param {?} context * @return {?} */ ThrowStmt.prototype.visitStatement = function (visitor, context) { return visitor.visitThrowStmt(this, context); }; return ThrowStmt; }(Statement)); function ThrowStmt_tsickle_Closure_declarations() { /** @type {?} */ ThrowStmt.prototype.error; } var ExpressionTransformer = (function () { function ExpressionTransformer() { } /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast; }; /** * @param {?} expr * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitWriteVarExpr = function (expr, context) { return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context)); }; /** * @param {?} expr * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitWriteKeyExpr = function (expr, context) { return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context)); }; /** * @param {?} expr * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitWritePropExpr = function (expr, context) { return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitInvokeMethodExpr = function (ast, context) { var /** @type {?} */ method = ast.builtin || ast.name; return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitInvokeFunctionExpr = function (ast, context) { return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitInstantiateExpr = function (ast, context) { return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitLiteralExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitExternalExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitConditionalExpr = function (ast, context) { return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitNotExpr = function (ast, context) { return new NotExpr(ast.condition.visitExpression(this, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitCastExpr = function (ast, context) { return new CastExpr(ast.value.visitExpression(this, context), context); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitFunctionExpr = function (ast, context) { // Don't descend into nested functions return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitBinaryOperatorExpr = function (ast, context) { return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReadPropExpr = function (ast, context) { return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReadKeyExpr = function (ast, context) { return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitLiteralArrayExpr = function (ast, context) { return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context)); }; /** * @param {?} ast * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitLiteralMapExpr = function (ast, context) { var _this = this; var /** @type {?} */ entries = ast.entries.map(function (entry) { return new LiteralMapEntry(entry.key, entry.value.visitExpression(_this, context), entry.quoted); }); return new LiteralMapExpr(entries); }; /** * @param {?} exprs * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitAllExpressions = function (exprs, context) { var _this = this; return exprs.map(function (expr) { return expr.visitExpression(_this, context); }); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitDeclareVarStmt = function (stmt, context) { return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitDeclareFunctionStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitExpressionStmt = function (stmt, context) { return new ExpressionStatement(stmt.expr.visitExpression(this, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitReturnStmt = function (stmt, context) { return new ReturnStatement(stmt.value.visitExpression(this, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitDeclareClassStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitIfStmt = function (stmt, context) { return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitTryCatchStmt = function (stmt, context) { return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitThrowStmt = function (stmt, context) { return new ThrowStmt(stmt.error.visitExpression(this, context)); }; /** * @param {?} stmt * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitCommentStmt = function (stmt, context) { return stmt; }; /** * @param {?} stmts * @param {?} context * @return {?} */ ExpressionTransformer.prototype.visitAllStatements = function (stmts, context) { var _this = this; return stmts.map(function (stmt) { return stmt.visitStatement(_this, context); }); }; return ExpressionTransformer; }()); var RecursiveExpressionVisitor = (function () { function RecursiveExpressionVisitor() { } /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReadVarExpr = function (ast, context) { return ast; }; /** * @param {?} expr * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function (expr, context) { expr.value.visitExpression(this, context); return expr; }; /** * @param {?} expr * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function (expr, context) { expr.receiver.visitExpression(this, context); expr.index.visitExpression(this, context); expr.value.visitExpression(this, context); return expr; }; /** * @param {?} expr * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitWritePropExpr = function (expr, context) { expr.receiver.visitExpression(this, context); expr.value.visitExpression(this, context); return expr; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function (ast, context) { ast.receiver.visitExpression(this, context); this.visitAllExpressions(ast.args, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function (ast, context) { ast.fn.visitExpression(this, context); this.visitAllExpressions(ast.args, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function (ast, context) { ast.classExpr.visitExpression(this, context); this.visitAllExpressions(ast.args, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitLiteralExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitExternalExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitConditionalExpr = function (ast, context) { ast.condition.visitExpression(this, context); ast.trueCase.visitExpression(this, context); ast.falseCase.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitNotExpr = function (ast, context) { ast.condition.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitCastExpr = function (ast, context) { ast.value.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitFunctionExpr = function (ast, context) { return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function (ast, context) { ast.lhs.visitExpression(this, context); ast.rhs.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReadPropExpr = function (ast, context) { ast.receiver.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function (ast, context) { ast.receiver.visitExpression(this, context); ast.index.visitExpression(this, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function (ast, context) { this.visitAllExpressions(ast.entries, context); return ast; }; /** * @param {?} ast * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function (ast, context) { var _this = this; ast.entries.forEach(function (entry) { return entry.value.visitExpression(_this, context); }); return ast; }; /** * @param {?} exprs * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitAllExpressions = function (exprs, context) { var _this = this; exprs.forEach(function (expr) { return expr.visitExpression(_this, context); }); }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function (stmt, context) { stmt.value.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitExpressionStmt = function (stmt, context) { stmt.expr.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitReturnStmt = function (stmt, context) { stmt.value.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function (stmt, context) { // Don't descend into nested functions return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitIfStmt = function (stmt, context) { stmt.condition.visitExpression(this, context); this.visitAllStatements(stmt.trueCase, context); this.visitAllStatements(stmt.falseCase, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function (stmt, context) { this.visitAllStatements(stmt.bodyStmts, context); this.visitAllStatements(stmt.catchStmts, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitThrowStmt = function (stmt, context) { stmt.error.visitExpression(this, context); return stmt; }; /** * @param {?} stmt * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitCommentStmt = function (stmt, context) { return stmt; }; /** * @param {?} stmts * @param {?} context * @return {?} */ RecursiveExpressionVisitor.prototype.visitAllStatements = function (stmts, context) { var _this = this; stmts.forEach(function (stmt) { return stmt.visitStatement(_this, context); }); }; return RecursiveExpressionVisitor; }()); /** * @param {?} varName * @param {?} newValue * @param {?} expression * @return {?} */ function replaceVarInExpression(varName, newValue, expression) { var /** @type {?} */ transformer = new _ReplaceVariableTransformer(varName, newValue); return expression.visitExpression(transformer, null); } var _ReplaceVariableTransformer = (function (_super) { __extends(_ReplaceVariableTransformer, _super); /** * @param {?} _varName * @param {?} _newValue */ function _ReplaceVariableTransformer(_varName, _newValue) { _super.call(this); this._varName = _varName; this._newValue = _newValue; } /** * @param {?} ast * @param {?} context * @return {?} */ _ReplaceVariableTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast.name == this._varName ? this._newValue : ast; }; return _ReplaceVariableTransformer; }(ExpressionTransformer)); function _ReplaceVariableTransformer_tsickle_Closure_declarations() { /** @type {?} */ _ReplaceVariableTransformer.prototype._varName; /** @type {?} */ _ReplaceVariableTransformer.prototype._newValue; } /** * @param {?} stmts * @return {?} */ function findReadVarNames(stmts) { var /** @type {?} */ finder = new _VariableFinder(); finder.visitAllStatements(stmts, null); return finder.varNames; } var _VariableFinder = (function (_super) { __extends(_VariableFinder, _super); function _VariableFinder() { _super.apply(this, arguments); this.varNames = new Set(); } /** * @param {?} ast * @param {?} context * @return {?} */ _VariableFinder.prototype.visitReadVarExpr = function (ast, context) { this.varNames.add(ast.name); return null; }; return _VariableFinder; }(RecursiveExpressionVisitor)); function _VariableFinder_tsickle_Closure_declarations() { /** @type {?} */ _VariableFinder.prototype.varNames; } /** * @param {?} name * @param {?=} type * @return {?} */ function variable(name, type) { if (type === void 0) { type = null; } return new ReadVarExpr(name, type); } /** * @param {?} id * @param {?=} typeParams * @return {?} */ function importExpr(id, typeParams) { if (typeParams === void 0) { typeParams = null; } return new ExternalExpr(id, null, typeParams); } /** * @param {?} id * @param {?=} typeParams * @param {?=} typeModifiers * @return {?} */ function importType(id, typeParams, typeModifiers) { if (typeParams === void 0) { typeParams = null; } if (typeModifiers === void 0) { typeModifiers = null; } return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__["c" /* isPresent */])(id) ? expressionType(importExpr(id), typeParams, typeModifiers) : null; } /** * @param {?} expr * @param {?=} typeParams * @param {?=} typeModifiers * @return {?} */ function expressionType(expr, typeParams, typeModifiers) { if (typeParams === void 0) { typeParams = null; } if (typeModifiers === void 0) { typeModifiers = null; } return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_0__facade_lang__["c" /* isPresent */])(expr) ? new ExpressionType(expr, typeParams, typeModifiers) : null; } /** * @param {?} values * @param {?=} type * @return {?} */ function literalArr(values, type) { if (type === void 0) { type = null; } return new LiteralArrayExpr(values, type); } /** * @param {?} values * @param {?=} type * @param {?=} quoted * @return {?} */ function literalMap(values, type, quoted) { if (type === void 0) { type = null; } if (quoted === void 0) { quoted = false; } return new LiteralMapExpr(values.map(function (entry) { return new LiteralMapEntry(entry[0], entry[1], quoted); }), type); } /** * @param {?} expr * @return {?} */ function not(expr) { return new NotExpr(expr); } /** * @param {?} params * @param {?} body * @param {?=} type * @return {?} */ function fn(params, body, type) { if (type === void 0) { type = null; } return new FunctionExpr(params, body, type); } /** * @param {?} value * @param {?=} type * @return {?} */ function literal(value, type) { if (type === void 0) { type = null; } return new LiteralExpr(value, type); } //# sourceMappingURL=output_ast.js.map /***/ }), /* 10 */ /***/ (function(module, exports) { module.exports = function (exec) { try { return !!exec(); } catch (e) { return true; } }; /***/ }), /* 11 */ /***/ (function(module, exports) { module.exports = function (it) { return typeof it === 'object' ? it !== null : typeof it === 'function'; }; /***/ }), /* 12 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var AsyncAction_1 = __webpack_require__(135); var AsyncScheduler_1 = __webpack_require__(136); /** * * Async Scheduler * * Schedule task as if you used setTimeout(task, duration) * * `async` scheduler schedules tasks asynchronously, by putting them on the JavaScript * event loop queue. It is best used to delay tasks in time or to schedule tasks repeating * in intervals. * * If you just want to "defer" task, that is to perform it right after currently * executing synchronous code ends (commonly achieved by `setTimeout(deferredTask, 0)`), * better choice will be the {@link asap} scheduler. * * @example Use async scheduler to delay task * const task = () => console.log('it works!'); * * Rx.Scheduler.async.schedule(task, 2000); * * // After 2 seconds logs: * // "it works!" * * * @example Use async scheduler to repeat task in intervals * function task(state) { * console.log(state); * this.schedule(state + 1, 1000); // `this` references currently executing Action, * // which we reschedule with new state and delay * } * * Rx.Scheduler.async.schedule(task, 3000, 0); * * // Logs: * // 0 after 3s * // 1 after 4s * // 2 after 5s * // 3 after 6s * * @static true * @name async * @owner Scheduler */ exports.async = new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction); //# sourceMappingURL=async.js.map /***/ }), /* 13 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; 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 __()); }; var Observable_1 = __webpack_require__(0); var Subscriber_1 = __webpack_require__(3); var Subscription_1 = __webpack_require__(21); var ObjectUnsubscribedError_1 = __webpack_require__(200); var SubjectSubscription_1 = __webpack_require__(433); var rxSubscriber_1 = __webpack_require__(199); /** * @class SubjectSubscriber */ var SubjectSubscriber = (function (_super) { __extends(SubjectSubscriber, _super); function SubjectSubscriber(destination) { _super.call(this, destination); this.destination = destination; } return SubjectSubscriber; }(Subscriber_1.Subscriber)); exports.SubjectSubscriber = SubjectSubscriber; /** * @class Subject */ var Subject = (function (_super) { __extends(Subject, _super); function Subject() { _super.call(this); this.observers = []; this.closed = false; this.isStopped = false; this.hasError = false; this.thrownError = null; } Subject.prototype[rxSubscriber_1.rxSubscriber] = function () { return new SubjectSubscriber(this); }; Subject.prototype.lift = function (operator) { var subject = new AnonymousSubject(this, this); subject.operator = operator; return subject; }; Subject.prototype.next = function (value) { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } if (!this.isStopped) { var observers = this.observers; var len = observers.length; var copy = observers.slice(); for (var i = 0; i < len; i++) { copy[i].next(value); } } }; Subject.prototype.error = function (err) { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } this.hasError = true; this.thrownError = err; this.isStopped = true; var observers = this.observers; var len = observers.length; var copy = observers.slice(); for (var i = 0; i < len; i++) { copy[i].error(err); } this.observers.length = 0; }; Subject.prototype.complete = function () { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } this.isStopped = true; var observers = this.observers; var len = observers.length; var copy = observers.slice(); for (var i = 0; i < len; i++) { copy[i].complete(); } this.observers.length = 0; }; Subject.prototype.unsubscribe = function () { this.isStopped = true; this.closed = true; this.observers = null; }; Subject.prototype._trySubscribe = function (subscriber) { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } else { return _super.prototype._trySubscribe.call(this, subscriber); } }; Subject.prototype._subscribe = function (subscriber) { if (this.closed) { throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError(); } else if (this.hasError) { subscriber.error(this.thrownError); return Subscription_1.Subscription.EMPTY; } else if (this.isStopped) { subscriber.complete(); return Subscription_1.Subscription.EMPTY; } else { this.observers.push(subscriber); return new SubjectSubscription_1.SubjectSubscription(this, subscriber); } }; Subject.prototype.asObservable = function () { var observable = new Observable_1.Observable(); observable.source = this; return observable; }; Subject.create = function (destination, source) { return new AnonymousSubject(destination, source); }; return Subject; }(Observable_1.Observable)); exports.Subject = Subject; /** * @class AnonymousSubject */ var AnonymousSubject = (function (_super) { __extends(AnonymousSubject, _super); function AnonymousSubject(destination, source) { _super.call(this); this.destination = destination; this.source = source; } AnonymousSubject.prototype.next = function (value) { var destination = this.destination; if (destination && destination.next) { destination.next(value); } }; AnonymousSubject.prototype.error = function (err) { var destination = this.destination; if (destination && destination.error) { this.destination.error(err); } }; AnonymousSubject.prototype.complete = function () { var destination = this.destination; if (destination && destination.complete) { this.destination.complete(); } }; AnonymousSubject.prototype._subscribe = function (subscriber) { var source = this.source; if (source) { return this.source.subscribe(subscriber); } else { return Subscription_1.Subscription.EMPTY; } }; return AnonymousSubject; }(Subject)); exports.AnonymousSubject = AnonymousSubject; //# sourceMappingURL=Subject.js.map /***/ }), /* 14 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__aot_static_symbol__ = __webpack_require__(58); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__facade_collection__ = __webpack_require__(71); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__facade_lang__ = __webpack_require__(6); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__private_import_core__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__selector__ = __webpack_require__(154); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__util__ = __webpack_require__(28); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return CompileAnimationEntryMetadata; }); /* unused harmony export CompileAnimationStateMetadata */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return CompileAnimationStateDeclarationMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return CompileAnimationStateTransitionMetadata; }); /* unused harmony export CompileAnimationMetadata */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return CompileAnimationKeyframesSequenceMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return CompileAnimationStyleMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return CompileAnimationAnimateMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return CompileAnimationWithStepsMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return CompileAnimationSequenceMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return CompileAnimationGroupMetadata; }); /* harmony export (immutable) */ __webpack_exports__["a"] = identifierName; /* harmony export (immutable) */ __webpack_exports__["i"] = identifierModuleUrl; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return CompileSummaryKind; }); /* harmony export (immutable) */ __webpack_exports__["k"] = tokenName; /* harmony export (immutable) */ __webpack_exports__["j"] = tokenReference; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return CompileStylesheetMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return CompileTemplateMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return CompileDirectiveMetadata; }); /* harmony export (immutable) */ __webpack_exports__["v"] = createHostComponentMeta; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return CompilePipeMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return CompileNgModuleMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return TransitiveCompileNgModuleMetadata; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return ProviderMeta; }); /** * @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 */ 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 __()); }; // group 0: "[prop] or (event) or @trigger" // group 1: "prop" from "[prop]" // group 2: "event" from "(event)" // group 3: "@trigger" from "@trigger" var /** @type {?} */ HOST_REG_EXP = /^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/; var CompileAnimationEntryMetadata = (function () { /** * @param {?=} name * @param {?=} definitions */ function CompileAnimationEntryMetadata(name, definitions) { if (name === void 0) { name = null; } if (definitions === void 0) { definitions = null; } this.name = name; this.definitions = definitions; } return CompileAnimationEntryMetadata; }()); function CompileAnimationEntryMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationEntryMetadata.prototype.name; /** @type {?} */ CompileAnimationEntryMetadata.prototype.definitions; } /** * @abstract */ var CompileAnimationStateMetadata = (function () { function CompileAnimationStateMetadata() { } return CompileAnimationStateMetadata; }()); var CompileAnimationStateDeclarationMetadata = (function (_super) { __extends(CompileAnimationStateDeclarationMetadata, _super); /** * @param {?} stateNameExpr * @param {?} styles */ function CompileAnimationStateDeclarationMetadata(stateNameExpr, styles) { _super.call(this); this.stateNameExpr = stateNameExpr; this.styles = styles; } return CompileAnimationStateDeclarationMetadata; }(CompileAnimationStateMetadata)); function CompileAnimationStateDeclarationMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationStateDeclarationMetadata.prototype.stateNameExpr; /** @type {?} */ CompileAnimationStateDeclarationMetadata.prototype.styles; } var CompileAnimationStateTransitionMetadata = (function (_super) { __extends(CompileAnimationStateTransitionMetadata, _super); /** * @param {?} stateChangeExpr * @param {?} steps */ function CompileAnimationStateTransitionMetadata(stateChangeExpr, steps) { _super.call(this); this.stateChangeExpr = stateChangeExpr; this.steps = steps; } return CompileAnimationStateTransitionMetadata; }(CompileAnimationStateMetadata)); function CompileAnimationStateTransitionMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationStateTransitionMetadata.prototype.stateChangeExpr; /** @type {?} */ CompileAnimationStateTransitionMetadata.prototype.steps; } /** * @abstract */ var CompileAnimationMetadata = (function () { function CompileAnimationMetadata() { } return CompileAnimationMetadata; }()); var CompileAnimationKeyframesSequenceMetadata = (function (_super) { __extends(CompileAnimationKeyframesSequenceMetadata, _super); /** * @param {?=} steps */ function CompileAnimationKeyframesSequenceMetadata(steps) { if (steps === void 0) { steps = []; } _super.call(this); this.steps = steps; } return CompileAnimationKeyframesSequenceMetadata; }(CompileAnimationMetadata)); function CompileAnimationKeyframesSequenceMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationKeyframesSequenceMetadata.prototype.steps; } var CompileAnimationStyleMetadata = (function (_super) { __extends(CompileAnimationStyleMetadata, _super); /** * @param {?} offset * @param {?=} styles */ function CompileAnimationStyleMetadata(offset, styles) { if (styles === void 0) { styles = null; } _super.call(this); this.offset = offset; this.styles = styles; } return CompileAnimationStyleMetadata; }(CompileAnimationMetadata)); function CompileAnimationStyleMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationStyleMetadata.prototype.offset; /** @type {?} */ CompileAnimationStyleMetadata.prototype.styles; } var CompileAnimationAnimateMetadata = (function (_super) { __extends(CompileAnimationAnimateMetadata, _super); /** * @param {?=} timings * @param {?=} styles */ function CompileAnimationAnimateMetadata(timings, styles) { if (timings === void 0) { timings = 0; } if (styles === void 0) { styles = null; } _super.call(this); this.timings = timings; this.styles = styles; } return CompileAnimationAnimateMetadata; }(CompileAnimationMetadata)); function CompileAnimationAnimateMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationAnimateMetadata.prototype.timings; /** @type {?} */ CompileAnimationAnimateMetadata.prototype.styles; } /** * @abstract */ var CompileAnimationWithStepsMetadata = (function (_super) { __extends(CompileAnimationWithStepsMetadata, _super); /** * @param {?=} steps */ function CompileAnimationWithStepsMetadata(steps) { if (steps === void 0) { steps = null; } _super.call(this); this.steps = steps; } return CompileAnimationWithStepsMetadata; }(CompileAnimationMetadata)); function CompileAnimationWithStepsMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileAnimationWithStepsMetadata.prototype.steps; } var CompileAnimationSequenceMetadata = (function (_super) { __extends(CompileAnimationSequenceMetadata, _super); /** * @param {?=} steps */ function CompileAnimationSequenceMetadata(steps) { if (steps === void 0) { steps = null; } _super.call(this, steps); } return CompileAnimationSequenceMetadata; }(CompileAnimationWithStepsMetadata)); var CompileAnimationGroupMetadata = (function (_super) { __extends(CompileAnimationGroupMetadata, _super); /** * @param {?=} steps */ function CompileAnimationGroupMetadata(steps) { if (steps === void 0) { steps = null; } _super.call(this, steps); } return CompileAnimationGroupMetadata; }(CompileAnimationWithStepsMetadata)); /** * @param {?} name * @return {?} */ function _sanitizeIdentifier(name) { return name.replace(/\W/g, '_'); } var /** @type {?} */ _anonymousTypeIndex = 0; /** * @param {?} compileIdentifier * @return {?} */ function identifierName(compileIdentifier) { if (!compileIdentifier || !compileIdentifier.reference) { return null; } var /** @type {?} */ ref = compileIdentifier.reference; if (ref instanceof __WEBPACK_IMPORTED_MODULE_1__aot_static_symbol__["a" /* StaticSymbol */]) { return ref.name; } if (ref['__anonymousType']) { return ref['__anonymousType']; } var /** @type {?} */ identifier = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["e" /* stringify */])(ref); if (identifier.indexOf('(') >= 0) { // case: anonymous functions! identifier = "anonymous_" + _anonymousTypeIndex++; ref['__anonymousType'] = identifier; } else { identifier = _sanitizeIdentifier(identifier); } return identifier; } /** * @param {?} compileIdentifier * @return {?} */ function identifierModuleUrl(compileIdentifier) { var /** @type {?} */ ref = compileIdentifier.reference; if (ref instanceof __WEBPACK_IMPORTED_MODULE_1__aot_static_symbol__["a" /* StaticSymbol */]) { return ref.filePath; } return __WEBPACK_IMPORTED_MODULE_4__private_import_core__["c" /* reflector */].importUri(ref); } var CompileSummaryKind = {}; CompileSummaryKind.Pipe = 0; CompileSummaryKind.Directive = 1; CompileSummaryKind.NgModule = 2; CompileSummaryKind.Injectable = 3; CompileSummaryKind[CompileSummaryKind.Pipe] = "Pipe"; CompileSummaryKind[CompileSummaryKind.Directive] = "Directive"; CompileSummaryKind[CompileSummaryKind.NgModule] = "NgModule"; CompileSummaryKind[CompileSummaryKind.Injectable] = "Injectable"; /** * @param {?} token * @return {?} */ function tokenName(token) { return __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["c" /* isPresent */])(token.value) ? _sanitizeIdentifier(token.value) : identifierName(token.identifier); } /** * @param {?} token * @return {?} */ function tokenReference(token) { if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["c" /* isPresent */])(token.identifier)) { return token.identifier.reference; } else { return token.value; } } /** * Metadata about a stylesheet */ var CompileStylesheetMetadata = (function () { /** * @param {?=} __0 */ function CompileStylesheetMetadata(_a) { var _b = _a === void 0 ? {} : _a, moduleUrl = _b.moduleUrl, styles = _b.styles, styleUrls = _b.styleUrls; this.moduleUrl = moduleUrl; this.styles = _normalizeArray(styles); this.styleUrls = _normalizeArray(styleUrls); } return CompileStylesheetMetadata; }()); function CompileStylesheetMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileStylesheetMetadata.prototype.moduleUrl; /** @type {?} */ CompileStylesheetMetadata.prototype.styles; /** @type {?} */ CompileStylesheetMetadata.prototype.styleUrls; } /** * Metadata regarding compilation of a template. */ var CompileTemplateMetadata = (function () { /** * @param {?=} __0 */ function CompileTemplateMetadata(_a) { var _b = _a === void 0 ? {} : _a, encapsulation = _b.encapsulation, template = _b.template, templateUrl = _b.templateUrl, styles = _b.styles, styleUrls = _b.styleUrls, externalStylesheets = _b.externalStylesheets, animations = _b.animations, ngContentSelectors = _b.ngContentSelectors, interpolation = _b.interpolation; this.encapsulation = encapsulation; this.template = template; this.templateUrl = templateUrl; this.styles = _normalizeArray(styles); this.styleUrls = _normalizeArray(styleUrls); this.externalStylesheets = _normalizeArray(externalStylesheets); this.animations = animations ? __WEBPACK_IMPORTED_MODULE_2__facade_collection__["b" /* ListWrapper */].flatten(animations) : []; this.ngContentSelectors = ngContentSelectors || []; if (interpolation && interpolation.length != 2) { throw new Error("'interpolation' should have a start and an end symbol."); } this.interpolation = interpolation; } /** * @return {?} */ CompileTemplateMetadata.prototype.toSummary = function () { return { animations: this.animations.map(function (anim) { return anim.name; }), ngContentSelectors: this.ngContentSelectors, encapsulation: this.encapsulation }; }; return CompileTemplateMetadata; }()); function CompileTemplateMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileTemplateMetadata.prototype.encapsulation; /** @type {?} */ CompileTemplateMetadata.prototype.template; /** @type {?} */ CompileTemplateMetadata.prototype.templateUrl; /** @type {?} */ CompileTemplateMetadata.prototype.styles; /** @type {?} */ CompileTemplateMetadata.prototype.styleUrls; /** @type {?} */ CompileTemplateMetadata.prototype.externalStylesheets; /** @type {?} */ CompileTemplateMetadata.prototype.animations; /** @type {?} */ CompileTemplateMetadata.prototype.ngContentSelectors; /** @type {?} */ CompileTemplateMetadata.prototype.interpolation; } /** * Metadata regarding compilation of a directive. */ var CompileDirectiveMetadata = (function () { /** * @param {?=} __0 */ function CompileDirectiveMetadata(_a) { var _b = _a === void 0 ? {} : _a, isHost = _b.isHost, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, hostListeners = _b.hostListeners, hostProperties = _b.hostProperties, hostAttributes = _b.hostAttributes, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template; this.isHost = !!isHost; this.type = type; this.isComponent = isComponent; this.selector = selector; this.exportAs = exportAs; this.changeDetection = changeDetection; this.inputs = inputs; this.outputs = outputs; this.hostListeners = hostListeners; this.hostProperties = hostProperties; this.hostAttributes = hostAttributes; this.providers = _normalizeArray(providers); this.viewProviders = _normalizeArray(viewProviders); this.queries = _normalizeArray(queries); this.viewQueries = _normalizeArray(viewQueries); this.entryComponents = _normalizeArray(entryComponents); this.template = template; } /** * @param {?=} __0 * @return {?} */ CompileDirectiveMetadata.create = function (_a) { var _b = _a === void 0 ? {} : _a, isHost = _b.isHost, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, host = _b.host, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template; var /** @type {?} */ hostListeners = {}; var /** @type {?} */ hostProperties = {}; var /** @type {?} */ hostAttributes = {}; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["c" /* isPresent */])(host)) { Object.keys(host).forEach(function (key) { var /** @type {?} */ value = host[key]; var /** @type {?} */ matches = key.match(HOST_REG_EXP); if (matches === null) { hostAttributes[key] = value; } else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["c" /* isPresent */])(matches[1])) { hostProperties[matches[1]] = value; } else if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["c" /* isPresent */])(matches[2])) { hostListeners[matches[2]] = value; } }); } var /** @type {?} */ inputsMap = {}; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["c" /* isPresent */])(inputs)) { inputs.forEach(function (bindConfig) { // canonical syntax: `dirProp: elProp` // if there is no `:`, use dirProp = elProp var /** @type {?} */ parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__util__["a" /* splitAtColon */])(bindConfig, [bindConfig, bindConfig]); inputsMap[parts[0]] = parts[1]; }); } var /** @type {?} */ outputsMap = {}; if (__webpack_require__.i(__WEBPACK_IMPORTED_MODULE_3__facade_lang__["c" /* isPresent */])(outputs)) { outputs.forEach(function (bindConfig) { // canonical syntax: `dirProp: elProp` // if there is no `:`, use dirProp = elProp var /** @type {?} */ parts = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_6__util__["a" /* splitAtColon */])(bindConfig, [bindConfig, bindConfig]); outputsMap[parts[0]] = parts[1]; }); } return new CompileDirectiveMetadata({ isHost: isHost, type: type, isComponent: !!isComponent, selector: selector, exportAs: exportAs, changeDetection: changeDetection, inputs: inputsMap, outputs: outputsMap, hostListeners: hostListeners, hostProperties: hostProperties, hostAttributes: hostAttributes, providers: providers, viewProviders: viewProviders, queries: queries, viewQueries: viewQueries, entryComponents: entryComponents, template: template, }); }; /** * @return {?} */ CompileDirectiveMetadata.prototype.toSummary = function () { return { summaryKind: CompileSummaryKind.Directive, type: this.type, isComponent: this.isComponent, selector: this.selector, exportAs: this.exportAs, inputs: this.inputs, outputs: this.outputs, hostListeners: this.hostListeners, hostProperties: this.hostProperties, hostAttributes: this.hostAttributes, providers: this.providers, viewProviders: this.viewProviders, queries: this.queries, entryComponents: this.entryComponents, changeDetection: this.changeDetection, template: this.template && this.template.toSummary() }; }; return CompileDirectiveMetadata; }()); function CompileDirectiveMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileDirectiveMetadata.prototype.isHost; /** @type {?} */ CompileDirectiveMetadata.prototype.type; /** @type {?} */ CompileDirectiveMetadata.prototype.isComponent; /** @type {?} */ CompileDirectiveMetadata.prototype.selector; /** @type {?} */ CompileDirectiveMetadata.prototype.exportAs; /** @type {?} */ CompileDirectiveMetadata.prototype.changeDetection; /** @type {?} */ CompileDirectiveMetadata.prototype.inputs; /** @type {?} */ CompileDirectiveMetadata.prototype.outputs; /** @type {?} */ CompileDirectiveMetadata.prototype.hostListeners; /** @type {?} */ CompileDirectiveMetadata.prototype.hostProperties; /** @type {?} */ CompileDirectiveMetadata.prototype.hostAttributes; /** @type {?} */ CompileDirectiveMetadata.prototype.providers; /** @type {?} */ CompileDirectiveMetadata.prototype.viewProviders; /** @type {?} */ CompileDirectiveMetadata.prototype.queries; /** @type {?} */ CompileDirectiveMetadata.prototype.viewQueries; /** @type {?} */ CompileDirectiveMetadata.prototype.entryComponents; /** @type {?} */ CompileDirectiveMetadata.prototype.template; } /** * Construct {\@link CompileDirectiveMetadata} from {\@link ComponentTypeMetadata} and a selector. * @param {?} typeReference * @param {?} compMeta * @return {?} */ function createHostComponentMeta(typeReference, compMeta) { var /** @type {?} */ template = __WEBPACK_IMPORTED_MODULE_5__selector__["a" /* CssSelector */].parse(compMeta.selector)[0].getMatchingElementTemplate(); return CompileDirectiveMetadata.create({ isHost: true, type: { reference: typeReference, diDeps: [], lifecycleHooks: [] }, template: new CompileTemplateMetadata({ encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__["X" /* ViewEncapsulation */].None, template: template, templateUrl: '', styles: [], styleUrls: [], ngContentSelectors: [], animations: [] }), changeDetection: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_8" /* ChangeDetectionStrategy */].Default, inputs: [], outputs: [], host: {}, isComponent: true, selector: '*', providers: [], viewProviders: [], queries: [], viewQueries: [] }); } var CompilePipeMetadata = (function () { /** * @param {?=} __0 */ function CompilePipeMetadata(_a) { var _b = _a === void 0 ? {} : _a, type = _b.type, name = _b.name, pure = _b.pure; this.type = type; this.name = name; this.pure = !!pure; } /** * @return {?} */ CompilePipeMetadata.prototype.toSummary = function () { return { summaryKind: CompileSummaryKind.Pipe, type: this.type, name: this.name, pure: this.pure }; }; return CompilePipeMetadata; }()); function CompilePipeMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompilePipeMetadata.prototype.type; /** @type {?} */ CompilePipeMetadata.prototype.name; /** @type {?} */ CompilePipeMetadata.prototype.pure; } /** * Metadata regarding compilation of a module. */ var CompileNgModuleMetadata = (function () { /** * @param {?=} __0 */ function CompileNgModuleMetadata(_a) { var _b = _a === void 0 ? {} : _a, type = _b.type, providers = _b.providers, declaredDirectives = _b.declaredDirectives, exportedDirectives = _b.exportedDirectives, declaredPipes = _b.declaredPipes, exportedPipes = _b.exportedPipes, entryComponents = _b.entryComponents, bootstrapComponents = _b.bootstrapComponents, importedModules = _b.importedModules, exportedModules = _b.exportedModules, schemas = _b.schemas, transitiveModule = _b.transitiveModule, id = _b.id; this.type = type; this.declaredDirectives = _normalizeArray(declaredDirectives); this.exportedDirectives = _normalizeArray(exportedDirectives); this.declaredPipes = _normalizeArray(declaredPipes); this.exportedPipes = _normalizeArray(exportedPipes); this.providers = _normalizeArray(providers); this.entryComponents = _normalizeArray(entryComponents); this.bootstrapComponents = _normalizeArray(bootstrapComponents); this.importedModules = _normalizeArray(importedModules); this.exportedModules = _normalizeArray(exportedModules); this.schemas = _normalizeArray(schemas); this.id = id; this.transitiveModule = transitiveModule; } /** * @return {?} */ CompileNgModuleMetadata.prototype.toSummary = function () { return { summaryKind: CompileSummaryKind.NgModule, type: this.type, entryComponents: this.transitiveModule.entryComponents, providers: this.transitiveModule.providers, modules: this.transitiveModule.modules, exportedDirectives: this.transitiveModule.exportedDirectives, exportedPipes: this.transitiveModule.exportedPipes }; }; return CompileNgModuleMetadata; }()); function CompileNgModuleMetadata_tsickle_Closure_declarations() { /** @type {?} */ CompileNgModuleMetadata.prototype.type; /** @type {?} */ CompileNgModuleMetadata.prototype.declaredDirectives; /** @type {?} */ CompileNgModuleMetadata.prototype.exportedDirectives; /** @type {?} */ CompileNgModuleMetadata.prototype.declaredPipes; /** @type {?} */ CompileNgModuleMetadata.prototype.exportedPipes; /** @type {?} */ CompileNgModuleMetadata.prototype.entryComponents; /** @type {?} */ CompileNgModuleMetadata.prototype.bootstrapComponents; /** @type {?} */ CompileNgModuleMetadata.prototype.providers; /** @type {?} */ CompileNgModuleMetadata.prototype.importedModules; /** @type {?} */ CompileNgModuleMetadata.prototype.exportedModules; /** @type {?} */ CompileNgModuleMetadata.prototype.schemas; /** @type {?} */ CompileNgModuleMetadata.prototype.id; /** @type {?} */ CompileNgModuleMetadata.prototype.transitiveModule; } var TransitiveCompileNgModuleMetadata = (function () { function TransitiveCompileNgModuleMetadata() { this.directivesSet = new Set(); this.directives = []; this.exportedDirectivesSet = new Set(); this.exportedDirectives = []; this.pipesSet = new Set(); this.pipes = []; this.exportedPipesSet = new Set(); this.exportedPipes = []; this.modulesSet = new Set(); this.modules = []; this.entryComponentsSet = new Set(); this.entryComponents = []; this.providers = []; } /** * @param {?} provider * @param {?} module * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addProvider = function (provider, module) { this.providers.push({ provider: provider, module: module }); }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addDirective = function (id) { if (!this.directivesSet.has(id.reference)) { this.directivesSet.add(id.reference); this.directives.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addExportedDirective = function (id) { if (!this.exportedDirectivesSet.has(id.reference)) { this.exportedDirectivesSet.add(id.reference); this.exportedDirectives.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addPipe = function (id) { if (!this.pipesSet.has(id.reference)) { this.pipesSet.add(id.reference); this.pipes.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addExportedPipe = function (id) { if (!this.exportedPipesSet.has(id.reference)) { this.exportedPipesSet.add(id.reference); this.exportedPipes.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addModule = function (id) { if (!this.modulesSet.has(id.reference)) { this.modulesSet.add(id.reference); this.modules.push(id); } }; /** * @param {?} id * @return {?} */ TransitiveCompileNgModuleMetadata.prototype.addEntryComponent = function (id) { if (!this.entryComponentsSet.has(id.reference)) { this.entryComponentsSet.add(id.reference); this.entryComponents.push(id); } }; return TransitiveCompileNgModuleMetadata; }()); function TransitiveCompileNgModuleMetadata_tsickle_Closure_declarations() { /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.directivesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.directives; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedDirectivesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedDirectives; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.pipesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.pipes; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedPipesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.exportedPipes; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.modulesSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.modules; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.entryComponentsSet; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.entryComponents; /** @type {?} */ TransitiveCompileNgModuleMetadata.prototype.providers; } /** * @param {?} obj * @return {?} */ function _normalizeArray(obj) { return obj || []; } var ProviderMeta = (function () { /** * @param {?} token * @param {?} __1 */ function ProviderMeta(token, _a) { var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi; this.token = token; this.useClass = useClass; this.useValue = useValue; this.useExisting = useExisting; this.useFactory = useFactory; this.dependencies = deps; this.multi = !!multi; } return ProviderMeta; }()); function ProviderMeta_tsickle_Closure_declarations() { /** @type {?} */ ProviderMeta.prototype.token; /** @type {?} */ ProviderMeta.prototype.useClass; /** @type {?} */ ProviderMeta.prototype.useValue; /** @type {?} */ ProviderMeta.prototype.useExisting; /** @type {?} */ ProviderMeta.prototype.useFactory; /** @type {?} */ ProviderMeta.prototype.dependencies; /** @type {?} */ ProviderMeta.prototype.multi; } //# sourceMappingURL=compile_metadata.js.map /***/ }), /* 15 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return isDefaultChangeDetectionStrategy; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return ChangeDetectorStatus; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return LifecycleHooks; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return LIFECYCLE_HOOKS_VALUES; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return ReflectorReader; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return ViewContainer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return CodegenComponentFactoryResolver; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return ComponentRef_; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return AppView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return DebugAppView; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return NgModuleInjector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return registerModuleFactory; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return ViewType; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return view_utils; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return DebugContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return StaticNodeDebugInfo; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return devModeEqual; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return UNINITIALIZED; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return ValueUnwrapper; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return TemplateRef_; }); /* unused harmony export RenderDebugInfo */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return Console; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return reflector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return Reflector; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return ReflectionCapabilities; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return NoOpAnimationPlayer; }); /* unused harmony export AnimationPlayer */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return AnimationSequencePlayer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return AnimationGroupPlayer; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return AnimationKeyframe; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return AnimationStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ANY_STATE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return DEFAULT_STATE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return EMPTY_STATE; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return FILL_STYLE_FLAG; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return prepareFinalAnimationStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return balanceAnimationKeyframes; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return clearStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return collectAndResolveStyles; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return renderStyles; }); /* unused harmony export ViewMetadata */ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return ComponentStillLoadingError; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return AnimationTransition; }); /** * @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 */ var /** @type {?} */ isDefaultChangeDetectionStrategy = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].isDefaultChangeDetectionStrategy; var /** @type {?} */ ChangeDetectorStatus = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ChangeDetectorStatus; var /** @type {?} */ LifecycleHooks = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].LifecycleHooks; var /** @type {?} */ LIFECYCLE_HOOKS_VALUES = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].LIFECYCLE_HOOKS_VALUES; var /** @type {?} */ ReflectorReader = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ReflectorReader; var /** @type {?} */ ViewContainer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ViewContainer; var /** @type {?} */ CodegenComponentFactoryResolver = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].CodegenComponentFactoryResolver; var /** @type {?} */ ComponentRef_ = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ComponentRef_; var /** @type {?} */ AppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].AppView; var /** @type {?} */ DebugAppView = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].DebugAppView; var /** @type {?} */ NgModuleInjector = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].NgModuleInjector; var /** @type {?} */ registerModuleFactory = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].registerModuleFactory; var /** @type {?} */ ViewType = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ViewType; var /** @type {?} */ view_utils = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].view_utils; var /** @type {?} */ DebugContext = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].DebugContext; var /** @type {?} */ StaticNodeDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].StaticNodeDebugInfo; var /** @type {?} */ devModeEqual = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].devModeEqual; var /** @type {?} */ UNINITIALIZED = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].UNINITIALIZED; var /** @type {?} */ ValueUnwrapper = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ValueUnwrapper; var /** @type {?} */ TemplateRef_ = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].TemplateRef_; var /** @type {?} */ RenderDebugInfo = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].RenderDebugInfo; var /** @type {?} */ Console = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].Console; var /** @type {?} */ reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].reflector; var /** @type {?} */ Reflector = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].Reflector; var /** @type {?} */ ReflectionCapabilities = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ReflectionCapabilities; var /** @type {?} */ NoOpAnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].NoOpAnimationPlayer; var /** @type {?} */ AnimationPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].AnimationPlayer; var /** @type {?} */ AnimationSequencePlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].AnimationSequencePlayer; var /** @type {?} */ AnimationGroupPlayer = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].AnimationGroupPlayer; var /** @type {?} */ AnimationKeyframe = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].AnimationKeyframe; var /** @type {?} */ AnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].AnimationStyles; var /** @type {?} */ ANY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ANY_STATE; var /** @type {?} */ DEFAULT_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].DEFAULT_STATE; var /** @type {?} */ EMPTY_STATE = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].EMPTY_STATE; var /** @type {?} */ FILL_STYLE_FLAG = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].FILL_STYLE_FLAG; var /** @type {?} */ prepareFinalAnimationStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].prepareFinalAnimationStyles; var /** @type {?} */ balanceAnimationKeyframes = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].balanceAnimationKeyframes; var /** @type {?} */ clearStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].clearStyles; var /** @type {?} */ collectAndResolveStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].collectAndResolveStyles; var /** @type {?} */ renderStyles = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].renderStyles; var /** @type {?} */ ViewMetadata = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ViewMetadata; var /** @type {?} */ ComponentStillLoadingError = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].ComponentStillLoadingError; var /** @type {?} */ AnimationTransition = __WEBPACK_IMPORTED_MODULE_0__angular_core__["f" /* __core_private__ */].AnimationTransition; //# sourceMappingURL=private_import_core.js.map /***/ }), /* 16 */ /***/ (function(module, exports, __webpack_require__) { var store = __webpack_require__(186)('wks'); var uid = __webpack_require__(124); var Symbol = __webpack_require__(20).Symbol; var USE_SYMBOL = typeof Symbol == 'function'; var $exports = module.exports = function (name) { return store[name] || (store[name] = USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); }; $exports.store = store; /***/ }), /* 17 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__private_import_core__ = __webpack_require__(15); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return Identifiers; }); /* unused harmony export assetUrl */ /* harmony export (immutable) */ __webpack_exports__["e"] = resolveIdentifier; /* harmony export (immutable) */ __webpack_exports__["a"] = createIdentifier; /* harmony export (immutable) */ __webpack_exports__["c"] = identifierToken; /* harmony export (immutable) */ __webpack_exports__["f"] = createIdentifierToken; /* harmony export (immutable) */ __webpack_exports__["d"] = createEnumIdentifier; /** * @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 */ var /** @type {?} */ APP_VIEW_MODULE_URL = assetUrl('core', 'linker/view'); var /** @type {?} */ VIEW_UTILS_MODULE_URL = assetUrl('core', 'linker/view_utils'); var /** @type {?} */ CD_MODULE_URL = assetUrl('core', 'change_detection/change_detection'); var /** @type {?} */ ANIMATION_STYLE_UTIL_ASSET_URL = assetUrl('core', 'animation/animation_style_util'); var Identifiers = (function () { function Identifiers() { } Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = { name: 'ANALYZE_FOR_ENTRY_COMPONENTS', moduleUrl: assetUrl('core', 'metadata/di'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["r" /* ANALYZE_FOR_ENTRY_COMPONENTS */] }; Identifiers.ViewUtils = { name: 'ViewUtils', moduleUrl: assetUrl('core', 'linker/view_utils'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].ViewUtils }; Identifiers.AppView = { name: 'AppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["e" /* AppView */] }; Identifiers.DebugAppView = { name: 'DebugAppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["f" /* DebugAppView */] }; Identifiers.ViewContainer = { name: 'ViewContainer', moduleUrl: assetUrl('core', 'linker/view_container'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["g" /* ViewContainer */] }; Identifiers.ElementRef = { name: 'ElementRef', moduleUrl: assetUrl('core', 'linker/element_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["F" /* ElementRef */] }; Identifiers.ViewContainerRef = { name: 'ViewContainerRef', moduleUrl: assetUrl('core', 'linker/view_container_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["C" /* ViewContainerRef */] }; Identifiers.ChangeDetectorRef = { name: 'ChangeDetectorRef', moduleUrl: assetUrl('core', 'change_detection/change_detector_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["y" /* ChangeDetectorRef */] }; Identifiers.RenderComponentType = { name: 'RenderComponentType', moduleUrl: assetUrl('core', 'render/api'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* RenderComponentType */] }; Identifiers.QueryList = { name: 'QueryList', moduleUrl: assetUrl('core', 'linker/query_list'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_10" /* QueryList */] }; Identifiers.TemplateRef = { name: 'TemplateRef', moduleUrl: assetUrl('core', 'linker/template_ref'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* TemplateRef */] }; Identifiers.TemplateRef_ = { name: 'TemplateRef_', moduleUrl: assetUrl('core', 'linker/template_ref'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["h" /* TemplateRef_ */] }; Identifiers.CodegenComponentFactoryResolver = { name: 'CodegenComponentFactoryResolver', moduleUrl: assetUrl('core', 'linker/component_factory_resolver'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["i" /* CodegenComponentFactoryResolver */] }; Identifiers.ComponentFactoryResolver = { name: 'ComponentFactoryResolver', moduleUrl: assetUrl('core', 'linker/component_factory_resolver'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["Z" /* ComponentFactoryResolver */] }; Identifiers.ComponentFactory = { name: 'ComponentFactory', runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_11" /* ComponentFactory */], moduleUrl: assetUrl('core', 'linker/component_factory') }; Identifiers.ComponentRef_ = { name: 'ComponentRef_', runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["j" /* ComponentRef_ */], moduleUrl: assetUrl('core', 'linker/component_factory') }; Identifiers.ComponentRef = { name: 'ComponentRef', runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_12" /* ComponentRef */], moduleUrl: assetUrl('core', 'linker/component_factory') }; Identifiers.NgModuleFactory = { name: 'NgModuleFactory', runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["h" /* NgModuleFactory */], moduleUrl: assetUrl('core', 'linker/ng_module_factory') }; Identifiers.NgModuleInjector = { name: 'NgModuleInjector', runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["k" /* NgModuleInjector */], moduleUrl: assetUrl('core', 'linker/ng_module_factory') }; Identifiers.RegisterModuleFactoryFn = { name: 'registerModuleFactory', runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["l" /* registerModuleFactory */], moduleUrl: assetUrl('core', 'linker/ng_module_factory_loader') }; Identifiers.ValueUnwrapper = { name: 'ValueUnwrapper', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["m" /* ValueUnwrapper */] }; Identifiers.Injector = { name: 'Injector', moduleUrl: assetUrl('core', 'di/injector'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["j" /* Injector */] }; Identifiers.ViewEncapsulation = { name: 'ViewEncapsulation', moduleUrl: assetUrl('core', 'metadata/view'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["X" /* ViewEncapsulation */] }; Identifiers.ViewType = { name: 'ViewType', moduleUrl: assetUrl('core', 'linker/view_type'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["n" /* ViewType */] }; Identifiers.ChangeDetectionStrategy = { name: 'ChangeDetectionStrategy', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_8" /* ChangeDetectionStrategy */] }; Identifiers.StaticNodeDebugInfo = { name: 'StaticNodeDebugInfo', moduleUrl: assetUrl('core', 'linker/debug_context'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["o" /* StaticNodeDebugInfo */] }; Identifiers.DebugContext = { name: 'DebugContext', moduleUrl: assetUrl('core', 'linker/debug_context'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["p" /* DebugContext */] }; Identifiers.Renderer = { name: 'Renderer', moduleUrl: assetUrl('core', 'render/api'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["G" /* Renderer */] }; Identifiers.SimpleChange = { name: 'SimpleChange', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_13" /* SimpleChange */] }; Identifiers.UNINITIALIZED = { name: 'UNINITIALIZED', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["q" /* UNINITIALIZED */] }; Identifiers.ChangeDetectorStatus = { name: 'ChangeDetectorStatus', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["r" /* ChangeDetectorStatus */] }; Identifiers.checkBinding = { name: 'checkBinding', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].checkBinding }; Identifiers.devModeEqual = { name: 'devModeEqual', moduleUrl: CD_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["s" /* devModeEqual */] }; Identifiers.inlineInterpolate = { name: 'inlineInterpolate', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].inlineInterpolate }; Identifiers.interpolate = { name: 'interpolate', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].interpolate }; Identifiers.castByValue = { name: 'castByValue', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].castByValue }; Identifiers.EMPTY_ARRAY = { name: 'EMPTY_ARRAY', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].EMPTY_ARRAY }; Identifiers.EMPTY_MAP = { name: 'EMPTY_MAP', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].EMPTY_MAP }; Identifiers.createRenderElement = { name: 'createRenderElement', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].createRenderElement }; Identifiers.selectOrCreateRenderHostElement = { name: 'selectOrCreateRenderHostElement', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].selectOrCreateRenderHostElement }; Identifiers.pureProxies = [ null, { name: 'pureProxy1', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy1 }, { name: 'pureProxy2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy2 }, { name: 'pureProxy3', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy3 }, { name: 'pureProxy4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy4 }, { name: 'pureProxy5', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy5 }, { name: 'pureProxy6', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy6 }, { name: 'pureProxy7', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy7 }, { name: 'pureProxy8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy8 }, { name: 'pureProxy9', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy9 }, { name: 'pureProxy10', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].pureProxy10 }, ]; Identifiers.SecurityContext = { name: 'SecurityContext', moduleUrl: assetUrl('core', 'security'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["U" /* SecurityContext */], }; Identifiers.AnimationKeyframe = { name: 'AnimationKeyframe', moduleUrl: assetUrl('core', 'animation/animation_keyframe'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["t" /* AnimationKeyframe */] }; Identifiers.AnimationStyles = { name: 'AnimationStyles', moduleUrl: assetUrl('core', 'animation/animation_styles'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["u" /* AnimationStyles */] }; Identifiers.NoOpAnimationPlayer = { name: 'NoOpAnimationPlayer', moduleUrl: assetUrl('core', 'animation/animation_player'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["v" /* NoOpAnimationPlayer */] }; Identifiers.AnimationGroupPlayer = { name: 'AnimationGroupPlayer', moduleUrl: assetUrl('core', 'animation/animation_group_player'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["w" /* AnimationGroupPlayer */] }; Identifiers.AnimationSequencePlayer = { name: 'AnimationSequencePlayer', moduleUrl: assetUrl('core', 'animation/animation_sequence_player'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["x" /* AnimationSequencePlayer */] }; Identifiers.prepareFinalAnimationStyles = { name: 'prepareFinalAnimationStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["y" /* prepareFinalAnimationStyles */] }; Identifiers.balanceAnimationKeyframes = { name: 'balanceAnimationKeyframes', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["z" /* balanceAnimationKeyframes */] }; Identifiers.clearStyles = { name: 'clearStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["A" /* clearStyles */] }; Identifiers.renderStyles = { name: 'renderStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["B" /* renderStyles */] }; Identifiers.collectAndResolveStyles = { name: 'collectAndResolveStyles', moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["C" /* collectAndResolveStyles */] }; Identifiers.LOCALE_ID = { name: 'LOCALE_ID', moduleUrl: assetUrl('core', 'i18n/tokens'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["w" /* LOCALE_ID */] }; Identifiers.TRANSLATIONS_FORMAT = { name: 'TRANSLATIONS_FORMAT', moduleUrl: assetUrl('core', 'i18n/tokens'), runtime: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_14" /* TRANSLATIONS_FORMAT */] }; Identifiers.setBindingDebugInfo = { name: 'setBindingDebugInfo', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].setBindingDebugInfo }; Identifiers.setBindingDebugInfoForChanges = { name: 'setBindingDebugInfoForChanges', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].setBindingDebugInfoForChanges }; Identifiers.AnimationTransition = { name: 'AnimationTransition', moduleUrl: assetUrl('core', 'animation/animation_transition'), runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["D" /* AnimationTransition */] }; // This is just the interface! Identifiers.InlineArray = { name: 'InlineArray', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: null }; Identifiers.inlineArrays = [ { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].InlineArray2 }, { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].InlineArray2 }, { name: 'InlineArray4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].InlineArray4 }, { name: 'InlineArray8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].InlineArray8 }, { name: 'InlineArray16', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].InlineArray16 }, ]; Identifiers.EMPTY_INLINE_ARRAY = { name: 'EMPTY_INLINE_ARRAY', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].EMPTY_INLINE_ARRAY }; Identifiers.InlineArrayDynamic = { name: 'InlineArrayDynamic', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].InlineArrayDynamic }; Identifiers.subscribeToRenderElement = { name: 'subscribeToRenderElement', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].subscribeToRenderElement }; Identifiers.createRenderComponentType = { name: 'createRenderComponentType', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].createRenderComponentType }; Identifiers.noop = { name: 'noop', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: __WEBPACK_IMPORTED_MODULE_1__private_import_core__["d" /* view_utils */].noop }; return Identifiers; }()); function Identifiers_tsickle_Closure_declarations() { /** @type {?} */ Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS; /** @type {?} */ Identifiers.ViewUtils; /** @type {?} */ Identifiers.AppView; /** @type {?} */ Identifiers.DebugAppView; /** @type {?} */ Identifiers.ViewContainer; /** @type {?} */ Identifiers.ElementRef; /** @type {?} */ Identifiers.ViewContainerRef; /** @type {?} */ Identifiers.ChangeDetectorRef; /** @type {?} */ Identifiers.RenderComponentType; /** @type {?} */ Identifiers.QueryList; /** @type {?} */ Identifiers.TemplateRef; /** @type {?} */ Identifiers.TemplateRef_; /** @type {?} */ Identifiers.CodegenComponentFactoryResolver; /** @type {?} */ Identifiers.ComponentFactoryResolver; /** @type {?} */ Identifiers.ComponentFactory; /** @type {?} */ Identifiers.ComponentRef_; /** @type {?} */ Identifiers.ComponentRef; /** @type {?} */ Identifiers.NgModuleFactory; /** @type {?} */ Identifiers.NgModuleInjector; /** @type {?} */ Identifiers.RegisterModuleFactoryFn; /** @type {?} */ Identifiers.ValueUnwrapper; /** @type {?} */ Identifiers.Injector; /** @type {?} */ Identifiers.ViewEncapsulation; /** @type {?} */ Identifiers.ViewType; /** @type {?} */ Identifiers.ChangeDetectionStrategy; /** @type {?} */ Identifiers.StaticNodeDebugInfo; /** @type {?} */ Identifiers.DebugContext; /** @type {?} */ Identifiers.Renderer; /** @type {?} */ Identifiers.SimpleChange; /** @type {?} */ Identifiers.UNINITIALIZED; /** @type {?} */ Identifiers.ChangeDetectorStatus; /** @type {?} */ Identifiers.checkBinding; /** @type {?} */ Identifiers.devModeEqual; /** @type {?} */ Identifiers.inlineInterpolate; /** @type {?} */ Identifiers.interpolate; /** @type {?} */ Identifiers.castByValue; /** @type {?} */ Identifiers.EMPTY_ARRAY; /** @type {?} */ Identifiers.EMPTY_MAP; /** @type {?} */ Identifiers.createRenderElement; /** @type {?} */ Identifiers.selectOrCreateRenderHostElement; /** @type {?} */ Identifiers.pureProxies; /** @type {?} */ Identifiers.SecurityContext; /** @type {?} */ Identifiers.AnimationKeyframe; /** @type {?} */ Identifiers.AnimationStyles; /** @type {?} */ Identifiers.NoOpAnimationPlayer; /** @type {?} */ Identifiers.AnimationGroupPlayer; /** @type {?} */ Identifiers.AnimationSequencePlayer; /** @type {?} */ Identifiers.prepareFinalAnimationStyles; /** @type {?} */ Identifiers.balanceAnimationKeyframes; /** @type {?} */ Identifiers.clearStyles; /** @type {?} */ Identifiers.renderStyles; /** @type {?} */ Identifiers.collectAndResolveStyles; /** @type {?} */ Identifiers.LOCALE_ID; /** @type {?} */ Identifiers.TRANSLATIONS_FORMAT; /** @type {?} */ Identifiers.setBindingDebugInfo; /** @type {?} */ Identifiers.setBindingDebugInfoForChanges; /** @type {?} */ Identifiers.AnimationTransition; /** @type {?} */ Identifiers.InlineArray; /** @type {?} */ Identifiers.inlineArrays; /** @type {?} */ Identifiers.EMPTY_INLINE_ARRAY; /** @type {?} */ Identifiers.InlineArrayDynamic; /** @type {?} */ Identifiers.subscribeToRenderElement; /** @type {?} */ Identifiers.createRenderComponentType; /** @type {?} */ Identifiers.noop; } /** * @param {?} pkg * @param {?=} path * @param {?=} type * @return {?} */ function assetUrl(pkg, path, type) { if (path === void 0) { path = null; } if (type === void 0) { type = 'src'; } if (path == null) { return "@angular/" + pkg + "/index"; } else { return "@angular/" + pkg + "/" + type + "/" + path; } } /** * @param {?} identifier * @return {?} */ function resolveIdentifier(identifier) { return __WEBPACK_IMPORTED_MODULE_1__private_import_core__["c" /* reflector */].resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime); } /** * @param {?} identifier * @return {?} */ function createIdentifier(identifier) { var /** @type {?} */ reference = __WEBPACK_IMPORTED_MODULE_1__private_import_core__["c" /* reflector */].resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime); return { reference: reference }; } /** * @param {?} identifier * @return {?} */ function identifierToken(identifier) { return { identifier: identifier }; } /** * @param {?} identifier * @return {?} */ function createIdentifierToken(identifier) { return identifierToken(createIdentifier(identifier)); } /** * @param {?} enumType * @param {?} name * @return {?} */ function createEnumIdentifier(enumType, name) { var /** @type {?} */ resolvedEnum = __WEBPACK_IMPORTED_MODULE_1__private_import_core__["c" /* reflector */].resolveEnum(resolveIdentifier(enumType), name); return { reference: resolvedEnum }; } //# sourceMappingURL=identifiers.js.map /***/ }), /* 18 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (immutable) */ __webpack_exports__["a"] = CompilerInjectable; /** * A replacement for \@Injectable to be used in the compiler, so that * we don't try to evaluate the metadata in the compiler during AoT. * This decorator is enough to make the compiler work with the ReflectiveInjector though. * @return {?} */ function CompilerInjectable() { return function (x) { return x; }; } //# sourceMappingURL=injectable.js.map /***/ }), /* 19 */ /***/ (function(module, exports) { var core = module.exports = { version: '2.5.3' }; if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef /***/ }), /* 20 */ /***/ (function(module, exports) { // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func : Function('return this')(); if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef /***/ }), /* 21 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var isArray_1 = __webpack_require__(48); var isObject_1 = __webpack_require__(532); var isFunction_1 = __webpack_require__(202); var tryCatch_1 = __webpack_require__(25); var errorObject_1 = __webpack_require__(24); var UnsubscriptionError_1 = __webpack_require__(528); /** * Represents a disposable resource, such as the execution of an Observable. A * Subscription has one important method, `unsubscribe`, that takes no argument * and just disposes the resource held by the subscription. * * Additionally, subscriptions may be grouped together through the `add()` * method, which will attach a child Subscription to the current Subscription. * When a Subscription is unsubscribed, all its children (and its grandchildren) * will be unsubscribed as well. * * @class Subscription */ var Subscription = (function () { /** * @param {function(): void} [unsubscribe] A function describing how to * perform the disposal of resources when the `unsubscribe` method is called. */ function Subscription(unsubscribe) { /** * A flag to indicate whether this Subscription has already been unsubscribed. * @type {boolean} */ this.closed = false; this._parent = null; this._parents = null; this._subscriptions = null; if (unsubscribe) { this._unsubscribe = unsubscribe; } } /** * Disposes the resources held by the subscription. May, for instance, cancel * an ongoing Observable execution or cancel any other type of work that * started when the Subscription was created. * @return {void} */ Subscription.prototype.unsubscribe = function () { var hasErrors = false; var errors; if (this.closed) { return; } var _a = this, _parent = _a._parent, _parents = _a._parents, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions; this.closed = true; this._parent = null; this._parents = null; // null out _subscriptions first so any child subscriptions that attempt // to remove themselves from this subscription will noop this._subscriptions = null; var index = -1; var len = _parents ? _parents.length : 0; // if this._parent is null, then so is this._parents, and we // don't have to remove ourselves from any parent subscriptions. while (_parent) { _parent.remove(this); // if this._parents is null or index >= len, // then _parent is set to null, and the loop exits _parent = ++index < len && _parents[index] || null; } if (isFunction_1.isFunction(_unsubscribe)) { var trial = tryCatch_1.tryCatch(_unsubscribe).call(this); if (trial === errorObject_1.errorObject) { hasErrors = true; errors = errors || (errorObject_1.errorObject.e instanceof UnsubscriptionError_1.UnsubscriptionError ? flattenUnsubscriptionErrors(errorObject_1.errorObject.e.errors) : [errorObject_1.errorObject.e]); } } if (isArray_1.isArray(_subscriptions)) { index = -1; len = _subscriptions.length; while (++index < len) { var sub = _subscriptions[index]; if (isObject_1.isObject(sub)) { var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub); if (trial === errorObject_1.errorObject) { hasErrors = true; errors = errors || []; var err = errorObject_1.errorObject.e; if (err instanceof UnsubscriptionError_1.UnsubscriptionError) { errors = errors.concat(flattenUnsubscriptionErrors(err.errors)); } else { errors.push(err); } } } } } if (hasErrors) { throw new UnsubscriptionError_1.UnsubscriptionError(errors); } }; /** * Adds a tear down to be called during the unsubscribe() of this * Subscription. * * If the tear down being added is a subscription that is already * unsubscribed, is the same reference `add` is being called on, or is * `Subscription.EMPTY`, it will not be added. * * If this subscription is already in an `closed` state, the passed * tear down logic will be executed immediately. * * @param {TeardownLogic} teardown The additional logic to execute on * teardown. * @return {Subscription} Returns the Subscription used or created to be * added to the inner subscriptions list. This Subscription can be used with * `remove()` to remove the passed teardown logic from the inner subscriptions * list. */ Subscription.prototype.add = function (teardown) { if (!teardown || (teardown === Subscription.EMPTY)) { return Subscription.EMPTY; } if (teardown === this) { return this; } var subscription = teardown; switch (typeof teardown) { case 'function': subscription = new Subscription(teardown); case 'object': if (subscription.closed || typeof subscription.unsubscribe !== 'function') { return subscription; } else if (this.closed) { subscription.unsubscribe(); return subscription; } else if (typeof subscription._addParent !== 'function' /* quack quack */) { var tmp = subscription; subscription = new Subscription(); subscription._subscriptions = [tmp]; } break; default: throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.'); } var subscriptions = this._subscriptions || (this._subscriptions = []); subscriptions.push(subscription); subscription._addParent(this); return subscription; }; /** * Removes a Subscription from the internal list of subscriptions that will * unsubscribe during the unsubscribe process of this Subscription. * @param {Subscription} subscription The subscription to remove. * @return {void} */ Subscription.prototype.remove = function (subscription) { var subscriptions = this._subscriptions; if (subscriptions) { var subscriptionIndex = subscriptions.indexOf(subscription); if (subscriptionIndex !== -1) { subscriptions.splice(subscriptionIndex, 1); } } }; Subscription.prototype._addParent = function (parent) { var _a = this, _parent = _a._parent, _parents = _a._parents; if (!_parent || _parent === parent) { // If we don't have a parent, or the new parent is the same as the // current parent, then set this._parent to the new parent. this._parent = parent; } else if (!_parents) { // If there's already one parent, but not multiple, allocate an Array to // store the rest of the parent Subscriptions. this._parents = [parent]; } else if (_parents.indexOf(parent) === -1) { // Only add the new parent to the _parents list if it's not already there. _parents.push(parent); } }; Subscription.EMPTY = (function (empty) { empty.closed = true; return empty; }(new Subscription())); return Subscription; }()); exports.Subscription = Subscription; function flattenUnsubscriptionErrors(errors) { return errors.reduce(function (errs, err) { return errs.concat((err instanceof UnsubscriptionError_1.UnsubscriptionError) ? err.errors : err); }, []); } //# sourceMappingURL=Subscription.js.map /***/ }), /* 22 */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; /* harmony export (immutable) */ __webpack_exports__["b"] = getDOM; /* unused harmony export setDOM */ /* harmony export (immutable) */ __webpack_exports__["c"] = setRootDomAdapter; /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DomAdapter; }); /** * @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 */ var /** @type {?} */ _DOM = null; /** * @return {?} */ function getDOM() { return _DOM; } /** * @param {?} adapter * @return {?} */ function setDOM(adapter) { _DOM = adapter; } /** * @param {?} adapter * @return {?} */ function setRootDomAdapter(adapter) { if (!_DOM) { _DOM = adapter; } } /** * Provides DOM operations in an environment-agnostic way. * * \@security Tread carefully! Interacting with the DOM directly is dangerous and * can introduce XSS risks. * @abstract */ var DomAdapter = (function () { function DomAdapter() { this.resourceLoaderType = null; } /** * @abstract * @param {?} element * @param {?} name * @return {?} */ DomAdapter.prototype.hasProperty = function (element /** TODO #9100 */, name) { }; /** * @abstract * @param {?} el * @param {?} name * @param {?} value * @return {?} */ DomAdapter.prototype.setProperty = function (el, name, value) { }; /** * @abstract * @param {?} el * @param {?} name * @return {?} */ DomAdapter.prototype.getProperty = function (el, name) { }; /** * @abstract * @param {?} el * @param {?} methodName * @param {?} args * @return {?} */ DomAdapter.prototype.invoke = function (el, methodName, args) { }; /** * @abstract * @param {?} error * @return {?} */ DomAdapter.prototype.logError = function (error) { }; /** * @abstract * @param {?} error * @return {?} */ DomAdapter.prototype.log = function (error) { }; /** * @abstract * @param {?} error * @return {?} */ DomAdapter.prototype.logGroup = function (error) { }; /** * @abstract * @return {?} */ DomAdapter.prototype.logGroupEnd = function () { }; Object.defineProperty(DomAdapter.prototype, "attrToPropMap", { /** * Maps attribute names to their corresponding property names for cases * where attribute name doesn't match property name. * @return {?} */ get: function () { return this._attrToPropMap; }, /** * @param {?} value * @return {?} */ set: function (value) { this._attrToPropMap = value; }, enumerable: true, configurable: true }); ; ; /** * @abstract * @param {?} templateHtml * @return {?} */ DomAdapter.prototype.parse = function (templateHtml) { }; /** * @abstract * @param {?} selector * @return {?} */ DomAdapter.prototype.query = function (selector) { }; /** * @abstract * @param {?} el * @param {?} selector * @return {?} */ DomAdapter.prototype.querySelector = function (el /** TODO #9100 */, selector) { }; /** * @abstract * @param {?} el * @param {?} selector * @return {?} */ DomAdapter.prototype.querySelectorAll = function (el /** TODO #9100 */, selector) { }; /** * @abstract * @param {?} el * @param {?} evt * @param {?} listener * @return {?} */ DomAdapter.prototype.on = function (el /** TODO #9100 */, evt /** TODO #9100 */, listener) { }; /** * @abstract * @param {?} el * @param {?} evt * @param {?} listener * @return {?} */ DomAdapter.prototype.onAndCancel = function (el /** TODO #9100 */, evt /** TODO #9100 */, listener) { }; /** * @abstract * @param {?} el * @param {?} evt * @return {?} */ DomAdapter.prototype.dispatchEvent = function (el /** TODO #9100 */, evt) { }; /** * @abstract * @param {?} eventType * @return {?} */ DomAdapter.prototype.createMouseEvent = function (eventType) { }; /** * @abstract * @param {?} eventType * @return {?} */ DomAdapter.prototype.createEvent = function (eventType) { }; /** * @abstract * @param {?} evt * @return {?} */ DomAdapter.prototype.preventDefault = function (evt) { }; /** * @abstract * @param {?} evt * @return {?} */ DomAdapter.prototype.isPrevented = function (evt) { }; /** * @abstract * @param {?} el * @return {?} */ DomAdapter.prototype.getInnerHTML = function (el) { }; /** * Returns content if el is a