@seamly/web-ui 22.0.0 → 22.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/build/dist/lib/components.js +130 -100
  2. package/build/dist/lib/components.js.map +1 -1
  3. package/build/dist/lib/components.min.js +1 -1
  4. package/build/dist/lib/components.min.js.LICENSE.txt +2 -2
  5. package/build/dist/lib/components.min.js.map +1 -1
  6. package/build/dist/lib/deprecated-view.css +1 -1
  7. package/build/dist/lib/deprecated-view.js +1 -1
  8. package/build/dist/lib/hooks.js +106 -96
  9. package/build/dist/lib/hooks.js.map +1 -1
  10. package/build/dist/lib/hooks.min.js +1 -1
  11. package/build/dist/lib/hooks.min.js.map +1 -1
  12. package/build/dist/lib/index.debug.js +57 -43
  13. package/build/dist/lib/index.debug.js.map +1 -1
  14. package/build/dist/lib/index.debug.min.js +1 -1
  15. package/build/dist/lib/index.debug.min.js.LICENSE.txt +12 -8
  16. package/build/dist/lib/index.debug.min.js.map +1 -1
  17. package/build/dist/lib/index.js +173 -143
  18. package/build/dist/lib/index.js.map +1 -1
  19. package/build/dist/lib/index.min.js +1 -1
  20. package/build/dist/lib/index.min.js.LICENSE.txt +2 -2
  21. package/build/dist/lib/index.min.js.map +1 -1
  22. package/build/dist/lib/standalone.js +395 -171
  23. package/build/dist/lib/standalone.js.map +1 -1
  24. package/build/dist/lib/standalone.min.js +1 -1
  25. package/build/dist/lib/standalone.min.js.LICENSE.txt +1 -1
  26. package/build/dist/lib/standalone.min.js.map +1 -1
  27. package/build/dist/lib/storage.js +17 -17
  28. package/build/dist/lib/storage.js.map +1 -1
  29. package/build/dist/lib/storage.min.js +1 -1
  30. package/build/dist/lib/storage.min.js.LICENSE.txt +1 -1
  31. package/build/dist/lib/storage.min.js.map +1 -1
  32. package/build/dist/lib/style-guide.js +159 -134
  33. package/build/dist/lib/style-guide.js.map +1 -1
  34. package/build/dist/lib/style-guide.min.js +1 -1
  35. package/build/dist/lib/style-guide.min.js.LICENSE.txt +2 -2
  36. package/build/dist/lib/style-guide.min.js.map +1 -1
  37. package/build/dist/lib/styles-default-implementation.js +1 -1
  38. package/build/dist/lib/styles.css +1 -1
  39. package/build/dist/lib/styles.js +1 -1
  40. package/build/dist/lib/utils.js +167 -146
  41. package/build/dist/lib/utils.js.map +1 -1
  42. package/build/dist/lib/utils.min.js +1 -1
  43. package/build/dist/lib/utils.min.js.LICENSE.txt +1 -1
  44. package/build/dist/lib/utils.min.js.map +1 -1
  45. package/package.json +30 -27
  46. package/src/javascripts/api/conversation-connector.ts +6 -4
  47. package/src/javascripts/domains/store/slice.ts +6 -0
  48. package/src/javascripts/domains/store/store.types.ts +4 -1
  49. package/src/javascripts/ui/components/conversation/conversation.tsx +3 -1
  50. package/src/javascripts/ui/components/core/seamly-event-subscriber.ts +38 -49
  51. package/src/javascripts/ui/components/core/seamly-live-region.js +1 -1
  52. package/src/javascripts/ui/hooks/use-debounce.ts +18 -0
  53. package/src/javascripts/ui/hooks/use-seamly-chat.ts +3 -42
@@ -1056,6 +1056,8 @@ module.exports = parent;
1056
1056
 
1057
1057
  var parent = __webpack_require__(281);
1058
1058
  __webpack_require__(8783);
1059
+ __webpack_require__(2731);
1060
+ __webpack_require__(5605);
1059
1061
  __webpack_require__(5799);
1060
1062
  __webpack_require__(1943);
1061
1063
  __webpack_require__(6774);
@@ -2376,6 +2378,7 @@ module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefi
2376
2378
 
2377
2379
  var userAgent = __webpack_require__(2861);
2378
2380
 
2381
+ // eslint-disable-next-line redos/no-vulnerable -- safe
2379
2382
  module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);
2380
2383
 
2381
2384
 
@@ -2493,6 +2496,7 @@ var $Error = Error;
2493
2496
  var replace = uncurryThis(''.replace);
2494
2497
 
2495
2498
  var TEST = (function (arg) { return String($Error(arg).stack); })('zxcasd');
2499
+ // eslint-disable-next-line redos/no-vulnerable -- safe
2496
2500
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
2497
2501
  var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);
2498
2502
 
@@ -2620,7 +2624,7 @@ module.exports = function (options, source) {
2620
2624
 
2621
2625
  // bind methods to global for calling from export context
2622
2626
  if (options.bind && USE_NATIVE) resultProperty = bind(sourceProperty, global);
2623
- // wrap global constructors for prevent changs in this version
2627
+ // wrap global constructors for prevent changes in this version
2624
2628
  else if (options.wrap && USE_NATIVE) resultProperty = wrapConstructor(sourceProperty);
2625
2629
  // make static versions for prototype methods
2626
2630
  else if (PROTO && isCallable(sourceProperty)) resultProperty = uncurryThis(sourceProperty);
@@ -2799,6 +2803,7 @@ var construct = function (C, argsLength, args) {
2799
2803
 
2800
2804
  // `Function.prototype.bind` method implementation
2801
2805
  // https://tc39.es/ecma262/#sec-function.prototype.bind
2806
+ // eslint-disable-next-line es/no-function-prototype-bind -- detection
2802
2807
  module.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {
2803
2808
  var F = aCallable(this);
2804
2809
  var Prototype = F.prototype;
@@ -2850,6 +2855,22 @@ module.exports = {
2850
2855
  };
2851
2856
 
2852
2857
 
2858
+ /***/ }),
2859
+
2860
+ /***/ 5526:
2861
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2862
+
2863
+ var uncurryThis = __webpack_require__(5329);
2864
+ var aCallable = __webpack_require__(4883);
2865
+
2866
+ module.exports = function (object, key, method) {
2867
+ try {
2868
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2869
+ return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
2870
+ } catch (error) { /* empty */ }
2871
+ };
2872
+
2873
+
2853
2874
  /***/ }),
2854
2875
 
2855
2876
  /***/ 7484:
@@ -2943,6 +2964,42 @@ module.exports = function (argument, usingIterator) {
2943
2964
  };
2944
2965
 
2945
2966
 
2967
+ /***/ }),
2968
+
2969
+ /***/ 3323:
2970
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
2971
+
2972
+ var uncurryThis = __webpack_require__(5329);
2973
+ var isArray = __webpack_require__(1052);
2974
+ var isCallable = __webpack_require__(7475);
2975
+ var classof = __webpack_require__(2532);
2976
+ var toString = __webpack_require__(5803);
2977
+
2978
+ var push = uncurryThis([].push);
2979
+
2980
+ module.exports = function (replacer) {
2981
+ if (isCallable(replacer)) return replacer;
2982
+ if (!isArray(replacer)) return;
2983
+ var rawLength = replacer.length;
2984
+ var keys = [];
2985
+ for (var i = 0; i < rawLength; i++) {
2986
+ var element = replacer[i];
2987
+ if (typeof element == 'string') push(keys, element);
2988
+ else if (typeof element == 'number' || classof(element) == 'Number' || classof(element) == 'String') push(keys, toString(element));
2989
+ }
2990
+ var keysLength = keys.length;
2991
+ var root = true;
2992
+ return function (key, value) {
2993
+ if (root) {
2994
+ root = false;
2995
+ return value;
2996
+ }
2997
+ if (isArray(this)) return value;
2998
+ for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
2999
+ };
3000
+ };
3001
+
3002
+
2946
3003
  /***/ }),
2947
3004
 
2948
3005
  /***/ 4229:
@@ -2977,7 +3034,7 @@ module.exports =
2977
3034
  check(typeof self == 'object' && self) ||
2978
3035
  check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) ||
2979
3036
  // eslint-disable-next-line no-new-func -- fallback
2980
- (function () { return this; })() || Function('return this')();
3037
+ (function () { return this; })() || this || Function('return this')();
2981
3038
 
2982
3039
 
2983
3040
  /***/ }),
@@ -4449,7 +4506,7 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
4449
4506
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
4450
4507
 
4451
4508
  /* eslint-disable no-proto -- safe */
4452
- var uncurryThis = __webpack_require__(5329);
4509
+ var uncurryThisAccessor = __webpack_require__(5526);
4453
4510
  var anObject = __webpack_require__(6059);
4454
4511
  var aPossiblePrototype = __webpack_require__(1851);
4455
4512
 
@@ -4462,8 +4519,7 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
4462
4519
  var test = {};
4463
4520
  var setter;
4464
4521
  try {
4465
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
4466
- setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
4522
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
4467
4523
  setter(test, []);
4468
4524
  CORRECT_SETTER = test instanceof Array;
4469
4525
  } catch (error) { /* empty */ }
@@ -4794,7 +4850,7 @@ module.exports = function (scheduler, hasTimeArg) {
4794
4850
  "use strict";
4795
4851
 
4796
4852
  var getBuiltIn = __webpack_require__(626);
4797
- var definePropertyModule = __webpack_require__(5988);
4853
+ var defineBuiltInAccessor = __webpack_require__(9202);
4798
4854
  var wellKnownSymbol = __webpack_require__(9813);
4799
4855
  var DESCRIPTORS = __webpack_require__(5746);
4800
4856
 
@@ -4802,10 +4858,9 @@ var SPECIES = wellKnownSymbol('species');
4802
4858
 
4803
4859
  module.exports = function (CONSTRUCTOR_NAME) {
4804
4860
  var Constructor = getBuiltIn(CONSTRUCTOR_NAME);
4805
- var defineProperty = definePropertyModule.f;
4806
4861
 
4807
4862
  if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {
4808
- defineProperty(Constructor, SPECIES, {
4863
+ defineBuiltInAccessor(Constructor, SPECIES, {
4809
4864
  configurable: true,
4810
4865
  get: function () { return this; }
4811
4866
  });
@@ -4880,10 +4935,10 @@ var store = __webpack_require__(3030);
4880
4935
  (module.exports = function (key, value) {
4881
4936
  return store[key] || (store[key] = value !== undefined ? value : {});
4882
4937
  })('versions', []).push({
4883
- version: '3.27.2',
4938
+ version: '3.30.2',
4884
4939
  mode: IS_PURE ? 'pure' : 'global',
4885
4940
  copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
4886
- license: 'https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE',
4941
+ license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
4887
4942
  source: 'https://github.com/zloirock/core-js'
4888
4943
  });
4889
4944
 
@@ -5172,16 +5227,15 @@ var toString = __webpack_require__(5803);
5172
5227
  var whitespaces = __webpack_require__(3483);
5173
5228
 
5174
5229
  var replace = uncurryThis(''.replace);
5175
- var whitespace = '[' + whitespaces + ']';
5176
- var ltrim = RegExp('^' + whitespace + whitespace + '*');
5177
- var rtrim = RegExp(whitespace + whitespace + '*$');
5230
+ var ltrim = RegExp('^[' + whitespaces + ']+');
5231
+ var rtrim = RegExp('(^|[^' + whitespaces + '])[' + whitespaces + ']+$');
5178
5232
 
5179
5233
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
5180
5234
  var createMethod = function (TYPE) {
5181
5235
  return function ($this) {
5182
5236
  var string = toString(requireObjectCoercible($this));
5183
5237
  if (TYPE & 1) string = replace(string, ltrim, '');
5184
- if (TYPE & 2) string = replace(string, rtrim, '');
5238
+ if (TYPE & 2) string = replace(string, rtrim, '$1');
5185
5239
  return string;
5186
5240
  };
5187
5241
  };
@@ -5207,13 +5261,18 @@ module.exports = {
5207
5261
  /* eslint-disable es/no-symbol -- required for testing */
5208
5262
  var V8_VERSION = __webpack_require__(3385);
5209
5263
  var fails = __webpack_require__(5981);
5264
+ var global = __webpack_require__(1899);
5265
+
5266
+ var $String = global.String;
5210
5267
 
5211
5268
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
5212
5269
  module.exports = !!Object.getOwnPropertySymbols && !fails(function () {
5213
5270
  var symbol = Symbol();
5214
5271
  // Chrome 38 Symbol has incorrect toString conversion
5215
5272
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
5216
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
5273
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
5274
+ // of course, fail.
5275
+ return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||
5217
5276
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
5218
5277
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
5219
5278
  });
@@ -5578,6 +5637,7 @@ module.exports = function (key) {
5578
5637
 
5579
5638
  var fails = __webpack_require__(5981);
5580
5639
  var wellKnownSymbol = __webpack_require__(9813);
5640
+ var DESCRIPTORS = __webpack_require__(5746);
5581
5641
  var IS_PURE = __webpack_require__(2529);
5582
5642
 
5583
5643
  var ITERATOR = wellKnownSymbol('iterator');
@@ -5593,6 +5653,7 @@ module.exports = !fails(function () {
5593
5653
  result += key + value;
5594
5654
  });
5595
5655
  return (IS_PURE && !url.toJSON)
5656
+ || (!searchParams.size && (IS_PURE || !DESCRIPTORS))
5596
5657
  || !searchParams.sort
5597
5658
  || url.href !== 'http://a/c%20d?a=1&c=3'
5598
5659
  || searchParams.get('c') !== '3'
@@ -5946,6 +6007,7 @@ var FIND_INDEX = 'findIndex';
5946
6007
  var SKIPS_HOLES = true;
5947
6008
 
5948
6009
  // Shouldn't skip holes
6010
+ // eslint-disable-next-line es/no-array-prototype-findindex -- testing
5949
6011
  if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });
5950
6012
 
5951
6013
  // `Array.prototype.findIndex` method
@@ -5975,6 +6037,7 @@ var FIND = 'find';
5975
6037
  var SKIPS_HOLES = true;
5976
6038
 
5977
6039
  // Shouldn't skip holes
6040
+ // eslint-disable-next-line es/no-array-prototype-find -- testing
5978
6041
  if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });
5979
6042
 
5980
6043
  // `Array.prototype.find` method
@@ -6070,6 +6133,7 @@ var addToUnscopables = __webpack_require__(8479);
6070
6133
 
6071
6134
  // FF99+ bug
6072
6135
  var BROKEN_ON_SPARSE = fails(function () {
6136
+ // eslint-disable-next-line es/no-array-prototype-includes -- detection
6073
6137
  return !Array(1).includes();
6074
6138
  });
6075
6139
 
@@ -6600,6 +6664,7 @@ var bind = __webpack_require__(8308);
6600
6664
 
6601
6665
  // `Function.prototype.bind` method
6602
6666
  // https://tc39.es/ecma262/#sec-function.prototype.bind
6667
+ // eslint-disable-next-line es/no-function-prototype-bind -- detection
6603
6668
  $({ target: 'Function', proto: true, forced: Function.bind !== bind }, {
6604
6669
  bind: bind
6605
6670
  });
@@ -6616,13 +6681,13 @@ var apply = __webpack_require__(9730);
6616
6681
  var call = __webpack_require__(8834);
6617
6682
  var uncurryThis = __webpack_require__(5329);
6618
6683
  var fails = __webpack_require__(5981);
6619
- var isArray = __webpack_require__(1052);
6620
6684
  var isCallable = __webpack_require__(7475);
6621
- var isObject = __webpack_require__(941);
6622
6685
  var isSymbol = __webpack_require__(6664);
6623
6686
  var arraySlice = __webpack_require__(3765);
6687
+ var getReplacerFunction = __webpack_require__(3323);
6624
6688
  var NATIVE_SYMBOL = __webpack_require__(3405);
6625
6689
 
6690
+ var $String = String;
6626
6691
  var $stringify = getBuiltIn('JSON', 'stringify');
6627
6692
  var exec = uncurryThis(/./.exec);
6628
6693
  var charAt = uncurryThis(''.charAt);
@@ -6652,13 +6717,13 @@ var ILL_FORMED_UNICODE = fails(function () {
6652
6717
 
6653
6718
  var stringifyWithSymbolsFix = function (it, replacer) {
6654
6719
  var args = arraySlice(arguments);
6655
- var $replacer = replacer;
6656
- if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
6657
- if (!isArray(replacer)) replacer = function (key, value) {
6658
- if (isCallable($replacer)) value = call($replacer, this, key, value);
6720
+ var $replacer = getReplacerFunction(replacer);
6721
+ if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
6722
+ args[1] = function (key, value) {
6723
+ // some old implementations (like WebKit) could pass numbers as keys
6724
+ if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
6659
6725
  if (!isSymbol(value)) return value;
6660
6726
  };
6661
- args[1] = replacer;
6662
6727
  return apply($stringify, null, args);
6663
6728
  };
6664
6729
 
@@ -7707,6 +7772,7 @@ var definePropertyModule = __webpack_require__(5988);
7707
7772
  var definePropertiesModule = __webpack_require__(9938);
7708
7773
  var propertyIsEnumerableModule = __webpack_require__(6760);
7709
7774
  var defineBuiltIn = __webpack_require__(5929);
7775
+ var defineBuiltInAccessor = __webpack_require__(9202);
7710
7776
  var shared = __webpack_require__(8726);
7711
7777
  var sharedKey = __webpack_require__(4262);
7712
7778
  var hiddenKeys = __webpack_require__(7748);
@@ -7878,7 +7944,7 @@ if (!NATIVE_SYMBOL) {
7878
7944
 
7879
7945
  if (DESCRIPTORS) {
7880
7946
  // https://github.com/tc39/proposal-Symbol-description
7881
- nativeDefineProperty(SymbolPrototype, 'description', {
7947
+ defineBuiltInAccessor(SymbolPrototype, 'description', {
7882
7948
  configurable: true,
7883
7949
  get: function description() {
7884
7950
  return getInternalState(this).description;
@@ -8340,6 +8406,75 @@ var defineWellKnownSymbol = __webpack_require__(3464);
8340
8406
  defineWellKnownSymbol('dispose');
8341
8407
 
8342
8408
 
8409
+ /***/ }),
8410
+
8411
+ /***/ 2731:
8412
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
8413
+
8414
+ var $ = __webpack_require__(6887);
8415
+ var getBuiltIn = __webpack_require__(626);
8416
+ var uncurryThis = __webpack_require__(5329);
8417
+
8418
+ var Symbol = getBuiltIn('Symbol');
8419
+ var keyFor = Symbol.keyFor;
8420
+ var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
8421
+
8422
+ // `Symbol.isRegistered` method
8423
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregistered
8424
+ $({ target: 'Symbol', stat: true }, {
8425
+ isRegistered: function isRegistered(value) {
8426
+ try {
8427
+ return keyFor(thisSymbolValue(value)) !== undefined;
8428
+ } catch (error) {
8429
+ return false;
8430
+ }
8431
+ }
8432
+ });
8433
+
8434
+
8435
+ /***/ }),
8436
+
8437
+ /***/ 5605:
8438
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
8439
+
8440
+ var $ = __webpack_require__(6887);
8441
+ var shared = __webpack_require__(8726);
8442
+ var getBuiltIn = __webpack_require__(626);
8443
+ var uncurryThis = __webpack_require__(5329);
8444
+ var isSymbol = __webpack_require__(6664);
8445
+ var wellKnownSymbol = __webpack_require__(9813);
8446
+
8447
+ var Symbol = getBuiltIn('Symbol');
8448
+ var $isWellKnown = Symbol.isWellKnown;
8449
+ var getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames');
8450
+ var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf);
8451
+ var WellKnownSymbolsStore = shared('wks');
8452
+
8453
+ for (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) {
8454
+ // some old engines throws on access to some keys like `arguments` or `caller`
8455
+ try {
8456
+ var symbolKey = symbolKeys[i];
8457
+ if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey);
8458
+ } catch (error) { /* empty */ }
8459
+ }
8460
+
8461
+ // `Symbol.isWellKnown` method
8462
+ // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknown
8463
+ // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected
8464
+ $({ target: 'Symbol', stat: true, forced: true }, {
8465
+ isWellKnown: function isWellKnown(value) {
8466
+ if ($isWellKnown && $isWellKnown(value)) return true;
8467
+ try {
8468
+ var symbol = thisSymbolValue(value);
8469
+ for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) {
8470
+ if (WellKnownSymbolsStore[keys[j]] == symbol) return true;
8471
+ }
8472
+ } catch (error) { /* empty */ }
8473
+ return false;
8474
+ }
8475
+ });
8476
+
8477
+
8343
8478
  /***/ }),
8344
8479
 
8345
8480
  /***/ 5799:
@@ -8500,6 +8635,7 @@ var uncurryThis = __webpack_require__(5329);
8500
8635
  var DESCRIPTORS = __webpack_require__(5746);
8501
8636
  var USE_NATIVE_URL = __webpack_require__(4766);
8502
8637
  var defineBuiltIn = __webpack_require__(5929);
8638
+ var defineBuiltInAccessor = __webpack_require__(9202);
8503
8639
  var defineBuiltIns = __webpack_require__(4380);
8504
8640
  var setToStringTag = __webpack_require__(904);
8505
8641
  var createIteratorConstructor = __webpack_require__(3847);
@@ -8695,7 +8831,8 @@ URLSearchParamsState.prototype = {
8695
8831
  var URLSearchParamsConstructor = function URLSearchParams(/* init */) {
8696
8832
  anInstance(this, URLSearchParamsPrototype);
8697
8833
  var init = arguments.length > 0 ? arguments[0] : undefined;
8698
- setInternalState(this, new URLSearchParamsState(init));
8834
+ var state = setInternalState(this, new URLSearchParamsState(init));
8835
+ if (!DESCRIPTORS) this.length = state.entries.length;
8699
8836
  };
8700
8837
 
8701
8838
  var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;
@@ -8707,6 +8844,7 @@ defineBuiltIns(URLSearchParamsPrototype, {
8707
8844
  validateArgumentsLength(arguments.length, 2);
8708
8845
  var state = getInternalParamsState(this);
8709
8846
  push(state.entries, { key: $toString(name), value: $toString(value) });
8847
+ if (!DESCRIPTORS) this.length++;
8710
8848
  state.updateURL();
8711
8849
  },
8712
8850
  // `URLSearchParams.prototype.delete` method
@@ -8721,6 +8859,7 @@ defineBuiltIns(URLSearchParamsPrototype, {
8721
8859
  if (entries[index].key === key) splice(entries, index, 1);
8722
8860
  else index++;
8723
8861
  }
8862
+ if (!DESCRIPTORS) this.length = entries.length;
8724
8863
  state.updateURL();
8725
8864
  },
8726
8865
  // `URLSearchParams.prototype.get` method
@@ -8782,6 +8921,7 @@ defineBuiltIns(URLSearchParamsPrototype, {
8782
8921
  }
8783
8922
  }
8784
8923
  if (!found) push(entries, { key: key, value: val });
8924
+ if (!DESCRIPTORS) this.length = entries.length;
8785
8925
  state.updateURL();
8786
8926
  },
8787
8927
  // `URLSearchParams.prototype.sort` method
@@ -8827,6 +8967,16 @@ defineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {
8827
8967
  return getInternalParamsState(this).serialize();
8828
8968
  }, { enumerable: true });
8829
8969
 
8970
+ // `URLSearchParams.prototype.size` getter
8971
+ // https://github.com/whatwg/url/pull/734
8972
+ if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', {
8973
+ get: function size() {
8974
+ return getInternalParamsState(this).entries.length;
8975
+ },
8976
+ configurable: true,
8977
+ enumerable: true
8978
+ });
8979
+
8830
8980
  setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);
8831
8981
 
8832
8982
  $({ global: true, constructor: true, forced: !USE_NATIVE_URL }, {
@@ -8893,6 +9043,50 @@ module.exports = {
8893
9043
  __webpack_require__(2524);
8894
9044
 
8895
9045
 
9046
+ /***/ }),
9047
+
9048
+ /***/ 2337:
9049
+ /***/ (function() {
9050
+
9051
+ // empty
9052
+
9053
+
9054
+ /***/ }),
9055
+
9056
+ /***/ 4630:
9057
+ /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
9058
+
9059
+ var $ = __webpack_require__(6887);
9060
+ var getBuiltIn = __webpack_require__(626);
9061
+ var fails = __webpack_require__(5981);
9062
+ var validateArgumentsLength = __webpack_require__(8348);
9063
+ var toString = __webpack_require__(5803);
9064
+ var USE_NATIVE_URL = __webpack_require__(4766);
9065
+
9066
+ var URL = getBuiltIn('URL');
9067
+
9068
+ // https://github.com/nodejs/node/issues/47505
9069
+ // https://github.com/denoland/deno/issues/18893
9070
+ var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () {
9071
+ URL.canParse();
9072
+ });
9073
+
9074
+ // `URL.canParse` method
9075
+ // https://url.spec.whatwg.org/#dom-url-canparse
9076
+ $({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, {
9077
+ canParse: function canParse(url) {
9078
+ var length = validateArgumentsLength(arguments.length, 1);
9079
+ var urlString = toString(url);
9080
+ var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]);
9081
+ try {
9082
+ return !!new URL(urlString, base);
9083
+ } catch (error) {
9084
+ return false;
9085
+ }
9086
+ }
9087
+ });
9088
+
9089
+
8896
9090
  /***/ }),
8897
9091
 
8898
9092
  /***/ 7250:
@@ -8962,7 +9156,8 @@ var HEX = /^[\da-f]+$/i;
8962
9156
  /* eslint-disable regexp/no-control-character -- safe */
8963
9157
  var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/;
8964
9158
  var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/;
8965
- var LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g;
9159
+ var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/;
9160
+ var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/;
8966
9161
  var TAB_AND_NEW_LINE = /[\t\n\r]/g;
8967
9162
  /* eslint-enable regexp/no-control-character -- safe */
8968
9163
  var EOF;
@@ -9258,7 +9453,8 @@ URLState.prototype = {
9258
9453
  url.query = null;
9259
9454
  url.fragment = null;
9260
9455
  url.cannotBeABaseURL = false;
9261
- input = replace(input, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');
9456
+ input = replace(input, LEADING_C0_CONTROL_OR_SPACE, '');
9457
+ input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1');
9262
9458
  }
9263
9459
 
9264
9460
  input = replace(input, TAB_AND_NEW_LINE, '');
@@ -10428,8 +10624,10 @@ module.exports = parent;
10428
10624
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10429
10625
 
10430
10626
  __webpack_require__(3601);
10627
+ __webpack_require__(4630);
10431
10628
  __webpack_require__(8947);
10432
10629
  __webpack_require__(5304);
10630
+ __webpack_require__(2337);
10433
10631
  var path = __webpack_require__(4058);
10434
10632
 
10435
10633
  module.exports = path.URL;
@@ -10443,7 +10641,7 @@ module.exports = path.URL;
10443
10641
  "use strict";
10444
10642
 
10445
10643
 
10446
- var reactIs = __webpack_require__(1296);
10644
+ var reactIs = __webpack_require__(9864);
10447
10645
 
10448
10646
  /**
10449
10647
  * Copyright 2015, Yahoo! Inc.
@@ -10546,42 +10744,6 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
10546
10744
  module.exports = hoistNonReactStatics;
10547
10745
 
10548
10746
 
10549
- /***/ }),
10550
-
10551
- /***/ 6103:
10552
- /***/ (function(__unused_webpack_module, exports) {
10553
-
10554
- "use strict";
10555
- /** @license React v16.13.1
10556
- * react-is.production.min.js
10557
- *
10558
- * Copyright (c) Facebook, Inc. and its affiliates.
10559
- *
10560
- * This source code is licensed under the MIT license found in the
10561
- * LICENSE file in the root directory of this source tree.
10562
- */
10563
-
10564
- var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
10565
- Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
10566
- function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;
10567
- exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};
10568
- exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};
10569
- exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;
10570
-
10571
-
10572
- /***/ }),
10573
-
10574
- /***/ 1296:
10575
- /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10576
-
10577
- "use strict";
10578
-
10579
-
10580
- if (true) {
10581
- module.exports = __webpack_require__(6103);
10582
- } else {}
10583
-
10584
-
10585
10747
  /***/ }),
10586
10748
 
10587
10749
  /***/ 679:
@@ -10603,7 +10765,7 @@ __webpack_require__.r(__webpack_exports__);
10603
10765
  /* harmony export */ "PureComponent": function() { return /* binding */ w; },
10604
10766
  /* harmony export */ "StrictMode": function() { return /* binding */ mn; },
10605
10767
  /* harmony export */ "Suspense": function() { return /* binding */ D; },
10606
- /* harmony export */ "SuspenseList": function() { return /* binding */ V; },
10768
+ /* harmony export */ "SuspenseList": function() { return /* binding */ P; },
10607
10769
  /* harmony export */ "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED": function() { return /* binding */ ln; },
10608
10770
  /* harmony export */ "cloneElement": function() { return /* binding */ sn; },
10609
10771
  /* harmony export */ "createContext": function() { return /* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.kr; },
@@ -10631,19 +10793,19 @@ __webpack_require__.r(__webpack_exports__);
10631
10793
  /* harmony export */ "useErrorBoundary": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.cO; },
10632
10794
  /* harmony export */ "useId": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.Me; },
10633
10795
  /* harmony export */ "useImperativeHandle": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.aP; },
10634
- /* harmony export */ "useInsertionEffect": function() { return /* binding */ Sn; },
10796
+ /* harmony export */ "useInsertionEffect": function() { return /* binding */ gn; },
10635
10797
  /* harmony export */ "useLayoutEffect": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.bt; },
10636
10798
  /* harmony export */ "useMemo": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.Ye; },
10637
10799
  /* harmony export */ "useReducer": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__._Y; },
10638
10800
  /* harmony export */ "useRef": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.sO; },
10639
10801
  /* harmony export */ "useState": function() { return /* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.eJ; },
10640
- /* harmony export */ "useSyncExternalStore": function() { return /* binding */ gn; },
10802
+ /* harmony export */ "useSyncExternalStore": function() { return /* binding */ Sn; },
10641
10803
  /* harmony export */ "useTransition": function() { return /* binding */ bn; },
10642
10804
  /* harmony export */ "version": function() { return /* binding */ cn; }
10643
10805
  /* harmony export */ });
10644
10806
  /* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(6400);
10645
10807
  /* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(396);
10646
- function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__b */ .YM.__b;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__b */ .YM.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)((0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR},T=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__e */ .YM.__e;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__e */ .YM.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var I=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.unmount */ .YM.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__/* .options.unmount */ .YM.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n)},(D.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)((0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(j,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__/* .hydrate */ .ZB)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__/* .Component.prototype.isReactComponent */ .wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__/* .Component.prototype */ .wA.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.event */ .YM.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__/* .options.event */ .YM.event=function(n){return K&&(n=K(n)),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.vnode */ .YM.vnode;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.vnode */ .YM.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__r */ .YM.__r;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__r */ .YM.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.diffed */ .YM.diffed;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.diffed */ .YM.diffed=function(n){on&&on(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement.bind */ .az.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__/* .cloneElement.apply */ .Tm.apply(null,arguments):n}function hn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)(null,n),!0)}function vn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},pn=function(n,t){return n(t)},mn=preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY;function yn(n){n()}function _n(n){return n}function bn(){return[!1,yn]}var Sn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutEffect */ .bt;function gn(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useState */ .eJ)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutEffect */ .bt)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useEffect */ .d4)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var Cn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useState */ .eJ,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useId */ .Me,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useReducer */ ._Y,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useEffect */ .d4,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutEffect */ .bt,useInsertionEffect:Sn,useTransition:bn,useDeferredValue:_n,useSyncExternalStore:gn,startTransition:yn,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useRef */ .sO,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useImperativeHandle */ .aP,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useMemo */ .Ye,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useCallback */ .I4,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useContext */ .qp,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useDebugValue */ .Qb,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:hn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az,createContext:preact__WEBPACK_IMPORTED_MODULE_0__/* .createContext */ .kr,createFactory:fn,cloneElement:sn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__/* .createRef */ .Vf,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY,isValidElement:an,findDOMNode:vn,Component:preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA,PureComponent:w,memo:x,forwardRef:k,flushSync:pn,unstable_batchedUpdates:dn,StrictMode:mn,Suspense:D,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
10808
+ function S(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__b */ .YM.__b;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__b */ .YM.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=S({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)((0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR},T=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__e */ .YM.__e;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__e */ .YM.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var I=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.unmount */ .YM.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=S({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function P(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__/* .options.unmount */ .YM.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n)},(D.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY,null,e.__a?null:n.children),i]};var V=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function W(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)((0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(W,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az)(j,{__v:n,i:e});return r.containerInfo=e,r}(P.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),V(t,n,r)):u()};e?e(o):o()}},P.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},P.prototype.componentDidUpdate=P.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){V(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__/* .hydrate */ .ZB)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__/* .Component.prototype.isReactComponent */ .wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__/* .Component.prototype */ .wA.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.event */ .YM.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__/* .options.event */ .YM.event=function(n){K&&(n=K(n));var t=n.currentTarget,e=n.type;return"input"!==e&&"change"!==e||!t.h||Promise.resolve().then(function(){return function(n,t){null!=t.value&&(t.value=t.v),"change"===n&&null!=t.checked&&(t.checked=t.v)}(e,t)}),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.vnode */ .YM.vnode;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.vnode */ .YM.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__/* .toChildArray */ .bR)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__r */ .YM.__r;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__r */ .YM.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.diffed */ .YM.diffed;preact__WEBPACK_IMPORTED_MODULE_0__/* .options.diffed */ .YM.diffed=function(n){on&&on(n);var t=n.type,e=n.props,r=n.__e,u=r&&r.h;null==r||"input"!==t&&"textarea"!==t&&"select"!==t||!1===u||(u||e.oninput||e.onchange||e.onChange)&&(null!=e.value?(r.h=!0,r.v=e.value):null!=e.checked?(r.h=!0,r.v=e.checked):r.h=!1),null!=r&&"textarea"===n.type&&"value"in e&&e.value!==r.value&&(r.value=null==e.value?"":e.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement.bind */ .az.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__/* .cloneElement.apply */ .Tm.apply(null,arguments):n}function hn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__/* .render */ .sY)(null,n),!0)}function vn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},pn=function(n,t){return n(t)},mn=preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY;function yn(n){n()}function _n(n){return n}function bn(){return[!1,yn]}var gn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutEffect */ .bt;function Sn(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useState */ .eJ)({p:{__:e,m:t}}),u=r[0].p,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutEffect */ .bt)(function(){u.__=e,u.m=t,E(u.__,t())||o({p:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useEffect */ .d4)(function(){return E(u.__,u.m())||o({p:u}),n(function(){E(u.__,u.m())||o({p:u})})},[n]),e}var Cn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useState */ .eJ,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useId */ .Me,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useReducer */ ._Y,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useEffect */ .d4,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useLayoutEffect */ .bt,useInsertionEffect:gn,useTransition:bn,useDeferredValue:_n,useSyncExternalStore:Sn,startTransition:yn,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useRef */ .sO,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useImperativeHandle */ .aP,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useMemo */ .Ye,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useCallback */ .I4,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useContext */ .qp,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__/* .useDebugValue */ .Qb,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:hn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__/* .createElement */ .az,createContext:preact__WEBPACK_IMPORTED_MODULE_0__/* .createContext */ .kr,createFactory:fn,cloneElement:sn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__/* .createRef */ .Vf,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__/* .Fragment */ .HY,isValidElement:an,findDOMNode:vn,Component:preact__WEBPACK_IMPORTED_MODULE_0__/* .Component */ .wA,PureComponent:w,memo:x,forwardRef:k,flushSync:pn,unstable_batchedUpdates:dn,StrictMode:mn,Suspense:D,SuspenseList:P,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
10647
10809
  //# sourceMappingURL=compat.module.js.map
10648
10810
 
10649
10811
 
@@ -10654,19 +10816,19 @@ function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n
10654
10816
 
10655
10817
  "use strict";
10656
10818
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10657
- /* harmony export */ "HY": function() { return /* binding */ _; },
10658
- /* harmony export */ "Tm": function() { return /* binding */ E; },
10659
- /* harmony export */ "Vf": function() { return /* binding */ d; },
10819
+ /* harmony export */ "HY": function() { return /* binding */ k; },
10820
+ /* harmony export */ "Tm": function() { return /* binding */ F; },
10821
+ /* harmony export */ "Vf": function() { return /* binding */ _; },
10660
10822
  /* harmony export */ "YM": function() { return /* binding */ l; },
10661
- /* harmony export */ "ZB": function() { return /* binding */ D; },
10823
+ /* harmony export */ "ZB": function() { return /* binding */ E; },
10662
10824
  /* harmony export */ "az": function() { return /* binding */ y; },
10663
- /* harmony export */ "bR": function() { return /* binding */ P; },
10664
- /* harmony export */ "kr": function() { return /* binding */ F; },
10665
- /* harmony export */ "sY": function() { return /* binding */ B; },
10666
- /* harmony export */ "wA": function() { return /* binding */ k; }
10825
+ /* harmony export */ "bR": function() { return /* binding */ S; },
10826
+ /* harmony export */ "kr": function() { return /* binding */ G; },
10827
+ /* harmony export */ "sY": function() { return /* binding */ D; },
10828
+ /* harmony export */ "wA": function() { return /* binding */ b; }
10667
10829
  /* harmony export */ });
10668
10830
  /* unused harmony exports h, isValidElement */
10669
- var n,l,u,i,t,r,o,f,e,c={},s=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v(n){var l=n.parentNode;l&&l.removeChild(n)}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u:o};return null==o&&null!=l.vnode&&l.vnode(f),f}function d(){return{current:null}}function _(n){return n.children}function k(n,l){this.props=n,this.context=l}function b(n,l){if(null==l)return n.__?b(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?b(n):null}function g(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return g(n)}}function m(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!w.__r++||r!==l.debounceRendering)&&((r=l.debounceRendering)||o)(w)}function w(){var n,l,u,i,r,o,e,c;for(t.sort(f);n=t.shift();)n.__d&&(l=t.length,i=void 0,r=void 0,e=(o=(u=n).__v).__e,(c=u.__P)&&(i=[],(r=h({},o)).__v=o.__v+1,L(c,o,r,u.__n,void 0!==c.ownerSVGElement,null!=o.__h?[e]:null,i,null==e?b(o):e,o.__h),M(i,o),o.__e!=e&&g(o)),t.length>l&&t.sort(f));w.__r=0}function x(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,g,m,w=i&&i.__k||s,x=w.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d||"function"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=w[h])||y&&d.key==y.key&&d.type===y.type)w[h]=void 0;else for(v=0;v<x;v++){if((y=w[v])&&d.key==y.key&&d.type===y.type){w[v]=void 0;break}y=null}L(n,d,y=y||c,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(m||(m=[]),y.ref&&m.push(y.ref,null,d),m.push(v,d.__c||k,d)),null!=k?(null==g&&(g=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=A(d,e,n):e=C(n,d,y,w,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=b(y))}for(u.__e=g,h=x;h--;)null!=w[h]&&("function"==typeof u.type&&null!=w[h].__e&&w[h].__e==u.__d&&(u.__d=$(i).nextSibling),S(w[h],w[h]));if(m)for(h=0;h<m.length;h++)O(m[h],m[++h],m[++h])}function A(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?A(i,l,u):C(u,i,i,t,i.__e,l));return l}function P(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){P(n,l)}):l.push(n)),l}function C(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else{for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r}return void 0!==o?o:t.nextSibling}function $(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=$(u)))return i;return null}function H(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||T(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||T(n,r,l[r],u[r],i)}function I(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function T(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||I(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||I(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?z:j,r):n.removeEventListener(l,r?z:j,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u))}}function j(n){return this.l[n.type+!1](l.event?l.event(n):n)}function z(n){return this.l[n.type+!0](l.event?l.event(n):n)}function L(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,b,g,m,w,A,P,C,$,H,I=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l.__b)&&s(u);try{n:if("function"==typeof I){if(g=u.props,m=(s=I.contextType)&&t[s.__c],w=s?m?m.props.value:s.__:t,i.__c?b=(a=u.__c=i.__c).__=a.__E:("prototype"in I&&I.prototype.render?u.__c=a=new I(g,w):(u.__c=a=new k(g,w),a.constructor=I,a.render=q),m&&m.sub(a),a.props=g,a.state||(a.state={}),a.context=w,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=I.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,I.getDerivedStateFromProps(g,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==I.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==I.getDerivedStateFromProps&&g!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(g,w),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(g,a.__s,w)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=g,a.state=a.__s,a.__d=!1),a.__e=!1,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u)}),A=0;A<a._sb.length;A++)a.__h.push(a._sb[A]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(g,a.__s,w),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d)})}if(a.context=w,a.props=g,a.__P=n,P=l.__r,C=0,"prototype"in I&&I.prototype.render){for(a.state=a.__s,a.__d=!1,P&&P(u),s=a.render(a.props,a.state,a.context),$=0;$<a._sb.length;$++)a.__h.push(a._sb[$]);a._sb=[]}else do{a.__d=!1,P&&P(u),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++C<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),H=null!=s&&s.type===_&&null==s.key?s.props.children:s,x(n,Array.isArray(H)?H:[H],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),b&&(a.__E=a.__=null),a.__e=!1}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=N(i.__e,u,i,t,r,o,f,c);(s=l.diffed)&&s(u)}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l.__e(n,u,i)}}function M(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function N(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1}if(null===d)y===p||e&&l.data===p||(l.data=p);else{if(o=o&&n.call(l.childNodes),a=(y=i.props||c).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""))}if(H(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,x(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&b(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&T(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&T(l,"checked",_,y.checked,!1))}return l}function O(n,u,i){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,i)}}function S(n,u,i){var t,r;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||O(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(n){l.__e(n,u)}t.base=t.__P=null,n.__c=void 0}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&S(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v(n.__e),n.__=n.__e=n.__d=void 0}function q(n,l,u){return this.constructor(n,u)}function B(u,i,t){var r,o,f;l.__&&l.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],L(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c,c,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),M(f,u)}function D(n,l){B(n,l,D)}function E(l,u,i){var t,r,o,f=h({},l.props);for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),p(l.type,f,t||l.key,r||l.ref,null)}function F(n,l){var u={__c:l="__cC"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,m(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l}throw n}},u=0,i=function(n){return null!=n&&void 0===n.constructor},k.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),m(this))},k.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),m(this))},k.prototype.render=_,t=[],o="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},w.__r=0,e=0;
10831
+ var n,l,u,i,t,o,r,f,e,c={},s=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function h(n,l){for(var u in l)n[u]=l[u];return n}function p(n){var l=n.parentNode;l&&l.removeChild(n)}function y(l,u,i){var t,o,r,f={};for(r in u)"key"==r?t=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return d(l,f,t,o,null)}function d(n,i,t,o,r){var f={type:n,props:i,key:t,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=l.vnode&&l.vnode(f),f}function _(){return{current:null}}function k(n){return n.children}function b(n,l){this.props=n,this.context=l}function g(n,l){if(null==l)return n.__?g(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?g(n):null}function m(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return m(n)}}function w(n){(!n.__d&&(n.__d=!0)&&t.push(n)&&!x.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||r)(x)}function x(){var n,l,u,i,o,r,e,c;for(t.sort(f);n=t.shift();)n.__d&&(l=t.length,i=void 0,o=void 0,e=(r=(u=n).__v).__e,(c=u.__P)&&(i=[],(o=h({},r)).__v=r.__v+1,L(c,r,o,u.__n,void 0!==c.ownerSVGElement,null!=r.__h?[e]:null,i,null==e?g(r):e,r.__h),M(i,r),r.__e!=e&&m(r)),t.length>l&&t.sort(f));x.__r=0}function P(n,l,u,i,t,o,r,f,e,a){var h,p,y,_,b,m,w,x=i&&i.__k||s,P=x.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(_=u.__k[h]=null==(_=l[h])||"boolean"==typeof _||"function"==typeof _?null:"string"==typeof _||"number"==typeof _||"bigint"==typeof _?d(null,_,null,null,_):v(_)?d(k,{children:_},null,null,null):_.__b>0?d(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):_)){if(_.__=u,_.__b=u.__b+1,null===(y=x[h])||y&&_.key==y.key&&_.type===y.type)x[h]=void 0;else for(p=0;p<P;p++){if((y=x[p])&&_.key==y.key&&_.type===y.type){x[p]=void 0;break}y=null}L(n,_,y=y||c,t,o,r,f,e,a),b=_.__e,(p=_.ref)&&y.ref!=p&&(w||(w=[]),y.ref&&w.push(y.ref,null,_),w.push(p,_.__c||b,_)),null!=b?(null==m&&(m=b),"function"==typeof _.type&&_.__k===y.__k?_.__d=e=C(_,e,n):e=$(n,_,y,x,b,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=g(y))}for(u.__e=m,h=P;h--;)null!=x[h]&&("function"==typeof u.type&&null!=x[h].__e&&x[h].__e==u.__d&&(u.__d=A(i).nextSibling),q(x[h],x[h]));if(w)for(h=0;h<w.length;h++)O(w[h],w[++h],w[++h])}function C(n,l,u){for(var i,t=n.__k,o=0;t&&o<t.length;o++)(i=t[o])&&(i.__=n,l="function"==typeof i.type?C(i,l,u):$(u,i,i,t,i.__e,l));return l}function S(n,l){return l=l||[],null==n||"boolean"==typeof n||(v(n)?n.some(function(n){S(n,l)}):l.push(n)),l}function $(n,l,u,i,t,o){var r,f,e;if(void 0!==l.__d)r=l.__d,l.__d=void 0;else if(null==u||t!=o||null==t.parentNode)n:if(null==o||o.parentNode!==n)n.appendChild(t),r=null;else{for(f=o,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,o),r=o}return void 0!==r?r:t.nextSibling}function A(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=A(u)))return i;return null}function H(n,l,u,i,t){var o;for(o in u)"children"===o||"key"===o||o in l||T(n,o,null,u[o],i);for(o in l)t&&"function"!=typeof l[o]||"children"===o||"key"===o||"value"===o||"checked"===o||u[o]===l[o]||T(n,o,l[o],u[o],i)}function I(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function T(n,l,u,i,t){var o;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||I(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||I(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])o=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+o]=u,u?i||n.addEventListener(l,o?z:j,o):n.removeEventListener(l,o?z:j,o);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&"rowSpan"!==l&&"colSpan"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!==l[4]?n.removeAttribute(l):n.setAttribute(l,u))}}function j(n){return this.l[n.type+!1](l.event?l.event(n):n)}function z(n){return this.l[n.type+!0](l.event?l.event(n):n)}function L(n,u,i,t,o,r,f,e,c){var s,a,p,y,d,_,g,m,w,x,C,S,$,A,H,I=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,r=[e]),(s=l.__b)&&s(u);try{n:if("function"==typeof I){if(m=u.props,w=(s=I.contextType)&&t[s.__c],x=s?w?w.props.value:s.__:t,i.__c?g=(a=u.__c=i.__c).__=a.__E:("prototype"in I&&I.prototype.render?u.__c=a=new I(m,x):(u.__c=a=new b(m,x),a.constructor=I,a.render=B),w&&w.sub(a),a.props=m,a.state||(a.state={}),a.context=x,a.__n=t,p=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=I.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,I.getDerivedStateFromProps(m,a.__s))),y=a.props,d=a.state,a.__v=u,p)null==I.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==I.getDerivedStateFromProps&&m!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(m,x),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(m,a.__s,x)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=m,a.state=a.__s,a.__d=!1),a.__e=!1,u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u)}),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(m,a.__s,x),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,d,_)})}if(a.context=x,a.props=m,a.__P=n,S=l.__r,$=0,"prototype"in I&&I.prototype.render){for(a.state=a.__s,a.__d=!1,S&&S(u),s=a.render(a.props,a.state,a.context),A=0;A<a._sb.length;A++)a.__h.push(a._sb[A]);a._sb=[]}else do{a.__d=!1,S&&S(u),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++$<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(_=a.getSnapshotBeforeUpdate(y,d)),P(n,v(H=null!=s&&s.type===k&&null==s.key?s.props.children:s)?H:[H],u,i,t,o,r,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),g&&(a.__E=a.__=null),a.__e=!1}else null==r&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=N(i.__e,u,i,t,o,r,f,c);(s=l.diffed)&&s(u)}catch(n){u.__v=null,(c||null!=r)&&(u.__e=e,u.__h=!!c,r[r.indexOf(e)]=null),l.__e(n,u,i)}}function M(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function N(l,u,i,t,o,r,f,e){var s,a,h,y=i.props,d=u.props,_=u.type,k=0;if("svg"===_&&(o=!0),null!=r)for(;k<r.length;k++)if((s=r[k])&&"setAttribute"in s==!!_&&(_?s.localName===_:3===s.nodeType)){l=s,r[k]=null;break}if(null==l){if(null===_)return document.createTextNode(d);l=o?document.createElementNS("http://www.w3.org/2000/svg",_):document.createElement(_,d.is&&d),r=null,e=!1}if(null===_)y===d||e&&l.data===d||(l.data=d);else{if(r=r&&n.call(l.childNodes),a=(y=i.props||c).dangerouslySetInnerHTML,h=d.dangerouslySetInnerHTML,!e){if(null!=r)for(y={},k=0;k<l.attributes.length;k++)y[l.attributes[k].name]=l.attributes[k].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""))}if(H(l,d,y,o,e),h)u.__k=[];else if(P(l,v(k=u.props.children)?k:[k],u,i,t,o&&"foreignObject"!==_,r,f,r?r[0]:i.__k&&g(i,0),e),null!=r)for(k=r.length;k--;)null!=r[k]&&p(r[k]);e||("value"in d&&void 0!==(k=d.value)&&(k!==l.value||"progress"===_&&!k||"option"===_&&k!==y.value)&&T(l,"value",k,y.value,!1),"checked"in d&&void 0!==(k=d.checked)&&k!==l.checked&&T(l,"checked",k,y.checked,!1))}return l}function O(n,u,i){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,i)}}function q(n,u,i){var t,o;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||O(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(n){l.__e(n,u)}t.base=t.__P=null,n.__c=void 0}if(t=n.__k)for(o=0;o<t.length;o++)t[o]&&q(t[o],u,i||"function"!=typeof n.type);i||null==n.__e||p(n.__e),n.__=n.__e=n.__d=void 0}function B(n,l,u){return this.constructor(n,u)}function D(u,i,t){var o,r,f;l.__&&l.__(u,i),r=(o="function"==typeof t)?null:t&&t.__k||i.__k,f=[],L(i,u=(!o&&t||i).__k=y(k,null,[u]),r||c,c,void 0!==i.ownerSVGElement,!o&&t?[t]:r?null:i.firstChild?n.call(i.childNodes):null,f,!o&&t?t:r?r.__e:i.firstChild,o),M(f,u)}function E(n,l){D(n,l,E)}function F(l,u,i){var t,o,r,f,e=h({},l.props);for(r in l.type&&l.type.defaultProps&&(f=l.type.defaultProps),u)"key"==r?t=u[r]:"ref"==r?o=u[r]:e[r]=void 0===u[r]&&void 0!==f?f[r]:u[r];return arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):i),d(l.type,e,t||l.key,o||l.ref,null)}function G(n,l){var u={__c:l="__cC"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,w(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l={__e:function(n,l,u,i){for(var t,o,r;l=l.__;)if((t=l.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(n)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),r=t.__d),r)return t.__E=t}catch(l){n=l}throw n}},u=0,i=function(n){return null!=n&&void 0===n.constructor},b.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),w(this))},b.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),w(this))},b.prototype.render=k,t=[],r="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(n,l){return n.__v.__b-l.__v.__b},x.__r=0,e=0;
10670
10832
  //# sourceMappingURL=preact.module.js.map
10671
10833
 
10672
10834
 
@@ -10700,6 +10862,42 @@ var t,r,u,i,o=0,f=[],c=[],e=preact__WEBPACK_IMPORTED_MODULE_0__/* .options.__b *
10700
10862
  /***/ 9921:
10701
10863
  /***/ (function(__unused_webpack_module, exports) {
10702
10864
 
10865
+ "use strict";
10866
+ /** @license React v16.13.1
10867
+ * react-is.production.min.js
10868
+ *
10869
+ * Copyright (c) Facebook, Inc. and its affiliates.
10870
+ *
10871
+ * This source code is licensed under the MIT license found in the
10872
+ * LICENSE file in the root directory of this source tree.
10873
+ */
10874
+
10875
+ var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
10876
+ Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
10877
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;
10878
+ exports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return"object"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};
10879
+ exports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};
10880
+ exports.isValidElementType=function(a){return"string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;
10881
+
10882
+
10883
+ /***/ }),
10884
+
10885
+ /***/ 9864:
10886
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10887
+
10888
+ "use strict";
10889
+
10890
+
10891
+ if (true) {
10892
+ module.exports = __webpack_require__(9921);
10893
+ } else {}
10894
+
10895
+
10896
+ /***/ }),
10897
+
10898
+ /***/ 8359:
10899
+ /***/ (function(__unused_webpack_module, exports) {
10900
+
10703
10901
  "use strict";
10704
10902
  var __webpack_unused_export__;
10705
10903
  /**
@@ -10720,14 +10918,14 @@ __webpack_unused_export__=function(a){return"string"===typeof a||"function"===ty
10720
10918
 
10721
10919
  /***/ }),
10722
10920
 
10723
- /***/ 9864:
10921
+ /***/ 2973:
10724
10922
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
10725
10923
 
10726
10924
  "use strict";
10727
10925
 
10728
10926
 
10729
10927
  if (true) {
10730
- /* unused reexport */ __webpack_require__(9921);
10928
+ /* unused reexport */ __webpack_require__(8359);
10731
10929
  } else {}
10732
10930
 
10733
10931
 
@@ -11161,7 +11359,7 @@ module.exports = __webpack_require__(1384);
11161
11359
  /******/ };
11162
11360
  /******/
11163
11361
  /******/ // Execute the module function
11164
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
11362
+ /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
11165
11363
  /******/
11166
11364
  /******/ // Return the exports of the module
11167
11365
  /******/ return module.exports;
@@ -11230,7 +11428,10 @@ module.exports = __webpack_require__(1384);
11230
11428
  /******/ scriptUrl = document.currentScript.src;
11231
11429
  /******/ if (!scriptUrl) {
11232
11430
  /******/ var scripts = document.getElementsByTagName("script");
11233
- /******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
11431
+ /******/ if(scripts.length) {
11432
+ /******/ var i = scripts.length - 1;
11433
+ /******/ while (i > -1 && !scriptUrl) scriptUrl = scripts[i--].src;
11434
+ /******/ }
11234
11435
  /******/ }
11235
11436
  /******/ }
11236
11437
  /******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
@@ -13126,11 +13327,14 @@ class ConversationConnector {
13126
13327
  });
13127
13328
  }
13128
13329
  disconnect() {
13129
- var _a, _b, _c;
13130
- (_a = this.channel) === null || _a === void 0 ? void 0 : _a.leave();
13131
- (_b = this.socket) === null || _b === void 0 ? void 0 : _b.remove(this.channel);
13132
- (_c = this.socket) === null || _c === void 0 ? void 0 : _c.disconnect();
13133
- __classPrivateFieldSet(this, _ConversationConnector_connectionListeners, [], "f");
13330
+ var _a;
13331
+ (_a = this.channel) === null || _a === void 0 ? void 0 : _a.leave().receive('ok', () => {
13332
+ var _a, _b;
13333
+ log('[CHANNEL][LEAVE] OK');
13334
+ (_a = this.socket) === null || _a === void 0 ? void 0 : _a.remove(this.channel);
13335
+ (_b = this.socket) === null || _b === void 0 ? void 0 : _b.disconnect();
13336
+ __classPrivateFieldSet(this, _ConversationConnector_connectionListeners, [], "f");
13337
+ });
13134
13338
  }
13135
13339
  onConnection(cb) {
13136
13340
  __classPrivateFieldGet(this, _ConversationConnector_connectionListeners, "f").push(cb);
@@ -13677,7 +13881,7 @@ _API_ready = new (weak_map_default())(), _API_externalId = new (weak_map_default
13677
13881
  return {
13678
13882
  clientName: "@seamly/web-ui",
13679
13883
  clientVariant: api_classPrivateFieldGet(this, _API_layoutMode, "f"),
13680
- clientVersion: "22.0.0",
13884
+ clientVersion: "22.0.1",
13681
13885
  currentUrl: window.location.toString(),
13682
13886
  screenResolution: `${window.screen.width}x${window.screen.height}`,
13683
13887
  timezone: getTimeZone(),
@@ -13808,8 +14012,8 @@ function createSelectorHook(context = Context_ReactReduxContext) {
13808
14012
  const useSelector_useSelector = /*#__PURE__*/createSelectorHook();
13809
14013
  // EXTERNAL MODULE: ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js
13810
14014
  var hoist_non_react_statics_cjs = __webpack_require__(8679);
13811
- // EXTERNAL MODULE: ./node_modules/react-is/index.js
13812
- var react_is = __webpack_require__(9864);
14015
+ // EXTERNAL MODULE: ./node_modules/react-redux/node_modules/react-is/index.js
14016
+ var react_is = __webpack_require__(2973);
13813
14017
  ;// CONCATENATED MODULE: ./node_modules/react-redux/es/utils/Subscription.js
13814
14018
  // encapsulates the subscription logic for connecting a component to the redux store, as
13815
14019
  // well as nesting subscriptions of descendant components, so that we can ensure the
@@ -14586,7 +14790,7 @@ const cardTypes = {
14586
14790
  topic: 'topic'
14587
14791
  };
14588
14792
  ;// CONCATENATED MODULE: ./node_modules/immer/dist/immer.esm.mjs
14589
- function n(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];if(false){ var i, o; }throw Error("[Immer] minified error nr: "+n+(t.length?" "+t.map((function(n){return"'"+n+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(n){return!!n&&!!n[Q]}function t(n){var r;return!!n&&(function(n){if(!n||"object"!=typeof n)return!1;var r=Object.getPrototypeOf(n);if(null===r)return!0;var t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return t===Object||"function"==typeof t&&Function.toString.call(t)===Z}(n)||Array.isArray(n)||!!n[L]||!!(null===(r=n.constructor)||void 0===r?void 0:r[L])||s(n)||v(n))}function e(t){return r(t)||n(23,t),t[Q].t}function i(n,r,t){void 0===t&&(t=!1),0===immer_esm_o(n)?(t?Object.keys:nn)(n).forEach((function(e){t&&"symbol"==typeof e||r(e,n[e],n)})):n.forEach((function(t,e){return r(e,t,n)}))}function immer_esm_o(n){var r=n[Q];return r?r.i>3?r.i-4:r.i:Array.isArray(n)?1:s(n)?2:v(n)?3:0}function u(n,r){return 2===immer_esm_o(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a(n,r){return 2===immer_esm_o(n)?n.get(r):n[r]}function f(n,r,t){var e=immer_esm_o(n);2===e?n.set(r,t):3===e?n.add(t):n[r]=t}function c(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s(n){return X&&n instanceof Map}function v(n){return q&&n instanceof Set}function p(n){return n.o||n.t}function l(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn(n);delete r[Q];for(var t=nn(r),e=0;e<t.length;e++){var i=t[e],o=r[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]})}return Object.create(Object.getPrototypeOf(n),r)}function d(n,e){return void 0===e&&(e=!1),y(n)||r(n)||!t(n)||(immer_esm_o(n)>1&&(n.set=n.add=n.clear=n.delete=h),Object.freeze(n),e&&i(n,(function(n,r){return d(r,!0)}),!0)),n}function h(){n(2)}function y(n){return null==n||"object"!=typeof n||Object.isFrozen(n)}function b(r){var t=tn[r];return t||n(18,r),t}function m(n,r){tn[n]||(tn[n]=r)}function immer_esm_(){return true||0,U}function j(n,r){r&&(b("Patches"),n.u=[],n.s=[],n.v=r)}function O(n){g(n),n.p.forEach(S),n.p=null}function g(n){n===U&&(U=n.l)}function w(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var r=n[Q];0===r.i||1===r.i?r.j():r.O=!0}function P(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.g||b("ES5").S(e,r,o),o?(i[Q].P&&(O(e),n(4)),t(r)&&(r=M(e,r),e.l||x(e,r)),e.u&&b("Patches").M(i[Q].t,r,e.u,e.s)):r=M(e,i,[]),O(e),e.u&&e.v(e.u,e.s),r!==H?r:void 0}function M(n,r,t){if(y(r))return r;var e=r[Q];if(!e)return i(r,(function(i,o){return A(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l(e.k):e.o,u=o,a=!1;3===e.i&&(u=new Set(o),o.clear(),a=!0),i(u,(function(r,i){return A(n,e,o,r,i,t,a)})),x(n,o,!1),t&&n.u&&b("Patches").N(e,t,n.u,n.s)}return e.o}function A(e,i,o,a,c,s,v){if( false&&0,r(c)){var p=M(e,c,s&&i&&3!==i.i&&!u(i.R,a)?s.concat(a):void 0);if(f(o,a,p),!r(p))return;e.m=!1}else v&&o.add(c);if(t(c)&&!y(c)){if(!e.h.D&&e._<1)return;M(e,c),i&&i.A.l||x(e,c)}}function x(n,r,t){void 0===t&&(t=!1),!n.l&&n.h.D&&n.m&&d(r,t)}function z(n,r){var t=n[Q];return(t?p(t):n)[r]}function I(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}}function k(n){n.P||(n.P=!0,n.l&&k(n.l))}function E(n){n.o||(n.o=l(n.t))}function N(n,r,t){var e=s(r)?b("MapSet").F(r,t):v(r)?b("MapSet").T(r,t):n.g?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:immer_esm_(),P:!1,I:!1,R:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;t&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b("ES5").J(r,t);return(t?t.A:immer_esm_()).p.push(e),e}function R(e){return r(e)||n(22,e),function n(r){if(!t(r))return r;var e,u=r[Q],c=immer_esm_o(r);if(u){if(!u.P&&(u.i<4||!b("ES5").K(u)))return u.t;u.I=!0,e=D(r,c),u.I=!1}else e=D(r,c);return i(e,(function(r,t){u&&a(u.t,r)===t||f(e,r,n(t))})),3===c?new Set(e):e}(e)}function D(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l(n)}function F(){function t(n,r){var t=s[n];return t?t.enumerable=r:s[n]=t={configurable:!0,enumerable:r,get:function(){var r=this[Q];return false&&0,en.get(r,n)},set:function(r){var t=this[Q]; false&&0,en.set(t,n,r)}},t}function e(n){for(var r=n.length-1;r>=0;r--){var t=n[r][Q];if(!t.P)switch(t.i){case 5:a(t)&&k(t);break;case 4:o(t)&&k(t)}}}function o(n){for(var r=n.t,t=n.k,e=nn(t),i=e.length-1;i>=0;i--){var o=e[i];if(o!==Q){var a=r[o];if(void 0===a&&!u(r,o))return!0;var f=t[o],s=f&&f[Q];if(s?s.t!==a:!c(f,a))return!0}}var v=!!r[Q];return e.length!==nn(r).length+(v?0:1)}function a(n){var r=n.k;if(r.length!==n.t.length)return!0;var t=Object.getOwnPropertyDescriptor(r,r.length-1);if(t&&!t.get)return!0;for(var e=0;e<r.length;e++)if(!r.hasOwnProperty(e))return!0;return!1}function f(r){r.O&&n(3,JSON.stringify(p(r)))}var s={};m("ES5",{J:function(n,r){var e=Array.isArray(n),i=function(n,r){if(n){for(var e=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(e,""+i,t(i,!0));return e}var o=rn(r);delete o[Q];for(var u=nn(o),a=0;a<u.length;a++){var f=u[a];o[f]=t(f,n||!!o[f].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(e,n),o={i:e?5:4,A:r?r.A:immer_esm_(),P:!1,I:!1,R:{},l:r,t:n,k:i,o:null,O:!1,C:!1};return Object.defineProperty(i,Q,{value:o,writable:!0}),i},S:function(n,t,o){o?r(t)&&t[Q].A===n&&e(n.p):(n.u&&function n(r){if(r&&"object"==typeof r){var t=r[Q];if(t){var e=t.t,o=t.k,f=t.R,c=t.i;if(4===c)i(o,(function(r){r!==Q&&(void 0!==e[r]||u(e,r)?f[r]||n(o[r]):(f[r]=!0,k(t)))})),i(e,(function(n){void 0!==o[n]||u(o,n)||(f[n]=!1,k(t))}));else if(5===c){if(a(t)&&(k(t),f.length=!0),o.length<e.length)for(var s=o.length;s<e.length;s++)f[s]=!1;else for(var v=e.length;v<o.length;v++)f[v]=!0;for(var p=Math.min(o.length,e.length),l=0;l<p;l++)o.hasOwnProperty(l)||(f[l]=!0),void 0===f[l]&&n(o[l])}}}}(n.p[0]),e(n.p))},K:function(n){return 4===n.i?o(n):a(n)}})}function T(){function e(n){if(!t(n))return n;if(Array.isArray(n))return n.map(e);if(s(n))return new Map(Array.from(n.entries()).map((function(n){return[n[0],e(n[1])]})));if(v(n))return new Set(Array.from(n).map(e));var r=Object.create(Object.getPrototypeOf(n));for(var i in n)r[i]=e(n[i]);return u(n,L)&&(r[L]=n[L]),r}function f(n){return r(n)?e(n):n}var c="add";m("Patches",{$:function(r,t){return t.forEach((function(t){for(var i=t.path,u=t.op,f=r,s=0;s<i.length-1;s++){var v=immer_esm_o(f),p=""+i[s];0!==v&&1!==v||"__proto__"!==p&&"constructor"!==p||n(24),"function"==typeof f&&"prototype"===p&&n(24),"object"!=typeof(f=a(f,p))&&n(15,i.join("/"))}var l=immer_esm_o(f),d=e(t.value),h=i[i.length-1];switch(u){case"replace":switch(l){case 2:return f.set(h,d);case 3:n(16);default:return f[h]=d}case c:switch(l){case 1:return"-"===h?f.push(d):f.splice(h,0,d);case 2:return f.set(h,d);case 3:return f.add(d);default:return f[h]=d}case"remove":switch(l){case 1:return f.splice(h,1);case 2:return f.delete(h);case 3:return f.delete(t.value);default:return delete f[h]}default:n(17,u)}})),r},N:function(n,r,t,e){switch(n.i){case 0:case 4:case 2:return function(n,r,t,e){var o=n.t,s=n.o;i(n.R,(function(n,i){var v=a(o,n),p=a(s,n),l=i?u(o,n)?"replace":c:"remove";if(v!==p||"replace"!==l){var d=r.concat(n);t.push("remove"===l?{op:l,path:d}:{op:l,path:d,value:p}),e.push(l===c?{op:"remove",path:d}:"remove"===l?{op:c,path:d,value:f(v)}:{op:"replace",path:d,value:f(v)})}}))}(n,r,t,e);case 5:case 1:return function(n,r,t,e){var i=n.t,o=n.R,u=n.o;if(u.length<i.length){var a=[u,i];i=a[0],u=a[1];var s=[e,t];t=s[0],e=s[1]}for(var v=0;v<i.length;v++)if(o[v]&&u[v]!==i[v]){var p=r.concat([v]);t.push({op:"replace",path:p,value:f(u[v])}),e.push({op:"replace",path:p,value:f(i[v])})}for(var l=i.length;l<u.length;l++){var d=r.concat([l]);t.push({op:c,path:d,value:f(u[l])})}i.length<u.length&&e.push({op:"replace",path:r.concat(["length"]),value:i.length})}(n,r,t,e);case 3:return function(n,r,t,e){var i=n.t,o=n.o,u=0;i.forEach((function(n){if(!o.has(n)){var i=r.concat([u]);t.push({op:"remove",path:i,value:n}),e.unshift({op:c,path:i,value:n})}u++})),u=0,o.forEach((function(n){if(!i.has(n)){var o=r.concat([u]);t.push({op:c,path:o,value:n}),e.unshift({op:"remove",path:o,value:n})}u++}))}(n,r,t,e)}},M:function(n,r,t,e){t.push({op:"replace",path:[],value:r===H?void 0:r}),e.push({op:"replace",path:[],value:n})}})}function C(){function r(n,r){function t(){this.constructor=n}a(n,r),n.prototype=(t.prototype=r.prototype,new t)}function e(n){n.o||(n.R=new Map,n.o=new Map(n.t))}function o(n){n.o||(n.o=new Set,n.t.forEach((function(r){if(t(r)){var e=N(n.A.h,r,n);n.p.set(r,e),n.o.add(e)}else n.o.add(r)})))}function u(r){r.O&&n(3,JSON.stringify(p(r)))}var a=function(n,r){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)r.hasOwnProperty(t)&&(n[t]=r[t])})(n,r)},f=function(){function n(n,r){return this[Q]={i:2,l:r,A:r?r.A:immer_esm_(),P:!1,I:!1,o:void 0,R:void 0,t:n,k:this,C:!1,O:!1},this}r(n,Map);var o=n.prototype;return Object.defineProperty(o,"size",{get:function(){return p(this[Q]).size}}),o.has=function(n){return p(this[Q]).has(n)},o.set=function(n,r){var t=this[Q];return u(t),p(t).has(n)&&p(t).get(n)===r||(e(t),k(t),t.R.set(n,!0),t.o.set(n,r),t.R.set(n,!0)),this},o.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),e(r),k(r),r.t.has(n)?r.R.set(n,!1):r.R.delete(n),r.o.delete(n),!0},o.clear=function(){var n=this[Q];u(n),p(n).size&&(e(n),k(n),n.R=new Map,i(n.t,(function(r){n.R.set(r,!1)})),n.o.clear())},o.forEach=function(n,r){var t=this;p(this[Q]).forEach((function(e,i){n.call(r,t.get(i),i,t)}))},o.get=function(n){var r=this[Q];u(r);var i=p(r).get(n);if(r.I||!t(i))return i;if(i!==r.t.get(n))return i;var o=N(r.A.h,i,r);return e(r),r.o.set(n,o),o},o.keys=function(){return p(this[Q]).keys()},o.values=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.values()},n.next=function(){var n=t.next();return n.done?n:{done:!1,value:r.get(n.value)}},n},o.entries=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.entries()},n.next=function(){var n=t.next();if(n.done)return n;var e=r.get(n.value);return{done:!1,value:[n.value,e]}},n},o[V]=function(){return this.entries()},n}(),c=function(){function n(n,r){return this[Q]={i:3,l:r,A:r?r.A:immer_esm_(),P:!1,I:!1,o:void 0,t:n,k:this,p:new Map,O:!1,C:!1},this}r(n,Set);var t=n.prototype;return Object.defineProperty(t,"size",{get:function(){return p(this[Q]).size}}),t.has=function(n){var r=this[Q];return u(r),r.o?!!r.o.has(n)||!(!r.p.has(n)||!r.o.has(r.p.get(n))):r.t.has(n)},t.add=function(n){var r=this[Q];return u(r),this.has(n)||(o(r),k(r),r.o.add(n)),this},t.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),o(r),k(r),r.o.delete(n)||!!r.p.has(n)&&r.o.delete(r.p.get(n))},t.clear=function(){var n=this[Q];u(n),p(n).size&&(o(n),k(n),n.o.clear())},t.values=function(){var n=this[Q];return u(n),o(n),n.o.values()},t.entries=function(){var n=this[Q];return u(n),o(n),n.o.entries()},t.keys=function(){return this.values()},t[V]=function(){return this.values()},t.forEach=function(n,r){for(var t=this.values(),e=t.next();!e.done;)n.call(r,e.value,e.value,this),e=t.next()},n}();m("MapSet",{F:function(n,r){return new f(n,r)},T:function(n,r){return new c(n,r)}})}function J(){F(),C(),T()}function K(n){return n}function $(n){return n}var G,U,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),X="undefined"!=typeof Map,q="undefined"!=typeof Set,B="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=W?Symbol.for("immer-nothing"):((G={})["immer-nothing"]=!0,G),L=W?Symbol.for("immer-draftable"):"__$immer_draftable",Q=W?Symbol.for("immer-state"):"__$immer_state",V="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",Y={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(n){return"Cannot apply patch, path doesn't resolve: "+n},16:'Sets cannot have "replace" patches.',17:function(n){return"Unsupported patch operation: "+n},18:function(n){return"The plugin for '"+n+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+n+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(n){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+n+"'"},22:function(n){return"'current' expects a draft, got: "+n},23:function(n){return"'original' expects a draft, got: "+n},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},Z=""+Object.prototype.constructor,nn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames,rn=Object.getOwnPropertyDescriptors||function(n){var r={};return nn(n).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(n,t)})),r},tn={},en={get:function(n,r){if(r===Q)return n;var e=p(n);if(!u(e,r))return function(n,r,t){var e,i=I(r,t);return i?"value"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,r);var i=e[r];return n.I||!t(i)?i:i===z(n.t,r)?(E(n),n.o[r]=N(n.A.h,i,n)):i},has:function(n,r){return r in p(n)},ownKeys:function(n){return Reflect.ownKeys(p(n))},set:function(n,r,t){var e=I(p(n),r);if(null==e?void 0:e.set)return e.set.call(n.k,t),!0;if(!n.P){var i=z(p(n),r),o=null==i?void 0:i[Q];if(o&&o.t===t)return n.o[r]=t,n.R[r]=!1,!0;if(c(t,i)&&(void 0!==t||u(n.t,r)))return!0;E(n),k(n)}return n.o[r]===t&&(void 0!==t||r in n.o)||Number.isNaN(t)&&Number.isNaN(n.o[r])||(n.o[r]=t,n.R[r]=!0),!0},deleteProperty:function(n,r){return void 0!==z(n.t,r)||r in n.t?(n.R[r]=!1,E(n),k(n)):delete n.R[r],n.o&&delete n.o[r],!0},getOwnPropertyDescriptor:function(n,r){var t=p(n),e=Reflect.getOwnPropertyDescriptor(t,r);return e?{writable:!0,configurable:1!==n.i||"length"!==r,enumerable:e.enumerable,value:t[r]}:e},defineProperty:function(){n(11)},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n(12)}},on={};i(en,(function(n,r){on[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}})),on.deleteProperty=function(r,t){return false&&0,on.set.call(this,r,t,void 0)},on.set=function(r,t,e){return false&&0,en.set.call(this,r[0],t,e,r[0])};var un=function(){function e(r){var e=this;this.g=B,this.D=!0,this.produce=function(r,i,o){if("function"==typeof r&&"function"!=typeof i){var u=i;i=r;var a=e;return function(n){var r=this;void 0===n&&(n=u);for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var t;return(t=i).call.apply(t,[r,n].concat(e))}))}}var f;if("function"!=typeof i&&n(6),void 0!==o&&"function"!=typeof o&&n(7),t(r)){var c=w(e),s=N(e,r,void 0),v=!0;try{f=i(s),v=!1}finally{v?O(c):g(c)}return"undefined"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j(c,o),P(n,c)}),(function(n){throw O(c),n})):(j(c,o),P(f,c))}if(!r||"object"!=typeof r){if(void 0===(f=i(r))&&(f=r),f===H&&(f=void 0),e.D&&d(f,!0),o){var p=[],l=[];b("Patches").M(r,f,p,l),o(p,l)}return f}n(21,r)},this.produceWithPatches=function(n,r){if("function"==typeof n)return function(r){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return e.produceWithPatches(r,(function(r){return n.apply(void 0,[r].concat(i))}))};var t,i,o=e.produce(n,r,(function(n,r){t=n,i=r}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(n){return[n,t,i]})):[o,t,i]},"boolean"==typeof(null==r?void 0:r.useProxies)&&this.setUseProxies(r.useProxies),"boolean"==typeof(null==r?void 0:r.autoFreeze)&&this.setAutoFreeze(r.autoFreeze)}var i=e.prototype;return i.createDraft=function(e){t(e)||n(8),r(e)&&(e=R(e));var i=w(this),o=N(this,e,void 0);return o[Q].C=!0,g(i),o},i.finishDraft=function(r,t){var e=r&&r[Q]; false&&(0);var i=e.A;return j(i,t),P(void 0,i)},i.setAutoFreeze=function(n){this.D=n},i.setUseProxies=function(r){r&&!B&&n(20),this.g=r},i.applyPatches=function(n,t){var e;for(e=t.length-1;e>=0;e--){var i=t[e];if(0===i.path.length&&"replace"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b("Patches").$;return r(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an=new un,fn=an.produce,cn=an.produceWithPatches.bind(an),sn=an.setAutoFreeze.bind(an),vn=an.setUseProxies.bind(an),pn=an.applyPatches.bind(an),ln=an.createDraft.bind(an),dn=an.finishDraft.bind(an);/* harmony default export */ var immer_esm = (fn);
14793
+ function n(n){for(var r=arguments.length,t=Array(r>1?r-1:0),e=1;e<r;e++)t[e-1]=arguments[e];if(false){ var i, o; }throw Error("[Immer] minified error nr: "+n+(t.length?" "+t.map((function(n){return"'"+n+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function r(n){return!!n&&!!n[Q]}function t(n){var r;return!!n&&(function(n){if(!n||"object"!=typeof n)return!1;var r=Object.getPrototypeOf(n);if(null===r)return!0;var t=Object.hasOwnProperty.call(r,"constructor")&&r.constructor;return t===Object||"function"==typeof t&&Function.toString.call(t)===Z}(n)||Array.isArray(n)||!!n[L]||!!(null===(r=n.constructor)||void 0===r?void 0:r[L])||s(n)||v(n))}function e(t){return r(t)||n(23,t),t[Q].t}function i(n,r,t){void 0===t&&(t=!1),0===immer_esm_o(n)?(t?Object.keys:nn)(n).forEach((function(e){t&&"symbol"==typeof e||r(e,n[e],n)})):n.forEach((function(t,e){return r(e,t,n)}))}function immer_esm_o(n){var r=n[Q];return r?r.i>3?r.i-4:r.i:Array.isArray(n)?1:s(n)?2:v(n)?3:0}function u(n,r){return 2===immer_esm_o(n)?n.has(r):Object.prototype.hasOwnProperty.call(n,r)}function a(n,r){return 2===immer_esm_o(n)?n.get(r):n[r]}function f(n,r,t){var e=immer_esm_o(n);2===e?n.set(r,t):3===e?n.add(t):n[r]=t}function c(n,r){return n===r?0!==n||1/n==1/r:n!=n&&r!=r}function s(n){return X&&n instanceof Map}function v(n){return q&&n instanceof Set}function p(n){return n.o||n.t}function l(n){if(Array.isArray(n))return Array.prototype.slice.call(n);var r=rn(n);delete r[Q];for(var t=nn(r),e=0;e<t.length;e++){var i=t[e],o=r[i];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(r[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:n[i]})}return Object.create(Object.getPrototypeOf(n),r)}function d(n,e){return void 0===e&&(e=!1),y(n)||r(n)||!t(n)||(immer_esm_o(n)>1&&(n.set=n.add=n.clear=n.delete=h),Object.freeze(n),e&&i(n,(function(n,r){return d(r,!0)}),!0)),n}function h(){n(2)}function y(n){return null==n||"object"!=typeof n||Object.isFrozen(n)}function b(r){var t=tn[r];return t||n(18,r),t}function m(n,r){tn[n]||(tn[n]=r)}function immer_esm_(){return true||0,U}function j(n,r){r&&(b("Patches"),n.u=[],n.s=[],n.v=r)}function g(n){O(n),n.p.forEach(S),n.p=null}function O(n){n===U&&(U=n.l)}function w(n){return U={p:[],l:U,h:n,m:!0,_:0}}function S(n){var r=n[Q];0===r.i||1===r.i?r.j():r.g=!0}function P(r,e){e._=e.p.length;var i=e.p[0],o=void 0!==r&&r!==i;return e.h.O||b("ES5").S(e,r,o),o?(i[Q].P&&(g(e),n(4)),t(r)&&(r=M(e,r),e.l||x(e,r)),e.u&&b("Patches").M(i[Q].t,r,e.u,e.s)):r=M(e,i,[]),g(e),e.u&&e.v(e.u,e.s),r!==H?r:void 0}function M(n,r,t){if(y(r))return r;var e=r[Q];if(!e)return i(r,(function(i,o){return A(n,e,r,i,o,t)}),!0),r;if(e.A!==n)return r;if(!e.P)return x(n,e.t,!0),e.t;if(!e.I){e.I=!0,e.A._--;var o=4===e.i||5===e.i?e.o=l(e.k):e.o,u=o,a=!1;3===e.i&&(u=new Set(o),o.clear(),a=!0),i(u,(function(r,i){return A(n,e,o,r,i,t,a)})),x(n,o,!1),t&&n.u&&b("Patches").N(e,t,n.u,n.s)}return e.o}function A(e,i,o,a,c,s,v){if( false&&0,r(c)){var p=M(e,c,s&&i&&3!==i.i&&!u(i.R,a)?s.concat(a):void 0);if(f(o,a,p),!r(p))return;e.m=!1}else v&&o.add(c);if(t(c)&&!y(c)){if(!e.h.D&&e._<1)return;M(e,c),i&&i.A.l||x(e,c)}}function x(n,r,t){void 0===t&&(t=!1),!n.l&&n.h.D&&n.m&&d(r,t)}function z(n,r){var t=n[Q];return(t?p(t):n)[r]}function I(n,r){if(r in n)for(var t=Object.getPrototypeOf(n);t;){var e=Object.getOwnPropertyDescriptor(t,r);if(e)return e;t=Object.getPrototypeOf(t)}}function k(n){n.P||(n.P=!0,n.l&&k(n.l))}function E(n){n.o||(n.o=l(n.t))}function N(n,r,t){var e=s(r)?b("MapSet").F(r,t):v(r)?b("MapSet").T(r,t):n.O?function(n,r){var t=Array.isArray(n),e={i:t?1:0,A:r?r.A:immer_esm_(),P:!1,I:!1,R:{},l:r,t:n,k:null,o:null,j:null,C:!1},i=e,o=en;t&&(i=[e],o=on);var u=Proxy.revocable(i,o),a=u.revoke,f=u.proxy;return e.k=f,e.j=a,f}(r,t):b("ES5").J(r,t);return(t?t.A:immer_esm_()).p.push(e),e}function R(e){return r(e)||n(22,e),function n(r){if(!t(r))return r;var e,u=r[Q],c=immer_esm_o(r);if(u){if(!u.P&&(u.i<4||!b("ES5").K(u)))return u.t;u.I=!0,e=D(r,c),u.I=!1}else e=D(r,c);return i(e,(function(r,t){u&&a(u.t,r)===t||f(e,r,n(t))})),3===c?new Set(e):e}(e)}function D(n,r){switch(r){case 2:return new Map(n);case 3:return Array.from(n)}return l(n)}function F(){function t(n,r){var t=s[n];return t?t.enumerable=r:s[n]=t={configurable:!0,enumerable:r,get:function(){var r=this[Q];return false&&0,en.get(r,n)},set:function(r){var t=this[Q]; false&&0,en.set(t,n,r)}},t}function e(n){for(var r=n.length-1;r>=0;r--){var t=n[r][Q];if(!t.P)switch(t.i){case 5:a(t)&&k(t);break;case 4:o(t)&&k(t)}}}function o(n){for(var r=n.t,t=n.k,e=nn(t),i=e.length-1;i>=0;i--){var o=e[i];if(o!==Q){var a=r[o];if(void 0===a&&!u(r,o))return!0;var f=t[o],s=f&&f[Q];if(s?s.t!==a:!c(f,a))return!0}}var v=!!r[Q];return e.length!==nn(r).length+(v?0:1)}function a(n){var r=n.k;if(r.length!==n.t.length)return!0;var t=Object.getOwnPropertyDescriptor(r,r.length-1);if(t&&!t.get)return!0;for(var e=0;e<r.length;e++)if(!r.hasOwnProperty(e))return!0;return!1}function f(r){r.g&&n(3,JSON.stringify(p(r)))}var s={};m("ES5",{J:function(n,r){var e=Array.isArray(n),i=function(n,r){if(n){for(var e=Array(r.length),i=0;i<r.length;i++)Object.defineProperty(e,""+i,t(i,!0));return e}var o=rn(r);delete o[Q];for(var u=nn(o),a=0;a<u.length;a++){var f=u[a];o[f]=t(f,n||!!o[f].enumerable)}return Object.create(Object.getPrototypeOf(r),o)}(e,n),o={i:e?5:4,A:r?r.A:immer_esm_(),P:!1,I:!1,R:{},l:r,t:n,k:i,o:null,g:!1,C:!1};return Object.defineProperty(i,Q,{value:o,writable:!0}),i},S:function(n,t,o){o?r(t)&&t[Q].A===n&&e(n.p):(n.u&&function n(r){if(r&&"object"==typeof r){var t=r[Q];if(t){var e=t.t,o=t.k,f=t.R,c=t.i;if(4===c)i(o,(function(r){r!==Q&&(void 0!==e[r]||u(e,r)?f[r]||n(o[r]):(f[r]=!0,k(t)))})),i(e,(function(n){void 0!==o[n]||u(o,n)||(f[n]=!1,k(t))}));else if(5===c){if(a(t)&&(k(t),f.length=!0),o.length<e.length)for(var s=o.length;s<e.length;s++)f[s]=!1;else for(var v=e.length;v<o.length;v++)f[v]=!0;for(var p=Math.min(o.length,e.length),l=0;l<p;l++)o.hasOwnProperty(l)||(f[l]=!0),void 0===f[l]&&n(o[l])}}}}(n.p[0]),e(n.p))},K:function(n){return 4===n.i?o(n):a(n)}})}function T(){function e(n){if(!t(n))return n;if(Array.isArray(n))return n.map(e);if(s(n))return new Map(Array.from(n.entries()).map((function(n){return[n[0],e(n[1])]})));if(v(n))return new Set(Array.from(n).map(e));var r=Object.create(Object.getPrototypeOf(n));for(var i in n)r[i]=e(n[i]);return u(n,L)&&(r[L]=n[L]),r}function f(n){return r(n)?e(n):n}var c="add";m("Patches",{$:function(r,t){return t.forEach((function(t){for(var i=t.path,u=t.op,f=r,s=0;s<i.length-1;s++){var v=immer_esm_o(f),p=i[s];"string"!=typeof p&&"number"!=typeof p&&(p=""+p),0!==v&&1!==v||"__proto__"!==p&&"constructor"!==p||n(24),"function"==typeof f&&"prototype"===p&&n(24),"object"!=typeof(f=a(f,p))&&n(15,i.join("/"))}var l=immer_esm_o(f),d=e(t.value),h=i[i.length-1];switch(u){case"replace":switch(l){case 2:return f.set(h,d);case 3:n(16);default:return f[h]=d}case c:switch(l){case 1:return"-"===h?f.push(d):f.splice(h,0,d);case 2:return f.set(h,d);case 3:return f.add(d);default:return f[h]=d}case"remove":switch(l){case 1:return f.splice(h,1);case 2:return f.delete(h);case 3:return f.delete(t.value);default:return delete f[h]}default:n(17,u)}})),r},N:function(n,r,t,e){switch(n.i){case 0:case 4:case 2:return function(n,r,t,e){var o=n.t,s=n.o;i(n.R,(function(n,i){var v=a(o,n),p=a(s,n),l=i?u(o,n)?"replace":c:"remove";if(v!==p||"replace"!==l){var d=r.concat(n);t.push("remove"===l?{op:l,path:d}:{op:l,path:d,value:p}),e.push(l===c?{op:"remove",path:d}:"remove"===l?{op:c,path:d,value:f(v)}:{op:"replace",path:d,value:f(v)})}}))}(n,r,t,e);case 5:case 1:return function(n,r,t,e){var i=n.t,o=n.R,u=n.o;if(u.length<i.length){var a=[u,i];i=a[0],u=a[1];var s=[e,t];t=s[0],e=s[1]}for(var v=0;v<i.length;v++)if(o[v]&&u[v]!==i[v]){var p=r.concat([v]);t.push({op:"replace",path:p,value:f(u[v])}),e.push({op:"replace",path:p,value:f(i[v])})}for(var l=i.length;l<u.length;l++){var d=r.concat([l]);t.push({op:c,path:d,value:f(u[l])})}i.length<u.length&&e.push({op:"replace",path:r.concat(["length"]),value:i.length})}(n,r,t,e);case 3:return function(n,r,t,e){var i=n.t,o=n.o,u=0;i.forEach((function(n){if(!o.has(n)){var i=r.concat([u]);t.push({op:"remove",path:i,value:n}),e.unshift({op:c,path:i,value:n})}u++})),u=0,o.forEach((function(n){if(!i.has(n)){var o=r.concat([u]);t.push({op:c,path:o,value:n}),e.unshift({op:"remove",path:o,value:n})}u++}))}(n,r,t,e)}},M:function(n,r,t,e){t.push({op:"replace",path:[],value:r===H?void 0:r}),e.push({op:"replace",path:[],value:n})}})}function C(){function r(n,r){function t(){this.constructor=n}a(n,r),n.prototype=(t.prototype=r.prototype,new t)}function e(n){n.o||(n.R=new Map,n.o=new Map(n.t))}function o(n){n.o||(n.o=new Set,n.t.forEach((function(r){if(t(r)){var e=N(n.A.h,r,n);n.p.set(r,e),n.o.add(e)}else n.o.add(r)})))}function u(r){r.g&&n(3,JSON.stringify(p(r)))}var a=function(n,r){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)r.hasOwnProperty(t)&&(n[t]=r[t])})(n,r)},f=function(){function n(n,r){return this[Q]={i:2,l:r,A:r?r.A:immer_esm_(),P:!1,I:!1,o:void 0,R:void 0,t:n,k:this,C:!1,g:!1},this}r(n,Map);var o=n.prototype;return Object.defineProperty(o,"size",{get:function(){return p(this[Q]).size}}),o.has=function(n){return p(this[Q]).has(n)},o.set=function(n,r){var t=this[Q];return u(t),p(t).has(n)&&p(t).get(n)===r||(e(t),k(t),t.R.set(n,!0),t.o.set(n,r),t.R.set(n,!0)),this},o.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),e(r),k(r),r.t.has(n)?r.R.set(n,!1):r.R.delete(n),r.o.delete(n),!0},o.clear=function(){var n=this[Q];u(n),p(n).size&&(e(n),k(n),n.R=new Map,i(n.t,(function(r){n.R.set(r,!1)})),n.o.clear())},o.forEach=function(n,r){var t=this;p(this[Q]).forEach((function(e,i){n.call(r,t.get(i),i,t)}))},o.get=function(n){var r=this[Q];u(r);var i=p(r).get(n);if(r.I||!t(i))return i;if(i!==r.t.get(n))return i;var o=N(r.A.h,i,r);return e(r),r.o.set(n,o),o},o.keys=function(){return p(this[Q]).keys()},o.values=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.values()},n.next=function(){var n=t.next();return n.done?n:{done:!1,value:r.get(n.value)}},n},o.entries=function(){var n,r=this,t=this.keys();return(n={})[V]=function(){return r.entries()},n.next=function(){var n=t.next();if(n.done)return n;var e=r.get(n.value);return{done:!1,value:[n.value,e]}},n},o[V]=function(){return this.entries()},n}(),c=function(){function n(n,r){return this[Q]={i:3,l:r,A:r?r.A:immer_esm_(),P:!1,I:!1,o:void 0,t:n,k:this,p:new Map,g:!1,C:!1},this}r(n,Set);var t=n.prototype;return Object.defineProperty(t,"size",{get:function(){return p(this[Q]).size}}),t.has=function(n){var r=this[Q];return u(r),r.o?!!r.o.has(n)||!(!r.p.has(n)||!r.o.has(r.p.get(n))):r.t.has(n)},t.add=function(n){var r=this[Q];return u(r),this.has(n)||(o(r),k(r),r.o.add(n)),this},t.delete=function(n){if(!this.has(n))return!1;var r=this[Q];return u(r),o(r),k(r),r.o.delete(n)||!!r.p.has(n)&&r.o.delete(r.p.get(n))},t.clear=function(){var n=this[Q];u(n),p(n).size&&(o(n),k(n),n.o.clear())},t.values=function(){var n=this[Q];return u(n),o(n),n.o.values()},t.entries=function(){var n=this[Q];return u(n),o(n),n.o.entries()},t.keys=function(){return this.values()},t[V]=function(){return this.values()},t.forEach=function(n,r){for(var t=this.values(),e=t.next();!e.done;)n.call(r,e.value,e.value,this),e=t.next()},n}();m("MapSet",{F:function(n,r){return new f(n,r)},T:function(n,r){return new c(n,r)}})}function J(){F(),C(),T()}function K(n){return n}function $(n){return n}var G,U,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),X="undefined"!=typeof Map,q="undefined"!=typeof Set,B="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,H=W?Symbol.for("immer-nothing"):((G={})["immer-nothing"]=!0,G),L=W?Symbol.for("immer-draftable"):"__$immer_draftable",Q=W?Symbol.for("immer-state"):"__$immer_state",V="undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator",Y={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(n){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+n},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(n){return"Cannot apply patch, path doesn't resolve: "+n},16:'Sets cannot have "replace" patches.',17:function(n){return"Unsupported patch operation: "+n},18:function(n){return"The plugin for '"+n+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+n+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(n){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+n+"'"},22:function(n){return"'current' expects a draft, got: "+n},23:function(n){return"'original' expects a draft, got: "+n},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},Z=""+Object.prototype.constructor,nn="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(n){return Object.getOwnPropertyNames(n).concat(Object.getOwnPropertySymbols(n))}:Object.getOwnPropertyNames,rn=Object.getOwnPropertyDescriptors||function(n){var r={};return nn(n).forEach((function(t){r[t]=Object.getOwnPropertyDescriptor(n,t)})),r},tn={},en={get:function(n,r){if(r===Q)return n;var e=p(n);if(!u(e,r))return function(n,r,t){var e,i=I(r,t);return i?"value"in i?i.value:null===(e=i.get)||void 0===e?void 0:e.call(n.k):void 0}(n,e,r);var i=e[r];return n.I||!t(i)?i:i===z(n.t,r)?(E(n),n.o[r]=N(n.A.h,i,n)):i},has:function(n,r){return r in p(n)},ownKeys:function(n){return Reflect.ownKeys(p(n))},set:function(n,r,t){var e=I(p(n),r);if(null==e?void 0:e.set)return e.set.call(n.k,t),!0;if(!n.P){var i=z(p(n),r),o=null==i?void 0:i[Q];if(o&&o.t===t)return n.o[r]=t,n.R[r]=!1,!0;if(c(t,i)&&(void 0!==t||u(n.t,r)))return!0;E(n),k(n)}return n.o[r]===t&&(void 0!==t||r in n.o)||Number.isNaN(t)&&Number.isNaN(n.o[r])||(n.o[r]=t,n.R[r]=!0),!0},deleteProperty:function(n,r){return void 0!==z(n.t,r)||r in n.t?(n.R[r]=!1,E(n),k(n)):delete n.R[r],n.o&&delete n.o[r],!0},getOwnPropertyDescriptor:function(n,r){var t=p(n),e=Reflect.getOwnPropertyDescriptor(t,r);return e?{writable:!0,configurable:1!==n.i||"length"!==r,enumerable:e.enumerable,value:t[r]}:e},defineProperty:function(){n(11)},getPrototypeOf:function(n){return Object.getPrototypeOf(n.t)},setPrototypeOf:function(){n(12)}},on={};i(en,(function(n,r){on[n]=function(){return arguments[0]=arguments[0][0],r.apply(this,arguments)}})),on.deleteProperty=function(r,t){return false&&0,on.set.call(this,r,t,void 0)},on.set=function(r,t,e){return false&&0,en.set.call(this,r[0],t,e,r[0])};var un=function(){function e(r){var e=this;this.O=B,this.D=!0,this.produce=function(r,i,o){if("function"==typeof r&&"function"!=typeof i){var u=i;i=r;var a=e;return function(n){var r=this;void 0===n&&(n=u);for(var t=arguments.length,e=Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return a.produce(n,(function(n){var t;return(t=i).call.apply(t,[r,n].concat(e))}))}}var f;if("function"!=typeof i&&n(6),void 0!==o&&"function"!=typeof o&&n(7),t(r)){var c=w(e),s=N(e,r,void 0),v=!0;try{f=i(s),v=!1}finally{v?g(c):O(c)}return"undefined"!=typeof Promise&&f instanceof Promise?f.then((function(n){return j(c,o),P(n,c)}),(function(n){throw g(c),n})):(j(c,o),P(f,c))}if(!r||"object"!=typeof r){if(void 0===(f=i(r))&&(f=r),f===H&&(f=void 0),e.D&&d(f,!0),o){var p=[],l=[];b("Patches").M(r,f,p,l),o(p,l)}return f}n(21,r)},this.produceWithPatches=function(n,r){if("function"==typeof n)return function(r){for(var t=arguments.length,i=Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return e.produceWithPatches(r,(function(r){return n.apply(void 0,[r].concat(i))}))};var t,i,o=e.produce(n,r,(function(n,r){t=n,i=r}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(n){return[n,t,i]})):[o,t,i]},"boolean"==typeof(null==r?void 0:r.useProxies)&&this.setUseProxies(r.useProxies),"boolean"==typeof(null==r?void 0:r.autoFreeze)&&this.setAutoFreeze(r.autoFreeze)}var i=e.prototype;return i.createDraft=function(e){t(e)||n(8),r(e)&&(e=R(e));var i=w(this),o=N(this,e,void 0);return o[Q].C=!0,O(i),o},i.finishDraft=function(r,t){var e=r&&r[Q]; false&&(0);var i=e.A;return j(i,t),P(void 0,i)},i.setAutoFreeze=function(n){this.D=n},i.setUseProxies=function(r){r&&!B&&n(20),this.O=r},i.applyPatches=function(n,t){var e;for(e=t.length-1;e>=0;e--){var i=t[e];if(0===i.path.length&&"replace"===i.op){n=i.value;break}}e>-1&&(t=t.slice(e+1));var o=b("Patches").$;return r(n)?o(n,t):this.produce(n,(function(n){return o(n,t)}))},e}(),an=new un,fn=an.produce,cn=an.produceWithPatches.bind(an),sn=an.setAutoFreeze.bind(an),vn=an.setUseProxies.bind(an),pn=an.applyPatches.bind(an),ln=an.createDraft.bind(an),dn=an.finishDraft.bind(an);/* harmony default export */ var immer_esm = (fn);
14590
14794
  //# sourceMappingURL=immer.esm.js.map
14591
14795
 
14592
14796
  ;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/typeof.js
@@ -15586,6 +15790,43 @@ var MiddlewareArray = /** @class */ (function (_super) {
15586
15790
  };
15587
15791
  return MiddlewareArray;
15588
15792
  }(Array));
15793
+ var EnhancerArray = /** @class */ (function (_super) {
15794
+ __extends(EnhancerArray, _super);
15795
+ function EnhancerArray() {
15796
+ var args = [];
15797
+ for (var _i = 0; _i < arguments.length; _i++) {
15798
+ args[_i] = arguments[_i];
15799
+ }
15800
+ var _this = _super.apply(this, args) || this;
15801
+ Object.setPrototypeOf(_this, EnhancerArray.prototype);
15802
+ return _this;
15803
+ }
15804
+ Object.defineProperty(EnhancerArray, Symbol.species, {
15805
+ get: function () {
15806
+ return EnhancerArray;
15807
+ },
15808
+ enumerable: false,
15809
+ configurable: true
15810
+ });
15811
+ EnhancerArray.prototype.concat = function () {
15812
+ var arr = [];
15813
+ for (var _i = 0; _i < arguments.length; _i++) {
15814
+ arr[_i] = arguments[_i];
15815
+ }
15816
+ return _super.prototype.concat.apply(this, arr);
15817
+ };
15818
+ EnhancerArray.prototype.prepend = function () {
15819
+ var arr = [];
15820
+ for (var _i = 0; _i < arguments.length; _i++) {
15821
+ arr[_i] = arguments[_i];
15822
+ }
15823
+ if (arr.length === 1 && Array.isArray(arr[0])) {
15824
+ return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr[0].concat(this))))();
15825
+ }
15826
+ return new (EnhancerArray.bind.apply(EnhancerArray, __spreadArray([void 0], arr.concat(this))))();
15827
+ };
15828
+ return EnhancerArray;
15829
+ }(Array));
15589
15830
  function freezeDraftable(val) {
15590
15831
  return t(val) ? immer_esm(val, function () {
15591
15832
  }) : val;
@@ -15891,12 +16132,13 @@ function configureStore(options) {
15891
16132
  trace: !IS_PRODUCTION
15892
16133
  }, typeof devTools === "object" && devTools));
15893
16134
  }
15894
- var storeEnhancers = [middlewareEnhancer];
16135
+ var defaultEnhancers = new EnhancerArray(middlewareEnhancer);
16136
+ var storeEnhancers = defaultEnhancers;
15895
16137
  if (Array.isArray(enhancers)) {
15896
16138
  storeEnhancers = __spreadArray([middlewareEnhancer], enhancers);
15897
16139
  }
15898
16140
  else if (typeof enhancers === "function") {
15899
- storeEnhancers = enhancers(storeEnhancers);
16141
+ storeEnhancers = enhancers(defaultEnhancers);
15900
16142
  }
15901
16143
  var composedEnhancer = finalCompose.apply(void 0, storeEnhancers);
15902
16144
  return createStore(rootReducer, preloadedState, composedEnhancer);
@@ -15925,8 +16167,11 @@ function createAction(type, prepareAction) {
15925
16167
  actionCreator.match = function (action) { return action.type === type; };
15926
16168
  return actionCreator;
15927
16169
  }
16170
+ function isAction(action) {
16171
+ return redux_toolkit_esm_isPlainObject(action) && "type" in action;
16172
+ }
15928
16173
  function isFSA(action) {
15929
- return redux_toolkit_esm_isPlainObject(action) && typeof action.type === "string" && Object.keys(action).every(isValidKey);
16174
+ return isAction(action) && typeof action.type === "string" && Object.keys(action).every(isValidKey);
15930
16175
  }
15931
16176
  function isValidKey(key) {
15932
16177
  return ["type", "payload", "error", "meta"].indexOf(key) > -1;
@@ -17137,6 +17382,9 @@ function createListenerMiddleware(middlewareOptions) {
17137
17382
  }); };
17138
17383
  var clearListenerMiddleware = createClearListenerMiddleware(listenerMap);
17139
17384
  var middleware = function (api) { return function (next) { return function (action) {
17385
+ if (!isAction(action)) {
17386
+ return next(action);
17387
+ }
17140
17388
  if (addListener.match(action)) {
17141
17389
  return startListening(action.payload);
17142
17390
  }
@@ -18290,7 +18538,7 @@ const orderHistory = events => {
18290
18538
  };
18291
18539
  const mergeHistory = (stateEvents, historyEvents) => {
18292
18540
  var _context;
18293
- const newStateEvents = filter_default()(stateEvents).call(stateEvents, stateEvent =>
18541
+ const newStateEvents = filter_default()(stateEvents).call(stateEvents, stateEvent => stateEvent.type === 'message' && !stateEvent.payload.optimisticallyInjected &&
18294
18542
  // Deduplicate the event streams, giving events in historyEvents
18295
18543
  // precedence so the server is able to push changes to events.
18296
18544
  !some_default()(historyEvents).call(historyEvents, historyEvent => historyEvent.payload.id === stateEvent.payload.id));
@@ -18858,7 +19106,9 @@ const storeSlice = createSlice({
18858
19106
  }
18859
19107
  },
18860
19108
  extraReducers: builder => {
18861
- builder.addCase(resetApp.pending, () => initialStoreState).addCase(initializeConfig.fulfilled, (state, _ref33) => {
19109
+ builder.addCase(resetApp.pending, () => initialStoreState).addCase(initializeApp.pending, state => {
19110
+ state.isLoading = true;
19111
+ }).addCase(initializeConfig.fulfilled, (state, _ref33) => {
18862
19112
  let {
18863
19113
  payload
18864
19114
  } = _ref33;
@@ -18871,6 +19121,7 @@ const storeSlice = createSlice({
18871
19121
  payload
18872
19122
  } = _ref34;
18873
19123
  if (!payload.initialState) return;
19124
+ state.isLoading = false;
18874
19125
  state.initialState = payload.initialState;
18875
19126
  }).addMatcher(isAnyOf(initIdleDetachCountdown, initResumeConversationPrompt), state => {
18876
19127
  state.isLastEventFromClient = false;
@@ -20861,10 +21112,7 @@ var use_seamly_chat_awaiter = undefined && undefined.__awaiter || function (this
20861
21112
 
20862
21113
 
20863
21114
 
20864
-
20865
-
20866
21115
  const useSeamlyChat = () => {
20867
- const events = useEvents();
20868
21116
  const {
20869
21117
  t
20870
21118
  } = useI18n();
@@ -20878,15 +21126,12 @@ const useSeamlyChat = () => {
20878
21126
  isVisible
20879
21127
  } = useVisibility();
20880
21128
  const showInlineView = useSelector_useSelector(selectShowInlineView);
20881
- const dispatch = useDispatch();
20882
- const spinnerTimeout = (0,hooks_module/* useRef */.sO)(null);
20883
21129
  const {
20884
21130
  start,
20885
21131
  connect,
20886
21132
  apiConfigReady,
20887
21133
  apiConnected
20888
21134
  } = use_seamly_commands();
20889
- const hasConversation = useSeamlyHasConversation();
20890
21135
  const connectCalled = (0,hooks_module/* useRef */.sO)(false);
20891
21136
  const {
20892
21137
  sendAssertive
@@ -20912,26 +21157,6 @@ const useSeamlyChat = () => {
20912
21157
  sendAssertive(t('window.srTexts.onClose'));
20913
21158
  }
20914
21159
  }, [isOpen, isVisible, sendAssertive, t]);
20915
- (0,hooks_module/* useEffect */.d4)(() => {
20916
- // This delays the start of the loading inidicator we set when we initialise
20917
- // the application. This is done to only avoid BSOD on initial load if DCX is slow.
20918
- spinnerTimeout.current = set_timeout_default()(() => {
20919
- dispatch(setIsLoading(true));
20920
- }, 500);
20921
- return () => {
20922
- clearTimeout(spinnerTimeout.current);
20923
- };
20924
- }, [dispatch]);
20925
- (0,hooks_module/* useEffect */.d4)(() => {
20926
- if (events.length) {
20927
- spinnerTimeout.current = set_timeout_default()(() => {
20928
- dispatch(setIsLoading(false));
20929
- }, 5000);
20930
- }
20931
- return () => {
20932
- clearTimeout(spinnerTimeout.current);
20933
- };
20934
- }, [events, dispatch]);
20935
21160
  (0,hooks_module/* useEffect */.d4)(() => {
20936
21161
  // This is needed to reset the ref to allow connect and start to happen again.
20937
21162
  // Mostly due to Interrupt situations and a reset being called.
@@ -20958,14 +21183,8 @@ const useSeamlyChat = () => {
20958
21183
  if (!apiConfigReady || connectCalled.current || isWindow && !isOpen || isInline && (!isVisible || !showInlineView)) {
20959
21184
  return;
20960
21185
  }
20961
- if (hasConversation() && isOpen) {
20962
- // We deactivate the extra startup loading spinner when a conversation is available
20963
- // We also stop setting the loading indicator in the first place to avoid a flash.
20964
- clearTimeout(spinnerTimeout.current);
20965
- dispatch(setIsLoading(false));
20966
- }
20967
21186
  connectAndStart();
20968
- }, [apiConfigReady, connectAndStart, dispatch, hasConversation, isInline, isOpen, isWindow, isVisible, showInlineView]);
21187
+ }, [apiConfigReady, connectAndStart, isInline, isOpen, isVisible, isWindow, showInlineView]);
20969
21188
  };
20970
21189
  /* harmony default export */ var use_seamly_chat = (useSeamlyChat);
20971
21190
  ;// CONCATENATED MODULE: ./src/javascripts/ui/components/core/seamly-chat.tsx
@@ -23138,7 +23357,7 @@ const TimeIndicator = _ref => {
23138
23357
  /* harmony default export */ var time_indicator = (TimeIndicator);
23139
23358
  ;// CONCATENATED MODULE: ./node_modules/tabbable/dist/index.esm.js
23140
23359
  /*!
23141
- * tabbable 6.1.1
23360
+ * tabbable 6.1.2
23142
23361
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
23143
23362
  */
23144
23363
  // NOTE: separate `:not()` selectors has broader browser support than the newer
@@ -23679,7 +23898,7 @@ var isFocusable = function isFocusable(node, options) {
23679
23898
 
23680
23899
  ;// CONCATENATED MODULE: ./node_modules/focus-trap/dist/focus-trap.esm.js
23681
23900
  /*!
23682
- * focus-trap 7.4.0
23901
+ * focus-trap 7.4.1
23683
23902
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
23684
23903
  */
23685
23904
 
@@ -25173,7 +25392,6 @@ const SeamlyActivityMonitor = ({ children }) => {
25173
25392
 
25174
25393
 
25175
25394
 
25176
-
25177
25395
  var seamly_event_subscriber_rest = undefined && undefined.__rest || function (s, e) {
25178
25396
  var t = {};
25179
25397
  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && index_of_default()(e).call(e, p) < 0) t[p] = s[p];
@@ -25231,17 +25449,6 @@ const SeamlyEventSubscriber = () => {
25231
25449
  });
25232
25450
  }
25233
25451
  }, [api, api.connectionInfo, api.conversation.socket, dispatch]);
25234
- (0,hooks_module/* useEffect */.d4)(() => {
25235
- if (api.connectionInfo && api.conversation.channel) {
25236
- const {
25237
- channel
25238
- } = api.conversation;
25239
- return () => {
25240
- channel === null || channel === void 0 ? void 0 : channel.leave();
25241
- };
25242
- }
25243
- return () => undefined;
25244
- }, [api, api.connectionInfo, api.conversation]);
25245
25452
  (0,hooks_module/* useEffect */.d4)(() => {
25246
25453
  api.conversation.onConnection(_ref => {
25247
25454
  let {
@@ -25259,9 +25466,34 @@ const SeamlyEventSubscriber = () => {
25259
25466
  }));
25260
25467
  }
25261
25468
  });
25262
- }, [api.conversation, dispatch]);
25469
+ }, [api, api.connectionInfo, api.conversation.channel, dispatch]);
25263
25470
  (0,hooks_module/* useEffect */.d4)(() => {
25264
25471
  if (api.connectionInfo) {
25472
+ const updateParticipant = event => {
25473
+ if (event.type !== 'participant') {
25474
+ return;
25475
+ }
25476
+ const {
25477
+ payload
25478
+ } = event;
25479
+ if (!payload || !payload.participant) {
25480
+ return;
25481
+ }
25482
+ const {
25483
+ fromClient,
25484
+ participant
25485
+ } = payload;
25486
+ if (!fromClient && typeof participant !== 'string' && (participant === null || participant === void 0 ? void 0 : participant.name)) {
25487
+ dispatch(setHeaderSubTitle(participant.name));
25488
+ }
25489
+ dispatch(setParticipant({
25490
+ participant,
25491
+ fromClient
25492
+ }));
25493
+ if (typeof participant !== 'string' && participant.introduction) {
25494
+ dispatch(addEvent(event));
25495
+ }
25496
+ };
25265
25497
  api.conversation.onConnection(_ref2 => {
25266
25498
  let {
25267
25499
  connected
@@ -25270,32 +25502,6 @@ const SeamlyEventSubscriber = () => {
25270
25502
  const {
25271
25503
  channel
25272
25504
  } = api.conversation;
25273
- const updateParticipant = event => {
25274
- const {
25275
- payload
25276
- } = event;
25277
- if (!payload || !payload.participant) {
25278
- return;
25279
- }
25280
- const {
25281
- fromClient,
25282
- participant
25283
- } = payload;
25284
- if (!fromClient && typeof participant !== 'string' && (participant === null || participant === void 0 ? void 0 : participant.name)) {
25285
- dispatch(setHeaderSubTitle(participant.name));
25286
- }
25287
- dispatch(setParticipant({
25288
- participant,
25289
- fromClient
25290
- }));
25291
- if (typeof participant !== 'string' && participant.introduction) {
25292
- dispatch(addEvent(assign_default()(assign_default()({}, event), {
25293
- payload: assign_default()(assign_default()({}, payload), {
25294
- type: 'participant'
25295
- })
25296
- })));
25297
- }
25298
- };
25299
25505
  channel.onMessage = (type, payload) => {
25300
25506
  const event = {
25301
25507
  type,
@@ -25415,7 +25621,7 @@ const SeamlyEventSubscriber = () => {
25415
25621
  }
25416
25622
  return payload;
25417
25623
  };
25418
- return true;
25624
+ return false;
25419
25625
  });
25420
25626
  }
25421
25627
  }, [api, api.connectionInfo, api.conversation.channel, dispatch, emitEvent, endCountdown, eventBus, initCountdown]);
@@ -25847,7 +26053,7 @@ const SeamlyLiveRegion = _ref => {
25847
26053
  timeOutHandler = set_timeout_default()(() => {
25848
26054
  messageSetter({});
25849
26055
  clearTimeout(timeOutHandler);
25850
- }, 500); // To get it to work in VoiceOver in MacOS
26056
+ }, 600); // To get it to work in VoiceOver in MacOS
25851
26057
  }
25852
26058
 
25853
26059
  return () => {
@@ -26048,6 +26254,22 @@ const PrivacyDisclaimer = () => {
26048
26254
  });
26049
26255
  };
26050
26256
  /* harmony default export */ var privacy_disclaimer = (PrivacyDisclaimer);
26257
+ ;// CONCATENATED MODULE: ./src/javascripts/ui/hooks/use-debounce.ts
26258
+
26259
+
26260
+ const useDebounce = function (value) {
26261
+ let delay = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 20;
26262
+ const [debouncedValue, setDebouncedValue] = (0,hooks_module/* useState */.eJ)(value);
26263
+ const timeoutRef = (0,hooks_module/* useRef */.sO)(null);
26264
+ (0,hooks_module/* useEffect */.d4)(() => {
26265
+ timeoutRef.current = set_timeout_default()(() => setDebouncedValue(value), delay);
26266
+ return () => {
26267
+ clearTimeout(timeoutRef.current);
26268
+ };
26269
+ }, [value, delay]);
26270
+ return debouncedValue;
26271
+ };
26272
+ /* harmony default export */ var use_debounce = (useDebounce);
26051
26273
  ;// CONCATENATED MODULE: ./src/javascripts/domains/forms/selectors.ts
26052
26274
 
26053
26275
 
@@ -26469,6 +26691,7 @@ const Loader = () => {
26469
26691
 
26470
26692
 
26471
26693
 
26694
+
26472
26695
  const Events = () => {
26473
26696
  const events = useEvents();
26474
26697
  let prevParticipant = null;
@@ -26491,6 +26714,7 @@ const Events = () => {
26491
26714
  const Conversation = () => {
26492
26715
  const { t } = useI18n();
26493
26716
  const isLoading = useSeamlyIsLoading();
26717
+ const debouncedIsLoading = use_debounce(isLoading, isLoading ? 0 : 20);
26494
26718
  const { isOpen } = useVisibility();
26495
26719
  const skiplinkTargetId = useSkiplink();
26496
26720
  const focusSkiplinkTarget = useSkiplinkTargetFocusing();
@@ -26498,7 +26722,7 @@ const Conversation = () => {
26498
26722
  e.preventDefault();
26499
26723
  focusSkiplinkTarget();
26500
26724
  };
26501
- return (o(preact_module/* Fragment */.HY, { children: [isOpen && (o("a", Object.assign({ className: css_className('skip-link'), href: `#${skiplinkTargetId}`, onClick: onClickHandler }, { children: t('skiplinkText') }))), o("div", Object.assign({ className: css_className('chat__body') }, { children: o("div", Object.assign({ className: css_className('conversation__container') }, { children: [o(privacy_disclaimer, {}), o("ol", Object.assign({ className: css_className('conversation') }, { children: [o(component_filter, { children: o(Events, {}) }), isLoading && o(loader, {}), o(AbortTransactionButton, {})] }))] })) }))] }));
26725
+ return (o(preact_module/* Fragment */.HY, { children: [isOpen && (o("a", Object.assign({ className: css_className('skip-link'), href: `#${skiplinkTargetId}`, onClick: onClickHandler }, { children: t('skiplinkText') }))), o("div", Object.assign({ className: css_className('chat__body') }, { children: o("div", Object.assign({ className: css_className('conversation__container') }, { children: [o(privacy_disclaimer, {}), o("ol", Object.assign({ className: css_className('conversation') }, { children: [o(component_filter, { children: o(Events, {}) }), debouncedIsLoading ? o(loader, {}) : null, o(AbortTransactionButton, {})] }))] })) }))] }));
26502
26726
  };
26503
26727
  /* harmony default export */ var conversation = (Conversation);
26504
26728