@trackunit/react-core-contexts 0.0.26-alpha-e5eca93e1.0 → 0.0.28

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.
Files changed (2) hide show
  1. package/index.js +283 -254
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -17,7 +17,7 @@ var check = function (it) {
17
17
  };
18
18
 
19
19
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
20
- var global$v =
20
+ var global$e =
21
21
  // eslint-disable-next-line es-x/no-global-this -- safe
22
22
  check(typeof globalThis == 'object' && globalThis) ||
23
23
  check(typeof window == 'object' && window) ||
@@ -29,7 +29,7 @@ var global$v =
29
29
 
30
30
  var objectGetOwnPropertyDescriptor = {};
31
31
 
32
- var fails$f = function (exec) {
32
+ var fails$g = function (exec) {
33
33
  try {
34
34
  return !!exec();
35
35
  } catch (error) {
@@ -37,17 +37,17 @@ var fails$f = function (exec) {
37
37
  }
38
38
  };
39
39
 
40
- var fails$e = fails$f;
40
+ var fails$f = fails$g;
41
41
 
42
42
  // Detect IE8's incomplete defineProperty implementation
43
- var descriptors = !fails$e(function () {
43
+ var descriptors = !fails$f(function () {
44
44
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
45
45
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
46
46
  });
47
47
 
48
- var fails$d = fails$f;
48
+ var fails$e = fails$g;
49
49
 
50
- var functionBindNative = !fails$d(function () {
50
+ var functionBindNative = !fails$e(function () {
51
51
  // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
52
52
  var test = (function () { /* empty */ }).bind();
53
53
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -111,31 +111,28 @@ var classofRaw$1 = function (it) {
111
111
  return stringSlice$4(toString$6(it), 8, -1);
112
112
  };
113
113
 
114
- var global$u = global$v;
115
114
  var uncurryThis$f = functionUncurryThis;
116
- var fails$c = fails$f;
115
+ var fails$d = fails$g;
117
116
  var classof$4 = classofRaw$1;
118
117
 
119
- var Object$5 = global$u.Object;
118
+ var $Object$4 = Object;
120
119
  var split = uncurryThis$f(''.split);
121
120
 
122
121
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
123
- var indexedObject = fails$c(function () {
122
+ var indexedObject = fails$d(function () {
124
123
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
125
124
  // eslint-disable-next-line no-prototype-builtins -- safe
126
- return !Object$5('z').propertyIsEnumerable(0);
125
+ return !$Object$4('z').propertyIsEnumerable(0);
127
126
  }) ? function (it) {
128
- return classof$4(it) == 'String' ? split(it, '') : Object$5(it);
129
- } : Object$5;
127
+ return classof$4(it) == 'String' ? split(it, '') : $Object$4(it);
128
+ } : $Object$4;
130
129
 
131
- var global$t = global$v;
132
-
133
- var TypeError$a = global$t.TypeError;
130
+ var $TypeError$8 = TypeError;
134
131
 
135
132
  // `RequireObjectCoercible` abstract operation
136
133
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
137
134
  var requireObjectCoercible$5 = function (it) {
138
- if (it == undefined) throw TypeError$a("Can't call method on " + it);
135
+ if (it == undefined) throw $TypeError$8("Can't call method on " + it);
139
136
  return it;
140
137
  };
141
138
 
@@ -149,25 +146,25 @@ var toIndexedObject$5 = function (it) {
149
146
 
150
147
  // `IsCallable` abstract operation
151
148
  // https://tc39.es/ecma262/#sec-iscallable
152
- var isCallable$g = function (argument) {
149
+ var isCallable$h = function (argument) {
153
150
  return typeof argument == 'function';
154
151
  };
155
152
 
156
- var isCallable$f = isCallable$g;
153
+ var isCallable$g = isCallable$h;
157
154
 
158
155
  var isObject$6 = function (it) {
159
- return typeof it == 'object' ? it !== null : isCallable$f(it);
156
+ return typeof it == 'object' ? it !== null : isCallable$g(it);
160
157
  };
161
158
 
162
- var global$s = global$v;
163
- var isCallable$e = isCallable$g;
159
+ var global$d = global$e;
160
+ var isCallable$f = isCallable$h;
164
161
 
165
162
  var aFunction = function (argument) {
166
- return isCallable$e(argument) ? argument : undefined;
163
+ return isCallable$f(argument) ? argument : undefined;
167
164
  };
168
165
 
169
166
  var getBuiltIn$4 = function (namespace, method) {
170
- return arguments.length < 2 ? aFunction(global$s[namespace]) : global$s[namespace] && global$s[namespace][method];
167
+ return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
171
168
  };
172
169
 
173
170
  var uncurryThis$e = functionUncurryThis;
@@ -178,11 +175,11 @@ var getBuiltIn$3 = getBuiltIn$4;
178
175
 
179
176
  var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
180
177
 
181
- var global$r = global$v;
178
+ var global$c = global$e;
182
179
  var userAgent = engineUserAgent;
183
180
 
184
- var process = global$r.process;
185
- var Deno = global$r.Deno;
181
+ var process = global$c.process;
182
+ var Deno = global$c.Deno;
186
183
  var versions = process && process.versions || Deno && Deno.version;
187
184
  var v8 = versions && versions.v8;
188
185
  var match, version;
@@ -209,10 +206,10 @@ var engineV8Version = version;
209
206
  /* eslint-disable es-x/no-symbol -- required for testing */
210
207
 
211
208
  var V8_VERSION = engineV8Version;
212
- var fails$b = fails$f;
209
+ var fails$c = fails$g;
213
210
 
214
211
  // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
215
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$b(function () {
212
+ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$c(function () {
216
213
  var symbol = Symbol();
217
214
  // Chrome 38 Symbol has incorrect toString conversion
218
215
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -229,43 +226,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
229
226
  && !Symbol.sham
230
227
  && typeof Symbol.iterator == 'symbol';
231
228
 
232
- var global$q = global$v;
233
229
  var getBuiltIn$2 = getBuiltIn$4;
234
- var isCallable$d = isCallable$g;
230
+ var isCallable$e = isCallable$h;
235
231
  var isPrototypeOf = objectIsPrototypeOf;
236
232
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
237
233
 
238
- var Object$4 = global$q.Object;
234
+ var $Object$3 = Object;
239
235
 
240
236
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
241
237
  return typeof it == 'symbol';
242
238
  } : function (it) {
243
239
  var $Symbol = getBuiltIn$2('Symbol');
244
- return isCallable$d($Symbol) && isPrototypeOf($Symbol.prototype, Object$4(it));
240
+ return isCallable$e($Symbol) && isPrototypeOf($Symbol.prototype, $Object$3(it));
245
241
  };
246
242
 
247
- var global$p = global$v;
248
-
249
- var String$4 = global$p.String;
243
+ var $String$3 = String;
250
244
 
251
245
  var tryToString$1 = function (argument) {
252
246
  try {
253
- return String$4(argument);
247
+ return $String$3(argument);
254
248
  } catch (error) {
255
249
  return 'Object';
256
250
  }
257
251
  };
258
252
 
259
- var global$o = global$v;
260
- var isCallable$c = isCallable$g;
253
+ var isCallable$d = isCallable$h;
261
254
  var tryToString = tryToString$1;
262
255
 
263
- var TypeError$9 = global$o.TypeError;
256
+ var $TypeError$7 = TypeError;
264
257
 
265
258
  // `Assert: IsCallable(argument) is true`
266
259
  var aCallable$1 = function (argument) {
267
- if (isCallable$c(argument)) return argument;
268
- throw TypeError$9(tryToString(argument) + ' is not a function');
260
+ if (isCallable$d(argument)) return argument;
261
+ throw $TypeError$7(tryToString(argument) + ' is not a function');
269
262
  };
270
263
 
271
264
  var aCallable = aCallable$1;
@@ -277,43 +270,42 @@ var getMethod$2 = function (V, P) {
277
270
  return func == null ? undefined : aCallable(func);
278
271
  };
279
272
 
280
- var global$n = global$v;
281
273
  var call$8 = functionCall;
282
- var isCallable$b = isCallable$g;
274
+ var isCallable$c = isCallable$h;
283
275
  var isObject$5 = isObject$6;
284
276
 
285
- var TypeError$8 = global$n.TypeError;
277
+ var $TypeError$6 = TypeError;
286
278
 
287
279
  // `OrdinaryToPrimitive` abstract operation
288
280
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
289
281
  var ordinaryToPrimitive$1 = function (input, pref) {
290
282
  var fn, val;
291
- if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
292
- if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$8(fn, input))) return val;
293
- if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
294
- throw TypeError$8("Can't convert object to primitive value");
283
+ if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
284
+ if (isCallable$c(fn = input.valueOf) && !isObject$5(val = call$8(fn, input))) return val;
285
+ if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$5(val = call$8(fn, input))) return val;
286
+ throw $TypeError$6("Can't convert object to primitive value");
295
287
  };
296
288
 
297
289
  var shared$4 = {exports: {}};
298
290
 
299
- var global$m = global$v;
291
+ var global$b = global$e;
300
292
 
301
293
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
302
- var defineProperty$3 = Object.defineProperty;
294
+ var defineProperty$5 = Object.defineProperty;
303
295
 
304
- var setGlobal$3 = function (key, value) {
296
+ var defineGlobalProperty$3 = function (key, value) {
305
297
  try {
306
- defineProperty$3(global$m, key, { value: value, configurable: true, writable: true });
298
+ defineProperty$5(global$b, key, { value: value, configurable: true, writable: true });
307
299
  } catch (error) {
308
- global$m[key] = value;
300
+ global$b[key] = value;
309
301
  } return value;
310
302
  };
311
303
 
312
- var global$l = global$v;
313
- var setGlobal$2 = setGlobal$3;
304
+ var global$a = global$e;
305
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
314
306
 
315
307
  var SHARED = '__core-js_shared__';
316
- var store$3 = global$l[SHARED] || setGlobal$2(SHARED, {});
308
+ var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {});
317
309
 
318
310
  var sharedStore = store$3;
319
311
 
@@ -322,22 +314,21 @@ var store$2 = sharedStore;
322
314
  (shared$4.exports = function (key, value) {
323
315
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
324
316
  })('versions', []).push({
325
- version: '3.22.0',
317
+ version: '3.24.1',
326
318
  mode: 'global',
327
319
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
328
- license: 'https://github.com/zloirock/core-js/blob/v3.22.0/LICENSE',
320
+ license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
329
321
  source: 'https://github.com/zloirock/core-js'
330
322
  });
331
323
 
332
- var global$k = global$v;
333
324
  var requireObjectCoercible$3 = requireObjectCoercible$5;
334
325
 
335
- var Object$3 = global$k.Object;
326
+ var $Object$2 = Object;
336
327
 
337
328
  // `ToObject` abstract operation
338
329
  // https://tc39.es/ecma262/#sec-toobject
339
330
  var toObject$4 = function (argument) {
340
- return Object$3(requireObjectCoercible$3(argument));
331
+ return $Object$2(requireObjectCoercible$3(argument));
341
332
  };
342
333
 
343
334
  var uncurryThis$d = functionUncurryThis;
@@ -362,7 +353,7 @@ var uid$2 = function (key) {
362
353
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
363
354
  };
364
355
 
365
- var global$j = global$v;
356
+ var global$9 = global$e;
366
357
  var shared$3 = shared$4.exports;
367
358
  var hasOwn$8 = hasOwnProperty_1;
368
359
  var uid$1 = uid$2;
@@ -370,7 +361,7 @@ var NATIVE_SYMBOL = nativeSymbol;
370
361
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
371
362
 
372
363
  var WellKnownSymbolsStore = shared$3('wks');
373
- var Symbol$1 = global$j.Symbol;
364
+ var Symbol$1 = global$9.Symbol;
374
365
  var symbolFor = Symbol$1 && Symbol$1['for'];
375
366
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
376
367
 
@@ -387,7 +378,6 @@ var wellKnownSymbol$c = function (name) {
387
378
  } return WellKnownSymbolsStore[name];
388
379
  };
389
380
 
390
- var global$i = global$v;
391
381
  var call$7 = functionCall;
392
382
  var isObject$4 = isObject$6;
393
383
  var isSymbol$1 = isSymbol$2;
@@ -395,7 +385,7 @@ var getMethod$1 = getMethod$2;
395
385
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
396
386
  var wellKnownSymbol$b = wellKnownSymbol$c;
397
387
 
398
- var TypeError$7 = global$i.TypeError;
388
+ var $TypeError$5 = TypeError;
399
389
  var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
400
390
 
401
391
  // `ToPrimitive` abstract operation
@@ -408,7 +398,7 @@ var toPrimitive$1 = function (input, pref) {
408
398
  if (pref === undefined) pref = 'default';
409
399
  result = call$7(exoticToPrim, input, pref);
410
400
  if (!isObject$4(result) || isSymbol$1(result)) return result;
411
- throw TypeError$7("Can't convert object to primitive value");
401
+ throw $TypeError$5("Can't convert object to primitive value");
412
402
  }
413
403
  if (pref === undefined) pref = 'number';
414
404
  return ordinaryToPrimitive(input, pref);
@@ -424,10 +414,10 @@ var toPropertyKey$2 = function (argument) {
424
414
  return isSymbol(key) ? key : key + '';
425
415
  };
426
416
 
427
- var global$h = global$v;
417
+ var global$8 = global$e;
428
418
  var isObject$3 = isObject$6;
429
419
 
430
- var document$1 = global$h.document;
420
+ var document$1 = global$8.document;
431
421
  // typeof document.createElement is 'object' in old IE
432
422
  var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
433
423
 
@@ -435,19 +425,19 @@ var documentCreateElement$2 = function (it) {
435
425
  return EXISTS$1 ? document$1.createElement(it) : {};
436
426
  };
437
427
 
438
- var DESCRIPTORS$8 = descriptors;
439
- var fails$a = fails$f;
428
+ var DESCRIPTORS$9 = descriptors;
429
+ var fails$b = fails$g;
440
430
  var createElement = documentCreateElement$2;
441
431
 
442
432
  // Thanks to IE8 for its funny defineProperty
443
- var ie8DomDefine = !DESCRIPTORS$8 && !fails$a(function () {
433
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$b(function () {
444
434
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
445
435
  return Object.defineProperty(createElement('div'), 'a', {
446
436
  get: function () { return 7; }
447
437
  }).a != 7;
448
438
  });
449
439
 
450
- var DESCRIPTORS$7 = descriptors;
440
+ var DESCRIPTORS$8 = descriptors;
451
441
  var call$6 = functionCall;
452
442
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
453
443
  var createPropertyDescriptor$2 = createPropertyDescriptor$3;
@@ -461,7 +451,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
461
451
 
462
452
  // `Object.getOwnPropertyDescriptor` method
463
453
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
464
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
454
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
465
455
  O = toIndexedObject$4(O);
466
456
  P = toPropertyKey$1(P);
467
457
  if (IE8_DOM_DEFINE$1) try {
@@ -472,12 +462,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 :
472
462
 
473
463
  var objectDefineProperty = {};
474
464
 
475
- var DESCRIPTORS$6 = descriptors;
476
- var fails$9 = fails$f;
465
+ var DESCRIPTORS$7 = descriptors;
466
+ var fails$a = fails$g;
477
467
 
478
468
  // V8 ~ Chrome 36-
479
469
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
480
- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$9(function () {
470
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$a(function () {
481
471
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
482
472
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
483
473
  value: 42,
@@ -485,26 +475,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$9(function () {
485
475
  }).prototype != 42;
486
476
  });
487
477
 
488
- var global$g = global$v;
489
478
  var isObject$2 = isObject$6;
490
479
 
491
- var String$3 = global$g.String;
492
- var TypeError$6 = global$g.TypeError;
480
+ var $String$2 = String;
481
+ var $TypeError$4 = TypeError;
493
482
 
494
483
  // `Assert: Type(argument) is Object`
495
484
  var anObject$8 = function (argument) {
496
485
  if (isObject$2(argument)) return argument;
497
- throw TypeError$6(String$3(argument) + ' is not an object');
486
+ throw $TypeError$4($String$2(argument) + ' is not an object');
498
487
  };
499
488
 
500
- var global$f = global$v;
501
- var DESCRIPTORS$5 = descriptors;
489
+ var DESCRIPTORS$6 = descriptors;
502
490
  var IE8_DOM_DEFINE = ie8DomDefine;
503
491
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
504
492
  var anObject$7 = anObject$8;
505
493
  var toPropertyKey = toPropertyKey$2;
506
494
 
507
- var TypeError$5 = global$f.TypeError;
495
+ var $TypeError$3 = TypeError;
508
496
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
509
497
  var $defineProperty = Object.defineProperty;
510
498
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -515,7 +503,7 @@ var WRITABLE = 'writable';
515
503
 
516
504
  // `Object.defineProperty` method
517
505
  // https://tc39.es/ecma262/#sec-object.defineproperty
518
- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
506
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
519
507
  anObject$7(O);
520
508
  P = toPropertyKey(P);
521
509
  anObject$7(Attributes);
@@ -537,32 +525,50 @@ objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
537
525
  if (IE8_DOM_DEFINE) try {
538
526
  return $defineProperty(O, P, Attributes);
539
527
  } catch (error) { /* empty */ }
540
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$5('Accessors not supported');
528
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$3('Accessors not supported');
541
529
  if ('value' in Attributes) O[P] = Attributes.value;
542
530
  return O;
543
531
  };
544
532
 
545
- var DESCRIPTORS$4 = descriptors;
533
+ var DESCRIPTORS$5 = descriptors;
546
534
  var definePropertyModule$3 = objectDefineProperty;
547
535
  var createPropertyDescriptor$1 = createPropertyDescriptor$3;
548
536
 
549
- var createNonEnumerableProperty$6 = DESCRIPTORS$4 ? function (object, key, value) {
537
+ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
550
538
  return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
551
539
  } : function (object, key, value) {
552
540
  object[key] = value;
553
541
  return object;
554
542
  };
555
543
 
556
- var redefine$4 = {exports: {}};
544
+ var makeBuiltIn$2 = {exports: {}};
545
+
546
+ var DESCRIPTORS$4 = descriptors;
547
+ var hasOwn$6 = hasOwnProperty_1;
548
+
549
+ var FunctionPrototype$1 = Function.prototype;
550
+ // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
551
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
552
+
553
+ var EXISTS = hasOwn$6(FunctionPrototype$1, 'name');
554
+ // additional protection from minified / mangled / dropped function names
555
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
556
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
557
+
558
+ var functionName = {
559
+ EXISTS: EXISTS,
560
+ PROPER: PROPER,
561
+ CONFIGURABLE: CONFIGURABLE
562
+ };
557
563
 
558
564
  var uncurryThis$b = functionUncurryThis;
559
- var isCallable$a = isCallable$g;
565
+ var isCallable$b = isCallable$h;
560
566
  var store$1 = sharedStore;
561
567
 
562
568
  var functionToString = uncurryThis$b(Function.toString);
563
569
 
564
570
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
565
- if (!isCallable$a(store$1.inspectSource)) {
571
+ if (!isCallable$b(store$1.inspectSource)) {
566
572
  store$1.inspectSource = function (it) {
567
573
  return functionToString(it);
568
574
  };
@@ -570,13 +576,13 @@ if (!isCallable$a(store$1.inspectSource)) {
570
576
 
571
577
  var inspectSource$2 = store$1.inspectSource;
572
578
 
573
- var global$e = global$v;
574
- var isCallable$9 = isCallable$g;
579
+ var global$7 = global$e;
580
+ var isCallable$a = isCallable$h;
575
581
  var inspectSource$1 = inspectSource$2;
576
582
 
577
- var WeakMap$1 = global$e.WeakMap;
583
+ var WeakMap$1 = global$7.WeakMap;
578
584
 
579
- var nativeWeakMap = isCallable$9(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
585
+ var nativeWeakMap = isCallable$a(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
580
586
 
581
587
  var shared$2 = shared$4.exports;
582
588
  var uid = uid$2;
@@ -590,18 +596,18 @@ var sharedKey$3 = function (key) {
590
596
  var hiddenKeys$4 = {};
591
597
 
592
598
  var NATIVE_WEAK_MAP = nativeWeakMap;
593
- var global$d = global$v;
599
+ var global$6 = global$e;
594
600
  var uncurryThis$a = functionUncurryThis;
595
601
  var isObject$1 = isObject$6;
596
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
597
- var hasOwn$6 = hasOwnProperty_1;
602
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
603
+ var hasOwn$5 = hasOwnProperty_1;
598
604
  var shared$1 = sharedStore;
599
605
  var sharedKey$2 = sharedKey$3;
600
606
  var hiddenKeys$3 = hiddenKeys$4;
601
607
 
602
608
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
603
- var TypeError$4 = global$d.TypeError;
604
- var WeakMap = global$d.WeakMap;
609
+ var TypeError$1 = global$6.TypeError;
610
+ var WeakMap = global$6.WeakMap;
605
611
  var set, get, has;
606
612
 
607
613
  var enforce = function (it) {
@@ -612,7 +618,7 @@ var getterFor = function (TYPE) {
612
618
  return function (it) {
613
619
  var state;
614
620
  if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
615
- throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
621
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
616
622
  } return state;
617
623
  };
618
624
  };
@@ -623,7 +629,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
623
629
  var wmhas = uncurryThis$a(store.has);
624
630
  var wmset = uncurryThis$a(store.set);
625
631
  set = function (it, metadata) {
626
- if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
632
+ if (wmhas(store, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
627
633
  metadata.facade = it;
628
634
  wmset(store, it, metadata);
629
635
  return metadata;
@@ -638,16 +644,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
638
644
  var STATE = sharedKey$2('state');
639
645
  hiddenKeys$3[STATE] = true;
640
646
  set = function (it, metadata) {
641
- if (hasOwn$6(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
647
+ if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
642
648
  metadata.facade = it;
643
- createNonEnumerableProperty$5(it, STATE, metadata);
649
+ createNonEnumerableProperty$4(it, STATE, metadata);
644
650
  return metadata;
645
651
  };
646
652
  get = function (it) {
647
- return hasOwn$6(it, STATE) ? it[STATE] : {};
653
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
648
654
  };
649
655
  has = function (it) {
650
- return hasOwn$6(it, STATE);
656
+ return hasOwn$5(it, STATE);
651
657
  };
652
658
  }
653
659
 
@@ -659,82 +665,105 @@ var internalState = {
659
665
  getterFor: getterFor
660
666
  };
661
667
 
662
- var DESCRIPTORS$3 = descriptors;
663
- var hasOwn$5 = hasOwnProperty_1;
664
-
665
- var FunctionPrototype$1 = Function.prototype;
666
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
667
- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
668
-
669
- var EXISTS = hasOwn$5(FunctionPrototype$1, 'name');
670
- // additional protection from minified / mangled / dropped function names
671
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
672
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype$1, 'name').configurable));
673
-
674
- var functionName = {
675
- EXISTS: EXISTS,
676
- PROPER: PROPER,
677
- CONFIGURABLE: CONFIGURABLE
678
- };
679
-
680
- var global$c = global$v;
681
- var isCallable$8 = isCallable$g;
668
+ var fails$9 = fails$g;
669
+ var isCallable$9 = isCallable$h;
682
670
  var hasOwn$4 = hasOwnProperty_1;
683
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
684
- var setGlobal$1 = setGlobal$3;
671
+ var DESCRIPTORS$3 = descriptors;
672
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
685
673
  var inspectSource = inspectSource$2;
686
674
  var InternalStateModule$1 = internalState;
687
- var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
688
675
 
689
- var getInternalState$2 = InternalStateModule$1.get;
690
676
  var enforceInternalState = InternalStateModule$1.enforce;
677
+ var getInternalState$2 = InternalStateModule$1.get;
678
+ // eslint-disable-next-line es-x/no-object-defineproperty -- safe
679
+ var defineProperty$4 = Object.defineProperty;
680
+
681
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$9(function () {
682
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
683
+ });
684
+
691
685
  var TEMPLATE = String(String).split('String');
692
686
 
693
- (redefine$4.exports = function (O, key, value, options) {
694
- var unsafe = options ? !!options.unsafe : false;
695
- var simple = options ? !!options.enumerable : false;
696
- var noTargetGet = options ? !!options.noTargetGet : false;
697
- var name = options && options.name !== undefined ? options.name : key;
698
- var state;
699
- if (isCallable$8(value)) {
700
- if (String(name).slice(0, 7) === 'Symbol(') {
701
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
702
- }
703
- if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
704
- createNonEnumerableProperty$4(value, 'name', name);
705
- }
706
- state = enforceInternalState(value);
707
- if (!state.source) {
708
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
709
- }
687
+ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
688
+ if (String(name).slice(0, 7) === 'Symbol(') {
689
+ name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
710
690
  }
711
- if (O === global$c) {
712
- if (simple) O[key] = value;
713
- else setGlobal$1(key, value);
714
- return;
715
- } else if (!unsafe) {
716
- delete O[key];
717
- } else if (!noTargetGet && O[key]) {
718
- simple = true;
691
+ if (options && options.getter) name = 'get ' + name;
692
+ if (options && options.setter) name = 'set ' + name;
693
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
694
+ if (DESCRIPTORS$3) defineProperty$4(value, 'name', { value: name, configurable: true });
695
+ else value.name = name;
719
696
  }
720
- if (simple) O[key] = value;
721
- else createNonEnumerableProperty$4(O, key, value);
697
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
698
+ defineProperty$4(value, 'length', { value: options.arity });
699
+ }
700
+ try {
701
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
702
+ if (DESCRIPTORS$3) defineProperty$4(value, 'prototype', { writable: false });
703
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
704
+ } else if (value.prototype) value.prototype = undefined;
705
+ } catch (error) { /* empty */ }
706
+ var state = enforceInternalState(value);
707
+ if (!hasOwn$4(state, 'source')) {
708
+ state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
709
+ } return value;
710
+ };
711
+
722
712
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
723
- })(Function.prototype, 'toString', function toString() {
724
- return isCallable$8(this) && getInternalState$2(this).source || inspectSource(this);
725
- });
713
+ // eslint-disable-next-line no-extend-native -- required
714
+ Function.prototype.toString = makeBuiltIn$1(function toString() {
715
+ return isCallable$9(this) && getInternalState$2(this).source || inspectSource(this);
716
+ }, 'toString');
717
+
718
+ var isCallable$8 = isCallable$h;
719
+ var definePropertyModule$2 = objectDefineProperty;
720
+ var makeBuiltIn = makeBuiltIn$2.exports;
721
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
722
+
723
+ var defineBuiltIn$4 = function (O, key, value, options) {
724
+ if (!options) options = {};
725
+ var simple = options.enumerable;
726
+ var name = options.name !== undefined ? options.name : key;
727
+ if (isCallable$8(value)) makeBuiltIn(value, name, options);
728
+ if (options.global) {
729
+ if (simple) O[key] = value;
730
+ else defineGlobalProperty$1(key, value);
731
+ } else {
732
+ try {
733
+ if (!options.unsafe) delete O[key];
734
+ else if (O[key]) simple = true;
735
+ } catch (error) { /* empty */ }
736
+ if (simple) O[key] = value;
737
+ else definePropertyModule$2.f(O, key, {
738
+ value: value,
739
+ enumerable: false,
740
+ configurable: !options.nonConfigurable,
741
+ writable: !options.nonWritable
742
+ });
743
+ } return O;
744
+ };
726
745
 
727
746
  var objectGetOwnPropertyNames = {};
728
747
 
729
748
  var ceil = Math.ceil;
730
749
  var floor$1 = Math.floor;
731
750
 
751
+ // `Math.trunc` method
752
+ // https://tc39.es/ecma262/#sec-math.trunc
753
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
754
+ var mathTrunc = Math.trunc || function trunc(x) {
755
+ var n = +x;
756
+ return (n > 0 ? floor$1 : ceil)(n);
757
+ };
758
+
759
+ var trunc = mathTrunc;
760
+
732
761
  // `ToIntegerOrInfinity` abstract operation
733
762
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
734
763
  var toIntegerOrInfinity$4 = function (argument) {
735
764
  var number = +argument;
736
- // eslint-disable-next-line no-self-compare -- safe
737
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$1 : ceil)(number);
765
+ // eslint-disable-next-line no-self-compare -- NaN check
766
+ return number !== number || number === 0 ? 0 : trunc(number);
738
767
  };
739
768
 
740
769
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
@@ -868,11 +897,11 @@ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
868
897
  var hasOwn$2 = hasOwnProperty_1;
869
898
  var ownKeys = ownKeys$1;
870
899
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
871
- var definePropertyModule$2 = objectDefineProperty;
900
+ var definePropertyModule$1 = objectDefineProperty;
872
901
 
873
902
  var copyConstructorProperties$1 = function (target, source, exceptions) {
874
903
  var keys = ownKeys(source);
875
- var defineProperty = definePropertyModule$2.f;
904
+ var defineProperty = definePropertyModule$1.f;
876
905
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
877
906
  for (var i = 0; i < keys.length; i++) {
878
907
  var key = keys[i];
@@ -882,8 +911,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
882
911
  }
883
912
  };
884
913
 
885
- var fails$8 = fails$f;
886
- var isCallable$7 = isCallable$g;
914
+ var fails$8 = fails$g;
915
+ var isCallable$7 = isCallable$h;
887
916
 
888
917
  var replacement = /#|\.prototype\./;
889
918
 
@@ -905,28 +934,28 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
905
934
 
906
935
  var isForced_1 = isForced$1;
907
936
 
908
- var global$b = global$v;
937
+ var global$5 = global$e;
909
938
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
910
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
911
- var redefine$3 = redefine$4.exports;
912
- var setGlobal = setGlobal$3;
939
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
940
+ var defineBuiltIn$3 = defineBuiltIn$4;
941
+ var defineGlobalProperty = defineGlobalProperty$3;
913
942
  var copyConstructorProperties = copyConstructorProperties$1;
914
943
  var isForced = isForced_1;
915
944
 
916
945
  /*
917
- options.target - name of the target object
918
- options.global - target is the global object
919
- options.stat - export as static methods of target
920
- options.proto - export as prototype methods of target
921
- options.real - real prototype method for the `pure` version
922
- options.forced - export even if the native feature is available
923
- options.bind - bind methods to the target, required for the `pure` version
924
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
925
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
926
- options.sham - add a flag to not completely full polyfills
927
- options.enumerable - export as enumerable property
928
- options.noTargetGet - prevent calling a getter on target
929
- options.name - the .name of the function if it does not match the key
946
+ options.target - name of the target object
947
+ options.global - target is the global object
948
+ options.stat - export as static methods of target
949
+ options.proto - export as prototype methods of target
950
+ options.real - real prototype method for the `pure` version
951
+ options.forced - export even if the native feature is available
952
+ options.bind - bind methods to the target, required for the `pure` version
953
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
954
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
955
+ options.sham - add a flag to not completely full polyfills
956
+ options.enumerable - export as enumerable property
957
+ options.dontCallGetSet - prevent calling a getter on target
958
+ options.name - the .name of the function if it does not match the key
930
959
  */
931
960
  var _export = function (options, source) {
932
961
  var TARGET = options.target;
@@ -934,15 +963,15 @@ var _export = function (options, source) {
934
963
  var STATIC = options.stat;
935
964
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
936
965
  if (GLOBAL) {
937
- target = global$b;
966
+ target = global$5;
938
967
  } else if (STATIC) {
939
- target = global$b[TARGET] || setGlobal(TARGET, {});
968
+ target = global$5[TARGET] || defineGlobalProperty(TARGET, {});
940
969
  } else {
941
- target = (global$b[TARGET] || {}).prototype;
970
+ target = (global$5[TARGET] || {}).prototype;
942
971
  }
943
972
  if (target) for (key in source) {
944
973
  sourceProperty = source[key];
945
- if (options.noTargetGet) {
974
+ if (options.dontCallGetSet) {
946
975
  descriptor = getOwnPropertyDescriptor(target, key);
947
976
  targetProperty = descriptor && descriptor.value;
948
977
  } else targetProperty = target[key];
@@ -956,8 +985,7 @@ var _export = function (options, source) {
956
985
  if (options.sham || (targetProperty && targetProperty.sham)) {
957
986
  createNonEnumerableProperty$3(sourceProperty, 'sham', true);
958
987
  }
959
- // extend global
960
- redefine$3(target, key, sourceProperty, options);
988
+ defineBuiltIn$3(target, key, sourceProperty, options);
961
989
  }
962
990
  };
963
991
 
@@ -974,7 +1002,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
974
1002
  var DESCRIPTORS$2 = descriptors;
975
1003
  var uncurryThis$7 = functionUncurryThis;
976
1004
  var call$5 = functionCall;
977
- var fails$7 = fails$f;
1005
+ var fails$7 = fails$g;
978
1006
  var objectKeys$1 = objectKeys$2;
979
1007
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
980
1008
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -984,17 +1012,17 @@ var IndexedObject = indexedObject;
984
1012
  // eslint-disable-next-line es-x/no-object-assign -- safe
985
1013
  var $assign = Object.assign;
986
1014
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
987
- var defineProperty$2 = Object.defineProperty;
1015
+ var defineProperty$3 = Object.defineProperty;
988
1016
  var concat$1 = uncurryThis$7([].concat);
989
1017
 
990
1018
  // `Object.assign` method
991
1019
  // https://tc39.es/ecma262/#sec-object.assign
992
1020
  var objectAssign = !$assign || fails$7(function () {
993
1021
  // should have correct order of operations (Edge bug)
994
- if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
1022
+ if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
995
1023
  enumerable: true,
996
1024
  get: function () {
997
- defineProperty$2(this, 'b', {
1025
+ defineProperty$3(this, 'b', {
998
1026
  value: 3,
999
1027
  enumerable: false
1000
1028
  });
@@ -1034,7 +1062,7 @@ var assign = objectAssign;
1034
1062
  // `Object.assign` method
1035
1063
  // https://tc39.es/ecma262/#sec-object.assign
1036
1064
  // eslint-disable-next-line es-x/no-object-assign -- required for testing
1037
- $$3({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
1065
+ $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1038
1066
  assign: assign
1039
1067
  });
1040
1068
 
@@ -1051,14 +1079,13 @@ var isRegexp = function (it) {
1051
1079
  return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$3(it) == 'RegExp');
1052
1080
  };
1053
1081
 
1054
- var global$a = global$v;
1055
1082
  var isRegExp = isRegexp;
1056
1083
 
1057
- var TypeError$3 = global$a.TypeError;
1084
+ var $TypeError$2 = TypeError;
1058
1085
 
1059
1086
  var notARegexp = function (it) {
1060
1087
  if (isRegExp(it)) {
1061
- throw TypeError$3("The method doesn't accept regular expressions");
1088
+ throw $TypeError$2("The method doesn't accept regular expressions");
1062
1089
  } return it;
1063
1090
  };
1064
1091
 
@@ -1071,14 +1098,13 @@ test[TO_STRING_TAG$3] = 'z';
1071
1098
 
1072
1099
  var toStringTagSupport = String(test) === '[object z]';
1073
1100
 
1074
- var global$9 = global$v;
1075
1101
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1076
- var isCallable$6 = isCallable$g;
1102
+ var isCallable$6 = isCallable$h;
1077
1103
  var classofRaw = classofRaw$1;
1078
1104
  var wellKnownSymbol$8 = wellKnownSymbol$c;
1079
1105
 
1080
1106
  var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1081
- var Object$2 = global$9.Object;
1107
+ var $Object$1 = Object;
1082
1108
 
1083
1109
  // ES3 wrong here
1084
1110
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -1095,21 +1121,20 @@ var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1095
1121
  var O, tag, result;
1096
1122
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1097
1123
  // @@toStringTag case
1098
- : typeof (tag = tryGet(O = Object$2(it), TO_STRING_TAG$2)) == 'string' ? tag
1124
+ : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag
1099
1125
  // builtinTag case
1100
1126
  : CORRECT_ARGUMENTS ? classofRaw(O)
1101
1127
  // ES3 arguments fallback
1102
1128
  : (result = classofRaw(O)) == 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
1103
1129
  };
1104
1130
 
1105
- var global$8 = global$v;
1106
1131
  var classof$1 = classof$2;
1107
1132
 
1108
- var String$2 = global$8.String;
1133
+ var $String$1 = String;
1109
1134
 
1110
1135
  var toString$4 = function (argument) {
1111
1136
  if (classof$1(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1112
- return String$2(argument);
1137
+ return $String$1(argument);
1113
1138
  };
1114
1139
 
1115
1140
  var wellKnownSymbol$7 = wellKnownSymbol$c;
@@ -1156,20 +1181,22 @@ var anObject$5 = anObject$8;
1156
1181
  var regexpFlags$1 = function () {
1157
1182
  var that = anObject$5(this);
1158
1183
  var result = '';
1184
+ if (that.hasIndices) result += 'd';
1159
1185
  if (that.global) result += 'g';
1160
1186
  if (that.ignoreCase) result += 'i';
1161
1187
  if (that.multiline) result += 'm';
1162
1188
  if (that.dotAll) result += 's';
1163
1189
  if (that.unicode) result += 'u';
1190
+ if (that.unicodeSets) result += 'v';
1164
1191
  if (that.sticky) result += 'y';
1165
1192
  return result;
1166
1193
  };
1167
1194
 
1168
- var fails$6 = fails$f;
1169
- var global$7 = global$v;
1195
+ var fails$6 = fails$g;
1196
+ var global$4 = global$e;
1170
1197
 
1171
1198
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
1172
- var $RegExp$2 = global$7.RegExp;
1199
+ var $RegExp$2 = global$4.RegExp;
1173
1200
 
1174
1201
  var UNSUPPORTED_Y$1 = fails$6(function () {
1175
1202
  var re = $RegExp$2('a', 'y');
@@ -1200,7 +1227,7 @@ var objectDefineProperties = {};
1200
1227
 
1201
1228
  var DESCRIPTORS$1 = descriptors;
1202
1229
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1203
- var definePropertyModule$1 = objectDefineProperty;
1230
+ var definePropertyModule = objectDefineProperty;
1204
1231
  var anObject$4 = anObject$8;
1205
1232
  var toIndexedObject$1 = toIndexedObject$5;
1206
1233
  var objectKeys = objectKeys$2;
@@ -1215,7 +1242,7 @@ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1215
1242
  var length = keys.length;
1216
1243
  var index = 0;
1217
1244
  var key;
1218
- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
1245
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1219
1246
  return O;
1220
1247
  };
1221
1248
 
@@ -1308,22 +1335,22 @@ var objectCreate = Object.create || function create(O, Properties) {
1308
1335
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1309
1336
  };
1310
1337
 
1311
- var fails$5 = fails$f;
1312
- var global$6 = global$v;
1338
+ var fails$5 = fails$g;
1339
+ var global$3 = global$e;
1313
1340
 
1314
1341
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
1315
- var $RegExp$1 = global$6.RegExp;
1342
+ var $RegExp$1 = global$3.RegExp;
1316
1343
 
1317
1344
  var regexpUnsupportedDotAll = fails$5(function () {
1318
1345
  var re = $RegExp$1('.', 's');
1319
1346
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
1320
1347
  });
1321
1348
 
1322
- var fails$4 = fails$f;
1323
- var global$5 = global$v;
1349
+ var fails$4 = fails$g;
1350
+ var global$2 = global$e;
1324
1351
 
1325
1352
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
1326
- var $RegExp = global$5.RegExp;
1353
+ var $RegExp = global$2.RegExp;
1327
1354
 
1328
1355
  var regexpUnsupportedNcg = fails$4(function () {
1329
1356
  var re = $RegExp('(?<a>b)', 'g');
@@ -1426,7 +1453,7 @@ if (PATCH) {
1426
1453
  }
1427
1454
  if (NPCG_INCLUDED && match && match.length > 1) {
1428
1455
  // Fix browsers whose `exec` methods don't consistently return `undefined`
1429
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
1456
+ // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
1430
1457
  call$4(nativeReplace, match[0], reCopy, function () {
1431
1458
  for (i = 1; i < arguments.length - 2; i++) {
1432
1459
  if (arguments[i] === undefined) match[i] = undefined;
@@ -1471,11 +1498,11 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND
1471
1498
  // TODO: Remove from `core-js@4` since it's moved to entry points
1472
1499
 
1473
1500
  var uncurryThis$4 = functionUncurryThis;
1474
- var redefine$2 = redefine$4.exports;
1501
+ var defineBuiltIn$2 = defineBuiltIn$4;
1475
1502
  var regexpExec$1 = regexpExec$2;
1476
- var fails$3 = fails$f;
1503
+ var fails$3 = fails$g;
1477
1504
  var wellKnownSymbol$6 = wellKnownSymbol$c;
1478
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1505
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1479
1506
 
1480
1507
  var SPECIES = wellKnownSymbol$6('species');
1481
1508
  var RegExpPrototype = RegExp.prototype;
@@ -1535,8 +1562,8 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1535
1562
  return { done: false };
1536
1563
  });
1537
1564
 
1538
- redefine$2(String.prototype, KEY, methods[0]);
1539
- redefine$2(RegExpPrototype, SYMBOL, methods[1]);
1565
+ defineBuiltIn$2(String.prototype, KEY, methods[0]);
1566
+ defineBuiltIn$2(RegExpPrototype, SYMBOL, methods[1]);
1540
1567
  }
1541
1568
 
1542
1569
  if (SHAM) createNonEnumerableProperty$2(RegExpPrototype[SYMBOL], 'sham', true);
@@ -1632,14 +1659,13 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
1632
1659
  });
1633
1660
  };
1634
1661
 
1635
- var global$4 = global$v;
1636
1662
  var call$2 = functionCall;
1637
1663
  var anObject$2 = anObject$8;
1638
- var isCallable$5 = isCallable$g;
1664
+ var isCallable$5 = isCallable$h;
1639
1665
  var classof = classofRaw$1;
1640
1666
  var regexpExec = regexpExec$2;
1641
1667
 
1642
- var TypeError$2 = global$4.TypeError;
1668
+ var $TypeError$1 = TypeError;
1643
1669
 
1644
1670
  // `RegExpExec` abstract operation
1645
1671
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -1651,16 +1677,16 @@ var regexpExecAbstract = function (R, S) {
1651
1677
  return result;
1652
1678
  }
1653
1679
  if (classof(R) === 'RegExp') return call$2(regexpExec, R, S);
1654
- throw TypeError$2('RegExp#exec called on incompatible receiver');
1680
+ throw $TypeError$1('RegExp#exec called on incompatible receiver');
1655
1681
  };
1656
1682
 
1657
1683
  var apply = functionApply;
1658
1684
  var call$1 = functionCall;
1659
1685
  var uncurryThis$1 = functionUncurryThis;
1660
1686
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
1661
- var fails$2 = fails$f;
1687
+ var fails$2 = fails$g;
1662
1688
  var anObject$1 = anObject$8;
1663
- var isCallable$4 = isCallable$g;
1689
+ var isCallable$4 = isCallable$h;
1664
1690
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
1665
1691
  var toLength = toLength$2;
1666
1692
  var toString = toString$4;
@@ -1822,6 +1848,7 @@ const ManagerApolloProvider = ({
1822
1848
  publicUrl,
1823
1849
  graphqlLegacyUrl,
1824
1850
  graphqlManagerUrl,
1851
+ graphqlManagerImageUploadUrl,
1825
1852
  graphqlReportUrl,
1826
1853
  graphqlSimulatorUrl,
1827
1854
  isDev,
@@ -1836,6 +1863,9 @@ const ManagerApolloProvider = ({
1836
1863
  const managerGraphQLLink = createUploadLink({
1837
1864
  uri: request => graphqlManagerUrl + "/" + request.operationName
1838
1865
  });
1866
+ const imageUploadGraphQLLink = createUploadLink({
1867
+ uri: request => graphqlManagerImageUploadUrl + "/" + request.operationName
1868
+ });
1839
1869
  const reportGraphQLLink = createUploadLink({
1840
1870
  uri: request => graphqlReportUrl + "/" + request.operationName
1841
1871
  });
@@ -1918,7 +1948,7 @@ const ManagerApolloProvider = ({
1918
1948
  connectToDevTools: isDev,
1919
1949
  cache: new InMemoryCache(),
1920
1950
  defaultOptions,
1921
- link: from([errorLink, authLink, split$1(operation => operation.getContext().clientName === "simulator", simulatorGraphQLLink), split$1(operation => operation.getContext().clientName === "manager", managerGraphQLLink, split$1(operation => operation.getContext().clientName === "report", reportGraphQLLink, legacyGraphQLLink))])
1951
+ link: from([errorLink, authLink, split$1(operation => operation.getContext().clientName === "imageupload", imageUploadGraphQLLink), split$1(operation => operation.getContext().clientName === "simulator", simulatorGraphQLLink), split$1(operation => operation.getContext().clientName === "manager", managerGraphQLLink, split$1(operation => operation.getContext().clientName === "report", reportGraphQLLink, legacyGraphQLLink))])
1922
1952
  });
1923
1953
  return jsx(ApolloProvider, Object.assign({
1924
1954
  client: client
@@ -1942,7 +1972,7 @@ const ToastProviderApp = ({
1942
1972
 
1943
1973
  var wellKnownSymbol$4 = wellKnownSymbol$c;
1944
1974
  var create$1 = objectCreate;
1945
- var definePropertyModule = objectDefineProperty;
1975
+ var defineProperty$2 = objectDefineProperty.f;
1946
1976
 
1947
1977
  var UNSCOPABLES = wellKnownSymbol$4('unscopables');
1948
1978
  var ArrayPrototype = Array.prototype;
@@ -1950,7 +1980,7 @@ var ArrayPrototype = Array.prototype;
1950
1980
  // Array.prototype[@@unscopables]
1951
1981
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1952
1982
  if (ArrayPrototype[UNSCOPABLES] == undefined) {
1953
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
1983
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
1954
1984
  configurable: true,
1955
1985
  value: create$1(null)
1956
1986
  });
@@ -1963,7 +1993,7 @@ var addToUnscopables$1 = function (key) {
1963
1993
 
1964
1994
  var iterators = {};
1965
1995
 
1966
- var fails$1 = fails$f;
1996
+ var fails$1 = fails$g;
1967
1997
 
1968
1998
  var correctPrototypeGetter = !fails$1(function () {
1969
1999
  function F() { /* empty */ }
@@ -1972,32 +2002,32 @@ var correctPrototypeGetter = !fails$1(function () {
1972
2002
  return Object.getPrototypeOf(new F()) !== F.prototype;
1973
2003
  });
1974
2004
 
1975
- var global$3 = global$v;
1976
2005
  var hasOwn$1 = hasOwnProperty_1;
1977
- var isCallable$3 = isCallable$g;
2006
+ var isCallable$3 = isCallable$h;
1978
2007
  var toObject = toObject$4;
1979
2008
  var sharedKey = sharedKey$3;
1980
2009
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1981
2010
 
1982
2011
  var IE_PROTO = sharedKey('IE_PROTO');
1983
- var Object$1 = global$3.Object;
1984
- var ObjectPrototype = Object$1.prototype;
2012
+ var $Object = Object;
2013
+ var ObjectPrototype = $Object.prototype;
1985
2014
 
1986
2015
  // `Object.getPrototypeOf` method
1987
2016
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1988
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$1.getPrototypeOf : function (O) {
2017
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
2018
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1989
2019
  var object = toObject(O);
1990
2020
  if (hasOwn$1(object, IE_PROTO)) return object[IE_PROTO];
1991
2021
  var constructor = object.constructor;
1992
2022
  if (isCallable$3(constructor) && object instanceof constructor) {
1993
2023
  return constructor.prototype;
1994
- } return object instanceof Object$1 ? ObjectPrototype : null;
2024
+ } return object instanceof $Object ? ObjectPrototype : null;
1995
2025
  };
1996
2026
 
1997
- var fails = fails$f;
1998
- var isCallable$2 = isCallable$g;
2027
+ var fails = fails$g;
2028
+ var isCallable$2 = isCallable$h;
1999
2029
  var getPrototypeOf$1 = objectGetPrototypeOf;
2000
- var redefine$1 = redefine$4.exports;
2030
+ var defineBuiltIn$1 = defineBuiltIn$4;
2001
2031
  var wellKnownSymbol$3 = wellKnownSymbol$c;
2002
2032
 
2003
2033
  var ITERATOR$2 = wellKnownSymbol$3('iterator');
@@ -2029,7 +2059,7 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
2029
2059
  // `%IteratorPrototype%[@@iterator]()` method
2030
2060
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
2031
2061
  if (!isCallable$2(IteratorPrototype$2[ITERATOR$2])) {
2032
- redefine$1(IteratorPrototype$2, ITERATOR$2, function () {
2062
+ defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
2033
2063
  return this;
2034
2064
  });
2035
2065
  }
@@ -2068,15 +2098,14 @@ var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENU
2068
2098
  return IteratorConstructor;
2069
2099
  };
2070
2100
 
2071
- var global$2 = global$v;
2072
- var isCallable$1 = isCallable$g;
2101
+ var isCallable$1 = isCallable$h;
2073
2102
 
2074
- var String$1 = global$2.String;
2075
- var TypeError$1 = global$2.TypeError;
2103
+ var $String = String;
2104
+ var $TypeError = TypeError;
2076
2105
 
2077
2106
  var aPossiblePrototype$1 = function (argument) {
2078
2107
  if (typeof argument == 'object' || isCallable$1(argument)) return argument;
2079
- throw TypeError$1("Can't set " + String$1(argument) + ' as a prototype');
2108
+ throw $TypeError("Can't set " + $String(argument) + ' as a prototype');
2080
2109
  };
2081
2110
 
2082
2111
  /* eslint-disable no-proto -- safe */
@@ -2111,13 +2140,13 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2111
2140
  var $ = _export;
2112
2141
  var call = functionCall;
2113
2142
  var FunctionName = functionName;
2114
- var isCallable = isCallable$g;
2143
+ var isCallable = isCallable$h;
2115
2144
  var createIteratorConstructor = createIteratorConstructor$1;
2116
2145
  var getPrototypeOf = objectGetPrototypeOf;
2117
2146
  var setPrototypeOf = objectSetPrototypeOf;
2118
2147
  var setToStringTag = setToStringTag$2;
2119
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
2120
- var redefine = redefine$4.exports;
2148
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
2149
+ var defineBuiltIn = defineBuiltIn$4;
2121
2150
  var wellKnownSymbol$1 = wellKnownSymbol$c;
2122
2151
  var Iterators$1 = iterators;
2123
2152
  var IteratorsCore = iteratorsCore;
@@ -2164,7 +2193,7 @@ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFA
2164
2193
  if (setPrototypeOf) {
2165
2194
  setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
2166
2195
  } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {
2167
- redefine(CurrentIteratorPrototype, ITERATOR$1, returnThis);
2196
+ defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
2168
2197
  }
2169
2198
  }
2170
2199
  // Set @@toStringTag to native iterators
@@ -2191,14 +2220,14 @@ var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFA
2191
2220
  };
2192
2221
  if (FORCED) for (KEY in methods) {
2193
2222
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
2194
- redefine(IterablePrototype, KEY, methods[KEY]);
2223
+ defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
2195
2224
  }
2196
2225
  } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
2197
2226
  }
2198
2227
 
2199
2228
  // define iterator
2200
2229
  if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
2201
- redefine(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
2230
+ defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
2202
2231
  }
2203
2232
  Iterators$1[NAME] = defaultIterator;
2204
2233
 
@@ -2309,11 +2338,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
2309
2338
 
2310
2339
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
2311
2340
 
2312
- var global$1 = global$v;
2341
+ var global$1 = global$e;
2313
2342
  var DOMIterables = domIterables;
2314
2343
  var DOMTokenListPrototype = domTokenListPrototype;
2315
2344
  var ArrayIteratorMethods = es_array_iterator;
2316
- var createNonEnumerableProperty = createNonEnumerableProperty$6;
2345
+ var createNonEnumerableProperty = createNonEnumerableProperty$5;
2317
2346
  var wellKnownSymbol = wellKnownSymbol$c;
2318
2347
 
2319
2348
  var ITERATOR = wellKnownSymbol('iterator');
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts",
3
- "version": "0.0.26-alpha-e5eca93e1.0",
3
+ "version": "0.0.28",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "UNLICENSED",
6
6
  "dependencies": {
7
7
  "graphql": "^15.8.0",
8
- "@trackunit/iris-app-runtime-core": "0.0.53-alpha-e5eca93e1.0",
9
- "@trackunit/react-core-contexts-api": "0.0.49-alpha-e5eca93e1.0",
10
- "@trackunit/react-core-hooks": "0.0.52-alpha-e5eca93e1.0",
8
+ "@trackunit/iris-app-runtime-core": "0.0.55",
9
+ "@trackunit/react-core-contexts-api": "0.0.51",
10
+ "@trackunit/react-core-hooks": "0.0.54",
11
11
  "react": "17.0.1",
12
- "@trackunit/react-core-contexts-test": "0.0.22-alpha-e5eca93e1.0",
12
+ "@trackunit/react-core-contexts-test": "0.0.24",
13
13
  "@apollo/client": "3.6.9",
14
14
  "@sentry/browser": "^6.19.4",
15
15
  "apollo-upload-client": "^14.1.3",