oro-sdk-apis 8.0.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,304 +21,304 @@ function hashToBase64String(value) {
21
21
 
22
22
  function _regeneratorRuntime() {
23
23
  _regeneratorRuntime = function () {
24
- return exports;
25
- };
26
- var exports = {},
27
- Op = Object.prototype,
28
- hasOwn = Op.hasOwnProperty,
29
- defineProperty = Object.defineProperty || function (obj, key, desc) {
30
- obj[key] = desc.value;
24
+ return e;
25
+ };
26
+ var t,
27
+ e = {},
28
+ r = Object.prototype,
29
+ n = r.hasOwnProperty,
30
+ o = Object.defineProperty || function (t, e, r) {
31
+ t[e] = r.value;
31
32
  },
32
- $Symbol = "function" == typeof Symbol ? Symbol : {},
33
- iteratorSymbol = $Symbol.iterator || "@@iterator",
34
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
35
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
36
- function define(obj, key, value) {
37
- return Object.defineProperty(obj, key, {
38
- value: value,
33
+ i = "function" == typeof Symbol ? Symbol : {},
34
+ a = i.iterator || "@@iterator",
35
+ c = i.asyncIterator || "@@asyncIterator",
36
+ u = i.toStringTag || "@@toStringTag";
37
+ function define(t, e, r) {
38
+ return Object.defineProperty(t, e, {
39
+ value: r,
39
40
  enumerable: !0,
40
41
  configurable: !0,
41
42
  writable: !0
42
- }), obj[key];
43
+ }), t[e];
43
44
  }
44
45
  try {
45
46
  define({}, "");
46
- } catch (err) {
47
- define = function (obj, key, value) {
48
- return obj[key] = value;
47
+ } catch (t) {
48
+ define = function (t, e, r) {
49
+ return t[e] = r;
49
50
  };
50
51
  }
51
- function wrap(innerFn, outerFn, self, tryLocsList) {
52
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
53
- generator = Object.create(protoGenerator.prototype),
54
- context = new Context(tryLocsList || []);
55
- return defineProperty(generator, "_invoke", {
56
- value: makeInvokeMethod(innerFn, self, context)
57
- }), generator;
52
+ function wrap(t, e, r, n) {
53
+ var i = e && e.prototype instanceof Generator ? e : Generator,
54
+ a = Object.create(i.prototype),
55
+ c = new Context(n || []);
56
+ return o(a, "_invoke", {
57
+ value: makeInvokeMethod(t, r, c)
58
+ }), a;
58
59
  }
59
- function tryCatch(fn, obj, arg) {
60
+ function tryCatch(t, e, r) {
60
61
  try {
61
62
  return {
62
63
  type: "normal",
63
- arg: fn.call(obj, arg)
64
+ arg: t.call(e, r)
64
65
  };
65
- } catch (err) {
66
+ } catch (t) {
66
67
  return {
67
68
  type: "throw",
68
- arg: err
69
+ arg: t
69
70
  };
70
71
  }
71
72
  }
72
- exports.wrap = wrap;
73
- var ContinueSentinel = {};
73
+ e.wrap = wrap;
74
+ var h = "suspendedStart",
75
+ l = "suspendedYield",
76
+ f = "executing",
77
+ s = "completed",
78
+ y = {};
74
79
  function Generator() {}
75
80
  function GeneratorFunction() {}
76
81
  function GeneratorFunctionPrototype() {}
77
- var IteratorPrototype = {};
78
- define(IteratorPrototype, iteratorSymbol, function () {
82
+ var p = {};
83
+ define(p, a, function () {
79
84
  return this;
80
85
  });
81
- var getProto = Object.getPrototypeOf,
82
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
83
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
84
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
85
- function defineIteratorMethods(prototype) {
86
- ["next", "throw", "return"].forEach(function (method) {
87
- define(prototype, method, function (arg) {
88
- return this._invoke(method, arg);
86
+ var d = Object.getPrototypeOf,
87
+ v = d && d(d(values([])));
88
+ v && v !== r && n.call(v, a) && (p = v);
89
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
90
+ function defineIteratorMethods(t) {
91
+ ["next", "throw", "return"].forEach(function (e) {
92
+ define(t, e, function (t) {
93
+ return this._invoke(e, t);
89
94
  });
90
95
  });
91
96
  }
92
- function AsyncIterator(generator, PromiseImpl) {
93
- function invoke(method, arg, resolve, reject) {
94
- var record = tryCatch(generator[method], generator, arg);
95
- if ("throw" !== record.type) {
96
- var result = record.arg,
97
- value = result.value;
98
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
99
- invoke("next", value, resolve, reject);
100
- }, function (err) {
101
- invoke("throw", err, resolve, reject);
102
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
103
- result.value = unwrapped, resolve(result);
104
- }, function (error) {
105
- return invoke("throw", error, resolve, reject);
97
+ function AsyncIterator(t, e) {
98
+ function invoke(r, o, i, a) {
99
+ var c = tryCatch(t[r], t, o);
100
+ if ("throw" !== c.type) {
101
+ var u = c.arg,
102
+ h = u.value;
103
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
104
+ invoke("next", t, i, a);
105
+ }, function (t) {
106
+ invoke("throw", t, i, a);
107
+ }) : e.resolve(h).then(function (t) {
108
+ u.value = t, i(u);
109
+ }, function (t) {
110
+ return invoke("throw", t, i, a);
106
111
  });
107
112
  }
108
- reject(record.arg);
113
+ a(c.arg);
109
114
  }
110
- var previousPromise;
111
- defineProperty(this, "_invoke", {
112
- value: function (method, arg) {
115
+ var r;
116
+ o(this, "_invoke", {
117
+ value: function (t, n) {
113
118
  function callInvokeWithMethodAndArg() {
114
- return new PromiseImpl(function (resolve, reject) {
115
- invoke(method, arg, resolve, reject);
119
+ return new e(function (e, r) {
120
+ invoke(t, n, e, r);
116
121
  });
117
122
  }
118
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
123
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
119
124
  }
120
125
  });
121
126
  }
122
- function makeInvokeMethod(innerFn, self, context) {
123
- var state = "suspendedStart";
124
- return function (method, arg) {
125
- if ("executing" === state) throw new Error("Generator is already running");
126
- if ("completed" === state) {
127
- if ("throw" === method) throw arg;
128
- return doneResult();
127
+ function makeInvokeMethod(e, r, n) {
128
+ var o = h;
129
+ return function (i, a) {
130
+ if (o === f) throw new Error("Generator is already running");
131
+ if (o === s) {
132
+ if ("throw" === i) throw a;
133
+ return {
134
+ value: t,
135
+ done: !0
136
+ };
129
137
  }
130
- for (context.method = method, context.arg = arg;;) {
131
- var delegate = context.delegate;
132
- if (delegate) {
133
- var delegateResult = maybeInvokeDelegate(delegate, context);
134
- if (delegateResult) {
135
- if (delegateResult === ContinueSentinel) continue;
136
- return delegateResult;
138
+ for (n.method = i, n.arg = a;;) {
139
+ var c = n.delegate;
140
+ if (c) {
141
+ var u = maybeInvokeDelegate(c, n);
142
+ if (u) {
143
+ if (u === y) continue;
144
+ return u;
137
145
  }
138
146
  }
139
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
140
- if ("suspendedStart" === state) throw state = "completed", context.arg;
141
- context.dispatchException(context.arg);
142
- } else "return" === context.method && context.abrupt("return", context.arg);
143
- state = "executing";
144
- var record = tryCatch(innerFn, self, context);
145
- if ("normal" === record.type) {
146
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
147
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
148
+ if (o === h) throw o = s, n.arg;
149
+ n.dispatchException(n.arg);
150
+ } else "return" === n.method && n.abrupt("return", n.arg);
151
+ o = f;
152
+ var p = tryCatch(e, r, n);
153
+ if ("normal" === p.type) {
154
+ if (o = n.done ? s : l, p.arg === y) continue;
147
155
  return {
148
- value: record.arg,
149
- done: context.done
156
+ value: p.arg,
157
+ done: n.done
150
158
  };
151
159
  }
152
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
160
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
153
161
  }
154
162
  };
155
163
  }
156
- function maybeInvokeDelegate(delegate, context) {
157
- var methodName = context.method,
158
- method = delegate.iterator[methodName];
159
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
160
- var record = tryCatch(method, delegate.iterator, context.arg);
161
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
162
- var info = record.arg;
163
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
164
- }
165
- function pushTryEntry(locs) {
166
- var entry = {
167
- tryLoc: locs[0]
164
+ function maybeInvokeDelegate(e, r) {
165
+ var n = r.method,
166
+ o = e.iterator[n];
167
+ if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
168
+ var i = tryCatch(o, e.iterator, r.arg);
169
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
170
+ var a = i.arg;
171
+ return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
172
+ }
173
+ function pushTryEntry(t) {
174
+ var e = {
175
+ tryLoc: t[0]
168
176
  };
169
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
177
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
170
178
  }
171
- function resetTryEntry(entry) {
172
- var record = entry.completion || {};
173
- record.type = "normal", delete record.arg, entry.completion = record;
179
+ function resetTryEntry(t) {
180
+ var e = t.completion || {};
181
+ e.type = "normal", delete e.arg, t.completion = e;
174
182
  }
175
- function Context(tryLocsList) {
183
+ function Context(t) {
176
184
  this.tryEntries = [{
177
185
  tryLoc: "root"
178
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
179
- }
180
- function values(iterable) {
181
- if (iterable) {
182
- var iteratorMethod = iterable[iteratorSymbol];
183
- if (iteratorMethod) return iteratorMethod.call(iterable);
184
- if ("function" == typeof iterable.next) return iterable;
185
- if (!isNaN(iterable.length)) {
186
- var i = -1,
187
- next = function next() {
188
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
189
- return next.value = undefined, next.done = !0, next;
186
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
187
+ }
188
+ function values(e) {
189
+ if (e || "" === e) {
190
+ var r = e[a];
191
+ if (r) return r.call(e);
192
+ if ("function" == typeof e.next) return e;
193
+ if (!isNaN(e.length)) {
194
+ var o = -1,
195
+ i = function next() {
196
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
197
+ return next.value = t, next.done = !0, next;
190
198
  };
191
- return next.next = next;
199
+ return i.next = i;
192
200
  }
193
201
  }
194
- return {
195
- next: doneResult
196
- };
202
+ throw new TypeError(typeof e + " is not iterable");
197
203
  }
198
- function doneResult() {
199
- return {
200
- value: undefined,
201
- done: !0
202
- };
203
- }
204
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
204
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
205
205
  value: GeneratorFunctionPrototype,
206
206
  configurable: !0
207
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
207
+ }), o(GeneratorFunctionPrototype, "constructor", {
208
208
  value: GeneratorFunction,
209
209
  configurable: !0
210
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
211
- var ctor = "function" == typeof genFun && genFun.constructor;
212
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
213
- }, exports.mark = function (genFun) {
214
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
215
- }, exports.awrap = function (arg) {
210
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
211
+ var e = "function" == typeof t && t.constructor;
212
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
213
+ }, e.mark = function (t) {
214
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
215
+ }, e.awrap = function (t) {
216
216
  return {
217
- __await: arg
217
+ __await: t
218
218
  };
219
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
219
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
220
220
  return this;
221
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
222
- void 0 === PromiseImpl && (PromiseImpl = Promise);
223
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
224
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
225
- return result.done ? result.value : iter.next();
221
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
222
+ void 0 === i && (i = Promise);
223
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
224
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
225
+ return t.done ? t.value : a.next();
226
226
  });
227
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
227
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
228
228
  return this;
229
- }), define(Gp, "toString", function () {
229
+ }), define(g, "toString", function () {
230
230
  return "[object Generator]";
231
- }), exports.keys = function (val) {
232
- var object = Object(val),
233
- keys = [];
234
- for (var key in object) keys.push(key);
235
- return keys.reverse(), function next() {
236
- for (; keys.length;) {
237
- var key = keys.pop();
238
- if (key in object) return next.value = key, next.done = !1, next;
231
+ }), e.keys = function (t) {
232
+ var e = Object(t),
233
+ r = [];
234
+ for (var n in e) r.push(n);
235
+ return r.reverse(), function next() {
236
+ for (; r.length;) {
237
+ var t = r.pop();
238
+ if (t in e) return next.value = t, next.done = !1, next;
239
239
  }
240
240
  return next.done = !0, next;
241
241
  };
242
- }, exports.values = values, Context.prototype = {
242
+ }, e.values = values, Context.prototype = {
243
243
  constructor: Context,
244
- reset: function (skipTempReset) {
245
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
244
+ reset: function (e) {
245
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
246
246
  },
247
247
  stop: function () {
248
248
  this.done = !0;
249
- var rootRecord = this.tryEntries[0].completion;
250
- if ("throw" === rootRecord.type) throw rootRecord.arg;
249
+ var t = this.tryEntries[0].completion;
250
+ if ("throw" === t.type) throw t.arg;
251
251
  return this.rval;
252
252
  },
253
- dispatchException: function (exception) {
254
- if (this.done) throw exception;
255
- var context = this;
256
- function handle(loc, caught) {
257
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
253
+ dispatchException: function (e) {
254
+ if (this.done) throw e;
255
+ var r = this;
256
+ function handle(n, o) {
257
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
258
258
  }
259
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
260
- var entry = this.tryEntries[i],
261
- record = entry.completion;
262
- if ("root" === entry.tryLoc) return handle("end");
263
- if (entry.tryLoc <= this.prev) {
264
- var hasCatch = hasOwn.call(entry, "catchLoc"),
265
- hasFinally = hasOwn.call(entry, "finallyLoc");
266
- if (hasCatch && hasFinally) {
267
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
268
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
269
- } else if (hasCatch) {
270
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
259
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
260
+ var i = this.tryEntries[o],
261
+ a = i.completion;
262
+ if ("root" === i.tryLoc) return handle("end");
263
+ if (i.tryLoc <= this.prev) {
264
+ var c = n.call(i, "catchLoc"),
265
+ u = n.call(i, "finallyLoc");
266
+ if (c && u) {
267
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
268
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
269
+ } else if (c) {
270
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
271
271
  } else {
272
- if (!hasFinally) throw new Error("try statement without catch or finally");
273
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
272
+ if (!u) throw new Error("try statement without catch or finally");
273
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
274
274
  }
275
275
  }
276
276
  }
277
277
  },
278
- abrupt: function (type, arg) {
279
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
280
- var entry = this.tryEntries[i];
281
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
282
- var finallyEntry = entry;
278
+ abrupt: function (t, e) {
279
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
280
+ var o = this.tryEntries[r];
281
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
282
+ var i = o;
283
283
  break;
284
284
  }
285
285
  }
286
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
287
- var record = finallyEntry ? finallyEntry.completion : {};
288
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
286
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
287
+ var a = i ? i.completion : {};
288
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
289
289
  },
290
- complete: function (record, afterLoc) {
291
- if ("throw" === record.type) throw record.arg;
292
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
290
+ complete: function (t, e) {
291
+ if ("throw" === t.type) throw t.arg;
292
+ return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
293
293
  },
294
- finish: function (finallyLoc) {
295
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
296
- var entry = this.tryEntries[i];
297
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
294
+ finish: function (t) {
295
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
296
+ var r = this.tryEntries[e];
297
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
298
298
  }
299
299
  },
300
- catch: function (tryLoc) {
301
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
302
- var entry = this.tryEntries[i];
303
- if (entry.tryLoc === tryLoc) {
304
- var record = entry.completion;
305
- if ("throw" === record.type) {
306
- var thrown = record.arg;
307
- resetTryEntry(entry);
300
+ catch: function (t) {
301
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
302
+ var r = this.tryEntries[e];
303
+ if (r.tryLoc === t) {
304
+ var n = r.completion;
305
+ if ("throw" === n.type) {
306
+ var o = n.arg;
307
+ resetTryEntry(r);
308
308
  }
309
- return thrown;
309
+ return o;
310
310
  }
311
311
  }
312
312
  throw new Error("illegal catch attempt");
313
313
  },
314
- delegateYield: function (iterable, resultName, nextLoc) {
314
+ delegateYield: function (e, r, n) {
315
315
  return this.delegate = {
316
- iterator: values(iterable),
317
- resultName: resultName,
318
- nextLoc: nextLoc
319
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
316
+ iterator: values(e),
317
+ resultName: r,
318
+ nextLoc: n
319
+ }, "next" === this.method && (this.arg = t), y;
320
320
  }
321
- }, exports;
321
+ }, e;
322
322
  }
323
323
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
324
324
  try {
@@ -409,7 +409,11 @@ function _construct(Parent, args, Class) {
409
409
  return _construct.apply(null, arguments);
410
410
  }
411
411
  function _isNativeFunction(fn) {
412
- return Function.toString.call(fn).indexOf("[native code]") !== -1;
412
+ try {
413
+ return Function.toString.call(fn).indexOf("[native code]") !== -1;
414
+ } catch (e) {
415
+ return typeof fn === "function";
416
+ }
413
417
  }
414
418
  function _wrapNativeSuper(Class) {
415
419
  var _cache = typeof Map === "function" ? new Map() : undefined;