redoc/dist/redoc.min.js

1031 lines
1.4 MiB
JavaScript
Raw Normal View History

2016-02-22 16:27:45 +03:00
/*eslint no-unused-vars: 0*/
/*eslint strict: 0*/
var $buoop = { vs: {i:9, f:25, o:12.1, s:7}, c:2 };
function $buo_f(){
var e = document.createElement('script');
e.src = '//browser-update.org/update.min.js';
document.body.appendChild(e);
}
try {document.addEventListener('DOMContentLoaded', $buo_f, false);}
catch(e){window.attachEvent('onload', $buo_f);}
!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,exports,e){(function(t){"use strict";var n=e(1),r=e(2),o=e(6),i=e(10);o.Zone.prototype.scheduleMicrotask?console.warn("Zone-microtasks already exported on window the object!"):(n.addMicrotaskSupport(o.Zone),t.Zone=o.Zone,t.zone=new t.Zone,t.Promise=r.Promise,i.apply())}).call(exports,function(){return this}())},function(t,exports,e){(function(t){function n(t){u._asap(this.bind(t))}function r(t){return t.prototype.scheduleMicrotask=n,t}var o,i="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]"),a=t.navigator&&t.navigator.userAgent.toLowerCase().indexOf("firefox")>-1;i&&!a&&(o=Promise.resolve());var u=e(2).Promise;o&&u._setScheduler(function(t){o.then(t)}),u._setAsap(function(e,n){t.zone.scheduleMicrotask(function(){e(n)})}),exports.addMicrotaskSupport=r}).call(exports,function(){return this}())},function(t,exports,e){var n;(function(t,r){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/jakearchibald/es6-promise/master/LICENSE
* @version 3.0.2
*/
(function(){"use strict";function o(t){return"function"==typeof t||"object"==typeof t&&null!==t}function i(t){return"function"==typeof t}function a(t){return"object"==typeof t&&null!==t}function u(t){U=t}function c(t){J=t}function s(){return function(){process.nextTick(h)}}function p(){return function(){X(h)}}function f(){var t=0,e=new Q(h),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function l(){var t=new MessageChannel;return t.port1.onmessage=h,function(){t.port2.postMessage(0)}}function d(){return function(){setTimeout(h,1)}}function h(){for(var t=0;Y>t;t+=2){var e=nt[t],n=nt[t+1];e(n),nt[t]=void 0,nt[t+1]=void 0}Y=0}function v(){try{var t=e(4);return X=t.runOnLoop||t.runOnContext,p()}catch(n){return d()}}function y(){}function m(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function b(t){try{return t.then}catch(e){return at.error=e,at}}function w(t,e,n,r){try{t.call(e,n,r)}catch(o){return o}}function k(t,e,n){J(function(t){var r=!1,o=w(n,e,function(n){r||(r=!0,e!==n?T(t,n):O(t,n))},function(e){r||(r=!0,j(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&o&&(r=!0,j(t,o))},t)}function E(t,e){e._state===ot?O(t,e._result):e._state===it?j(t,e._result):S(e,void 0,function(e){T(t,e)},function(e){j(t,e)})}function _(t,e){if(e.constructor===t.constructor)E(t,e);else{var n=b(e);n===at?j(t,at.error):void 0===n?O(t,e):i(n)?k(t,e,n):O(t,e)}}function T(t,e){t===e?j(t,m()):o(e)?_(t,e):O(t,e)}function P(t){t._onerror&&t._onerror(t._result),L(t)}function O(t,e){t._state===rt&&(t._result=e,t._state=ot,0!==t._subscribers.length&&J(L,t))}function j(t,e){t._state===rt&&(t._state=it,t._result=e,J(P,t))}function S(t,e,n,r){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=e,o[i+ot]=n,o[i+it]=r,0===i&&t._state&&J(L,t)}function L(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r,o,i=t._result,a=0;a<e.length;a+=3)r=e[a],o=e[a+n],r?A(n,r,o,i):o(i);t._subscribers.length=0}}function M(){this.error=null}function z(t,e){try{return t(e)}catch(n){return ut.error=n,ut}}function A(t,e,n,r){var o,a,u,c,s=i(n);if(s){if(o=z(n,r),o===ut?(c=!0,a=o.error,o=null):u=!0,e===o)return void j(e,g())}else o=r,u=!0;e._state!==rt||(s&&u?T(e,o):c?j(e,a):t===ot?O(e,o):t===it&&j(e,o))}function x(t,e){try{e(function(e){T(t,e)},function(e){j(t,e)})}catch(n){j(t,n)}}function C(t,e){var n=this;n._instanceConstructor=t,n.promise=new t(y),n._validateInput(e)?(n._input=e,n.length=e.length,n._remaining=e.length,n._init(),0===n.length?O(n.promise,n._result):(n.length=n.length||0,n._enumerate(),0===n._remaining&&O(n.promise,n._result))):j(n.promise,n._validationError())}function R(t){return new ct(this,t).promise}function q(t){function e(t){T(o,t)}function n(t){j(o,t)}var r=this,o=new r(y);if(!K(t))return j(o,new TypeError("You must pass an array to race.")),o;for(var i=t.length,a=0;o._state===rt&&i>a;a++)S(r.resolve(t[a]),void 0,e,n);return o}function F(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(y);return T(n,t),n}function W(t){var e=this,n=new e(y);return j(n,t),n}function Z(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function I(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function N(t){this._id=dt++,this._state=void 0,this._result=void 0,this._subscribers=[],y!==t&&(i(t)||Z(),this instanceof N||I(),x(this,t))}function H(){var e;if("undefined"!=typeof t)e=t;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(n){throw new Error("polyfill failed because global object is unavailable in this environment")}var r=e.Promise;(!r||"[object Promise]"!==Object.prototype.toString.call(r.resolve())||r.cast)&&(e.Promise=ht)}var D;D=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var X,U,G,K=D,Y=0,J=({}.toString,function(t,e){nt[Y]=t,n
2016-01-25 00:27:39 +03:00
/*! *****************************************************************************
Copyright (C) Microsoft. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var Reflect;
(function (Reflect) {
2016-03-15 17:20:16 +03:00
"use strict";
2016-01-25 00:27:39 +03:00
// Load global or shim versions of Map, Set, and WeakMap
var functionPrototype = Object.getPrototypeOf(Function);
var _Map = typeof Map === "function" ? Map : CreateMapPolyfill();
var _Set = typeof Set === "function" ? Set : CreateSetPolyfill();
var _WeakMap = typeof WeakMap === "function" ? WeakMap : CreateWeakMapPolyfill();
// [[Metadata]] internal slot
var __Metadata__ = new _WeakMap();
/**
* Applies a set of decorators to a property of a target object.
* @param decorators An array of decorators.
* @param target The target object.
* @param targetKey (Optional) The property key to decorate.
* @param targetDescriptor (Optional) The property descriptor for the target key
* @remarks Decorators are applied in reverse order.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* C = Reflect.decorate(decoratorsArray, C);
*
* // property (on constructor)
* Reflect.decorate(decoratorsArray, C, "staticProperty");
*
* // property (on prototype)
* Reflect.decorate(decoratorsArray, C.prototype, "property");
*
* // method (on constructor)
* Object.defineProperty(C, "staticMethod",
* Reflect.decorate(decoratorsArray, C, "staticMethod",
* Object.getOwnPropertyDescriptor(C, "staticMethod")));
*
* // method (on prototype)
* Object.defineProperty(C.prototype, "method",
* Reflect.decorate(decoratorsArray, C.prototype, "method",
* Object.getOwnPropertyDescriptor(C.prototype, "method")));
*
*/
function decorate(decorators, target, targetKey, targetDescriptor) {
if (!IsUndefined(targetDescriptor)) {
if (!IsArray(decorators)) {
throw new TypeError();
}
else if (!IsObject(target)) {
throw new TypeError();
}
else if (IsUndefined(targetKey)) {
throw new TypeError();
}
else if (!IsObject(targetDescriptor)) {
throw new TypeError();
}
targetKey = ToPropertyKey(targetKey);
return DecoratePropertyWithDescriptor(decorators, target, targetKey, targetDescriptor);
}
else if (!IsUndefined(targetKey)) {
if (!IsArray(decorators)) {
throw new TypeError();
}
else if (!IsObject(target)) {
throw new TypeError();
}
targetKey = ToPropertyKey(targetKey);
return DecoratePropertyWithoutDescriptor(decorators, target, targetKey);
}
else {
if (!IsArray(decorators)) {
throw new TypeError();
}
else if (!IsConstructor(target)) {
throw new TypeError();
}
return DecorateConstructor(decorators, target);
}
}
Reflect.decorate = decorate;
/**
* A default metadata decorator factory that can be used on a class, class member, or parameter.
* @param metadataKey The key for the metadata entry.
* @param metadataValue The value for the metadata entry.
* @returns A decorator function.
* @remarks
* If `metadataKey` is already defined for the target and target key, the
* metadataValue for that key will be overwritten.
* @example
*
* // constructor
* @Reflect.metadata(key, value)
* class C {
* }
*
* // property (on constructor, TypeScript only)
* class C {
* @Reflect.metadata(key, value)
* static staticProperty;
* }
*
* // property (on prototype, TypeScript only)
* class C {
* @Reflect.metadata(key, value)
* property;
* }
*
* // method (on constructor)
* class C {
* @Reflect.metadata(key, value)
* static staticMethod() { }
* }
*
* // method (on prototype)
* class C {
* @Reflect.metadata(key, value)
* method() { }
* }
*
*/
function metadata(metadataKey, metadataValue) {
function decorator(target, targetKey) {
if (!IsUndefined(targetKey)) {
if (!IsObject(target)) {
throw new TypeError();
}
targetKey = ToPropertyKey(targetKey);
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);
}
else {
if (!IsConstructor(target)) {
throw new TypeError();
}
2016-03-15 17:20:16 +03:00
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, /*targetKey*/ undefined);
2016-01-25 00:27:39 +03:00
}
}
return decorator;
}
Reflect.metadata = metadata;
/**
* Define a unique metadata entry on the target.
* @param metadataKey A key used to store and retrieve metadata.
* @param metadataValue A value that contains attached metadata.
* @param target The target object on which to define metadata.
* @param targetKey (Optional) The property key for the target.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* Reflect.defineMetadata("custom:annotation", options, C);
*
* // property (on constructor)
* Reflect.defineMetadata("custom:annotation", options, C, "staticProperty");
*
* // property (on prototype)
* Reflect.defineMetadata("custom:annotation", options, C.prototype, "property");
*
* // method (on constructor)
* Reflect.defineMetadata("custom:annotation", options, C, "staticMethod");
*
* // method (on prototype)
* Reflect.defineMetadata("custom:annotation", options, C.prototype, "method");
*
* // decorator factory as metadata-producing annotation.
* function MyAnnotation(options): Decorator {
* return (target, key?) => Reflect.defineMetadata("custom:annotation", options, target, key);
* }
*
*/
function defineMetadata(metadataKey, metadataValue, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);
}
Reflect.defineMetadata = defineMetadata;
/**
* Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.hasMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.hasMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.hasMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.hasMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.hasMetadata("custom:annotation", C.prototype, "method");
*
*/
function hasMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryHasMetadata(metadataKey, target, targetKey);
}
Reflect.hasMetadata = hasMetadata;
/**
* Gets a value indicating whether the target object has the provided metadata key defined.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns `true` if the metadata key was defined on the target object; otherwise, `false`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.hasOwnMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.hasOwnMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.hasOwnMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.hasOwnMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.hasOwnMetadata("custom:annotation", C.prototype, "method");
*
*/
function hasOwnMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryHasOwnMetadata(metadataKey, target, targetKey);
}
Reflect.hasOwnMetadata = hasOwnMetadata;
/**
* Gets the metadata value for the provided metadata key on the target object or its prototype chain.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns The metadata value for the metadata key if found; otherwise, `undefined`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.getMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getMetadata("custom:annotation", C.prototype, "method");
*
*/
function getMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryGetMetadata(metadataKey, target, targetKey);
}
Reflect.getMetadata = getMetadata;
/**
* Gets the metadata value for the provided metadata key on the target object.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns The metadata value for the metadata key if found; otherwise, `undefined`.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getOwnMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.getOwnMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getOwnMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getOwnMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getOwnMetadata("custom:annotation", C.prototype, "method");
*
*/
function getOwnMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryGetOwnMetadata(metadataKey, target, targetKey);
}
Reflect.getOwnMetadata = getOwnMetadata;
/**
* Gets the metadata keys defined on the target object or its prototype chain.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns An array of unique metadata keys.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getMetadataKeys(C);
*
* // property (on constructor)
* result = Reflect.getMetadataKeys(C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getMetadataKeys(C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getMetadataKeys(C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getMetadataKeys(C.prototype, "method");
*
*/
function getMetadataKeys(target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryMetadataKeys(target, targetKey);
}
Reflect.getMetadataKeys = getMetadataKeys;
/**
* Gets the unique metadata keys defined on the target object.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns An array of unique metadata keys.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.getOwnMetadataKeys(C);
*
* // property (on constructor)
* result = Reflect.getOwnMetadataKeys(C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.getOwnMetadataKeys(C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.getOwnMetadataKeys(C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.getOwnMetadataKeys(C.prototype, "method");
*
*/
function getOwnMetadataKeys(target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
return OrdinaryOwnMetadataKeys(target, targetKey);
}
Reflect.getOwnMetadataKeys = getOwnMetadataKeys;
/**
* Deletes the metadata entry from the target object with the provided key.
* @param metadataKey A key used to store and retrieve metadata.
* @param target The target object on which the metadata is defined.
* @param targetKey (Optional) The property key for the target.
* @returns `true` if the metadata entry was found and deleted; otherwise, false.
* @example
*
* class C {
* // property declarations are not part of ES6, though they are valid in TypeScript:
* // static staticProperty;
* // property;
*
* constructor(p) { }
* static staticMethod(p) { }
* method(p) { }
* }
*
* // constructor
* result = Reflect.deleteMetadata("custom:annotation", C);
*
* // property (on constructor)
* result = Reflect.deleteMetadata("custom:annotation", C, "staticProperty");
*
* // property (on prototype)
* result = Reflect.deleteMetadata("custom:annotation", C.prototype, "property");
*
* // method (on constructor)
* result = Reflect.deleteMetadata("custom:annotation", C, "staticMethod");
*
* // method (on prototype)
* result = Reflect.deleteMetadata("custom:annotation", C.prototype, "method");
*
*/
function deleteMetadata(metadataKey, target, targetKey) {
if (!IsObject(target)) {
throw new TypeError();
}
else if (!IsUndefined(targetKey)) {
targetKey = ToPropertyKey(targetKey);
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#deletemetadata-metadatakey-p-
2016-03-15 17:20:16 +03:00
var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);
2016-01-25 00:27:39 +03:00
if (IsUndefined(metadataMap)) {
return false;
}
if (!metadataMap.delete(metadataKey)) {
return false;
}
if (metadataMap.size > 0) {
return true;
}
var targetMetadata = __Metadata__.get(target);
targetMetadata.delete(targetKey);
if (targetMetadata.size > 0) {
return true;
}
__Metadata__.delete(target);
return true;
}
Reflect.deleteMetadata = deleteMetadata;
function DecorateConstructor(decorators, target) {
for (var i = decorators.length - 1; i >= 0; --i) {
var decorator = decorators[i];
var decorated = decorator(target);
if (!IsUndefined(decorated)) {
if (!IsConstructor(decorated)) {
throw new TypeError();
}
target = decorated;
}
}
return target;
}
function DecoratePropertyWithDescriptor(decorators, target, propertyKey, descriptor) {
for (var i = decorators.length - 1; i >= 0; --i) {
var decorator = decorators[i];
var decorated = decorator(target, propertyKey, descriptor);
if (!IsUndefined(decorated)) {
if (!IsObject(decorated)) {
throw new TypeError();
}
descriptor = decorated;
}
}
return descriptor;
}
function DecoratePropertyWithoutDescriptor(decorators, target, propertyKey) {
for (var i = decorators.length - 1; i >= 0; --i) {
var decorator = decorators[i];
decorator(target, propertyKey);
}
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#getorcreatemetadatamap--o-p-create-
function GetOrCreateMetadataMap(target, targetKey, create) {
var targetMetadata = __Metadata__.get(target);
if (!targetMetadata) {
if (!create) {
return undefined;
}
targetMetadata = new _Map();
__Metadata__.set(target, targetMetadata);
}
var keyMetadata = targetMetadata.get(targetKey);
if (!keyMetadata) {
if (!create) {
return undefined;
}
keyMetadata = new _Map();
targetMetadata.set(targetKey, keyMetadata);
}
return keyMetadata;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasmetadata--metadatakey-o-p-
function OrdinaryHasMetadata(MetadataKey, O, P) {
var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
if (hasOwn) {
return true;
}
var parent = GetPrototypeOf(O);
if (parent !== null) {
return OrdinaryHasMetadata(MetadataKey, parent, P);
}
return false;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasownmetadata--metadatakey-o-p-
function OrdinaryHasOwnMetadata(MetadataKey, O, P) {
2016-03-15 17:20:16 +03:00
var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);
2016-01-25 00:27:39 +03:00
if (metadataMap === undefined) {
return false;
}
return Boolean(metadataMap.has(MetadataKey));
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetmetadata--metadatakey-o-p-
function OrdinaryGetMetadata(MetadataKey, O, P) {
var hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);
if (hasOwn) {
return OrdinaryGetOwnMetadata(MetadataKey, O, P);
}
var parent = GetPrototypeOf(O);
if (parent !== null) {
return OrdinaryGetMetadata(MetadataKey, parent, P);
}
return undefined;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetownmetadata--metadatakey-o-p-
function OrdinaryGetOwnMetadata(MetadataKey, O, P) {
2016-03-15 17:20:16 +03:00
var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);
2016-01-25 00:27:39 +03:00
if (metadataMap === undefined) {
return undefined;
}
return metadataMap.get(MetadataKey);
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarydefineownmetadata--metadatakey-metadatavalue-o-p-
function OrdinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {
2016-03-15 17:20:16 +03:00
var metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ true);
2016-01-25 00:27:39 +03:00
metadataMap.set(MetadataKey, MetadataValue);
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarymetadatakeys--o-p-
function OrdinaryMetadataKeys(O, P) {
var ownKeys = OrdinaryOwnMetadataKeys(O, P);
var parent = GetPrototypeOf(O);
if (parent === null) {
return ownKeys;
}
var parentKeys = OrdinaryMetadataKeys(parent, P);
if (parentKeys.length <= 0) {
return ownKeys;
}
if (ownKeys.length <= 0) {
return parentKeys;
}
var set = new _Set();
var keys = [];
for (var _i = 0; _i < ownKeys.length; _i++) {
var key = ownKeys[_i];
var hasKey = set.has(key);
if (!hasKey) {
set.add(key);
keys.push(key);
}
}
for (var _a = 0; _a < parentKeys.length; _a++) {
var key = parentKeys[_a];
var hasKey = set.has(key);
if (!hasKey) {
set.add(key);
keys.push(key);
}
}
return keys;
}
// https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryownmetadatakeys--o-p-
function OrdinaryOwnMetadataKeys(target, targetKey) {
2016-03-15 17:20:16 +03:00
var metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);
2016-01-25 00:27:39 +03:00
var keys = [];
if (metadataMap) {
metadataMap.forEach(function (_, key) { return keys.push(key); });
}
return keys;
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-undefined-type
function IsUndefined(x) {
return x === undefined;
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray
function IsArray(x) {
return Array.isArray(x);
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-type
function IsObject(x) {
return typeof x === "object" ? x !== null : typeof x === "function";
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor
function IsConstructor(x) {
return typeof x === "function";
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type
function IsSymbol(x) {
return typeof x === "symbol";
}
// https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey
function ToPropertyKey(value) {
if (IsSymbol(value)) {
return value;
}
return String(value);
}
function GetPrototypeOf(O) {
var proto = Object.getPrototypeOf(O);
if (typeof O !== "function" || O === functionPrototype) {
return proto;
}
// TypeScript doesn't set __proto__ in ES5, as it's non-standard.
// Try to determine the superclass constructor. Compatible implementations
// must either set __proto__ on a subclass constructor to the superclass constructor,
// or ensure each class has a valid `constructor` property on its prototype that
// points back to the constructor.
// If this is not the same as Function.[[Prototype]], then this is definately inherited.
// This is the case when in ES6 or when using __proto__ in a compatible browser.
if (proto !== functionPrototype) {
return proto;
}
// If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.
var prototype = O.prototype;
var prototypeProto = Object.getPrototypeOf(prototype);
if (prototypeProto == null || prototypeProto === Object.prototype) {
return proto;
}
// if the constructor was not a function, then we cannot determine the heritage.
var constructor = prototypeProto.constructor;
if (typeof constructor !== "function") {
return proto;
}
// if we have some kind of self-reference, then we cannot determine the heritage.
if (constructor === O) {
return proto;
}
// we have a pretty good guess at the heritage.
return constructor;
}
// naive Map shim
function CreateMapPolyfill() {
var cacheSentinel = {};
function Map() {
this._keys = [];
this._values = [];
this._cache = cacheSentinel;
}
Map.prototype = {
get size() {
return this._keys.length;
},
has: function (key) {
if (key === this._cache) {
return true;
}
if (this._find(key) >= 0) {
this._cache = key;
return true;
}
return false;
},
get: function (key) {
var index = this._find(key);
if (index >= 0) {
this._cache = key;
return this._values[index];
}
return undefined;
},
set: function (key, value) {
this.delete(key);
this._keys.push(key);
this._values.push(value);
this._cache = key;
return this;
},
delete: function (key) {
var index = this._find(key);
if (index >= 0) {
this._keys.splice(index, 1);
this._values.splice(index, 1);
this._cache = cacheSentinel;
return true;
}
return false;
},
clear: function () {
this._keys.length = 0;
this._values.length = 0;
this._cache = cacheSentinel;
},
forEach: function (callback, thisArg) {
var size = this.size;
for (var i = 0; i < size; ++i) {
var key = this._keys[i];
var value = this._values[i];
this._cache = key;
callback.call(this, value, key, this);
}
},
_find: function (key) {
var keys = this._keys;
var size = keys.length;
for (var i = 0; i < size; ++i) {
if (keys[i] === key) {
return i;
}
}
return -1;
}
};
return Map;
}
// naive Set shim
function CreateSetPolyfill() {
var cacheSentinel = {};
function Set() {
this._map = new _Map();
}
Set.prototype = {
get size() {
return this._map.length;
},
has: function (value) {
return this._map.has(value);
},
add: function (value) {
this._map.set(value, value);
return this;
},
delete: function (value) {
return this._map.delete(value);
},
clear: function () {
this._map.clear();
},
forEach: function (callback, thisArg) {
this._map.forEach(callback, thisArg);
}
};
return Set;
}
// naive WeakMap shim
function CreateWeakMapPolyfill() {
var UUID_SIZE = 16;
var isNode = typeof global !== "undefined" && Object.prototype.toString.call(global.process) === '[object process]';
var nodeCrypto = isNode && require("crypto");
var hasOwn = Object.prototype.hasOwnProperty;
var keys = {};
var rootKey = CreateUniqueKey();
function WeakMap() {
this._key = CreateUniqueKey();
}
WeakMap.prototype = {
has: function (target) {
2016-03-15 17:20:16 +03:00
var table = GetOrCreateWeakMapTable(target, /*create*/ false);
2016-01-25 00:27:39 +03:00
if (table) {
return this._key in table;
}
return false;
},
get: function (target) {
2016-03-15 17:20:16 +03:00
var table = GetOrCreateWeakMapTable(target, /*create*/ false);
2016-01-25 00:27:39 +03:00
if (table) {
return table[this._key];
}
return undefined;
},
set: function (target, value) {
2016-03-15 17:20:16 +03:00
var table = GetOrCreateWeakMapTable(target, /*create*/ true);
2016-01-25 00:27:39 +03:00
table[this._key] = value;
return this;
},
delete: function (target) {
2016-03-15 17:20:16 +03:00
var table = GetOrCreateWeakMapTable(target, /*create*/ false);
2016-01-25 00:27:39 +03:00
if (table && this._key in table) {
return delete table[this._key];
}
return false;
},
clear: function () {
// NOTE: not a real clear, just makes the previous data unreachable
this._key = CreateUniqueKey();
}
};
function FillRandomBytes(buffer, size) {
for (var i = 0; i < size; ++i) {
buffer[i] = Math.random() * 255 | 0;
}
}
function GenRandomBytes(size) {
if (nodeCrypto) {
var data = nodeCrypto.randomBytes(size);
return data;
}
else if (typeof Uint8Array === "function") {
var data = new Uint8Array(size);
if (typeof crypto !== "undefined") {
crypto.getRandomValues(data);
}
else if (typeof msCrypto !== "undefined") {
msCrypto.getRandomValues(data);
}
else {
FillRandomBytes(data, size);
}
return data;
}
else {
var data = new Array(size);
FillRandomBytes(data, size);
return data;
}
}
function CreateUUID() {
var data = GenRandomBytes(UUID_SIZE);
// mark as random - RFC 4122 § 4.4
data[6] = data[6] & 0x4f | 0x40;
data[8] = data[8] & 0xbf | 0x80;
var result = "";
for (var offset = 0; offset < UUID_SIZE; ++offset) {
var byte = data[offset];
if (offset === 4 || offset === 6 || offset === 8) {
result += "-";
}
if (byte < 16) {
result += "0";
}
result += byte.toString(16).toLowerCase();
}
return result;
}
function CreateUniqueKey() {
var key;
do {
key = "@@WeakMap@@" + CreateUUID();
} while (hasOwn.call(keys, key));
keys[key] = true;
return key;
}
function GetOrCreateWeakMapTable(target, create) {
if (!hasOwn.call(target, rootKey)) {
if (!create) {
return undefined;
}
Object.defineProperty(target, rootKey, { value: Object.create(null) });
}
return target[rootKey];
}
return WeakMap;
}
// hook global Reflect
(function (__global) {
if (typeof __global.Reflect !== "undefined") {
if (__global.Reflect !== Reflect) {
for (var p in Reflect) {
__global.Reflect[p] = Reflect[p];
}
}
}
else {
__global.Reflect = Reflect;
}
})(typeof window !== "undefined" ? window :
typeof WorkerGlobalScope !== "undefined" ? self :
typeof global !== "undefined" ? global :
Function("return this;")());
})(Reflect || (Reflect = {}));
2016-03-15 17:20:16 +03:00
!function e(t,n,r){function s(i,u){if(!n[i]){if(!t[i]){var c="function"==typeof require&&require;if(!u&&c)return c(i,!0);if(o)return o(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var f=n[i]={exports:{}};t[i][0].call(f.exports,function(n){var e=t[i][1][n];return s(e?e:n)},f,f.exports,e,t,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;i<r.length;i++)s(r[i]);return s}({1:[function(t,n,e){(function(n){"use strict";if(t(189),t(2),n._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");n._babelPolyfill=!0}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{189:189,2:2}],2:[function(t,n,e){n.exports=t(190)},{190:190}],3:[function(t,n,e){n.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],4:[function(t,n,e){var r=t(84)("unscopables"),o=Array.prototype;void 0==o[r]&&t(32)(o,r,{}),n.exports=function(t){o[r][t]=!0}},{32:32,84:84}],5:[function(t,n,e){var r=t(39);n.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},{39:39}],6:[function(t,n,e){"use strict";var r=t(81),o=t(77),i=t(80);n.exports=[].copyWithin||function copyWithin(t,n){var e=r(this),u=i(e.length),c=o(t,u),a=o(n,u),s=arguments,f=s.length>2?s[2]:void 0,l=Math.min((void 0===f?u:o(f,u))-a,u-c),h=1;for(c>a&&a+l>c&&(h=-1,a+=l-1,c+=l-1);l-- >0;)a in e?e[c]=e[a]:delete e[c],c+=h,a+=h;return e}},{77:77,80:80,81:81}],7:[function(t,n,e){"use strict";var r=t(81),o=t(77),i=t(80);n.exports=[].fill||function fill(t){for(var n=r(this),e=i(n.length),u=arguments,c=u.length,a=o(c>1?u[1]:void 0,e),s=c>2?u[2]:void 0,f=void 0===s?e:o(s,e);f>a;)n[a++]=t;return n}},{77:77,80:80,81:81}],8:[function(t,n,e){var r=t(79),o=t(80),i=t(77);n.exports=function(t){return function(n,e,u){var c,a=r(n),s=o(a.length),f=i(u,s);if(t&&e!=e){for(;s>f;)if(c=a[f++],c!=c)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f;return!t&&-1}}},{77:77,79:79,80:80}],9:[function(t,n,e){var r=t(18),o=t(35),i=t(81),u=t(80),c=t(10);n.exports=function(t){var n=1==t,e=2==t,a=3==t,s=4==t,f=6==t,l=5==t||f;return function(h,p,v){for(var g,y,d=i(h),m=o(d),x=r(p,v,3),S=u(m.length),w=0,b=n?c(h,S):e?c(h,0):void 0;S>w;w++)if((l||w in m)&&(g=m[w],y=x(g,w,d),t))if(n)b[w]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:b.push(g)}else if(s)return!1;return f?-1:a||s?s:b}}},{10:10,18:18,35:35,80:80,81:81}],10:[function(t,n,e){var r=t(39),o=t(37),i=t(84)("species");n.exports=function(t,n){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&(e=e[i],null===e&&(e=void 0))),new(void 0===e?Array:e)(n)}},{37:37,39:39,84:84}],11:[function(t,n,e){var r=t(12),o=t(84)("toStringTag"),i="Arguments"==r(function(){return arguments}());n.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=(n=Object(t))[o])?e:i?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},{12:12,84:84}],12:[function(t,n,e){var r={}.toString;n.exports=function(t){return r.call(t).slice(8,-1)}},{}],13:[function(t,n,e){"use strict";var r=t(47),o=t(32),i=t(61),u=t(18),c=t(70),a=t(19),s=t(28),f=t(43),l=t(45),h=t(83)("id"),p=t(31),v=t(39),g=t(66),y=t(20),d=Object.isExtensible||v,m=y?"_s":"size",x=0,S=function(t,n){if(!v(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!p(t,h)){if(!d(t))return"F";if(!n)return"E";o(t,h,++x)}return"O"+t[h]},w=function(t,n){var e,r=S(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};n.exports={getConstructor:function(t,n,e,o){var f=t(function(t,i){c(t,f,n),t._i=r.create(null),t._f=void 0,t._l=void 0,t[m]=0,void 0!=i&&s(i,e,t[o],t)});return i(f.prototype,{clear:function clear(){for(var t=this,n=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete n[e.i];t._f=t._l=void 0,t[m]=0},"delete":function(t){var n=this,e=w(n,t);if(e){var r=e.n,o=e.p;delete n._i[e.i],e.r=!0,o&&(o.n=r),r&&(r.p=o),n._f==e&&(n._f=r),n._l==e&&(n._l=o),n[m]--}return!!e},for
tanh:function tanh(t){var n=o(t=+t),e=o(-t);return n==1/0?1:e==1/0?-1:(n-e)/(i(t)+i(-t))}})},{23:23,50:50}],114:[function(t,n,e){var r=t(23);r(r.S,"Math",{trunc:function trunc(t){return(t>0?Math.floor:Math.ceil)(t)}})},{23:23}],115:[function(t,n,e){"use strict";var r=t(47),o=t(30),i=t(31),u=t(12),c=t(82),a=t(25),s=t(75).trim,f="Number",l=o[f],h=l,p=l.prototype,v=u(r.create(p))==f,g="trim"in String.prototype,y=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){n=g?n.trim():s(n,3);var e,r,o,i=n.charCodeAt(0);if(43===i||45===i){if(e=n.charCodeAt(2),88===e||120===e)return NaN}else if(48===i){switch(n.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+n}for(var u,a=n.slice(2),f=0,l=a.length;l>f;f++)if(u=a.charCodeAt(f),48>u||u>o)return NaN;return parseInt(a,r)}}return+n};l(" 0o1")&&l("0b1")&&!l("+0x1")||(l=function Number(t){var n=arguments.length<1?0:t,e=this;return e instanceof l&&(v?a(function(){p.valueOf.call(e)}):u(e)!=f)?new h(y(n)):y(n)},r.each.call(t(20)?r.getNames(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(t){i(h,t)&&!i(l,t)&&r.setDesc(l,t,r.getDesc(h,t))}),l.prototype=p,p.constructor=l,t(62)(o,f,l))},{12:12,20:20,25:25,30:30,31:31,47:47,62:62,75:75,82:82}],116:[function(t,n,e){var r=t(23);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},{23:23}],117:[function(t,n,e){var r=t(23),o=t(30).isFinite;r(r.S,"Number",{isFinite:function isFinite(t){return"number"==typeof t&&o(t)}})},{23:23,30:30}],118:[function(t,n,e){var r=t(23);r(r.S,"Number",{isInteger:t(38)})},{23:23,38:38}],119:[function(t,n,e){var r=t(23);r(r.S,"Number",{isNaN:function isNaN(t){return t!=t}})},{23:23}],120:[function(t,n,e){var r=t(23),o=t(38),i=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(t){return o(t)&&i(t)<=9007199254740991}})},{23:23,38:38}],121:[function(t,n,e){var r=t(23);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{23:23}],122:[function(t,n,e){var r=t(23);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{23:23}],123:[function(t,n,e){var r=t(23);r(r.S,"Number",{parseFloat:parseFloat})},{23:23}],124:[function(t,n,e){var r=t(23);r(r.S,"Number",{parseInt:parseInt})},{23:23}],125:[function(t,n,e){var r=t(23);r(r.S+r.F,"Object",{assign:t(54)})},{23:23,54:54}],126:[function(t,n,e){var r=t(39);t(55)("freeze",function(t){return function freeze(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],127:[function(t,n,e){var r=t(79);t(55)("getOwnPropertyDescriptor",function(t){return function getOwnPropertyDescriptor(n,e){return t(r(n),e)}})},{55:55,79:79}],128:[function(t,n,e){t(55)("getOwnPropertyNames",function(){return t(29).get})},{29:29,55:55}],129:[function(t,n,e){var r=t(81);t(55)("getPrototypeOf",function(t){return function getPrototypeOf(n){return t(r(n))}})},{55:55,81:81}],130:[function(t,n,e){var r=t(39);t(55)("isExtensible",function(t){return function isExtensible(n){return r(n)?t?t(n):!0:!1}})},{39:39,55:55}],131:[function(t,n,e){var r=t(39);t(55)("isFrozen",function(t){return function isFrozen(n){return r(n)?t?t(n):!1:!0}})},{39:39,55:55}],132:[function(t,n,e){var r=t(39);t(55)("isSealed",function(t){return function isSealed(n){return r(n)?t?t(n):!1:!0}})},{39:39,55:55}],133:[function(t,n,e){var r=t(23);r(r.S,"Object",{is:t(64)})},{23:23,64:64}],134:[function(t,n,e){var r=t(81);t(55)("keys",function(t){return function keys(n){return t(r(n))}})},{55:55,81:81}],135:[function(t,n,e){var r=t(39);t(55)("preventExtensions",function(t){return function preventExtensions(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],136:[function(t,n,e){var r=t(39);t(55)("seal",function(t){return function seal(n){return t&&r(n)?t(n):n}})},{39:39,55:55}],137:[function(t,n,e){var r=t(23);r(r.S,"Object",{setPrototypeOf:t(65).set})},{23:23,65:65}],138:[function(t,n,e){"use strict";var r=t(11),o={};o[t(84)("toStringTag")]="z",o+""!="[object z]"&&t(62)(Object.prototype,"toString",function toString(){return"[object "+r(this)+"]"},!0)},{11:11,62:62,84:84}],139:[
2016-03-15 00:42:27 +03:00
2016-03-27 13:14:41 +03:00
!function(e){function r(e,r,o){return 4===arguments.length?t.apply(this,arguments):void n(e,{declarative:!0,deps:r,declare:o})}function t(e,r,t,o){n(e,{declarative:!1,deps:r,executingRequire:t,execute:o})}function n(e,r){r.name=e,e in p||(p[e]=r),r.normalizedDeps=r.deps}function o(e,r){if(r[e.groupIndex]=r[e.groupIndex]||[],-1==v.call(r[e.groupIndex],e)){r[e.groupIndex].push(e);for(var t=0,n=e.normalizedDeps.length;n>t;t++){var a=e.normalizedDeps[t],u=p[a];if(u&&!u.evaluated){var d=e.groupIndex+(u.declarative!=e.declarative);if(void 0===u.groupIndex||u.groupIndex<d){if(void 0!==u.groupIndex&&(r[u.groupIndex].splice(v.call(r[u.groupIndex],u),1),0==r[u.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");u.groupIndex=d}o(u,r)}}}}function a(e){var r=p[e];r.groupIndex=0;var t=[];o(r,t);for(var n=!!r.declarative==t.length%2,a=t.length-1;a>=0;a--){for(var u=t[a],i=0;i<u.length;i++){var s=u[i];n?d(s):l(s)}n=!n}}function u(e){return x[e]||(x[e]={name:e,dependencies:[],exports:{},importers:[]})}function d(r){if(!r.module){var t=r.module=u(r.name),n=r.module.exports,o=r.declare.call(e,function(e,r){if(t.locked=!0,"object"==typeof e)for(var o in e)n[o]=e[o];else n[e]=r;for(var a=0,u=t.importers.length;u>a;a++){var d=t.importers[a];if(!d.locked)for(var i=0;i<d.dependencies.length;++i)d.dependencies[i]===t&&d.setters[i](n)}return t.locked=!1,r},r.name);t.setters=o.setters,t.execute=o.execute;for(var a=0,i=r.normalizedDeps.length;i>a;a++){var l,s=r.normalizedDeps[a],c=p[s],v=x[s];v?l=v.exports:c&&!c.declarative?l=c.esModule:c?(d(c),v=c.module,l=v.exports):l=f(s),v&&v.importers?(v.importers.push(t),t.dependencies.push(v)):t.dependencies.push(null),t.setters[a]&&t.setters[a](l)}}}function i(e){var r,t=p[e];if(t)t.declarative?c(e,[]):t.evaluated||l(t),r=t.module.exports;else if(r=f(e),!r)throw new Error("Unable to load dependency "+e+".");return(!t||t.declarative)&&r&&r.__useDefault?r["default"]:r}function l(r){if(!r.module){var t={},n=r.module={exports:t,id:r.name};if(!r.executingRequire)for(var o=0,a=r.normalizedDeps.length;a>o;o++){var u=r.normalizedDeps[o],d=p[u];d&&l(d)}r.evaluated=!0;var c=r.execute.call(e,function(e){for(var t=0,n=r.deps.length;n>t;t++)if(r.deps[t]==e)return i(r.normalizedDeps[t]);throw new TypeError("Module "+e+" not declared as a dependency.")},t,n);c&&(n.exports=c),t=n.exports,t&&t.__esModule?r.esModule=t:r.esModule=s(t)}}function s(r){if(r===e)return r;var t={};if("object"==typeof r||"function"==typeof r)if(g){var n;for(var o in r)(n=Object.getOwnPropertyDescriptor(r,o))&&h(t,o,n)}else{var a=r&&r.hasOwnProperty;for(var o in r)(!a||r.hasOwnProperty(o))&&(t[o]=r[o])}return t["default"]=r,h(t,"__useDefault",{value:!0}),t}function c(r,t){var n=p[r];if(n&&!n.evaluated&&n.declarative){t.push(r);for(var o=0,a=n.normalizedDeps.length;a>o;o++){var u=n.normalizedDeps[o];-1==v.call(t,u)&&(p[u]?c(u,t):f(u))}n.evaluated||(n.evaluated=!0,n.module.execute.call(e))}}function f(e){if(D[e])return D[e];if("@node/"==e.substr(0,6))return y(e.substr(6));var r=p[e];if(!r)throw"Module "+e+" not present.";return a(e),c(e,[]),p[e]=void 0,r.declarative&&h(r.module.exports,"__esModule",{value:!0}),D[e]=r.declarative?r.module.exports:r.esModule}var p={},v=Array.prototype.indexOf||function(e){for(var r=0,t=this.length;t>r;r++)if(this[r]===e)return r;return-1},g=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(m){g=!1}var h;!function(){try{Object.defineProperty({},"a",{})&&(h=Object.defineProperty)}catch(e){h=function(e,r,t){try{e[r]=t.value||t.get.call(e)}catch(n){}}}}();var x={},y="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,D={"@empty":{}};return function(e,n,o){return function(a){a(function(a){for(var u={_nodeRequire:y,register:r,registerDynamic:t,get:f,set:function(e,r){D[e]=r},newModule:function(e){return e}},d=0;d<n.length;d++)(function(e,r){r&&r.__esModule?D[e]=r:D[e]=s(r)})(n[d],arguments[d]);o(u);var i=f(e[0]);if(e.length>1)for(var d=1;d<e.length;d++)f(e[d]);return i.__useDefault?i["default"]:i})}}}("undefined"!=typ
return{setters:[function(_6){detectScollParent=_6["default"]},function(_9){ApiInfo=_9["default"]},function(_7){RedocComponent=_7.RedocComponent,BaseComponent=_7.BaseComponent},function(_){_get=_["default"]},function(_2){_inherits=_2["default"]},function(_3){_createClass=_3["default"]},function(_4){_classCallCheck=_4["default"]},function(_13){redocEvents=_13.redocEvents},function(_5){ChangeDetectionStrategy=_5.ChangeDetectionStrategy,provide=_5.provide,enableProdMode=_5.enableProdMode,ElementRef=_5.ElementRef},function(_10){MethodsList=_10["default"]},function(_8){SchemaManager=_8["default"]},function(_11){SideMenu=_11["default"]},function(_12){OptionsManager=_12["default"]},function(_d){BrowserDomAdapter=_d.BrowserDomAdapter,bootstrap=_d.bootstrap},function(_a){ApiLogo=_a["default"]},function(_c){StickySidebar=_c["default"]},function(_e){}],execute:function(){"use strict";dom=new BrowserDomAdapter,_modeLocked=!1,Redoc=function(_BaseComponent){function Redoc(schemaMgr,optionsMgr,elementRef){_classCallCheck(this,_Redoc),_get(Object.getPrototypeOf(_Redoc.prototype),"constructor",this).call(this,schemaMgr),this.element=elementRef.nativeElement,optionsMgr.parseOptions(this.element),optionsMgr.options.$scrollParent=detectScollParent(this.element),this.options=optionsMgr.options}_inherits(Redoc,_BaseComponent),_createClass(Redoc,null,[{key:"showLoadingAnimation",value:function(){var elem=dom.query("redoc");dom.addClass(elem,"loading")}},{key:"hideLoadingAnimation",value:function(){var redocEl=dom.query("redoc");dom.addClass(redocEl,"loading-remove"),setTimeout(function(){dom.removeClass(redocEl,"loading-remove"),dom.removeClass(redocEl,"loading")},400)}},{key:"init",value:function(schemaUrl,options){var optionsMgr=new OptionsManager;optionsMgr.options=options;var providers=[provide(OptionsManager,{useValue:optionsMgr})];return Redoc.appRef&&Redoc.dispose(),Redoc.showLoadingAnimation(),SchemaManager.instance().load(schemaUrl).then(function(){return _modeLocked||optionsMgr.options.debugMode||(enableProdMode(),_modeLocked=!0),bootstrap(Redoc,providers)}).then(function(appRef){Redoc.hideLoadingAnimation(),Redoc.appRef=appRef,setTimeout(function(){return redocEvents.bootstrapped.next()}),console.log("ReDoc bootstrapped!")},function(error){throw console.log(error),error})}},{key:"autoInit",value:function(){var specUrlAttributeName="spec-url",redocEl=dom.query("redoc");if(redocEl&&dom.hasAttribute(redocEl,specUrlAttributeName)){var url=dom.getAttribute(redocEl,specUrlAttributeName);Redoc.init(url)}}},{key:"dispose",value:function(){var el=dom.query("redoc"),elClone=void 0,parent=void 0,nextSibling=void 0;el&&(parent=el.parentElement,nextSibling=el.nextElementSibling),elClone=el.cloneNode(!1),Redoc.appRef&&(Redoc.appRef.dispose(),Redoc.appRef=null,elClone.innerHTML="Loading...",parent&&parent.insertBefore(elClone,nextSibling))}}]);var _Redoc=Redoc;return Redoc=Reflect.metadata("parameters",[[SchemaManager],[OptionsManager],[ElementRef]])(Redoc)||Redoc,Redoc=RedocComponent({selector:"redoc",providers:[SchemaManager,BrowserDomAdapter],template:'\n <div class="redoc-wrap">\n <div class="menu-content" sticky-sidebar [scrollParent]="options.$scrollParent" [scrollYOffset]="options.scrollYOffset">\n <api-logo> </api-logo>\n <side-menu> </side-menu>\n </div>\n <div id="api-content">\n <api-info> </api-info>\n <methods-list> </methods-list>\n <footer>\n <div class="powered-by-badge">\n <a href="https://github.com/Rebilly/ReDoc" title="Swagger-generated API Reference Documentation" target="_blank">\n Powered by <strong>ReDoc</strong>\n </a>\n </div>\n </footer>\n </div>\n </div>\n ',styles:['\n :host{display:block;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;-ms-tap-highlight-color:transparent;-o-tap-highlight-color:transparent;tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:antialiased;-webkit-osx
return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(k,v):void 0},dom_adapter_1=$__require("39"),lang_1=$__require("2b"),collection_1=$__require("3a"),event_manager_1=$__require("3b"),di_1=$__require("3c"),modifierKeys=["alt","control","meta","shift"],modifierKeyGetters={alt:function(event){return event.altKey},control:function(event){return event.ctrlKey},meta:function(event){return event.metaKey},shift:function(event){return event.shiftKey}},KeyEventsPlugin=function(_super){function KeyEventsPlugin(){_super.call(this)}return __extends(KeyEventsPlugin,_super),KeyEventsPlugin.prototype.supports=function(eventName){return lang_1.isPresent(KeyEventsPlugin.parseEventName(eventName))},KeyEventsPlugin.prototype.addEventListener=function(element,eventName,handler){var parsedEvent=KeyEventsPlugin.parseEventName(eventName),outsideHandler=KeyEventsPlugin.eventCallback(element,collection_1.StringMapWrapper.get(parsedEvent,"fullKey"),handler,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return dom_adapter_1.DOM.onAndCancel(element,collection_1.StringMapWrapper.get(parsedEvent,"domEventName"),outsideHandler)})},KeyEventsPlugin.parseEventName=function(eventName){var parts=eventName.toLowerCase().split("."),domEventName=parts.shift();if(0===parts.length||!lang_1.StringWrapper.equals(domEventName,"keydown")&&!lang_1.StringWrapper.equals(domEventName,"keyup"))return null;var key=KeyEventsPlugin._normalizeKey(parts.pop()),fullKey="";if(modifierKeys.forEach(function(modifierName){collection_1.ListWrapper.contains(parts,modifierName)&&(collection_1.ListWrapper.remove(parts,modifierName),fullKey+=modifierName+".")}),fullKey+=key,0!=parts.length||0===key.length)return null;var result=collection_1.StringMapWrapper.create();return collection_1.StringMapWrapper.set(result,"domEventName",domEventName),collection_1.StringMapWrapper.set(result,"fullKey",fullKey),result},KeyEventsPlugin.getEventFullKey=function(event){var fullKey="",key=dom_adapter_1.DOM.getEventKey(event);return key=key.toLowerCase(),lang_1.StringWrapper.equals(key," ")?key="space":lang_1.StringWrapper.equals(key,".")&&(key="dot"),modifierKeys.forEach(function(modifierName){if(modifierName!=key){var modifierGetter=collection_1.StringMapWrapper.get(modifierKeyGetters,modifierName);modifierGetter(event)&&(fullKey+=modifierName+".")}}),fullKey+=key},KeyEventsPlugin.eventCallback=function(element,fullKey,handler,zone){return function(event){lang_1.StringWrapper.equals(KeyEventsPlugin.getEventFullKey(event),fullKey)&&zone.run(function(){return handler(event)})}},KeyEventsPlugin._normalizeKey=function(keyName){switch(keyName){case"esc":return"escape";default:return keyName}},KeyEventsPlugin=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],KeyEventsPlugin)}(event_manager_1.EventManagerPlugin);exports.KeyEventsPlugin=KeyEventsPlugin}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("3d",["3b","3a"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},event_manager_1=$__require("3b"),collection_1=$__require("3a"),_eventNames={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},HammerGesturesPluginCommon=function(_super){function HammerGesturesPluginCommon(){_super.call(this)}return __extends(HammerGesturesPluginCommon,_super),HammerGesturesPluginCommon.prototype.supports=function(eventName){return eventName=eventName.toLowerCase(),
this.removeClasses(this.data.animationClasses),this.callbacks.forEach(function(callback){return callback()}),this.callbacks=[],this.eventClearFunctions.forEach(function(fn){return fn()}),this.eventClearFunctions=[],this.completed=!0},Animation.prototype.onComplete=function(callback){return this.completed?callback():this.callbacks.push(callback),this},Animation.prototype.parseDurationString=function(duration){var maxValue=0;if(null==duration||duration.length<2)return maxValue;if("ms"==duration.substring(duration.length-2)){var value=lang_1.NumberWrapper.parseInt(this.stripLetters(duration),10);value>maxValue&&(maxValue=value)}else if("s"==duration.substring(duration.length-1)){var ms=1e3*lang_1.NumberWrapper.parseFloat(this.stripLetters(duration)),value=math_1.Math.floor(ms);value>maxValue&&(maxValue=value)}return maxValue},Animation.prototype.stripLetters=function(str){return lang_1.StringWrapper.replaceAll(str,lang_1.RegExpWrapper.create("[^0-9]+$",""),"")},Animation}();return exports.Animation=Animation,global.define=__define,module.exports}),$__System.registerDynamic("4b",["47","48"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var css_animation_options_1=$__require("47"),animation_1=$__require("48"),CssAnimationBuilder=function(){function CssAnimationBuilder(browserDetails){this.browserDetails=browserDetails,this.data=new css_animation_options_1.CssAnimationOptions}return CssAnimationBuilder.prototype.addAnimationClass=function(className){return this.data.animationClasses.push(className),this},CssAnimationBuilder.prototype.addClass=function(className){return this.data.classesToAdd.push(className),this},CssAnimationBuilder.prototype.removeClass=function(className){return this.data.classesToRemove.push(className),this},CssAnimationBuilder.prototype.setDuration=function(duration){return this.data.duration=duration,this},CssAnimationBuilder.prototype.setDelay=function(delay){return this.data.delay=delay,this},CssAnimationBuilder.prototype.setStyles=function(from,to){return this.setFromStyles(from).setToStyles(to)},CssAnimationBuilder.prototype.setFromStyles=function(from){return this.data.fromStyles=from,this},CssAnimationBuilder.prototype.setToStyles=function(to){return this.data.toStyles=to,this},CssAnimationBuilder.prototype.start=function(element){return new animation_1.Animation(element,this.data,this.browserDetails)},CssAnimationBuilder}();return exports.CssAnimationBuilder=CssAnimationBuilder,global.define=__define,module.exports}),$__System.registerDynamic("49",["2b"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var lang_1=$__require("2b");return exports.Math=lang_1.global.Math,exports.NaN=typeof exports.NaN,global.define=__define,module.exports}),$__System.registerDynamic("4c",["3c","49","39"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __decorate=this&&this.__decorate||function(decorators,target,key,desc){var d,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(k,v):void 0},di_1=$__require("3c"),math_1=$__require("49"),dom_adapter_1=$__require("39"),BrowserDetails=function(){function BrowserDetails(){this.elapsedTimeIncludesDelay=!1,this.doesElapsedTimeIncludesDelay()}return BrowserDetails.prototype.doesElapsedTimeIncludesDelay=function(){var _this=this,div=dom_adapter_1.DOM.createElement("div");dom_adapter_1.DOM.setAttribute(div,"style","position: absolute; top: -9999px; left: -9999px; width: 1px;\n height: 1px; transition: all 1ms linear 1ms;"),this
__export($__require("46")),__export($__require("55")),global.define=__define,module.exports}),$__System.registerDynamic("57",["39"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var dom_adapter_1=$__require("39"),Title=function(){function Title(){}return Title.prototype.getTitle=function(){return dom_adapter_1.DOM.getTitle()},Title.prototype.setTitle=function(newTitle){dom_adapter_1.DOM.setTitle(newTitle)},Title}();return exports.Title=Title,global.define=__define,module.exports}),$__System.registerDynamic("58",[],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var win=window;return exports.window=win,exports.document=window.document,exports.location=window.location,exports.gc=window.gc?function(){return window.gc()}:function(){return null},exports.performance=window.performance?window.performance:null,exports.Event=window.Event,exports.MouseEvent=window.MouseEvent,exports.KeyboardEvent=window.KeyboardEvent,exports.EventTarget=window.EventTarget,exports.History=window.History,exports.Location=window.Location,exports.EventListener=window.EventListener,global.define=__define,module.exports}),$__System.registerDynamic("59",["5a","2b","58","39"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var application_ref_1=$__require("5a"),lang_1=$__require("2b"),browser_1=$__require("58"),dom_adapter_1=$__require("39"),AngularTools=function(){function AngularTools(ref){this.profiler=new AngularProfiler(ref)}return AngularTools}();exports.AngularTools=AngularTools;var AngularProfiler=function(){function AngularProfiler(ref){this.appRef=ref.injector.get(application_ref_1.ApplicationRef)}return AngularProfiler.prototype.timeChangeDetection=function(config){var record=lang_1.isPresent(config)&&config.record,profileName="Change Detection",isProfilerAvailable=lang_1.isPresent(browser_1.window.console.profile);record&&isProfilerAvailable&&browser_1.window.console.profile(profileName);for(var start=dom_adapter_1.DOM.performanceNow(),numTicks=0;5>numTicks||dom_adapter_1.DOM.performanceNow()-start<500;)this.appRef.tick(),numTicks++;var end=dom_adapter_1.DOM.performanceNow();record&&isProfilerAvailable&&browser_1.window.console.profileEnd(profileName);var msPerTick=(end-start)/numTicks;browser_1.window.console.log("ran "+numTicks+" change detection cycles"),browser_1.window.console.log(lang_1.NumberWrapper.toFixed(msPerTick,2)+" ms per check")},AngularProfiler}();return exports.AngularProfiler=AngularProfiler,global.define=__define,module.exports}),$__System.registerDynamic("5b",["2b","59"],!0,function($__require,exports,module){"use strict";function enableDebugTools(ref){context.ng=new common_tools_1.AngularTools(ref)}function disableDebugTools(){delete context.ng}var global=this,__define=global.define;global.define=void 0;var lang_1=$__require("2b"),common_tools_1=$__require("59"),context=lang_1.global;return exports.enableDebugTools=enableDebugTools,exports.disableDebugTools=disableDebugTools,global.define=__define,module.exports}),$__System.registerDynamic("5c",["2b","3c","15","23","5d","39","45","38","3e","4f","51","4e","4c","4d","42","43","44","3b","56","57","5b"],!0,function($__require,exports,module){"use strict";function _exceptionHandler(){return new core_1.ExceptionHandler(dom_adapter_1.DOM,!lang_1.IS_DART)}function _document(){return dom_adapter_1.DOM.defaultDoc()}function initDomAdapter(){browser_adapter_1.BrowserDomAdapter.makeCurrent(),wtf_init_1.wtfInit(),testability_2.BrowserGetTestability.init()}var global=this,__define=global.define;global.define=void 0;var lang_1=$__require("2b"),di_1=$__require("3c"),core_1=$__require("15"),common_1=$__require("23"),testability_1=$__require("5d"),dom_adapter_1=$__require("39"),dom_events_1=$__require("45"),key_events_1=$__require("38"),hammer_gestures_1=$__require("3e"),dom_tokens_1=$__require("4f"),dom_renderer_1=$__require("51"),shared_styles_host_1=$__require("4e"),shared_styles_host_2=$__requir
var _this=this,nodeName=element.name,preparsedElement=template_preparser_1.preparseElement(element);if(preparsedElement.type===template_preparser_1.PreparsedElementType.SCRIPT||preparsedElement.type===template_preparser_1.PreparsedElementType.STYLE)return null;if(preparsedElement.type===template_preparser_1.PreparsedElementType.STYLESHEET&&style_url_resolver_1.isStyleUrlResolvable(preparsedElement.hrefAttr))return null;var matchableAttrs=[],elementOrDirectiveProps=[],vars=[],events=[],templateElementOrDirectiveProps=[],templateVars=[],templateMatchableAttrs=[],hasInlineTemplates=!1,attrs=[];element.attrs.forEach(function(attr){var hasBinding=_this._parseAttr(attr,matchableAttrs,elementOrDirectiveProps,events,vars),hasTemplateBinding=_this._parseInlineTemplateBinding(attr,templateMatchableAttrs,templateElementOrDirectiveProps,templateVars);hasBinding||hasTemplateBinding||(attrs.push(_this.visitAttr(attr,null)),matchableAttrs.push([attr.name,attr.value])),hasTemplateBinding&&(hasInlineTemplates=!0)});var parsedElement,lcElName=html_tags_1.splitNsName(nodeName.toLowerCase())[1],isTemplateElement=lcElName==TEMPLATE_ELEMENT,elementCssSelector=createElementCssSelector(nodeName,matchableAttrs),directives=this._createDirectiveAsts(element.name,this._parseDirectives(this.selectorMatcher,elementCssSelector),elementOrDirectiveProps,isTemplateElement?[]:vars,element.sourceSpan),elementProps=this._createElementPropertyAsts(element.name,elementOrDirectiveProps,directives),children=html_ast_1.htmlVisitAll(preparsedElement.nonBindable?NON_BINDABLE_VISITOR:this,element.children,Component.create(directives)),elementNgContentIndex=hasInlineTemplates?null:component.findNgContentIndex(elementCssSelector);if(preparsedElement.type===template_preparser_1.PreparsedElementType.NG_CONTENT)lang_1.isPresent(element.children)&&element.children.length>0&&this._reportError("<ng-content> element cannot have content. <ng-content> must be immediately followed by </ng-content>",element.sourceSpan),parsedElement=new template_ast_1.NgContentAst(this.ngContentCount++,elementNgContentIndex,element.sourceSpan);else if(isTemplateElement)this._assertAllEventsPublishedByDirectives(directives,events),this._assertNoComponentsNorElementBindingsOnTemplate(directives,elementProps,element.sourceSpan),parsedElement=new template_ast_1.EmbeddedTemplateAst(attrs,events,vars,directives,children,elementNgContentIndex,element.sourceSpan);else{this._assertOnlyOneComponent(directives,element.sourceSpan);var elementExportAsVars=vars.filter(function(varAst){return 0===varAst.value.length});parsedElement=new template_ast_1.ElementAst(nodeName,attrs,elementProps,events,elementExportAsVars,directives,children,elementNgContentIndex,element.sourceSpan)}if(hasInlineTemplates){var templateCssSelector=createElementCssSelector(TEMPLATE_ELEMENT,templateMatchableAttrs),templateDirectives=this._createDirectiveAsts(element.name,this._parseDirectives(this.selectorMatcher,templateCssSelector),templateElementOrDirectiveProps,[],element.sourceSpan),templateElementProps=this._createElementPropertyAsts(element.name,templateElementOrDirectiveProps,templateDirectives);this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectives,templateElementProps,element.sourceSpan),parsedElement=new template_ast_1.EmbeddedTemplateAst([],[],templateVars,templateDirectives,[parsedElement],component.findNgContentIndex(templateCssSelector),element.sourceSpan)}return parsedElement},TemplateParseVisitor.prototype._parseInlineTemplateBinding=function(attr,targetMatchableAttrs,targetProps,targetVars){var templateBindingsSource=null;if(attr.name==TEMPLATE_ATTR)templateBindingsSource=attr.value;else if(attr.name.startsWith(TEMPLATE_ATTR_PREFIX)){var key=attr.name.substring(TEMPLATE_ATTR_PREFIX.length);templateBindingsSource=0==attr.value.length?key:key+" "+attr.value}if(lang_1.isPresent(templateBindingsSource)){for(var bindings=this._parseTemplateBindings(templateBindingsSource,attr.sourceSpan),i=0;i<bindings.length;i++){var binding=bindings[i];binding.keyIsVar?(targetVars.push(new template_ast_1.VariableAst(bind
this._beginToken(HtmlTokenType.ATTR_NAME);var prefixAndName=this._consumePrefixAndName();this._endToken(prefixAndName)},_HtmlTokenizer.prototype._consumeAttributeValue=function(){this._beginToken(HtmlTokenType.ATTR_VALUE);var value;if(this.peek===$SQ||this.peek===$DQ){var quoteChar=this.peek;this._advance();for(var parts=[];this.peek!==quoteChar;)parts.push(this._readChar(!0));value=parts.join(""),this._advance()}else{var valueStart=this.index;this._requireCharCodeUntilFn(isNameEnd,1),value=this.input.substring(valueStart,this.index)}this._endToken([this._processCarriageReturns(value)])},_HtmlTokenizer.prototype._consumeTagOpenEnd=function(){var tokenType=this._attemptCharCode($SLASH)?HtmlTokenType.TAG_OPEN_END_VOID:HtmlTokenType.TAG_OPEN_END;this._beginToken(tokenType),this._requireCharCode($GT),this._endToken([])},_HtmlTokenizer.prototype._consumeTagClose=function(start){this._beginToken(HtmlTokenType.TAG_CLOSE,start),this._attemptCharCodeUntilFn(isNotWhitespace);var prefixAndName;prefixAndName=this._consumePrefixAndName(),this._attemptCharCodeUntilFn(isNotWhitespace),this._requireCharCode($GT),this._endToken(prefixAndName)},_HtmlTokenizer.prototype._consumeText=function(){var start=this._getLocation();this._beginToken(HtmlTokenType.TEXT,start);for(var parts=[this._readChar(!0)];!isTextEnd(this.peek);)parts.push(this._readChar(!0));this._endToken([this._processCarriageReturns(parts.join(""))])},_HtmlTokenizer.prototype._savePosition=function(){return[this.peek,this.index,this.column,this.line,this.tokens.length]},_HtmlTokenizer.prototype._restorePosition=function(position){this.peek=position[0],this.index=position[1],this.column=position[2],this.line=position[3];var nbTokens=position[4];nbTokens<this.tokens.length&&(this.tokens=collection_1.ListWrapper.slice(this.tokens,0,nbTokens))},_HtmlTokenizer}()}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("73",[],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var ParseLocation=function(){function ParseLocation(file,offset,line,col){this.file=file,this.offset=offset,this.line=line,this.col=col}return ParseLocation.prototype.toString=function(){return this.file.url+"@"+this.line+":"+this.col},ParseLocation}();exports.ParseLocation=ParseLocation;var ParseSourceFile=function(){function ParseSourceFile(content,url){this.content=content,this.url=url}return ParseSourceFile}();exports.ParseSourceFile=ParseSourceFile;var ParseError=function(){function ParseError(location,msg){this.location=location,this.msg=msg}return ParseError.prototype.toString=function(){var source=this.location.file.content,ctxStart=this.location.offset;ctxStart>source.length-1&&(ctxStart=source.length-1);for(var ctxEnd=ctxStart,ctxLen=0,ctxLines=0;100>ctxLen&&ctxStart>0&&(ctxStart--,ctxLen++,"\n"!=source[ctxStart]||3!=++ctxLines););for(ctxLen=0,ctxLines=0;100>ctxLen&&ctxEnd<source.length-1&&(ctxEnd++,ctxLen++,"\n"!=source[ctxEnd]||3!=++ctxLines););var context=source.substring(ctxStart,this.location.offset)+"[ERROR ->]"+source.substring(this.location.offset,ctxEnd+1);return this.msg+' ("'+context+'"): '+this.location},ParseError}();exports.ParseError=ParseError;var ParseSourceSpan=function(){function ParseSourceSpan(start,end){this.start=start,this.end=end}return ParseSourceSpan.prototype.toString=function(){return this.start.file.content.substring(this.start.offset,this.end.offset)},ParseSourceSpan}();return exports.ParseSourceSpan=ParseSourceSpan,global.define=__define,module.exports}),$__System.registerDynamic("71",["2b","3a","79","3c","7a","73","72"],!0,function($__require,exports,module){"use strict";function mergeNsAndName(prefix,localName){return lang_1.isPresent(prefix)?"@"+prefix+":"+localName:localName}function getElementFullName(prefix,localName,parentElement){return lang_1.isBlank(prefix)&&(prefix=html_tags_1.getHtmlTagDefinition(localName).implicitNamespacePrefix,lang_1.isBlank(prefix)&&lang_1.isPresent(parentElement)&&(prefix=html_tags_1.getNsPrefix(parentElement.name))),mergeNsAndName(prefix,local
this.type=type,this.isComponent=isComponent,this.dynamicLoadable=dynamicLoadable,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.lifecycleHooks=lifecycleHooks,this.template=template}return CompileDirectiveMetadata.create=function(_a){var _b=void 0===_a?{}:_a,type=_b.type,isComponent=_b.isComponent,dynamicLoadable=_b.dynamicLoadable,selector=_b.selector,exportAs=_b.exportAs,changeDetection=_b.changeDetection,inputs=_b.inputs,outputs=_b.outputs,host=_b.host,lifecycleHooks=_b.lifecycleHooks,template=_b.template,hostListeners={},hostProperties={},hostAttributes={};lang_1.isPresent(host)&&collection_1.StringMapWrapper.forEach(host,function(value,key){var matches=lang_1.RegExpWrapper.firstMatch(HOST_REG_EXP,key);lang_1.isBlank(matches)?hostAttributes[key]=value:lang_1.isPresent(matches[1])?hostProperties[matches[1]]=value:lang_1.isPresent(matches[2])&&(hostListeners[matches[2]]=value)});var inputsMap={};lang_1.isPresent(inputs)&&inputs.forEach(function(bindConfig){var parts=util_1.splitAtColon(bindConfig,[bindConfig,bindConfig]);inputsMap[parts[0]]=parts[1]});var outputsMap={};return lang_1.isPresent(outputs)&&outputs.forEach(function(bindConfig){var parts=util_1.splitAtColon(bindConfig,[bindConfig,bindConfig]);outputsMap[parts[0]]=parts[1]}),new CompileDirectiveMetadata({type:type,isComponent:lang_1.normalizeBool(isComponent),dynamicLoadable:lang_1.normalizeBool(dynamicLoadable),selector:selector,exportAs:exportAs,changeDetection:changeDetection,inputs:inputsMap,outputs:outputsMap,hostListeners:hostListeners,hostProperties:hostProperties,hostAttributes:hostAttributes,lifecycleHooks:lang_1.isPresent(lifecycleHooks)?lifecycleHooks:[],template:template})},CompileDirectiveMetadata.fromJson=function(data){return new CompileDirectiveMetadata({isComponent:data.isComponent,dynamicLoadable:data.dynamicLoadable,selector:data.selector,exportAs:data.exportAs,type:lang_1.isPresent(data.type)?CompileTypeMetadata.fromJson(data.type):data.type,changeDetection:lang_1.isPresent(data.changeDetection)?change_detection_1.CHANGE_DETECTION_STRATEGY_VALUES[data.changeDetection]:data.changeDetection,inputs:data.inputs,outputs:data.outputs,hostListeners:data.hostListeners,hostProperties:data.hostProperties,hostAttributes:data.hostAttributes,lifecycleHooks:data.lifecycleHooks.map(function(hookValue){return interfaces_1.LIFECYCLE_HOOKS_VALUES[hookValue]}),template:lang_1.isPresent(data.template)?CompileTemplateMetadata.fromJson(data.template):data.template})},CompileDirectiveMetadata.prototype.toJson=function(){return{"class":"Directive",isComponent:this.isComponent,dynamicLoadable:this.dynamicLoadable,selector:this.selector,exportAs:this.exportAs,type:lang_1.isPresent(this.type)?this.type.toJson():this.type,changeDetection:lang_1.isPresent(this.changeDetection)?lang_1.serializeEnum(this.changeDetection):this.changeDetection,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,lifecycleHooks:this.lifecycleHooks.map(function(hook){return lang_1.serializeEnum(hook)}),template:lang_1.isPresent(this.template)?this.template.toJson():this.template}},CompileDirectiveMetadata}();exports.CompileDirectiveMetadata=CompileDirectiveMetadata,exports.createHostComponentMeta=createHostComponentMeta;var CompilePipeMetadata=function(){function CompilePipeMetadata(_a){var _b=void 0===_a?{}:_a,type=_b.type,name=_b.name,pure=_b.pure;this.type=type,this.name=name,this.pure=lang_1.normalizeBool(pure)}return CompilePipeMetadata.fromJson=function(data){return new CompilePipeMetadata({type:lang_1.isPresent(data.type)?CompileTypeMetadata.fromJson(data.type):data.type,name:data.name,pure:data.pure})},CompilePipeMetadata.prototype.toJson=function(){return{"class":"Pipe",type:lang_1.isPresent(this.type)?this.type.toJson():null,name:this.name,pure:this.pure}},CompilePipeMetadata}();exports.CompilePipeMetadata=Compi
}return p}).join(sep)}return scoped},ShadowCss.prototype._insertPolyfillHostInCssText=function(selector){return selector=lang_1.StringWrapper.replaceAll(selector,_colonHostContextRe,_polyfillHostContext),selector=lang_1.StringWrapper.replaceAll(selector,_colonHostRe,_polyfillHost)},ShadowCss}();exports.ShadowCss=ShadowCss;var _cssContentNextSelectorRe=/polyfill-next-selector[^}]*content:[\s]*?['"](.*?)['"][;\s]*}([^{]*?){/gim,_cssContentRuleRe=/(polyfill-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,_cssContentUnscopedRuleRe=/(polyfill-unscoped-rule)[^}]*(content:[\s]*['"](.*?)['"])[;\s]*[^}]*}/gim,_polyfillHost="-shadowcsshost",_polyfillHostContext="-shadowcsscontext",_parenSuffix=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",_cssColonHostRe=lang_1.RegExpWrapper.create("("+_polyfillHost+_parenSuffix,"im"),_cssColonHostContextRe=lang_1.RegExpWrapper.create("("+_polyfillHostContext+_parenSuffix,"im"),_polyfillHostNoCombinator=_polyfillHost+"-no-combinator",_shadowDOMSelectorsRe=[/>>>/g,/::shadow/g,/::content/g,/\/deep\//g,/\/shadow-deep\//g,/\/shadow\//g],_selectorReSuffix="([>\\s~+[.,{:][\\s\\S]*)?$",_polyfillHostRe=lang_1.RegExpWrapper.create(_polyfillHost,"im"),_colonHostRe=/:host/gim,_colonHostContextRe=/:host-context/gim,_commentRe=/\/\*[\s\S]*?\*\//g,_ruleRe=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,_curlyRe=/([{}])/g,OPEN_CURLY="{",CLOSE_CURLY="}",BLOCK_PLACEHOLDER="%BLOCK%",CssRule=function(){function CssRule(selector,content){this.selector=selector,this.content=content}return CssRule}();exports.CssRule=CssRule,exports.processRules=processRules;var StringWithEscapedBlocks=function(){function StringWithEscapedBlocks(escapedString,blocks){this.escapedString=escapedString,this.blocks=blocks}return StringWithEscapedBlocks}()}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("78",["2b"],!0,function($__require,exports,module){"use strict";function isStyleUrlResolvable(url){if(lang_1.isBlank(url)||0===url.length||"/"==url[0])return!1;var schemeMatch=lang_1.RegExpWrapper.firstMatch(_urlWithSchemaRe,url);return lang_1.isBlank(schemeMatch)||"package"==schemeMatch[1]||"asset"==schemeMatch[1]}function extractStyleUrls(resolver,baseUrl,cssText){var foundUrls=[],modifiedCssText=lang_1.StringWrapper.replaceAllMapped(cssText,_cssImportRe,function(m){var url=lang_1.isPresent(m[1])?m[1]:m[2];return isStyleUrlResolvable(url)?(foundUrls.push(resolver.resolve(baseUrl,url)),""):m[0]});return new StyleWithImports(modifiedCssText,foundUrls)}var global=this,__define=global.define;global.define=void 0;var lang_1=$__require("2b"),StyleWithImports=function(){function StyleWithImports(style,styleUrls){this.style=style,this.styleUrls=styleUrls}return StyleWithImports}();exports.StyleWithImports=StyleWithImports,exports.isStyleUrlResolvable=isStyleUrlResolvable,exports.extractStyleUrls=extractStyleUrls;var _cssImportRe=/@import\s+(?:url\()?\s*(?:(?:['"]([^'"]*))|([^;\)\s]*))[^;]*;?/g,_urlWithSchemaRe=/^([a-zA-Z\-\+\.]+):/g;return global.define=__define,module.exports}),$__System.registerDynamic("67",["65","7d","7b","2b","62","8c","7c","78","70","3c"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __decorate=this&&this.__decorate||function(decorators,target,key,desc){var d,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(k,v):void 0},source_module_1=$__require("65"),view_1=$__require("7d"),xhr_1=$__require("7b"),lang_1=$__require("2b"),async_1=$__require("62"),shadow_css_1=$__require("8c"),url_resolver_1=$__require("7c"),style_url_resolver_1=$__require("78"),uti
}();exports.EmbeddedTemplateAst=EmbeddedTemplateAst;var BoundDirectivePropertyAst=function(){function BoundDirectivePropertyAst(directiveName,templateName,value,sourceSpan){this.directiveName=directiveName,this.templateName=templateName,this.value=value,this.sourceSpan=sourceSpan}return BoundDirectivePropertyAst.prototype.visit=function(visitor,context){return visitor.visitDirectiveProperty(this,context)},BoundDirectivePropertyAst}();exports.BoundDirectivePropertyAst=BoundDirectivePropertyAst;var DirectiveAst=function(){function DirectiveAst(directive,inputs,hostProperties,hostEvents,exportAsVars,sourceSpan){this.directive=directive,this.inputs=inputs,this.hostProperties=hostProperties,this.hostEvents=hostEvents,this.exportAsVars=exportAsVars,this.sourceSpan=sourceSpan}return DirectiveAst.prototype.visit=function(visitor,context){return visitor.visitDirective(this,context)},DirectiveAst}();exports.DirectiveAst=DirectiveAst;var NgContentAst=function(){function NgContentAst(index,ngContentIndex,sourceSpan){this.index=index,this.ngContentIndex=ngContentIndex,this.sourceSpan=sourceSpan}return NgContentAst.prototype.visit=function(visitor,context){return visitor.visitNgContent(this,context)},NgContentAst}();exports.NgContentAst=NgContentAst,function(PropertyBindingType){PropertyBindingType[PropertyBindingType.Property=0]="Property",PropertyBindingType[PropertyBindingType.Attribute=1]="Attribute",PropertyBindingType[PropertyBindingType.Class=2]="Class",PropertyBindingType[PropertyBindingType.Style=3]="Style"}(exports.PropertyBindingType||(exports.PropertyBindingType={}));exports.PropertyBindingType;return exports.templateVisitAll=templateVisitAll,global.define=__define,module.exports}),$__System.registerDynamic("65",["2b"],!0,function($__require,exports,module){"use strict";function moduleRef(moduleUrl){return"#MODULE["+moduleUrl+"]"}var global=this,__define=global.define;global.define=void 0;var lang_1=$__require("2b"),MODULE_REGEXP=/#MODULE\[([^\]]*)\]/g;exports.moduleRef=moduleRef;var SourceModule=function(){function SourceModule(moduleUrl,sourceWithModuleRefs){this.moduleUrl=moduleUrl,this.sourceWithModuleRefs=sourceWithModuleRefs}return SourceModule.getSourceWithoutImports=function(sourceWithModuleRefs){return lang_1.StringWrapper.replaceAllMapped(sourceWithModuleRefs,MODULE_REGEXP,function(match){return""})},SourceModule.prototype.getSourceWithImports=function(){var _this=this,moduleAliases={},imports=[],newSource=lang_1.StringWrapper.replaceAllMapped(this.sourceWithModuleRefs,MODULE_REGEXP,function(match){var moduleUrl=match[1],alias=moduleAliases[moduleUrl];return lang_1.isBlank(alias)&&(moduleUrl==_this.moduleUrl?alias="":(alias="import"+imports.length,imports.push([moduleUrl,alias])),moduleAliases[moduleUrl]=alias),alias.length>0?alias+".":""});return new SourceWithImports(newSource,imports)},SourceModule}();exports.SourceModule=SourceModule;var SourceExpression=function(){function SourceExpression(declarations,expression){this.declarations=declarations,this.expression=expression}return SourceExpression}();exports.SourceExpression=SourceExpression;var SourceExpressions=function(){function SourceExpressions(declarations,expressions){this.declarations=declarations,this.expressions=expressions}return SourceExpressions}();exports.SourceExpressions=SourceExpressions;var SourceWithImports=function(){function SourceWithImports(source,imports){this.source=source,this.imports=imports}return SourceWithImports}();return exports.SourceWithImports=SourceWithImports,global.define=__define,module.exports}),$__System.registerDynamic("70",["2b"],!0,function($__require,exports,module){"use strict";function camelCaseToDashCase(input){return lang_1.StringWrapper.replaceAllMapped(input,CAMEL_CASE_REGEXP,function(m){return"-"+m[1].toLowerCase()})}function dashCaseToCamelCase(input){return lang_1.StringWrapper.replaceAllMapped(input,DASH_CASE_REGEXP,function(m){return m[1].toUpperCase()})}function escapeSingleQuoteString(input){return lang_1.isBlank(input)?null:"'"+escapeString(input,SINGLE_QUOTE_ESCAPE_STRING_RE)+"'"}function escapeDoubl
this._protoElements.set(tagName,element)}return element},DomElementSchemaRegistry.prototype.hasProperty=function(tagName,propName){if(-1!==tagName.indexOf("-"))return!0;var elm=this._getProtoElement(tagName);return dom_adapter_1.DOM.hasProperty(elm,propName)},DomElementSchemaRegistry.prototype.getMappedPropName=function(propName){var mappedPropName=collection_1.StringMapWrapper.get(dom_adapter_1.DOM.attrToPropMap,propName);return lang_1.isPresent(mappedPropName)?mappedPropName:propName},DomElementSchemaRegistry=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],DomElementSchemaRegistry)}(element_schema_registry_1.ElementSchemaRegistry);return exports.DomElementSchemaRegistry=DomElementSchemaRegistry,global.define=__define,module.exports}),$__System.registerDynamic("7c",["3c","2b","90"],!0,function($__require,exports,module){"use strict";function createWithoutPackagePrefix(){return new UrlResolver}function getUrlScheme(url){var match=_split(url);return match&&match[_ComponentIndex.Scheme]||""}function _buildFromEncodedParts(opt_scheme,opt_userInfo,opt_domain,opt_port,opt_path,opt_queryData,opt_fragment){var out=[];return lang_1.isPresent(opt_scheme)&&out.push(opt_scheme+":"),lang_1.isPresent(opt_domain)&&(out.push("//"),lang_1.isPresent(opt_userInfo)&&out.push(opt_userInfo+"@"),out.push(opt_domain),lang_1.isPresent(opt_port)&&out.push(":"+opt_port)),lang_1.isPresent(opt_path)&&out.push(opt_path),lang_1.isPresent(opt_queryData)&&out.push("?"+opt_queryData),lang_1.isPresent(opt_fragment)&&out.push("#"+opt_fragment),out.join("")}function _split(uri){return lang_1.RegExpWrapper.firstMatch(_splitRe,uri)}function _removeDotSegments(path){if("/"==path)return"/";for(var leadingSlash="/"==path[0]?"/":"",trailingSlash="/"===path[path.length-1]?"/":"",segments=path.split("/"),out=[],up=0,pos=0;pos<segments.length;pos++){var segment=segments[pos];switch(segment){case"":case".":break;case"..":out.length>0?out.pop():up++;break;default:out.push(segment)}}if(""==leadingSlash){for(;up-- >0;)out.unshift("..");0===out.length&&out.push(".")}return leadingSlash+out.join("/")+trailingSlash}function _joinAndCanonicalizePath(parts){var path=parts[_ComponentIndex.Path];return path=lang_1.isBlank(path)?"":_removeDotSegments(path),parts[_ComponentIndex.Path]=path,_buildFromEncodedParts(parts[_ComponentIndex.Scheme],parts[_ComponentIndex.UserInfo],parts[_ComponentIndex.Domain],parts[_ComponentIndex.Port],path,parts[_ComponentIndex.QueryData],parts[_ComponentIndex.Fragment])}function _resolveUrl(base,url){var parts=_split(encodeURI(url)),baseParts=_split(base);if(lang_1.isPresent(parts[_ComponentIndex.Scheme]))return _joinAndCanonicalizePath(parts);parts[_ComponentIndex.Scheme]=baseParts[_ComponentIndex.Scheme];for(var i=_ComponentIndex.Scheme;i<=_ComponentIndex.Port;i++)lang_1.isBlank(parts[i])&&(parts[i]=baseParts[i]);if("/"==parts[_ComponentIndex.Path][0])return _joinAndCanonicalizePath(parts);var path=baseParts[_ComponentIndex.Path];lang_1.isBlank(path)&&(path="/");var index=path.lastIndexOf("/");return path=path.substring(0,index+1)+parts[_ComponentIndex.Path],parts[_ComponentIndex.Path]=path,_joinAndCanonicalizePath(parts)}var global=this,__define=global.define;global.define=void 0;var __decorate=this&&this.__decorate||function(decorators,target,key,desc){var d,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(k,v):void 0},__param=this&&this.__param||function(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}},di_1=$__require("3c"),lang_1=$__require("2b"),application_tokens_1=$__require("90"),di_2=$__require("3c");exports.createWithoutPackageP
Promise.resolve().then(flush)}:function(){macrotask.call(global,flush)};module.exports=function(fn){var task={fn:fn,next:void 0,domain:isNode&&process.domain};last&&(last.next=task),head||(head=task,notify()),last=task}}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("9f",["2e"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var ITERATOR=$__require("2e")("iterator"),SAFE_CLOSING=!1;try{var riter=[7][ITERATOR]();riter["return"]=function(){SAFE_CLOSING=!0},Array.from(riter,function(){throw 2})}catch(e){}return module.exports=function(exec,skipClosing){if(!skipClosing&&!SAFE_CLOSING)return!1;var safe=!1;try{var arr=[7],iter=arr[ITERATOR]();iter.next=function(){safe=!0},arr[ITERATOR]=function(){return iter},exec(arr)}catch(e){}return safe},global.define=__define,module.exports}),$__System.registerDynamic("ae",["af","b0","a8","98","2d","99","aa","a4","a5","b1","b2","b3","a2","2e","a3","ad","b4","b5","b6","b7","30","9f","37"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(process){"use strict";var Wrapper,$=$__require("af"),LIBRARY=$__require("b0"),global=$__require("a8"),ctx=$__require("98"),classof=$__require("2d"),$export=$__require("99"),isObject=$__require("aa"),anObject=$__require("a4"),aFunction=$__require("a5"),strictNew=$__require("b1"),forOf=$__require("b2"),setProto=$__require("b3").set,same=$__require("a2"),SPECIES=$__require("2e")("species"),speciesConstructor=$__require("a3"),asap=$__require("ad"),PROMISE="Promise",process=global.process,isNode="process"==classof(process),P=global[PROMISE],testResolve=function(sub){var test=new P(function(){});return sub&&(test.constructor=Object),P.resolve(test)===test},USE_NATIVE=function(){function P2(x){var self=new P(x);return setProto(self,P2.prototype),self}var works=!1;try{if(works=P&&P.resolve&&testResolve(),setProto(P2,P),P2.prototype=$.create(P.prototype,{constructor:{value:P2}}),P2.resolve(5).then(function(){})instanceof P2||(works=!1),works&&$__require("b4")){var thenableThenGotten=!1;P.resolve($.setDesc({},"then",{get:function(){thenableThenGotten=!0}})),works=thenableThenGotten}}catch(e){works=!1}return works}(),sameConstructor=function(a,b){return LIBRARY&&a===P&&b===Wrapper?!0:same(a,b)},getConstructor=function(C){var S=anObject(C)[SPECIES];return void 0!=S?S:C},isThenable=function(it){var then;return isObject(it)&&"function"==typeof(then=it.then)?then:!1},PromiseCapability=function(C){var resolve,reject;this.promise=new C(function($$resolve,$$reject){if(void 0!==resolve||void 0!==reject)throw TypeError("Bad Promise constructor");resolve=$$resolve,reject=$$reject}),this.resolve=aFunction(resolve),this.reject=aFunction(reject)},perform=function(exec){try{exec()}catch(e){return{error:e}}},notify=function(record,isReject){if(!record.n){record.n=!0;var chain=record.c;asap(function(){for(var value=record.v,ok=1==record.s,i=0,run=function(reaction){var result,then,handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject;try{handler?(ok||(record.h=!0),result=handler===!0?value:handler(value),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)):reject(value)}catch(e){reject(e)}};chain.length>i;)run(chain[i++]);chain.length=0,record.n=!1,isReject&&setTimeout(function(){var handler,console,promise=record.p;isUnhandled(promise)&&(isNode?process.emit("unhandledRejection",value,promise):(handler=global.onunhandledrejection)?handler({promise:promise,reason:value}):(console=global.console)&&console.error&&console.error("Unhandled promise rejection",value)),record.a=void 0},1)})}},isUnhandled=function(promise){var reaction,record=promise._d,chain=record.a||record.c,i=0;if(record.h)return!1;for(;chain.length>i;)if(reaction=chain[i++],reaction.fail||!isUnhandled(reaction.promise))return!1;return!0},$reject=function(value){var record=this;record.d||(record.d=!0,record=record.r||record,record.v=value,record.s=2,
return!0},validator.isCreditCard=function(str){var sanitized=str.replace(/[^0-9]+/g,"");if(!creditCard.test(sanitized))return!1;for(var digit,tmpNum,shouldDouble,sum=0,i=sanitized.length-1;i>=0;i--)digit=sanitized.substring(i,i+1),tmpNum=parseInt(digit,10),shouldDouble?(tmpNum*=2,sum+=tmpNum>=10?tmpNum%10+1:tmpNum):sum+=tmpNum,shouldDouble=!shouldDouble;return!!(sum%10===0?sanitized:!1)},validator.isISIN=function(str){if(!isin.test(str))return!1;for(var digit,tmpNum,checksumStr=str.replace(/[A-Z]/g,function(character){return parseInt(character,36)}),sum=0,shouldDouble=!0,i=checksumStr.length-2;i>=0;i--)digit=checksumStr.substring(i,i+1),tmpNum=parseInt(digit,10),shouldDouble?(tmpNum*=2,sum+=tmpNum>=10?tmpNum+1:tmpNum):sum+=tmpNum,shouldDouble=!shouldDouble;return parseInt(str.substr(str.length-1),10)===(1e4-sum)%10},validator.isISBN=function(str,version){if(version=validator.toString(version),!version)return validator.isISBN(str,10)||validator.isISBN(str,13);var i,sanitized=str.replace(/[\s-]+/g,""),checksum=0;if("10"===version){if(!isbn10Maybe.test(sanitized))return!1;for(i=0;9>i;i++)checksum+=(i+1)*sanitized.charAt(i);if(checksum+="X"===sanitized.charAt(9)?100:10*sanitized.charAt(9),checksum%11===0)return!!sanitized}else if("13"===version){if(!isbn13Maybe.test(sanitized))return!1;var factor=[1,3];for(i=0;12>i;i++)checksum+=factor[i%2]*sanitized.charAt(i);if(sanitized.charAt(12)-(10-checksum%10)%10===0)return!!sanitized}return!1},validator.isMobilePhone=function(str,locale){return locale in phones?phones[locale].test(str):!1};var default_currency_options={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_space_after_digits:!1};validator.isCurrency=function(str,options){return options=merge(options,default_currency_options),currencyRegex(options).test(str)},validator.isJSON=function(str){try{var obj=JSON.parse(str);return!!obj&&"object"==typeof obj}catch(e){}return!1},validator.isMultibyte=function(str){return multibyte.test(str)},validator.isAscii=function(str){return ascii.test(str)},validator.isFullWidth=function(str){return fullWidth.test(str)},validator.isHalfWidth=function(str){return halfWidth.test(str)},validator.isVariableWidth=function(str){return fullWidth.test(str)&&halfWidth.test(str)},validator.isSurrogatePair=function(str){return surrogatePair.test(str)},validator.isBase64=function(str){return base64.test(str)},validator.isMongoId=function(str){return validator.isHexadecimal(str)&&24===str.length},validator.isISO8601=function(str){return iso8601.test(str)},validator.ltrim=function(str,chars){var pattern=chars?new RegExp("^["+chars+"]+","g"):/^\s+/g;return str.replace(pattern,"")},validator.rtrim=function(str,chars){var pattern=chars?new RegExp("["+chars+"]+$","g"):/\s+$/g;return str.replace(pattern,"")},validator.trim=function(str,chars){var pattern=chars?new RegExp("^["+chars+"]+|["+chars+"]+$","g"):/^\s+|\s+$/g;return str.replace(pattern,"")},validator.escape=function(str){return str.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\`/g,"&#96;")},validator.stripLow=function(str,keep_new_lines){var chars=keep_new_lines?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return validator.blacklist(str,chars)},validator.whitelist=function(str,chars){return str.replace(new RegExp("[^"+chars+"]+","g"),"")},validator.blacklist=function(str,chars){return str.replace(new RegExp("["+chars+"]+","g"),"")};var default_normalize_email_options={lowercase:!0,remove_dots:!0,remove_extension:!0};return validator.normalizeEmail=function(email,options){if(options=merge(options,default_normalize_email_options),!validator.isEmail(email))return!1;var parts=email.split("@",2);if(parts[1]=parts[1].toLowerCase(),"gmail.com"===parts[1]||"googlemail.com"===parts[1]){if(options.remove_extension&&(parts[0]=parts[0].
exports.validateSchema.call(this,report,schema.additionalProperties),report.path.pop())},properties:function(report,schema){if("object"!==Utils.whatIs(schema.properties))return void report.addError("KEYWORD_TYPE_EXPECTED",["properties","object"]);for(var keys=Object.keys(schema.properties),idx=keys.length;idx--;){var key=keys[idx],val=schema.properties[key];report.path.push("properties"),report.path.push(key),exports.validateSchema.call(this,report,val),report.path.pop(),report.path.pop()}this.options.forceAdditional===!0&&void 0===schema.additionalProperties&&report.addError("KEYWORD_UNDEFINED_STRICT",["additionalProperties"]),this.options.assumeAdditional&&void 0===schema.additionalProperties&&(schema.additionalProperties=!1),this.options.forceProperties===!0&&0===keys.length&&report.addError("CUSTOM_MODE_FORCE_PROPERTIES",["properties"])},patternProperties:function(report,schema){if("object"!==Utils.whatIs(schema.patternProperties))return void report.addError("KEYWORD_TYPE_EXPECTED",["patternProperties","object"]);for(var keys=Object.keys(schema.patternProperties),idx=keys.length;idx--;){var key=keys[idx],val=schema.patternProperties[key];try{RegExp(key)}catch(e){report.addError("KEYWORD_PATTERN",["patternProperties",key])}report.path.push("patternProperties"),report.path.push(key.toString()),exports.validateSchema.call(this,report,val),report.path.pop(),report.path.pop()}this.options.forceProperties===!0&&0===keys.length&&report.addError("CUSTOM_MODE_FORCE_PROPERTIES",["patternProperties"])},dependencies:function(report,schema){if("object"!==Utils.whatIs(schema.dependencies))report.addError("KEYWORD_TYPE_EXPECTED",["dependencies","object"]);else for(var keys=Object.keys(schema.dependencies),idx=keys.length;idx--;){var schemaKey=keys[idx],schemaDependency=schema.dependencies[schemaKey],type=Utils.whatIs(schemaDependency);if("object"===type)report.path.push("dependencies"),report.path.push(schemaKey),exports.validateSchema.call(this,report,schemaDependency),report.path.pop(),report.path.pop();else if("array"===type){var idx2=schemaDependency.length;for(0===idx2&&report.addError("KEYWORD_MUST_BE",["dependencies","not empty array"]);idx2--;)"string"!=typeof schemaDependency[idx2]&&report.addError("KEYWORD_VALUE_TYPE",["dependensices","string"]);Utils.isUniqueArray(schemaDependency)===!1&&report.addError("KEYWORD_MUST_BE",["dependencies","an array with unique items"])}else report.addError("KEYWORD_VALUE_TYPE",["dependencies","object or array"])}},"enum":function(report,schema){Array.isArray(schema["enum"])===!1?report.addError("KEYWORD_TYPE_EXPECTED",["enum","array"]):0===schema["enum"].length?report.addError("KEYWORD_MUST_BE",["enum","an array with at least one element"]):Utils.isUniqueArray(schema["enum"])===!1&&report.addError("KEYWORD_MUST_BE",["enum","an array with unique elements"])},type:function(report,schema){var primitiveTypes=["array","boolean","integer","number","null","object","string"],primitiveTypeStr=primitiveTypes.join(","),isArray=Array.isArray(schema.type);if(isArray){for(var idx=schema.type.length;idx--;)-1===primitiveTypes.indexOf(schema.type[idx])&&report.addError("KEYWORD_TYPE_EXPECTED",["type",primitiveTypeStr]);Utils.isUniqueArray(schema.type)===!1&&report.addError("KEYWORD_MUST_BE",["type","an object with unique properties"])}else"string"==typeof schema.type?-1===primitiveTypes.indexOf(schema.type)&&report.addError("KEYWORD_TYPE_EXPECTED",["type",primitiveTypeStr]):report.addError("KEYWORD_TYPE_EXPECTED",["type",["string","array"]]);this.options.noEmptyStrings===!0&&("string"===schema.type||isArray&&-1!==schema.type.indexOf("string"))&&void 0===schema.minLength&&void 0===schema["enum"]&&void 0===schema.format&&(schema.minLength=1),this.options.noEmptyArrays===!0&&("array"===schema.type||isArray&&-1!==schema.type.indexOf("array"))&&void 0===schema.minItems&&(schema.minItems=1),this.options.forceProperties===!0&&("object"===schema.type||isArray&&-1!==schema.type.indexOf("object"))&&void 0===schema.properties&&void 0===schema.patternProperties&&report.addError("KEYWORD_UNDEFINED_STRICT",["propertie
description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},"in":{type:"string",description:"Determines the location of the parameter.","enum":["body"]},required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},schema:{$ref:"#/definitions/schema"}},additionalProperties:!1},headerParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["header"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormat"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},queryParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["query"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array"]},format:{type:"string"},items:{$ref:"#/definitions/primitivesItems"},collectionFormat:{$ref:"#/definitions/collectionFormatWithMulti"},"default":{$ref:"#/definitions/default"},maximum:{$ref:"#/definitions/maximum"},exclusiveMaximum:{$ref:"#/definitions/exclusiveMaximum"},minimum:{$ref:"#/definitions/minimum"},exclusiveMinimum:{$ref:"#/definitions/exclusiveMinimum"},maxLength:{$ref:"#/definitions/maxLength"},minLength:{$ref:"#/definitions/minLength"},pattern:{$ref:"#/definitions/pattern"},maxItems:{$ref:"#/definitions/maxItems"},minItems:{$ref:"#/definitions/minItems"},uniqueItems:{$ref:"#/definitions/uniqueItems"},"enum":{$ref:"#/definitions/enum"},multipleOf:{$ref:"#/definitions/multipleOf"}}},formDataParameterSubSchema:{additionalProperties:!1,patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}},properties:{required:{type:"boolean",description:"Determines whether or not this parameter is required or optional.","default":!1},"in":{type:"string",description:"Determines the location of the parameter.","enum":["formData"]},description:{type:"string",description:"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed."},name:{type:"string",description:"The name of the parameter."},allowEmptyValue:{type:"boolean","default":!1,description:"allows sending a parameter by name only or with an empty value."},type:{type:"string","enum":["string","number","boolean","integer","array","file"]},format:{type:"string"},items:{$ref:"#/definitions/p
},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(type,listener){function g(){this.removeListener(type,g),fired||(fired=!0,listener.apply(this,arguments))}if(!isFunction(listener))throw TypeError("listener must be a function");var fired=!1;return g.listener=listener,this.on(type,g),this},EventEmitter.prototype.removeListener=function(type,listener){var list,position,length,i;if(!isFunction(listener))throw TypeError("listener must be a function");if(!this._events||!this._events[type])return this;if(list=this._events[type],length=list.length,position=-1,list===listener||isFunction(list.listener)&&list.listener===listener)delete this._events[type],this._events.removeListener&&this.emit("removeListener",type,listener);else if(isObject(list)){for(i=length;i-- >0;)if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}if(0>position)return this;1===list.length?(list.length=0,delete this._events[type]):list.splice(position,1),this._events.removeListener&&this.emit("removeListener",type,listener)}return this},EventEmitter.prototype.removeAllListeners=function(type){var key,listeners;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[type]&&delete this._events[type],this;if(0===arguments.length){for(key in this._events)"removeListener"!==key&&this.removeAllListeners(key);return this.removeAllListeners("removeListener"),this._events={},this}if(listeners=this._events[type],isFunction(listeners))this.removeListener(type,listeners);else for(;listeners.length;)this.removeListener(type,listeners[listeners.length-1]);return delete this._events[type],this},EventEmitter.prototype.listeners=function(type){var ret;return ret=this._events&&this._events[type]?isFunction(this._events[type])?[this._events[type]]:this._events[type].slice():[]},EventEmitter.listenerCount=function(emitter,type){var ret;return ret=emitter._events&&emitter._events[type]?isFunction(emitter._events[type])?1:emitter._events[type].length:0},global.define=__define,module.exports}),$__System.registerDynamic("fb",["fa"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("fa"),global.define=__define,module.exports}),$__System.registerDynamic("fc",["fb"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__System._nodeRequire?$__System._nodeRequire("events"):$__require("fb"),global.define=__define,module.exports}),$__System.registerDynamic("fd",["fc"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("fc"),global.define=__define,module.exports}),$__System.registerDynamic("fe",["e8"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(Buffer){function assertEncoding(encoding){if(encoding&&!isBufferEncoding(encoding))throw new Error("Unknown encoding: "+encoding)}function passThroughWrite(buffer){return buffer.toString(this.encoding)}function utf16DetectIncompleteChar(buffer){this.charReceived=buffer.length%2,this.charLength=this.charReceived?2:0}function base64DetectIncompleteChar(buffer){this.charReceived=buffer.length%3,this.charLength=this.charReceived?3:0}var Buffer=$__require("e8").Buffer,isBufferEncoding=Buffer.isEncoding||function(encoding){switch(encoding&&encoding.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},StringDecoder=exports.StringDecoder=function(encoding){switch(this.encoding=(encoding||"utf8").toLowerCase().replace(/[-_]/,""),assertEncoding(encoding),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=utf16DetectIncompleteChar;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=base64DetectIncompleteChar;bre
}function onend(){didOnEnd||(didOnEnd=!0,dest.end())}function onclose(){didOnEnd||(didOnEnd=!0,"function"==typeof dest.destroy&&dest.destroy())}function onerror(er){if(cleanup(),0===EE.listenerCount(this,"error"))throw er}function cleanup(){source.removeListener("data",ondata),dest.removeListener("drain",ondrain),source.removeListener("end",onend),source.removeListener("close",onclose),source.removeListener("error",onerror),dest.removeListener("error",onerror),source.removeListener("end",cleanup),source.removeListener("close",cleanup),dest.removeListener("close",cleanup)}var source=this;source.on("data",ondata),dest.on("drain",ondrain),dest._isStdio||options&&options.end===!1||(source.on("end",onend),source.on("close",onclose));var didOnEnd=!1;return source.on("error",onerror),dest.on("error",onerror),source.on("end",cleanup),source.on("close",cleanup),dest.on("close",cleanup),dest.emit("pipe",source),dest},global.define=__define,module.exports}),$__System.registerDynamic("104",["f4"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("f4"),global.define=__define,module.exports}),$__System.registerDynamic("105",["104"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__System._nodeRequire?$__System._nodeRequire("stream"):$__require("104"),global.define=__define,module.exports}),$__System.registerDynamic("106",["105"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("105"),global.define=__define,module.exports}),$__System.registerDynamic("107",["106","e3"],!0,function($__require,exports,module){function parseHeaders(res){for(var lines=res.getAllResponseHeaders().split(/\r?\n/),headers={},i=0;i<lines.length;i++){var line=lines[i];if(""!==line){var m=line.match(/^([^:]+):\s*(.*)/);if(m){var key=m[1].toLowerCase(),value=m[2];void 0!==headers[key]?isArray(headers[key])?headers[key].push(value):headers[key]=[headers[key],value]:headers[key]=value}else headers[line]=!0}}return headers}var global=this,__define=global.define;global.define=void 0;var Stream=$__require("106"),util=$__require("e3"),Response=module.exports=function(res){this.offset=0,this.readable=!0};util.inherits(Response,Stream);var capable={streaming:!0,status2:!0};Response.prototype.getResponse=function(xhr){var respType=String(xhr.responseType).toLowerCase();return"blob"===respType?xhr.responseBlob||xhr.response:"arraybuffer"===respType?xhr.response:xhr.responseText},Response.prototype.getHeader=function(key){return this.headers[key.toLowerCase()]},Response.prototype.handle=function(res){if(2===res.readyState&&capable.status2){try{this.statusCode=res.status,this.headers=parseHeaders(res)}catch(err){capable.status2=!1}capable.status2&&this.emit("ready")}else if(capable.streaming&&3===res.readyState){try{this.statusCode||(this.statusCode=res.status,this.headers=parseHeaders(res),this.emit("ready"))}catch(err){}try{this._emitData(res)}catch(err){capable.streaming=!1}}else 4===res.readyState&&(this.statusCode||(this.statusCode=res.status,this.emit("ready")),this._emitData(res),res.error?this.emit("error",this.getResponse(res)):this.emit("end"),this.emit("close"))},Response.prototype._emitData=function(res){var respBody=this.getResponse(res);return respBody.toString().match(/ArrayBuffer/)?(this.emit("data",new Uint8Array(respBody,this.offset)),void(this.offset=respBody.byteLength)):void(respBody.length>this.offset&&(this.emit("data",respBody.slice(this.offset)),this.offset=respBody.length))};var isArray=Array.isArray||function(xs){return"[object Array]"===Object.prototype.toString.call(xs)};return global.define=__define,module.exports}),$__System.registerDynamic("108",[],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(){function InvalidCharacterError(message){this.message=message}var object="undefined"!=typeof exports?exports:this,chars="ABCDEFGHIJKLMNOPQRSTUVWXYZabc
this._result[i]=entry;else if(c===lib$es6$promise$promise$$default){var promise=new c(lib$es6$promise$$internal$$noop);lib$es6$promise$$internal$$handleMaybeThenable(promise,entry,then),this._willSettleAt(promise,i)}else this._willSettleAt(new c(function(resolve){resolve(entry)}),i)}else this._willSettleAt(resolve(entry),i)},lib$es6$promise$enumerator$$Enumerator.prototype._settledAt=function(state,i,value){var promise=this.promise;promise._state===lib$es6$promise$$internal$$PENDING&&(this._remaining--,state===lib$es6$promise$$internal$$REJECTED?lib$es6$promise$$internal$$reject(promise,value):this._result[i]=value),0===this._remaining&&lib$es6$promise$$internal$$fulfill(promise,this._result)},lib$es6$promise$enumerator$$Enumerator.prototype._willSettleAt=function(promise,i){var enumerator=this;lib$es6$promise$$internal$$subscribe(promise,void 0,function(value){enumerator._settledAt(lib$es6$promise$$internal$$FULFILLED,i,value)},function(reason){enumerator._settledAt(lib$es6$promise$$internal$$REJECTED,i,reason)})};var lib$es6$promise$polyfill$$default=lib$es6$promise$polyfill$$polyfill,lib$es6$promise$umd$$ES6Promise={Promise:lib$es6$promise$promise$$default,polyfill:lib$es6$promise$polyfill$$default};"function"==typeof define&&define.amd?define(function(){return lib$es6$promise$umd$$ES6Promise}):"undefined"!=typeof module&&module.exports?module.exports=lib$es6$promise$umd$$ES6Promise:"undefined"!=typeof this&&(this.ES6Promise=lib$es6$promise$umd$$ES6Promise),lib$es6$promise$polyfill$$default()}).call(this)}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("e7",["115"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("115"),global.define=__define,module.exports}),$__System.registerDynamic("112",["e7"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;return global.define=void 0,module.exports="function"==typeof Promise?Promise:$__require("e7").Promise,global.define=__define,module.exports}),$__System.registerDynamic("116",["ed","111","113","ea","117","112","eb","de","37"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(process){"use strict";function read(path,$refs,options){try{path=util.path.stripHash(path),util.debug("Reading %s",path);var $ref=$refs._get$Ref(path);return $ref&&!$ref.isExpired()?(util.debug(" cached from %s",$ref.pathType),Promise.resolve({$ref:$ref,cached:!0})):($ref=new $Ref($refs,path),read$Ref($ref,options))}catch(e){return Promise.reject(e)}}function read$Ref($ref,options){try{var promise=options.$refs.external&&(read$RefFile($ref,options)||read$RefUrl($ref,options));return promise?promise.then(function(data){var value=parse(data,$ref.path,options);return $ref.setValue(value,options),{$ref:$ref,cached:!1}}):Promise.reject(ono.syntax('Unable to resolve $ref pointer "%s"',$ref.path))}catch(e){return Promise.reject(e)}}function read$RefFile($ref,options){return process.browser||util.path.isUrl($ref.path)?void 0:($ref.pathType="fs",new Promise(function(resolve,reject){var file;try{file=util.path.urlToLocalPath($ref.path)}catch(err){reject(ono.uri(err,"Malformed URI: %s",$ref.path))}util.debug("Opening file: %s",file);try{fs.readFile(file,function(err,data){err?reject(ono(err,'Error opening file "%s"',$ref.path)):resolve(data)})}catch(err){reject(ono(err,'Error opening file "%s"',file))}}))}function read$RefUrl($ref,options){var u=url.parse($ref.path);return process.browser&&!u.protocol&&(u.protocol=url.parse(location.href).protocol),"http:"===u.protocol?($ref.pathType="http",download(u,options)):"https:"===u.protocol?($ref.pathType="https",download(u,options)):void 0}var fs=$__require("ed"),download=$__require("111"),parse=$__require("113"),util=$__require("ea"),$Ref=$__require("117"),Promise=$__require("112"),url=$__require("eb"),ono=$__require("de");module.exports=read}($__require("37")),global.define=__define,module.exports}),$__System.registerDynamic("118",["112","117","
!(state.lineIndent>0||37!==ch));){for(hasDirectives=!0,ch=state.input.charCodeAt(++state.position),_position=state.position;0!==ch&&!is_WS_OR_EOL(ch);)ch=state.input.charCodeAt(++state.position);for(directiveName=state.input.slice(_position,state.position),directiveArgs=[],directiveName.length<1&&throwError(state,"directive name must not be less than one character in length");0!==ch;){for(;is_WHITE_SPACE(ch);)ch=state.input.charCodeAt(++state.position);if(35===ch){do ch=state.input.charCodeAt(++state.position);while(0!==ch&&!is_EOL(ch));break}if(is_EOL(ch))break;for(_position=state.position;0!==ch&&!is_WS_OR_EOL(ch);)ch=state.input.charCodeAt(++state.position);directiveArgs.push(state.input.slice(_position,state.position))}0!==ch&&readLineBreak(state),_hasOwnProperty.call(directiveHandlers,directiveName)?directiveHandlers[directiveName](state,directiveName,directiveArgs):throwWarning(state,'unknown document directive "'+directiveName+'"')}return skipSeparationSpace(state,!0,-1),0===state.lineIndent&&45===state.input.charCodeAt(state.position)&&45===state.input.charCodeAt(state.position+1)&&45===state.input.charCodeAt(state.position+2)?(state.position+=3,skipSeparationSpace(state,!0,-1)):hasDirectives&&throwError(state,"directives end mark is expected"),composeNode(state,state.lineIndent-1,CONTEXT_BLOCK_OUT,!1,!0),skipSeparationSpace(state,!0,-1),state.checkLineBreaks&&PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart,state.position))&&throwWarning(state,"non-ASCII line breaks are interpreted as content"),state.documents.push(state.result),state.position===state.lineStart&&testDocumentSeparator(state)?void(46===state.input.charCodeAt(state.position)&&(state.position+=3,skipSeparationSpace(state,!0,-1))):void(state.position<state.length-1&&throwError(state,"end of the stream or a document separator is expected"))}function loadDocuments(input,options){input=String(input),options=options||{},0!==input.length&&(10!==input.charCodeAt(input.length-1)&&13!==input.charCodeAt(input.length-1)&&(input+="\n"),65279===input.charCodeAt(0)&&(input=input.slice(1)));var state=new State(input,options);for(state.input+="\x00";32===state.input.charCodeAt(state.position);)state.lineIndent+=1,state.position+=1;for(;state.position<state.length-1;)readDocument(state);return state.documents}function loadAll(input,iterator,options){var index,length,documents=loadDocuments(input,options);for(index=0,length=documents.length;length>index;index+=1)iterator(documents[index])}function load(input,options){var documents=loadDocuments(input,options);if(0!==documents.length){if(1===documents.length)return documents[0];throw new YAMLException("expected a single document in the stream, but found more")}}function safeLoadAll(input,output,options){loadAll(input,output,common.extend({schema:DEFAULT_SAFE_SCHEMA},options))}function safeLoad(input,options){return load(input,common.extend({schema:DEFAULT_SAFE_SCHEMA},options))}var global=this,__define=global.define;global.define=void 0;for(var common=$__require("11e"),YAMLException=$__require("120"),Mark=$__require("11d"),DEFAULT_SAFE_SCHEMA=$__require("121"),DEFAULT_FULL_SCHEMA=$__require("122"),_hasOwnProperty=Object.prototype.hasOwnProperty,CONTEXT_FLOW_IN=1,CONTEXT_FLOW_OUT=2,CONTEXT_BLOCK_IN=3,CONTEXT_BLOCK_OUT=4,CHOMPING_CLIP=1,CHOMPING_STRIP=2,CHOMPING_KEEP=3,PATTERN_NON_PRINTABLE=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,PATTERN_NON_ASCII_LINE_BREAKS=/[\x85\u2028\u2029]/,PATTERN_FLOW_INDICATORS=/[,\[\]\{\}]/,PATTERN_TAG_HANDLE=/^(?:!|!!|![a-z\-]+!)$/i,PATTERN_TAG_URI=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i,simpleEscapeCheck=new Array(256),simpleEscapeMap=new Array(256),i=0;256>i;i++)simpleEscapeCheck[i]=simpleEscapeSequence(i)?1:0,simpleEscapeMap[i]=simpleEscapeSequence(i);var directiveHandlers={YAML:function(state,name,args){var match,major,minor;null!==state.version&&throwError(state,"duplication of %YAML directive"),1!==args.length&&throwError(state,"YAML
delta=6e4*(60*tz_hour+tz_minute),"-"===match[9]&&(delta=-delta)),date=new Date(Date.UTC(year,month,day,hour,minute,second,fraction)),delta&&date.setTime(date.getTime()-delta),date}function representYamlTimestamp(object){return object.toISOString()}var global=this,__define=global.define;global.define=void 0;var Type=$__require("125"),YAML_TIMESTAMP_REGEXP=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?)?$");return module.exports=new Type("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp}),global.define=__define,module.exports}),$__System.registerDynamic("131",["125"],!0,function($__require,exports,module){"use strict";function resolveYamlMerge(data){return"<<"===data||null===data}var global=this,__define=global.define;global.define=void 0;var Type=$__require("125");return module.exports=new Type("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge}),global.define=__define,module.exports}),$__System.registerDynamic("132",["@empty","125"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(Buffer){"use strict";function resolveYamlBinary(data){if(null===data)return!1;var code,idx,bitlen=0,max=data.length,map=BASE64_MAP;for(idx=0;max>idx;idx++)if(code=map.indexOf(data.charAt(idx)),!(code>64)){if(0>code)return!1;bitlen+=6}return bitlen%8===0}function constructYamlBinary(data){var idx,tailbits,input=data.replace(/[\r\n=]/g,""),max=input.length,map=BASE64_MAP,bits=0,result=[];for(idx=0;max>idx;idx++)idx%4===0&&idx&&(result.push(bits>>16&255),result.push(bits>>8&255),result.push(255&bits)),bits=bits<<6|map.indexOf(input.charAt(idx));return tailbits=max%4*6,0===tailbits?(result.push(bits>>16&255),result.push(bits>>8&255),result.push(255&bits)):18===tailbits?(result.push(bits>>10&255),result.push(bits>>2&255)):12===tailbits&&result.push(bits>>4&255),NodeBuffer?new NodeBuffer(result):result}function representYamlBinary(object){var idx,tail,result="",bits=0,max=object.length,map=BASE64_MAP;for(idx=0;max>idx;idx++)idx%3===0&&idx&&(result+=map[bits>>18&63],result+=map[bits>>12&63],result+=map[bits>>6&63],result+=map[63&bits]),bits=(bits<<8)+object[idx];return tail=max%3,0===tail?(result+=map[bits>>18&63],result+=map[bits>>12&63],result+=map[bits>>6&63],result+=map[63&bits]):2===tail?(result+=map[bits>>10&63],result+=map[bits>>4&63],result+=map[bits<<2&63],result+=map[64]):1===tail&&(result+=map[bits>>2&63],result+=map[bits<<4&63],result+=map[64],result+=map[64]),result}function isBinary(object){return NodeBuffer&&NodeBuffer.isBuffer(object)}var NodeBuffer=$__require("@empty").Buffer,Type=$__require("125"),BASE64_MAP="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";module.exports=new Type("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})}($__require("@empty").Buffer),global.define=__define,module.exports}),$__System.registerDynamic("133",["125"],!0,function($__require,exports,module){"use strict";function resolveYamlOmap(data){if(null===data)return!0;var index,length,pair,pairKey,pairHasKey,objectKeys=[],object=data;for(index=0,length=object.length;length>index;index+=1){if(pair=object[index],pairHasKey=!1,"[object Object]"!==_toString.call(pair))return!1;for(pairKey in pair)if(_hasOwnProperty.call(pair,pairKey)){if(pairHasKey)return!1;pairHasKey=!0}if(!pairHasKey)return!1;if(-1!==objectKeys.indexOf(pairKey))return!1;objectKeys.push(pairKey)}return!0}function constructYamlOmap(data){return null!==data?data:[]}var global=this,__define=global.define;global.define=void 0;var Type=$__require("125"),_hasOwnProperty=Object.prototype.hasOwnProperty,_toString=Object.prototype.toString;return module.exports=new Type("tag:yaml.org,2002:omap",{kind:"sequence",resolve:resolveYamlOmap,construct:constructYamlOm
for(var i=start;end>i;i++)ret+=String.fromCharCode(127&buf[i]);return ret}function binarySlice(buf,start,end){var ret="";end=Math.min(buf.length,end);for(var i=start;end>i;i++)ret+=String.fromCharCode(buf[i]);return ret}function hexSlice(buf,start,end){var len=buf.length;(!start||0>start)&&(start=0),(!end||0>end||end>len)&&(end=len);for(var out="",i=start;end>i;i++)out+=toHex(buf[i]);return out}function utf16leSlice(buf,start,end){for(var bytes=buf.slice(start,end),res="",i=0;i<bytes.length;i+=2)res+=String.fromCharCode(bytes[i]+256*bytes[i+1]);return res}function checkOffset(offset,ext,length){if(offset%1!==0||0>offset)throw new RangeError("offset is not uint");if(offset+ext>length)throw new RangeError("Trying to access beyond buffer length")}function checkInt(buf,value,offset,ext,max,min){if(!Buffer.isBuffer(buf))throw new TypeError("buffer must be a Buffer instance");if(value>max||min>value)throw new RangeError("value is out of bounds");if(offset+ext>buf.length)throw new RangeError("index out of range")}function objectWriteUInt16(buf,value,offset,littleEndian){0>value&&(value=65535+value+1);for(var i=0,j=Math.min(buf.length-offset,2);j>i;i++)buf[offset+i]=(value&255<<8*(littleEndian?i:1-i))>>>8*(littleEndian?i:1-i)}function objectWriteUInt32(buf,value,offset,littleEndian){0>value&&(value=4294967295+value+1);for(var i=0,j=Math.min(buf.length-offset,4);j>i;i++)buf[offset+i]=value>>>8*(littleEndian?i:3-i)&255}function checkIEEE754(buf,value,offset,ext,max,min){if(value>max||min>value)throw new RangeError("value is out of bounds");if(offset+ext>buf.length)throw new RangeError("index out of range");if(0>offset)throw new RangeError("index out of range")}function writeFloat(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,value,offset,4,3.4028234663852886e38,-3.4028234663852886e38),ieee754.write(buf,value,offset,littleEndian,23,4),offset+4}function writeDouble(buf,value,offset,littleEndian,noAssert){return noAssert||checkIEEE754(buf,value,offset,8,1.7976931348623157e308,-1.7976931348623157e308),ieee754.write(buf,value,offset,littleEndian,52,8),offset+8}function base64clean(str){if(str=stringtrim(str).replace(INVALID_BASE64_RE,""),str.length<2)return"";for(;str.length%4!==0;)str+="=";return str}function stringtrim(str){return str.trim?str.trim():str.replace(/^\s+|\s+$/g,"")}function toHex(n){return 16>n?"0"+n.toString(16):n.toString(16)}function utf8ToBytes(string,units){units=units||1/0;for(var codePoint,length=string.length,leadSurrogate=null,bytes=[],i=0;length>i;i++){if(codePoint=string.charCodeAt(i),codePoint>55295&&57344>codePoint){if(!leadSurrogate){if(codePoint>56319){(units-=3)>-1&&bytes.push(239,191,189);continue}if(i+1===length){(units-=3)>-1&&bytes.push(239,191,189);continue}leadSurrogate=codePoint;continue}if(56320>codePoint){(units-=3)>-1&&bytes.push(239,191,189),leadSurrogate=codePoint;continue}codePoint=(leadSurrogate-55296<<10|codePoint-56320)+65536}else leadSurrogate&&(units-=3)>-1&&bytes.push(239,191,189);if(leadSurrogate=null,128>codePoint){if((units-=1)<0)break;bytes.push(codePoint)}else if(2048>codePoint){if((units-=2)<0)break;bytes.push(codePoint>>6|192,63&codePoint|128)}else if(65536>codePoint){if((units-=3)<0)break;bytes.push(codePoint>>12|224,codePoint>>6&63|128,63&codePoint|128)}else{if(!(1114112>codePoint))throw new Error("Invalid code point");if((units-=4)<0)break;bytes.push(codePoint>>18|240,codePoint>>12&63|128,codePoint>>6&63|128,63&codePoint|128)}}return bytes}function asciiToBytes(str){for(var byteArray=[],i=0;i<str.length;i++)byteArray.push(255&str.charCodeAt(i));return byteArray}function utf16leToBytes(str,units){for(var c,hi,lo,byteArray=[],i=0;i<str.length&&!((units-=2)<0);i++)c=str.charCodeAt(i),hi=c>>8,lo=c%256,byteArray.push(lo),byteArray.push(hi);return byteArray}function base64ToBytes(str){return base64.toByteArray(base64clean(str))}function blitBuffer(src,dst,offset,length){for(var i=0;length>i&&!(i+offset>=dst.length||i>=src.length);i++)dst[i+offset]=src[i];return i}var global=this,__define=global.define;global.define=void 0;var base64=$__require("140"),ie
var debug=$__require("e2"),path=$__require("14c");return exports.debug=debug("json-schema-ref-parser"),exports.path=path,exports.dereference=function($ref,resolvedValue){if(resolvedValue&&"object"==typeof resolvedValue&&Object.keys($ref).length>1){var merged={};return Object.keys($ref).forEach(function(key){"$ref"!==key&&(merged[key]=$ref[key])}),Object.keys(resolvedValue).forEach(function(key){key in merged||(merged[key]=resolvedValue[key])}),merged}return resolvedValue},global.define=__define,module.exports}),$__System.registerDynamic("14d",[],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=function(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8},global.define=__define,module.exports}),$__System.registerDynamic("14e",[],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,"function"==typeof Object.create?module.exports=function(ctor,superCtor){ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}})}:module.exports=function(ctor,superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor},global.define=__define,module.exports}),$__System.registerDynamic("101",["14e"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("14e"),global.define=__define,module.exports}),$__System.registerDynamic("14f",["14d","101","37"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(process){function inspect(obj,opts){var ctx={seen:[],stylize:stylizeNoColor};return arguments.length>=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function arrayToHash(array){var hash={};return array.forEach(function(val,idx){hash[val]=!0}),hash}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=formatPrimitive(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=arrayToHash(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var base="",array=!1,braces=["{","}"];if(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value)){var n=value.name?": "+value.name:"";base=" [Function"+n+"]"}if(isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0===keys.length&&(!array||0==value.length))return braces[0]+base+braces[1];if(0>recurseTimes)return isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx
var host=this.host,port=portPattern.exec(host);port&&(port=port[0],":"!==port&&(this.port=port.substr(1)),host=host.substr(0,host.length-port.length)),host&&(this.hostname=host)},global.define=__define,module.exports}),$__System.registerDynamic("15a",["159"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("159"),global.define=__define,module.exports}),$__System.registerDynamic("15b",["15a"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__System._nodeRequire?$__System._nodeRequire("url"):$__require("15a"),global.define=__define,module.exports}),$__System.registerDynamic("eb",["15b"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=$__require("15b"),global.define=__define,module.exports}),$__System.registerDynamic("13d",["117","119","ea","de","eb"],!0,function($__require,exports,module){"use strict";function dereference(parser,options){util.debug("Dereferencing $ref pointers in %s",parser.$refs._basePath),parser.$refs.circular=!1,crawl(parser.schema,parser.$refs._basePath,"#",[],parser.$refs,options)}function crawl(obj,path,pathFromRoot,parents,$refs,options){var isCircular=!1;return obj&&"object"==typeof obj&&(parents.push(obj),Object.keys(obj).forEach(function(key){var keyPath=Pointer.join(path,key),keyPathFromRoot=Pointer.join(pathFromRoot,key),value=obj[key],circular=!1;if($Ref.isAllowed$Ref(value,options)){var dereferenced=dereference$Ref(value,keyPath,keyPathFromRoot,parents,$refs,options);circular=dereferenced.circular,obj[key]=dereferenced.value}else circular=-1===parents.indexOf(value)?crawl(value,keyPath,keyPathFromRoot,parents,$refs,options):foundCircularReference(keyPath,$refs,options);isCircular=isCircular||circular}),parents.pop()),isCircular}function dereference$Ref($ref,path,pathFromRoot,parents,$refs,options){util.debug('Dereferencing $ref pointer "%s" at %s',$ref.$ref,path);var $refPath=url.resolve(path,$ref.$ref),pointer=$refs._resolve($refPath,options),directCircular=pointer.circular,circular=directCircular||-1!==parents.indexOf(pointer.value);circular&&foundCircularReference(path,$refs,options);var dereferencedValue=util.dereference($ref,pointer.value);return circular||(circular=crawl(dereferencedValue,pointer.path,pathFromRoot,parents,$refs,options)),circular&&!directCircular&&"ignore"===options.$refs.circular&&(dereferencedValue=$ref),directCircular&&(dereferencedValue.$ref=pathFromRoot),{circular:circular,value:dereferencedValue}}function foundCircularReference(keyPath,$refs,options){if($refs.circular=!0,!options.$refs.circular)throw ono.reference("Circular $ref pointer found at %s",keyPath);return!0}var global=this,__define=global.define;global.define=void 0;var $Ref=$__require("117"),Pointer=$__require("119"),util=$__require("ea"),ono=$__require("de"),url=$__require("eb");return module.exports=dereference,global.define=__define,module.exports}),$__System.registerDynamic("15c",["dc","e1","dd","e4","e6","11c","de","13e","13d"],!0,function($__require,exports,module){"use strict";function SwaggerParser(){$RefParser.apply(this,arguments)}var global=this,__define=global.define;global.define=void 0;var validateSchema=$__require("dc"),validateSpec=$__require("e1"),util=$__require("dd"),Options=$__require("e4"),Promise=$__require("e6"),maybe=$__require("11c"),ono=$__require("de"),$RefParser=$__require("13e"),dereference=$__require("13d");return module.exports=SwaggerParser,util.inherits(SwaggerParser,$RefParser),SwaggerParser.YAML=$RefParser.YAML,SwaggerParser.parse=$RefParser.parse,SwaggerParser.resolve=$RefParser.resolve,SwaggerParser.bundle=$RefParser.bundle,SwaggerParser.dereference=$RefParser.dereference,Object.defineProperty(SwaggerParser.prototype,"api",{configurable:!0,enumerable:!0,get:function(){return this.schema}}),SwaggerParser.prototype.parse=function(api,options,callback){"function"==typeof options&&(callback=options,options=void 0),options=new Options(options);v
}finally{try{!_iteratorNormalCompletion6&&_iterator6["return"]&&_iterator6["return"]()}finally{if(_didIteratorError6)throw _iteratorError6}}return res}},{key:"schema",get:function(){return this._schema}}],[{key:"instance",value:function(){return new SchemaManager}}]),SchemaManager}(),_export("default",SchemaManager)}}}),$__System.registerDynamic("172",["9a","173"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var toObject=$__require("9a");return $__require("173")("keys",function($keys){return function(it){return $keys(toObject(it))}}),global.define=__define,module.exports}),$__System.registerDynamic("174",["172","30"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,$__require("172"),module.exports=$__require("30").Object.keys,global.define=__define,module.exports}),$__System.registerDynamic("e",["174"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports={"default":$__require("174"),__esModule:!0},global.define=__define,module.exports}),$__System.registerDynamic("175",[],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var lang=/\blang(?:uage)?-(?!\*)(\w+)\b/i,_=_self.Prism={util:{encode:function(tokens){return tokens instanceof Token?new Token(tokens.type,_.util.encode(tokens.content),tokens.alias):"Array"===_.util.type(tokens)?tokens.map(_.util.encode):tokens.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(o){return Object.prototype.toString.call(o).match(/\[object (\w+)\]/)[1]},clone:function(o){var type=_.util.type(o);switch(type){case"Object":var clone={};for(var key in o)o.hasOwnProperty(key)&&(clone[key]=_.util.clone(o[key]));return clone;case"Array":return o.map&&o.map(function(v){return _.util.clone(v)})}return o}},languages:{extend:function(id,redef){var lang=_.util.clone(_.languages[id]);for(var key in redef)lang[key]=redef[key];return lang},insertBefore:function(inside,before,insert,root){root=root||_.languages;var grammar=root[inside];if(2==arguments.length){insert=arguments[1];for(var newToken in insert)insert.hasOwnProperty(newToken)&&(grammar[newToken]=insert[newToken]);return grammar}var ret={};for(var token in grammar)if(grammar.hasOwnProperty(token)){if(token==before)for(var newToken in insert)insert.hasOwnProperty(newToken)&&(ret[newToken]=insert[newToken]);ret[token]=grammar[token]}return _.languages.DFS(_.languages,function(key,value){value===root[inside]&&key!=inside&&(this[key]=ret)}),root[inside]=ret},DFS:function(o,callback,type){for(var i in o)o.hasOwnProperty(i)&&(callback.call(o,i,o[i],type||i),"Object"===_.util.type(o[i])?_.languages.DFS(o[i],callback):"Array"===_.util.type(o[i])&&_.languages.DFS(o[i],callback,i))}},plugins:{},highlightAll:function(async,callback){for(var element,elements=document.querySelectorAll('code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'),i=0;element=elements[i++];)_.highlightElement(element,async===!0,callback)},highlightElement:function(element,async,callback){for(var language,grammar,parent=element;parent&&!lang.test(parent.className);)parent=parent.parentNode;parent&&(language=(parent.className.match(lang)||[,""])[1],grammar=_.languages[language]),element.className=element.className.replace(lang,"").replace(/\s+/g," ")+" language-"+language,parent=element.parentNode,/pre/i.test(parent.nodeName)&&(parent.className=parent.className.replace(lang,"").replace(/\s+/g," ")+" language-"+language);var code=element.textContent,env={element:element,language:language,grammar:grammar,code:code};if(!code||!grammar)return void _.hooks.run("complete",env);if(_.hooks.run("before-highlight",env),async&&_self.Worker){var worker=new Worker(_.filename);worker.onmessage=function(evt){env.highlightedCode=evt.data,_.hooks.run("before-insert
ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:NaN|Inf)\b/,/\b(?:0x[\dA-Fa-f]+(?:\.\d*)?|\d*\.?\d+)(?:[EePp][+-]?\d+)?[iL]?\b/],keyword:/\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/},global.define=__define,module.exports}),$__System.registerDynamic("186",[],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(Prism){Prism.languages.ruby=Prism.languages.extend("clike",{comment:/#(?!\{[^\r\n]*?\}).*/,keyword:/\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\b/});var interpolation={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:Prism.util.clone(Prism.languages.ruby)}};Prism.languages.insertBefore("ruby","keyword",{regex:[{pattern:/%r([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1[gim]{0,3}/,inside:{interpolation:interpolation}},{pattern:/%r\((?:[^()\\]|\\[\s\S])*\)[gim]{0,3}/,inside:{interpolation:interpolation}},{pattern:/%r\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}[gim]{0,3}/,inside:{interpolation:interpolation}},{pattern:/%r\[(?:[^\[\]\\]|\\[\s\S])*\][gim]{0,3}/,inside:{interpolation:interpolation}},{pattern:/%r<(?:[^<>\\]|\\[\s\S])*>[gim]{0,3}/,inside:{interpolation:interpolation}},{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0}],variable:/[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/,symbol:/:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\b)/}),Prism.languages.insertBefore("ruby","number",{builtin:/\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\b)/}),Prism.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\s\{\(\[<])(?:[^\\]|\\[\s\S])*?\1/,inside:{interpolation:interpolation}},{pattern:/%[qQiIwWxs]?\((?:[^()\\]|\\[\s\S])*\)/,inside:{interpolation:interpolation}},{pattern:/%[qQiIwWxs]?\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/,inside:{interpolation:interpolation}},{pattern:/%[qQiIwWxs]?\[(?:[^\[\]\\]|\\[\s\S])*\]/,inside:{interpolation:interpolation}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\]|\\[\s\S])*>/,inside:{interpolation:interpolation}},{pattern:/("|')(#\{[^}]+\}|\\(?:\r?\n|\r)|\\?.)*?\1/,inside:{interpolation:interpolation}}]}(Prism),global.define=__define,module.exports}),$__System.registerDynamic("187",[],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,function(Prism){var insideString={variable:[{pattern:/\$?\(\([\w\W]+?\)\)/,inside:{variable:[{pattern:/(^\$\(\([\w\W]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee]-?\d+)?)\b/,operator:/--?|-=|\+\+?|\+=|!=?|~|\*\*?|\*=|\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\([^)]+\)|`[^`]+`/,inside:{variable:/^\$\(|^`|\)$|`$/}},/\$(?:[a-z0-9_#\?\*!@]+|\{[^}]+\})/i]};Prism.languages.bash={shebang:{pattern:/^#!\s*\/bin\/bash|^#!\s*\/bin\/sh/,alias:"important"},comment:{pattern:/(^|[^"{\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\s*)(?:"|')?(\w+?)(?:"|')?\s*\r?\n(?:[\s\S])*?\r?\n\2/g,lookbehind:!0,inside:insideString},{pattern:/("|')(?:\\?[\s\S])*?\1/g,inside:insideString}],variable:insideString.variable,"function":{pattern:/(^|\s|;|\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|g
inline._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)(),inline.reflink=replace(inline.reflink)("inside",inline._inside)(),inline.normal=merge({},inline),inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()}),inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()}),InlineLexer.rules=inline,InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)},InlineLexer.prototype.output=function(src){for(var link,text,href,cap,out="";src;)if(cap=this.rules.escape.exec(src))src=src.substring(cap[0].length),out+=cap[1];else if(cap=this.rules.autolink.exec(src))src=src.substring(cap[0].length),"@"===cap[2]?(text=":"===cap[1].charAt(6)?this.mangle(cap[1].substring(7)):this.mangle(cap[1]),href=this.mangle("mailto:")+text):(text=escape(cap[1]),href=text),out+=this.renderer.link(href,null,text);else if(this.inLink||!(cap=this.rules.url.exec(src))){if(cap=this.rules.tag.exec(src))!this.inLink&&/^<a /i.test(cap[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(cap[0])&&(this.inLink=!1),src=src.substring(cap[0].length),out+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(cap[0]):escape(cap[0]):cap[0];else if(cap=this.rules.link.exec(src))src=src.substring(cap[0].length),this.inLink=!0,out+=this.outputLink(cap,{href:cap[2],title:cap[3]}),this.inLink=!1;else if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){if(src=src.substring(cap[0].length),link=(cap[2]||cap[1]).replace(/\s+/g," "),link=this.links[link.toLowerCase()],!link||!link.href){out+=cap[0].charAt(0),src=cap[0].substring(1)+src;continue}this.inLink=!0,out+=this.outputLink(cap,link),this.inLink=!1}else if(cap=this.rules.strong.exec(src))src=src.substring(cap[0].length),out+=this.renderer.strong(this.output(cap[2]||cap[1]));else if(cap=this.rules.em.exec(src))src=src.substring(cap[0].length),out+=this.renderer.em(this.output(cap[2]||cap[1]));else if(cap=this.rules.code.exec(src))src=src.substring(cap[0].length),out+=this.renderer.codespan(escape(cap[2],!0));else if(cap=this.rules.br.exec(src))src=src.substring(cap[0].length),out+=this.renderer.br();else if(cap=this.rules.del.exec(src))src=src.substring(cap[0].length),out+=this.renderer.del(this.output(cap[1]));else if(cap=this.rules.text.exec(src))src=src.substring(cap[0].length),out+=this.renderer.text(escape(this.smartypants(cap[0])));else if(src)throw new Error("Infinite loop on byte: "+src.charCodeAt(0))}else src=src.substring(cap[0].length),text=escape(cap[1]),href=text,out+=this.renderer.link(href,null,text);return out},InlineLexer.prototype.outputLink=function(cap,link){var href=escape(link.href),title=link.title?escape(link.title):null;return"!"!==cap[0].charAt(0)?this.renderer.link(href,title,this.output(cap[1])):this.renderer.image(href,title,escape(cap[1]))},InlineLexer.prototype.smartypants=function(text){return this.options.smartypants?text.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):text},InlineLexer.prototype.mangle=function(text){if(!this.options.mangle)return text;for(var ch,out="",l=text.length,i=0;l>i;i++)ch=text.charCodeAt(i),Math.random()>.5&&(ch="x"+ch.toString(16)),out+="&#"+ch+";";return out},Renderer.prototype.code=function(code,lang,escaped){if(this.options.highlight){var out=this.options.highlight(code,lang);null!=out&&out!==code&&(escaped=!0,code=out)}return lang?'<pre><code class="'+this.options.langPrefix+escape(lang,!0)+'">'+(escaped?code:escape(code,!0))+"\n</code></pre>\n":"<pre><co
var len=j-i;switch(pattern[i]){case"G":ret.era=nameCondition(len);break;case"y":ret.year=digitCondition(len);break;case"M":len>=3?ret.month=nameCondition(len):ret.month=digitCondition(len);break;case"d":ret.day=digitCondition(len);break;case"E":ret.weekday=nameCondition(len);break;case"j":ret.hour=digitCondition(len);break;case"h":ret.hour=digitCondition(len),ret.hour12=!0;break;case"H":ret.hour=digitCondition(len),ret.hour12=!1;break;case"m":ret.minute=digitCondition(len);break;case"s":ret.second=digitCondition(len);break;case"z":ret.timeZoneName="long";break;case"Z":ret.timeZoneName="short"}i=j}return ret}var global=this,__define=global.define;global.define=void 0,function(NumberFormatStyle){NumberFormatStyle[NumberFormatStyle.Decimal=0]="Decimal",NumberFormatStyle[NumberFormatStyle.Percent=1]="Percent",NumberFormatStyle[NumberFormatStyle.Currency=2]="Currency"}(exports.NumberFormatStyle||(exports.NumberFormatStyle={}));var NumberFormatStyle=exports.NumberFormatStyle,NumberFormatter=function(){function NumberFormatter(){}return NumberFormatter.format=function(num,locale,style,_a){var _b=void 0===_a?{}:_a,_c=_b.minimumIntegerDigits,minimumIntegerDigits=void 0===_c?1:_c,_d=_b.minimumFractionDigits,minimumFractionDigits=void 0===_d?0:_d,_e=_b.maximumFractionDigits,maximumFractionDigits=void 0===_e?3:_e,currency=_b.currency,_f=_b.currencyAsSymbol,currencyAsSymbol=void 0===_f?!1:_f,intlOptions={minimumIntegerDigits:minimumIntegerDigits,minimumFractionDigits:minimumFractionDigits,maximumFractionDigits:maximumFractionDigits};return intlOptions.style=NumberFormatStyle[style].toLowerCase(),style==NumberFormatStyle.Currency&&(intlOptions.currency=currency,intlOptions.currencyDisplay=currencyAsSymbol?"symbol":"code"),new Intl.NumberFormat(locale,intlOptions).format(num)},NumberFormatter}();exports.NumberFormatter=NumberFormatter;var dateFormatterCache=new Map,DateFormatter=function(){function DateFormatter(){}return DateFormatter.format=function(date,locale,pattern){var key=locale+pattern;if(dateFormatterCache.has(key))return dateFormatterCache.get(key).format(date);var formatter=new Intl.DateTimeFormat(locale,extractComponents(pattern));return dateFormatterCache.set(key,formatter),formatter.format(date)},DateFormatter}();return exports.DateFormatter=DateFormatter,global.define=__define,module.exports}),$__System.registerDynamic("18e",["2b","3f"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},lang_1=$__require("2b"),exceptions_1=$__require("3f"),InvalidPipeArgumentException=function(_super){function InvalidPipeArgumentException(type,value){_super.call(this,"Invalid argument '"+value+"' for pipe '"+lang_1.stringify(type)+"'")}return __extends(InvalidPipeArgumentException,_super),InvalidPipeArgumentException}(exceptions_1.BaseException);return exports.InvalidPipeArgumentException=InvalidPipeArgumentException,global.define=__define,module.exports}),$__System.registerDynamic("195",["2b","3f","194","15","3a","18e"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},__decorate=this&&this.__decorate||function(decorators,target,key,desc){var d,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof
return exports.controlPath=controlPath,exports.setUpControl=setUpControl,exports.setUpControlGroup=setUpControlGroup,exports.composeValidators=composeValidators,exports.composeAsyncValidators=composeAsyncValidators,exports.isPropertyUpdated=isPropertyUpdated,exports.selectValueAccessor=selectValueAccessor,global.define=__define,module.exports}),$__System.registerDynamic("1a9",["62","3a","2b","15","198","19f","19b","19c"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},__decorate=this&&this.__decorate||function(decorators,target,key,desc){var d,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(k,v):void 0},__param=this&&this.__param||function(paramIndex,decorator){return function(target,key){decorator(target,key,paramIndex)}},async_1=$__require("62"),collection_1=$__require("3a"),lang_1=$__require("2b"),core_1=$__require("15"),control_container_1=$__require("198"),model_1=$__require("19f"),shared_1=$__require("19b"),validators_1=$__require("19c"),formDirectiveProvider=lang_1.CONST_EXPR(new core_1.Provider(control_container_1.ControlContainer,{useExisting:core_1.forwardRef(function(){return NgForm})})),NgForm=function(_super){function NgForm(validators,asyncValidators){_super.call(this),this.ngSubmit=new async_1.EventEmitter,this.form=new model_1.ControlGroup({},null,shared_1.composeValidators(validators),shared_1.composeAsyncValidators(asyncValidators))}return __extends(NgForm,_super),Object.defineProperty(NgForm.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(NgForm.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(NgForm.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(NgForm.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),NgForm.prototype.addControl=function(dir){var _this=this;async_1.PromiseWrapper.scheduleMicrotask(function(){var container=_this._findContainer(dir.path),ctrl=new model_1.Control;shared_1.setUpControl(ctrl,dir),container.addControl(dir.name,ctrl),ctrl.updateValueAndValidity({emitEvent:!1})})},NgForm.prototype.getControl=function(dir){return this.form.find(dir.path)},NgForm.prototype.removeControl=function(dir){var _this=this;async_1.PromiseWrapper.scheduleMicrotask(function(){var container=_this._findContainer(dir.path);lang_1.isPresent(container)&&(container.removeControl(dir.name),container.updateValueAndValidity({emitEvent:!1}))})},NgForm.prototype.addControlGroup=function(dir){var _this=this;async_1.PromiseWrapper.scheduleMicrotask(function(){var container=_this._findContainer(dir.path),group=new model_1.ControlGroup({});shared_1.setUpControlGroup(group,dir),container.addControl(dir.name,group),group.updateValueAndValidity({emitEvent:!1})})},NgForm.prototype.removeControlGroup=function(dir){var _this=this;async_1.PromiseWrapper.scheduleMicrotask(function(){var container=_this._findContainer(dir.path);lang_1.isPresent(container)&&(container.removeControl(dir.name),container.updateValueAndValidity({emitEvent:!1}))})},NgForm.prototype.getControlGroup=function(dir){return this.form.find(dir.path)},NgForm.prototype.updateModel=function(dir,value){var _this=this;async_1.PromiseWrapper.scheduleMicrotask(function(){var ctrl=_this.form.find(dir.path);ctrl.updateValue(value)})},N
this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return __extends(Control,_super),Control.prototype.updateValue=function(value,_a){var _b=void 0===_a?{}:_a,onlySelf=_b.onlySelf,emitEvent=_b.emitEvent,emitModelToViewChange=_b.emitModelToViewChange;emitModelToViewChange=lang_1.isPresent(emitModelToViewChange)?emitModelToViewChange:!0,this._value=value,lang_1.isPresent(this._onChange)&&emitModelToViewChange&&this._onChange(this._value),this.updateValueAndValidity({onlySelf:onlySelf,emitEvent:emitEvent})},Control.prototype._updateValue=function(){},Control.prototype._anyControlsHaveStatus=function(status){return!1},Control.prototype.registerOnChange=function(fn){this._onChange=fn},Control}(AbstractControl);exports.Control=Control;var ControlGroup=function(_super){function ControlGroup(controls,optionals,validator,asyncValidator){void 0===optionals&&(optionals=null),void 0===validator&&(validator=null),void 0===asyncValidator&&(asyncValidator=null),_super.call(this,validator,asyncValidator),this.controls=controls,this._optionals=lang_1.isPresent(optionals)?optionals:{},this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return __extends(ControlGroup,_super),ControlGroup.prototype.addControl=function(name,control){this.controls[name]=control,control.setParent(this)},ControlGroup.prototype.removeControl=function(name){collection_1.StringMapWrapper["delete"](this.controls,name)},ControlGroup.prototype.include=function(controlName){collection_1.StringMapWrapper.set(this._optionals,controlName,!0),this.updateValueAndValidity()},ControlGroup.prototype.exclude=function(controlName){collection_1.StringMapWrapper.set(this._optionals,controlName,!1),this.updateValueAndValidity()},ControlGroup.prototype.contains=function(controlName){var c=collection_1.StringMapWrapper.contains(this.controls,controlName);return c&&this._included(controlName)},ControlGroup.prototype._setParentForControls=function(){var _this=this;collection_1.StringMapWrapper.forEach(this.controls,function(control,name){control.setParent(_this)})},ControlGroup.prototype._updateValue=function(){this._value=this._reduceValue()},ControlGroup.prototype._anyControlsHaveStatus=function(status){var _this=this,res=!1;return collection_1.StringMapWrapper.forEach(this.controls,function(control,name){res=res||_this.contains(name)&&control.status==status}),res},ControlGroup.prototype._reduceValue=function(){return this._reduceChildren({},function(acc,control,name){return acc[name]=control.value,acc})},ControlGroup.prototype._reduceChildren=function(initValue,fn){var _this=this,res=initValue;return collection_1.StringMapWrapper.forEach(this.controls,function(control,name){_this._included(name)&&(res=fn(res,control,name))}),res},ControlGroup.prototype._included=function(controlName){var isOptional=collection_1.StringMapWrapper.contains(this._optionals,controlName);return!isOptional||collection_1.StringMapWrapper.get(this._optionals,controlName)},ControlGroup}(AbstractControl);exports.ControlGroup=ControlGroup;var ControlArray=function(_super){function ControlArray(controls,validator,asyncValidator){void 0===validator&&(validator=null),void 0===asyncValidator&&(asyncValidator=null),_super.call(this,validator,asyncValidator),this.controls=controls,this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return __extends(ControlArray,_super),ControlArray.prototype.at=function(index){return this.controls[index]},ControlArray.prototype.push=function(control){this.controls.push(control),control.setParent(this),this.updateValueAndValidity()},ControlArray.prototype.insert=function(index,control){collection_1.ListWrapper.insert(this.controls,index,control),control.setParent(this),this.updateValueAndValidity()},ControlArray.prototype.removeAt=function(index){collection_1.ListWrapper.removeAt(this.controls,index),this.updateValueAndValidity()},Object.defineProperty(ControlArray.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,co
throw new exceptions_1.BaseException("platform cannot be initialized with different sets of providers.")}return _createPlatform(providers)}function disposePlatform(){lang_1.isPresent(_platform)&&(_platform.dispose(),_platform=null)}function _createPlatform(providers){_platformProviders=providers;var injector=di_1.Injector.resolveAndCreate(providers);return _platform=new PlatformRef_(injector,function(){_platform=null,_platformProviders=null}),_runPlatformInitializers(injector),_platform}function _runPlatformInitializers(injector){var inits=injector.getOptional(application_tokens_1.PLATFORM_INITIALIZER);lang_1.isPresent(inits)&&inits.forEach(function(init){return init()})}function _runAppInitializers(injector){var inits=injector.getOptional(application_tokens_1.APP_INITIALIZER),promises=[];return lang_1.isPresent(inits)&&inits.forEach(function(init){var retVal=init();async_1.PromiseWrapper.isPromise(retVal)&&promises.push(retVal)}),promises.length>0?async_1.PromiseWrapper.all(promises):null}var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},ng_zone_1=$__require("50"),lang_1=$__require("2b"),di_1=$__require("3c"),application_tokens_1=$__require("90"),async_1=$__require("62"),collection_1=$__require("3a"),testability_1=$__require("5d"),dynamic_component_loader_1=$__require("24"),exceptions_1=$__require("3f"),console_1=$__require("1b9"),profile_1=$__require("1ba"),lang_2=$__require("2b");exports.createNgZone=createNgZone;var _platform,_platformProviders;exports.platform=platform,exports.disposePlatform=disposePlatform;var PlatformRef=function(){function PlatformRef(){}return Object.defineProperty(PlatformRef.prototype,"injector",{get:function(){return exceptions_1.unimplemented()},enumerable:!0,configurable:!0}),PlatformRef}();exports.PlatformRef=PlatformRef;var PlatformRef_=function(_super){function PlatformRef_(_injector,_dispose){_super.call(this),this._injector=_injector,this._dispose=_dispose,this._applications=[],this._disposeListeners=[]}return __extends(PlatformRef_,_super),PlatformRef_.prototype.registerDisposeListener=function(dispose){this._disposeListeners.push(dispose)},Object.defineProperty(PlatformRef_.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),PlatformRef_.prototype.application=function(providers){var app=this._initApp(createNgZone(),providers);if(async_1.PromiseWrapper.isPromise(app))throw new exceptions_1.BaseException("Cannot use asyncronous app initializers with application. Use asyncApplication instead.");return app},PlatformRef_.prototype.asyncApplication=function(bindingFn,additionalProviders){var _this=this,zone=createNgZone(),completer=async_1.PromiseWrapper.completer();return null===bindingFn?completer.resolve(this._initApp(zone,additionalProviders)):zone.run(function(){async_1.PromiseWrapper.then(bindingFn(zone),function(providers){lang_1.isPresent(additionalProviders)&&(providers=collection_1.ListWrapper.concat(providers,additionalProviders));var promise=_this._initApp(zone,providers);completer.resolve(promise)})}),completer.promise},PlatformRef_.prototype._initApp=function(zone,providers){var injector,app,_this=this;zone.run(function(){providers=collection_1.ListWrapper.concat(providers,[di_1.provide(ng_zone_1.NgZone,{useValue:zone}),di_1.provide(ApplicationRef,{useFactory:function(){return app},deps:[]})]);var exceptionHandler;try{injector=_this.injector.resolveAndCreateChild(providers),exceptionHandler=injector.get(exceptions_1.ExceptionHandler),zone.overrideOnErrorHandler(function(e,s){return exceptionHandler.call(e,s)})}catch(e){lang_1.isPresent(exceptionHandler)?exceptionHandler.call(e,e.stack):lang_1.print(e.toString())}}),app=new ApplicationRef_(this,zone,injector),this._applications.push(app);var promise=_runAppInitializers(injector);return null!==promise?async_1.PromiseWrapper.then(promise,function(_){return app}):app},PlatformRe
if(lang_1.isPresent(compMeta.template)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("template",component);else if(lang_1.isPresent(compMeta.templateUrl)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("templateUrl",component);else if(lang_1.isPresent(compMeta.directives)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("directives",component);else if(lang_1.isPresent(compMeta.pipes)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("pipes",component);else if(lang_1.isPresent(compMeta.encapsulation)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("encapsulation",component);else if(lang_1.isPresent(compMeta.styles)&&lang_1.isPresent(viewMeta))this._throwMixingViewAndComponent("styles",component);else{if(!lang_1.isPresent(compMeta.styleUrls)||!lang_1.isPresent(viewMeta))return lang_1.isPresent(viewMeta)?viewMeta:new view_1.ViewMetadata({templateUrl:compMeta.templateUrl,template:compMeta.template,directives:compMeta.directives,pipes:compMeta.pipes,encapsulation:compMeta.encapsulation,styles:compMeta.styles,styleUrls:compMeta.styleUrls});this._throwMixingViewAndComponent("styleUrls",component)}return null},ViewResolver.prototype._throwMixingViewAndComponent=function(propertyName,component){throw new exceptions_1.BaseException("Component '"+lang_1.stringify(component)+"' cannot have both '"+propertyName+"' and '@View' set at the same time\"")},ViewResolver=__decorate([di_1.Injectable(),__metadata("design:paramtypes",[])],ViewResolver)}();return exports.ViewResolver=ViewResolver,global.define=__define,module.exports}),$__System.registerDynamic("81",["3c","2b","3f","3a","52","84"],!0,function($__require,exports,module){"use strict";function _isDirectiveMetadata(type){return type instanceof metadata_1.DirectiveMetadata}var global=this,__define=global.define;global.define=void 0;var __decorate=this&&this.__decorate||function(decorators,target,key,desc){var d,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(k,v):void 0},di_1=$__require("3c"),lang_1=$__require("2b"),exceptions_1=$__require("3f"),collection_1=$__require("3a"),metadata_1=$__require("52"),reflection_1=$__require("84"),DirectiveResolver=function(){function DirectiveResolver(){}return DirectiveResolver.prototype.resolve=function(type){var typeMetadata=reflection_1.reflector.annotations(di_1.resolveForwardRef(type));if(lang_1.isPresent(typeMetadata)){var metadata=typeMetadata.find(_isDirectiveMetadata);if(lang_1.isPresent(metadata)){var propertyMetadata=reflection_1.reflector.propMetadata(type);return this._mergeWithPropertyMetadata(metadata,propertyMetadata,type)}}throw new exceptions_1.BaseException("No Directive annotation found on "+lang_1.stringify(type))},DirectiveResolver.prototype._mergeWithPropertyMetadata=function(dm,propertyMetadata,directiveType){var inputs=[],outputs=[],host={},queries={};return collection_1.StringMapWrapper.forEach(propertyMetadata,function(metadata,propName){metadata.forEach(function(a){if(a instanceof metadata_1.InputMetadata&&(lang_1.isPresent(a.bindingPropertyName)?inputs.push(propName+": "+a.bindingPropertyName):inputs.push(propName)),a instanceof metadata_1.OutputMetadata&&(lang_1.isPresent(a.bindingPropertyName)?outputs.push(propName+": "+a.bindingPropertyName):outputs.push(propName)),a instanceof metadata_1.HostBindingMetadata&&(lang_1.isPresent(a.hostPropertyName)?host["["+a.hostPropertyName+"]"]=propName:host["["+propName+"]"]=propName),a instanceof metadata_1.HostListenerMetadata){var args=lang_1.isPresent(a.args)?a.args.join(", "):"";host["("+a.eventName+")"]=propName+"("+args+")"}a instanceof metadata_1.C
}(QueryMetadata);exports.ContentChildrenMetadata=ContentChildrenMetadata;var ContentChildMetadata=function(_super){function ContentChildMetadata(_selector){_super.call(this,_selector,{descendants:!0,first:!0})}return __extends(ContentChildMetadata,_super),ContentChildMetadata=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[Object])],ContentChildMetadata)}(QueryMetadata);exports.ContentChildMetadata=ContentChildMetadata;var ViewQueryMetadata=function(_super){function ViewQueryMetadata(_selector,_a){var _b=void 0===_a?{}:_a,_c=_b.descendants,descendants=void 0===_c?!1:_c,_d=_b.first,first=void 0===_d?!1:_d;_super.call(this,_selector,{descendants:descendants,first:first})}return __extends(ViewQueryMetadata,_super),Object.defineProperty(ViewQueryMetadata.prototype,"isViewQuery",{get:function(){return!0},enumerable:!0,configurable:!0}),ViewQueryMetadata.prototype.toString=function(){return"@ViewQuery("+lang_1.stringify(this.selector)+")"},ViewQueryMetadata=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[Object,Object])],ViewQueryMetadata)}(QueryMetadata);exports.ViewQueryMetadata=ViewQueryMetadata;var ViewChildrenMetadata=function(_super){function ViewChildrenMetadata(_selector){_super.call(this,_selector,{descendants:!0})}return __extends(ViewChildrenMetadata,_super),ViewChildrenMetadata=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[Object])],ViewChildrenMetadata)}(ViewQueryMetadata);exports.ViewChildrenMetadata=ViewChildrenMetadata;var ViewChildMetadata=function(_super){function ViewChildMetadata(_selector){_super.call(this,_selector,{descendants:!0,first:!0})}return __extends(ViewChildMetadata,_super),ViewChildMetadata=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[Object])],ViewChildMetadata)}(ViewQueryMetadata);return exports.ViewChildMetadata=ViewChildMetadata,global.define=__define,module.exports}),$__System.registerDynamic("1c1",["3f"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var exceptions_1=$__require("3f"),ElementRef=function(){function ElementRef(){}return Object.defineProperty(ElementRef.prototype,"nativeElement",{get:function(){return exceptions_1.unimplemented()},enumerable:!0,configurable:!0}),ElementRef}();exports.ElementRef=ElementRef;var ElementRef_=function(){function ElementRef_(_appElement){this._appElement=_appElement}return Object.defineProperty(ElementRef_.prototype,"internalElement",{get:function(){return this._appElement},enumerable:!0,configurable:!0}),Object.defineProperty(ElementRef_.prototype,"nativeElement",{get:function(){return this._appElement.nativeElement},enumerable:!0,configurable:!0}),ElementRef_}();return exports.ElementRef_=ElementRef_,global.define=__define,module.exports}),$__System.registerDynamic("1c3",["3a","3f","2b"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},collection_1=$__require("3a"),exceptions_1=$__require("3f"),lang_1=$__require("2b"),ViewContainerRef=function(){function ViewContainerRef(){}return Object.defineProperty(ViewContainerRef.prototype,"element",{get:function(){return exceptions_1.unimplemented()},enumerable:!0,configurable:!0}),ViewContainerRef.prototype.clear=function(){for(var i=this.length-1;i>=0;i--)this.remove(i)},Object.defineProperty(ViewContainerRef.prototype,"length",{get:function(){return exceptions_1.unimplemented()},enumerable:!0,configurable:!0}),ViewContainerRef}();exports.ViewContainerRef=ViewContainerRef;var ViewContainerRef_=function(_super){function ViewContainerRef_(_element){_super.call(this),this._element=_element}return __extends(ViewContainerRef_,_super),ViewContainerRef_.prototype.get=function(index){return this._element.nestedViews[index].ref},Object.defineProperty(ViewContainerRef_.prototype,"length",{get:function(){var views=this._element.nestedViews
},collection_1=$__require("3a"),lang_1=$__require("2b"),exceptions_1=$__require("3f"),DefaultKeyValueDifferFactory=function(){function DefaultKeyValueDifferFactory(){}return DefaultKeyValueDifferFactory.prototype.supports=function(obj){return obj instanceof Map||lang_1.isJsObject(obj)},DefaultKeyValueDifferFactory.prototype.create=function(cdRef){return new DefaultKeyValueDiffer},DefaultKeyValueDifferFactory=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[])],DefaultKeyValueDifferFactory)}();exports.DefaultKeyValueDifferFactory=DefaultKeyValueDifferFactory;var DefaultKeyValueDiffer=function(){function DefaultKeyValueDiffer(){this._records=new Map,this._mapHead=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(DefaultKeyValueDiffer.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),DefaultKeyValueDiffer.prototype.forEachItem=function(fn){var record;for(record=this._mapHead;null!==record;record=record._next)fn(record)},DefaultKeyValueDiffer.prototype.forEachPreviousItem=function(fn){var record;for(record=this._previousMapHead;null!==record;record=record._nextPrevious)fn(record)},DefaultKeyValueDiffer.prototype.forEachChangedItem=function(fn){var record;for(record=this._changesHead;null!==record;record=record._nextChanged)fn(record)},DefaultKeyValueDiffer.prototype.forEachAddedItem=function(fn){var record;for(record=this._additionsHead;null!==record;record=record._nextAdded)fn(record)},DefaultKeyValueDiffer.prototype.forEachRemovedItem=function(fn){var record;for(record=this._removalsHead;null!==record;record=record._nextRemoved)fn(record)},DefaultKeyValueDiffer.prototype.diff=function(map){if(lang_1.isBlank(map)&&(map=collection_1.MapWrapper.createFromPairs([])),!(map instanceof Map||lang_1.isJsObject(map)))throw new exceptions_1.BaseException("Error trying to diff '"+map+"'");return this.check(map)?this:null},DefaultKeyValueDiffer.prototype.onDestroy=function(){},DefaultKeyValueDiffer.prototype.check=function(map){var _this=this;this._reset();var records=this._records,oldSeqRecord=this._mapHead,lastOldSeqRecord=null,lastNewSeqRecord=null,seqChanged=!1;return this._forEach(map,function(value,key){var newSeqRecord;null!==oldSeqRecord&&key===oldSeqRecord.key?(newSeqRecord=oldSeqRecord,lang_1.looseIdentical(value,oldSeqRecord.currentValue)||(oldSeqRecord.previousValue=oldSeqRecord.currentValue,oldSeqRecord.currentValue=value,_this._addToChanges(oldSeqRecord))):(seqChanged=!0,null!==oldSeqRecord&&(oldSeqRecord._next=null,_this._removeFromSeq(lastOldSeqRecord,oldSeqRecord),_this._addToRemovals(oldSeqRecord)),records.has(key)?newSeqRecord=records.get(key):(newSeqRecord=new KVChangeRecord(key),records.set(key,newSeqRecord),newSeqRecord.currentValue=value,_this._addToAdditions(newSeqRecord))),seqChanged&&(_this._isInRemovals(newSeqRecord)&&_this._removeFromRemovals(newSeqRecord),null==lastNewSeqRecord?_this._mapHead=newSeqRecord:lastNewSeqRecord._next=newSeqRecord),lastOldSeqRecord=oldSeqRecord,lastNewSeqRecord=newSeqRecord,oldSeqRecord=null===oldSeqRecord?null:oldSeqRecord._next}),this._truncate(lastOldSeqRecord,oldSeqRecord),this.isDirty},DefaultKeyValueDiffer.prototype._reset=function(){if(this.isDirty){var record;for(record=this._previousMapHead=this._mapHead;null!==record;record=record._next)record._nextPrevious=record._next;for(record=this._changesHead;null!==record;record=record._nextChanged)record.previousValue=record.currentValue;for(record=this._additionsHead;null!=record;record=record._nextAdded)record.previousValue=record.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=this._removalsTail=null}},DefaultKeyValueDiffer.prototype._truncate=function(lastRecord,record){for(;null!==record;){null===lastRecord?this._mapHead=null:lastRecord._next=null;var nextRecord=record._next;this._addToRem
_ParseAST.prototype.parseBlockContent=function(){this.parseAction||this.error("Binding expression cannot contain chained expression");for(var exprs=[];this.index<this.tokens.length&&!this.next.isCharacter(lexer_1.$RBRACE);){var expr=this.parseExpression();if(exprs.push(expr),this.optionalCharacter(lexer_1.$SEMICOLON))for(;this.optionalCharacter(lexer_1.$SEMICOLON););}return 0==exprs.length?new ast_1.EmptyExpr:1==exprs.length?exprs[0]:new ast_1.Chain(exprs)},_ParseAST.prototype.expectTemplateBindingKey=function(){var result="",operatorFound=!1;do result+=this.expectIdentifierOrKeywordOrString(),operatorFound=this.optionalOperator("-"),operatorFound&&(result+="-");while(operatorFound);return result.toString()},_ParseAST.prototype.parseTemplateBindings=function(){for(var bindings=[],prefix=null;this.index<this.tokens.length;){var keyIsVar=this.optionalKeywordVar(),key=this.expectTemplateBindingKey();keyIsVar||(null==prefix?prefix=key:key=prefix+key[0].toUpperCase()+key.substring(1)),this.optionalCharacter(lexer_1.$COLON);var name=null,expression=null;if(keyIsVar)name=this.optionalOperator("=")?this.expectTemplateBindingKey():"$implicit";else if(this.next!==lexer_1.EOF&&!this.peekKeywordVar()){var start=this.inputIndex,ast=this.parsePipe(),source=this.input.substring(start,this.inputIndex);expression=new ast_1.ASTWithSource(ast,source,this.location)}bindings.push(new ast_1.TemplateBinding(key,keyIsVar,name,expression)),this.optionalCharacter(lexer_1.$SEMICOLON)||this.optionalCharacter(lexer_1.$COMMA)}return bindings},_ParseAST.prototype.error=function(message,index){void 0===index&&(index=null),lang_1.isBlank(index)&&(index=this.index);var location=index<this.tokens.length?"at column "+(this.tokens[index].index+1)+" in":"at the end of the expression";throw new ParseException(message,this.input,location,this.location)},_ParseAST}();exports._ParseAST=_ParseAST;var SimpleExpressionChecker=function(){function SimpleExpressionChecker(){this.simple=!0}return SimpleExpressionChecker.check=function(ast){var s=new SimpleExpressionChecker;return ast.visit(s),s.simple},SimpleExpressionChecker.prototype.visitImplicitReceiver=function(ast){},SimpleExpressionChecker.prototype.visitInterpolation=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitLiteralPrimitive=function(ast){},SimpleExpressionChecker.prototype.visitPropertyRead=function(ast){},SimpleExpressionChecker.prototype.visitPropertyWrite=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitSafePropertyRead=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitMethodCall=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitSafeMethodCall=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitFunctionCall=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitLiteralArray=function(ast){this.visitAll(ast.expressions)},SimpleExpressionChecker.prototype.visitLiteralMap=function(ast){this.visitAll(ast.values)},SimpleExpressionChecker.prototype.visitBinary=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitPrefixNot=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitConditional=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitPipe=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitKeyedRead=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitKeyedWrite=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitAll=function(asts){for(var res=collection_1.ListWrapper.createFixedSize(asts.length),i=0;i<asts.length;++i)res[i]=asts[i].visit(this);return res},SimpleExpressionChecker.prototype.visitChain=function(ast){this.simple=!1},SimpleExpressionChecker.prototype.visitQuote=function(ast){this.simple=!1},SimpleExpressionChecker}();return global.define=__define,module.exports}),$__System.registerDynamic("1ca",[],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var DebugContext=function(){function DebugContext(element,componentElement,direc
lang_1.isPresent(skipRecord)&&(skipDepth--,skipRecord.fixedArgs[0]=dstRecords.length);var src=srcRecords[protoIndex],dst=_cloneAndUpdateIndexes(src,dstRecords,indexMap);if(dst.isSkipRecord())dstRecords.push(dst),skipDepth++,skipSources[dst.fixedArgs[0]]=dst;else{var record=_mayBeAddRecord(dst,dstRecords,excludedIdxs,skipDepth>0);indexMap.set(src.selfIndex,record.selfIndex)}}return _optimizeSkips(dstRecords)}function _optimizeSkips(srcRecords){for(var dstRecords=[],skipSources=collection_1.ListWrapper.createFixedSize(srcRecords.length),indexMap=new collection_1.Map,protoIndex=0;protoIndex<srcRecords.length;protoIndex++){var skipRecord=skipSources[protoIndex];lang_1.isPresent(skipRecord)&&(skipRecord.fixedArgs[0]=dstRecords.length);var src=srcRecords[protoIndex];if(src.isSkipRecord()){if(src.isConditionalSkipRecord()&&src.fixedArgs[0]===protoIndex+2&&protoIndex<srcRecords.length-1&&srcRecords[protoIndex+1].mode===proto_record_1.RecordType.SkipRecords&&(src.mode=src.mode===proto_record_1.RecordType.SkipRecordsIf?proto_record_1.RecordType.SkipRecordsIfNot:proto_record_1.RecordType.SkipRecordsIf,src.fixedArgs[0]=srcRecords[protoIndex+1].fixedArgs[0],protoIndex++),src.fixedArgs[0]>protoIndex+1){var dst=_cloneAndUpdateIndexes(src,dstRecords,indexMap);dstRecords.push(dst),skipSources[dst.fixedArgs[0]]=dst}}else{var dst=_cloneAndUpdateIndexes(src,dstRecords,indexMap);dstRecords.push(dst),indexMap.set(src.selfIndex,dst.selfIndex)}}return dstRecords}function _mayBeAddRecord(record,dstRecords,excludedIdxs,excluded){var match=_findFirstMatch(record,dstRecords,excludedIdxs);return lang_1.isPresent(match)?(record.lastInBinding?(dstRecords.push(_createSelfRecord(record,match.selfIndex,dstRecords.length+1)),match.referencedBySelf=!0):record.argumentToPureFunction&&(match.argumentToPureFunction=!0),match):(excluded&&excludedIdxs.push(record.selfIndex),dstRecords.push(record),record)}function _findFirstMatch(record,dstRecords,excludedIdxs){return dstRecords.find(function(rr){return-1==excludedIdxs.indexOf(rr.selfIndex)&&rr.mode!==proto_record_1.RecordType.DirectiveLifecycle&&_haveSameDirIndex(rr,record)&&rr.mode===record.mode&&lang_1.looseIdentical(rr.funcOrValue,record.funcOrValue)&&rr.contextIndex===record.contextIndex&&lang_1.looseIdentical(rr.name,record.name)&&collection_1.ListWrapper.equals(rr.args,record.args)})}function _cloneAndUpdateIndexes(record,dstRecords,indexMap){var args=record.args.map(function(src){return _srcToDstSelfIndex(indexMap,src)}),contextIndex=_srcToDstSelfIndex(indexMap,record.contextIndex),selfIndex=dstRecords.length+1;return new proto_record_1.ProtoRecord(record.mode,record.name,record.funcOrValue,args,record.fixedArgs,contextIndex,record.directiveIndex,selfIndex,record.bindingRecord,record.lastInBinding,record.lastInDirective,record.argumentToPureFunction,record.referencedBySelf,record.propertyBindingIndex)}function _srcToDstSelfIndex(indexMap,srcIdx){var dstIdx=indexMap.get(srcIdx);return lang_1.isPresent(dstIdx)?dstIdx:srcIdx}function _createSelfRecord(r,contextIndex,selfIndex){return new proto_record_1.ProtoRecord(proto_record_1.RecordType.Self,"self",null,[],r.fixedArgs,contextIndex,r.directiveIndex,selfIndex,r.bindingRecord,r.lastInBinding,r.lastInDirective,!1,!1,r.propertyBindingIndex)}function _haveSameDirIndex(a,b){var di1=lang_1.isBlank(a.directiveIndex)?null:a.directiveIndex.directiveIndex,ei1=lang_1.isBlank(a.directiveIndex)?null:a.directiveIndex.elementIndex,di2=lang_1.isBlank(b.directiveIndex)?null:b.directiveIndex.directiveIndex,ei2=lang_1.isBlank(b.directiveIndex)?null:b.directiveIndex.elementIndex;return di1===di2&&ei1===ei2}var global=this,__define=global.define;global.define=void 0;var lang_1=$__require("2b"),collection_1=$__require("3a"),proto_record_1=$__require("1d7");return exports.coalesce=coalesce,global.define=__define,module.exports}),$__System.registerDynamic("1da",["2b","3f","3a","74","8a","1db","1dc","1d8","1d9","1d7"],!0,function($__require,exports,module){"use strict";function createPropertyRecords(definition){var recordBuilder=new ProtoRecordBuilder;return collection_1.ListWra
},ChangeDetectorJITGenerator.prototype._genThrowOnChangeCheck=function(oldValue,newValue){return lang_1.assertionsEnabled()?"\n if (throwOnChange && !"+this.changeDetectionUtilVarName+".devModeEqual("+oldValue+", "+newValue+")) {\n this.throwOnChangeError("+oldValue+", "+newValue+");\n }\n ":""},ChangeDetectorJITGenerator.prototype._genAddToChanges=function(r){var newValue=this._names.getLocalName(r.selfIndex),oldValue=this._names.getFieldName(r.selfIndex);return r.bindingRecord.callOnChanges()?CHANGES_LOCAL+" = this.addChange("+CHANGES_LOCAL+", "+oldValue+", "+newValue+");":""},ChangeDetectorJITGenerator.prototype._maybeFirstInBinding=function(r){var prev=change_detection_util_1.ChangeDetectionUtil.protoByIndex(this.records,r.selfIndex-1),firstInBinding=lang_1.isBlank(prev)||prev.bindingRecord!==r.bindingRecord;return firstInBinding&&!r.bindingRecord.isDirectiveLifecycle()?this._names.getPropertyBindingIndex()+" = "+r.propertyBindingIndex+";":""},ChangeDetectorJITGenerator.prototype._maybeGenLastInDirective=function(r){return r.lastInDirective?"\n "+CHANGES_LOCAL+" = null;\n "+this._genNotifyOnPushDetectors(r)+"\n "+IS_CHANGED_LOCAL+" = false;\n ":""},ChangeDetectorJITGenerator.prototype._genOnCheck=function(r){var br=r.bindingRecord;return"if (!throwOnChange) "+this._names.getDirectiveName(br.directiveRecord.directiveIndex)+".ngDoCheck();"},ChangeDetectorJITGenerator.prototype._genOnInit=function(r){var br=r.bindingRecord;return"if (!throwOnChange && "+this._names.getStateName()+" === "+this.changeDetectorStateVarName+".NeverChecked) "+this._names.getDirectiveName(br.directiveRecord.directiveIndex)+".ngOnInit();"},ChangeDetectorJITGenerator.prototype._genOnChange=function(r){var br=r.bindingRecord;return"if (!throwOnChange && "+CHANGES_LOCAL+") "+this._names.getDirectiveName(br.directiveRecord.directiveIndex)+".ngOnChanges("+CHANGES_LOCAL+");"},ChangeDetectorJITGenerator.prototype._genNotifyOnPushDetectors=function(r){var br=r.bindingRecord;if(!r.lastInDirective||br.isDefaultChangeDetection())return"";var retVal="\n if("+IS_CHANGED_LOCAL+") {\n "+this._names.getDetectorName(br.directiveRecord.directiveIndex)+".markAsCheckOnce();\n }\n ";return retVal},ChangeDetectorJITGenerator}();return exports.ChangeDetectorJITGenerator=ChangeDetectorJITGenerator,global.define=__define,module.exports}),$__System.registerDynamic("1dd",["88"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var change_detection_jit_generator_1=$__require("88"),JitProtoChangeDetector=function(){function JitProtoChangeDetector(definition){this.definition=definition,this._factory=this._createFactory(definition)}return JitProtoChangeDetector.isSupported=function(){return!0},JitProtoChangeDetector.prototype.instantiate=function(){return this._factory()},JitProtoChangeDetector.prototype._createFactory=function(definition){return new change_detection_jit_generator_1.ChangeDetectorJITGenerator(definition,"util","AbstractChangeDetector","ChangeDetectorStatus").generate()},JitProtoChangeDetector}();return exports.JitProtoChangeDetector=JitProtoChangeDetector,global.define=__define,module.exports}),$__System.registerDynamic("1de",["3f"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},exceptions_1=$__require("3f"),ExpressionChangedAfterItHasBeenCheckedException=function(_super){function ExpressionChangedAfterItHasBeenCheckedException(exp,oldValue,currValue,context){_super.call(this,"Expression '"+exp+"' has changed after it was checked. "+("Previous value: '"+oldValue+"'. Current value: '"+currValue+"'"))}return __extends(ExpressionChangedAfterItHasBeenCheckedException,_super),ExpressionChangedAfterItHasBeenCheckedException}(exceptions_1.BaseException);exports.ExpressionC
case proto_record_1.RecordType.Interpolate:case proto_record_1.RecordType.PrimitiveOp:case proto_record_1.RecordType.CollectionLiteral:return lang_1.FunctionWrapper.apply(proto.funcOrValue,this._readArgs(proto,values));default:throw new exceptions_1.BaseException("Unknown operation "+proto.mode)}},DynamicChangeDetector.prototype._pipeCheck=function(proto,throwOnChange,values){var context=this._readContext(proto,values),selectedPipe=this._pipeFor(proto,context);if(!selectedPipe.pure||this._argsOrContextChanged(proto)){var args=this._readArgs(proto,values),currValue=selectedPipe.pipe.transform(context,args);if(proto.shouldBeChecked()){var prevValue=this._readSelf(proto,values),detectedChange=throwOnChange?!change_detection_util_1.ChangeDetectionUtil.devModeEqual(prevValue,currValue):change_detection_util_1.ChangeDetectionUtil.looseNotIdentical(prevValue,currValue);if(detectedChange){if(currValue=change_detection_util_1.ChangeDetectionUtil.unwrapValue(currValue),proto.lastInBinding){var change=change_detection_util_1.ChangeDetectionUtil.simpleChange(prevValue,currValue);return throwOnChange&&this.throwOnChangeError(prevValue,currValue),this._writeSelf(proto,currValue,values),this._setChanged(proto,!0),change}return this._writeSelf(proto,currValue,values),this._setChanged(proto,!0),null}return this._setChanged(proto,!1),null}return this._writeSelf(proto,currValue,values),this._setChanged(proto,!0),null}},DynamicChangeDetector.prototype._pipeFor=function(proto,context){var storedPipe=this._readPipe(proto);if(lang_1.isPresent(storedPipe))return storedPipe;var pipe=this.pipes.get(proto.name);return this._writePipe(proto,pipe),pipe},DynamicChangeDetector.prototype._readContext=function(proto,values){return-1==proto.contextIndex?this._getDirectiveFor(proto.directiveIndex):values[proto.contextIndex]},DynamicChangeDetector.prototype._readSelf=function(proto,values){return values[proto.selfIndex]},DynamicChangeDetector.prototype._writeSelf=function(proto,value,values){values[proto.selfIndex]=value},DynamicChangeDetector.prototype._readPipe=function(proto){return this.localPipes[proto.selfIndex]},DynamicChangeDetector.prototype._writePipe=function(proto,value){this.localPipes[proto.selfIndex]=value},DynamicChangeDetector.prototype._setChanged=function(proto,value){proto.argumentToPureFunction&&(this.changes[proto.selfIndex]=value)},DynamicChangeDetector.prototype._pureFuncAndArgsDidNotChange=function(proto){return proto.isPureFunction()&&!this._argsChanged(proto)},DynamicChangeDetector.prototype._argsChanged=function(proto){for(var args=proto.args,i=0;i<args.length;++i)if(this.changes[args[i]])return!0;return!1},DynamicChangeDetector.prototype._argsOrContextChanged=function(proto){return this._argsChanged(proto)||this.changes[proto.contextIndex]},DynamicChangeDetector.prototype._readArgs=function(proto,values){for(var res=collection_1.ListWrapper.createFixedSize(proto.args.length),args=proto.args,i=0;i<args.length;++i)res[i]=values[args[i]];return res},DynamicChangeDetector}(abstract_change_detector_1.AbstractChangeDetector);return exports.DynamicChangeDetector=DynamicChangeDetector,global.define=__define,module.exports}),$__System.registerDynamic("1e1",["8b"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},constants_1=$__require("8b"),ChangeDetectorRef=function(){function ChangeDetectorRef(){}return ChangeDetectorRef}();exports.ChangeDetectorRef=ChangeDetectorRef;var ChangeDetectorRef_=function(_super){function ChangeDetectorRef_(_cd){_super.call(this),this._cd=_cd}return __extends(ChangeDetectorRef_,_super),ChangeDetectorRef_.prototype.markForCheck=function(){this._cd.markPathToRootAsCheckOnce()},ChangeDetectorRef_.prototype.detach=function(){this._cd.mode=constants_1.ChangeDetectionStrategy.Detached},ChangeDetectorRef_.prototype.detectChanges=function(){this._cd.dete
module.exports}),$__System.registerDynamic("1eb",["1ea"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},QueueAction_1=$__require("1ea"),FutureAction=function(_super){function FutureAction(scheduler,work){_super.call(this,scheduler,work),this.scheduler=scheduler,this.work=work}return __extends(FutureAction,_super),FutureAction.prototype.schedule=function(state,delay){var _this=this;if(void 0===delay&&(delay=0),this.isUnsubscribed)return this;this.delay=delay,this.state=state;var id=this.id;null!=id&&(this.id=void 0,clearTimeout(id));var scheduler=this.scheduler;return this.id=setTimeout(function(){_this.id=void 0,scheduler.actions.push(_this),scheduler.flush()},this.delay),this},FutureAction.prototype.unsubscribe=function(){var id=this.id;null!=id&&(this.id=void 0,clearTimeout(id)),_super.prototype.unsubscribe.call(this)},FutureAction}(QueueAction_1.QueueAction);return exports.FutureAction=FutureAction,global.define=__define,module.exports}),$__System.registerDynamic("1ec",["1ea","1eb"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var QueueAction_1=$__require("1ea"),FutureAction_1=$__require("1eb"),QueueScheduler=function(){function QueueScheduler(){this.actions=[],this.active=!1,this.scheduled=!1}return QueueScheduler.prototype.now=function(){return Date.now()},QueueScheduler.prototype.flush=function(){if(!this.active&&!this.scheduled){this.active=!0;for(var actions=this.actions,action=void 0;action=actions.shift();)action.execute();this.active=!1}},QueueScheduler.prototype.schedule=function(work,delay,state){return void 0===delay&&(delay=0),0>=delay?this.scheduleNow(work,state):this.scheduleLater(work,delay,state)},QueueScheduler.prototype.scheduleNow=function(work,state){return new QueueAction_1.QueueAction(this,work).schedule(state)},QueueScheduler.prototype.scheduleLater=function(work,delay,state){return new FutureAction_1.FutureAction(this,work).schedule(state,delay)},QueueScheduler}();return exports.QueueScheduler=QueueScheduler,global.define=__define,module.exports}),$__System.registerDynamic("1ed",["1ec"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var QueueScheduler_1=$__require("1ec");return exports.queue=new QueueScheduler_1.QueueScheduler,global.define=__define,module.exports}),$__System.registerDynamic("1ee",["1e8","1e5","1ed"],!0,function($__require,exports,module){function dispatchNext(_a){var value=_a.value,subscriber=_a.subscriber;subscriber.next(value),subscriber.complete()}function dispatchError(_a){var err=_a.err,subscriber=_a.subscriber;subscriber.error(err)}var global=this,__define=global.define;global.define=void 0;var __extends=this&&this.__extends||function(d,b){function __(){this.constructor=d}for(var p in b)b.hasOwnProperty(p)&&(d[p]=b[p]);d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new __)},Observable_1=$__require("1e8"),Subscription_1=$__require("1e5"),queue_1=$__require("1ed"),PromiseObservable=function(_super){function PromiseObservable(promise,scheduler){void 0===scheduler&&(scheduler=queue_1.queue),_super.call(this),this.promise=promise,this.scheduler=scheduler,this._isScalar=!1}return __extends(PromiseObservable,_super),PromiseObservable.create=function(promise,scheduler){return void 0===scheduler&&(scheduler=queue_1.queue),new PromiseObservable(promise,scheduler)},PromiseObservable.prototype._subscribe=function(subscriber){var _this=this,scheduler=this.scheduler,promise=this.promise;if(scheduler!==queue_1.queue){var subscription=new Subscription_1.Subscription;if(this._isScalar){var value=this.value;subscription.add(scheduler.schedule(dispatchNext,0,{value:value,subscriber:subscriber}))}else promise.then(function(value){_this._isScalar=!0,_this.value=value,subscription.add(scheduler.schedule(dispatchNext,0,{
});parentInjector=new di_1.Injector(new injector_1.ProtoInjector(imperativeProvidersWithVisibility),parentInjector,!0,null,null),hostInjectorBoundary=!1}else hostInjectorBoundary=containerAppElement._injector.hostBoundary;else parentInjector=rootInjector,hostInjectorBoundary=!0}return new InjectorWithHostBoundary(parentInjector,hostInjectorBoundary)},AppElement.prototype.attachComponentView=function(componentView){this.componentView=componentView},AppElement.prototype._debugContext=function(){var c=this.parentView.getDebugContext(this,null,null);return lang_1.isPresent(c)?new _Context(c.element,c.componentElement,c.injector):null},AppElement.prototype.hasVariableBinding=function(name){var vb=this.proto.directiveVariableBindings;return lang_1.isPresent(vb)&&collection_1.StringMapWrapper.contains(vb,name)},AppElement.prototype.getVariableBinding=function(name){var index=this.proto.directiveVariableBindings[name];return lang_1.isPresent(index)?this.getDirectiveAtIndex(index):this.getElementRef()},AppElement.prototype.get=function(token){return this._injector.get(token)},AppElement.prototype.hasDirective=function(type){return lang_1.isPresent(this._injector.getOptional(type))},AppElement.prototype.getComponent=function(){return lang_1.isPresent(this._strategy)?this._strategy.getComponent():null},AppElement.prototype.getInjector=function(){return this._injector},AppElement.prototype.getElementRef=function(){return this.ref},AppElement.prototype.getViewContainerRef=function(){return new view_container_ref_2.ViewContainerRef_(this)},AppElement.prototype.getTemplateRef=function(){return lang_1.isPresent(this.embeddedViewFactory)?new template_ref_1.TemplateRef_(this.ref):null},AppElement.prototype.getDependency=function(injector,provider,dep){if(provider instanceof DirectiveProvider){var dirDep=dep;if(lang_1.isPresent(dirDep.attributeName))return this._buildAttribute(dirDep);if(lang_1.isPresent(dirDep.queryDecorator))return this._queryStrategy.findQuery(dirDep.queryDecorator).list;if(dirDep.key.id===StaticKeys.instance().changeDetectorRefId)return this.proto.firstProviderIsComponent?new _ComponentViewChangeDetectorRef(this):this.parentView.changeDetector.ref;if(dirDep.key.id===StaticKeys.instance().elementRefId)return this.getElementRef();if(dirDep.key.id===StaticKeys.instance().viewContainerId)return this.getViewContainerRef();if(dirDep.key.id===StaticKeys.instance().templateRefId){var tr=this.getTemplateRef();if(lang_1.isBlank(tr)&&!dirDep.optional)throw new di_1.NoProviderError(null,dirDep.key);return tr}if(dirDep.key.id===StaticKeys.instance().rendererId)return this.parentView.renderer}else if(provider instanceof pipe_provider_1.PipeProvider&&dep.key.id===StaticKeys.instance().changeDetectorRefId)return this.proto.firstProviderIsComponent?new _ComponentViewChangeDetectorRef(this):this.parentView.changeDetector;return injector_1.UNDEFINED},AppElement.prototype._buildAttribute=function(dep){var attributes=this.proto.attributes;return lang_1.isPresent(attributes)&&collection_1.StringMapWrapper.contains(attributes,dep.attributeName)?attributes[dep.attributeName]:null},AppElement.prototype.addDirectivesMatchingQuery=function(query,list){var templateRef=this.getTemplateRef();query.selector===template_ref_1.TemplateRef&&lang_1.isPresent(templateRef)&&list.push(templateRef),null!=this._strategy&&this._strategy.addDirectivesMatchingQuery(query,list)},AppElement.prototype._buildQueryStrategy=function(){return 0===this.proto.protoQueryRefs.length?_emptyQueryStrategy:this.proto.protoQueryRefs.length<=InlineQueryStrategy.NUMBER_OF_SUPPORTED_QUERIES?new InlineQueryStrategy(this):new DynamicQueryStrategy(this)},AppElement.prototype.getDirectiveAtIndex=function(index){return this._injector.getAt(index)},AppElement.prototype.ngAfterViewChecked=function(){lang_1.isPresent(this._queryStrategy)&&this._queryStrategy.updateViewQueries()},AppElement.prototype.ngAfterContentChecked=function(){lang_1.isPresent(this._queryStrategy)&&this._queryStrategy.updateContentQueries()},AppElement.prototype.traverseAndSetQueriesAsDirty=function(){for(var inj=th
function ProtoInjector(bwv){this.numberOfProviders=bwv.length,this._strategy=bwv.length>_MAX_CONSTRUCTION_COUNTER?new ProtoInjectorDynamicStrategy(this,bwv):new ProtoInjectorInlineStrategy(this,bwv)}return ProtoInjector.fromResolvedProviders=function(providers){var bd=providers.map(function(b){return new ProviderWithVisibility(b,Visibility.Public)});return new ProtoInjector(bd)},ProtoInjector.prototype.getProviderAtIndex=function(index){return this._strategy.getProviderAtIndex(index)},ProtoInjector}();exports.ProtoInjector=ProtoInjector;var InjectorInlineStrategy=function(){function InjectorInlineStrategy(injector,protoStrategy){this.injector=injector,this.protoStrategy=protoStrategy,this.obj0=exports.UNDEFINED,this.obj1=exports.UNDEFINED,this.obj2=exports.UNDEFINED,this.obj3=exports.UNDEFINED,this.obj4=exports.UNDEFINED,this.obj5=exports.UNDEFINED,this.obj6=exports.UNDEFINED,this.obj7=exports.UNDEFINED,this.obj8=exports.UNDEFINED,this.obj9=exports.UNDEFINED}return InjectorInlineStrategy.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},InjectorInlineStrategy.prototype.instantiateProvider=function(provider,visibility){return this.injector._new(provider,visibility)},InjectorInlineStrategy.prototype.getObjByKeyId=function(keyId,visibility){var p=this.protoStrategy,inj=this.injector;return p.keyId0===keyId&&canSee(p.visibility0,visibility)?(this.obj0===exports.UNDEFINED&&(this.obj0=inj._new(p.provider0,p.visibility0)),this.obj0):p.keyId1===keyId&&canSee(p.visibility1,visibility)?(this.obj1===exports.UNDEFINED&&(this.obj1=inj._new(p.provider1,p.visibility1)),this.obj1):p.keyId2===keyId&&canSee(p.visibility2,visibility)?(this.obj2===exports.UNDEFINED&&(this.obj2=inj._new(p.provider2,p.visibility2)),this.obj2):p.keyId3===keyId&&canSee(p.visibility3,visibility)?(this.obj3===exports.UNDEFINED&&(this.obj3=inj._new(p.provider3,p.visibility3)),this.obj3):p.keyId4===keyId&&canSee(p.visibility4,visibility)?(this.obj4===exports.UNDEFINED&&(this.obj4=inj._new(p.provider4,p.visibility4)),this.obj4):p.keyId5===keyId&&canSee(p.visibility5,visibility)?(this.obj5===exports.UNDEFINED&&(this.obj5=inj._new(p.provider5,p.visibility5)),this.obj5):p.keyId6===keyId&&canSee(p.visibility6,visibility)?(this.obj6===exports.UNDEFINED&&(this.obj6=inj._new(p.provider6,p.visibility6)),this.obj6):p.keyId7===keyId&&canSee(p.visibility7,visibility)?(this.obj7===exports.UNDEFINED&&(this.obj7=inj._new(p.provider7,p.visibility7)),this.obj7):p.keyId8===keyId&&canSee(p.visibility8,visibility)?(this.obj8===exports.UNDEFINED&&(this.obj8=inj._new(p.provider8,p.visibility8)),this.obj8):p.keyId9===keyId&&canSee(p.visibility9,visibility)?(this.obj9===exports.UNDEFINED&&(this.obj9=inj._new(p.provider9,p.visibility9)),this.obj9):exports.UNDEFINED},InjectorInlineStrategy.prototype.getObjAtIndex=function(index){if(0==index)return this.obj0;if(1==index)return this.obj1;if(2==index)return this.obj2;if(3==index)return this.obj3;if(4==index)return this.obj4;if(5==index)return this.obj5;if(6==index)return this.obj6;if(7==index)return this.obj7;if(8==index)return this.obj8;if(9==index)return this.obj9;throw new exceptions_1.OutOfBoundsError(index)},InjectorInlineStrategy.prototype.getMaxNumberOfObjects=function(){return _MAX_CONSTRUCTION_COUNTER},InjectorInlineStrategy}();exports.InjectorInlineStrategy=InjectorInlineStrategy;var InjectorDynamicStrategy=function(){function InjectorDynamicStrategy(protoStrategy,injector){this.protoStrategy=protoStrategy,this.injector=injector,this.objs=collection_1.ListWrapper.createFixedSize(protoStrategy.providers.length),collection_1.ListWrapper.fill(this.objs,exports.UNDEFINED)}return InjectorDynamicStrategy.prototype.resetConstructionCounter=function(){this.injector._constructionCounter=0},InjectorDynamicStrategy.prototype.instantiateProvider=function(provider,visibility){return this.injector._new(provider,visibility)},InjectorDynamicStrategy.prototype.getObjByKeyId=function(keyId,visibility){for(var p=this.protoStrategy,i=0;i<p.keyIds.length;i++)if(p.keyIds[i]===keyId&&canSee(p.visibilities[i],visibility))r
get:function(){var first=lang_1.stringify(collection_1.ListWrapper.first(this.keys).token);return"Error during instantiation of "+first+"!"+constructResolvingPath(this.keys)+"."},enumerable:!0,configurable:!0}),Object.defineProperty(InstantiationError.prototype,"causeKey",{get:function(){return this.keys[0]},enumerable:!0,configurable:!0}),Object.defineProperty(InstantiationError.prototype,"context",{get:function(){return this.injectors[this.injectors.length-1].debugContext()},enumerable:!0,configurable:!0}),InstantiationError}(exceptions_1.WrappedException);exports.InstantiationError=InstantiationError;var InvalidProviderError=function(_super){function InvalidProviderError(provider){_super.call(this,"Invalid provider - only instances of Provider and Type are allowed, got: "+provider.toString())}return __extends(InvalidProviderError,_super),InvalidProviderError}(exceptions_1.BaseException);exports.InvalidProviderError=InvalidProviderError;var NoAnnotationError=function(_super){function NoAnnotationError(typeOrFunc,params){_super.call(this,NoAnnotationError._genMessage(typeOrFunc,params))}return __extends(NoAnnotationError,_super),NoAnnotationError._genMessage=function(typeOrFunc,params){for(var signature=[],i=0,ii=params.length;ii>i;i++){var parameter=params[i];lang_1.isBlank(parameter)||0==parameter.length?signature.push("?"):signature.push(parameter.map(lang_1.stringify).join(" "))}return"Cannot resolve all parameters for '"+lang_1.stringify(typeOrFunc)+"'("+signature.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+lang_1.stringify(typeOrFunc)+"' is decorated with Injectable."},NoAnnotationError}(exceptions_1.BaseException);exports.NoAnnotationError=NoAnnotationError;var OutOfBoundsError=function(_super){function OutOfBoundsError(index){_super.call(this,"Index "+index+" is out-of-bounds.")}return __extends(OutOfBoundsError,_super),OutOfBoundsError}(exceptions_1.BaseException);exports.OutOfBoundsError=OutOfBoundsError;var MixingMultiProvidersWithRegularProvidersError=function(_super){function MixingMultiProvidersWithRegularProvidersError(provider1,provider2){_super.call(this,"Cannot mix multi providers and regular providers, got: "+provider1.toString()+" "+provider2.toString())}return __extends(MixingMultiProvidersWithRegularProvidersError,_super),MixingMultiProvidersWithRegularProvidersError}(exceptions_1.BaseException);return exports.MixingMultiProvidersWithRegularProvidersError=MixingMultiProvidersWithRegularProvidersError,global.define=__define,module.exports}),$__System.registerDynamic("1ff",["2b"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var __decorate=this&&this.__decorate||function(decorators,target,key,desc){var d,c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;i>=0;i--)(d=decorators[i])&&(r=(3>c?d(r):c>3?d(target,key,r):d(target,key))||r);return c>3&&r&&Object.defineProperty(target,key,r),r},__metadata=this&&this.__metadata||function(k,v){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(k,v):void 0},lang_1=$__require("2b"),OpaqueToken=function(){function OpaqueToken(_desc){this._desc=_desc}return OpaqueToken.prototype.toString=function(){return"Token "+this._desc},OpaqueToken=__decorate([lang_1.CONST(),__metadata("design:paramtypes",[String])],OpaqueToken)}();return exports.OpaqueToken=OpaqueToken,global.define=__define,module.exports}),$__System.registerDynamic("3c",["1cb","1d2","1fd","1f6","1f5","1fc","1fb","1ff"],!0,function($__require,exports,module){"use strict";function __export(m){for(var p in m)exports.hasOwnProperty(p)||(exports[p]=m[p])}var global=this,__define=global.define;global.define=void 0;var metadata_1=$__require("1cb");exports.InjectMetadata=metadata_1.InjectMetadata,exports.OptionalMetadata=metadata_1.OptionalMetadata,expo
return function(a1,a2,a3,a4,a5,a6,a7){return new t(a1,a2,a3,a4,a5,a6,a7)};case 8:return function(a1,a2,a3,a4,a5,a6,a7,a8){return new t(a1,a2,a3,a4,a5,a6,a7,a8)};case 9:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9)};case 10:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)};case 11:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11)};case 12:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12)};case 13:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13)};case 14:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14)};case 15:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15)};case 16:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16)};case 17:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17)};case 18:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18)};case 19:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19)};case 20:return function(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20){return new t(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20)}}throw new Error("Cannot create a factory for '"+lang_1.stringify(t)+"' because its constructor has more than 20 arguments")},ReflectionCapabilities.prototype._zipTypesAndAnnotations=function(paramTypes,paramAnnotations){var result;result="undefined"==typeof paramTypes?new Array(paramAnnotations.length):new Array(paramTypes.length);for(var i=0;i<result.length;i++)"undefined"==typeof paramTypes?result[i]=[]:paramTypes[i]!=Object?result[i]=[paramTypes[i]]:result[i]=[],lang_1.isPresent(paramAnnotations)&&lang_1.isPresent(paramAnnotations[i])&&(result[i]=result[i].concat(paramAnnotations[i]));return result},ReflectionCapabilities.prototype.parameters=function(typeOrFunc){if(lang_1.isPresent(typeOrFunc.parameters))return typeOrFunc.parameters;if(lang_1.isPresent(this._reflect)&&lang_1.isPresent(this._reflect.getMetadata)){var paramAnnotations=this._reflect.getMetadata("parameters",typeOrFunc),paramTypes=this._reflect.getMetadata("design:paramtypes",typeOrFunc);if(lang_1.isPresent(paramTypes)||lang_1.isPresent(paramAnnotations))return this._zipTypesAndAnnotations(paramTypes,paramAnnotations)}var parameters=new Array(typeOrFunc.length);return parameters.fill(void 0),parameters},ReflectionCapabilities.prototype.annotations=function(typeOrFunc){if(lang_1.isPresent(typeOrFunc.annotations)){var annotations=typeOrFunc.annotations;return lang_1.isFunction(annotations)&&annotations.annotations&&(annotations=annotations.annotations),annotations}if(lang_1.isPresent(this._reflect)&&lang_1.isPresent(this._reflect.getMetadata)){var annotations=this._reflect.getMetadata("annotations",typeOrFunc);if(lang_1.isPresent(annotations))return annotations}return[]},ReflectionCapabilities.prototype.propMetadata=function(typeOrFunc){if(lang_1.isPresent(typeOrFunc.propMetadata)){var propMetadata=typeOrFunc.propMetadata;return lang_1.isFunction(propMetadata)&&propMetadata.propMetadata&&(propMetadata=propMetadata.propMetadata),propMetadata}if(lang_1.isPresent(this._reflect)&&lang_1.isPresent(this._reflect.getMetadata)){var propMetadata=this._reflect.getMetadata("propMetadata",typeOrFunc);if(lang_1.isPresent(propMetadata))return propMetadata}return{}},ReflectionCapabilities.prototype.interfaces=function(type){throw new exceptions_1.BaseException("JavaScript does not support
return Tab=Reflect.metadata("parameters",[[Tabs]])(Tab)||Tab,Tab=View({template:'\n <div class="tab-wrap" [ngClass]="{ \'active\': active }">\n <ng-content></ng-content>\n </div>\n ',directives:[CORE_DIRECTIVES],styles:["\n .tab-wrap {\n display: none;\n }\n\n .tab-wrap.active {\n display: block;\n }"]})(Tab)||Tab,Tab=Component({selector:"tab",inputs:["tabTitle","tabStatus"]})(Tab)||Tab}(),_export("Tab",Tab)}}}),$__System.registerDynamic("165",["206","160"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var IObject=$__require("206"),defined=$__require("160");return module.exports=function(it){return IObject(defined(it))},global.define=__define,module.exports}),$__System.registerDynamic("173",["99","30","16c"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var $export=$__require("99"),core=$__require("30"),fails=$__require("16c");return module.exports=function(KEY,exec){var fn=(core.Object||{})[KEY]||Object[KEY],exp={};exp[KEY]=exec(fn),$export($export.S+$export.F*fails(function(){fn(1)}),"Object",exp)},global.define=__define,module.exports}),$__System.registerDynamic("207",["165","173"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var toIObject=$__require("165");return $__require("173")("getOwnPropertyDescriptor",function($getOwnPropertyDescriptor){return function(it,key){return $getOwnPropertyDescriptor(toIObject(it),key)}}),global.define=__define,module.exports}),$__System.registerDynamic("208",["af","207"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var $=$__require("af");return $__require("207"),module.exports=function(it,key){return $.getDesc(it,key)},global.define=__define,module.exports}),$__System.registerDynamic("209",["208"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports={"default":$__require("208"),__esModule:!0},global.define=__define,module.exports}),$__System.registerDynamic("6",["209"],!0,function($__require,exports,module){"use strict";var global=this,__define=global.define;global.define=void 0;var _Object$getOwnPropertyDescriptor=$__require("209")["default"];return exports["default"]=function(_x,_x2,_x3){for(var _again=!0;_again;){var object=_x,property=_x2,receiver=_x3;_again=!1,null===object&&(object=Function.prototype);var desc=_Object$getOwnPropertyDescriptor(object,property);if(void 0!==desc){if("value"in desc)return desc.value;var getter=desc.get;if(void 0===getter)return;return getter.call(receiver)}var parent=Object.getPrototypeOf(object);if(null===parent)return;_x=parent,_x2=property,_x3=receiver,_again=!0,desc=parent=void 0}},exports.__esModule=!0,global.define=__define,module.exports}),$__System.registerDynamic("20a",["af"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var $=$__require("af");return module.exports=function(P,D){return $.create(P,D)},global.define=__define,module.exports}),$__System.registerDynamic("20b",["20a"],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports={"default":$__require("20a"),__esModule:!0},global.define=__define,module.exports}),$__System.registerDynamic("aa",[],!0,function($__require,exports,module){var global=this,__define=global.define;return global.define=void 0,module.exports=function(it){return"object"==typeof it?null!==it:"function"==typeof it},global.define=__define,module.exports}),$__System.registerDynamic("a4",["aa"],!0,function($__require,exports,module){var global=this,__define=global.define;global.define=void 0;var isObject=$__require("aa");return module.exports=function(it){if(!isObject(it))throw TypeError(it+" is not an object!");return it},global.define=__define,module.exports}),$__System.registerDynamic("b3",["af","aa","a4","98"],!0,function($__require,exports,module){var global=this,__define=global.define;gl
injectTo.isTrivial=!0,injectTo._pointer&&(injectTo._pointer=void 0,injectTo._displayType=propertySchema.title?propertySchema.title+" ("+propertySchema.type+")":propertySchema.type)}()}},integer:{check:function(propertySchema){return"integer"===propertySchema.type||"number"===propertySchema.type},inject:function(injectTo){var propertySchema=arguments.length<=1||void 0===arguments[1]?injectTo:arguments[1];return function(){var range="";propertySchema.minimum&&propertySchema.maximum?(range+=propertySchema.exclusiveMinimum?"( ":"[ ",range+=propertySchema.minimum,range+=" .. ",range+=propertySchema.maximum,range+=propertySchema.exclusiveMaximum?" )":" ]"):propertySchema.maximum?(range+=propertySchema.exclusiveMaximum?"< ":"<= ",range+=propertySchema.maximum):propertySchema.minimum&&(range+=propertySchema.exclusiveMinimum?"> ":">= ",range+=propertySchema.minimum),range&&(injectTo._range=range)}()}}}}}}),$__System.register("218",["4","12","16","17","18","19","21","a","b","1f","c"],function(_export){"use strict";var ApiInfo,SchemaSample,Method,ResponsesList,ResponsesSamples,MethodsList,SideMenu,ApiLogo,ParamsList,Redoc,JsonSchema,REDOC_COMPONENTS;return{setters:[function(_){ApiInfo=_["default"]},function(_6){SchemaSample=_6["default"]},function(_2){Method=_2["default"]},function(_4){ResponsesList=_4["default"]},function(_5){ResponsesSamples=_5["default"]},function(_3){MethodsList=_3["default"]},function(_7){SideMenu=_7["default"]},function(_a){ApiLogo=_a["default"]},function(_b){ParamsList=_b["default"]},function(_f){Redoc=_f["default"]},function(_c){JsonSchema=_c["default"]}],execute:function(){REDOC_COMPONENTS=[ApiInfo,ApiLogo,JsonSchema,Method,MethodsList,ParamsList,Redoc,ResponsesList,ResponsesSamples,SchemaSample,SideMenu],_export("ApiInfo",ApiInfo),_export("ApiLogo",ApiLogo),_export("JsonSchema",JsonSchema),_export("Method",Method),_export("MethodsList",MethodsList),_export("ParamsList",ParamsList),_export("Redoc",Redoc),_export("ResponsesList",ResponsesList),_export("ResponsesSamples",ResponsesSamples),_export("SchemaSample",SchemaSample),_export("SideMenu",SideMenu),_export("REDOC_COMPONENTS",REDOC_COMPONENTS)}}}),$__System.register("1",["218"],function(_export){"use strict";var Redoc,init;return{setters:[function(_){Redoc=_.Redoc}],execute:function(){init=Redoc.init,_export("init",init),window.Redoc=Redoc,Redoc.autoInit()}}}),$__System.register(".tmp/lib/components/Redoc/redoc-loading-styles.css!github:systemjs/plugin-css@0.1.18.js",[],!1,function(){}),$__System.register("npm:prismjs@1.3.0/themes/prism-dark.css!github:systemjs/plugin-css@0.1.18.js",[],!1,function(){}),function(c){if("undefined"!=typeof document){var d=document,a="appendChild",i="styleSheet",s=d.createElement("style");s.type="text/css",d.getElementsByTagName("head")[0][a](s),s[i]?s[i].cssText=c:s[a](d.createTextNode(c))}}("redoc.loading{position:relative;display:block;min-height:350px}@keyframes move{0%,100%,50%{transform:translateY(10px)}25%{transform:translateY(0)}75%{transform:translateY(20px)}}redoc.loading:before{font-family:Montserrat;content:\"Loading...\";font-size:28px;text-align:center;padding-top:40px;color:#0033a0;font-weight:700;display:block;position:absolute;top:0;bottom:0;left:0;right:0;background-color:#fff;z-index:9999;opacity:1;transition:all .6s ease-out;animation:2s move linear infinite}redoc.loading-remove:before{opacity:0}code[class*=language-],pre[class*=language-]{color:#fff;text-shadow:0 -.1em .2em #000;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}:not(pre)>code[class*=language-],pre[class*=language-]{background:#4c3f33}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border:.3em solid #7a6651;border-radius:.5em;box-shadow:1px 1px .5em #000 inset}:not(pre)>code[class*=language-]{padding:.15em .2em
2016-01-25 00:27:39 +03:00
//# sourceMappingURL=redoc.min.js.map