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