@hero-design/rn 8.54.0 → 8.55.0

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.
package/lib/index.js CHANGED
@@ -42,341 +42,363 @@ var RnSlider__default = /*#__PURE__*/_interopDefaultLegacy(RnSlider);
42
42
  var LinearGradient__default = /*#__PURE__*/_interopDefaultLegacy(LinearGradient);
43
43
  var PagerView__default = /*#__PURE__*/_interopDefaultLegacy(PagerView);
44
44
 
45
- function ownKeys(object, enumerableOnly) {
46
- var keys = Object.keys(object);
47
- if (Object.getOwnPropertySymbols) {
48
- var symbols = Object.getOwnPropertySymbols(object);
49
- enumerableOnly && (symbols = symbols.filter(function (sym) {
50
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
51
- })), keys.push.apply(keys, symbols);
45
+ function _iterableToArrayLimit(r, l) {
46
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
47
+ if (null != t) {
48
+ var e,
49
+ n,
50
+ i,
51
+ u,
52
+ a = [],
53
+ f = !0,
54
+ o = !1;
55
+ try {
56
+ if (i = (t = t.call(r)).next, 0 === l) {
57
+ if (Object(t) !== t) return;
58
+ f = !1;
59
+ } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
60
+ } catch (r) {
61
+ o = !0, n = r;
62
+ } finally {
63
+ try {
64
+ if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return;
65
+ } finally {
66
+ if (o) throw n;
67
+ }
68
+ }
69
+ return a;
52
70
  }
53
- return keys;
54
71
  }
55
- function _objectSpread2(target) {
56
- for (var i = 1; i < arguments.length; i++) {
57
- var source = null != arguments[i] ? arguments[i] : {};
58
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
59
- _defineProperty(target, key, source[key]);
60
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
61
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
72
+ function ownKeys(e, r) {
73
+ var t = Object.keys(e);
74
+ if (Object.getOwnPropertySymbols) {
75
+ var o = Object.getOwnPropertySymbols(e);
76
+ r && (o = o.filter(function (r) {
77
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
78
+ })), t.push.apply(t, o);
79
+ }
80
+ return t;
81
+ }
82
+ function _objectSpread2(e) {
83
+ for (var r = 1; r < arguments.length; r++) {
84
+ var t = null != arguments[r] ? arguments[r] : {};
85
+ r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
86
+ _defineProperty(e, r, t[r]);
87
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
88
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
62
89
  });
63
90
  }
64
- return target;
91
+ return e;
65
92
  }
66
93
  function _regeneratorRuntime() {
67
94
  _regeneratorRuntime = function () {
68
- return exports;
95
+ return e;
69
96
  };
70
- var exports = {},
71
- Op = Object.prototype,
72
- hasOwn = Op.hasOwnProperty,
73
- defineProperty = Object.defineProperty || function (obj, key, desc) {
74
- obj[key] = desc.value;
97
+ var t,
98
+ e = {},
99
+ r = Object.prototype,
100
+ n = r.hasOwnProperty,
101
+ o = Object.defineProperty || function (t, e, r) {
102
+ t[e] = r.value;
75
103
  },
76
- $Symbol = "function" == typeof Symbol ? Symbol : {},
77
- iteratorSymbol = $Symbol.iterator || "@@iterator",
78
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
79
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
80
- function define(obj, key, value) {
81
- return Object.defineProperty(obj, key, {
82
- value: value,
104
+ i = "function" == typeof Symbol ? Symbol : {},
105
+ a = i.iterator || "@@iterator",
106
+ c = i.asyncIterator || "@@asyncIterator",
107
+ u = i.toStringTag || "@@toStringTag";
108
+ function define(t, e, r) {
109
+ return Object.defineProperty(t, e, {
110
+ value: r,
83
111
  enumerable: !0,
84
112
  configurable: !0,
85
113
  writable: !0
86
- }), obj[key];
114
+ }), t[e];
87
115
  }
88
116
  try {
89
117
  define({}, "");
90
- } catch (err) {
91
- define = function (obj, key, value) {
92
- return obj[key] = value;
118
+ } catch (t) {
119
+ define = function (t, e, r) {
120
+ return t[e] = r;
93
121
  };
94
122
  }
95
- function wrap(innerFn, outerFn, self, tryLocsList) {
96
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
97
- generator = Object.create(protoGenerator.prototype),
98
- context = new Context(tryLocsList || []);
99
- return defineProperty(generator, "_invoke", {
100
- value: makeInvokeMethod(innerFn, self, context)
101
- }), generator;
123
+ function wrap(t, e, r, n) {
124
+ var i = e && e.prototype instanceof Generator ? e : Generator,
125
+ a = Object.create(i.prototype),
126
+ c = new Context(n || []);
127
+ return o(a, "_invoke", {
128
+ value: makeInvokeMethod(t, r, c)
129
+ }), a;
102
130
  }
103
- function tryCatch(fn, obj, arg) {
131
+ function tryCatch(t, e, r) {
104
132
  try {
105
133
  return {
106
134
  type: "normal",
107
- arg: fn.call(obj, arg)
135
+ arg: t.call(e, r)
108
136
  };
109
- } catch (err) {
137
+ } catch (t) {
110
138
  return {
111
139
  type: "throw",
112
- arg: err
140
+ arg: t
113
141
  };
114
142
  }
115
143
  }
116
- exports.wrap = wrap;
117
- var ContinueSentinel = {};
144
+ e.wrap = wrap;
145
+ var h = "suspendedStart",
146
+ l = "suspendedYield",
147
+ f = "executing",
148
+ s = "completed",
149
+ y = {};
118
150
  function Generator() {}
119
151
  function GeneratorFunction() {}
120
152
  function GeneratorFunctionPrototype() {}
121
- var IteratorPrototype = {};
122
- define(IteratorPrototype, iteratorSymbol, function () {
153
+ var p = {};
154
+ define(p, a, function () {
123
155
  return this;
124
156
  });
125
- var getProto = Object.getPrototypeOf,
126
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
127
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
128
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
129
- function defineIteratorMethods(prototype) {
130
- ["next", "throw", "return"].forEach(function (method) {
131
- define(prototype, method, function (arg) {
132
- return this._invoke(method, arg);
157
+ var d = Object.getPrototypeOf,
158
+ v = d && d(d(values([])));
159
+ v && v !== r && n.call(v, a) && (p = v);
160
+ var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
161
+ function defineIteratorMethods(t) {
162
+ ["next", "throw", "return"].forEach(function (e) {
163
+ define(t, e, function (t) {
164
+ return this._invoke(e, t);
133
165
  });
134
166
  });
135
167
  }
136
- function AsyncIterator(generator, PromiseImpl) {
137
- function invoke(method, arg, resolve, reject) {
138
- var record = tryCatch(generator[method], generator, arg);
139
- if ("throw" !== record.type) {
140
- var result = record.arg,
141
- value = result.value;
142
- return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
143
- invoke("next", value, resolve, reject);
144
- }, function (err) {
145
- invoke("throw", err, resolve, reject);
146
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
147
- result.value = unwrapped, resolve(result);
148
- }, function (error) {
149
- return invoke("throw", error, resolve, reject);
168
+ function AsyncIterator(t, e) {
169
+ function invoke(r, o, i, a) {
170
+ var c = tryCatch(t[r], t, o);
171
+ if ("throw" !== c.type) {
172
+ var u = c.arg,
173
+ h = u.value;
174
+ return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
175
+ invoke("next", t, i, a);
176
+ }, function (t) {
177
+ invoke("throw", t, i, a);
178
+ }) : e.resolve(h).then(function (t) {
179
+ u.value = t, i(u);
180
+ }, function (t) {
181
+ return invoke("throw", t, i, a);
150
182
  });
151
183
  }
152
- reject(record.arg);
184
+ a(c.arg);
153
185
  }
154
- var previousPromise;
155
- defineProperty(this, "_invoke", {
156
- value: function (method, arg) {
186
+ var r;
187
+ o(this, "_invoke", {
188
+ value: function (t, n) {
157
189
  function callInvokeWithMethodAndArg() {
158
- return new PromiseImpl(function (resolve, reject) {
159
- invoke(method, arg, resolve, reject);
190
+ return new e(function (e, r) {
191
+ invoke(t, n, e, r);
160
192
  });
161
193
  }
162
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
194
+ return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
163
195
  }
164
196
  });
165
197
  }
166
- function makeInvokeMethod(innerFn, self, context) {
167
- var state = "suspendedStart";
168
- return function (method, arg) {
169
- if ("executing" === state) throw new Error("Generator is already running");
170
- if ("completed" === state) {
171
- if ("throw" === method) throw arg;
172
- return doneResult();
173
- }
174
- for (context.method = method, context.arg = arg;;) {
175
- var delegate = context.delegate;
176
- if (delegate) {
177
- var delegateResult = maybeInvokeDelegate(delegate, context);
178
- if (delegateResult) {
179
- if (delegateResult === ContinueSentinel) continue;
180
- return delegateResult;
198
+ function makeInvokeMethod(e, r, n) {
199
+ var o = h;
200
+ return function (i, a) {
201
+ if (o === f) throw new Error("Generator is already running");
202
+ if (o === s) {
203
+ if ("throw" === i) throw a;
204
+ return {
205
+ value: t,
206
+ done: !0
207
+ };
208
+ }
209
+ for (n.method = i, n.arg = a;;) {
210
+ var c = n.delegate;
211
+ if (c) {
212
+ var u = maybeInvokeDelegate(c, n);
213
+ if (u) {
214
+ if (u === y) continue;
215
+ return u;
181
216
  }
182
217
  }
183
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
184
- if ("suspendedStart" === state) throw state = "completed", context.arg;
185
- context.dispatchException(context.arg);
186
- } else "return" === context.method && context.abrupt("return", context.arg);
187
- state = "executing";
188
- var record = tryCatch(innerFn, self, context);
189
- if ("normal" === record.type) {
190
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
218
+ if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
219
+ if (o === h) throw o = s, n.arg;
220
+ n.dispatchException(n.arg);
221
+ } else "return" === n.method && n.abrupt("return", n.arg);
222
+ o = f;
223
+ var p = tryCatch(e, r, n);
224
+ if ("normal" === p.type) {
225
+ if (o = n.done ? s : l, p.arg === y) continue;
191
226
  return {
192
- value: record.arg,
193
- done: context.done
227
+ value: p.arg,
228
+ done: n.done
194
229
  };
195
230
  }
196
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
231
+ "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
197
232
  }
198
233
  };
199
234
  }
200
- function maybeInvokeDelegate(delegate, context) {
201
- var method = delegate.iterator[context.method];
202
- if (undefined === method) {
203
- if (context.delegate = null, "throw" === context.method) {
204
- if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
205
- context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
206
- }
207
- return ContinueSentinel;
208
- }
209
- var record = tryCatch(method, delegate.iterator, context.arg);
210
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
211
- var info = record.arg;
212
- 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);
213
- }
214
- function pushTryEntry(locs) {
215
- var entry = {
216
- tryLoc: locs[0]
235
+ function maybeInvokeDelegate(e, r) {
236
+ var n = r.method,
237
+ o = e.iterator[n];
238
+ 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;
239
+ var i = tryCatch(o, e.iterator, r.arg);
240
+ if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
241
+ var a = i.arg;
242
+ 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);
243
+ }
244
+ function pushTryEntry(t) {
245
+ var e = {
246
+ tryLoc: t[0]
217
247
  };
218
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
248
+ 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
219
249
  }
220
- function resetTryEntry(entry) {
221
- var record = entry.completion || {};
222
- record.type = "normal", delete record.arg, entry.completion = record;
250
+ function resetTryEntry(t) {
251
+ var e = t.completion || {};
252
+ e.type = "normal", delete e.arg, t.completion = e;
223
253
  }
224
- function Context(tryLocsList) {
254
+ function Context(t) {
225
255
  this.tryEntries = [{
226
256
  tryLoc: "root"
227
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
228
- }
229
- function values(iterable) {
230
- if (iterable) {
231
- var iteratorMethod = iterable[iteratorSymbol];
232
- if (iteratorMethod) return iteratorMethod.call(iterable);
233
- if ("function" == typeof iterable.next) return iterable;
234
- if (!isNaN(iterable.length)) {
235
- var i = -1,
236
- next = function next() {
237
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
238
- return next.value = undefined, next.done = !0, next;
257
+ }], t.forEach(pushTryEntry, this), this.reset(!0);
258
+ }
259
+ function values(e) {
260
+ if (e || "" === e) {
261
+ var r = e[a];
262
+ if (r) return r.call(e);
263
+ if ("function" == typeof e.next) return e;
264
+ if (!isNaN(e.length)) {
265
+ var o = -1,
266
+ i = function next() {
267
+ for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
268
+ return next.value = t, next.done = !0, next;
239
269
  };
240
- return next.next = next;
270
+ return i.next = i;
241
271
  }
242
272
  }
243
- return {
244
- next: doneResult
245
- };
246
- }
247
- function doneResult() {
248
- return {
249
- value: undefined,
250
- done: !0
251
- };
273
+ throw new TypeError(typeof e + " is not iterable");
252
274
  }
253
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
275
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
254
276
  value: GeneratorFunctionPrototype,
255
277
  configurable: !0
256
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
278
+ }), o(GeneratorFunctionPrototype, "constructor", {
257
279
  value: GeneratorFunction,
258
280
  configurable: !0
259
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
260
- var ctor = "function" == typeof genFun && genFun.constructor;
261
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
262
- }, exports.mark = function (genFun) {
263
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
264
- }, exports.awrap = function (arg) {
281
+ }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
282
+ var e = "function" == typeof t && t.constructor;
283
+ return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
284
+ }, e.mark = function (t) {
285
+ return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
286
+ }, e.awrap = function (t) {
265
287
  return {
266
- __await: arg
288
+ __await: t
267
289
  };
268
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
290
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
269
291
  return this;
270
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
271
- void 0 === PromiseImpl && (PromiseImpl = Promise);
272
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
273
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
274
- return result.done ? result.value : iter.next();
292
+ }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
293
+ void 0 === i && (i = Promise);
294
+ var a = new AsyncIterator(wrap(t, r, n, o), i);
295
+ return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
296
+ return t.done ? t.value : a.next();
275
297
  });
276
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
298
+ }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
277
299
  return this;
278
- }), define(Gp, "toString", function () {
300
+ }), define(g, "toString", function () {
279
301
  return "[object Generator]";
280
- }), exports.keys = function (val) {
281
- var object = Object(val),
282
- keys = [];
283
- for (var key in object) keys.push(key);
284
- return keys.reverse(), function next() {
285
- for (; keys.length;) {
286
- var key = keys.pop();
287
- if (key in object) return next.value = key, next.done = !1, next;
302
+ }), e.keys = function (t) {
303
+ var e = Object(t),
304
+ r = [];
305
+ for (var n in e) r.push(n);
306
+ return r.reverse(), function next() {
307
+ for (; r.length;) {
308
+ var t = r.pop();
309
+ if (t in e) return next.value = t, next.done = !1, next;
288
310
  }
289
311
  return next.done = !0, next;
290
312
  };
291
- }, exports.values = values, Context.prototype = {
313
+ }, e.values = values, Context.prototype = {
292
314
  constructor: Context,
293
- reset: function (skipTempReset) {
294
- 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);
315
+ reset: function (e) {
316
+ 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);
295
317
  },
296
318
  stop: function () {
297
319
  this.done = !0;
298
- var rootRecord = this.tryEntries[0].completion;
299
- if ("throw" === rootRecord.type) throw rootRecord.arg;
320
+ var t = this.tryEntries[0].completion;
321
+ if ("throw" === t.type) throw t.arg;
300
322
  return this.rval;
301
323
  },
302
- dispatchException: function (exception) {
303
- if (this.done) throw exception;
304
- var context = this;
305
- function handle(loc, caught) {
306
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
307
- }
308
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
309
- var entry = this.tryEntries[i],
310
- record = entry.completion;
311
- if ("root" === entry.tryLoc) return handle("end");
312
- if (entry.tryLoc <= this.prev) {
313
- var hasCatch = hasOwn.call(entry, "catchLoc"),
314
- hasFinally = hasOwn.call(entry, "finallyLoc");
315
- if (hasCatch && hasFinally) {
316
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
317
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
318
- } else if (hasCatch) {
319
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
324
+ dispatchException: function (e) {
325
+ if (this.done) throw e;
326
+ var r = this;
327
+ function handle(n, o) {
328
+ return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
329
+ }
330
+ for (var o = this.tryEntries.length - 1; o >= 0; --o) {
331
+ var i = this.tryEntries[o],
332
+ a = i.completion;
333
+ if ("root" === i.tryLoc) return handle("end");
334
+ if (i.tryLoc <= this.prev) {
335
+ var c = n.call(i, "catchLoc"),
336
+ u = n.call(i, "finallyLoc");
337
+ if (c && u) {
338
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
339
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
340
+ } else if (c) {
341
+ if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
320
342
  } else {
321
- if (!hasFinally) throw new Error("try statement without catch or finally");
322
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
343
+ if (!u) throw new Error("try statement without catch or finally");
344
+ if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
323
345
  }
324
346
  }
325
347
  }
326
348
  },
327
- abrupt: function (type, arg) {
328
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
329
- var entry = this.tryEntries[i];
330
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
331
- var finallyEntry = entry;
349
+ abrupt: function (t, e) {
350
+ for (var r = this.tryEntries.length - 1; r >= 0; --r) {
351
+ var o = this.tryEntries[r];
352
+ if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
353
+ var i = o;
332
354
  break;
333
355
  }
334
356
  }
335
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
336
- var record = finallyEntry ? finallyEntry.completion : {};
337
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
357
+ i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
358
+ var a = i ? i.completion : {};
359
+ return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
338
360
  },
339
- complete: function (record, afterLoc) {
340
- if ("throw" === record.type) throw record.arg;
341
- 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;
361
+ complete: function (t, e) {
362
+ if ("throw" === t.type) throw t.arg;
363
+ 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;
342
364
  },
343
- finish: function (finallyLoc) {
344
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
345
- var entry = this.tryEntries[i];
346
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
365
+ finish: function (t) {
366
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
367
+ var r = this.tryEntries[e];
368
+ if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
347
369
  }
348
370
  },
349
- catch: function (tryLoc) {
350
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
351
- var entry = this.tryEntries[i];
352
- if (entry.tryLoc === tryLoc) {
353
- var record = entry.completion;
354
- if ("throw" === record.type) {
355
- var thrown = record.arg;
356
- resetTryEntry(entry);
371
+ catch: function (t) {
372
+ for (var e = this.tryEntries.length - 1; e >= 0; --e) {
373
+ var r = this.tryEntries[e];
374
+ if (r.tryLoc === t) {
375
+ var n = r.completion;
376
+ if ("throw" === n.type) {
377
+ var o = n.arg;
378
+ resetTryEntry(r);
357
379
  }
358
- return thrown;
380
+ return o;
359
381
  }
360
382
  }
361
383
  throw new Error("illegal catch attempt");
362
384
  },
363
- delegateYield: function (iterable, resultName, nextLoc) {
385
+ delegateYield: function (e, r, n) {
364
386
  return this.delegate = {
365
- iterator: values(iterable),
366
- resultName: resultName,
367
- nextLoc: nextLoc
368
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
387
+ iterator: values(e),
388
+ resultName: r,
389
+ nextLoc: n
390
+ }, "next" === this.method && (this.arg = t), y;
369
391
  }
370
- }, exports;
392
+ }, e;
371
393
  }
372
- function _typeof(obj) {
394
+ function _typeof(o) {
373
395
  "@babel/helpers - typeof";
374
396
 
375
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
376
- return typeof obj;
377
- } : function (obj) {
378
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
379
- }, _typeof(obj);
397
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
398
+ return typeof o;
399
+ } : function (o) {
400
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
401
+ }, _typeof(o);
380
402
  }
381
403
  function _classCallCheck(instance, Constructor) {
382
404
  if (!(instance instanceof Constructor)) {
@@ -389,7 +411,7 @@ function _defineProperties(target, props) {
389
411
  descriptor.enumerable = descriptor.enumerable || false;
390
412
  descriptor.configurable = true;
391
413
  if ("value" in descriptor) descriptor.writable = true;
392
- Object.defineProperty(target, descriptor.key, descriptor);
414
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
393
415
  }
394
416
  }
395
417
  function _createClass(Constructor, protoProps, staticProps) {
@@ -401,6 +423,7 @@ function _createClass(Constructor, protoProps, staticProps) {
401
423
  return Constructor;
402
424
  }
403
425
  function _defineProperty(obj, key, value) {
426
+ key = _toPropertyKey(key);
404
427
  if (key in obj) {
405
428
  Object.defineProperty(obj, key, {
406
429
  value: value,
@@ -472,30 +495,6 @@ function _arrayWithHoles(arr) {
472
495
  function _iterableToArray(iter) {
473
496
  if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
474
497
  }
475
- function _iterableToArrayLimit(arr, i) {
476
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
477
- if (_i == null) return;
478
- var _arr = [];
479
- var _n = true;
480
- var _d = false;
481
- var _s, _e;
482
- try {
483
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
484
- _arr.push(_s.value);
485
- if (i && _arr.length === i) break;
486
- }
487
- } catch (err) {
488
- _d = true;
489
- _e = err;
490
- } finally {
491
- try {
492
- if (!_n && _i["return"] != null) _i["return"]();
493
- } finally {
494
- if (_d) throw _e;
495
- }
496
- }
497
- return _arr;
498
- }
499
498
  function _unsupportedIterableToArray(o, minLen) {
500
499
  if (!o) return;
501
500
  if (typeof o === "string") return _arrayLikeToArray(o, minLen);
@@ -566,6 +565,20 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
566
565
  }
567
566
  };
568
567
  }
568
+ function _toPrimitive(input, hint) {
569
+ if (typeof input !== "object" || input === null) return input;
570
+ var prim = input[Symbol.toPrimitive];
571
+ if (prim !== undefined) {
572
+ var res = prim.call(input, hint || "default");
573
+ if (typeof res !== "object") return res;
574
+ throw new TypeError("@@toPrimitive must return a primitive value.");
575
+ }
576
+ return (hint === "string" ? String : Number)(input);
577
+ }
578
+ function _toPropertyKey(arg) {
579
+ var key = _toPrimitive(arg, "string");
580
+ return typeof key === "symbol" ? key : String(key);
581
+ }
569
582
 
570
583
  var BASE_BORDER_WIDTH = 1;
571
584
  var BASE_SPACE = 8;
@@ -3250,13 +3263,14 @@ var getTabsTheme = function getTabsTheme(theme) {
3250
3263
  itemVerticalPadding: theme.space.small,
3251
3264
  itemMargin: theme.space.smallMedium,
3252
3265
  outlineHorizontalPadding: theme.space.small,
3253
- outlineVerticalPadding: theme.space.xsmall
3266
+ outlineVerticalPadding: theme.space.xsmall,
3267
+ tabIndicatorBottom: -theme.space.xxsmall
3254
3268
  };
3255
3269
  var radii = {
3256
3270
  outline: theme.radii.xlarge
3257
3271
  };
3258
3272
  var borderWidths = {
3259
- headerBottom: theme.borderWidths.base
3273
+ headerBottom: theme.borderWidths.medium
3260
3274
  };
3261
3275
  var sizes = {
3262
3276
  indicator: theme.sizes.xxsmall
@@ -17228,7 +17242,7 @@ var StyledIndicator = index$a(reactNative.Animated.View)(function (_ref3) {
17228
17242
  height: theme.__hd__.tabs.sizes.indicator,
17229
17243
  backgroundColor: theme.__hd__.tabs.colors.indicator,
17230
17244
  position: 'absolute',
17231
- bottom: 0
17245
+ bottom: theme.__hd__.tabs.space.tabIndicatorBottom
17232
17246
  };
17233
17247
  });
17234
17248
  var StyledBadgeWrapper = index$a(reactNative.View)({