redoc/dist/redoc.full.min.js

997 lines
988 KiB
JavaScript
Raw Normal View History

2016-01-18 18:56:48 +03:00
!function e(t,n,r){function o(u,a){if(!n[u]){if(!t[u]){var s="function"==typeof require&&require;if(!a&&s)return s(u,!0);if(i)return i(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var f=n[u]={exports:{}};t[u][0].call(f.exports,function(e){var n=t[u][1][e];return o(n?n:e)},f,f.exports,e,t,n,r)}return n[u].exports}for(var i="function"==typeof require&&require,u=0;u<r.length;u++)o(r[u]);return o}({1:[function(e,t,n){(function(t){"use strict";var n=e("../core"),r=e("../microtask"),o=e("../patch/browser"),i=e("es6-promise");t.Zone&&console.warn("Zone already exported on window the object!"),t.Zone=r.addMicrotaskSupport(n.Zone),t.zone=new t.Zone,t.Promise=i.Promise,o.apply()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../core":2,"../microtask":4,"../patch/browser":5,"es6-promise":17}],2:[function(e,t,n){(function(n){"use strict";function r(e,t){var n=arguments.length?Object.create(e):this;return n.parent=e||null,Object.keys(t||{}).forEach(function(r){var o=r.substr(1);"$"===r[0]?n[o]=t[r](e[o]||function(){}):"+"===r[0]?e[o]?n[o]=function(){var n=e[o].apply(this,arguments);return t[r].apply(this,arguments),n}:n[o]=t[r]:"-"===r[0]?e[o]?n[o]=function(){return t[r].apply(this,arguments),e[o].apply(this,arguments)}:n[o]=t[r]:n[r]="object"==typeof t[r]?JSON.parse(JSON.stringify(t[r])):t[r]}),n.$id=r.nextId++,n}var o=e("./keys");r.prototype={constructor:r,fork:function(e){return this.onZoneCreated(),new r(this,e)},bind:function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);t||this.enqueueTask(e);var n=this.isRootZone()?this:this.fork();return function(){return n.run(e,this,arguments)}},bindOnce:function(e){var t=this;return this.bind(function(){var n=e.apply(this,arguments);return t.dequeueTask(e),n})},isRootZone:function(){return null===this.parent},run:function(e,t,r){r=r||[];var o=n.zone;n.zone=this;try{return this.beforeTask(),e.apply(t,r)}catch(i){if(!this.onError)throw i;this.onError(i)}finally{this.afterTask(),n.zone=o}},onError:null,beforeTask:function(){},onZoneCreated:function(){},afterTask:function(){},enqueueTask:function(){},dequeueTask:function(){},addEventListener:function(){return this[o.common.addEventListener].apply(this,arguments)},removeEventListener:function(){return this[o.common.removeEventListener].apply(this,arguments)}},r.nextId=1,r.bindPromiseFn=e("./patch/promise").bindPromiseFn,t.exports={Zone:r}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./keys":3,"./patch/promise":12}],3:[function(e,t,n){function r(e){return"_zone$"+e}var o={addEventListener:r("addEventListener"),removeEventListener:r("removeEventListener")};t.exports={create:r,common:o}},{}],4:[function(e,t,n){(function(n){"use strict";function r(e){s._asap(this.bind(e))}function o(e){return e.prototype.scheduleMicrotask=r,e}var i,u="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]"),a=n.navigator&&n.navigator.userAgent.toLowerCase().indexOf("firefox")>-1;u&&!a&&(i=Promise.resolve());var s=e("es6-promise").Promise;i&&s._setScheduler(function(e){i.then(e)}),s._setAsap(function(e,t){n.zone.scheduleMicrotask(function(){e(t)})}),t.exports={addMicrotaskSupport:o}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"es6-promise":17}],5:[function(e,t,n){(function(n){"use strict";function r(){o.patchSetClearFunction(n,["timeout","interval","immediate"]),o.patchRequestAnimationFrame(n,["requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame"]),o.patchFunction(n,["alert","prompt"]),c.apply(),f.apply(),i.apply(),u.patchClass("MutationObserver"),u.patchClass("WebKitMutationObserver"),a.apply(),s.apply(),p.apply(),l.apply()}var o=e("./functions"),i=e("./promise"),u=e("./mutation-observer"),a=e("./define-property"),s=e("./register-element"),c=(e("./websocket"),e("./event-target")),f=e("./property-descriptor"),p=e("./geolocation"),l=e("./fil
/*! *****************************************************************************
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.
***************************************************************************** */
"use strict";
var Reflect;
(function (Reflect) {
// 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();
}
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, undefined);
}
}
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-
var metadataMap = GetOrCreateMetadataMap(target, targetKey, false);
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) {
var metadataMap = GetOrCreateMetadataMap(O, P, false);
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) {
var metadataMap = GetOrCreateMetadataMap(O, P, false);
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) {
var metadataMap = GetOrCreateMetadataMap(O, P, true);
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) {
var metadataMap = GetOrCreateMetadataMap(target, targetKey, false);
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) {
var table = GetOrCreateWeakMapTable(target, false);
if (table) {
return this._key in table;
}
return false;
},
get: function (target) {
var table = GetOrCreateWeakMapTable(target, false);
if (table) {
return table[this._key];
}
return undefined;
},
set: function (target, value) {
var table = GetOrCreateWeakMapTable(target, true);
table[this._key] = value;
return this;
},
delete: function (target) {
var table = GetOrCreateWeakMapTable(target, false);
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 = {}));
!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,!0),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),b=0,w=n?c(h,S):e?c(h,0):void 0;S>b;b++)if((l||b in m)&&(g=m[b],y=x(g,b,d),t))if(n)w[b]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return b;case 2:w.push(g)}else if(s)return!1;return f?-1:a||s?s:w}}},{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(54),u=t(18),c=t(70),a=t(20),s=t(28),f=t(43),l=t(45),h=t(83)("id"),p=t(31),v=t(39),g=t(66),y=t(21),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]},b=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=b(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},
}})},{19:19,50:50}],114:[function(t,n,e){var r=t(19);r(r.S,"Math",{trunc:function trunc(t){return(t>0?Math.floor:Math.ceil)(t)}})},{19:19}],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(21)?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,21:21,25:25,30:30,31:31,47:47,62:62,75:75,82:82}],116:[function(t,n,e){var r=t(19);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},{19:19}],117:[function(t,n,e){var r=t(19),o=t(30).isFinite;r(r.S,"Number",{isFinite:function isFinite(t){return"number"==typeof t&&o(t)}})},{19:19,30:30}],118:[function(t,n,e){var r=t(19);r(r.S,"Number",{isInteger:t(38)})},{19:19,38:38}],119:[function(t,n,e){var r=t(19);r(r.S,"Number",{isNaN:function isNaN(t){return t!=t}})},{19:19}],120:[function(t,n,e){var r=t(19),o=t(38),i=Math.abs;r(r.S,"Number",{isSafeInteger:function isSafeInteger(t){return o(t)&&i(t)<=9007199254740991}})},{19:19,38:38}],121:[function(t,n,e){var r=t(19);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},{19:19}],122:[function(t,n,e){var r=t(19);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},{19:19}],123:[function(t,n,e){var r=t(19);r(r.S,"Number",{parseFloat:parseFloat})},{19:19}],124:[function(t,n,e){var r=t(19);r(r.S,"Number",{parseInt:parseInt})},{19:19}],125:[function(t,n,e){var r=t(19);r(r.S+r.F,"Object",{assign:t(55)})},{19:19,55:55}],126:[function(t,n,e){var r=t(39);t(56)("freeze",function(t){return function freeze(n){return t&&r(n)?t(n):n}})},{39:39,56:56}],127:[function(t,n,e){var r=t(79);t(56)("getOwnPropertyDescriptor",function(t){return function getOwnPropertyDescriptor(n,e){return t(r(n),e)}})},{56:56,79:79}],128:[function(t,n,e){t(56)("getOwnPropertyNames",function(){return t(29).get})},{29:29,56:56}],129:[function(t,n,e){var r=t(81);t(56)("getPrototypeOf",function(t){return function getPrototypeOf(n){return t(r(n))}})},{56:56,81:81}],130:[function(t,n,e){var r=t(39);t(56)("isExtensible",function(t){return function isExtensible(n){return r(n)?t?t(n):!0:!1}})},{39:39,56:56}],131:[function(t,n,e){var r=t(39);t(56)("isFrozen",function(t){return function isFrozen(n){return r(n)?t?t(n):!1:!0}})},{39:39,56:56}],132:[function(t,n,e){var r=t(39);t(56)("isSealed",function(t){return function isSealed(n){return r(n)?t?t(n):!1:!0}})},{39:39,56:56}],133:[function(t,n,e){var r=t(19);r(r.S,"Object",{is:t(64)})},{19:19,64:64}],134:[function(t,n,e){var r=t(81);t(56)("keys",function(t){return function keys(n){return t(r(n))}})},{56:56,81:81}],135:[function(t,n,e){var r=t(39);t(56)("preventExtensions",function(t){return function preventExtensions(n){return t&&r(n)?t(n):n}})},{39:39,56:56}],136:[function(t,n,e){var r=t(39);t(56)("seal",function(t){return function seal(n){return t&&r(n)?t(n):n}})},{39:39,56:56}],137:[function(t,n,e){var r=t(19);r(r.S,"Object",{setPrototypeOf:t(65).set})},{19:19,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:[function(t,n,e){"use strict";var r,o=t(47),i=t(49),u=t(30),c=t(18),a=t(11),s=t(19),f=t(3
2016-01-20 18:09:02 +03:00
!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in n||(n[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==o.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=n[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex<h){if(void 0!==g.groupIndex&&(b[g.groupIndex].splice(o.call(b[g.groupIndex],g),1),0==b[g.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");g.groupIndex=h}e(g,b)}}}}function f(a){var b=n[a];b.groupIndex=0;var c=[];e(b,c);for(var d=!!b.declarative==c.length%2,f=c.length-1;f>=0;f--){for(var g=c[f],i=0;i<g.length;i++){var k=g[i];d?h(k):j(k)}d=!d}}function g(a){return s[a]||(s[a]={name:a,dependencies:[],exports:{},importers:[]})}function h(b){if(!b.module){var c=b.module=g(b.name),d=b.module.exports,e=b.declare.call(a,function(a,b){if(c.locked=!0,"object"==typeof a)for(var e in a)d[e]=a[e];else d[a]=b;for(var f=0,g=c.importers.length;g>f;f++){var h=c.importers[f];if(!h.locked)for(var i=0;i<h.dependencies.length;++i)h.dependencies[i]===c&&h.setters[i](d)}return c.locked=!1,b},b.name);c.setters=e.setters,c.execute=e.execute;for(var f=0,i=b.normalizedDeps.length;i>f;f++){var j,k=b.normalizedDeps[f],l=n[k],o=s[k];o?j=o.exports:l&&!l.declarative?j=l.esModule:l?(h(l),o=l.module,j=o.exports):j=m(k),o&&o.importers?(o.importers.push(c),c.dependencies.push(o)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=n[a];if(c)c.declarative?l(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=m(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=n[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(b){if(b===a)return b;var c={};if("object"==typeof b||"function"==typeof b)if(p){var d;for(var e in b)(d=Object.getOwnPropertyDescriptor(b,e))&&r(c,e,d)}else{var f=b&&b.hasOwnProperty;for(var e in b)(!f||b.hasOwnProperty(e))&&(c[e]=b[e])}return c["default"]=b,r(c,"__useDefault",{value:!0}),c}function l(b,c){var d=n[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==o.call(c,g)&&(n[g]?l(g,c):m(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function m(a){if(u[a])return u[a];if("@node/"==a.substr(0,6))return t(a.substr(6));var b=n[a];if(!b)throw"Module "+a+" not present.";return f(a),l(a,[]),n[a]=void 0,b.declarative&&r(b.module.exports,"__esModule",{value:!0}),u[a]=b.declarative?b.module.exports:b.esModule}var n={},o=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},p=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(q){p=!1}var r;!function(){try{Object.defineProperty({},"a",{})&&(r=Object.defineProperty)}catch(a){r=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var s={},t="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,u={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:t,register:b,registerDynamic:c,get:m,set:function(a,b){u[a]=b},newModule:function(a){return a}},h=0;h<d.length;h++)(function(a,b){b&&b.__esModule?u[a]=b:u[a]=k(b)})(d[h],arguments[h]);e(g);var i=m(a[0]);if(a.length>1)for(var h=1;h<a.length;h++)m(a[h]);return i.__useDefault?i["default"]:i})}}}("undefined"!=typ
2016-01-18 18:56:48 +03:00
styles:["\n .zippy-title {\n padding: 10px;\n margin: 2px 0;\n line-height: 1.5em;\n background-color: #f2f2f2;\n cursor: pointer; }\n .zippy-success > .zippy-title {\n color: #09AC1C;\n background-color: #E1F5E3; }\n .zippy-error > .zippy-title {\n color: #E54541;\n background-color: #FBE7E7; }\n .zippy-redirect > .zippy-title {\n color: #AC7C09;\n background-color: #F5F0E1; }\n .zippy-info > .zippy-title {\n color: #096DAC;\n background-color: #E1EFF5; }\n\n span.zippy-indicator {\n font-size: 1.5em;\n line-height: 1;\n margin-right: 0.2em;\n vertical-align: text-bottom; }\n\n .zippy-content {\n padding: 15px 0; }\n\n .zippy-empty .zippy-title {\n cursor: default; }\n\n .zippy-empty .zippy-indicator {\n display: none; }\n\n .zippy-empty .zippy-content {\n display: none; }\n\n .zippy-hidden {\n visibility: hidden;\n height: 0;\n padding: 0; }\n "],directives:[g]})(a)||a,a=d({selector:"zippy",events:["open","close"],inputs:["title","visible","type","empty"]})(a)||a}(),a("default",h)}}}),a.register("d",["3","4","5","6","7","20","22","23","c","a"],function(a){function b(a){return!isNaN(parseFloat(a))&&isFinite(a)}var c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){c=a.RedocComponent,d=a.BaseComponent},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a.statusCodeType},function(a){k=a["default"]},function(a){l=a["default"]},function(a){m=a["default"]}],execute:function(){"use strict";n=function(a){function d(a){h(this,n),e(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,a)}f(d,a),g(d,[{key:"prepareModel",value:function(){var a=this;this.data={},this.data.responses=[];var c=this.componentSchema;c&&(c=k(c).filter(function(a){return b(a)||"default"===a}).map(function(b){var d=c[b];if(d.pointer=l.join(a.pointer,b),d.$ref){var e=d.$ref;d=a.schemaMgr.byPointer(d.$ref),d.pointer=e}return d.code=b,d.type=j(d.code),d.headers&&(d.headers=k(d.headers).map(function(a){var b=d.headers[a];return b.name=a,b})),d.extendable=d.headers||d.length,d}),this.data.responses=c)}}]);var n=d;return d=c({selector:"responses-list",template:'\n <h2 class="responses-list-header" *ngIf="data.responses.length"> Responses </h2>\n <zippy *ngFor="#response of data.responses" title="{{response.code}} {{response.description}}"\n [type]="response.type" [empty]="!response.schema">\n <div *ngIf="response.headers" class="response-headers">\n <header>\n Headers\n </header>\n <div class="header" *ngFor="#header of response.headers">\n <div class="header-name"> {{header.name}} </div>\n <div class="header-type"> {{header.type}} </div>\n <div class="header-description" innerHtml="{{header.description | marked}}"> </div>\n </div>\n </div>\n <header>\n Response schema\n </header>\n <json-schema *ngIf="response.schema" class="schema type" pointer="{{response.pointer}}/schema">\n </json-schema>\n </zippy>\n ',styles:["\n .responses-list-header {\n font-size: 18px;\n padding: 0.2em 0;\n margin: 0.5em 0;\n color: #253137; }\n\n .header-name {\n font-weight: bold;\n display: inline-block; }\n\n .header-type {\n display: inline-block;\n font-weight: bold;\n color: #999; }\n\n header {\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n margin-bottom: 15px; }\n\n .header {\n margin-bottom: 10px; }\n "],directives:[m,i]})(d)||d}(d),a("default",n)}}}),a.register("22",[],function(a){"use strict";function b(a){if(100>a||a>599)throw new Error("invalid HTTP code");var b="success";return a>=300&&400>a?b="redirect":a>=400?b="error":200>a&&(b="info"),b}return a("statusCodeType",b),{setters:[],execute:function(){}}}),a.register("e",["3","4","5","6","7","22","23","24","c","
c>b&&(b=c)}else if("s"==a.substring(a.length-1)){var d=1e3*f.NumberWrapper.parseFloat(this.stripLetters(a)),c=g.Math.floor(d);c>b&&(b=c)}return b},a.prototype.stripLetters=function(a){return f.StringWrapper.replaceAll(a,f.RegExpWrapper.create("[^0-9]+$",""),"")},a}();return b.Animation=k,d.define=e,c.exports}),a.registerDynamic("46",["42","43"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("42"),g=a("43"),h=function(){function a(a){this.browserDetails=a,this.data=new f.CssAnimationOptions}return a.prototype.addAnimationClass=function(a){return this.data.animationClasses.push(a),this},a.prototype.addClass=function(a){return this.data.classesToAdd.push(a),this},a.prototype.removeClass=function(a){return this.data.classesToRemove.push(a),this},a.prototype.setDuration=function(a){return this.data.duration=a,this},a.prototype.setDelay=function(a){return this.data.delay=a,this},a.prototype.setStyles=function(a,b){return this.setFromStyles(a).setToStyles(b)},a.prototype.setFromStyles=function(a){return this.data.fromStyles=a,this},a.prototype.setToStyles=function(a){return this.data.toStyles=a,this},a.prototype.start=function(a){return new g.Animation(a,this.data,this.browserDetails)},a}();return b.CssAnimationBuilder=h,d.define=e,c.exports}),a.registerDynamic("44",["1f"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("1f");return b.Math=f.global.Math,b.NaN=typeof b.NaN,d.define=e,c.exports}),a.registerDynamic("47",["38","44","35"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},g=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},h=a("38"),i=a("44"),j=a("35"),k=function(){function a(){this.elapsedTimeIncludesDelay=!1,this.doesElapsedTimeIncludesDelay()}return a.prototype.doesElapsedTimeIncludesDelay=function(){var a=this,b=j.DOM.createElement("div");j.DOM.setAttribute(b,"style","position: absolute; top: -9999px; left: -9999px; width: 1px;\n height: 1px; transition: all 1ms linear 1ms;"),this.raf(function(c){j.DOM.on(b,"transitionend",function(c){var d=i.Math.round(1e3*c.elapsedTime);a.elapsedTimeIncludesDelay=2==d,j.DOM.remove(b)}),j.DOM.setStyle(b,"width","2px")},2)},a.prototype.raf=function(a,b){void 0===b&&(b=1);var c=new l(a,b);return function(){return c.cancel()}},a=f([h.Injectable(),g("design:paramtypes",[])],a)}();b.BrowserDetails=k;var l=function(){function a(a,b){this.callback=a,this.frames=b,this._raf()}return a.prototype._raf=function(){var a=this;this.currentFrameId=j.DOM.requestAnimationFrame(function(b){return a._nextFrame(b)})},a.prototype._nextFrame=function(a){this.frames--,this.frames>0?this._raf():this.callback(a)},a.prototype.cancel=function(){j.DOM.cancelAnimationFrame(this.currentFrameId),this.currentFrameId=null},a}();return d.define=e,c.exports}),a.registerDynamic("48",["38","46","47"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},g=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},h=a("38"),i=a("46"),j=a("47"),k=function(){function a(a){this.browserDetails=a}return a.prototype.css=function(){return new i.CssAnimationBuilder(this.browserDetails)},a=f([h.Injectable(),g("design:paramtypes",[j.BrowserDetails])],a)}();return b.Animation
return c.addClassName(a)})}}return c}var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},h=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=this&&this.__param||function(a,b){return function(c,d){b(c,d,a)}},j=a("36"),k=a("1f"),l=a("14"),m=a("1f"),n=a("3b"),o=a("6d"),p=a("6e"),q=a("6f"),r=a("70"),s=a("71"),t=a("72"),u=a("73"),v=a("74"),w=a("75"),x=a("76"),y=a("6c"),z=/^(?:(?:(?:(bind-)|(var-|#)|(on-)|(bindon-))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g,A="template",B="template",C="*",D="class",E=".",F="attr",G="class",H="style",I=t.CssSelector.parse("*")[0];b.TEMPLATE_TRANSFORMS=m.CONST_EXPR(new l.OpaqueToken("TemplateTransforms"));var J=function(a){function b(b,c){a.call(this,c,b)}return f(b,a),b}(r.ParseError);b.TemplateParseError=J;var K=function(){function a(a,b,c,d){this._exprParser=a,this._schemaRegistry=b,this._htmlParser=c,this.transforms=d}return a.prototype.parse=function(a,b,c){var d=new L(b,this._exprParser,this._schemaRegistry),e=this._htmlParser.parse(a,c),f=x.htmlVisitAll(d,e.rootNodes,P),g=e.errors.concat(d.errors);if(g.length>0){var h=g.join("\n");throw new n.BaseException("Template parse errors:\n"+h)}return k.isPresent(this.transforms)&&this.transforms.forEach(function(a){f=s.templateVisitAll(a,f)}),f},a=g([l.Injectable(),i(3,l.Optional()),i(3,l.Inject(b.TEMPLATE_TRANSFORMS)),h("design:paramtypes",[o.Parser,u.ElementSchemaRegistry,p.HtmlParser,Array])],a)}();b.TemplateParser=K;var L=function(){function a(a,b,c){var d=this;this._exprParser=b,this._schemaRegistry=c,this.errors=[],this.directivesIndex=new Map,this.ngContentCount=0,this.selectorMatcher=new t.SelectorMatcher,j.ListWrapper.forEachWithIndex(a,function(a,b){var c=t.CssSelector.parse(a.selector);d.selectorMatcher.addSelectables(c,a),d.directivesIndex.set(a,b)})}return a.prototype._reportError=function(a,b){this.errors.push(new J(a,b.start))},a.prototype._parseInterpolation=function(a,b){var c=b.start.toString();try{return this._exprParser.parseInterpolation(a,c)}catch(d){return this._reportError(""+d,b),this._exprParser.wrapLiteralPrimitive("ERROR",c)}},a.prototype._parseAction=function(a,b){var c=b.start.toString();try{return this._exprParser.parseAction(a,c)}catch(d){return this._reportError(""+d,b),this._exprParser.wrapLiteralPrimitive("ERROR",c)}},a.prototype._parseBinding=function(a,b){var c=b.start.toString();try{return this._exprParser.parseBinding(a,c)}catch(d){return this._reportError(""+d,b),this._exprParser.wrapLiteralPrimitive("ERROR",c)}},a.prototype._parseTemplateBindings=function(a,b){var c=b.start.toString();try{return this._exprParser.parseTemplateBindings(a,c)}catch(d){return this._reportError(""+d,b),[]}},a.prototype.visitText=function(a,b){var c=b.findNgContentIndex(I),d=this._parseInterpolation(a.value,a.sourceSpan);return k.isPresent(d)?new s.BoundTextAst(d,c,a.sourceSpan):new s.TextAst(a.value,c,a.sourceSpan)},a.prototype.visitAttr=function(a,b){return new s.AttrAst(a.name,a.value,a.sourceSpan)},a.prototype.visitElement=function(a,b){var c=this,d=a.name,f=v.preparseElement(a);if(f.type===v.PreparsedElementType.SCRIPT||f.type===v.PreparsedElementType.STYLE)return null;if(f.type===v.PreparsedElementType.STYLESHEET&&w.isStyleUrlResolvable(f.hrefAttr))return null;var g=[],h=[],i=[],j=[],l=[],m=[],n=[],o=!1,p=[];a.attrs.forEach(function(a){g.push([a.name,a.value]);var b=c._parseAttr(a,g,h,j,i),d=c._parseInlineTemplateBinding(a,n,l,m);b||d||p.push(c.visitAttr(a,null)),d&&(o=!0)});var r,t=q.splitNsName(d.toLowerCase())[1],u=t==A,y=e(d,g),z=this._createD
if(i.isPresent(b.templateUrl)){var d=this._urlResolver.resolve(a.moduleUrl,b.templateUrl);return this._xhr.get(d).then(function(e){return c.normalizeLoadedTemplate(a,b,e,d)})}throw new j.BaseException("No template specified for component "+a.name)},a.prototype.normalizeLoadedTemplate=function(a,b,c,d){var e=this,f=this._htmlParser.parse(c,a.name);if(f.errors.length>0){var g=f.errors.join("\n");throw new j.BaseException("Template parse errors:\n"+g)}var i=new u;q.htmlVisitAll(i,f.rootNodes);var k=b.styles.concat(i.styles),l=i.styleUrls.filter(n.isStyleUrlResolvable).map(function(a){return e._urlResolver.resolve(d,a)}).concat(b.styleUrls.filter(n.isStyleUrlResolvable).map(function(b){return e._urlResolver.resolve(a.moduleUrl,b)})),m=k.map(function(a){var b=n.extractStyleUrls(e._urlResolver,d,a);return b.styleUrls.forEach(function(a){return l.push(a)}),b.style}),o=b.encapsulation;return o===p.ViewEncapsulation.Emulated&&0===m.length&&0===l.length&&(o=p.ViewEncapsulation.None),new h.CompileTemplateMetadata({encapsulation:o,template:c,templateUrl:d,styles:m,styleUrls:l,ngContentSelectors:i.ngContentSelectors})},a=f([o.Injectable(),g("design:paramtypes",[l.XHR,m.UrlResolver,r.HtmlParser])],a)}();b.TemplateNormalizer=t;var u=function(){function a(){this.ngContentSelectors=[],this.styles=[],this.styleUrls=[],this.ngNonBindableStackCount=0}return a.prototype.visitElement=function(a,b){var c=s.preparseElement(a);switch(c.type){case s.PreparsedElementType.NG_CONTENT:0===this.ngNonBindableStackCount&&this.ngContentSelectors.push(c.selectAttr);break;case s.PreparsedElementType.STYLE:var d="";a.children.forEach(function(a){a instanceof q.HtmlTextAst&&(d+=a.value)}),this.styles.push(d);break;case s.PreparsedElementType.STYLESHEET:this.styleUrls.push(c.hrefAttr)}return c.nonBindable&&this.ngNonBindableStackCount++,q.htmlVisitAll(this,a.children),c.nonBindable&&this.ngNonBindableStackCount--,null},a.prototype.visitAttr=function(a,b){return null},a.prototype.visitText=function(a,b){return null},a}();return d.define=e,c.exports}),a.registerDynamic("72",["36","1f","3b","33"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(c){"use strict";var d=a("36"),e=a("1f"),f=a("3b"),g="",h=e.RegExpWrapper.create("(\\:not\\()|([-\\w]+)|(?:\\.([-\\w]+))|(?:\\[([-\\w*]+)(?:=([^\\]]*))?\\])|(\\))|(\\s*,\\s*)"),i=function(){function a(){this.element=null,this.classNames=[],this.attrs=[],this.notSelectors=[]}return a.parse=function(b){for(var c,g=[],i=function(a,b){b.notSelectors.length>0&&e.isBlank(b.element)&&d.ListWrapper.isEmpty(b.classNames)&&d.ListWrapper.isEmpty(b.attrs)&&(b.element="*"),a.push(b)},j=new a,k=e.RegExpWrapper.matcher(h,b),l=j,m=!1;e.isPresent(c=e.RegExpMatcherWrapper.next(k));){if(e.isPresent(c[1])){if(m)throw new f.BaseException("Nesting :not is not allowed in a selector");m=!0,l=new a,j.notSelectors.push(l)}if(e.isPresent(c[2])&&l.setElement(c[2]),e.isPresent(c[3])&&l.addClassName(c[3]),e.isPresent(c[4])&&l.addAttribute(c[4],c[5]),e.isPresent(c[6])&&(m=!1,l=j),e.isPresent(c[7])){if(m)throw new f.BaseException("Multiple selectors in :not are not supported");i(g,j),j=l=new a}}return i(g,j),g},a.prototype.isElementSelector=function(){return e.isPresent(this.element)&&d.ListWrapper.isEmpty(this.classNames)&&d.ListWrapper.isEmpty(this.attrs)&&0===this.notSelectors.length},a.prototype.setElement=function(a){void 0===a&&(a=null),this.element=a},a.prototype.getMatchingElementTemplate=function(){for(var a=e.isPresent(this.element)?this.element:"div",b=this.classNames.length>0?' class="'+this.classNames.join(" ")+'"':"",c="",d=0;d<this.attrs.length;d+=2){var f=this.attrs[d],g=""!==this.attrs[d+1]?'="'+this.attrs[d+1]+'"':"";c+=" "+f+g}return"<"+a+b+c+"></"+a+">"},a.prototype.addAttribute=function(a,b){void 0===b&&(b=g),this.attrs.push(a),b=e.isPresent(b)?b.toLowerCase():g,this.attrs.push(b)},a.prototype.addClassName=function(a){this.classNames.push(a.toLowerCase())},a.prototype.toString=function(){var a="";if(e.isPresent(this.element)&&(a+=this.element),e.isPresent(this.classNames))for(var b=0;b<this.classNames.length;
var d=[];this.fragments.push(d),this._builders.push(new o(a,d,b,c))},a.prototype.enqueueRootBuilder=function(a,b){var c=[];this.fragments.push(c),this._builders.push(new o(null,c,a,b))},a.prototype.consumeInplaceElement=function(){var a=this._inplaceElement;return this._inplaceElement=null,a},a.prototype.addEventListener=function(a,b,c){if(j.isPresent(b)){var d=f(a,b+":"+c,this._eventDispatcher);this.globalEventAdders.push(g(b,c,d,this.factory))}else{var d=f(a,c,this._eventDispatcher);this.factory.on(this.boundElements[a],c,d)}},a}(),o=function(){function a(a,b,c,d){this.parentComponent=a,this.fragmentRootNodes=b,this.template=c,this.cmds=d;var e=j.isPresent(b)?null:a.shadowRoot;this.parentStack=[e]}return a.prototype.build=function(a){for(var b=this.cmds,c=0;c<b.length;c++)b[c].visit(this,a)},Object.defineProperty(a.prototype,"parent",{get:function(){return this.parentStack[this.parentStack.length-1]},enumerable:!0,configurable:!0}),a.prototype.visitText=function(a,b){var c=b.factory.createText(a.value);return this._addChild(c,a.ngContentIndex,b),a.isBound&&b.boundTextNodes.push(c),null},a.prototype.visitNgContent=function(a,b){if(j.isPresent(this.parentComponent))if(this.parentComponent.isRoot){var c=b.factory.createRootContentInsertionPoint();this.parent instanceof p?b.factory.appendChild(this.parent.shadowRoot,c):b.factory.appendChild(this.parent,c),b.rootContentInsertionPoints.push(c)}else for(var d=this.parentComponent.project(a.index),e=0;e<d.length;e++){var f=d[e];this._addChild(f,a.ngContentIndex,b)}return null},a.prototype.visitBeginElement=function(a,b){return this.parentStack.push(this._beginElement(a,b,null)),null},a.prototype.visitEndElement=function(a){return this._endElement(),null},a.prototype.visitBeginComponent=function(a,b){var c=a.templateId,d=b.factory.resolveComponentTemplate(c),e=this._beginElement(a,b,d),f=e;d.encapsulation===l.ViewEncapsulation.Native&&(f=b.factory.createShadowRoot(e,c),b.nativeShadowRoots.push(f));var g=0===b.componentCount&&b.isHost,h=new p(e,f,g,d);return b.enqueueComponentBuilder(h),this.parentStack.push(h),null},a.prototype.visitEndComponent=function(a){return this._endElement(),null},a.prototype.visitEmbeddedTemplate=function(a,b){var c=b.factory.createTemplateAnchor(a.attrNameAndValues);return this._addChild(c,a.ngContentIndex,b),b.boundElements.push(c),a.isMerged&&b.enqueueFragmentBuilder(this.parentComponent,this.template,a.children),null},a.prototype._beginElement=function(a,b,c){var d=b.consumeInplaceElement(),e=a.attrNameAndValues,f=this.template.encapsulation===l.ViewEncapsulation.Emulated,g=j.isPresent(c)&&c.encapsulation===l.ViewEncapsulation.Emulated,k=e.length+(f?2:0)+(g?2:0);if(k>e.length){var n,o=m.ListWrapper.createFixedSize(k);for(n=0;n<e.length;n++)o[n]=e[n];f&&(o[n++]=h(this.template.shortId),o[n++]=""),g&&(o[n++]=i(c.shortId),o[n++]=""),e=o}if(j.isPresent(d)?(b.factory.mergeElement(d,e),this.fragmentRootNodes.push(d)):(d=b.factory.createElement(a.name,e),this._addChild(d,a.ngContentIndex,b)),a.isBound){var p=b.boundElements.length;b.boundElements.push(d);for(var q=0;q<a.eventTargetAndNames.length;q+=2){var r=a.eventTargetAndNames[q],s=a.eventTargetAndNames[q+1];b.addEventListener(p,r,s)}}return d},a.prototype._endElement=function(){this.parentStack.pop()},a.prototype._addChild=function(a,b,c){var d=this.parent;j.isPresent(d)?d instanceof p?d.addContentNode(b,a,c):c.factory.appendChild(d,a):this.fragmentRootNodes.push(a)},a}(),p=function(){function a(a,b,c,d){this.hostElement=a,this.shadowRoot=b,this.isRoot=c,this.template=d,this.contentNodesByNgContentIndex=[]}return a.prototype.addContentNode=function(a,b,c){if(j.isBlank(a))this.template.encapsulation===l.ViewEncapsulation.Native&&c.factory.appendChild(this.hostElement,b);else{for(;this.contentNodesByNgContentIndex.length<=a;)this.contentNodesByNgContentIndex.push([]);this.contentNodesByNgContentIndex[a].push(b)}},a.prototype.project=function(a){return a<this.contentNodesByNgContentIndex.length?this.contentNodesByNgContentIndex[a]:[]},a}(),q=/%COMP%/g;b.COMPONENT_VARIABLE="%COMP%",b.HOST_ATTR="_nghost-"
return b.COMPILER_PROVIDERS=n.CONST_EXPR([D.Lexer,D.Parser,q.HtmlParser,p.TemplateParser,r.TemplateNormalizer,s.RuntimeMetadataResolver,C.DEFAULT_PACKAGE_URL_PROVIDER,u.StyleCompiler,v.CommandCompiler,t.ChangeDetectionCompiler,new o.Provider(x.ChangeDetectorGenConfig,{useFactory:e,deps:[]}),w.TemplateCompiler,new o.Provider(z.RuntimeCompiler,{useClass:h.RuntimeCompiler_}),new o.Provider(y.Compiler,{useExisting:z.RuntimeCompiler}),B.DomElementSchemaRegistry,new o.Provider(A.ElementSchemaRegistry,{useExisting:B.DomElementSchemaRegistry}),C.UrlResolver]),f.define=g,c.exports}),a.registerDynamic("89",["79","78","88"],!0,function(a,b,c){"use strict";function d(a){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}var e=this,f=e.define;return e.define=void 0,d(a("79")),d(a("78")),d(a("88")),e.define=f,c.exports}),a.registerDynamic("78",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=function(){function a(){}return a.prototype.get=function(a){return null},a}();return b.XHR=f,d.define=e,c.exports}),a.registerDynamic("3d",["8a","1f","78"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("8a"),h=a("1f"),i=a("78"),j=function(a){function b(){a.apply(this,arguments)}return f(b,a),b.prototype.get=function(a){var b=g.PromiseWrapper.completer(),c=new XMLHttpRequest;return c.open("GET",a,!0),c.responseType="text",c.onload=function(){var d=h.isPresent(c.response)?c.response:c.responseText,e=1223===c.status?204:c.status;0===e&&(e=d?200:0),e>=200&&300>=e?b.resolve(d):b.reject("Failed to load "+a,null)},c.onerror=function(){b.reject("Failed to load "+a,null)},c.send(),b.promise},b}(i.XHR);return b.XHRImpl=j,d.define=e,c.exports}),a.registerDynamic("15",["32","5c","1f","89","14","8b","3d","38","33"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(c){"use strict";function d(a,c){j.reflector.reflectionCapabilities=new k.ReflectionCapabilities;var d=g.isPresent(c)?[b.BROWSER_APP_PROVIDERS,c]:b.BROWSER_APP_PROVIDERS;return j.platform(h.BROWSER_PROVIDERS).application(d).bootstrap(a)}var e=a("32");b.AngularEntrypoint=e.AngularEntrypoint;var f=a("5c");b.BROWSER_PROVIDERS=f.BROWSER_PROVIDERS,b.ELEMENT_PROBE_BINDINGS=f.ELEMENT_PROBE_BINDINGS,b.ELEMENT_PROBE_PROVIDERS=f.ELEMENT_PROBE_PROVIDERS,b.inspectNativeElement=f.inspectNativeElement,b.BrowserDomAdapter=f.BrowserDomAdapter,b.By=f.By,b.Title=f.Title,b.DOCUMENT=f.DOCUMENT,b.enableDebugTools=f.enableDebugTools,b.disableDebugTools=f.disableDebugTools;var g=a("1f"),h=a("5c"),i=a("89"),j=a("14"),k=a("8b"),l=a("3d"),m=a("89"),n=a("38");b.BROWSER_APP_PROVIDERS=g.CONST_EXPR([h.BROWSER_APP_COMMON_PROVIDERS,i.COMPILER_PROVIDERS,new n.Provider(m.XHR,{useClass:l.XHRImpl})]),b.bootstrap=d}(a("33")),d.define=e,c.exports}),a.register("1c",["3","4","5","6","7","11","12","14","15","58","1d","1f"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;return{setters:[function(a){b=a.RedocComponent,c=a.BaseComponent},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a["default"]},function(a){i=a["default"]},function(a){j=a.NgZone,k=a.ChangeDetectionStrategy},function(a){l=a.BrowserDomAdapter},function(a){m=a.document},function(a){n=a.redocEvents},function(a){o=a.global}],execute:function(){"use strict";p={NEXT:1,BACK:-1,INITIAL:0},q={ABOVE:1,BELLOW:-1,INVIEW:0},r=function(a){function c(a,b,c,e){var f=this;g(this,j),d(Object.getPrototypeOf(j.prototype),"constructor",this).call(this,a),this.zone=c,this.adapter=b,this.redoc=e,this.scrollParent=this.redoc.scrollParent,this.zone.run(function(){f.bindEvents()}),this.activeCatIdx=0,this.activeMethodIdx=-1,this.prevOffsetY=null,n.bootstrapped.subscribe(function(){return f.hashScroll()})}e(c,a),f(c,[{key:"scrollY",value:function(){return null!=this.scrollParent.pageYOffset?this.scrollParent.pageYOffset:this.scrollParent.scrollTop}},{key:"h
i=parseInt(j,10),!/^[0-9]+$/.test(j)||0>=i||i>65535)?!1:a.isIP(g)||a.isFQDN(g,d)||"localhost"===g?d.host_whitelist&&-1===d.host_whitelist.indexOf(g)?!1:d.host_blacklist&&-1!==d.host_blacklist.indexOf(g)?!1:!0:!1)},a.isMACAddress=function(a){return n.test(a)},a.isIP=function(b,c){if(c=a.toString(c),!c)return a.isIP(b,4)||a.isIP(b,6);if("4"===c){if(!o.test(b))return!1;var d=b.split(".").sort(function(a,b){return a-b});return d[3]<=255}if("6"===c){var e=b.split(":"),f=!1,g=a.isIP(e[e.length-1],4),h=g?7:8;if(e.length>h)return!1;if("::"===b)return!0;"::"===b.substr(0,2)?(e.shift(),e.shift(),f=!0):"::"===b.substr(b.length-2)&&(e.pop(),e.pop(),f=!0);for(var i=0;i<e.length;++i)if(""===e[i]&&i>0&&i<e.length-1){if(f)return!1;f=!0}else if(g&&i==e.length-1);else if(!p.test(e[i]))return!1;return f?e.length>=1:e.length===h}return!1};var J={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1};a.isFQDN=function(a,b){b=c(b,J),b.allow_trailing_dot&&"."===a[a.length-1]&&(a=a.substring(0,a.length-1));var d=a.split(".");if(b.require_tld){var e=d.pop();if(!d.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(e))return!1}for(var f,g=0;g<d.length;g++){if(f=d[g],b.allow_underscores){if(f.indexOf("__")>=0)return!1;f=f.replace(/_/g,"")}if(!/^[a-z\u00a1-\uffff0-9-]+$/i.test(f))return!1;if(/[\uff01-\uff5e]/.test(f))return!1;if("-"===f[0]||"-"===f[f.length-1])return!1;if(f.indexOf("---")>=0&&"xn--"!==f.slice(0,4))return!1}return!0},a.isBoolean=function(a){return["true","false","1","0"].indexOf(a)>=0},a.isAlpha=function(a){return r.test(a)},a.isAlphanumeric=function(a){return s.test(a)},a.isNumeric=function(a){return t.test(a)},a.isDecimal=function(a){return""!==a&&x.test(a)},a.isHexadecimal=function(a){return w.test(a)},a.isHexColor=function(a){return y.test(a)},a.isLowercase=function(a){return a===a.toLowerCase()},a.isUppercase=function(a){return a===a.toUpperCase()},a.isInt=function(a,b){return b=b||{},u.test(a)&&(!b.hasOwnProperty("min")||a>=b.min)&&(!b.hasOwnProperty("max")||a<=b.max)},a.isFloat=function(a,b){return b=b||{},""===a||"."===a?!1:v.test(a)&&(!b.hasOwnProperty("min")||a>=b.min)&&(!b.hasOwnProperty("max")||a<=b.max)},a.isDivisibleBy=function(b,c){return a.toFloat(b)%a.toInt(c)===0},a.isNull=function(a){return 0===a.length},a.isLength=function(a,b,c){var d=a.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],e=a.length-d.length;return e>=b&&("undefined"==typeof c||c>=e)},a.isByteLength=function(a,b,c){var d=encodeURI(a).split(/%..|./).length-1;return d>=b&&("undefined"==typeof c||c>=d)},a.isUUID=function(a,b){var c=q[b?b:"all"];return c&&c.test(a)},a.isDate=function(a){var c=new Date(Date.parse(a));if(isNaN(c))return!1;var d=b(a);if(null!==d){var e=c.getTimezoneOffset()-d;c=new Date(c.getTime()+6e4*e)}var f,g,h,i=String(c.getDate());return(g=a.match(/(^|[^:\d])[23]\d([^:\d]|$)/g))?(f=g.map(function(a){return a.match(/\d+/g)[0]}).join("/"),h=String(c.getFullYear()).slice(-2),f===i||f===h?!0:f===i+"/"+h||f===h+"/"+i?!0:!1):!0},a.isAfter=function(b,c){var d=a.toDate(c||new Date),e=a.toDate(b);return!!(e&&d&&e>d)},a.isBefore=function(b,c){var d=a.toDate(c||new Date),e=a.toDate(b);return!!(e&&d&&d>e)},a.isIn=function(b,c){var d;if("[object Array]"===Object.prototype.toString.call(c)){var e=[];for(d in c)e[d]=a.toString(c[d]);return e.indexOf(b)>=0}return"object"==typeof c?c.hasOwnProperty(b):c&&"function"==typeof c.indexOf?c.indexOf(b)>=0:!1},a.isWhitelisted=function(a,b){for(var c=a.length-1;c>=0;c--)if(-1===b.indexOf(a[c]))return!1;return!0},a.isCreditCard=function(a){var b=a.replace(/[^0-9]+/g,"");if(!j.test(b))return!1;for(var c,d,e,f=0,g=b.length-1;g>=0;g--)c=b.substring(g,g+1),d=parseInt(c,10),e?(d*=2,f+=d>=10?d%10+1:d):f+=d,e=!e;return!!(f%10===0?b:!1)},a.isISIN=function(a){if(!k.test(a))return!1;for(var b,c,d=a.replace(/[A-Z]/g,function(a){return parseInt(a,36)}),e=0,f=!0,g=d.length-2;g>=0;g--)b=d.substring(g,g+1),c=parseInt(b,10),f?(c*=2,e+=c>=10?c+1:c):e+=c,f=!f;return parseInt(a.substr(a.length-1),10)===(1e4-e)%10},a.isISBN=function(b,c){if(c=a.toString(c),!c)return a.isISBN(b,10)||a.isISBN(b,13);var d,e=b.replace(/[\s-]
a.path.push(d.toString()),b.validateSchema.call(this,a,c.anyOf[d]),a.path.pop(),a.path.pop()},oneOf:function(a,c){if(Array.isArray(c.oneOf)===!1)a.addError("KEYWORD_TYPE_EXPECTED",["oneOf","array"]);else if(0===c.oneOf.length)a.addError("KEYWORD_MUST_BE",["oneOf","an array with at least one element"]);else for(var d=c.oneOf.length;d--;)a.path.push("oneOf"),a.path.push(d.toString()),b.validateSchema.call(this,a,c.oneOf[d]),a.path.pop(),a.path.pop()},not:function(a,c){"object"!==i.whatIs(c.not)?a.addError("KEYWORD_TYPE_EXPECTED",["not","object"]):(a.path.push("not"),b.validateSchema.call(this,a,c.not),a.path.pop())},definitions:function(a,c){if("object"!==i.whatIs(c.definitions))a.addError("KEYWORD_TYPE_EXPECTED",["definitions","object"]);else for(var d=Object.keys(c.definitions),e=d.length;e--;){var f=d[e],g=c.definitions[f];a.path.push("definitions"),a.path.push(f),b.validateSchema.call(this,a,g),a.path.pop(),a.path.pop()}},format:function(a,b){"string"!=typeof b.format?a.addError("KEYWORD_TYPE_EXPECTED",["format","string"]):void 0===f[b.format]&&this.options.ignoreUnknownFormats!==!0&&a.addError("UNKNOWN_FORMAT",[b.format])},id:function(a,b){"string"!=typeof b.id&&a.addError("KEYWORD_TYPE_EXPECTED",["id","string"])},title:function(a,b){"string"!=typeof b.title&&a.addError("KEYWORD_TYPE_EXPECTED",["title","string"])},description:function(a,b){"string"!=typeof b.description&&a.addError("KEYWORD_TYPE_EXPECTED",["description","string"])},"default":function(){}},k=function(a,c){for(var d=c.length;d--;)b.validateSchema.call(this,a,c[d]);return a.isValid()};return b.validateSchema=function(a,b){if(a.commonErrorMessage="SCHEMA_VALIDATION_FAILED",Array.isArray(b))return k.call(this,a,b);if(b.__$validated)return!0;var c=b.$schema&&b.id!==b.$schema;if(c)if(b.__$schemaResolved&&b.__$schemaResolved!==b){var d=new h(a),e=g.validate.call(this,d,b.__$schemaResolved,b);e===!1&&a.addError("PARENT_SCHEMA_VALIDATION_FAILED",null,d)}else this.options.ignoreUnresolvableReferences!==!0&&a.addError("REF_UNRESOLVED",[b.$schema]);if(this.options.noTypeless===!0){if(void 0!==b.type){var f=[];Array.isArray(b.anyOf)&&(f=f.concat(b.anyOf)),Array.isArray(b.oneOf)&&(f=f.concat(b.oneOf)),Array.isArray(b.allOf)&&(f=f.concat(b.allOf)),f.forEach(function(a){a.type||(a.type=b.type)})}void 0===b["enum"]&&void 0===b.type&&void 0===b.anyOf&&void 0===b.oneOf&&void 0===b.not&&void 0===b.$ref&&a.addError("KEYWORD_UNDEFINED_STRICT",["type"])}for(var l=Object.keys(b),m=l.length;m--;){var n=l[m];0!==n.indexOf("__")&&(void 0!==j[n]?j[n].call(this,a,b):c||this.options.noExtraKeywords===!0&&a.addError("KEYWORD_UNEXPECTED",[n]))}if(this.options.pedanticCheck===!0){if(b["enum"]){var o=i.clone(b);for(delete o["enum"],delete o["default"],a.path.push("enum"),m=b["enum"].length;m--;)a.path.push(m.toString()),g.validate.call(this,a,o,b["enum"][m]),a.path.pop();a.path.pop()}b["default"]&&(a.path.push("default"),g.validate.call(this,a,b,b["default"]),a.path.pop())}var p=a.isValid();return p&&(b.__$validated=!0),p},d.define=e,c.exports}),a.registerDynamic("c3",[],!0,function(a,b,c){"use strict";var d=this,e=d.define;return d.define=void 0,b.isAbsoluteUri=function(a){return/^https?:\/\//.test(a)},b.isRelativeUri=function(a){return/.+#/.test(a)},b.whatIs=function(a){var b=typeof a;return"object"===b?null===a?"null":Array.isArray(a)?"array":"object":"number"===b?Number.isFinite(a)?a%1===0?"integer":"number":Number.isNaN(a)?"not-a-number":"unknown-number":b},b.areEqual=function f(a,c){if(a===c)return!0;var d,e;if(Array.isArray(a)&&Array.isArray(c)){if(a.length!==c.length)return!1;for(e=a.length,d=0;e>d;d++)if(!f(a[d],c[d]))return!1;return!0}if("object"===b.whatIs(a)&&"object"===b.whatIs(c)){var g=Object.keys(a),h=Object.keys(c);if(!f(g,h))return!1;for(e=g.length,d=0;e>d;d++)if(!f(a[g[d]],c[g[d]]))return!1;return!0}return!1},b.isUniqueArray=function(a,c){var d,e,f=a.length;for(d=0;f>d;d++)for(e=d+1;f>e;e++)if(b.areEqual(a[d],a[e]))return c&&c.push(d,e),!1;return!0},b.difference=function(a,b){for(var c=[],d=a.length;d--;)-1===b.indexOf(a[d])&&c.push(a[d]);return c},b.clone=function(
},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"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},security:{type:"array",items:{$ref:"#/definitions/securityRequirement"},uniqueItems:!0},securityRequirement:{type:"object",additionalProperties:{type:"array",items:{type:"string"},uniqueItems:!0}},xml:{type:"object",additionalProperties:!1,properties:{name:{type:"string"},namespace:{type:"string"},prefix:{type:"string"},attribute:{type:"boolean","default":!1},wrapped:{type:"boolean","default":!1}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},tag:{type:"object",additionalProperties:!1,required:["name"],properties:{name:{type:"string"},description:{type:"string"},externalDocs:{$ref:"#/definitions/externalDocs"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},securityDefinitions:{type:"object",additionalProperties:{oneOf:[{$ref:"#/definitions/basicAuthenticationSecurity"},{$ref:"#/definitions/apiKeySecurity"},{$ref:"#/definitions/oauth2ImplicitSecurity"},{$ref:"#/definitions/oauth2PasswordSecurity"},{$ref:"#/definitions/oauth2ApplicationSecurity"},{$ref:"#/definitions/oauth2AccessCodeSecurity"}]}},basicAuthenticationSecurity:{type:"object",additionalProperties:!1,required:["type"],properties:{type:{type:"string","enum":["basic"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},apiKeySecurity:{type:"object",additionalProperties:!1,required:["type","name","in"],properties:{type:{type:"string","enum":["apiKey"]},name:{type:"string"},"in":{type:"string","enum":["header","query"]},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ImplicitSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["implicit"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2PasswordSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["password"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2ApplicationSecurity:{type:"object",additionalProperties:!1,required:["type","flow","tokenUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["application"]},scopes:{$ref:"#/definitions/oauth2Scopes"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2AccessCodeSecurity:{type:"object",additionalProperties:!1,required:["type","flow","authorizationUrl","tokenUrl"],properties:{type:{type:"string","enum":["oauth2"]},flow:{type:"string","enum":["accessCode"]},scopes:{$ref:"#/definitions/oauth2Scopes"},authorizationUrl:{type:"string",format:"uri"},tokenUrl:{type:"string",format:"uri"},description:{type:"string"}},patternProperties:{"^x-":{$ref:"#/definitions/vendorExtension"}}},oauth2Scopes:{type:"object",additionalProperties:{type:"string"}},mediaTypeList:{type:"array",items:{$ref:"#/definitions/mimeType"},uniqueItems:!0},parametersList:{type:"array",description:"The parameters needed to send a valid API call.",additionalItems:!1,items:{oneOf:[{$ref:"#/definitions/parameter"},{$ref:"#/definitions/jsonReference"}]},uniqueItems:!0},schemesList:{type:"array",description:"The transfer protocol of the API.",items:{type:"string","enum":["http","https","ws","wss"]},uniqueItems:!0},collectionFormat:{type:"string","enum":["csv","ssv",
b.length+=g;var h=b.length<b.highWaterMark;return h||(b.needDrain=!0),b.writing||b.corked?b.buffer.push(new e(c,d,f)):l(a,b,!1,g,c,d,f),h}function l(a,b,c,d,e,f,g){b.writelen=d,b.writecb=g,b.writing=!0,b.sync=!0,c?a._writev(e,b.onwrite):a._write(e,f,b.onwrite),b.sync=!1}function m(a,b,c,e,f){c?d.nextTick(function(){b.pendingcb--,f(e)}):(b.pendingcb--,f(e)),a._writableState.errorEmitted=!0,a.emit("error",e)}function n(a){a.writing=!1,a.writecb=null,a.length-=a.writelen,a.writelen=0}function o(a,b){var c=a._writableState,e=c.sync,f=c.writecb;if(n(c),b)m(a,c,e,b,f);else{var g=s(a,c);g||c.corked||c.bufferProcessing||!c.buffer.length||r(a,c),e?d.nextTick(function(){p(a,c,g,f)}):p(a,c,g,f)}}function p(a,b,c,d){c||q(a,b),b.pendingcb--,d(),u(a,b)}function q(a,b){0===b.length&&b.needDrain&&(b.needDrain=!1,a.emit("drain"))}function r(a,b){if(b.bufferProcessing=!0,a._writev&&b.buffer.length>1){for(var c=[],d=0;d<b.buffer.length;d++)c.push(b.buffer[d].callback);b.pendingcb++,l(a,b,!0,b.length,b.buffer,"",function(a){for(var d=0;d<c.length;d++)b.pendingcb--,c[d](a)}),b.buffer=[]}else{for(var d=0;d<b.buffer.length;d++){var e=b.buffer[d],f=e.chunk,g=e.encoding,h=e.callback,i=b.objectMode?1:f.length;if(l(a,b,!1,i,f,g,h),b.writing){d++;break}}d<b.buffer.length?b.buffer=b.buffer.slice(d):b.buffer.length=0}b.bufferProcessing=!1}function s(a,b){return b.ending&&0===b.length&&!b.finished&&!b.writing}function t(a,b){b.prefinished||(b.prefinished=!0,a.emit("prefinish"))}function u(a,b){var c=s(a,b);return c&&(0===b.pendingcb?(t(a,b),b.finished=!0,a.emit("finish")):t(a,b)),c}function v(a,b,c){b.ending=!0,u(a,b),c&&(b.finished?d.nextTick(c):a.once("finish",c)),b.ended=!0}c.exports=g;var b=a("e2").Buffer;g.WritableState=f;var w=a("fa");w.inherits=a("fb");var x=a("ee");w.inherits(g,x),g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},g.prototype.write=function(a,b,c){var d=this._writableState,e=!1;return w.isFunction(b)&&(c=b,b=null),w.isBuffer(a)?b="buffer":b||(b=d.defaultEncoding),w.isFunction(c)||(c=function(){}),d.ended?h(this,d,c):i(this,d,a,c)&&(d.pendingcb++,e=k(this,d,a,b,c)),e},g.prototype.cork=function(){var a=this._writableState;a.corked++},g.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.buffer.length||r(this,a))},g.prototype._write=function(a,b,c){c(new Error("not implemented"))},g.prototype._writev=null,g.prototype.end=function(a,b,c){var d=this._writableState;w.isFunction(a)?(c=a,a=null,b=null):w.isFunction(b)&&(c=b,b=null),w.isNullOrUndefined(a)||this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||v(this,d,c)}}(a("e2").Buffer,a("33")),d.define=e,c.exports}),a.registerDynamic("eb",["fa","fb","e9","ea","33"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(b){function d(a){return this instanceof d?(i.call(this,a),j.call(this,a),a&&a.readable===!1&&(this.readable=!1),a&&a.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,a&&a.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",e)):new d(a)}function e(){this.allowHalfOpen||this._writableState.ended||b.nextTick(this.end.bind(this))}function f(a,b){for(var c=0,d=a.length;d>c;c++)b(a[c],c)}c.exports=d;var g=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b},h=a("fa");h.inherits=a("fb");var i=a("e9"),j=a("ea");h.inherits(d,i),f(g(j.prototype),function(a){d.prototype[a]||(d.prototype[a]=j.prototype[a])})}(a("33")),d.define=e,c.exports}),a.registerDynamic("ec",["eb","fa","fb","33"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(b){function d(a,b){this.afterTransform=function(a,c){return e(b,a,c)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function e(a,b,c){var d=a._transformState;d.transforming=!1;var e=d.writecb;if(!e)return a.emit("error",new Error("no writecb in Transform class"));d.writechunk=null,d.writecb=null,i.isNullOrUndefined(c)||a.push(c),e&&e(b);var f=a._readableState;f.reading=!1,(f.needReadable||f.length<f.hig
f-this.position>b/2-1){e=" ... ",f-=5;break}return h=this.buffer.slice(d,f),g.repeat(" ",a)+c+h+e+"\n"+g.repeat(" ",a+this.position-d+c.length)+"^"},d.prototype.toString=function(a){var b,c="";return this.name&&(c+='in "'+this.name+'" '),c+="at line "+(this.line+1)+", column "+(this.column+1),a||(b=this.getSnippet(),b&&(c+=":\n"+b)),c},c.exports=d,e.define=f,c.exports}),a.registerDynamic("119",["118","11a","117","11b","11c"],!0,function(a,b,c){"use strict";function d(a){return 10===a||13===a}function e(a){return 9===a||32===a}function f(a){return 9===a||32===a||10===a||13===a}function g(a){return 44===a||91===a||93===a||123===a||125===a}function h(a){var b;return a>=48&&57>=a?a-48:(b=32|a,b>=97&&102>=b?b-97+10:-1)}function i(a){return 120===a?2:117===a?4:85===a?8:0}function j(a){return a>=48&&57>=a?a-48:-1}function k(a){return 48===a?"\x00":97===a?"":98===a?"\b":116===a?" ":9===a?" ":110===a?"\n":118===a?"\x0B":102===a?"\f":114===a?"\r":101===a?"":32===a?" ":34===a?'"':47===a?"/":92===a?"\\":78===a?"…":95===a?" ":76===a?"\u2028":80===a?"\u2029":""}function l(a){return 65535>=a?String.fromCharCode(a):String.fromCharCode((a-65536>>10)+55296,(a-65536&1023)+56320)}function m(a,b){this.input=a,this.filename=b.filename||null,this.schema=b.schema||U,this.onWarning=b.onWarning||null,this.legacy=b.legacy||!1,this.json=b.json||!1,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=a.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.documents=[]}function n(a,b){return new R(b,new S(a.filename,a.input,a.position,a.line,a.position-a.lineStart))}function o(a,b){throw n(a,b)}function p(a,b){a.onWarning&&a.onWarning.call(null,n(a,b))}function q(a,b,c,d){var e,f,g,h;if(c>b){if(h=a.input.slice(b,c),d)for(e=0,f=h.length;f>e;e+=1)g=h.charCodeAt(e),9===g||g>=32&&1114111>=g||o(a,"expected valid JSON character");else ba.test(h)&&o(a,"the stream contains non-printable characters");a.result+=h}}function r(a,b,c,d){var e,f,g,h;for(Q.isObject(c)||o(a,"cannot merge mappings; the provided source object is unacceptable"),e=Object.keys(c),g=0,h=e.length;h>g;g+=1)f=e[g],V.call(b,f)||(b[f]=c[f],d[f]=!0)}function s(a,b,c,d,e,f){var g,h;if(e=String(e),null===b&&(b={}),"tag:yaml.org,2002:merge"===d)if(Array.isArray(f))for(g=0,h=f.length;h>g;g+=1)r(a,b,f[g],c);else r(a,b,f,c);else a.json||V.call(c,e)||!V.call(b,e)||o(a,"duplicated mapping key"),b[e]=f,delete c[e];return b}function t(a){var b;b=a.input.charCodeAt(a.position),10===b?a.position++:13===b?(a.position++,10===a.input.charCodeAt(a.position)&&a.position++):o(a,"a line break is expected"),a.line+=1,a.lineStart=a.position}function u(a,b,c){for(var f=0,g=a.input.charCodeAt(a.position);0!==g;){for(;e(g);)g=a.input.charCodeAt(++a.position);if(b&&35===g)do g=a.input.charCodeAt(++a.position);while(10!==g&&13!==g&&0!==g);if(!d(g))break;for(t(a),g=a.input.charCodeAt(a.position),f++,a.lineIndent=0;32===g;)a.lineIndent++,g=a.input.charCodeAt(++a.position)}return-1!==c&&0!==f&&a.lineIndent<c&&p(a,"deficient indentation"),f}function v(a){var b,c=a.position;return b=a.input.charCodeAt(c),45!==b&&46!==b||a.input.charCodeAt(c+1)!==b||a.input.charCodeAt(c+2)!==b||(c+=3,b=a.input.charCodeAt(c),0!==b&&!f(b))?!1:!0}function w(a,b){1===b?a.result+=" ":b>1&&(a.result+=Q.repeat("\n",b-1))}function x(a,b,c){var h,i,j,k,l,m,n,o,p,r=a.kind,s=a.result;if(p=a.input.charCodeAt(a.position),f(p)||g(p)||35===p||38===p||42===p||33===p||124===p||62===p||39===p||34===p||37===p||64===p||96===p)return!1;if((63===p||45===p)&&(i=a.input.charCodeAt(a.position+1),f(i)||c&&g(i)))return!1;for(a.kind="scalar",a.result="",j=k=a.position,l=!1;0!==p;){if(58===p){if(i=a.input.charCodeAt(a.position+1),f(i)||c&&g(i))break}else if(35===p){if(h=a.input.charCodeAt(a.position-1),f(h))break}else{if(a.position===a.lineStart&&v(a)||c&&g(p))break;if(d(p)){if(m=a.line,n=a.lineStart,o=a.lineIndent,u(a,!1,-1),a.lineIndent>=b){l=!0,p=a.input.charCodeAt(a.position);continue}a.position=k,a.line=m,a.lineStart=n,a.lineIndent=o;break}}l&&(q(a,j,k,!1),w(a,a.line-m),j=k=a.position,l=!1),e(
"use strict";function d(a){return null===a?!1:null===j.exec(a)?!1:!0}function e(a){var b,c,d,e,f,g,h,i,k,l,m=0,n=null;if(b=j.exec(a),null===b)throw new Error("Date resolve error");if(c=+b[1],d=+b[2]-1,e=+b[3],!b[4])return new Date(Date.UTC(c,d,e));if(f=+b[4],g=+b[5],h=+b[6],b[7]){for(m=b[7].slice(0,3);m.length<3;)m+="0";m=+m}return b[9]&&(i=+b[10],k=+(b[11]||0),n=6e4*(60*i+k),"-"===b[9]&&(n=-n)),l=new Date(Date.UTC(c,d,e,f,g,h,m)),n&&l.setTime(l.getTime()-n),l}function f(a){return a.toISOString()}var g=this,h=g.define;g.define=void 0;var i=a("11f"),j=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 c.exports=new i("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:d,construct:e,instanceOf:Date,represent:f}),g.define=h,c.exports}),a.registerDynamic("12b",["11f"],!0,function(a,b,c){"use strict";function d(a){return"<<"===a||null===a}var e=this,f=e.define;e.define=void 0;var g=a("11f");return c.exports=new g("tag:yaml.org,2002:merge",{kind:"scalar",resolve:d}),e.define=f,c.exports}),a.registerDynamic("12c",["@empty","11f"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(b){"use strict";function d(a){if(null===a)return!1;var b,c,d=0,e=a.length,f=j;for(c=0;e>c;c++)if(b=f.indexOf(a.charAt(c)),!(b>64)){if(0>b)return!1;d+=6}return d%8===0}function e(a){var b,c,d=a.replace(/[\r\n=]/g,""),e=d.length,f=j,g=0,i=[];for(b=0;e>b;b++)b%4===0&&b&&(i.push(g>>16&255),i.push(g>>8&255),i.push(255&g)),g=g<<6|f.indexOf(d.charAt(b));return c=e%4*6,0===c?(i.push(g>>16&255),i.push(g>>8&255),i.push(255&g)):18===c?(i.push(g>>10&255),i.push(g>>2&255)):12===c&&i.push(g>>4&255),h?new h(i):i}function f(a){var b,c,d="",e=0,f=a.length,g=j;for(b=0;f>b;b++)b%3===0&&b&&(d+=g[e>>18&63],d+=g[e>>12&63],d+=g[e>>6&63],d+=g[63&e]),e=(e<<8)+a[b];return c=f%3,0===c?(d+=g[e>>18&63],d+=g[e>>12&63],d+=g[e>>6&63],d+=g[63&e]):2===c?(d+=g[e>>10&63],d+=g[e>>4&63],d+=g[e<<2&63],d+=g[64]):1===c&&(d+=g[e>>2&63],d+=g[e<<4&63],d+=g[64],d+=g[64]),d}function g(a){return h&&h.isBuffer(a)}var h=a("@empty").Buffer,i=a("11f"),j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";c.exports=new i("tag:yaml.org,2002:binary",{kind:"scalar",resolve:d,construct:e,predicate:g,represent:f})}(a("@empty").Buffer),d.define=e,c.exports}),a.registerDynamic("12d",["11f"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b,c,d,e,f,g=[],h=a;for(b=0,c=h.length;c>b;b+=1){if(d=h[b],f=!1,"[object Object]"!==j.call(d))return!1;for(e in d)if(i.call(d,e)){if(f)return!1;f=!0}if(!f)return!1;if(-1!==g.indexOf(e))return!1;g.push(e)}return!0}function e(a){return null!==a?a:[]}var f=this,g=f.define;f.define=void 0;var h=a("11f"),i=Object.prototype.hasOwnProperty,j=Object.prototype.toString;return c.exports=new h("tag:yaml.org,2002:omap",{kind:"sequence",resolve:d,construct:e}),f.define=g,c.exports}),a.registerDynamic("12e",["11f"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b,c,d,e,f,g=a;for(f=new Array(g.length),b=0,c=g.length;c>b;b+=1){if(d=g[b],"[object Object]"!==i.call(d))return!1;if(e=Object.keys(d),1!==e.length)return!1;f[b]=[e[0],d[e[0]]]}return!0}function e(a){if(null===a)return[];var b,c,d,e,f,g=a;for(f=new Array(g.length),b=0,c=g.length;c>b;b+=1)d=g[b],e=Object.keys(d),f[b]=[e[0],d[e[0]]];return f}var f=this,g=f.define;f.define=void 0;var h=a("11f"),i=Object.prototype.toString;return c.exports=new h("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:d,construct:e}),f.define=g,c.exports}),a.registerDynamic("12f",["11f"],!0,function(a,b,c){"use strict";function d(a){if(null===a)return!0;var b,c=a;for(b in c)if(i.call(c,b)&&null!==c[b])return!1;return!0}function e(a){return null!==a?a:{}}var f=this,g=f.define;f.define=void 0;var h=a("11f"),i=Object.prototype.hasOwnProperty;return c.exports=new h("tag:yaml.org,2002:set",{kind:"mapping",resolve:d,construct:e}),f.define=g,c.exports}),a.registerDynamic("11b",["11e","129","12a","12b","12c","12d","12e","12f"],!0,f
b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeInt16BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeInt32LE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):K(this,a,b,!0),b+4},f.prototype.writeInt32BE=function(a,b,c){return a=+a,b=0|b,c||I(this,a,b,4,2147483647,-2147483648),0>a&&(a=4294967295+a+1),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeFloatLE=function(a,b,c){return M(this,a,b,!0,c)},f.prototype.writeFloatBE=function(a,b,c){return M(this,a,b,!1,c)},f.prototype.writeDoubleLE=function(a,b,c){return N(this,a,b,!0,c)},f.prototype.writeDoubleBE=function(a,b,c){return N(this,a,b,!1,c)},f.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&c>d&&(d=c),d===c)return 0;if(0===a.length||0===this.length)return 0;if(0>b)throw new RangeError("targetStart out of bounds");if(0>c||c>=this.length)throw new RangeError("sourceStart out of bounds");if(0>d)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-b<d-c&&(d=a.length-b+c);var e,g=d-c;if(this===a&&b>c&&d>b)for(e=g-1;e>=0;e--)a[e+b]=this[e+c];else if(1e3>g||!f.TYPED_ARRAY_SUPPORT)for(e=0;g>e;e++)a[e+b]=this[e+c];else a._set(this.subarray(c,c+g),b);return g},f.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),b>c)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(0>b||b>=this.length)throw new RangeError("start out of bounds");if(0>c||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;c>d;d++)this[d]=a;else{var e=R(a.toString()),f=e.length;for(d=b;c>d;d++)this[d]=e[d%f]}return this}},f.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(f.TYPED_ARRAY_SUPPORT)return new f(this).buffer;for(var a=new Uint8Array(this.length),b=0,c=a.length;c>b;b+=1)a[b]=this[b];return a.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var ba=f.prototype;f._augment=function(a){return a.constructor=f,a._isBuffer=!0,a._set=a.set,a.get=ba.get,a.set=ba.set,a.write=ba.write,a.toString=ba.toString,a.toLocaleString=ba.toString,a.toJSON=ba.toJSON,a.equals=ba.equals,a.compare=ba.compare,a.indexOf=ba.indexOf,a.copy=ba.copy,a.slice=ba.slice,a.readUIntLE=ba.readUIntLE,a.readUIntBE=ba.readUIntBE,a.readUInt8=ba.readUInt8,a.readUInt16LE=ba.readUInt16LE,a.readUInt16BE=ba.readUInt16BE,a.readUInt32LE=ba.readUInt32LE,a.readUInt32BE=ba.readUInt32BE,a.readIntLE=ba.readIntLE,a.readIntBE=ba.readIntBE,a.readInt8=ba.readInt8,a.readInt16LE=ba.readInt16LE,a.readInt16BE=ba.readInt16BE,a.readInt32LE=ba.readInt32LE,a.readInt32BE=ba.readInt32BE,a.readFloatLE=ba.readFloatLE,a.readFloatBE=ba.readFloatBE,a.readDoubleLE=ba.readDoubleLE,a.readDoubleBE=ba.readDoubleBE,a.writeUInt8=ba.writeUInt8,a.writeUIntLE=ba.writeUIntLE,a.writeUIntBE=ba.writeUIntBE,a.writeUInt16LE=ba.writeUInt16LE,a.writeUInt16BE=ba.writeUInt16BE,a.writeUInt32LE=ba.writeUInt32LE,a.writeUInt32BE=ba.writeUInt32BE,a.writeIntLE=ba.writeIntLE,a.writeIntBE=ba.writeIntBE,a.writeInt8=ba.writeInt8,a.writeInt16LE=ba.writeInt16LE,a.writeInt16BE=ba.writeInt16BE,a.writeInt32LE=ba.writeInt32LE,a.writeInt32BE=ba.writeInt32BE,a.writeFloatLE=ba.writeFloatLE,a.writeFloatBE=ba.writeFloatBE,a.writeDoubleLE=ba.writeDoubleLE,a.writeDoubleBE=ba.writeDoubleBE,a.fill=ba.fill,a.inspect=ba.inspect,a.toArrayBuffer=ba.toArrayBuffer,a};var ca=/[^+\/0-9A-Za-z-_]/g;return W.define=X,c.exports}),a.registerDynamic("140",["13f"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports=a("13f"),d.define=e,c.exports}),a.registerDynamic("141",["140"],!0,function(b,c,d){var e=this,f=e.define;return e.define=void 0,d.exports=a._nodeRequire?a._nodeRequire("buffer"):b("140"),e.define=f,d.exports}
var v=""===o[0]||o[0]&&"/"===o[0].charAt(0);if(p){c.hostname=c.host=v?"":o.length?o.shift():"";var q=c.host&&c.host.indexOf("@")>0?c.host.split("@"):!1;q&&(c.auth=q.shift(),c.host=c.hostname=q.shift())}return m=m||c.host&&o.length,m&&!v&&o.unshift(""),o.length?c.pathname=o.join("/"):(c.pathname=null,c.path=null),k(c.pathname)&&k(c.search)||(c.path=(c.pathname?c.pathname:"")+(c.search?c.search:"")),c.auth=a.auth||c.auth,c.slashes=c.slashes||a.slashes,c.href=c.format(),c},d.prototype.parseHost=function(){var a=this.host,b=q.exec(a);b&&(b=b[0],":"!==b&&(this.port=b.substr(1)),a=a.substr(0,a.length-b.length)),a&&(this.hostname=a)},m.define=n,c.exports}),a.registerDynamic("154",["153"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports=a("153"),d.define=e,c.exports}),a.registerDynamic("155",["154"],!0,function(b,c,d){var e=this,f=e.define;return e.define=void 0,d.exports=a._nodeRequire?a._nodeRequire("url"):b("154"),e.define=f,d.exports}),a.registerDynamic("e5",["155"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports=a("155"),d.define=e,c.exports}),a.registerDynamic("137",["111","113","e4","d8","e5"],!0,function(a,b,c){"use strict";function d(a,b){l.debug("Dereferencing $ref pointers in %s",a.$refs._basePath),a.$refs.circular=!1,e(a.schema,a.$refs._basePath,"#",[],a.$refs,b)}function e(a,b,c,d,h,i){var l=!1;return a&&"object"==typeof a&&(d.push(a),Object.keys(a).forEach(function(m){var n=k.join(b,m),o=k.join(c,m),p=a[m],q=!1;if(j.isAllowed$Ref(p,i)){var r=f(p,n,o,d,h,i);q=r.circular,a[m]=r.value}else q=-1===d.indexOf(p)?e(p,n,o,d,h,i):g(n,h,i);l=l||q}),d.pop()),l}function f(a,b,c,d,f,h){l.debug('Dereferencing $ref pointer "%s" at %s',a.$ref,b);var i=n.resolve(b,a.$ref),j=f._resolve(i,h),k=j.circular,m=k||-1!==d.indexOf(j.value);m&&g(b,f,h);var o=l.dereference(a,j.value);return m||(m=e(o,j.path,c,d,f,h)),m&&!k&&"ignore"===h.$refs.circular&&(o=a),k&&(o.$ref=c),{circular:m,value:o}}function g(a,b,c){if(b.circular=!0,!c.$refs.circular)throw m.reference("Circular $ref pointer found at %s",a);return!0}var h=this,i=h.define;h.define=void 0;var j=a("111"),k=a("113"),l=a("e4"),m=a("d8"),n=a("e5");return c.exports=d,h.define=i,c.exports}),a.registerDynamic("156",["d6","db","d7","de","e0","116","d8","138","137"],!0,function(a,b,c){"use strict";function d(){n.apply(this,arguments)}var e=this,f=e.define;e.define=void 0;var g=a("d6"),h=a("db"),i=a("d7"),j=a("de"),k=a("e0"),l=a("116"),m=a("d8"),n=a("138"),o=a("137");return c.exports=d,i.inherits(d,n),d.YAML=n.YAML,d.parse=n.parse,d.resolve=n.resolve,d.bundle=n.bundle,d.dereference=n.dereference,Object.defineProperty(d.prototype,"api",{configurable:!0,enumerable:!0,get:function(){return this.schema}}),d.prototype.parse=function(a,b,c){"function"==typeof b&&(c=b,b=void 0),b=new j(b);var d=a;return n.prototype.parse.call(this,a,b).then(function(a){var b=["2.0"];if(void 0===a.swagger||void 0===a.info||void 0===a.paths)throw m.syntax("%s is not a valid Swagger API definition",d);if("number"==typeof a.swagger)throw m.syntax('Swagger version number must be a string (e.g. "2.0") not a number.');if("number"==typeof a.info.version)throw m.syntax('API version number must be a string (e.g. "1.0.0") not a number.');if(-1===b.indexOf(a.swagger))throw m.syntax("Unsupported Swagger version: %d. Swagger Parser only supports version %s",a.swagger,b.join(", "));return l(c,k.resolve(a))})["catch"](function(a){return l(c,k.reject(a))})},d.validate=function(a,b,c){var d=this;return(new d).validate(a,b,c)},d.prototype.validate=function(a,b,c){"function"==typeof b&&(c=b,b=void 0),b=new j(b);var d=this,e=b.$refs.circular;return b.validate.schema&&(b.$refs.circular="ignore"),this.dereference(a,b).then(function(){if(b.$refs.circular=e,b.validate.schema&&(g(d.api),d.$refs.circular))if(e===!0)o(d,b);else if(e===!1)throw m.reference("The API contains circular references");return b.validate.spec&&h(d.api),l(c,k.resolve(d.schema))})["catch"](function(a){return l(c,k.reject(a))})},e.define=f,c.exports}),a.registerDynamic("157",["156"],!0,function(a,b,c){var d=this,e=d.define
return this.options.smartypants?a.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):a},d.prototype.mangle=function(a){if(!this.options.mangle)return a;for(var b,c="",d=a.length,e=0;d>e;e++)b=a.charCodeAt(e),Math.random()>.5&&(b="x"+b.toString(16)),c+="&#"+b+";";return c},e.prototype.code=function(a,b,c){if(this.options.highlight){var d=this.options.highlight(a,b);null!=d&&d!==a&&(c=!0,a=d)}return b?'<pre><code class="'+this.options.langPrefix+g(b,!0)+'">'+(c?a:g(a,!0))+"\n</code></pre>\n":"<pre><code>"+(c?a:g(a,!0))+"\n</code></pre>"},e.prototype.blockquote=function(a){return"<blockquote>\n"+a+"</blockquote>\n"},e.prototype.html=function(a){return a},e.prototype.heading=function(a,b,c){return"<h"+b+' id="'+this.options.headerPrefix+c.toLowerCase().replace(/[^\w]+/g,"-")+'">'+a+"</h"+b+">\n"},e.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},e.prototype.list=function(a,b){var c=b?"ol":"ul";return"<"+c+">\n"+a+"</"+c+">\n"},e.prototype.listitem=function(a){return"<li>"+a+"</li>\n"},e.prototype.paragraph=function(a){return"<p>"+a+"</p>\n"},e.prototype.table=function(a,b){return"<table>\n<thead>\n"+a+"</thead>\n<tbody>\n"+b+"</tbody>\n</table>\n"},e.prototype.tablerow=function(a){return"<tr>\n"+a+"</tr>\n"},e.prototype.tablecell=function(a,b){var c=b.header?"th":"td",d=b.align?"<"+c+' style="text-align:'+b.align+'">':"<"+c+">";return d+a+"</"+c+">\n"},e.prototype.strong=function(a){return"<strong>"+a+"</strong>"},e.prototype.em=function(a){return"<em>"+a+"</em>"},e.prototype.codespan=function(a){return"<code>"+a+"</code>"},e.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},e.prototype.del=function(a){return"<del>"+a+"</del>"},e.prototype.link=function(a,b,c){if(this.options.sanitize){try{var d=decodeURIComponent(h(a)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===d.indexOf("javascript:")||0===d.indexOf("vbscript:"))return""}var f='<a href="'+a+'"';return b&&(f+=' title="'+b+'"'),f+=">"+c+"</a>"},e.prototype.image=function(a,b,c){var d='<img src="'+a+'" alt="'+c+'"';return b&&(d+=' title="'+b+'"'),d+=this.options.xhtml?"/>":">"},e.prototype.text=function(a){return a},f.parse=function(a,b,c){var d=new f(b,c);return d.parse(a)},f.prototype.parse=function(a){this.inline=new d(a.links,this.options,this.renderer),this.tokens=a.reverse();for(var b="";this.next();)b+=this.tok();return b},f.prototype.next=function(){return this.token=this.tokens.pop()},f.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},f.prototype.parseText=function(){for(var a=this.token.text;"text"===this.peek().type;)a+="\n"+this.next().text;return this.inline.output(a)},f.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var a,b,c,d,e,f="",g="";for(c="",a=0;a<this.token.header.length;a++)d={header:!0,align:this.token.align[a]},c+=this.renderer.tablecell(this.inline.output(this.token.header[a]),{header:!0,align:this.token.align[a]});for(f+=this.renderer.tablerow(c),a=0;a<this.token.cells.length;a++){for(b=this.token.cells[a],c="",e=0;e<b.length;e++)c+=this.renderer.tablecell(this.inline.output(b[e]),{header:!1,align:this.token.align[e]});g+=this.renderer.tablerow(c)}return this.renderer.table(f,g);case"blockquote_start":for(var g="";"blockquote_end"!==this.next().type;)g+=this.tok();return this.renderer.blockquote(g);case"list_start":for(var g="",h=this.token.ordered;"list_end"!==this.next().type;)g+=this.tok();return this.renderer.list(g,h);case"list_item_start":for(var g="";"list_item_end"!==this.next().type;)g+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(g);case"loose_item_start":for(var g="";"list_item_end"!==this.next().type;)g+=this.
var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},h=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=this&&this.__param||function(a,b){return function(c,d){b(c,d,a)}},j=a("14"),k=a("1f"),l=a("17c"),m=a("17f"),n=a("180"),o=k.CONST_EXPR(new j.Provider(l.ControlContainer,{useExisting:j.forwardRef(function(){return p})})),p=function(a){function b(b,c,d){a.call(this),this._validators=c,this._asyncValidators=d,this._parent=b}return f(b,a),b.prototype.ngOnInit=function(){this.formDirective.addControlGroup(this)},b.prototype.ngOnDestroy=function(){this.formDirective.removeControlGroup(this)},Object.defineProperty(b.prototype,"control",{get:function(){return this.formDirective.getControlGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"path",{get:function(){return m.controlPath(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"formDirective",{get:function(){return this._parent.formDirective},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"validator",{get:function(){return m.composeValidators(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"asyncValidator",{get:function(){return m.composeAsyncValidators(this._asyncValidators)},enumerable:!0,configurable:!0}),b=g([j.Directive({selector:"[ngControlGroup]",providers:[o],inputs:["name: ngControlGroup"],exportAs:"ngForm"}),i(0,j.Host()),i(0,j.SkipSelf()),i(1,j.Optional()),i(1,j.Self()),i(1,j.Inject(n.NG_VALIDATORS)),i(2,j.Optional()),i(2,j.Self()),i(2,j.Inject(n.NG_ASYNC_VALIDATORS)),h("design:paramtypes",[l.ControlContainer,Array,Array])],b)}(l.ControlContainer);return b.NgControlGroup=p,d.define=e,c.exports}),a.registerDynamic("185",["1f","36","62","14","17c","17f","180"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},h=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},i=this&&this.__param||function(a,b){return function(c,d){b(c,d,a)}},j=a("1f"),k=a("36"),l=a("62"),m=a("14"),n=a("17c"),o=a("17f"),p=a("180"),q=j.CONST_EXPR(new m.Provider(n.ControlContainer,{useExisting:m.forwardRef(function(){return r})})),r=function(a){function b(b,c){a.call(this),this._validators=b,this._asyncValidators=c,this.form=null,this.directives=[],this.ngSubmit=new l.EventEmitter}return f(b,a),b.prototype.ngOnChanges=function(a){if(k.StringMapWrapper.contains(a,"form")){var b=o.composeValidators(this._validators);this.form.validator=p.Validators.compose([this.form.validator,b]);var c=o.composeAsyncValidators(this._asyncValidators);this.form.asyncValidator=p.Validators.composeAsync([this.form.asyncValidator,c]),this.form.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}this._updateDomValue()},Object.defineProperty(b.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(b.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),b.prototype.addControl=function(a){var b=this.form.find(a.path);o.setUpControl(b,a),b.updateValueAndV
},a.prototype.hasError=function(a,b){return void 0===b&&(b=null),j.isPresent(this.getError(a,b))},a.prototype._updateControlsErrors=function(){this._status=this._calculateStatus(),j.isPresent(this._parent)&&this._parent._updateControlsErrors()},a.prototype._initObservables=function(){this._valueChanges=new k.EventEmitter,this._statusChanges=new k.EventEmitter},a.prototype._calculateStatus=function(){return j.isPresent(this._errors)?b.INVALID:this._anyControlsHaveStatus(b.PENDING)?b.PENDING:this._anyControlsHaveStatus(b.INVALID)?b.INVALID:b.VALID},a}();b.AbstractControl=n;var o=function(a){function b(b,c,d){void 0===b&&(b=null),void 0===c&&(c=null),void 0===d&&(d=null),a.call(this,c,d),this._value=b,this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}return i(b,a),b.prototype.updateValue=function(a,b){var c=void 0===b?{}:b,d=c.onlySelf,e=c.emitEvent,f=c.emitModelToViewChange;f=j.isPresent(f)?f:!0,this._value=a,j.isPresent(this._onChange)&&f&&this._onChange(this._value),this.updateValueAndValidity({onlySelf:d,emitEvent:e})},b.prototype._updateValue=function(){},b.prototype._anyControlsHaveStatus=function(a){return!1},b.prototype.registerOnChange=function(a){this._onChange=a},b}(n);b.Control=o;var p=function(a){function b(b,c,d,e){void 0===c&&(c=null),void 0===d&&(d=null),void 0===e&&(e=null),a.call(this,d,e),this.controls=b,this._optionals=j.isPresent(c)?c:{},this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return i(b,a),b.prototype.addControl=function(a,b){this.controls[a]=b,b.setParent(this)},b.prototype.removeControl=function(a){m.StringMapWrapper["delete"](this.controls,a)},b.prototype.include=function(a){m.StringMapWrapper.set(this._optionals,a,!0),this.updateValueAndValidity()},b.prototype.exclude=function(a){m.StringMapWrapper.set(this._optionals,a,!1),this.updateValueAndValidity()},b.prototype.contains=function(a){var b=m.StringMapWrapper.contains(this.controls,a);return b&&this._included(a)},b.prototype._setParentForControls=function(){var a=this;m.StringMapWrapper.forEach(this.controls,function(b,c){b.setParent(a)})},b.prototype._updateValue=function(){this._value=this._reduceValue()},b.prototype._anyControlsHaveStatus=function(a){var b=this,c=!1;return m.StringMapWrapper.forEach(this.controls,function(d,e){c=c||b.contains(e)&&d.status==a}),c},b.prototype._reduceValue=function(){return this._reduceChildren({},function(a,b,c){return a[c]=b.value,a})},b.prototype._reduceChildren=function(a,b){var c=this,d=a;return m.StringMapWrapper.forEach(this.controls,function(a,e){c._included(e)&&(d=b(d,a,e))}),d},b.prototype._included=function(a){var b=m.StringMapWrapper.contains(this._optionals,a);return!b||m.StringMapWrapper.get(this._optionals,a)},b}(n);b.ControlGroup=p;var q=function(a){function b(b,c,d){void 0===c&&(c=null),void 0===d&&(d=null),a.call(this,c,d),this.controls=b,this._initObservables(),this._setParentForControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}return i(b,a),b.prototype.at=function(a){return this.controls[a]},b.prototype.push=function(a){this.controls.push(a),a.setParent(this),this.updateValueAndValidity()},b.prototype.insert=function(a,b){m.ListWrapper.insert(this.controls,a,b),b.setParent(this),this.updateValueAndValidity()},b.prototype.removeAt=function(a){m.ListWrapper.removeAt(this.controls,a),this.updateValueAndValidity()},Object.defineProperty(b.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),b.prototype._updateValue=function(){this._value=this.controls.map(function(a){return a.value})},b.prototype._anyControlsHaveStatus=function(a){return this.controls.some(function(b){return b.status==a})},b.prototype._setParentForControls=function(){var a=this;this.controls.forEach(function(b){b.setParent(a)})},b}(n);return b.ControlArray=q,g.define=h,c.exports}),a.registerDynamic("190",["14","36","1f","183"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?
return!1}return!0},d.escape=function(a){return a.toString().replace(/~/g,"~0").replace(/\//g,"~1")},d.unescape=function(a){return a.replace(/~1/g,"/").replace(/~0/g,"~")},d.parse=function(a){if(""===a)return[];if("/"!==a.charAt(0))throw new Error("Invalid JSON pointer: "+a);return a.substring(1).split(/\//).map(d.unescape)},d.compile=function(a){return 0===a.length?"":"/"+a.map(d.escape).join("/")},e.define=f,c.exports}),a.registerDynamic("1a8",["1a7"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,c.exports=a("1a7"),d.define=e,c.exports}),a.register("c",["4","5","6","7","1a8"],function(a){var b,c,d,e,f,g;return{setters:[function(a){b=a["default"]},function(a){c=a["default"]},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]}],execute:function(){"use strict";g=function(a){function g(){e(this,g),b(Object.getPrototypeOf(g.prototype),"constructor",this).apply(this,arguments)}return c(g,a),d(g,null,[{key:"baseName",value:function(a){var b=arguments.length<=1||void 0===arguments[1]?1:arguments[1],c=g.parse(a);return c[c.length-b]}},{key:"dirName",value:function(a){var b=arguments.length<=1||void 0===arguments[1]?1:arguments[1],c=g.parse(a);return g.compile(c.slice(0,c.length-b))}},{key:"parse",value:function(a){var b=a;return"#"===b.charAt(0)&&(b=b.substring(1)),f._origParse(b)}},{key:"join",value:function(a,b){var c=g.parse(a),d=c.concat(b);return g.compile(d)}}]),g}(f),a("JsonPointer",g),f._origParse=f.parse,f.parse=g.parse,a("default",g)}}}),a.register("a",["3","4","5","6","7","14","23","24","96","c"],function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n;return{setters:[function(a){b=a.RedocComponent,c=a.BaseComponent},function(a){d=a["default"]},function(a){e=a["default"]},function(a){f=a["default"]},function(a){g=a["default"]},function(a){h=a.ElementRef},function(a){i=a["default"]},function(a){j=a.Tabs,k=a.Tab},function(a){l=a["default"]},function(a){m=a["default"]}],execute:function(){"use strict";n=function(a){function c(a,b){g(this,h),d(Object.getPrototypeOf(h.prototype),"constructor",this).call(this,a),this.element=b.nativeElement,this["final"]=!1}e(c,a),f(c,[{key:"prepareModel",value:function(){var a=this;if(this.data={},this.data.properties=[],this.data.derived=[],!this.componentSchema)throw new Error("Can't load component schema at "+this.pointer);this.dereference();var b=this.componentSchema;"array"===b.type&&(this.isArray=!0,b._pointer&&(this.pointer=m.join(b._pointer,"items")),b=b.items);var c=b._pointer||this.pointer,d=this.schemaMgr.findDerivedDefinitions(c);if(!this["final"]&&d.length&&(this.data.derived=d,this.data.discriminator=b.discriminator),this.joinAllOf(b,{omitParent:!0}),"object"!==b.type)return this.isTrivial=!0,this._displayType=b.type,void(b.format&&(this._displayType=this.displayType+" <"+b.format+">"));if(this.pointer=b._pointer||this.pointer,this.requiredMap={},this.schema.required&&this.schema.required.forEach(function(b){return a.requiredMap[b]=!0}),!b.properties)return this.isTrivial=!0,void(this._displayType=b.type+" (Custom key-value pairs)");var e=-1,f=i(b.properties).map(function(c,d){var f=b.properties[c];return a.injectPropData(c,f,b),f.isDiscriminator&&(e=d),f});if(e>-1){var g=f.splice(e,1);f.push(g[0])}this.data.properties=f}},{key:"adjustNameColumnWidth",value:function(){var a=[].slice.call(this.element.querySelectorAll(".param-name")),b=a.map(function(a){return a.offsetWidth}),c=Math.max.apply(Math,l(b));if(c){a.forEach(function(a){a.style.minWidth=c+"px"});var d=this.element.querySelector("tabs ul");d&&(d.style.paddingLeft=c+"px")}}},{key:"injectPropData",value:function(a,b,c){if(b._name=a,b.isRequired=this.requiredMap[a],b._displayType=b.type,b.isDiscriminator=c.discriminator===a,"array"===b.type){var d=b.items.type,e=b.items.format;"object"!==d&&d||(d=b.items.title||"object",b._pointer=b.items._pointer||m.join(this.pointer,["properties",a,"items"])),b._displayType="array of "+d,b.format=e,b._isArray=!0}"object"===b.type&&(b._displayType=b.title||"object"),b.format&&(b._displayFormat="<"+b.format+">")}},{key:"init",value:function(){var a=th
}var e=this,f=e.define;e.define=void 0;var g=a("1f"),h=a("38"),i=a("1b1"),j=a("80"),k=a("5d");return b.PLATFORM_COMMON_PROVIDERS=g.CONST_EXPR([new h.Provider(j.Reflector,{useFactory:d,deps:[]}),k.TestabilityRegistry,i.Console]),e.define=f,c.exports}),a.registerDynamic("5f",["60","38","1f","3b","62","80","63"],!0,function(a,b,c){"use strict";function d(a){return a instanceof q.CompiledHostTemplate}function e(a,b){return a._createProtoView(b)}var f=this,g=f.define;f.define=void 0;var h=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},i=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},j=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},k=a("60"),l=a("38"),m=a("1f"),n=a("3b"),o=a("62"),p=a("80"),q=a("63"),r=function(){function a(){}return a}();b.Compiler=r;var s=function(a){function b(b){a.call(this),this._protoViewFactory=b}return h(b,a),b.prototype.compileInHost=function(a){var b=p.reflector.annotations(a),c=b.find(d);if(m.isBlank(c))throw new n.BaseException("No precompiled template for component "+m.stringify(a)+" found");return o.PromiseWrapper.resolve(this._createProtoView(c))},b.prototype._createProtoView=function(a){return this._protoViewFactory.createHost(a).ref},b.prototype.clearCache=function(){this._protoViewFactory.clearCache()},b=i([l.Injectable(),j("design:paramtypes",[k.ProtoViewFactory])],b)}(r);return b.Compiler_=s,b.internalCreateProtoView=e,f.define=g,c.exports}),a.registerDynamic("1bc",["38","36","1bd","1f","1ba","1b7","1b8","1be"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},g=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},h=a("38"),i=a("36"),j=a("1bd"),k=a("1f"),l=a("1ba"),m=a("1b7"),n=a("1b8"),o=a("1be"),p=function(){function a(){}return a.prototype.getComponentInstance=function(a,b){var c=a.elementInjectors[b];return c.getComponent()},a.prototype.createView=function(a,b,c,d){for(var e=b.fragmentRefs,f=b.viewRef,g=a.mergeInfo.elementCount,h=a.mergeInfo.viewCount,o=i.ListWrapper.createFixedSize(g),p=i.ListWrapper.createFixedSize(g),q=i.ListWrapper.createFixedSize(g),r=i.ListWrapper.createFixedSize(g),s=i.ListWrapper.createFixedSize(h),t=0,u=0,v=0,w=i.ListWrapper.createFixedSize(h),x=0;h>x;x++){var y=w[x],z=k.isPresent(y)?r[y]:null,A=k.isPresent(z)?q[y].view:null,B=k.isPresent(y)?A.proto.elementBinders[y-A.elementOffset].nestedProtoView:a,C=null;(0===x||B.type===l.ViewType.EMBEDDED)&&(C=e[v++]);var D=new l.AppView(d,B,x,t,u,B.protoLocals,f,C,z);s[x]=D,k.isPresent(y)&&(q[y].nestedView=D);for(var E=[],F=x+1,G=0;G<B.elementBinders.length;G++){var H=B.elementBinders[G],I=t+G,J=null;k.isPresent(H.nestedProtoView)&&H.nestedProtoView.isMergable&&(w[F]=I,F+=H.nestedProtoView.mergeInfo.viewCount);var K=H.protoElementInjector;if(k.isPresent(K))if(k.isPresent(K.parent)){var L=r[t+K.parent.index];J=K.instantiate(L)}else J=K.instantiate(null),E.push(J);r[I]=J;var M=new m.ElementRef_(D.ref,I,d);if(o[M.boundElementIndex]=M,k.isPresent(J)){var N=k.isPresent(H.nestedProtoView)&&H.nestedProtoView.type===l.ViewType.EMBEDDED?new n.TemplateRef_(M):null;q[I]=new j.PreBuiltObjects(c,D,M,N)}}D.init(B.changeDetectorFactory(D),r,E,q,s,o,p),k.isPresent(A)&&B.ty
function d(a){var b=this;if(a||(g.root.Rx&&g.root.Rx.config&&g.root.Rx.config.Promise?a=g.root.Rx.config.Promise:g.root.Promise&&(a=g.root.Promise)),!a)throw new Error("no Promise impl found");return new a(function(a,c){var d;b.subscribe(function(a){return d=a},function(a){return c(a)},function(){return a(d)})})}var e=this,f=e.define;e.define=void 0;var g=a("1d0");return b.toPromise=d,e.define=f,c.exports}),a.registerDynamic("1d1",[],!0,function(a,b,c){function d(a){throw a}var e=this,f=e.define;return e.define=void 0,b.throwError=d,e.define=f,c.exports}),a.registerDynamic("1d2",[],!0,function(a,b,c){function d(a){function b(){try{b.target.apply(this,arguments)}catch(a){this.error(a)}}return b.target=a,b}var e=this,f=e.define;return e.define=void 0,b.tryOrOnError=d,e.define=f,c.exports}),a.registerDynamic("1d3",[],!0,function(a,b,c){function d(){}var e=this,f=e.define;return e.define=void 0,b.noop=d,e.define=f,c.exports}),a.registerDynamic("1c5",["1d3"],!0,function(a,b,c){var d=this,e=d.define;d.define=void 0;var f=a("1d3"),g=function(){function a(a){this.isUnsubscribed=!1,a&&(this._unsubscribe=a)}return a.prototype._unsubscribe=function(){f.noop()},a.prototype.unsubscribe=function(){if(!this.isUnsubscribed){this.isUnsubscribed=!0;var a=this._unsubscribe,b=this._subscriptions;if(this._subscriptions=void 0,a&&a.call(this),null!=b)for(var c=-1,d=b.length;++c<d;)b[c].unsubscribe()}},a.prototype.add=function(b){if(b&&b!==this&&b!==a.EMPTY){var c=b;switch(typeof b){case"function":c=new a(b);case"object":if(c.isUnsubscribed||"function"!=typeof c.unsubscribe)break;if(this.isUnsubscribed)c.unsubscribe();else{var d=this._subscriptions||(this._subscriptions=[]);d.push(c)}break;default:throw new Error("Unrecognized subscription "+b+" added to Subscription.")}}},a.prototype.remove=function(b){if(null!=b&&b!==this&&b!==a.EMPTY){var c=this._subscriptions;if(c){var d=c.indexOf(b);-1!==d&&c.splice(d,1)}}},a.EMPTY=function(a){return a.isUnsubscribed=!0,a}(new a),a}();return b.Subscription=g,d.define=e,c.exports}),a.registerDynamic("1c6",["1d3","1d1","1d2","1c5","1c9"],!0,function(a,b,c){var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("1d3"),h=a("1d1"),i=a("1d2"),j=a("1c5"),k=a("1c9"),l=function(a){function b(c){if(a.call(this),this.destination=c,this._isUnsubscribed=!1,this.destination){var d=c._subscription;d?this._subscription=d:c instanceof b&&(this._subscription=c)}}return f(b,a),b.prototype[k.rxSubscriber]=function(){return this},Object.defineProperty(b.prototype,"isUnsubscribed",{get:function(){var a=this._subscription;return a?this._isUnsubscribed||a.isUnsubscribed:this._isUnsubscribed},set:function(a){var b=this._subscription;b?b.isUnsubscribed=Boolean(a):this._isUnsubscribed=Boolean(a)},enumerable:!0,configurable:!0}),b.create=function(a,c,d){var e=new b;return e._next="function"==typeof a&&i.tryOrOnError(a)||g.noop,e._error="function"==typeof c&&c||h.throwError,e._complete="function"==typeof d&&d||g.noop,e},b.prototype.add=function(b){var c=this._subscription;c?c.add(b):a.prototype.add.call(this,b)},b.prototype.remove=function(b){this._subscription?this._subscription.remove(b):a.prototype.remove.call(this,b)},b.prototype.unsubscribe=function(){this._isUnsubscribed||(this._subscription?this._isUnsubscribed=!0:a.prototype.unsubscribe.call(this))},b.prototype._next=function(a){var b=this.destination;b.next&&b.next(a)},b.prototype._error=function(a){var b=this.destination;b.error&&b.error(a)},b.prototype._complete=function(){var a=this.destination;a.complete&&a.complete()},b.prototype.next=function(a){this.isUnsubscribed||this._next(a)},b.prototype.error=function(a){this.isUnsubscribed||(this._error(a),this.unsubscribe())},b.prototype.complete=function(){this.isUnsubscribed||(this._complete(),this.unsubscribe())},b}(j.Subscription);return b.Subscriber=l,d.define=e,c.exports}),a.registerDynamic("1d0",[],!0,function(a,b,c){var d=this,e=d.define;d.de
b.push(c.obj8)),j.isPresent(d.provider9)&&d.provider9.key.token===a.selector&&(c.obj9===o.UNDEFINED&&(c.obj9=c.instantiateProvider(d.provider9,d.visibility9)),b.push(c.obj9))},a}(),T=function(){function a(a,b){this.injectorStrategy=a,this._ei=b}return a.prototype.hydrate=function(){var a=this.injectorStrategy,b=a.protoStrategy;a.resetConstructionCounter();for(var c=0;c<b.keyIds.length;c++)b.providers[c]instanceof H&&j.isPresent(b.keyIds[c])&&a.objs[c]===o.UNDEFINED&&(a.objs[c]=a.instantiateProvider(b.providers[c],b.visibilities[c]))},a.prototype.dehydrate=function(){var a=this.injectorStrategy;m.ListWrapper.fill(a.objs,o.UNDEFINED)},a.prototype.callOnDestroy=function(){for(var a=this.injectorStrategy,b=a.protoStrategy,c=0;c<b.providers.length;c++)b.providers[c]instanceof H&&b.providers[c].callOnDestroy&&a.objs[c].ngOnDestroy()},a.prototype.getComponent=function(){return this.injectorStrategy.objs[0]},a.prototype.isComponentKey=function(a){var b=this.injectorStrategy.protoStrategy;return this._ei._proto._firstProviderIsComponent&&j.isPresent(a)&&a.id===b.keyIds[0]},a.prototype.addDirectivesMatchingQuery=function(a,b){for(var c=this.injectorStrategy,d=c.protoStrategy,e=0;e<d.providers.length;e++)d.providers[e].key.token===a.selector&&(c.objs[e]===o.UNDEFINED&&(c.objs[e]=c.instantiateProvider(d.providers[e],d.visibilities[e])),b.push(c.objs[e]))},a}(),U=function(){function a(a,b,c){this.dirIndex=a,this.setter=b,this.query=c}return Object.defineProperty(a.prototype,"usesPropertySyntax",{get:function(){return j.isPresent(this.setter)},enumerable:!0,configurable:!0}),a}();b.ProtoQueryRef=U;var V=function(){function a(a,b){this.protoQueryRef=a,this.originator=b}return Object.defineProperty(a.prototype,"isViewQuery",{get:function(){return this.protoQueryRef.query.isViewQuery},enumerable:!0,configurable:!0}),a.prototype.update=function(){if(this.dirty){if(this._update(),this.dirty=!1,this.protoQueryRef.usesPropertySyntax){var a=this.originator.getDirectiveAtIndex(this.protoQueryRef.dirIndex);this.protoQueryRef.query.first?this.protoQueryRef.setter(a,this.list.length>0?this.list.first:null):this.protoQueryRef.setter(a,this.list)}this.list.notifyOnChanges()}},a.prototype._update=function(){var a=[];if(this.protoQueryRef.query.isViewQuery){var b=this.originator.getView(),c=b.getNestedView(b.elementOffset+this.originator.getBoundElementIndex());j.isPresent(c)&&this._visitView(c,a)}else this._visit(this.originator,a);this.list.reset(a)},a.prototype._visit=function(a,b){for(var c=a.getView(),d=c.elementOffset+a._proto.index,e=d;e<c.elementOffset+c.ownBindersCount;e++){var f=c.elementInjectors[e];if(!j.isBlank(f)){if(e>d&&(j.isBlank(f)||j.isBlank(f.parent)||c.elementOffset+f.parent._proto.index<d))break;if(this.protoQueryRef.query.descendants||f.parent==this.originator||f==this.originator){this._visitInjector(f,b);var g=c.viewContainers[e];j.isPresent(g)&&this._visitViewContainer(g,b)}}}},a.prototype._visitInjector=function(a,b){this.protoQueryRef.query.isVarBindingQuery?this._aggregateVariableBinding(a,b):this._aggregateDirective(a,b)},a.prototype._visitViewContainer=function(a,b){for(var c=0;c<a.views.length;c++)this._visitView(a.views[c],b)},a.prototype._visitView=function(a,b){for(var c=a.elementOffset;c<a.elementOffset+a.ownBindersCount;c++){var d=a.elementInjectors[c];if(!j.isBlank(d)){this._visitInjector(d,b);var e=a.viewContainers[c];j.isPresent(e)&&this._visitViewContainer(e,b)}}},a.prototype._aggregateVariableBinding=function(a,b){for(var c=this.protoQueryRef.query.varBindings,d=0;d<c.length;++d)a.hasVariableBinding(c[d])&&b.push(a.getVariableBinding(c[d]))},a.prototype._aggregateDirective=function(a,b){a.addDirectivesMatchingQuery(this.protoQueryRef.query,b)},a.prototype.dehydrate=function(){this.list=null},a.prototype.hydrate=function(){this.list=new y.QueryList,this.dirty=!0},a}();return b.QueryRef=V,f.define=g,c.exports}),a.registerDynamic("7d",["38","1f","3b","36","4f","80"],!0,function(a,b,c){"use strict";function d(a){return a instanceof m.DirectiveMetadata}var e=this,f=e.define;e.define=void 0;var g=this&&this.__decor
for(a=this._changesHead;null!==a;a=a._nextChanged)d.push(i.stringify(a));for(a=this._additionsHead;null!==a;a=a._nextAdded)e.push(i.stringify(a));for(a=this._removalsHead;null!==a;a=a._nextRemoved)f.push(i.stringify(a));return"map: "+b.join(", ")+"\nprevious: "+c.join(", ")+"\nadditions: "+e.join(", ")+"\nchanges: "+d.join(", ")+"\nremovals: "+f.join(", ")+"\n"},a.prototype._forEach=function(a,b){a instanceof Map?a.forEach(b):h.StringMapWrapper.forEach(a,b)},a}();b.DefaultKeyValueDiffer=l;var m=function(){function a(a){this.key=a,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._nextAdded=null,this._nextRemoved=null,this._prevRemoved=null,this._nextChanged=null}return a.prototype.toString=function(){return i.looseIdentical(this.previousValue,this.currentValue)?i.stringify(this.key):i.stringify(this.key)+"["+i.stringify(this.previousValue)+"->"+i.stringify(this.currentValue)+"]"},a}();return b.KVChangeRecord=m,d.define=e,c.exports}),a.registerDynamic("1e0",["1e1","36","1f","3b"],!0,function(a,b,c){"use strict";function d(a,b){return new C(a,A.Character,b,y.StringWrapper.fromCharCode(b))}function e(a,b){return new C(a,A.Identifier,0,b)}function f(a,b){return new C(a,A.Keyword,0,b)}function g(a,b){return new C(a,A.Operator,0,b)}function h(a,b){return new C(a,A.String,0,b)}function i(a,b){return new C(a,A.Number,b,"")}function j(a){return a>=b.$TAB&&a<=b.$SPACE||a==T}function k(a){return a>=K&&S>=a||a>=F&&H>=a||a==J||a==b.$$}function l(a){if(0==a.length)return!1;var c=new V(a);if(!k(c.peek))return!1;for(c.advance();c.peek!==b.$EOF;){if(!m(c.peek))return!1;c.advance()}return!0}function m(a){return a>=K&&S>=a||a>=F&&H>=a||a>=D&&E>=a||a==J||a==b.$$}function n(a){return a>=D&&E>=a}function o(a){return a==L||a==G}function p(a){return a==b.$MINUS||a==b.$PLUS}function q(a){switch(a){case N:return b.$LF;case M:return b.$FF;case O:return b.$CR;case P:return b.$TAB;case R:return b.$VTAB;default:return a}}var r=this,s=r.define;r.define=void 0;var t=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},u=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},v=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},w=a("1e1"),x=a("36"),y=a("1f"),z=a("3b");!function(a){a[a.Character=0]="Character",a[a.Identifier=1]="Identifier",a[a.Keyword=2]="Keyword",a[a.String=3]="String",a[a.Operator=4]="Operator",a[a.Number=5]="Number"}(b.TokenType||(b.TokenType={}));var A=b.TokenType,B=function(){function a(){}return a.prototype.tokenize=function(a){for(var b=new V(a),c=[],d=b.scanToken();null!=d;)c.push(d),d=b.scanToken();return c},a=u([w.Injectable(),v("design:paramtypes",[])],a)}();b.Lexer=B;var C=function(){function a(a,b,c,d){this.index=a,this.type=b,this.numValue=c,this.strValue=d}return a.prototype.isCharacter=function(a){return this.type==A.Character&&this.numValue==a},a.prototype.isNumber=function(){return this.type==A.Number},a.prototype.isString=function(){return this.type==A.String},a.prototype.isOperator=function(a){return this.type==A.Operator&&this.strValue==a},a.prototype.isIdentifier=function(){return this.type==A.Identifier},a.prototype.isKeyword=function(){return this.type==A.Keyword},a.prototype.isKeywordVar=function(){return this.type==A.Keyword&&"var"==this.strValue},a.prototype.isKeywordNull=function(){return this.type==A.Keyword&&"null"==this.strValue},a.prototype.isKeywordUndefined=function(){return this.type==A.Keyword&&"undefined"==this.strValue},a.prototype.isKeywordTrue=function(){return this.type==A.Keyword&&"true"==this.strValue},a.prototype.isKeywordFalse=function(){return this.t
}return b.join("\n")},a.prototype.genContentLifecycleCallbacks=function(a){for(var b=[],c=f.IS_DART?"==":"===",d=a.length-1;d>=0;--d){var e=a[d];e.callAfterContentInit&&b.push("if("+this._names.getStateName()+" "+c+" "+this._changeDetectorStateName+".NeverChecked) "+this._names.getDirectiveName(e.directiveIndex)+".ngAfterContentInit();"),e.callAfterContentChecked&&b.push(this._names.getDirectiveName(e.directiveIndex)+".ngAfterContentChecked();")}return b},a.prototype.genViewLifecycleCallbacks=function(a){for(var b=[],c=f.IS_DART?"==":"===",d=a.length-1;d>=0;--d){var e=a[d];e.callAfterViewInit&&b.push("if("+this._names.getStateName()+" "+c+" "+this._changeDetectorStateName+".NeverChecked) "+this._names.getDirectiveName(e.directiveIndex)+".ngAfterViewInit();"),e.callAfterViewChecked&&b.push(this._names.getDirectiveName(e.directiveIndex)+".ngAfterViewChecked();")}return b},a}();return b.CodegenLogicUtil=k,d.define=e,c.exports}),a.registerDynamic("1e7",[],!0,function(a,b,c){"use strict";function d(a){return JSON.stringify(a)}function e(a){return"'"+a+"'"}function f(a){return a.join(" + ")}var g=this,h=g.define;return g.define=void 0,b.codify=d,b.rawString=e,b.combineGeneratedStrings=f,g.define=h,c.exports}),a.registerDynamic("1e3",["36","33"],!0,function(a,b,c){var d=this,e=d.define;return d.define=void 0,function(c){"use strict";var d=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},e=a("36"),f=function(){function a(){}return a.prototype.visit=function(a){return null},a.prototype.toString=function(){return"AST"},a}();b.AST=f;var g=function(a){function b(b,c,d){a.call(this),this.prefix=b,this.uninterpretedExpression=c,this.location=d}return d(b,a),b.prototype.visit=function(a){return a.visitQuote(this)},b.prototype.toString=function(){return"Quote"},b}(f);b.Quote=g;var h=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.visit=function(a){},b}(f);b.EmptyExpr=h;var i=function(a){function b(){a.apply(this,arguments)}return d(b,a),b.prototype.visit=function(a){return a.visitImplicitReceiver(this)},b}(f);b.ImplicitReceiver=i;var j=function(a){function b(b){a.call(this),this.expressions=b}return d(b,a),b.prototype.visit=function(a){return a.visitChain(this)},b}(f);b.Chain=j;var k=function(a){function b(b,c,d){a.call(this),this.condition=b,this.trueExp=c,this.falseExp=d}return d(b,a),b.prototype.visit=function(a){return a.visitConditional(this)},b}(f);b.Conditional=k;var l=function(a){function b(b,c,d){a.call(this),this.receiver=b,this.name=c,this.getter=d}return d(b,a),b.prototype.visit=function(a){return a.visitPropertyRead(this)},b}(f);b.PropertyRead=l;var m=function(a){function b(b,c,d,e){a.call(this),this.receiver=b,this.name=c,this.setter=d,this.value=e}return d(b,a),b.prototype.visit=function(a){return a.visitPropertyWrite(this)},b}(f);b.PropertyWrite=m;var n=function(a){function b(b,c,d){a.call(this),this.receiver=b,this.name=c,this.getter=d}return d(b,a),b.prototype.visit=function(a){return a.visitSafePropertyRead(this)},b}(f);b.SafePropertyRead=n;var o=function(a){function b(b,c){a.call(this),this.obj=b,this.key=c}return d(b,a),b.prototype.visit=function(a){return a.visitKeyedRead(this)},b}(f);b.KeyedRead=o;var p=function(a){function b(b,c,d){a.call(this),this.obj=b,this.key=c,this.value=d}return d(b,a),b.prototype.visit=function(a){return a.visitKeyedWrite(this)},b}(f);b.KeyedWrite=p;var q=function(a){function b(b,c,d){a.call(this),this.exp=b,this.name=c,this.args=d}return d(b,a),b.prototype.visit=function(a){return a.visitPipe(this)},b}(f);b.BindingPipe=q;var r=function(a){function b(b){a.call(this),this.value=b}return d(b,a),b.prototype.visit=function(a){return a.visitLiteralPrimitive(this)},b}(f);b.LiteralPrimitive=r;var s=function(a){function b(b){a.call(this),this.expressions=b}return d(b,a),b.prototype.visit=function(a){return a.visitLiteralArray(this)},b}(f);b.LiteralArray=s;var t=function(a){function b(b,c){a.call(this),this.keys=b,this.values=c}return
}return g},a.prototype._genChangeMarker=function(a){return a.argumentToPureFunction?this._names.getChangeName(a.selfIndex)+" = true":""},a.prototype._genUpdateDirectiveOrElement=function(a){if(!a.lastInBinding)return"";var b=this._names.getLocalName(a.selfIndex),c=this._names.getFieldName(a.selfIndex),d=this.genConfig.logBindingUpdate?"this.logBindingUpdate("+b+");":"",e=a.bindingRecord;if(e.target.isDirective()){var f=this._names.getDirectiveName(e.directiveRecord.directiveIndex)+"."+e.target.name;return"\n "+this._genThrowOnChangeCheck(c,b)+"\n "+f+" = "+b+";\n "+d+"\n "+q+" = true;\n "}return"\n "+this._genThrowOnChangeCheck(c,b)+"\n this.notifyDispatcher("+b+");\n "+d+"\n "},a.prototype._genThrowOnChangeCheck=function(a,b){return f.assertionsEnabled()?"\n if(throwOnChange) {\n this.throwOnChangeError("+a+", "+b+");\n }\n ":""},a.prototype._genAddToChanges=function(a){var b=this._names.getLocalName(a.selfIndex),c=this._names.getFieldName(a.selfIndex);return a.bindingRecord.callOnChanges()?r+" = this.addChange("+r+", "+c+", "+b+");":""},a.prototype._maybeFirstInBinding=function(a){var b=j.ChangeDetectionUtil.protoByIndex(this.records,a.selfIndex-1),c=f.isBlank(b)||b.bindingRecord!==a.bindingRecord;return c&&!a.bindingRecord.isDirectiveLifecycle()?this._names.getPropertyBindingIndex()+" = "+a.propertyBindingIndex+";":""},a.prototype._maybeGenLastInDirective=function(a){return a.lastInDirective?"\n "+r+" = null;\n "+this._genNotifyOnPushDetectors(a)+"\n "+q+" = false;\n ":""},a.prototype._genOnCheck=function(a){var b=a.bindingRecord;return"if (!throwOnChange) "+this._names.getDirectiveName(b.directiveRecord.directiveIndex)+".ngDoCheck();"},a.prototype._genOnInit=function(a){var b=a.bindingRecord;return"if (!throwOnChange && "+this._names.getStateName()+" === "+this.changeDetectorStateVarName+".NeverChecked) "+this._names.getDirectiveName(b.directiveRecord.directiveIndex)+".ngOnInit();"},a.prototype._genOnChange=function(a){var b=a.bindingRecord;return"if (!throwOnChange && "+r+") "+this._names.getDirectiveName(b.directiveRecord.directiveIndex)+".ngOnChanges("+r+");"},a.prototype._genNotifyOnPushDetectors=function(a){var b=a.bindingRecord;if(!a.lastInDirective||b.isDefaultChangeDetection())return"";var c="\n if("+q+") {\n "+this._names.getDetectorName(b.directiveRecord.directiveIndex)+".markAsCheckOnce();\n }\n ";return c},a}();return b.ChangeDetectorJITGenerator=s,d.define=e,c.exports}),a.registerDynamic("1f1",["84"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("84"),g=function(){function a(a){this.definition=a,this._factory=this._createFactory(a)}return a.isSupported=function(){return!0},a.prototype.instantiate=function(a){return this._factory(a)},a.prototype._createFactory=function(a){return new f.ChangeDetectorJITGenerator(a,"util","AbstractChangeDetector","ChangeDetectorStatus").generate()},a}();return b.JitProtoChangeDetector=g,d.define=e,c.exports}),a.registerDynamic("1f2",["3b"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=a("3b"),h=function(a){function b(b,c,d,e){a.call(this,"Expression '"+b+"' has changed after it was checked. "+("Previous value: '"+c+"'. Current value: '"+d+"'"))}return f(b,a),b}(g.BaseException);b.ExpressionChangedAfterItHasBeenCheckedException=h;var i=function(a){function b(b,c,d,e){a.call(this,c+" in ["+b+"]",c,d,e),this.location=b}return f(b,a),b}(g.WrappedException);b.ChangeDetectionError=i;var j=function(a){function b(){a.call(this,"Attempt to detect changes on a dehydrated detector.")}return f(b,a),b}(g.BaseException);return b.DehydratedException=j,d.define=e,c.exports}),a.registerDynamic("1f3",["1f"],!0,function(a,b,c){"use strict";function d(){var a=m.global.wtf;return a&&(k=a.trace)?(l=k.events,!0):!1}function
return b([a,c,d,e])};case 5:return function(a,c,d,e,f){return b([a,c,d,e,f])};case 6:return function(a,c,d,e,f,g){return b([a,c,d,e,f,g])};case 7:return function(a,c,d,e,f,g,h){return b([a,c,d,e,f,g,h])};case 8:return function(a,c,d,e,f,g,h,i){return b([a,c,d,e,f,g,h,i])};case 9:return function(a,c,d,e,f,g,h,i,j){return b([a,c,d,e,f,g,h,i,j])};default:throw new h.BaseException("Does not support literal maps with more than 9 elements")}},a.keyedAccess=function(a,b){return a[b[0]]},a.unwrapValue=function(a){return a instanceof n?a.wrapped:a},a.changeDetectionMode=function(a){return j.isDefaultChangeDetectionStrategy(a)?j.ChangeDetectionStrategy.CheckAlways:j.ChangeDetectionStrategy.CheckOnce},a.simpleChange=function(a,b){return d(a,b)},a.isValueBlank=function(a){return g.isBlank(a)},a.s=function(a){return g.isPresent(a)?""+a:""},a.protoByIndex=function(a,b){return 1>b?null:a[b-1]},a.callPipeOnDestroy=function(a){k.implementsOnDestroy(a.pipe)&&a.pipe.ngOnDestroy()},a.bindingTarget=function(a,b,c,d,e){return new l.BindingTarget(a,b,c,d,e)},a.directiveIndex=function(a,b){return new m.DirectiveIndex(a,b)},a.looseNotIdentical=function(a,b){return!g.looseIdentical(a,b)},a.uninitialized=g.CONST_EXPR(new Object),a}();return b.ChangeDetectionUtil=t,e.define=f,c.exports}),a.registerDynamic("6d",["1dc","1dd","1de","1df","1f","1e3","1e0","1e2","1e4","1f2","1c2","1e9","1ec","1f1","1f7","1ef","1ee","1f5","1ed"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("1dc"),g=a("1dd"),h=a("1de"),i=a("1df"),j=a("1f"),k=a("1e3");b.ASTWithSource=k.ASTWithSource,b.AST=k.AST,b.AstTransformer=k.AstTransformer,b.PropertyRead=k.PropertyRead,b.LiteralArray=k.LiteralArray,b.ImplicitReceiver=k.ImplicitReceiver;var l=a("1e0");b.Lexer=l.Lexer;var m=a("1e2");b.Parser=m.Parser;var n=a("1e4");b.Locals=n.Locals;var o=a("1f2");b.DehydratedException=o.DehydratedException,b.ExpressionChangedAfterItHasBeenCheckedException=o.ExpressionChangedAfterItHasBeenCheckedException,b.ChangeDetectionError=o.ChangeDetectionError;var p=a("1c2");b.ChangeDetectorDefinition=p.ChangeDetectorDefinition,b.DebugContext=p.DebugContext,b.ChangeDetectorGenConfig=p.ChangeDetectorGenConfig;var q=a("1e9");b.ChangeDetectionStrategy=q.ChangeDetectionStrategy,b.CHANGE_DETECTION_STRATEGY_VALUES=q.CHANGE_DETECTION_STRATEGY_VALUES;var r=a("1ec");b.DynamicProtoChangeDetector=r.DynamicProtoChangeDetector;var s=a("1f1");b.JitProtoChangeDetector=s.JitProtoChangeDetector;var t=a("1f7");b.BindingRecord=t.BindingRecord,b.BindingTarget=t.BindingTarget;var u=a("1ef");b.DirectiveIndex=u.DirectiveIndex,b.DirectiveRecord=u.DirectiveRecord;var v=a("1ee");b.DynamicChangeDetector=v.DynamicChangeDetector;var w=a("1f5");b.ChangeDetectorRef=w.ChangeDetectorRef;var x=a("1dc");b.IterableDiffers=x.IterableDiffers;var y=a("1de");b.KeyValueDiffers=y.KeyValueDiffers;var z=a("1ed");return b.WrappedValue=z.WrappedValue,b.SimpleChange=z.SimpleChange,b.keyValDiff=j.CONST_EXPR([j.CONST_EXPR(new i.DefaultKeyValueDifferFactory)]),b.iterableDiff=j.CONST_EXPR([j.CONST_EXPR(new g.DefaultIterableDifferFactory)]),b.defaultIterableDiffers=j.CONST_EXPR(new f.IterableDiffers(b.iterableDiff)),b.defaultKeyValueDiffers=j.CONST_EXPR(new h.KeyValueDiffers(b.keyValDiff)),d.define=e,c.exports}),a.registerDynamic("1f8",["6d"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("6d");return b.ChangeDetectionStrategy=f.ChangeDetectionStrategy,b.ExpressionChangedAfterItHasBeenCheckedException=f.ExpressionChangedAfterItHasBeenCheckedException,b.ChangeDetectionError=f.ChangeDetectionError,b.ChangeDetectorRef=f.ChangeDetectorRef,b.WrappedValue=f.WrappedValue,b.SimpleChange=f.SimpleChange,b.IterableDiffers=f.IterableDiffers,b.KeyValueDiffers=f.KeyValueDiffers,d.define=e,c.exports}),a.registerDynamic("7c",["1f","1db","1f8"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__extends||function(a,b){function c(){this.constructor=a}for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);a.prototype=null===b?Object.create(b):(c.prototype=b.prototype,new c)},g=this&&this._
},a.prototype._getByKeyDefault=function(a,c,d,e){var f=this;for(e instanceof k.SkipSelfMetadata&&(d=f._isHost?m.PublicAndPrivate:m.Public,f=f._parent);null!=f;){var g=f._strategy.getObjByKeyId(a.id,d);if(g!==b.UNDEFINED)return g;d=f._isHost?m.PublicAndPrivate:m.Public,f=f._parent}return this._throwOrNull(a,c)},Object.defineProperty(a.prototype,"displayName",{get:function(){return"Injector(providers: ["+e(this,function(a){return' "'+a.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),a.prototype.toString=function(){return this.displayName},a}();b.Injector=t;var u=j.Key.get(t)}(a("33")),d.define=e,c.exports}),a.registerDynamic("1db",["1f"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=this&&this.__decorate||function(a,b,c,d){var e,f=arguments.length,g=3>f?b:null===d?d=Object.getOwnPropertyDescriptor(b,c):d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)g=Reflect.decorate(a,b,c,d);else for(var h=a.length-1;h>=0;h--)(e=a[h])&&(g=(3>f?e(g):f>3?e(b,c,g):e(b,c))||g);return f>3&&g&&Object.defineProperty(b,c,g),g},g=this&&this.__metadata||function(a,b){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(a,b):void 0},h=a("1f"),i=function(){function a(a){this.token=a}return a.prototype.toString=function(){return"@Inject("+h.stringify(this.token)+")"},a=f([h.CONST(),g("design:paramtypes",[Object])],a)}();b.InjectMetadata=i;var j=function(){function a(){}return a.prototype.toString=function(){return"@Optional()"},a=f([h.CONST(),g("design:paramtypes",[])],a)}();b.OptionalMetadata=j;var k=function(){function a(){}return Object.defineProperty(a.prototype,"token",{get:function(){return null},enumerable:!0,configurable:!0}),a=f([h.CONST(),g("design:paramtypes",[])],a)}();b.DependencyMetadata=k;var l=function(){function a(){}return a=f([h.CONST(),g("design:paramtypes",[])],a)}();b.InjectableMetadata=l;var m=function(){function a(){}return a.prototype.toString=function(){return"@Self()"},a=f([h.CONST(),g("design:paramtypes",[])],a)}();b.SelfMetadata=m;var n=function(){function a(){}return a.prototype.toString=function(){return"@SkipSelf()"},a=f([h.CONST(),g("design:paramtypes",[])],a)}();b.SkipSelfMetadata=n;var o=function(){function a(){}return a.prototype.toString=function(){return"@Host()"},a=f([h.CONST(),g("design:paramtypes",[])],a)}();return b.HostMetadata=o,d.define=e,c.exports}),a.registerDynamic("1d7",["1f","3b","36","80","1fd","1db","1fc","1fe"],!0,function(a,b,c){"use strict";function d(a){return new I(a)}function e(a,b){var c=b.useClass,d=b.useValue,e=b.useExisting,f=b.useFactory,g=b.deps,h=b.multi;return new E(a,{useClass:c,useValue:d,useExisting:e,useFactory:f,deps:g,multi:h})}function f(a){var b,c;if(u.isPresent(a.useClass)){var d=B.resolveForwardRef(a.useClass);b=x.reflector.factory(d),c=m(d)}else u.isPresent(a.useExisting)?(b=function(a){return a},c=[C.fromKey(y.Key.get(a.useExisting))]):u.isPresent(a.useFactory)?(b=a.useFactory,c=l(a.useFactory,a.dependencies)):(b=function(){return a.useValue},c=D);return new H(b,c)}function g(a){return new G(y.Key.get(a.token),[f(a)],!1)}function h(a){var b=i(j(a,new Map));return b.map(function(a){if(a instanceof J)return new G(a.key,[a.resolvedFactory],!1);var b=a;return new G(b[0].key,b.map(function(a){return a.resolvedFactory}),!0)})}function i(a){return w.MapWrapper.values(a)}function j(a,b){return a.forEach(function(a){if(a instanceof u.Type)k(e(a,{useClass:a}),b);else if(a instanceof E)k(a,b);else{if(!(a instanceof Array))throw a instanceof I?new A.InvalidProviderError(a.token):new A.InvalidProviderError(a);j(a,b)}}),b}function k(a,b){var c=y.Key.get(a.token),d=f(a),e=new J(c,d);if(a.multi){var g=b.get(c.id);if(g instanceof Array)g.push(e);else{if(!u.isBlank(g))throw new A.MixingMultiProvidersWithRegularProvidersError(g,a);b.set(c.id,[e])}}else{var g=b.get(c.id);if(g instanceof Array)throw new A.MixingMultiProvidersWithRegularProvidersError(g,a);b.set(c.id,e)}}function l(a,b){if(u.isBlank(b))return m(a);var c=b.map(function(a){return[a]});return b.map(function(b){return n(a,b,c)})
2016-01-20 18:09:02 +03:00
}return f(b,a),Object.defineProperty(b.prototype,"hostComponentType",{get:function(){return this.componentType},enumerable:!0,configurable:!0}),b.prototype.dispose=function(){this._dispose()},b}(m);b.ComponentRef_=n;var o=function(){function a(){}return a}();b.DynamicComponentLoader=o;var p=function(a){function b(b,c){a.call(this),this._compiler=b,this._viewManager=c}return f(b,a),b.prototype.loadAsRoot=function(a,b,c,d){var e=this;return this._compiler.compileInHost(a).then(function(f){var g=e._viewManager.createRootHostView(f,b,c),h=e._viewManager.getHostElement(g),i=e._viewManager.getComponent(h),j=function(){k.isPresent(d)&&d(),e._viewManager.destroyRootHostView(g)};return new n(h,i,a,c,j)})},b.prototype.loadIntoLocation=function(a,b,c,d){return void 0===d&&(d=null),this.loadNextToLocation(a,this._viewManager.getNamedElementInComponentView(b,c),d)},b.prototype.loadNextToLocation=function(a,b,c){var d=this;return void 0===c&&(c=null),this._compiler.compileInHost(a).then(function(e){var f=d._viewManager.getViewContainer(b),g=f.createHostView(e,f.length,c),h=d._viewManager.getHostElement(g),i=d._viewManager.getComponent(h),j=function(){var a=f.indexOf(g);-1!==a&&f.remove(a)};return new n(h,i,a,null,j)})},b=g([i.Injectable(),h("design:paramtypes",[j.Compiler,l.AppViewManager])],b)}(o);return b.DynamicComponentLoader_=p,d.define=e,c.exports}),a.registerDynamic("201",["1f","38","87","6d","1bf","1b5","1bc","7e","54","60","7d","1da","5f","1af"],!0,function(a,b,c){"use strict";var d=this,e=d.define;d.define=void 0;var f=a("1f"),g=a("38"),h=a("87"),i=a("6d"),j=a("1bf"),k=a("1b5"),l=a("1b5"),m=a("1bc"),n=a("7e"),o=a("54"),p=a("60"),q=a("7d"),r=a("1da"),s=a("5f"),t=a("5f"),u=a("1af"),v=a("1af");return b.APPLICATION_COMMON_PROVIDERS=f.CONST_EXPR([new g.Provider(s.Compiler,{useClass:t.Compiler_}),h.APP_ID_RANDOM_PROVIDER,j.AppViewPool,new g.Provider(j.APP_VIEW_POOL_CAPACITY,{useValue:1e4}),new g.Provider(k.AppViewManager,{useClass:l.AppViewManager_}),m.AppViewManagerUtils,o.AppViewListener,p.ProtoViewFactory,n.ViewResolver,new g.Provider(i.IterableDiffers,{useValue:i.defaultIterableDiffers}),new g.Provider(i.KeyValueDiffers,{useValue:i.defaultKeyValueDiffers}),q.DirectiveResolver,r.PipeResolver,new g.Provider(u.DynamicComponentLoader,{useClass:v.DynamicComponentLoader_})]),d.define=e,c.exports}),a.registerDynamic("202",["1f","3b","36"],!0,function(a,b,c){"use strict";function d(a,b){i.StringMapWrapper.forEach(b,function(b,c){return a.set(c,b)})}var e=this,f=e.define;e.define=void 0;var g=a("1f"),h=a("3b"),i=a("36"),j=function(){function a(a,b,c,d,e){this.annotations=a,this.parameters=b,this.factory=c,this.interfaces=d,this.propMetadata=e}return a}();b.ReflectionInfo=j;var k=function(){function a(a){this._injectableInfo=new i.Map,this._getters=new i.Map,this._setters=new i.Map,this._methods=new i.Map,this._usedKeys=null,this.reflectionCapabilities=a}return a.prototype.isReflectionEnabled=function(){return this.reflectionCapabilities.isReflectionEnabled()},a.prototype.trackUsage=function(){this._usedKeys=new i.Set},a.prototype.listUnusedKeys=function(){var a=this;if(null==this._usedKeys)throw new h.BaseException("Usage tracking is disabled");var b=i.MapWrapper.keys(this._injectableInfo);return b.filter(function(b){return!i.SetWrapper.has(a._usedKeys,b)})},a.prototype.registerFunction=function(a,b){this._injectableInfo.set(a,b)},a.prototype.registerType=function(a,b){this._injectableInfo.set(a,b)},a.prototype.registerGetters=function(a){d(this._getters,a)},a.prototype.registerSetters=function(a){d(this._setters,a)},a.prototype.registerMethods=function(a){d(this._methods,a)},a.prototype.factory=function(a){if(this._containsReflectionInfo(a)){var b=this._getReflectionInfo(a).factory;return g.isPresent(b)?b:null}return this.reflectionCapabilities.factory(a)},a.prototype.parameters=function(a){if(this._injectableInfo.has(a)){var b=this._getReflectionInfo(a).parameters;return g.isPresent(b)?b:[]}return this.reflectionCapabilities.parameters(a)},a.prototype.annotations=function(a){if(this._injectableInfo.has(a)){var b=this._getReflectionI
2016-01-18 18:56:48 +03:00
2016-01-06 19:26:02 +03:00
//# sourceMappingURL=redoc.full.min.js.map