stream-chat-react 10.8.0 → 10.8.2

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.
@@ -6071,7 +6071,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
6071
6071
  "default": obj
6072
6072
  };
6073
6073
  }
6074
-
6075
6074
  module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
6076
6075
  } (interopRequireDefault));
6077
6076
 
@@ -6089,7 +6088,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
6089
6088
  throw new TypeError("Cannot call a class as a function");
6090
6089
  }
6091
6090
  }
6092
-
6093
6091
  module.exports = _classCallCheck, module.exports.__esModule = true, module.exports["default"] = module.exports;
6094
6092
  } (classCallCheck));
6095
6093
  return classCallCheck.exports;
@@ -6097,6 +6095,69 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
6097
6095
 
6098
6096
  var createClass = {exports: {}};
6099
6097
 
6098
+ var toPropertyKey = {exports: {}};
6099
+
6100
+ var _typeof$3 = {exports: {}};
6101
+
6102
+ window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
6103
+ (function (module) {
6104
+ function _typeof(obj) {
6105
+ "@babel/helpers - typeof";
6106
+
6107
+ return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
6108
+ return typeof obj;
6109
+ } : function (obj) {
6110
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
6111
+ }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
6112
+ }
6113
+ module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
6114
+ } (_typeof$3));
6115
+
6116
+ var _typeof$2 = /*@__PURE__*/getDefaultExportFromCjs(_typeof$3.exports);
6117
+
6118
+ var toPrimitive = {exports: {}};
6119
+
6120
+ window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
6121
+ var hasRequiredToPrimitive;
6122
+
6123
+ function requireToPrimitive () {
6124
+ if (hasRequiredToPrimitive) return toPrimitive.exports;
6125
+ hasRequiredToPrimitive = 1;
6126
+ (function (module) {
6127
+ var _typeof = _typeof$3.exports["default"];
6128
+ function _toPrimitive(input, hint) {
6129
+ if (_typeof(input) !== "object" || input === null) return input;
6130
+ var prim = input[Symbol.toPrimitive];
6131
+ if (prim !== undefined) {
6132
+ var res = prim.call(input, hint || "default");
6133
+ if (_typeof(res) !== "object") return res;
6134
+ throw new TypeError("@@toPrimitive must return a primitive value.");
6135
+ }
6136
+ return (hint === "string" ? String : Number)(input);
6137
+ }
6138
+ module.exports = _toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
6139
+ } (toPrimitive));
6140
+ return toPrimitive.exports;
6141
+ }
6142
+
6143
+ window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
6144
+ var hasRequiredToPropertyKey;
6145
+
6146
+ function requireToPropertyKey () {
6147
+ if (hasRequiredToPropertyKey) return toPropertyKey.exports;
6148
+ hasRequiredToPropertyKey = 1;
6149
+ (function (module) {
6150
+ var _typeof = _typeof$3.exports["default"];
6151
+ var toPrimitive = requireToPrimitive();
6152
+ function _toPropertyKey(arg) {
6153
+ var key = toPrimitive(arg, "string");
6154
+ return _typeof(key) === "symbol" ? key : String(key);
6155
+ }
6156
+ module.exports = _toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
6157
+ } (toPropertyKey));
6158
+ return toPropertyKey.exports;
6159
+ }
6160
+
6100
6161
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
6101
6162
  var hasRequiredCreateClass;
6102
6163
 
@@ -6104,16 +6165,16 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
6104
6165
  if (hasRequiredCreateClass) return createClass.exports;
6105
6166
  hasRequiredCreateClass = 1;
6106
6167
  (function (module) {
6168
+ var toPropertyKey = requireToPropertyKey();
6107
6169
  function _defineProperties(target, props) {
6108
6170
  for (var i = 0; i < props.length; i++) {
6109
6171
  var descriptor = props[i];
6110
6172
  descriptor.enumerable = descriptor.enumerable || false;
6111
6173
  descriptor.configurable = true;
6112
6174
  if ("value" in descriptor) descriptor.writable = true;
6113
- Object.defineProperty(target, descriptor.key, descriptor);
6175
+ Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
6114
6176
  }
6115
6177
  }
6116
-
6117
6178
  function _createClass(Constructor, protoProps, staticProps) {
6118
6179
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
6119
6180
  if (staticProps) _defineProperties(Constructor, staticProps);
@@ -6122,7 +6183,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
6122
6183
  });
6123
6184
  return Constructor;
6124
6185
  }
6125
-
6126
6186
  module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
6127
6187
  } (createClass));
6128
6188
  return createClass.exports;
@@ -6130,25 +6190,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
6130
6190
 
6131
6191
  var utils = {};
6132
6192
 
6133
- var _typeof$3 = {exports: {}};
6134
-
6135
- window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
6136
- (function (module) {
6137
- function _typeof(obj) {
6138
- "@babel/helpers - typeof";
6139
-
6140
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
6141
- return typeof obj;
6142
- } : function (obj) {
6143
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
6144
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
6145
- }
6146
-
6147
- module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
6148
- } (_typeof$3));
6149
-
6150
- var _typeof$2 = /*@__PURE__*/getDefaultExportFromCjs(_typeof$3.exports);
6151
-
6152
6193
  var data = {};
6153
6194
 
6154
6195
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
@@ -15591,7 +15632,9 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
15591
15632
  if (hasRequiredDefineProperty) return defineProperty$1.exports;
15592
15633
  hasRequiredDefineProperty = 1;
15593
15634
  (function (module) {
15635
+ var toPropertyKey = requireToPropertyKey();
15594
15636
  function _defineProperty(obj, key, value) {
15637
+ key = toPropertyKey(key);
15595
15638
  if (key in obj) {
15596
15639
  Object.defineProperty(obj, key, {
15597
15640
  value: value,
@@ -15602,10 +15645,8 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
15602
15645
  } else {
15603
15646
  obj[key] = value;
15604
15647
  }
15605
-
15606
15648
  return obj;
15607
15649
  }
15608
-
15609
15650
  module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
15610
15651
  } (defineProperty$1));
15611
15652
  return defineProperty$1.exports;
@@ -15622,7 +15663,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
15622
15663
  function _arrayWithHoles(arr) {
15623
15664
  if (Array.isArray(arr)) return arr;
15624
15665
  }
15625
-
15626
15666
  module.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports["default"] = module.exports;
15627
15667
  } (arrayWithHoles));
15628
15668
 
@@ -15631,35 +15671,32 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
15631
15671
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
15632
15672
  (function (module) {
15633
15673
  function _iterableToArrayLimit(arr, i) {
15634
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
15635
-
15636
- if (_i == null) return;
15637
- var _arr = [];
15638
- var _n = true;
15639
- var _d = false;
15640
-
15641
- var _s, _e;
15642
-
15643
- try {
15644
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
15645
- _arr.push(_s.value);
15646
-
15647
- if (i && _arr.length === i) break;
15648
- }
15649
- } catch (err) {
15650
- _d = true;
15651
- _e = err;
15652
- } finally {
15674
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
15675
+ if (null != _i) {
15676
+ var _s,
15677
+ _e,
15678
+ _x,
15679
+ _r,
15680
+ _arr = [],
15681
+ _n = !0,
15682
+ _d = !1;
15653
15683
  try {
15654
- if (!_n && _i["return"] != null) _i["return"]();
15684
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
15685
+ if (Object(_i) !== _i) return;
15686
+ _n = !1;
15687
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
15688
+ } catch (err) {
15689
+ _d = !0, _e = err;
15655
15690
  } finally {
15656
- if (_d) throw _e;
15691
+ try {
15692
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
15693
+ } finally {
15694
+ if (_d) throw _e;
15695
+ }
15657
15696
  }
15697
+ return _arr;
15658
15698
  }
15659
-
15660
- return _arr;
15661
15699
  }
15662
-
15663
15700
  module.exports = _iterableToArrayLimit, module.exports.__esModule = true, module.exports["default"] = module.exports;
15664
15701
  } (iterableToArrayLimit));
15665
15702
 
@@ -15671,21 +15708,15 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
15671
15708
  (function (module) {
15672
15709
  function _arrayLikeToArray(arr, len) {
15673
15710
  if (len == null || len > arr.length) len = arr.length;
15674
-
15675
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
15676
- arr2[i] = arr[i];
15677
- }
15678
-
15711
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
15679
15712
  return arr2;
15680
15713
  }
15681
-
15682
15714
  module.exports = _arrayLikeToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
15683
15715
  } (arrayLikeToArray));
15684
15716
 
15685
15717
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
15686
15718
  (function (module) {
15687
15719
  var arrayLikeToArray$1 = arrayLikeToArray.exports;
15688
-
15689
15720
  function _unsupportedIterableToArray(o, minLen) {
15690
15721
  if (!o) return;
15691
15722
  if (typeof o === "string") return arrayLikeToArray$1(o, minLen);
@@ -15694,7 +15725,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
15694
15725
  if (n === "Map" || n === "Set") return Array.from(o);
15695
15726
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray$1(o, minLen);
15696
15727
  }
15697
-
15698
15728
  module.exports = _unsupportedIterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
15699
15729
  } (unsupportedIterableToArray));
15700
15730
 
@@ -15705,24 +15735,18 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
15705
15735
  function _nonIterableRest() {
15706
15736
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
15707
15737
  }
15708
-
15709
15738
  module.exports = _nonIterableRest, module.exports.__esModule = true, module.exports["default"] = module.exports;
15710
15739
  } (nonIterableRest));
15711
15740
 
15712
15741
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
15713
15742
  (function (module) {
15714
15743
  var arrayWithHoles$1 = arrayWithHoles.exports;
15715
-
15716
15744
  var iterableToArrayLimit$1 = iterableToArrayLimit.exports;
15717
-
15718
15745
  var unsupportedIterableToArray$1 = unsupportedIterableToArray.exports;
15719
-
15720
15746
  var nonIterableRest$1 = nonIterableRest.exports;
15721
-
15722
15747
  function _slicedToArray(arr, i) {
15723
15748
  return arrayWithHoles$1(arr) || iterableToArrayLimit$1(arr, i) || unsupportedIterableToArray$1(arr, i) || nonIterableRest$1();
15724
15749
  }
15725
-
15726
15750
  module.exports = _slicedToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
15727
15751
  } (slicedToArray));
15728
15752
 
@@ -37310,31 +37334,25 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37310
37334
  var target = {};
37311
37335
  var sourceKeys = Object.keys(source);
37312
37336
  var key, i;
37313
-
37314
37337
  for (i = 0; i < sourceKeys.length; i++) {
37315
37338
  key = sourceKeys[i];
37316
37339
  if (excluded.indexOf(key) >= 0) continue;
37317
37340
  target[key] = source[key];
37318
37341
  }
37319
-
37320
37342
  return target;
37321
37343
  }
37322
-
37323
37344
  module.exports = _objectWithoutPropertiesLoose, module.exports.__esModule = true, module.exports["default"] = module.exports;
37324
37345
  } (objectWithoutPropertiesLoose));
37325
37346
 
37326
37347
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
37327
37348
  (function (module) {
37328
37349
  var objectWithoutPropertiesLoose$1 = objectWithoutPropertiesLoose.exports;
37329
-
37330
37350
  function _objectWithoutProperties(source, excluded) {
37331
37351
  if (source == null) return {};
37332
37352
  var target = objectWithoutPropertiesLoose$1(source, excluded);
37333
37353
  var key, i;
37334
-
37335
37354
  if (Object.getOwnPropertySymbols) {
37336
37355
  var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
37337
-
37338
37356
  for (i = 0; i < sourceSymbolKeys.length; i++) {
37339
37357
  key = sourceSymbolKeys[i];
37340
37358
  if (excluded.indexOf(key) >= 0) continue;
@@ -37342,10 +37360,8 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37342
37360
  target[key] = source[key];
37343
37361
  }
37344
37362
  }
37345
-
37346
37363
  return target;
37347
37364
  }
37348
-
37349
37365
  module.exports = _objectWithoutProperties, module.exports.__esModule = true, module.exports["default"] = module.exports;
37350
37366
  } (objectWithoutProperties));
37351
37367
 
@@ -37361,22 +37377,19 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37361
37377
  hasRequired_extends = 1;
37362
37378
  (function (module) {
37363
37379
  function _extends() {
37364
- module.exports = _extends = Object.assign || function (target) {
37380
+ module.exports = _extends = Object.assign ? Object.assign.bind() : function (target) {
37365
37381
  for (var i = 1; i < arguments.length; i++) {
37366
37382
  var source = arguments[i];
37367
-
37368
37383
  for (var key in source) {
37369
37384
  if (Object.prototype.hasOwnProperty.call(source, key)) {
37370
37385
  target[key] = source[key];
37371
37386
  }
37372
37387
  }
37373
37388
  }
37374
-
37375
37389
  return target;
37376
37390
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
37377
37391
  return _extends.apply(this, arguments);
37378
37392
  }
37379
-
37380
37393
  module.exports = _extends, module.exports.__esModule = true, module.exports["default"] = module.exports;
37381
37394
  } (_extends$2));
37382
37395
  return _extends$2.exports;
@@ -37401,10 +37414,8 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37401
37414
  if (self === void 0) {
37402
37415
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
37403
37416
  }
37404
-
37405
37417
  return self;
37406
37418
  }
37407
-
37408
37419
  module.exports = _assertThisInitialized, module.exports.__esModule = true, module.exports["default"] = module.exports;
37409
37420
  } (assertThisInitialized));
37410
37421
  return assertThisInitialized.exports;
@@ -37424,13 +37435,12 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37424
37435
  hasRequiredSetPrototypeOf = 1;
37425
37436
  (function (module) {
37426
37437
  function _setPrototypeOf(o, p) {
37427
- module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
37438
+ module.exports = _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
37428
37439
  o.__proto__ = p;
37429
37440
  return o;
37430
37441
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
37431
37442
  return _setPrototypeOf(o, p);
37432
37443
  }
37433
-
37434
37444
  module.exports = _setPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
37435
37445
  } (setPrototypeOf));
37436
37446
  return setPrototypeOf.exports;
@@ -37444,12 +37454,10 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37444
37454
  hasRequiredInherits = 1;
37445
37455
  (function (module) {
37446
37456
  var setPrototypeOf = requireSetPrototypeOf();
37447
-
37448
37457
  function _inherits(subClass, superClass) {
37449
37458
  if (typeof superClass !== "function" && superClass !== null) {
37450
37459
  throw new TypeError("Super expression must either be null or a function");
37451
37460
  }
37452
-
37453
37461
  subClass.prototype = Object.create(superClass && superClass.prototype, {
37454
37462
  constructor: {
37455
37463
  value: subClass,
@@ -37462,7 +37470,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37462
37470
  });
37463
37471
  if (superClass) setPrototypeOf(subClass, superClass);
37464
37472
  }
37465
-
37466
37473
  module.exports = _inherits, module.exports.__esModule = true, module.exports["default"] = module.exports;
37467
37474
  } (inherits$1));
37468
37475
  return inherits$1.exports;
@@ -37480,19 +37487,15 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37480
37487
  hasRequiredPossibleConstructorReturn = 1;
37481
37488
  (function (module) {
37482
37489
  var _typeof = _typeof$3.exports["default"];
37483
-
37484
37490
  var assertThisInitialized = requireAssertThisInitialized();
37485
-
37486
37491
  function _possibleConstructorReturn(self, call) {
37487
37492
  if (call && (_typeof(call) === "object" || typeof call === "function")) {
37488
37493
  return call;
37489
37494
  } else if (call !== void 0) {
37490
37495
  throw new TypeError("Derived constructors may only return object or undefined");
37491
37496
  }
37492
-
37493
37497
  return assertThisInitialized(self);
37494
37498
  }
37495
-
37496
37499
  module.exports = _possibleConstructorReturn, module.exports.__esModule = true, module.exports["default"] = module.exports;
37497
37500
  } (possibleConstructorReturn));
37498
37501
  return possibleConstructorReturn.exports;
@@ -37510,12 +37513,11 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37510
37513
  hasRequiredGetPrototypeOf = 1;
37511
37514
  (function (module) {
37512
37515
  function _getPrototypeOf(o) {
37513
- module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
37516
+ module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
37514
37517
  return o.__proto__ || Object.getPrototypeOf(o);
37515
37518
  }, module.exports.__esModule = true, module.exports["default"] = module.exports;
37516
37519
  return _getPrototypeOf(o);
37517
37520
  }
37518
-
37519
37521
  module.exports = _getPrototypeOf, module.exports.__esModule = true, module.exports["default"] = module.exports;
37520
37522
  } (getPrototypeOf));
37521
37523
  return getPrototypeOf.exports;
@@ -37524,20 +37526,17 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37524
37526
  var getPrototypeOfExports = requireGetPrototypeOf();
37525
37527
 
37526
37528
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};function _extends$1() {
37527
- _extends$1 = Object.assign || function (target) {
37529
+ _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
37528
37530
  for (var i = 1; i < arguments.length; i++) {
37529
37531
  var source = arguments[i];
37530
-
37531
37532
  for (var key in source) {
37532
37533
  if (Object.prototype.hasOwnProperty.call(source, key)) {
37533
37534
  target[key] = source[key];
37534
37535
  }
37535
37536
  }
37536
37537
  }
37537
-
37538
37538
  return target;
37539
37539
  };
37540
-
37541
37540
  return _extends$1.apply(this, arguments);
37542
37541
  }
37543
37542
 
@@ -37546,13 +37545,11 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
37546
37545
  var target = {};
37547
37546
  var sourceKeys = Object.keys(source);
37548
37547
  var key, i;
37549
-
37550
37548
  for (i = 0; i < sourceKeys.length; i++) {
37551
37549
  key = sourceKeys[i];
37552
37550
  if (excluded.indexOf(key) >= 0) continue;
37553
37551
  target[key] = source[key];
37554
37552
  }
37555
-
37556
37553
  return target;
37557
37554
  }
37558
37555
 
@@ -38091,6 +38088,12 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
38091
38088
 
38092
38089
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
38093
38090
 
38091
+ window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var isSafari = function () {
38092
+ if (typeof navigator === 'undefined')
38093
+ return false;
38094
+ return /^((?!chrome|android).)*safari/i.test(navigator.userAgent || '');
38095
+ };
38096
+
38094
38097
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var _excluded$2 = ["onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onScroll", "onSelect"];
38095
38098
  function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
38096
38099
  function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { definePropertyExports(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -38468,7 +38471,13 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
38468
38471
  // that was actually clicked. If we clicked inside the auto-select dropdown, then
38469
38472
  // that's not a blur, from the auto-select point of view, so then do nothing.
38470
38473
  var el = e.relatedTarget;
38471
- if (_this.dropdownRef && el instanceof Node && _this.dropdownRef.contains(el)) {
38474
+ // If this is a blur event in Safari, then relatedTarget is never a dropdown item, but a common parent
38475
+ // of textarea and dropdown container. That means that dropdownRef will not contain its parent and the
38476
+ // autocomplete will be closed before onclick handler can be invoked selecting an item.
38477
+ // It seems that Safari has different implementation determining the relatedTarget node than Chrome and Firefox.
38478
+ // Therefore, if focused away in Safari, the dropdown will be kept rendered until pressing Esc or selecting and item from it.
38479
+ var focusedAwayInSafari = isSafari() && e.type === 'blur';
38480
+ if (_this.dropdownRef && el instanceof Node && _this.dropdownRef.contains(el) || focusedAwayInSafari) {
38472
38481
  return;
38473
38482
  }
38474
38483
  if (closeOnClickOutside) _this._closeAutocomplete();
@@ -48503,7 +48512,7 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
48503
48512
 
48504
48513
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
48505
48514
 
48506
- window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var version$1 = '10.8.0';
48515
+ window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var version$1 = '10.8.2';
48507
48516
 
48508
48517
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};var useChat = function (_a) {
48509
48518
  var _b, _c;
@@ -52200,7 +52209,6 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
52200
52209
  window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};
52201
52210
  (function (module) {
52202
52211
  var _typeof = _typeof$3.exports["default"];
52203
-
52204
52212
  function _getRequireWildcardCache(nodeInterop) {
52205
52213
  if (typeof WeakMap !== "function") return null;
52206
52214
  var cacheBabelInterop = new WeakMap();
@@ -52209,31 +52217,24 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
52209
52217
  return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
52210
52218
  })(nodeInterop);
52211
52219
  }
52212
-
52213
52220
  function _interopRequireWildcard(obj, nodeInterop) {
52214
52221
  if (!nodeInterop && obj && obj.__esModule) {
52215
52222
  return obj;
52216
52223
  }
52217
-
52218
52224
  if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
52219
52225
  return {
52220
52226
  "default": obj
52221
52227
  };
52222
52228
  }
52223
-
52224
52229
  var cache = _getRequireWildcardCache(nodeInterop);
52225
-
52226
52230
  if (cache && cache.has(obj)) {
52227
52231
  return cache.get(obj);
52228
52232
  }
52229
-
52230
52233
  var newObj = {};
52231
52234
  var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
52232
-
52233
52235
  for (var key in obj) {
52234
52236
  if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
52235
52237
  var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
52236
-
52237
52238
  if (desc && (desc.get || desc.set)) {
52238
52239
  Object.defineProperty(newObj, key, desc);
52239
52240
  } else {
@@ -52241,16 +52242,12 @@ var StreamChatReact = (function (exports, React$2, streamChat, ReactDOM) {
52241
52242
  }
52242
52243
  }
52243
52244
  }
52244
-
52245
52245
  newObj["default"] = obj;
52246
-
52247
52246
  if (cache) {
52248
52247
  cache.set(obj, newObj);
52249
52248
  }
52250
-
52251
52249
  return newObj;
52252
52250
  }
52253
-
52254
52251
  module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports;
52255
52252
  } (interopRequireWildcard));
52256
52253