1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export const __assign = Object.assign || function (t) {
|
17 | for (var s, i = 1, n = arguments.length; i < n; i++) {
|
18 | s = arguments[i];
|
19 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
20 | }
|
21 | return t;
|
22 | };
|
23 |
|
24 | export const __decorate = function (decorators, target, key, desc) {
|
25 | var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
26 | if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
27 | else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
28 | return c > 3 && r && Object.defineProperty(target, key, r), r;
|
29 | };
|
30 |
|
31 | export const __param = function (paramIndex, decorator) {
|
32 | return function (target, key) { decorator(target, key, paramIndex); }
|
33 | };
|
34 |
|
35 | export const __metadata = function (metadataKey, metadataValue) {
|
36 | if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
37 | };
|
38 |
|
39 | export const __awaiter = function (thisArg, _arguments, P, generator) {
|
40 | return new (P || (P = Promise))(function (resolve, reject) {
|
41 | function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
42 | function rejected(value) { try { step(generator.throw(value)); } catch (e) { reject(e); } }
|
43 | function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
|
44 | step((generator = generator.apply(thisArg, _arguments)).next());
|
45 | });
|
46 | }; |
\ | No newline at end of file |