1 | function __assignFn(t) {
|
2 | for (var s, i = 1, n = arguments.length; i < n; i++) {
|
3 | s = arguments[i];
|
4 | for (var p in s)
|
5 | if (Object.prototype.hasOwnProperty.call(s, p))
|
6 | t[p] = s[p];
|
7 | }
|
8 | return t;
|
9 | }
|
10 | function __extendsFn(d, b) {
|
11 | for (var p in b)
|
12 | if (b.hasOwnProperty(p))
|
13 | d[p] = b[p];
|
14 | function __() { this.constructor = d; }
|
15 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
16 | }
|
17 | function __decorateFn(decorators, target, key, desc) {
|
18 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
19 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
20 | r = Reflect.decorate(decorators, target, key, desc);
|
21 | else
|
22 | for (var i = decorators.length - 1; i >= 0; i--)
|
23 | if (d = decorators[i])
|
24 | r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
25 | return c > 3 && r && Object.defineProperty(target, key, r), r;
|
26 | }
|
27 | function __metadataFn(k, v) {
|
28 | if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
29 | return Reflect.metadata(k, v);
|
30 | }
|
31 | function __paramFn(paramIndex, decorator) {
|
32 | return function (target, key) { decorator(target, key, paramIndex); };
|
33 | }
|
34 | function __awaiterFn(thisArg, _arguments, P, generator) {
|
35 | return new (P || (P = Promise))(function (resolve, reject) {
|
36 | function fulfilled(value) { try {
|
37 | step(generator.next(value));
|
38 | }
|
39 | catch (e) {
|
40 | reject(e);
|
41 | } }
|
42 | function rejected(value) { try {
|
43 | step(generator.throw(value));
|
44 | }
|
45 | catch (e) {
|
46 | reject(e);
|
47 | } }
|
48 | function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
49 | step((generator = generator.apply(thisArg, _arguments)).next());
|
50 | });
|
51 | }
|
52 |
|
53 | (function (__global) {
|
54 | __global.__assign = (__global && __global.__assign) || Object.assign || __assignFn;
|
55 | __global.__extends = (__global && __global.__extends) || __extendsFn;
|
56 | __global.__decorate = (__global && __global.__decorate) || __decorateFn;
|
57 | __global.__metadata = (__global && __global.__metadata) || __metadataFn;
|
58 | __global.__param = (__global && __global.__param) || __paramFn;
|
59 | __global.__awaiter = (__global && __global.__awaiter) || __awaiterFn;
|
60 | })(typeof window !== "undefined" ? window :
|
61 | typeof WorkerGlobalScope !== "undefined" ? self :
|
62 | typeof global !== "undefined" ? global :
|
63 | Function("return this;")());
|