@trackunit/react-core-contexts 0.0.46 → 0.0.47

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 +242 -213
  2. package/package.json +5 -5
package/index.js CHANGED
@@ -29,7 +29,7 @@ var global$e =
29
29
 
30
30
  var objectGetOwnPropertyDescriptor = {};
31
31
 
32
- var fails$g = function (exec) {
32
+ var fails$h = function (exec) {
33
33
  try {
34
34
  return !!exec();
35
35
  } catch (error) {
@@ -37,17 +37,17 @@ var fails$g = function (exec) {
37
37
  }
38
38
  };
39
39
 
40
- var fails$f = fails$g;
40
+ var fails$g = fails$h;
41
41
 
42
42
  // Detect IE8's incomplete defineProperty implementation
43
- var descriptors = !fails$f(function () {
43
+ var descriptors = !fails$g(function () {
44
44
  // eslint-disable-next-line es/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$e = fails$g;
48
+ var fails$f = fails$h;
49
49
 
50
- var functionBindNative = !fails$e(function () {
50
+ var functionBindNative = !fails$f(function () {
51
51
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
52
52
  var test = (function () { /* empty */ }).bind();
53
53
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -90,36 +90,43 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
90
90
  var NATIVE_BIND$1 = functionBindNative;
91
91
 
92
92
  var FunctionPrototype$2 = Function.prototype;
93
- var bind = FunctionPrototype$2.bind;
94
93
  var call$9 = FunctionPrototype$2.call;
95
- var uncurryThis$h = NATIVE_BIND$1 && bind.bind(call$9, call$9);
94
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$9, call$9);
96
95
 
97
- var functionUncurryThis = NATIVE_BIND$1 ? function (fn) {
98
- return fn && uncurryThis$h(fn);
99
- } : function (fn) {
100
- return fn && function () {
96
+ var functionUncurryThisRaw = function (fn) {
97
+ return NATIVE_BIND$1 ? uncurryThisWithBind(fn) : function () {
101
98
  return call$9.apply(fn, arguments);
102
99
  };
103
100
  };
104
101
 
105
- var uncurryThis$g = functionUncurryThis;
102
+ var uncurryThisRaw$1 = functionUncurryThisRaw;
106
103
 
107
- var toString$6 = uncurryThis$g({}.toString);
108
- var stringSlice$4 = uncurryThis$g(''.slice);
104
+ var toString$6 = uncurryThisRaw$1({}.toString);
105
+ var stringSlice$4 = uncurryThisRaw$1(''.slice);
109
106
 
110
- var classofRaw$1 = function (it) {
107
+ var classofRaw$2 = function (it) {
111
108
  return stringSlice$4(toString$6(it), 8, -1);
112
109
  };
113
110
 
114
- var uncurryThis$f = functionUncurryThis;
115
- var fails$d = fails$g;
116
- var classof$4 = classofRaw$1;
111
+ var classofRaw$1 = classofRaw$2;
112
+ var uncurryThisRaw = functionUncurryThisRaw;
113
+
114
+ var functionUncurryThis = function (fn) {
115
+ // Nashorn bug:
116
+ // https://github.com/zloirock/core-js/issues/1128
117
+ // https://github.com/zloirock/core-js/issues/1130
118
+ if (classofRaw$1(fn) === 'Function') return uncurryThisRaw(fn);
119
+ };
120
+
121
+ var uncurryThis$e = functionUncurryThis;
122
+ var fails$e = fails$h;
123
+ var classof$4 = classofRaw$2;
117
124
 
118
125
  var $Object$4 = Object;
119
- var split = uncurryThis$f(''.split);
126
+ var split = uncurryThis$e(''.split);
120
127
 
121
128
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
122
- var indexedObject = fails$d(function () {
129
+ var indexedObject = fails$e(function () {
123
130
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
124
131
  // eslint-disable-next-line no-prototype-builtins -- safe
125
132
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -196,9 +203,9 @@ var getBuiltIn$4 = function (namespace, method) {
196
203
  return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];
197
204
  };
198
205
 
199
- var uncurryThis$e = functionUncurryThis;
206
+ var uncurryThis$d = functionUncurryThis;
200
207
 
201
- var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
208
+ var objectIsPrototypeOf = uncurryThis$d({}.isPrototypeOf);
202
209
 
203
210
  var getBuiltIn$3 = getBuiltIn$4;
204
211
 
@@ -235,10 +242,10 @@ var engineV8Version = version;
235
242
  /* eslint-disable es/no-symbol -- required for testing */
236
243
 
237
244
  var V8_VERSION = engineV8Version;
238
- var fails$c = fails$g;
245
+ var fails$d = fails$h;
239
246
 
240
247
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
241
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
248
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$d(function () {
242
249
  var symbol = Symbol();
243
250
  // Chrome 38 Symbol has incorrect toString conversion
244
251
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -344,10 +351,10 @@ var store$2 = sharedStore;
344
351
  (shared$4.exports = function (key, value) {
345
352
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
346
353
  })('versions', []).push({
347
- version: '3.25.3',
354
+ version: '3.25.5',
348
355
  mode: 'global',
349
356
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
350
- license: 'https://github.com/zloirock/core-js/blob/v3.25.3/LICENSE',
357
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
351
358
  source: 'https://github.com/zloirock/core-js'
352
359
  });
353
360
 
@@ -361,10 +368,10 @@ var toObject$4 = function (argument) {
361
368
  return $Object$2(requireObjectCoercible$3(argument));
362
369
  };
363
370
 
364
- var uncurryThis$d = functionUncurryThis;
371
+ var uncurryThis$c = functionUncurryThis;
365
372
  var toObject$3 = toObject$4;
366
373
 
367
- var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
374
+ var hasOwnProperty = uncurryThis$c({}.hasOwnProperty);
368
375
 
369
376
  // `HasOwnProperty` abstract operation
370
377
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -373,11 +380,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
373
380
  return hasOwnProperty(toObject$3(it), key);
374
381
  };
375
382
 
376
- var uncurryThis$c = functionUncurryThis;
383
+ var uncurryThis$b = functionUncurryThis;
377
384
 
378
385
  var id = 0;
379
386
  var postfix = Math.random();
380
- var toString$5 = uncurryThis$c(1.0.toString);
387
+ var toString$5 = uncurryThis$b(1.0.toString);
381
388
 
382
389
  var uid$2 = function (key) {
383
390
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
@@ -456,11 +463,11 @@ var documentCreateElement$2 = function (it) {
456
463
  };
457
464
 
458
465
  var DESCRIPTORS$9 = descriptors;
459
- var fails$b = fails$g;
466
+ var fails$c = fails$h;
460
467
  var createElement = documentCreateElement$2;
461
468
 
462
469
  // Thanks to IE8 for its funny defineProperty
463
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$b(function () {
470
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$c(function () {
464
471
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
465
472
  return Object.defineProperty(createElement('div'), 'a', {
466
473
  get: function () { return 7; }
@@ -493,11 +500,11 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 :
493
500
  var objectDefineProperty = {};
494
501
 
495
502
  var DESCRIPTORS$7 = descriptors;
496
- var fails$a = fails$g;
503
+ var fails$b = fails$h;
497
504
 
498
505
  // V8 ~ Chrome 36-
499
506
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
500
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$a(function () {
507
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$b(function () {
501
508
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
502
509
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
503
510
  value: 42,
@@ -591,11 +598,11 @@ var functionName = {
591
598
  CONFIGURABLE: CONFIGURABLE
592
599
  };
593
600
 
594
- var uncurryThis$b = functionUncurryThis;
601
+ var uncurryThis$a = functionUncurryThis;
595
602
  var isCallable$b = isCallable$h;
596
603
  var store$1 = sharedStore;
597
604
 
598
- var functionToString = uncurryThis$b(Function.toString);
605
+ var functionToString = uncurryThis$a(Function.toString);
599
606
 
600
607
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
601
608
  if (!isCallable$b(store$1.inspectSource)) {
@@ -626,7 +633,6 @@ var hiddenKeys$4 = {};
626
633
 
627
634
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
628
635
  var global$6 = global$e;
629
- var uncurryThis$a = functionUncurryThis;
630
636
  var isObject$2 = isObject$7;
631
637
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
632
638
  var hasOwn$5 = hasOwnProperty_1;
@@ -654,20 +660,22 @@ var getterFor = function (TYPE) {
654
660
 
655
661
  if (NATIVE_WEAK_MAP || shared$1.state) {
656
662
  var store = shared$1.state || (shared$1.state = new WeakMap());
657
- var wmget = uncurryThis$a(store.get);
658
- var wmhas = uncurryThis$a(store.has);
659
- var wmset = uncurryThis$a(store.set);
663
+ /* eslint-disable no-self-assign -- prototype methods protection */
664
+ store.get = store.get;
665
+ store.has = store.has;
666
+ store.set = store.set;
667
+ /* eslint-enable no-self-assign -- prototype methods protection */
660
668
  set = function (it, metadata) {
661
- if (wmhas(store, it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
669
+ if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
662
670
  metadata.facade = it;
663
- wmset(store, it, metadata);
671
+ store.set(it, metadata);
664
672
  return metadata;
665
673
  };
666
674
  get = function (it) {
667
- return wmget(store, it) || {};
675
+ return store.get(it) || {};
668
676
  };
669
677
  has = function (it) {
670
- return wmhas(store, it);
678
+ return store.has(it);
671
679
  };
672
680
  } else {
673
681
  var STATE = sharedKey$2('state');
@@ -694,7 +702,7 @@ var internalState = {
694
702
  getterFor: getterFor
695
703
  };
696
704
 
697
- var fails$9 = fails$g;
705
+ var fails$a = fails$h;
698
706
  var isCallable$9 = isCallable$h;
699
707
  var hasOwn$4 = hasOwnProperty_1;
700
708
  var DESCRIPTORS$3 = descriptors;
@@ -707,7 +715,7 @@ var getInternalState$2 = InternalStateModule$1.get;
707
715
  // eslint-disable-next-line es/no-object-defineproperty -- safe
708
716
  var defineProperty$4 = Object.defineProperty;
709
717
 
710
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$9(function () {
718
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$a(function () {
711
719
  return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
712
720
  });
713
721
 
@@ -940,7 +948,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
940
948
  }
941
949
  };
942
950
 
943
- var fails$8 = fails$g;
951
+ var fails$9 = fails$h;
944
952
  var isCallable$7 = isCallable$h;
945
953
 
946
954
  var replacement = /#|\.prototype\./;
@@ -949,7 +957,7 @@ var isForced$1 = function (feature, detection) {
949
957
  var value = data[normalize(feature)];
950
958
  return value == POLYFILL ? true
951
959
  : value == NATIVE ? false
952
- : isCallable$7(detection) ? fails$8(detection)
960
+ : isCallable$7(detection) ? fails$9(detection)
953
961
  : !!detection;
954
962
  };
955
963
 
@@ -1031,7 +1039,7 @@ var objectKeys$2 = Object.keys || function keys(O) {
1031
1039
  var DESCRIPTORS$2 = descriptors;
1032
1040
  var uncurryThis$7 = functionUncurryThis;
1033
1041
  var call$5 = functionCall;
1034
- var fails$7 = fails$g;
1042
+ var fails$8 = fails$h;
1035
1043
  var objectKeys$1 = objectKeys$2;
1036
1044
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1037
1045
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
@@ -1046,7 +1054,7 @@ var concat$1 = uncurryThis$7([].concat);
1046
1054
 
1047
1055
  // `Object.assign` method
1048
1056
  // https://tc39.es/ecma262/#sec-object.assign
1049
- var objectAssign = !$assign || fails$7(function () {
1057
+ var objectAssign = !$assign || fails$8(function () {
1050
1058
  // should have correct order of operations (Edge bug)
1051
1059
  if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1052
1060
  enumerable: true,
@@ -1085,21 +1093,175 @@ var objectAssign = !$assign || fails$7(function () {
1085
1093
  } return T;
1086
1094
  } : $assign;
1087
1095
 
1088
- var $$3 = _export;
1096
+ var $$4 = _export;
1089
1097
  var assign = objectAssign;
1090
1098
 
1091
1099
  // `Object.assign` method
1092
1100
  // https://tc39.es/ecma262/#sec-object.assign
1093
1101
  // eslint-disable-next-line es/no-object-assign -- required for testing
1094
- $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1102
+ $$4({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1095
1103
  assign: assign
1096
1104
  });
1097
1105
 
1098
- var isObject$1 = isObject$7;
1099
- var classof$3 = classofRaw$1;
1106
+ var objectDefineProperties = {};
1107
+
1108
+ var DESCRIPTORS$1 = descriptors;
1109
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1110
+ var definePropertyModule = objectDefineProperty;
1111
+ var anObject$5 = anObject$8;
1112
+ var toIndexedObject$1 = toIndexedObject$5;
1113
+ var objectKeys = objectKeys$2;
1114
+
1115
+ // `Object.defineProperties` method
1116
+ // https://tc39.es/ecma262/#sec-object.defineproperties
1117
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1118
+ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1119
+ anObject$5(O);
1120
+ var props = toIndexedObject$1(Properties);
1121
+ var keys = objectKeys(Properties);
1122
+ var length = keys.length;
1123
+ var index = 0;
1124
+ var key;
1125
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1126
+ return O;
1127
+ };
1128
+
1129
+ var getBuiltIn = getBuiltIn$4;
1130
+
1131
+ var html$1 = getBuiltIn('document', 'documentElement');
1132
+
1133
+ /* global ActiveXObject -- old IE, WSH */
1134
+
1135
+ var anObject$4 = anObject$8;
1136
+ var definePropertiesModule = objectDefineProperties;
1137
+ var enumBugKeys = enumBugKeys$3;
1138
+ var hiddenKeys = hiddenKeys$4;
1139
+ var html = html$1;
1140
+ var documentCreateElement$1 = documentCreateElement$2;
1141
+ var sharedKey$1 = sharedKey$3;
1142
+
1143
+ var GT = '>';
1144
+ var LT = '<';
1145
+ var PROTOTYPE = 'prototype';
1146
+ var SCRIPT = 'script';
1147
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1148
+
1149
+ var EmptyConstructor = function () { /* empty */ };
1150
+
1151
+ var scriptTag = function (content) {
1152
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1153
+ };
1154
+
1155
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1156
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
1157
+ activeXDocument.write(scriptTag(''));
1158
+ activeXDocument.close();
1159
+ var temp = activeXDocument.parentWindow.Object;
1160
+ activeXDocument = null; // avoid memory leak
1161
+ return temp;
1162
+ };
1163
+
1164
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
1165
+ var NullProtoObjectViaIFrame = function () {
1166
+ // Thrash, waste and sodomy: IE GC bug
1167
+ var iframe = documentCreateElement$1('iframe');
1168
+ var JS = 'java' + SCRIPT + ':';
1169
+ var iframeDocument;
1170
+ iframe.style.display = 'none';
1171
+ html.appendChild(iframe);
1172
+ // https://github.com/zloirock/core-js/issues/475
1173
+ iframe.src = String(JS);
1174
+ iframeDocument = iframe.contentWindow.document;
1175
+ iframeDocument.open();
1176
+ iframeDocument.write(scriptTag('document.F=Object'));
1177
+ iframeDocument.close();
1178
+ return iframeDocument.F;
1179
+ };
1180
+
1181
+ // Check for document.domain and active x support
1182
+ // No need to use active x approach when document.domain is not set
1183
+ // see https://github.com/es-shims/es5-shim/issues/150
1184
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1185
+ // avoid IE GC bug
1186
+ var activeXDocument;
1187
+ var NullProtoObject = function () {
1188
+ try {
1189
+ activeXDocument = new ActiveXObject('htmlfile');
1190
+ } catch (error) { /* ignore */ }
1191
+ NullProtoObject = typeof document != 'undefined'
1192
+ ? document.domain && activeXDocument
1193
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1194
+ : NullProtoObjectViaIFrame()
1195
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
1196
+ var length = enumBugKeys.length;
1197
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1198
+ return NullProtoObject();
1199
+ };
1200
+
1201
+ hiddenKeys[IE_PROTO$1] = true;
1202
+
1203
+ // `Object.create` method
1204
+ // https://tc39.es/ecma262/#sec-object.create
1205
+ // eslint-disable-next-line es/no-object-create -- safe
1206
+ var objectCreate = Object.create || function create(O, Properties) {
1207
+ var result;
1208
+ if (O !== null) {
1209
+ EmptyConstructor[PROTOTYPE] = anObject$4(O);
1210
+ result = new EmptyConstructor();
1211
+ EmptyConstructor[PROTOTYPE] = null;
1212
+ // add "__proto__" for Object.getPrototypeOf polyfill
1213
+ result[IE_PROTO$1] = O;
1214
+ } else result = NullProtoObject();
1215
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1216
+ };
1217
+
1100
1218
  var wellKnownSymbol$a = wellKnownSymbol$c;
1219
+ var create$2 = objectCreate;
1220
+ var defineProperty$2 = objectDefineProperty.f;
1101
1221
 
1102
- var MATCH$1 = wellKnownSymbol$a('match');
1222
+ var UNSCOPABLES = wellKnownSymbol$a('unscopables');
1223
+ var ArrayPrototype = Array.prototype;
1224
+
1225
+ // Array.prototype[@@unscopables]
1226
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1227
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
1228
+ defineProperty$2(ArrayPrototype, UNSCOPABLES, {
1229
+ configurable: true,
1230
+ value: create$2(null)
1231
+ });
1232
+ }
1233
+
1234
+ // add a key to Array.prototype[@@unscopables]
1235
+ var addToUnscopables$2 = function (key) {
1236
+ ArrayPrototype[UNSCOPABLES][key] = true;
1237
+ };
1238
+
1239
+ var $$3 = _export;
1240
+ var $includes = arrayIncludes.includes;
1241
+ var fails$7 = fails$h;
1242
+ var addToUnscopables$1 = addToUnscopables$2;
1243
+
1244
+ // FF99+ bug
1245
+ var BROKEN_ON_SPARSE = fails$7(function () {
1246
+ return !Array(1).includes();
1247
+ });
1248
+
1249
+ // `Array.prototype.includes` method
1250
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
1251
+ $$3({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
1252
+ includes: function includes(el /* , fromIndex = 0 */) {
1253
+ return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
1254
+ }
1255
+ });
1256
+
1257
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1258
+ addToUnscopables$1('includes');
1259
+
1260
+ var isObject$1 = isObject$7;
1261
+ var classof$3 = classofRaw$2;
1262
+ var wellKnownSymbol$9 = wellKnownSymbol$c;
1263
+
1264
+ var MATCH$1 = wellKnownSymbol$9('match');
1103
1265
 
1104
1266
  // `IsRegExp` abstract operation
1105
1267
  // https://tc39.es/ecma262/#sec-isregexp
@@ -1118,9 +1280,9 @@ var notARegexp = function (it) {
1118
1280
  } return it;
1119
1281
  };
1120
1282
 
1121
- var wellKnownSymbol$9 = wellKnownSymbol$c;
1283
+ var wellKnownSymbol$8 = wellKnownSymbol$c;
1122
1284
 
1123
- var TO_STRING_TAG$3 = wellKnownSymbol$9('toStringTag');
1285
+ var TO_STRING_TAG$3 = wellKnownSymbol$8('toStringTag');
1124
1286
  var test = {};
1125
1287
 
1126
1288
  test[TO_STRING_TAG$3] = 'z';
@@ -1129,10 +1291,10 @@ var toStringTagSupport = String(test) === '[object z]';
1129
1291
 
1130
1292
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1131
1293
  var isCallable$6 = isCallable$h;
1132
- var classofRaw = classofRaw$1;
1133
- var wellKnownSymbol$8 = wellKnownSymbol$c;
1294
+ var classofRaw = classofRaw$2;
1295
+ var wellKnownSymbol$7 = wellKnownSymbol$c;
1134
1296
 
1135
- var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1297
+ var TO_STRING_TAG$2 = wellKnownSymbol$7('toStringTag');
1136
1298
  var $Object$1 = Object;
1137
1299
 
1138
1300
  // ES3 wrong here
@@ -1166,9 +1328,9 @@ var toString$4 = function (argument) {
1166
1328
  return $String$1(argument);
1167
1329
  };
1168
1330
 
1169
- var wellKnownSymbol$7 = wellKnownSymbol$c;
1331
+ var wellKnownSymbol$6 = wellKnownSymbol$c;
1170
1332
 
1171
- var MATCH = wellKnownSymbol$7('match');
1333
+ var MATCH = wellKnownSymbol$6('match');
1172
1334
 
1173
1335
  var correctIsRegexpLogic = function (METHOD_NAME) {
1174
1336
  var regexp = /./;
@@ -1203,12 +1365,12 @@ $$2({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
1203
1365
  }
1204
1366
  });
1205
1367
 
1206
- var anObject$5 = anObject$8;
1368
+ var anObject$3 = anObject$8;
1207
1369
 
1208
1370
  // `RegExp.prototype.flags` getter implementation
1209
1371
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1210
1372
  var regexpFlags$1 = function () {
1211
- var that = anObject$5(this);
1373
+ var that = anObject$3(this);
1212
1374
  var result = '';
1213
1375
  if (that.hasIndices) result += 'd';
1214
1376
  if (that.global) result += 'g';
@@ -1221,7 +1383,7 @@ var regexpFlags$1 = function () {
1221
1383
  return result;
1222
1384
  };
1223
1385
 
1224
- var fails$6 = fails$g;
1386
+ var fails$6 = fails$h;
1225
1387
  var global$4 = global$e;
1226
1388
 
1227
1389
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
@@ -1252,119 +1414,7 @@ var regexpStickyHelpers = {
1252
1414
  UNSUPPORTED_Y: UNSUPPORTED_Y$1
1253
1415
  };
1254
1416
 
1255
- var objectDefineProperties = {};
1256
-
1257
- var DESCRIPTORS$1 = descriptors;
1258
- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1259
- var definePropertyModule = objectDefineProperty;
1260
- var anObject$4 = anObject$8;
1261
- var toIndexedObject$1 = toIndexedObject$5;
1262
- var objectKeys = objectKeys$2;
1263
-
1264
- // `Object.defineProperties` method
1265
- // https://tc39.es/ecma262/#sec-object.defineproperties
1266
- // eslint-disable-next-line es/no-object-defineproperties -- safe
1267
- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1268
- anObject$4(O);
1269
- var props = toIndexedObject$1(Properties);
1270
- var keys = objectKeys(Properties);
1271
- var length = keys.length;
1272
- var index = 0;
1273
- var key;
1274
- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1275
- return O;
1276
- };
1277
-
1278
- var getBuiltIn = getBuiltIn$4;
1279
-
1280
- var html$1 = getBuiltIn('document', 'documentElement');
1281
-
1282
- /* global ActiveXObject -- old IE, WSH */
1283
-
1284
- var anObject$3 = anObject$8;
1285
- var definePropertiesModule = objectDefineProperties;
1286
- var enumBugKeys = enumBugKeys$3;
1287
- var hiddenKeys = hiddenKeys$4;
1288
- var html = html$1;
1289
- var documentCreateElement$1 = documentCreateElement$2;
1290
- var sharedKey$1 = sharedKey$3;
1291
-
1292
- var GT = '>';
1293
- var LT = '<';
1294
- var PROTOTYPE = 'prototype';
1295
- var SCRIPT = 'script';
1296
- var IE_PROTO$1 = sharedKey$1('IE_PROTO');
1297
-
1298
- var EmptyConstructor = function () { /* empty */ };
1299
-
1300
- var scriptTag = function (content) {
1301
- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
1302
- };
1303
-
1304
- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
1305
- var NullProtoObjectViaActiveX = function (activeXDocument) {
1306
- activeXDocument.write(scriptTag(''));
1307
- activeXDocument.close();
1308
- var temp = activeXDocument.parentWindow.Object;
1309
- activeXDocument = null; // avoid memory leak
1310
- return temp;
1311
- };
1312
-
1313
- // Create object with fake `null` prototype: use iframe Object with cleared prototype
1314
- var NullProtoObjectViaIFrame = function () {
1315
- // Thrash, waste and sodomy: IE GC bug
1316
- var iframe = documentCreateElement$1('iframe');
1317
- var JS = 'java' + SCRIPT + ':';
1318
- var iframeDocument;
1319
- iframe.style.display = 'none';
1320
- html.appendChild(iframe);
1321
- // https://github.com/zloirock/core-js/issues/475
1322
- iframe.src = String(JS);
1323
- iframeDocument = iframe.contentWindow.document;
1324
- iframeDocument.open();
1325
- iframeDocument.write(scriptTag('document.F=Object'));
1326
- iframeDocument.close();
1327
- return iframeDocument.F;
1328
- };
1329
-
1330
- // Check for document.domain and active x support
1331
- // No need to use active x approach when document.domain is not set
1332
- // see https://github.com/es-shims/es5-shim/issues/150
1333
- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
1334
- // avoid IE GC bug
1335
- var activeXDocument;
1336
- var NullProtoObject = function () {
1337
- try {
1338
- activeXDocument = new ActiveXObject('htmlfile');
1339
- } catch (error) { /* ignore */ }
1340
- NullProtoObject = typeof document != 'undefined'
1341
- ? document.domain && activeXDocument
1342
- ? NullProtoObjectViaActiveX(activeXDocument) // old IE
1343
- : NullProtoObjectViaIFrame()
1344
- : NullProtoObjectViaActiveX(activeXDocument); // WSH
1345
- var length = enumBugKeys.length;
1346
- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
1347
- return NullProtoObject();
1348
- };
1349
-
1350
- hiddenKeys[IE_PROTO$1] = true;
1351
-
1352
- // `Object.create` method
1353
- // https://tc39.es/ecma262/#sec-object.create
1354
- // eslint-disable-next-line es/no-object-create -- safe
1355
- var objectCreate = Object.create || function create(O, Properties) {
1356
- var result;
1357
- if (O !== null) {
1358
- EmptyConstructor[PROTOTYPE] = anObject$3(O);
1359
- result = new EmptyConstructor();
1360
- EmptyConstructor[PROTOTYPE] = null;
1361
- // add "__proto__" for Object.getPrototypeOf polyfill
1362
- result[IE_PROTO$1] = O;
1363
- } else result = NullProtoObject();
1364
- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1365
- };
1366
-
1367
- var fails$5 = fails$g;
1417
+ var fails$5 = fails$h;
1368
1418
  var global$3 = global$e;
1369
1419
 
1370
1420
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
@@ -1375,7 +1425,7 @@ var regexpUnsupportedDotAll = fails$5(function () {
1375
1425
  return !(re.dotAll && re.exec('\n') && re.flags === 's');
1376
1426
  });
1377
1427
 
1378
- var fails$4 = fails$g;
1428
+ var fails$4 = fails$h;
1379
1429
  var global$2 = global$e;
1380
1430
 
1381
1431
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
@@ -1395,7 +1445,7 @@ var toString$2 = toString$4;
1395
1445
  var regexpFlags = regexpFlags$1;
1396
1446
  var stickyHelpers = regexpStickyHelpers;
1397
1447
  var shared = shared$4.exports;
1398
- var create$2 = objectCreate;
1448
+ var create$1 = objectCreate;
1399
1449
  var getInternalState$1 = internalState.get;
1400
1450
  var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
1401
1451
  var UNSUPPORTED_NCG = regexpUnsupportedNcg;
@@ -1491,7 +1541,7 @@ if (PATCH) {
1491
1541
  }
1492
1542
 
1493
1543
  if (match && groups) {
1494
- match.groups = object = create$2(null);
1544
+ match.groups = object = create$1(null);
1495
1545
  for (i = 0; i < groups.length; i++) {
1496
1546
  group = groups[i];
1497
1547
  object[group[0]] = match[group[1]];
@@ -1529,15 +1579,15 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND
1529
1579
  var uncurryThis$4 = functionUncurryThis;
1530
1580
  var defineBuiltIn$2 = defineBuiltIn$4;
1531
1581
  var regexpExec$1 = regexpExec$2;
1532
- var fails$3 = fails$g;
1533
- var wellKnownSymbol$6 = wellKnownSymbol$c;
1582
+ var fails$3 = fails$h;
1583
+ var wellKnownSymbol$5 = wellKnownSymbol$c;
1534
1584
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1535
1585
 
1536
- var SPECIES = wellKnownSymbol$6('species');
1586
+ var SPECIES = wellKnownSymbol$5('species');
1537
1587
  var RegExpPrototype = RegExp.prototype;
1538
1588
 
1539
1589
  var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
1540
- var SYMBOL = wellKnownSymbol$6(KEY);
1590
+ var SYMBOL = wellKnownSymbol$5(KEY);
1541
1591
 
1542
1592
  var DELEGATES_TO_SYMBOL = !fails$3(function () {
1543
1593
  // String methods call symbol-named RegEp methods
@@ -1691,7 +1741,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
1691
1741
  var call$2 = functionCall;
1692
1742
  var anObject$2 = anObject$8;
1693
1743
  var isCallable$5 = isCallable$h;
1694
- var classof = classofRaw$1;
1744
+ var classof = classofRaw$2;
1695
1745
  var regexpExec = regexpExec$2;
1696
1746
 
1697
1747
  var $TypeError$1 = TypeError;
@@ -1713,7 +1763,7 @@ var apply = functionApply;
1713
1763
  var call$1 = functionCall;
1714
1764
  var uncurryThis$1 = functionUncurryThis;
1715
1765
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
1716
- var fails$2 = fails$g;
1766
+ var fails$2 = fails$h;
1717
1767
  var anObject$1 = anObject$8;
1718
1768
  var isCallable$4 = isCallable$h;
1719
1769
  var isNullOrUndefined = isNullOrUndefined$3;
@@ -1725,9 +1775,9 @@ var advanceStringIndex = advanceStringIndex$1;
1725
1775
  var getMethod = getMethod$2;
1726
1776
  var getSubstitution = getSubstitution$1;
1727
1777
  var regExpExec = regexpExecAbstract;
1728
- var wellKnownSymbol$5 = wellKnownSymbol$c;
1778
+ var wellKnownSymbol$4 = wellKnownSymbol$c;
1729
1779
 
1730
- var REPLACE = wellKnownSymbol$5('replace');
1780
+ var REPLACE = wellKnownSymbol$4('replace');
1731
1781
  var max = Math.max;
1732
1782
  var min = Math.min;
1733
1783
  var concat = uncurryThis$1([].concat);
@@ -2000,30 +2050,9 @@ const ToastProviderApp = ({
2000
2050
  }));
2001
2051
  };
2002
2052
 
2003
- var wellKnownSymbol$4 = wellKnownSymbol$c;
2004
- var create$1 = objectCreate;
2005
- var defineProperty$2 = objectDefineProperty.f;
2006
-
2007
- var UNSCOPABLES = wellKnownSymbol$4('unscopables');
2008
- var ArrayPrototype = Array.prototype;
2009
-
2010
- // Array.prototype[@@unscopables]
2011
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
2012
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
2013
- defineProperty$2(ArrayPrototype, UNSCOPABLES, {
2014
- configurable: true,
2015
- value: create$1(null)
2016
- });
2017
- }
2018
-
2019
- // add a key to Array.prototype[@@unscopables]
2020
- var addToUnscopables$1 = function (key) {
2021
- ArrayPrototype[UNSCOPABLES][key] = true;
2022
- };
2023
-
2024
2053
  var iterators = {};
2025
2054
 
2026
- var fails$1 = fails$g;
2055
+ var fails$1 = fails$h;
2027
2056
 
2028
2057
  var correctPrototypeGetter = !fails$1(function () {
2029
2058
  function F() { /* empty */ }
@@ -2054,7 +2083,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
2054
2083
  } return object instanceof $Object ? ObjectPrototype : null;
2055
2084
  };
2056
2085
 
2057
- var fails = fails$g;
2086
+ var fails = fails$h;
2058
2087
  var isCallable$2 = isCallable$h;
2059
2088
  var isObject = isObject$7;
2060
2089
  var getPrototypeOf$1 = objectGetPrototypeOf;
@@ -2272,7 +2301,7 @@ var createIterResultObject$1 = function (value, done) {
2272
2301
  };
2273
2302
 
2274
2303
  var toIndexedObject = toIndexedObject$5;
2275
- var addToUnscopables = addToUnscopables$1;
2304
+ var addToUnscopables = addToUnscopables$2;
2276
2305
  var Iterators = iterators;
2277
2306
  var InternalStateModule = internalState;
2278
2307
  var defineProperty = objectDefineProperty.f;
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "dependencies": {
7
7
  "graphql": "^15.8.0",
8
- "@trackunit/iris-app-runtime-core": "0.0.68",
9
- "@trackunit/react-core-contexts-api": "0.0.59",
10
- "@trackunit/react-core-hooks": "0.0.67",
8
+ "@trackunit/iris-app-runtime-core": "0.0.69",
9
+ "@trackunit/react-core-contexts-api": "0.0.60",
10
+ "@trackunit/react-core-hooks": "0.0.68",
11
11
  "react": "17.0.2",
12
- "@trackunit/react-core-contexts-test": "0.0.39",
12
+ "@trackunit/react-core-contexts-test": "0.0.40",
13
13
  "@apollo/client": "3.6.9",
14
14
  "@sentry/browser": "^7.14.0",
15
15
  "apollo-upload-client": "^14.1.3",