Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tslib.es6.js 9.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. /*! *****************************************************************************
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  4. this file except in compliance with the License. You may obtain a copy of the
  5. License at http://www.apache.org/licenses/LICENSE-2.0
  6. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  7. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  8. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  9. MERCHANTABLITY OR NON-INFRINGEMENT.
  10. See the Apache Version 2.0 License for specific language governing permissions
  11. and limitations under the License.
  12. ***************************************************************************** */
  13. /* global Reflect, Promise */
  14. var extendStatics = function(d, b) {
  15. extendStatics = Object.setPrototypeOf ||
  16. ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
  17. function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
  18. return extendStatics(d, b);
  19. };
  20. export function __extends(d, b) {
  21. extendStatics(d, b);
  22. function __() { this.constructor = d; }
  23. d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
  24. }
  25. export var __assign = function() {
  26. __assign = Object.assign || function __assign(t) {
  27. for (var s, i = 1, n = arguments.length; i < n; i++) {
  28. s = arguments[i];
  29. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
  30. }
  31. return t;
  32. }
  33. return __assign.apply(this, arguments);
  34. }
  35. export function __rest(s, e) {
  36. var t = {};
  37. for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
  38. t[p] = s[p];
  39. if (s != null && typeof Object.getOwnPropertySymbols === "function")
  40. for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
  41. if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
  42. t[p[i]] = s[p[i]];
  43. }
  44. return t;
  45. }
  46. export function __decorate(decorators, target, key, desc) {
  47. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  48. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  49. 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;
  50. return c > 3 && r && Object.defineProperty(target, key, r), r;
  51. }
  52. export function __param(paramIndex, decorator) {
  53. return function (target, key) { decorator(target, key, paramIndex); }
  54. }
  55. export function __metadata(metadataKey, metadataValue) {
  56. if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
  57. }
  58. export function __awaiter(thisArg, _arguments, P, generator) {
  59. return new (P || (P = Promise))(function (resolve, reject) {
  60. function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
  61. function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
  62. function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
  63. step((generator = generator.apply(thisArg, _arguments || [])).next());
  64. });
  65. }
  66. export function __generator(thisArg, body) {
  67. var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
  68. return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
  69. function verb(n) { return function (v) { return step([n, v]); }; }
  70. function step(op) {
  71. if (f) throw new TypeError("Generator is already executing.");
  72. while (_) try {
  73. if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
  74. if (y = 0, t) op = [op[0] & 2, t.value];
  75. switch (op[0]) {
  76. case 0: case 1: t = op; break;
  77. case 4: _.label++; return { value: op[1], done: false };
  78. case 5: _.label++; y = op[1]; op = [0]; continue;
  79. case 7: op = _.ops.pop(); _.trys.pop(); continue;
  80. default:
  81. if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
  82. if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
  83. if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
  84. if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
  85. if (t[2]) _.ops.pop();
  86. _.trys.pop(); continue;
  87. }
  88. op = body.call(thisArg, _);
  89. } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
  90. if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
  91. }
  92. }
  93. export function __exportStar(m, exports) {
  94. for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
  95. }
  96. export function __values(o) {
  97. var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0;
  98. if (m) return m.call(o);
  99. return {
  100. next: function () {
  101. if (o && i >= o.length) o = void 0;
  102. return { value: o && o[i++], done: !o };
  103. }
  104. };
  105. }
  106. export function __read(o, n) {
  107. var m = typeof Symbol === "function" && o[Symbol.iterator];
  108. if (!m) return o;
  109. var i = m.call(o), r, ar = [], e;
  110. try {
  111. while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
  112. }
  113. catch (error) { e = { error: error }; }
  114. finally {
  115. try {
  116. if (r && !r.done && (m = i["return"])) m.call(i);
  117. }
  118. finally { if (e) throw e.error; }
  119. }
  120. return ar;
  121. }
  122. export function __spread() {
  123. for (var ar = [], i = 0; i < arguments.length; i++)
  124. ar = ar.concat(__read(arguments[i]));
  125. return ar;
  126. }
  127. export function __spreadArrays() {
  128. for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
  129. for (var r = Array(s), k = 0, i = 0; i < il; i++)
  130. for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
  131. r[k] = a[j];
  132. return r;
  133. };
  134. export function __await(v) {
  135. return this instanceof __await ? (this.v = v, this) : new __await(v);
  136. }
  137. export function __asyncGenerator(thisArg, _arguments, generator) {
  138. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  139. var g = generator.apply(thisArg, _arguments || []), i, q = [];
  140. return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
  141. function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
  142. function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
  143. function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
  144. function fulfill(value) { resume("next", value); }
  145. function reject(value) { resume("throw", value); }
  146. function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
  147. }
  148. export function __asyncDelegator(o) {
  149. var i, p;
  150. return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
  151. function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
  152. }
  153. export function __asyncValues(o) {
  154. if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
  155. var m = o[Symbol.asyncIterator], i;
  156. return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
  157. function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
  158. function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
  159. }
  160. export function __makeTemplateObject(cooked, raw) {
  161. if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
  162. return cooked;
  163. };
  164. export function __importStar(mod) {
  165. if (mod && mod.__esModule) return mod;
  166. var result = {};
  167. if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
  168. result.default = mod;
  169. return result;
  170. }
  171. export function __importDefault(mod) {
  172. return (mod && mod.__esModule) ? mod : { default: mod };
  173. }