@bcrumbs.net/bc-api 0.0.42 → 0.0.43

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/index.cjs.js CHANGED
@@ -11,6 +11,8 @@ var Url = require('url');
11
11
  var require$$0$1 = require('punycode');
12
12
  var https = require('https');
13
13
  var zlib = require('zlib');
14
+ var batchHttp = require('@apollo/client/link/batch-http');
15
+ var utilities = require('@apollo/client/utilities');
14
16
 
15
17
  /******************************************************************************
16
18
  Copyright (c) Microsoft Corporation.
@@ -461,19 +463,19 @@ var tryToString$3 = tryToString$4;
461
463
  var $TypeError$d = TypeError;
462
464
 
463
465
  // `Assert: IsCallable(argument) is true`
464
- var aCallable$9 = function (argument) {
466
+ var aCallable$a = function (argument) {
465
467
  if (isCallable$i(argument)) return argument;
466
468
  throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
467
469
  };
468
470
 
469
- var aCallable$8 = aCallable$9;
471
+ var aCallable$9 = aCallable$a;
470
472
  var isNullOrUndefined$4 = isNullOrUndefined$6;
471
473
 
472
474
  // `GetMethod` abstract operation
473
475
  // https://tc39.es/ecma262/#sec-getmethod
474
476
  var getMethod$5 = function (V, P) {
475
477
  var func = V[P];
476
- return isNullOrUndefined$4(func) ? undefined : aCallable$8(func);
478
+ return isNullOrUndefined$4(func) ? undefined : aCallable$9(func);
477
479
  };
478
480
 
479
481
  var call$g = functionCall;
@@ -683,7 +685,7 @@ var $String$3 = String;
683
685
  var $TypeError$a = TypeError;
684
686
 
685
687
  // `Assert: Type(argument) is Object`
686
- var anObject$f = function (argument) {
688
+ var anObject$g = function (argument) {
687
689
  if (isObject$6(argument)) return argument;
688
690
  throw new $TypeError$a($String$3(argument) + ' is not an object');
689
691
  };
@@ -691,7 +693,7 @@ var anObject$f = function (argument) {
691
693
  var DESCRIPTORS$a = descriptors;
692
694
  var IE8_DOM_DEFINE = ie8DomDefine;
693
695
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
694
- var anObject$e = anObject$f;
696
+ var anObject$f = anObject$g;
695
697
  var toPropertyKey = toPropertyKey$2;
696
698
 
697
699
  var $TypeError$9 = TypeError;
@@ -706,9 +708,9 @@ var WRITABLE = 'writable';
706
708
  // `Object.defineProperty` method
707
709
  // https://tc39.es/ecma262/#sec-object.defineproperty
708
710
  objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
709
- anObject$e(O);
711
+ anObject$f(O);
710
712
  P = toPropertyKey(P);
711
- anObject$e(Attributes);
713
+ anObject$f(Attributes);
712
714
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
713
715
  var current = $getOwnPropertyDescriptor(O, P);
714
716
  if (current && current[WRITABLE]) {
@@ -721,9 +723,9 @@ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
721
723
  }
722
724
  } return $defineProperty(O, P, Attributes);
723
725
  } : $defineProperty : function defineProperty(O, P, Attributes) {
724
- anObject$e(O);
726
+ anObject$f(O);
725
727
  P = toPropertyKey(P);
726
- anObject$e(Attributes);
728
+ anObject$f(Attributes);
727
729
  if (IE8_DOM_DEFINE) try {
728
730
  return $defineProperty(O, P, Attributes);
729
731
  } catch (error) { /* empty */ }
@@ -1090,13 +1092,13 @@ var getBuiltIn$5 = getBuiltIn$7;
1090
1092
  var uncurryThis$a = functionUncurryThis;
1091
1093
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1092
1094
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1093
- var anObject$d = anObject$f;
1095
+ var anObject$e = anObject$g;
1094
1096
 
1095
1097
  var concat$2 = uncurryThis$a([].concat);
1096
1098
 
1097
1099
  // all object keys, includes non-enumerable and symbols
1098
1100
  var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
1099
- var keys = getOwnPropertyNamesModule.f(anObject$d(it));
1101
+ var keys = getOwnPropertyNamesModule.f(anObject$e(it));
1100
1102
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1101
1103
  return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;
1102
1104
  };
@@ -1263,13 +1265,13 @@ var objectAssign = !$assign || fails$a(function () {
1263
1265
  } return T;
1264
1266
  } : $assign;
1265
1267
 
1266
- var $$a = _export;
1268
+ var $$b = _export;
1267
1269
  var assign = objectAssign;
1268
1270
 
1269
1271
  // `Object.assign` method
1270
1272
  // https://tc39.es/ecma262/#sec-object.assign
1271
1273
  // eslint-disable-next-line es/no-object-assign -- required for testing
1272
- $$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1274
+ $$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1273
1275
  assign: assign
1274
1276
  });
1275
1277
 
@@ -1321,12 +1323,12 @@ var toString$4 = function (argument) {
1321
1323
  return $String$1(argument);
1322
1324
  };
1323
1325
 
1324
- var anObject$c = anObject$f;
1326
+ var anObject$d = anObject$g;
1325
1327
 
1326
1328
  // `RegExp.prototype.flags` getter implementation
1327
1329
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1328
1330
  var regexpFlags$1 = function () {
1329
- var that = anObject$c(this);
1331
+ var that = anObject$d(this);
1330
1332
  var result = '';
1331
1333
  if (that.hasIndices) result += 'd';
1332
1334
  if (that.global) result += 'g';
@@ -1372,7 +1374,7 @@ var objectDefineProperties = {};
1372
1374
  var DESCRIPTORS$5 = descriptors;
1373
1375
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1374
1376
  var definePropertyModule$1 = objectDefineProperty;
1375
- var anObject$b = anObject$f;
1377
+ var anObject$c = anObject$g;
1376
1378
  var toIndexedObject$1 = toIndexedObject$5;
1377
1379
  var objectKeys = objectKeys$2;
1378
1380
 
@@ -1380,7 +1382,7 @@ var objectKeys = objectKeys$2;
1380
1382
  // https://tc39.es/ecma262/#sec-object.defineproperties
1381
1383
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1382
1384
  objectDefineProperties.f = DESCRIPTORS$5 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1383
- anObject$b(O);
1385
+ anObject$c(O);
1384
1386
  var props = toIndexedObject$1(Properties);
1385
1387
  var keys = objectKeys(Properties);
1386
1388
  var length = keys.length;
@@ -1395,7 +1397,7 @@ var getBuiltIn$4 = getBuiltIn$7;
1395
1397
  var html$2 = getBuiltIn$4('document', 'documentElement');
1396
1398
 
1397
1399
  /* global ActiveXObject -- old IE, WSH */
1398
- var anObject$a = anObject$f;
1400
+ var anObject$b = anObject$g;
1399
1401
  var definePropertiesModule = objectDefineProperties;
1400
1402
  var enumBugKeys = enumBugKeys$3;
1401
1403
  var hiddenKeys = hiddenKeys$4;
@@ -1469,7 +1471,7 @@ hiddenKeys[IE_PROTO$1] = true;
1469
1471
  var objectCreate = Object.create || function create(O, Properties) {
1470
1472
  var result;
1471
1473
  if (O !== null) {
1472
- EmptyConstructor[PROTOTYPE] = anObject$a(O);
1474
+ EmptyConstructor[PROTOTYPE] = anObject$b(O);
1473
1475
  result = new EmptyConstructor();
1474
1476
  EmptyConstructor[PROTOTYPE] = null;
1475
1477
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1618,12 +1620,12 @@ if (PATCH) {
1618
1620
 
1619
1621
  var regexpExec$2 = patchedExec;
1620
1622
 
1621
- var $$9 = _export;
1623
+ var $$a = _export;
1622
1624
  var exec$1 = regexpExec$2;
1623
1625
 
1624
1626
  // `RegExp.prototype.exec` method
1625
1627
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
1626
- $$9({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
1628
+ $$a({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
1627
1629
  exec: exec$1
1628
1630
  });
1629
1631
 
@@ -1803,7 +1805,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
1803
1805
  };
1804
1806
 
1805
1807
  var call$9 = functionCall;
1806
- var anObject$9 = anObject$f;
1808
+ var anObject$a = anObject$g;
1807
1809
  var isCallable$a = isCallable$m;
1808
1810
  var classof$3 = classofRaw$2;
1809
1811
  var regexpExec = regexpExec$2;
@@ -1816,7 +1818,7 @@ var regexpExecAbstract = function (R, S) {
1816
1818
  var exec = R.exec;
1817
1819
  if (isCallable$a(exec)) {
1818
1820
  var result = call$9(exec, R, S);
1819
- if (result !== null) anObject$9(result);
1821
+ if (result !== null) anObject$a(result);
1820
1822
  return result;
1821
1823
  }
1822
1824
  if (classof$3(R) === 'RegExp') return call$9(regexpExec, R, S);
@@ -1828,7 +1830,7 @@ var call$8 = functionCall;
1828
1830
  var uncurryThis$5 = functionUncurryThis;
1829
1831
  var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;
1830
1832
  var fails$5 = fails$j;
1831
- var anObject$8 = anObject$f;
1833
+ var anObject$9 = anObject$g;
1832
1834
  var isCallable$9 = isCallable$m;
1833
1835
  var isNullOrUndefined$3 = isNullOrUndefined$6;
1834
1836
  var toIntegerOrInfinity = toIntegerOrInfinity$4;
@@ -1896,7 +1898,7 @@ fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCall
1896
1898
  // `RegExp.prototype[@@replace]` method
1897
1899
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
1898
1900
  function (string, replaceValue) {
1899
- var rx = anObject$8(this);
1901
+ var rx = anObject$9(this);
1900
1902
  var S = toString$1(string);
1901
1903
 
1902
1904
  if (
@@ -1975,7 +1977,7 @@ var sameValue$1 = Object.is || function is(x, y) {
1975
1977
 
1976
1978
  var call$7 = functionCall;
1977
1979
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
1978
- var anObject$7 = anObject$f;
1980
+ var anObject$8 = anObject$g;
1979
1981
  var isNullOrUndefined$2 = isNullOrUndefined$6;
1980
1982
  var requireObjectCoercible$1 = requireObjectCoercible$6;
1981
1983
  var sameValue = sameValue$1;
@@ -1996,7 +1998,7 @@ fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCal
1996
1998
  // `RegExp.prototype[@@search]` method
1997
1999
  // https://tc39.es/ecma262/#sec-regexp.prototype-@@search
1998
2000
  function (string) {
1999
- var rx = anObject$7(this);
2001
+ var rx = anObject$8(this);
2000
2002
  var S = toString(string);
2001
2003
  var res = maybeCallNative(nativeSearch, rx, S);
2002
2004
 
@@ -2246,12 +2248,12 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
2246
2248
  };
2247
2249
 
2248
2250
  var uncurryThis$4 = functionUncurryThis;
2249
- var aCallable$7 = aCallable$9;
2251
+ var aCallable$8 = aCallable$a;
2250
2252
 
2251
2253
  var functionUncurryThisAccessor = function (object, key, method) {
2252
2254
  try {
2253
2255
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2254
- return uncurryThis$4(aCallable$7(Object.getOwnPropertyDescriptor(object, key)[method]));
2256
+ return uncurryThis$4(aCallable$8(Object.getOwnPropertyDescriptor(object, key)[method]));
2255
2257
  } catch (error) { /* empty */ }
2256
2258
  };
2257
2259
 
@@ -2300,7 +2302,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2300
2302
  };
2301
2303
  }() : undefined);
2302
2304
 
2303
- var $$8 = _export;
2305
+ var $$9 = _export;
2304
2306
  var call$6 = functionCall;
2305
2307
  var FunctionName = functionName;
2306
2308
  var isCallable$6 = isCallable$m;
@@ -2388,7 +2390,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
2388
2390
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
2389
2391
  defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
2390
2392
  }
2391
- } else $$8({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
2393
+ } else $$9({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
2392
2394
  }
2393
2395
 
2394
2396
  // define iterator
@@ -2571,7 +2573,7 @@ var aConstructor$1 = function (argument) {
2571
2573
  throw new $TypeError$5(tryToString$2(argument) + ' is not a constructor');
2572
2574
  };
2573
2575
 
2574
- var anObject$6 = anObject$f;
2576
+ var anObject$7 = anObject$g;
2575
2577
  var aConstructor = aConstructor$1;
2576
2578
  var isNullOrUndefined$1 = isNullOrUndefined$6;
2577
2579
  var wellKnownSymbol$6 = wellKnownSymbol$h;
@@ -2581,9 +2583,9 @@ var SPECIES$1 = wellKnownSymbol$6('species');
2581
2583
  // `SpeciesConstructor` abstract operation
2582
2584
  // https://tc39.es/ecma262/#sec-speciesconstructor
2583
2585
  var speciesConstructor$1 = function (O, defaultConstructor) {
2584
- var C = anObject$6(O).constructor;
2586
+ var C = anObject$7(O).constructor;
2585
2587
  var S;
2586
- return C === undefined || isNullOrUndefined$1(S = anObject$6(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
2588
+ return C === undefined || isNullOrUndefined$1(S = anObject$7(C)[SPECIES$1]) ? defaultConstructor : aConstructor(S);
2587
2589
  };
2588
2590
 
2589
2591
  var classofRaw = classofRaw$2;
@@ -2597,14 +2599,14 @@ var functionUncurryThisClause = function (fn) {
2597
2599
  };
2598
2600
 
2599
2601
  var uncurryThis$1 = functionUncurryThisClause;
2600
- var aCallable$6 = aCallable$9;
2602
+ var aCallable$7 = aCallable$a;
2601
2603
  var NATIVE_BIND = functionBindNative;
2602
2604
 
2603
2605
  var bind$4 = uncurryThis$1(uncurryThis$1.bind);
2604
2606
 
2605
2607
  // optional / simple context binding
2606
2608
  var functionBindContext = function (fn, that) {
2607
- aCallable$6(fn);
2609
+ aCallable$7(fn);
2608
2610
  return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
2609
2611
  return fn.apply(that, arguments);
2610
2612
  };
@@ -2942,7 +2944,7 @@ var promiseConstructorDetection = {
2942
2944
 
2943
2945
  var newPromiseCapability$2 = {};
2944
2946
 
2945
- var aCallable$5 = aCallable$9;
2947
+ var aCallable$6 = aCallable$a;
2946
2948
 
2947
2949
  var $TypeError$3 = TypeError;
2948
2950
 
@@ -2953,8 +2955,8 @@ var PromiseCapability = function (C) {
2953
2955
  resolve = $$resolve;
2954
2956
  reject = $$reject;
2955
2957
  });
2956
- this.resolve = aCallable$5(resolve);
2957
- this.reject = aCallable$5(reject);
2958
+ this.resolve = aCallable$6(resolve);
2959
+ this.reject = aCallable$6(reject);
2958
2960
  };
2959
2961
 
2960
2962
  // `NewPromiseCapability` abstract operation
@@ -2963,7 +2965,7 @@ newPromiseCapability$2.f = function (C) {
2963
2965
  return new PromiseCapability(C);
2964
2966
  };
2965
2967
 
2966
- var $$7 = _export;
2968
+ var $$8 = _export;
2967
2969
  var IS_NODE = engineIsNode;
2968
2970
  var global$3 = global$m;
2969
2971
  var call$5 = functionCall;
@@ -2971,7 +2973,7 @@ var defineBuiltIn$1 = defineBuiltIn$6;
2971
2973
  var setPrototypeOf = objectSetPrototypeOf;
2972
2974
  var setToStringTag$1 = setToStringTag$4;
2973
2975
  var setSpecies = setSpecies$1;
2974
- var aCallable$4 = aCallable$9;
2976
+ var aCallable$5 = aCallable$a;
2975
2977
  var isCallable$2 = isCallable$m;
2976
2978
  var isObject$1 = isObject$a;
2977
2979
  var anInstance$1 = anInstance$2;
@@ -3161,7 +3163,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
3161
3163
  // 25.4.3.1 Promise(executor)
3162
3164
  PromiseConstructor = function Promise(executor) {
3163
3165
  anInstance$1(this, PromisePrototype);
3164
- aCallable$4(executor);
3166
+ aCallable$5(executor);
3165
3167
  call$5(Internal, this);
3166
3168
  var state = getInternalPromiseState(this);
3167
3169
  try {
@@ -3243,7 +3245,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
3243
3245
  }
3244
3246
  }
3245
3247
 
3246
- $$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
3248
+ $$8({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR$4 }, {
3247
3249
  Promise: PromiseConstructor
3248
3250
  });
3249
3251
 
@@ -3276,8 +3278,8 @@ var getIteratorMethod$2 = function (it) {
3276
3278
  };
3277
3279
 
3278
3280
  var call$4 = functionCall;
3279
- var aCallable$3 = aCallable$9;
3280
- var anObject$5 = anObject$f;
3281
+ var aCallable$4 = aCallable$a;
3282
+ var anObject$6 = anObject$g;
3281
3283
  var tryToString$1 = tryToString$4;
3282
3284
  var getIteratorMethod$1 = getIteratorMethod$2;
3283
3285
 
@@ -3285,17 +3287,17 @@ var $TypeError$2 = TypeError;
3285
3287
 
3286
3288
  var getIterator$1 = function (argument, usingIterator) {
3287
3289
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
3288
- if (aCallable$3(iteratorMethod)) return anObject$5(call$4(iteratorMethod, argument));
3290
+ if (aCallable$4(iteratorMethod)) return anObject$6(call$4(iteratorMethod, argument));
3289
3291
  throw new $TypeError$2(tryToString$1(argument) + ' is not iterable');
3290
3292
  };
3291
3293
 
3292
3294
  var call$3 = functionCall;
3293
- var anObject$4 = anObject$f;
3295
+ var anObject$5 = anObject$g;
3294
3296
  var getMethod = getMethod$5;
3295
3297
 
3296
3298
  var iteratorClose$1 = function (iterator, kind, value) {
3297
3299
  var innerResult, innerError;
3298
- anObject$4(iterator);
3300
+ anObject$5(iterator);
3299
3301
  try {
3300
3302
  innerResult = getMethod(iterator, 'return');
3301
3303
  if (!innerResult) {
@@ -3309,13 +3311,13 @@ var iteratorClose$1 = function (iterator, kind, value) {
3309
3311
  }
3310
3312
  if (kind === 'throw') throw value;
3311
3313
  if (innerError) throw innerResult;
3312
- anObject$4(innerResult);
3314
+ anObject$5(innerResult);
3313
3315
  return value;
3314
3316
  };
3315
3317
 
3316
3318
  var bind = functionBindContext;
3317
3319
  var call$2 = functionCall;
3318
- var anObject$3 = anObject$f;
3320
+ var anObject$4 = anObject$g;
3319
3321
  var tryToString = tryToString$4;
3320
3322
  var isArrayIteratorMethod = isArrayIteratorMethod$1;
3321
3323
  var lengthOfArrayLike = lengthOfArrayLike$2;
@@ -3333,7 +3335,7 @@ var Result = function (stopped, result) {
3333
3335
 
3334
3336
  var ResultPrototype = Result.prototype;
3335
3337
 
3336
- var iterate$3 = function (iterable, unboundFunction, options) {
3338
+ var iterate$4 = function (iterable, unboundFunction, options) {
3337
3339
  var that = options && options.that;
3338
3340
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
3339
3341
  var IS_RECORD = !!(options && options.IS_RECORD);
@@ -3349,7 +3351,7 @@ var iterate$3 = function (iterable, unboundFunction, options) {
3349
3351
 
3350
3352
  var callFn = function (value) {
3351
3353
  if (AS_ENTRIES) {
3352
- anObject$3(value);
3354
+ anObject$4(value);
3353
3355
  return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
3354
3356
  } return INTERRUPTED ? fn(value, stop) : fn(value);
3355
3357
  };
@@ -3431,28 +3433,28 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
3431
3433
  NativePromiseConstructor$1.all(iterable).then(undefined, function () { /* empty */ });
3432
3434
  });
3433
3435
 
3434
- var $$6 = _export;
3436
+ var $$7 = _export;
3435
3437
  var call$1 = functionCall;
3436
- var aCallable$2 = aCallable$9;
3438
+ var aCallable$3 = aCallable$a;
3437
3439
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
3438
3440
  var perform$1 = perform$3;
3439
- var iterate$2 = iterate$3;
3441
+ var iterate$3 = iterate$4;
3440
3442
  var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
3441
3443
 
3442
3444
  // `Promise.all` method
3443
3445
  // https://tc39.es/ecma262/#sec-promise.all
3444
- $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
3446
+ $$7({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION$1 }, {
3445
3447
  all: function all(iterable) {
3446
3448
  var C = this;
3447
3449
  var capability = newPromiseCapabilityModule$2.f(C);
3448
3450
  var resolve = capability.resolve;
3449
3451
  var reject = capability.reject;
3450
3452
  var result = perform$1(function () {
3451
- var $promiseResolve = aCallable$2(C.resolve);
3453
+ var $promiseResolve = aCallable$3(C.resolve);
3452
3454
  var values = [];
3453
3455
  var counter = 0;
3454
3456
  var remaining = 1;
3455
- iterate$2(iterable, function (promise) {
3457
+ iterate$3(iterable, function (promise) {
3456
3458
  var index = counter++;
3457
3459
  var alreadyCalled = false;
3458
3460
  remaining++;
@@ -3470,7 +3472,7 @@ $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3470
3472
  }
3471
3473
  });
3472
3474
 
3473
- var $$5 = _export;
3475
+ var $$6 = _export;
3474
3476
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
3475
3477
  var NativePromiseConstructor = promiseNativeConstructor;
3476
3478
  var getBuiltIn$1 = getBuiltIn$7;
@@ -3481,7 +3483,7 @@ var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructo
3481
3483
 
3482
3484
  // `Promise.prototype.catch` method
3483
3485
  // https://tc39.es/ecma262/#sec-promise.prototype.catch
3484
- $$5({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
3486
+ $$6({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR$2, real: true }, {
3485
3487
  'catch': function (onRejected) {
3486
3488
  return this.then(undefined, onRejected);
3487
3489
  }
@@ -3495,24 +3497,24 @@ if (isCallable$1(NativePromiseConstructor)) {
3495
3497
  }
3496
3498
  }
3497
3499
 
3498
- var $$4 = _export;
3500
+ var $$5 = _export;
3499
3501
  var call = functionCall;
3500
- var aCallable$1 = aCallable$9;
3502
+ var aCallable$2 = aCallable$a;
3501
3503
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
3502
3504
  var perform = perform$3;
3503
- var iterate$1 = iterate$3;
3505
+ var iterate$2 = iterate$4;
3504
3506
  var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
3505
3507
 
3506
3508
  // `Promise.race` method
3507
3509
  // https://tc39.es/ecma262/#sec-promise.race
3508
- $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
3510
+ $$5({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, {
3509
3511
  race: function race(iterable) {
3510
3512
  var C = this;
3511
3513
  var capability = newPromiseCapabilityModule$1.f(C);
3512
3514
  var reject = capability.reject;
3513
3515
  var result = perform(function () {
3514
- var $promiseResolve = aCallable$1(C.resolve);
3515
- iterate$1(iterable, function (promise) {
3516
+ var $promiseResolve = aCallable$2(C.resolve);
3517
+ iterate$2(iterable, function (promise) {
3516
3518
  call($promiseResolve, C, promise).then(capability.resolve, reject);
3517
3519
  });
3518
3520
  });
@@ -3521,13 +3523,13 @@ $$4({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
3521
3523
  }
3522
3524
  });
3523
3525
 
3524
- var $$3 = _export;
3526
+ var $$4 = _export;
3525
3527
  var newPromiseCapabilityModule = newPromiseCapability$2;
3526
3528
  var FORCED_PROMISE_CONSTRUCTOR$1 = promiseConstructorDetection.CONSTRUCTOR;
3527
3529
 
3528
3530
  // `Promise.reject` method
3529
3531
  // https://tc39.es/ecma262/#sec-promise.reject
3530
- $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3532
+ $$4({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3531
3533
  reject: function reject(r) {
3532
3534
  var capability = newPromiseCapabilityModule.f(this);
3533
3535
  var capabilityReject = capability.reject;
@@ -3536,12 +3538,12 @@ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
3536
3538
  }
3537
3539
  });
3538
3540
 
3539
- var anObject$2 = anObject$f;
3541
+ var anObject$3 = anObject$g;
3540
3542
  var isObject = isObject$a;
3541
3543
  var newPromiseCapability = newPromiseCapability$2;
3542
3544
 
3543
3545
  var promiseResolve$1 = function (C, x) {
3544
- anObject$2(C);
3546
+ anObject$3(C);
3545
3547
  if (isObject(x) && x.constructor === C) return x;
3546
3548
  var promiseCapability = newPromiseCapability.f(C);
3547
3549
  var resolve = promiseCapability.resolve;
@@ -3549,7 +3551,7 @@ var promiseResolve$1 = function (C, x) {
3549
3551
  return promiseCapability.promise;
3550
3552
  };
3551
3553
 
3552
- var $$2 = _export;
3554
+ var $$3 = _export;
3553
3555
  var getBuiltIn = getBuiltIn$7;
3554
3556
  var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
3555
3557
  var promiseResolve = promiseResolve$1;
@@ -3558,12 +3560,114 @@ getBuiltIn('Promise');
3558
3560
 
3559
3561
  // `Promise.resolve` method
3560
3562
  // https://tc39.es/ecma262/#sec-promise.resolve
3561
- $$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
3563
+ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
3562
3564
  resolve: function resolve(x) {
3563
3565
  return promiseResolve(this, x);
3564
3566
  }
3565
3567
  });
3566
3568
 
3569
+ var DESCRIPTORS$1 = descriptors;
3570
+ var definePropertyModule = objectDefineProperty;
3571
+ var createPropertyDescriptor = createPropertyDescriptor$4;
3572
+
3573
+ var createProperty$1 = function (object, key, value) {
3574
+ if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
3575
+ else object[key] = value;
3576
+ };
3577
+
3578
+ var $$2 = _export;
3579
+ var global$2 = global$m;
3580
+ var anInstance = anInstance$2;
3581
+ var anObject$2 = anObject$g;
3582
+ var isCallable = isCallable$m;
3583
+ var getPrototypeOf = objectGetPrototypeOf;
3584
+ var defineBuiltInAccessor = defineBuiltInAccessor$2;
3585
+ var createProperty = createProperty$1;
3586
+ var fails = fails$j;
3587
+ var hasOwn = hasOwnProperty_1;
3588
+ var wellKnownSymbol$1 = wellKnownSymbol$h;
3589
+ var IteratorPrototype = iteratorsCore.IteratorPrototype;
3590
+ var DESCRIPTORS = descriptors;
3591
+
3592
+ var CONSTRUCTOR = 'constructor';
3593
+ var ITERATOR$1 = 'Iterator';
3594
+ var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
3595
+
3596
+ var $TypeError = TypeError;
3597
+ var NativeIterator = global$2[ITERATOR$1];
3598
+
3599
+ // FF56- have non-standard global helper `Iterator`
3600
+ var FORCED = !isCallable(NativeIterator)
3601
+ || NativeIterator.prototype !== IteratorPrototype
3602
+ // FF44- non-standard `Iterator` passes previous tests
3603
+ || !fails(function () { NativeIterator({}); });
3604
+
3605
+ var IteratorConstructor = function Iterator() {
3606
+ anInstance(this, IteratorPrototype);
3607
+ if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
3608
+ };
3609
+
3610
+ var defineIteratorPrototypeAccessor = function (key, value) {
3611
+ if (DESCRIPTORS) {
3612
+ defineBuiltInAccessor(IteratorPrototype, key, {
3613
+ configurable: true,
3614
+ get: function () {
3615
+ return value;
3616
+ },
3617
+ set: function (replacement) {
3618
+ anObject$2(this);
3619
+ if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
3620
+ if (hasOwn(this, key)) this[key] = replacement;
3621
+ else createProperty(this, key, replacement);
3622
+ }
3623
+ });
3624
+ } else IteratorPrototype[key] = value;
3625
+ };
3626
+
3627
+ if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR$1);
3628
+
3629
+ if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
3630
+ defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
3631
+ }
3632
+
3633
+ IteratorConstructor.prototype = IteratorPrototype;
3634
+
3635
+ // `Iterator` constructor
3636
+ // https://github.com/tc39/proposal-iterator-helpers
3637
+ $$2({ global: true, constructor: true, forced: FORCED }, {
3638
+ Iterator: IteratorConstructor
3639
+ });
3640
+
3641
+ // `GetIteratorDirect(obj)` abstract operation
3642
+ // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
3643
+ var getIteratorDirect$2 = function (obj) {
3644
+ return {
3645
+ iterator: obj,
3646
+ next: obj.next,
3647
+ done: false
3648
+ };
3649
+ };
3650
+
3651
+ var $$1 = _export;
3652
+ var iterate$1 = iterate$4;
3653
+ var aCallable$1 = aCallable$a;
3654
+ var anObject$1 = anObject$g;
3655
+ var getIteratorDirect$1 = getIteratorDirect$2;
3656
+
3657
+ // `Iterator.prototype.find` method
3658
+ // https://github.com/tc39/proposal-iterator-helpers
3659
+ $$1({ target: 'Iterator', proto: true, real: true }, {
3660
+ find: function find(predicate) {
3661
+ anObject$1(this);
3662
+ aCallable$1(predicate);
3663
+ var record = getIteratorDirect$1(this);
3664
+ var counter = 0;
3665
+ return iterate$1(record, function (value, stop) {
3666
+ if (predicate(value, counter++)) return stop(value);
3667
+ }, { IS_RECORD: true, INTERRUPTED: true }).result;
3668
+ }
3669
+ });
3670
+
3567
3671
  // iterable DOM collections
3568
3672
  // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
3569
3673
  var domIterables = {
@@ -3608,24 +3712,24 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
3608
3712
 
3609
3713
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
3610
3714
 
3611
- var global$2 = global$m;
3715
+ var global$1 = global$m;
3612
3716
  var DOMIterables = domIterables;
3613
3717
  var DOMTokenListPrototype = domTokenListPrototype;
3614
3718
  var ArrayIteratorMethods = es_array_iterator;
3615
3719
  var createNonEnumerableProperty = createNonEnumerableProperty$5;
3616
3720
  var setToStringTag = setToStringTag$4;
3617
- var wellKnownSymbol$1 = wellKnownSymbol$h;
3721
+ var wellKnownSymbol = wellKnownSymbol$h;
3618
3722
 
3619
- var ITERATOR$1 = wellKnownSymbol$1('iterator');
3723
+ var ITERATOR = wellKnownSymbol('iterator');
3620
3724
  var ArrayValues = ArrayIteratorMethods.values;
3621
3725
 
3622
3726
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
3623
3727
  if (CollectionPrototype) {
3624
3728
  // some Chrome versions have non-configurable methods on DOMTokenList
3625
- if (CollectionPrototype[ITERATOR$1] !== ArrayValues) try {
3626
- createNonEnumerableProperty(CollectionPrototype, ITERATOR$1, ArrayValues);
3729
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
3730
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
3627
3731
  } catch (error) {
3628
- CollectionPrototype[ITERATOR$1] = ArrayValues;
3732
+ CollectionPrototype[ITERATOR] = ArrayValues;
3629
3733
  }
3630
3734
  setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
3631
3735
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
@@ -3640,7 +3744,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
3640
3744
  };
3641
3745
 
3642
3746
  for (var COLLECTION_NAME in DOMIterables) {
3643
- handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
3747
+ handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
3644
3748
  }
3645
3749
 
3646
3750
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -3651,16 +3755,25 @@ const defaultErrorHandler = ({
3651
3755
  graphQLErrors
3652
3756
  }) => {
3653
3757
  if (networkError && networkError.statusCode === 401) {
3654
- // redirect to login page
3655
- if (typeof window !== 'undefined' && window.location.pathname !== '/account/login') {
3656
- return window.location.replace('/account/login');
3758
+ redirectToLogin();
3759
+ return;
3760
+ }
3761
+ if (graphQLErrors && graphQLErrors.length > 0) {
3762
+ const unauthenticatedError = graphQLErrors.find(error => {
3763
+ var _a;
3764
+ return ((_a = error === null || error === void 0 ? void 0 : error.extensions) === null || _a === void 0 ? void 0 : _a['code']) === 'UNAUTHENTICATED';
3765
+ });
3766
+ if (unauthenticatedError) {
3767
+ redirectToLogin();
3768
+ return;
3657
3769
  }
3658
- } else if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
3770
+ }
3771
+ if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
3659
3772
  if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
3660
3773
  return window.location.replace('/error?message=' + networkError.message);
3661
3774
  }
3662
3775
  }
3663
- // TODO: Uncomment this and fix when we have a proper way to handle 403 errors
3776
+ // TODO: Uncomment this and fix when we have a proper way to handle 403 errors, if needed
3664
3777
  // if (
3665
3778
  // graphQLErrors &&
3666
3779
  // graphQLErrors.find((error) => error?.extensions?.['code'] === 'FORBIDDEN')
@@ -3725,6 +3838,19 @@ function getUserContext() {
3725
3838
  });
3726
3839
  });
3727
3840
  }
3841
+ const clearAuthData = () => {
3842
+ if (typeof window !== 'undefined') {
3843
+ window.localStorage.removeItem('token');
3844
+ window.localStorage.removeItem('ContextId');
3845
+ window.localStorage.removeItem('userInfo');
3846
+ }
3847
+ };
3848
+ const redirectToLogin = () => {
3849
+ if (typeof window !== 'undefined' && window.location.pathname !== '/account/login') {
3850
+ clearAuthData();
3851
+ window.location.href = '/account/login';
3852
+ }
3853
+ };
3728
3854
 
3729
3855
  const {
3730
3856
  networkInterface: uri$4
@@ -3764,11 +3890,11 @@ const errorLink$3 = error.onError(({
3764
3890
  }
3765
3891
  } else if (networkError && networkError.statusCode > 500 && networkError.statusCode !== 503) {
3766
3892
  if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
3767
- return window.location.replace('/account/error?message=' + networkError.message);
3893
+ return window.location.replace('/error?message=' + networkError.message);
3768
3894
  }
3769
3895
  } else {
3770
3896
  if (typeof window !== 'undefined' && window.location.pathname !== '/error') {
3771
- return window.location.replace('/account/error?message=Cannot connect to the server, please make sure you have an active internet connection');
3897
+ return window.location.replace('/error?message=Cannot connect to the server, please make sure you have an active internet connection');
3772
3898
  }
3773
3899
  }
3774
3900
  });
@@ -3926,14 +4052,14 @@ const errorLink$2 = error.onError(handleHandler);
3926
4052
  /* eslint-disable no-process-env */
3927
4053
  const isDevEnv$3 = process.env['NODE_ENV'] !== 'production';
3928
4054
  /* eslint-enable no-process-env */
3929
- const link_dquery$2 = client.createHttpLink({
4055
+ const link_dquery$1 = client.createHttpLink({
3930
4056
  uri: uri$3,
3931
4057
  fetchOptions: {
3932
4058
  mode: 'cors'
3933
4059
  }
3934
4060
  });
3935
4061
  const dqueryClient = new client.ApolloClient({
3936
- link: client.from([errorLink$2, link_dquery$2]),
4062
+ link: client.from([errorLink$2, link_dquery$1]),
3937
4063
  cache: cache$3,
3938
4064
  connectToDevTools: isDevEnv$3,
3939
4065
  queryDeduplication: true
@@ -87316,14 +87442,31 @@ const errorLink$1 = error.onError(handleHandler);
87316
87442
  /* eslint-disable no-process-env */
87317
87443
  const isDevEnv$1 = process.env['NODE_ENV'] !== 'production';
87318
87444
  /* eslint-enable no-process-env */
87319
- const link_dquery$1 = client.createHttpLink({
87445
+ const httpLink = client.createHttpLink({
87320
87446
  uri: `${uri$1}/gq`,
87321
87447
  fetchOptions: {
87322
87448
  mode: 'cors'
87323
87449
  }
87324
87450
  });
87451
+ const batchLink = new batchHttp.BatchHttpLink({
87452
+ uri: `${uri$1}/gq`,
87453
+ batchMax: 5,
87454
+ // Max number of operations in a single batch
87455
+ batchInterval: 200,
87456
+ // Time in ms to wait for operations to accumulate
87457
+ fetchOptions: {
87458
+ mode: 'cors'
87459
+ }
87460
+ });
87461
+ // use batch link for queries and http link for mutations
87462
+ const splitLink = client.split(({
87463
+ query
87464
+ }) => {
87465
+ const definition = utilities.getMainDefinition(query);
87466
+ return definition.kind === 'OperationDefinition' && definition.operation === 'query';
87467
+ }, batchLink, httpLink);
87325
87468
  const coreClient = new client.ApolloClient({
87326
- link: client.from([authLink$1, errorLink$1, link_dquery$1]),
87469
+ link: client.from([authLink$1, errorLink$1, splitLink]),
87327
87470
  cache: cache$1,
87328
87471
  connectToDevTools: isDevEnv$1,
87329
87472
  queryDeduplication: true
@@ -87351,93 +87494,11 @@ const botClient = new client.ApolloClient({
87351
87494
  queryDeduplication: true
87352
87495
  });
87353
87496
 
87354
- var DESCRIPTORS$1 = descriptors;
87355
- var definePropertyModule = objectDefineProperty;
87356
- var createPropertyDescriptor = createPropertyDescriptor$4;
87357
-
87358
- var createProperty$1 = function (object, key, value) {
87359
- if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
87360
- else object[key] = value;
87361
- };
87362
-
87363
- var $$1 = _export;
87364
- var global$1 = global$m;
87365
- var anInstance = anInstance$2;
87366
- var anObject$1 = anObject$f;
87367
- var isCallable = isCallable$m;
87368
- var getPrototypeOf = objectGetPrototypeOf;
87369
- var defineBuiltInAccessor = defineBuiltInAccessor$2;
87370
- var createProperty = createProperty$1;
87371
- var fails = fails$j;
87372
- var hasOwn = hasOwnProperty_1;
87373
- var wellKnownSymbol = wellKnownSymbol$h;
87374
- var IteratorPrototype = iteratorsCore.IteratorPrototype;
87375
- var DESCRIPTORS = descriptors;
87376
-
87377
- var CONSTRUCTOR = 'constructor';
87378
- var ITERATOR = 'Iterator';
87379
- var TO_STRING_TAG = wellKnownSymbol('toStringTag');
87380
-
87381
- var $TypeError = TypeError;
87382
- var NativeIterator = global$1[ITERATOR];
87383
-
87384
- // FF56- have non-standard global helper `Iterator`
87385
- var FORCED = !isCallable(NativeIterator)
87386
- || NativeIterator.prototype !== IteratorPrototype
87387
- // FF44- non-standard `Iterator` passes previous tests
87388
- || !fails(function () { NativeIterator({}); });
87389
-
87390
- var IteratorConstructor = function Iterator() {
87391
- anInstance(this, IteratorPrototype);
87392
- if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable');
87393
- };
87394
-
87395
- var defineIteratorPrototypeAccessor = function (key, value) {
87396
- if (DESCRIPTORS) {
87397
- defineBuiltInAccessor(IteratorPrototype, key, {
87398
- configurable: true,
87399
- get: function () {
87400
- return value;
87401
- },
87402
- set: function (replacement) {
87403
- anObject$1(this);
87404
- if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property");
87405
- if (hasOwn(this, key)) this[key] = replacement;
87406
- else createProperty(this, key, replacement);
87407
- }
87408
- });
87409
- } else IteratorPrototype[key] = value;
87410
- };
87411
-
87412
- if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR);
87413
-
87414
- if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
87415
- defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
87416
- }
87417
-
87418
- IteratorConstructor.prototype = IteratorPrototype;
87419
-
87420
- // `Iterator` constructor
87421
- // https://github.com/tc39/proposal-iterator-helpers
87422
- $$1({ global: true, constructor: true, forced: FORCED }, {
87423
- Iterator: IteratorConstructor
87424
- });
87425
-
87426
- // `GetIteratorDirect(obj)` abstract operation
87427
- // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
87428
- var getIteratorDirect$1 = function (obj) {
87429
- return {
87430
- iterator: obj,
87431
- next: obj.next,
87432
- done: false
87433
- };
87434
- };
87435
-
87436
87497
  var $ = _export;
87437
- var iterate = iterate$3;
87438
- var aCallable = aCallable$9;
87439
- var anObject = anObject$f;
87440
- var getIteratorDirect = getIteratorDirect$1;
87498
+ var iterate = iterate$4;
87499
+ var aCallable = aCallable$a;
87500
+ var anObject = anObject$g;
87501
+ var getIteratorDirect = getIteratorDirect$2;
87441
87502
 
87442
87503
  // `Iterator.prototype.forEach` method
87443
87504
  // https://github.com/tc39/proposal-iterator-helpers
@@ -87495,6 +87556,7 @@ exports.addDomain = addDomain;
87495
87556
  exports.addDomainOptions = addDomainOptions;
87496
87557
  exports.appConfig = appConfig;
87497
87558
  exports.botClient = botClient;
87559
+ exports.clearAuthData = clearAuthData;
87498
87560
  exports.companyUsersQuery = companyUsersQuery;
87499
87561
  exports.contentInstancesQuery = contentInstancesQuery;
87500
87562
  exports.coreClient = coreClient;
@@ -87514,6 +87576,10 @@ exports.foldersTreeQuery = foldersTreeQuery;
87514
87576
  exports.forgetPassword = forgetPassword;
87515
87577
  exports.forgetPasswordOptions = forgetPasswordOptions;
87516
87578
  exports.getErrorHandler = getErrorHandler;
87579
+ exports.getUserContext = getUserContext;
87580
+ exports.getUserToken = getUserToken;
87581
+ exports.handleAuth = handleAuth;
87582
+ exports.handleHandler = handleHandler;
87517
87583
  exports.inviteUser = inviteUser;
87518
87584
  exports.inviteUserOptions = inviteUserOptions;
87519
87585
  exports.login = login;
@@ -87522,6 +87588,7 @@ exports.menuConfigurationQuery = menuConfigurationQuery;
87522
87588
  exports.portalThemeConfig = portalThemeConfig;
87523
87589
  exports.querySectionThumb = querySectionThumb;
87524
87590
  exports.queryUsage = queryUsage;
87591
+ exports.redirectToLogin = redirectToLogin;
87525
87592
  exports.registeUsage = registeUsage;
87526
87593
  exports.register = register;
87527
87594
  exports.registerOptions = registerOptions;