sceyt-chat-react-uikit 1.5.1 → 1.5.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.
package/index.js CHANGED
@@ -1455,6 +1455,25 @@ var queryDirection = {
1455
1455
  NEAR: 'near'
1456
1456
  };
1457
1457
 
1458
+ // A type of promise-like that resolves synchronously and supports only one observer
1459
+
1460
+ const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
1461
+
1462
+ const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
1463
+
1464
+ // Asynchronously call a function and send errors to recovery continuation
1465
+ function _catch(body, recover) {
1466
+ try {
1467
+ var result = body();
1468
+ } catch(e) {
1469
+ return recover(e);
1470
+ }
1471
+ if (result && result.then) {
1472
+ return result.then(void 0, recover);
1473
+ }
1474
+ return result;
1475
+ }
1476
+
1458
1477
  var _path;
1459
1478
 
1460
1479
  function _extends$1() {
@@ -7300,7 +7319,7 @@ var colors = {
7300
7319
  gray7: '#898B99',
7301
7320
  gray8: '#3A3C3E',
7302
7321
  gray9: '#757D8B',
7303
- gray10: '#F3F5F7',
7322
+ gray10: '#707388',
7304
7323
  gray11: '#F1F2F6',
7305
7324
  pink1: '#ff3e74',
7306
7325
  purple1: '#9f35e7',
@@ -7448,36 +7467,52 @@ var bytesToSize = function bytesToSize(bytes, decimals) {
7448
7467
  var systemMessageUserName = function systemMessageUserName(contact, userId) {
7449
7468
  return contact ? contact.firstName ? contact.firstName.split(' ')[0] : contact.id : userId || 'Deleted user';
7450
7469
  };
7451
- var downloadFile = function downloadFile(attachment) {
7470
+ var downloadFile = function downloadFile(attachment, done) {
7452
7471
  try {
7453
- var customDownloader = getCustomDownloader();
7454
- var response;
7472
+ return Promise.resolve(_catch(function () {
7473
+ var customDownloader = getCustomDownloader();
7474
+ var response;
7455
7475
 
7456
- var _temp2 = function () {
7457
- if (customDownloader) {
7458
- customDownloader(attachment.url).then(function (url) {
7459
- try {
7460
- return Promise.resolve(fetch(url)).then(function (_fetch2) {
7461
- response = _fetch2;
7462
- return Promise.resolve(response.blob()).then(function (data) {
7463
- FileSaver.saveAs(data, attachment.name);
7476
+ var _temp = function () {
7477
+ if (customDownloader) {
7478
+ customDownloader(attachment.url).then(function (url) {
7479
+ try {
7480
+ return Promise.resolve(fetch(url)).then(function (_fetch2) {
7481
+ response = _fetch2;
7482
+ return Promise.resolve(response.blob()).then(function (data) {
7483
+ if (done) {
7484
+ done(attachment.id || '');
7485
+ }
7486
+
7487
+ FileSaver.saveAs(data, attachment.name);
7488
+ });
7464
7489
  });
7490
+ } catch (e) {
7491
+ return Promise.reject(e);
7492
+ }
7493
+ });
7494
+ } else {
7495
+ return Promise.resolve(fetch(attachment.url)).then(function (_fetch) {
7496
+ response = _fetch;
7497
+ return Promise.resolve(response.blob()).then(function (data) {
7498
+ if (done) {
7499
+ done(attachment.id || '');
7500
+ }
7501
+
7502
+ FileSaver.saveAs(data, attachment.name);
7465
7503
  });
7466
- } catch (e) {
7467
- return Promise.reject(e);
7468
- }
7469
- });
7470
- } else {
7471
- return Promise.resolve(fetch(attachment.url)).then(function (_fetch) {
7472
- response = _fetch;
7473
- return Promise.resolve(response.blob()).then(function (data) {
7474
- FileSaver.saveAs(data, attachment.name);
7475
7504
  });
7476
- });
7477
- }
7478
- }();
7505
+ }
7506
+ }();
7507
+
7508
+ if (_temp && _temp.then) return _temp.then(function () {});
7509
+ }, function (e) {
7510
+ console.log('error on download... ', e);
7479
7511
 
7480
- return Promise.resolve(_temp2 && _temp2.then ? _temp2.then(function () {}) : void 0);
7512
+ if (done) {
7513
+ done(attachment.id || '', true);
7514
+ }
7515
+ }));
7481
7516
  } catch (e) {
7482
7517
  return Promise.reject(e);
7483
7518
  }
@@ -9529,10 +9564,12 @@ var Button = styled__default.button(_templateObject16 || (_templateObject16 = _t
9529
9564
  }, function (props) {
9530
9565
  return props.disabled ? 0.5 : 0.8;
9531
9566
  });
9532
- var PopupName = styled__default.h3(_templateObject17 || (_templateObject17 = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 23px;\n color: ", ";\n margin: 0;\n margin-top: ", ";\n margin-bottom: ", ";\n word-break: break-word;\n\n ", "\n"])), colors.gray6, function (props) {
9567
+ var PopupName = styled__default.h3(_templateObject17 || (_templateObject17 = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 20px;\n line-height: 23px;\n color: ", ";\n margin: 0;\n margin-top: ", ";\n margin-bottom: ", ";\n padding: ", ";\n word-break: break-word;\n\n ", "\n"])), colors.gray6, function (props) {
9533
9568
  return props.marginTop;
9534
9569
  }, function (props) {
9535
9570
  return props.marginBottom;
9571
+ }, function (props) {
9572
+ return props.padding;
9536
9573
  }, function (props) {
9537
9574
  if (props.isDelete) {
9538
9575
  return "\n max-width: calc(100% - 20px);\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n ";
@@ -9571,10 +9608,10 @@ var Popup = styled__default.div(_templateObject20 || (_templateObject20 = _tagge
9571
9608
  }, function (props) {
9572
9609
  return props.isLoading && "\n user-select: none;\n\n & > * {\n pointer-events: none;\n user-select: none;\n }\n\n " + ButtonBlock + " {\n a, button {\n pointer-events: none;\n user-select: none;\n opacity: 0.7;\n }\n }\n ";
9573
9610
  });
9574
- var PopupBody = styled__default.div(_templateObject21 || (_templateObject21 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n margin-bottom: 8px;\n\n height: ", ";\n"])), function (props) {
9575
- return props.padding + "px";
9611
+ var PopupBody = styled__default.div(_templateObject21 || (_templateObject21 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n margin-bottom: 8px;\n height: ", ";\n"])), function (props) {
9612
+ return (props.paddingV || 0) + " " + (props.paddingH || 0);
9576
9613
  }, function (props) {
9577
- return props.withFooter ? "calc(100% - (54px + " + props.padding + "px))" : 'calc(100% - 54px)';
9614
+ return props.withFooter ? "calc(100% - (54px + " + props.paddingV + "))" : 'calc(100% - 54px)';
9578
9615
  });
9579
9616
  var PopupDescription = styled__default.span(_templateObject22 || (_templateObject22 = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 15px;\n line-height: 22px;\n color: ", ";\n cursor: default;\n white-space: pre-line;\n margin-top: ", ";\n margin-bottom: ", ";\n word-break: break-word;\n\n .highlight {\n text-decoration: underline;\n font-weight: 500;\n color: ", ";\n }\n"])), colors.gray8, function (props) {
9580
9617
  return props.marginTop || '10px';
@@ -9590,7 +9627,7 @@ var SectionHeader = styled__default.h4(_templateObject25 || (_templateObject25 =
9590
9627
  }, function (props) {
9591
9628
  return props.margin || 0;
9592
9629
  });
9593
- var ItemNote = styled__default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteralLoose(["\n display: none;\n position: absolute;\n z-index: 301;\n padding: 10px 12px;\n background-color: ", ";\n border-radius: 4px;\n font-size: 0.75rem;\n white-space: nowrap;\n font-weight: 600;\n color: white;\n pointer-events: none;\n user-select: none;\n\n &::before {\n content: '';\n position: absolute;\n z-index: -1;\n background-color: ", ";\n border-radius: 1px;\n width: 14px;\n height: 14px;\n\n ", " ", "\n }\n\n ", " ", " ", " ", "\n"])), colors.blue6, colors.blue6, function (props) {
9630
+ var ItemNote = styled__default.div(_templateObject26 || (_templateObject26 = _taggedTemplateLiteralLoose(["\n display: none;\n position: absolute;\n z-index: 301;\n padding: 10px 12px;\n background-color: ", ";\n border-radius: 12px;\n font-size: 0.75rem;\n white-space: nowrap;\n font-weight: 600;\n color: white;\n pointer-events: none;\n user-select: none;\n\n &::before {\n content: '';\n position: absolute;\n z-index: -1;\n background-color: ", ";\n border-radius: 3px;\n width: 14px;\n height: 14px;\n\n ", " ", "\n }\n\n ", " ", " ", " ", "\n"])), colors.textColor1, colors.textColor1, function (props) {
9594
9631
  return props.direction === 'right' && "\n left: -5px;\n top: 50%;\n transform: translateY(-50%) rotate(45deg);\n ";
9595
9632
  }, function (props) {
9596
9633
  return props.direction === 'top' && "\n bottom: -5px;\n left: 50%;\n transform: translateX(-50%) rotate(45deg);\n ";
@@ -9642,22 +9679,26 @@ var ReplyMessageText = styled__default.span(_templateObject34 || (_templateObjec
9642
9679
  return props.lineHeight || '20px';
9643
9680
  }, colors.gray6);
9644
9681
  var CloseIcon = styled__default(SvgClose)(_templateObject35 || (_templateObject35 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 13px;\n right: 13px;\n cursor: pointer;\n padding: 15px;\n"])));
9645
- var ClearTypedText = styled__default(CloseIcon)(_templateObject36 || (_templateObject36 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 22px;\n cursor: pointer;\n padding: 4px;\n"])));
9682
+ var ClearTypedText = styled__default(CloseIcon)(_templateObject36 || (_templateObject36 = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 8px;\n right: 10px;\n cursor: pointer;\n padding: 4px;\n"])));
9646
9683
  var StyledSearchSvg = styled__default(SvgSearch)(_templateObject37 || (_templateObject37 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n position: absolute;\n top: 12px;\n left: ", ";\n"])), function (props) {
9647
9684
  return props.left || '14px';
9648
9685
  });
9649
- var SubTitle = styled__default.span(_templateObject38 || (_templateObject38 = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n line-height: 16px;\n letter-spacing: -0.078px;\n color: ", ";\n"])), function (props) {
9686
+ var SubTitle = styled__default.span(_templateObject38 || (_templateObject38 = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n line-height: 16px;\n letter-spacing: -0.078px;\n color: ", ";\n margin: ", ";\n"])), function (props) {
9650
9687
  return props.color || colors.gray9;
9688
+ }, function (props) {
9689
+ return props.margin;
9651
9690
  });
9652
9691
  var AttachmentIconCont = styled__default.span(_templateObject39 || (_templateObject39 = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n"])));
9653
- var UploadingIcon = styled__default.span(_templateObject40 || (_templateObject40 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n border: ", " solid rgba(255, 255, 255, 0.8);\n border-top: ", " solid rgba(0, 0, 0, 0);\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n animation: preloader 1.5s linear infinite;\n\n @keyframes preloader {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])), function (props) {
9654
- return props.fileAttachment ? '2px' : '3px';
9692
+ var UploadingIcon = styled__default.span(_templateObject40 || (_templateObject40 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n border-style: solid;\n border-color: ", ";\n border-width: ", ";\n border-top-width: ", ";\n border-top-color: rgba(0, 0, 0, 0);\n border-radius: 50%;\n width: ", ";\n height: ", ";\n\n animation: preloader 1.5s linear infinite;\n\n @keyframes preloader {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n"])), function (props) {
9693
+ return props.color || 'rgba(255, 255, 255, 0.8)';
9655
9694
  }, function (props) {
9656
- return props.fileAttachment ? '2px' : '3px';
9695
+ return props.borderWidth || (props.fileAttachment ? '2px' : '3px');
9657
9696
  }, function (props) {
9658
- return props.fileAttachment ? '26px' : props.isRepliedMessage ? '28px' : '40px';
9697
+ return props.borderWidth || (props.fileAttachment ? '2px' : '3px');
9659
9698
  }, function (props) {
9660
- return props.fileAttachment ? '26px' : props.isRepliedMessage ? '28px' : '40px';
9699
+ return props.width || (props.fileAttachment ? '26px' : props.isRepliedMessage ? '28px' : '40px');
9700
+ }, function (props) {
9701
+ return props.height || (props.fileAttachment ? '26px' : props.isRepliedMessage ? '28px' : '40px');
9661
9702
  });
9662
9703
  var TextInOneLine = styled__default.span(_templateObject41 || (_templateObject41 = _taggedTemplateLiteralLoose(["\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n"])));
9663
9704
  var UploadPercent = styled__default.span(_templateObject42 || (_templateObject42 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n color: #fff;\n width: ", ";\n height: ", ";\n background-color: rgba(0,0,0,0.4);\n border-radius: ", ";\n}\n ", "\n"])), function (props) {
@@ -9780,7 +9821,6 @@ var makeUsername = function makeUsername(contact, user, fromContact) {
9780
9821
  var _contact$lastName;
9781
9822
 
9782
9823
  if (hideUserPresence && user && user.id && hideUserPresence(user)) {
9783
- console.log('user. .. . . ', user);
9784
9824
  return user.id.charAt(0).toUpperCase() + user.id.slice(1);
9785
9825
  }
9786
9826
 
@@ -11846,7 +11886,7 @@ function watchForEvents() {
11846
11886
 
11847
11887
  _context3.next = 270;
11848
11888
  return effects.put(updateChannelDataAC(_channel13.id, {
11849
- lastMessage: {},
11889
+ lastMessage: null,
11850
11890
  unreadMessageCount: 0
11851
11891
  }));
11852
11892
 
@@ -12151,7 +12191,7 @@ function getChannels(action) {
12151
12191
  groupChannelQueryBuilder = new SceytChatClient.ChannelListQueryBuilder();
12152
12192
  groupChannelQueryBuilder.subjectContains(searchBy);
12153
12193
  groupChannelQueryBuilder.sortByLastMessage();
12154
- groupChannelQueryBuilder.limit(20);
12194
+ groupChannelQueryBuilder.limit(30);
12155
12195
  _context2.next = 25;
12156
12196
  return effects.call(groupChannelQueryBuilder.build);
12157
12197
 
@@ -13146,7 +13186,7 @@ function blockChannel(action) {
13146
13186
  }
13147
13187
 
13148
13188
  function updateChannel(action) {
13149
- var payload, channelId, config, SceytChatClient, channel, paramsToUpdate, fileToUpload, _yield$call7, subject, avatarUrl, label, metadata;
13189
+ var payload, channelId, config, SceytChatClient, channel, paramsToUpdate, fileToUpload, _yield$call7, subject, avatarUrl, metadata;
13150
13190
 
13151
13191
  return _regeneratorRuntime().wrap(function updateChannel$(_context17) {
13152
13192
  while (1) {
@@ -13164,7 +13204,6 @@ function updateChannel(action) {
13164
13204
  paramsToUpdate = {
13165
13205
  uri: channel.uri,
13166
13206
  subject: channel.subject,
13167
- label: channel.label,
13168
13207
  metadata: channel.metadata,
13169
13208
  avatarUrl: channel.avatarUrl
13170
13209
  };
@@ -13206,31 +13245,29 @@ function updateChannel(action) {
13206
13245
  _yield$call7 = _context17.sent;
13207
13246
  subject = _yield$call7.subject;
13208
13247
  avatarUrl = _yield$call7.avatarUrl;
13209
- label = _yield$call7.label;
13210
13248
  metadata = _yield$call7.metadata;
13211
- _context17.next = 25;
13249
+ _context17.next = 24;
13212
13250
  return effects.put(updateChannelDataAC(channelId, {
13213
13251
  subject: subject,
13214
13252
  avatarUrl: avatarUrl,
13215
- label: label,
13216
13253
  metadata: metadata
13217
13254
  }));
13218
13255
 
13219
- case 25:
13220
- _context17.next = 30;
13256
+ case 24:
13257
+ _context17.next = 29;
13221
13258
  break;
13222
13259
 
13223
- case 27:
13224
- _context17.prev = 27;
13260
+ case 26:
13261
+ _context17.prev = 26;
13225
13262
  _context17.t0 = _context17["catch"](0);
13226
13263
  console.log('ERROR in update channel', _context17.t0.message);
13227
13264
 
13228
- case 30:
13265
+ case 29:
13229
13266
  case "end":
13230
13267
  return _context17.stop();
13231
13268
  }
13232
13269
  }
13233
- }, _marked17, null, [[0, 27]]);
13270
+ }, _marked17, null, [[0, 26]]);
13234
13271
  }
13235
13272
 
13236
13273
  function checkUsersStatus(action) {
@@ -13379,7 +13416,7 @@ function clearHistory(action) {
13379
13416
 
13380
13417
  _context20.next = 18;
13381
13418
  return effects.put(updateChannelDataAC(channel.id, {
13382
- lastMessage: {},
13419
+ lastMessage: null,
13383
13420
  unreadMessageCount: 0
13384
13421
  }));
13385
13422
 
@@ -17662,7 +17699,7 @@ var Channel = function Channel(_ref) {
17662
17699
  return mem === user.id ? ' You' : " " + systemMessageUserName(contactsMap[mem], mem);
17663
17700
  })) + " " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.length > 5 ? "and " + (lastMessageMetas.m.length - 5) + " more" : '') : lastMessage.body === 'RM' ? " removed " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.slice(0, 5).map(function (mem) {
17664
17701
  return mem === user.id ? ' You' : " " + systemMessageUserName(contactsMap[mem], mem);
17665
- })) + " " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.length > 5 ? "and " + (lastMessageMetas.m.length - 5) + " more" : '') : lastMessage.body === 'LG' ? 'Left this group' : '') : React__default.createElement(React__default.Fragment, null, channel.lastReactedMessage && React__default.createElement(React__default.Fragment, null, "Reacted", React__default.createElement(ReactionItem, null, channel.newReactions && channel.newReactions[0].key), "to", ' "'), !!(lastMessage.attachments && lastMessage.attachments.length) && (lastMessage.attachments[0].type === attachmentTypes.image ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgPicture, null), lastMessage.body ? '' : 'Photo') : lastMessage.attachments[0].type === attachmentTypes.video ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgVideoCall, null), lastMessage.body ? '' : 'Video') : lastMessage.attachments[0].type === attachmentTypes.file ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgChoseFile, null), lastMessage.body ? '' : 'File') : lastMessage.attachments[0].type === attachmentTypes.voice ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgVoiceIcon, null), lastMessage.body ? '' : 'Voice') : null), !!(lastMessage && lastMessage.id) && MessageTextFormat({
17702
+ })) + " " + (lastMessageMetas && lastMessageMetas.m && lastMessageMetas.m.length > 5 ? "and " + (lastMessageMetas.m.length - 5) + " more" : '') : lastMessage.body === 'LG' ? 'Left this group' : '') : React__default.createElement(React__default.Fragment, null, channel.lastReactedMessage && React__default.createElement(React__default.Fragment, null, "Reacted", React__default.createElement(ReactionItem, null, channel.newReactions && channel.newReactions[0] && channel.newReactions[0].key), "to", ' "'), !!(lastMessage.attachments && lastMessage.attachments.length) && (lastMessage.attachments[0].type === attachmentTypes.image ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgPicture, null), lastMessage.body ? '' : 'Photo') : lastMessage.attachments[0].type === attachmentTypes.video ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgVideoCall, null), lastMessage.body ? '' : 'Video') : lastMessage.attachments[0].type === attachmentTypes.file ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgChoseFile, null), lastMessage.body ? '' : 'File') : lastMessage.attachments[0].type === attachmentTypes.voice ? React__default.createElement(React__default.Fragment, null, React__default.createElement(SvgVoiceIcon, null), lastMessage.body ? '' : 'Voice') : null), !!(lastMessage && lastMessage.id) && MessageTextFormat({
17666
17703
  text: lastMessage.body,
17667
17704
  message: lastMessage,
17668
17705
  contactsMap: contactsMap,
@@ -17741,7 +17778,7 @@ var UnreadCount = styled__default.span(_templateObject17$1 || (_templateObject17
17741
17778
  });
17742
17779
 
17743
17780
  var _templateObject$5, _templateObject2$5;
17744
- var SearchInputContainer = styled__default.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n box-sizing: border-box;\n padding: ", ";\n margin-bottom: ", ";\n"])), function (props) {
17781
+ var SearchInputContainer = styled__default.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteralLoose(["\n position: relative;\n box-sizing: border-box;\n margin: ", ";\n margin-bottom: ", ";\n"])), function (props) {
17745
17782
  return !props.inline && '0 12px';
17746
17783
  }, function (props) {
17747
17784
  return !props.inline && '16px';
@@ -17758,9 +17795,7 @@ var ChannelSearch = function ChannelSearch(_ref) {
17758
17795
  borderRadius = _ref.borderRadius;
17759
17796
  return React__default.createElement(SearchInputContainer, {
17760
17797
  inline: inline
17761
- }, React__default.createElement(StyledSearchSvg, {
17762
- left: !inline ? '26px' : ''
17763
- }), React__default.createElement(SearchInput, {
17798
+ }, React__default.createElement(StyledSearchSvg, null), React__default.createElement(SearchInput, {
17764
17799
  borderRadius: borderRadius,
17765
17800
  type: 'text',
17766
17801
  onChange: handleSearchValueChange,
@@ -18391,6 +18426,7 @@ var UsersPopup = function UsersPopup(_ref) {
18391
18426
  }));
18392
18427
  }
18393
18428
  }, []);
18429
+ console.log('actionType. . . .', actionType);
18394
18430
  return React__default.createElement(PopupContainer, null, React__default.createElement(Popup, {
18395
18431
  maxHeight: popupHeight || '721px',
18396
18432
  width: popupWidth || '433px',
@@ -18399,11 +18435,14 @@ var UsersPopup = function UsersPopup(_ref) {
18399
18435
  padding: '0',
18400
18436
  display: 'flex'
18401
18437
  }, React__default.createElement(PopupBody, {
18402
- padding: 24,
18438
+ paddingH: '12px',
18439
+ paddingV: '24px',
18403
18440
  withFooter: actionType !== 'createChat'
18404
18441
  }, React__default.createElement(CloseIcon, {
18405
18442
  onClick: handleClosePopup
18406
- }), React__default.createElement(PopupName, null, actionType === 'createChat' ? 'Creat a new chat' : (channel === null || channel === void 0 ? void 0 : channel.type) === CHANNEL_TYPE.BROADCAST ? 'Add subscribers' : 'Add members'), React__default.createElement(SearchUserCont, {
18443
+ }), React__default.createElement(PopupName, {
18444
+ padding: '0 12px'
18445
+ }, actionType === 'createChat' ? 'Creat a new chat' : (channel === null || channel === void 0 ? void 0 : channel.type) === CHANNEL_TYPE.BROADCAST ? 'Add subscribers' : 'Add members'), React__default.createElement(SearchUserCont, {
18407
18446
  className: 'p-relative'
18408
18447
  }, React__default.createElement(StyledSearchSvg, null), React__default.createElement(SearchUsersInput, {
18409
18448
  height: '40px',
@@ -18497,16 +18536,16 @@ var List = styled__default.div(_templateObject$8 || (_templateObject$8 = _tagged
18497
18536
  var MembersContainer = styled__default(List)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n //margin-top: 24px;\n position: relative;\n max-height: ", ";\n overflow-y: auto;\n\n width: calc(100% + 16px);\n padding-right: 16px;\n"])), function (props) {
18498
18537
  return "calc(100% - (" + ((props.isAdd ? 75 : 70) + props.selectedMembersHeight) + "px))";
18499
18538
  });
18500
- var SearchUserCont = styled__default.div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n margin-top: 24px;\n\n ", " {\n top: 10px;\n right: 11px;\n }\n"])), ClearTypedText);
18539
+ var SearchUserCont = styled__default.div(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteralLoose(["\n position: relative;\n margin: 24px 12px 0;\n\n ", " {\n top: 10px;\n right: 11px;\n }\n"])), ClearTypedText);
18501
18540
  var SearchUsersInput = styled__default.input(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteralLoose(["\n height: 40px;\n width: 100%;\n font-size: 14px;\n background: #ffffff;\n border: 1px solid rgb(225, 226, 229);\n box-sizing: border-box;\n border-radius: 8px;\n padding-left: 36px;\n\n &::placeholder {\n color: ", ";\n font-size: 14px;\n opacity: 1;\n }\n\n &:focus {\n outline: none;\n }\n"])), colors.gray4);
18502
- var ListRow = styled__default.div(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n min-height: 40px;\n padding: 7px 0;\n cursor: ", ";\n transition: all 0.2s;\n\n &:hover {\n background-color: ", ";\n }\n\n & ", " {\n width: 10px;\n height: 10px;\n }\n"])), function (props) {
18541
+ var ListRow = styled__default.div(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n flex-direction: row;\n align-items: center;\n min-height: 40px;\n padding: 7px 12px;\n cursor: ", ";\n border-radius: 6px;\n transition: all 0.2s;\n\n &:hover {\n background-color: ", ";\n }\n\n & ", " {\n width: 10px;\n height: 10px;\n }\n"])), function (props) {
18503
18542
  return !props.isAdd && 'pointer';
18504
18543
  }, function (props) {
18505
18544
  return !props.isAdd && colors.gray0;
18506
18545
  }, UserStatus);
18507
18546
  var UserNamePresence = styled__default.div(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteralLoose(["\n width: 100%;\n max-width: calc(100% - 70px);\n margin: 0 auto 0 8px;\n line-height: 10px;\n"])));
18508
18547
  var MemberName = styled__default.h4(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-size: 15px;\n font-weight: 500;\n line-height: 16px;\n color: ", ";\n margin: 0;\n max-width: calc(100% - 10px);\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"])), colors.blue6);
18509
- var SelectedMembersContainer = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: flex-start;\n flex-wrap: wrap;\n width: 100%;\n max-height: 85px;\n overflow-x: hidden;\n padding-top: 2px;\n box-sizing: border-box;\n //flex: 0 0 auto;\n"])));
18548
+ var SelectedMembersContainer = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: flex-start;\n flex-wrap: wrap;\n width: 100%;\n max-height: 85px;\n overflow-x: hidden;\n padding: 2px 12px 0;\n box-sizing: border-box;\n //flex: 0 0 auto;\n"])));
18510
18549
  var SelectedMemberBuble = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n background: ", ";\n border-radius: 16px;\n align-items: center;\n padding: 4px 10px 4px 0;\n height: 28px;\n margin: 8px 8px 0 0;\n box-sizing: border-box;\n"])), colors.gray5);
18511
18550
  var SelectedMemberName = styled__default.span(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n line-height: 16px;\n margin-left: 8px;\n color: ", ";\n"])), colors.blue6);
18512
18551
  var StyledSubtractSvg = styled__default(SvgCross)(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n margin-left: 4px;\n transform: translate(2px, 0);\n"])));
@@ -18544,25 +18583,6 @@ function SvgCameraIcon(props) {
18544
18583
  })));
18545
18584
  }
18546
18585
 
18547
- // A type of promise-like that resolves synchronously and supports only one observer
18548
-
18549
- const _iteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.iterator || (Symbol.iterator = Symbol("Symbol.iterator"))) : "@@iterator";
18550
-
18551
- const _asyncIteratorSymbol = /*#__PURE__*/ typeof Symbol !== "undefined" ? (Symbol.asyncIterator || (Symbol.asyncIterator = Symbol("Symbol.asyncIterator"))) : "@@asyncIterator";
18552
-
18553
- // Asynchronously call a function and send errors to recovery continuation
18554
- function _catch(body, recover) {
18555
- try {
18556
- var result = body();
18557
- } catch(e) {
18558
- return recover(e);
18559
- }
18560
- if (result && result.then) {
18561
- return result.then(void 0, recover);
18562
- }
18563
- return result;
18564
- }
18565
-
18566
18586
  var getCroppedImg = function getCroppedImg(imageSrc, pixelCrop, rotation, fileName) {
18567
18587
  try {
18568
18588
  if (rotation === void 0) {
@@ -18673,7 +18693,8 @@ var ImageCrop = function ImageCrop(_ref) {
18673
18693
  maxWidth: '600px',
18674
18694
  padding: '0'
18675
18695
  }, React__default.createElement(PopupBody, {
18676
- padding: 24
18696
+ paddingH: '24px',
18697
+ paddingV: '24px'
18677
18698
  }, React__default.createElement(CloseIcon, {
18678
18699
  onClick: handleClosePopup
18679
18700
  }), React__default.createElement(Row, {
@@ -18919,7 +18940,8 @@ function CreateChannel(_ref) {
18919
18940
  maxWidth: '520px',
18920
18941
  padding: '0'
18921
18942
  }, React__default.createElement(PopupBody, {
18922
- padding: 24
18943
+ paddingH: '24px',
18944
+ paddingV: '24px'
18923
18945
  }, React__default.createElement(CloseIcon, {
18924
18946
  onClick: toggleCreateGroupChannelPopup
18925
18947
  }), React__default.createElement(PopupName, {
@@ -19440,7 +19462,6 @@ var ChannelList = function ChannelList(_ref) {
19440
19462
 
19441
19463
  var connectionStatus = reactRedux.useSelector(connectionStatusSelector);
19442
19464
  var channels = reactRedux.useSelector(channelsSelector, reactRedux.shallowEqual) || [];
19443
- console.log('channels. .. ', channels);
19444
19465
  var contactsMap = reactRedux.useSelector(contactsMapSelector);
19445
19466
  var addedChannel = reactRedux.useSelector(addedChannelSelector);
19446
19467
  var addedToChannel = reactRedux.useSelector(addedToChannelSelector);
@@ -19861,7 +19882,7 @@ function Chat$1(_ref) {
19861
19882
  }, children);
19862
19883
  }
19863
19884
  var Container$7 = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteralLoose(["\n position: relative;\n width: 100%;\n max-width: ", ";\n display: flex;\n flex-direction: column;\n"])), function (props) {
19864
- return props.widthOffset || props.channelDetailsIsOpen ? "calc(100% - " + (props.widthOffset + (props.channelDetailsIsOpen ? 400 : 0)) + "px)" : '';
19885
+ return props.widthOffset || props.channelDetailsIsOpen ? "calc(100% - " + (props.widthOffset + (props.channelDetailsIsOpen ? 402 : 0)) + "px)" : '';
19865
19886
  });
19866
19887
 
19867
19888
  var _path$o;
@@ -20131,18 +20152,15 @@ function _extends$u() {
20131
20152
  return _extends$u.apply(this, arguments);
20132
20153
  }
20133
20154
 
20134
- function SvgTrash(props) {
20155
+ function SvgDeleteIcon(props) {
20135
20156
  return /*#__PURE__*/React.createElement("svg", _extends$u({
20136
- width: 16,
20137
- height: 16,
20157
+ width: 20,
20158
+ height: 20,
20138
20159
  fill: "none",
20139
20160
  xmlns: "http://www.w3.org/2000/svg"
20140
20161
  }, props), _path$r || (_path$r = /*#__PURE__*/React.createElement("path", {
20141
- d: "M1.5 3.89h13M5.111 3.889V2.444A1.444 1.444 0 016.556 1h2.888a1.444 1.444 0 011.445 1.444V3.89m2.167 0V14a1.444 1.444 0 01-1.445 1.444H4.39A1.444 1.444 0 012.944 14V3.889h10.112zM6.556 7.5v4.333M9.444 7.5v4.333",
20142
- stroke: "currentColor",
20143
- strokeWidth: 1.4,
20144
- strokeLinecap: "round",
20145
- strokeLinejoin: "round"
20162
+ d: "M15.714 7.143v7.5a3.214 3.214 0 01-3.214 3.214h-5a3.214 3.214 0 01-3.214-3.214v-7.5h-.507a.922.922 0 01-.922-.922V5.178c0-1.085.88-1.964 1.964-1.964h1.18a2.144 2.144 0 011.856-1.071h4.286c.783 0 1.482.423 1.856 1.071h1.18c1.085 0 1.964.88 1.964 1.964v1.043a.922.922 0 01-.922.922h-.507zM15 5.714h.714v-.536a.536.536 0 00-.535-.535h-1.652a.714.714 0 01-.692-.537.715.715 0 00-.692-.535H7.857a.715.715 0 00-.692.535.714.714 0 01-.691.537H4.82a.536.536 0 00-.535.535v.536H15zM5.714 7.143v7.5c0 .986.8 1.785 1.786 1.785h5c.986 0 1.786-.8 1.786-1.785v-7.5H5.714z",
20163
+ fill: "#FA4C56"
20146
20164
  })));
20147
20165
  }
20148
20166
 
@@ -20198,17 +20216,18 @@ function _extends$w() {
20198
20216
  return _extends$w.apply(this, arguments);
20199
20217
  }
20200
20218
 
20201
- function SvgEditSquare(props) {
20219
+ function SvgEditIcon(props) {
20202
20220
  return /*#__PURE__*/React.createElement("svg", _extends$w({
20203
- width: 15,
20204
- height: 14,
20221
+ width: 20,
20222
+ height: 20,
20223
+ viewBox: "0 0 20.01 20.01",
20205
20224
  fill: "none",
20206
20225
  xmlns: "http://www.w3.org/2000/svg"
20207
20226
  }, props), _path$t || (_path$t = /*#__PURE__*/React.createElement("path", {
20208
20227
  fillRule: "evenodd",
20209
20228
  clipRule: "evenodd",
20210
- d: "M10.78.56a1.91 1.91 0 112.703 2.702L7.539 9.206a.67.67 0 01-.267.164l-1.3.422-.516.168a1.09 1.09 0 01-1.374-1.374l.168-.516.423-1.3a.67.67 0 01.164-.267L10.78.56zM5.51 8.532l.048-.015 1.146-.373 4.257-4.258-.805-.805L5.9 7.339l-.373 1.146-.015.047zm5.536-6.34l.805.805.683-.684a.569.569 0 000-.804.57.57 0 00-.805 0l-.683.683zm-4.03-.418H2.349A2.348 2.348 0 000 4.122v7.53A2.348 2.348 0 002.348 14H9.9a2.348 2.348 0 002.348-2.348V7.004l-1.341 1.342v3.307a1.006 1.006 0 01-1.006 1.006H2.348a1.006 1.006 0 01-1.006-1.006v-7.53a1.006 1.006 0 011.006-1.006h3.327l1.342-1.342z",
20211
- fill: "currentColor"
20229
+ d: "M11.883 6.232l-7.531 7.53a.917.917 0 00-.269.65v1.422c0 .046.038.083.084.083h1.422a.917.917 0 00.648-.268l7.531-7.531-1.885-1.886zm1.06-1.06l1.886 1.885.943-.943a.5.5 0 000-.707l-1.179-1.179a.5.5 0 00-.707 0l-.943.943zm-9.652 7.53l9.534-9.534a2 2 0 012.829 0l1.178 1.178a2 2 0 010 2.829l-9.534 9.534a2.417 2.417 0 01-1.709.708H4.167a1.583 1.583 0 01-1.584-1.583V14.41c0-.64.255-1.256.708-1.709z",
20230
+ fill: "CurrentColor"
20212
20231
  })));
20213
20232
  }
20214
20233
 
@@ -20244,7 +20263,7 @@ function SvgResend(props) {
20244
20263
  })));
20245
20264
  }
20246
20265
 
20247
- var _path$v, _path2$4, _path3$2;
20266
+ var _path$v, _path2$4;
20248
20267
 
20249
20268
  function _extends$y() {
20250
20269
  _extends$y = Object.assign ? Object.assign.bind() : function (target) {
@@ -20263,29 +20282,23 @@ function _extends$y() {
20263
20282
  return _extends$y.apply(this, arguments);
20264
20283
  }
20265
20284
 
20266
- function SvgReact(props) {
20285
+ function SvgEmojiSmileIcon(props) {
20267
20286
  return /*#__PURE__*/React.createElement("svg", _extends$y({
20268
20287
  width: 20,
20269
20288
  height: 20,
20289
+ viewBox: "0 0 20.01 20.01",
20270
20290
  fill: "none",
20271
20291
  xmlns: "http://www.w3.org/2000/svg"
20272
20292
  }, props), _path$v || (_path$v = /*#__PURE__*/React.createElement("path", {
20273
- d: "M15.913 3v4.174M13.826 5.088H18M6.174 11.348s1.043 1.739 2.782 1.739c1.74 0 2.783-1.74 2.783-1.74",
20274
- stroke: "currentColor",
20275
- strokeWidth: 1.3,
20276
- strokeLinecap: "round",
20277
- strokeLinejoin: "round"
20293
+ fillRule: "evenodd",
20294
+ clipRule: "evenodd",
20295
+ d: "M10 3.043a6.957 6.957 0 100 13.914 6.957 6.957 0 000-13.914zM1.667 10a8.333 8.333 0 1116.666 0 8.333 8.333 0 01-16.666 0zm4.97-2.293a1.07 1.07 0 112.14 0 1.07 1.07 0 01-2.14 0zm4.586 0a1.07 1.07 0 112.141 0 1.07 1.07 0 01-2.14 0z",
20296
+ fill: "CurrentColor"
20278
20297
  })), _path2$4 || (_path2$4 = /*#__PURE__*/React.createElement("path", {
20279
- d: "M6.87 7.87h.006M11.043 7.87h.007",
20280
- stroke: "currentColor",
20281
- strokeWidth: 2,
20282
- strokeLinecap: "round",
20283
- strokeLinejoin: "round"
20284
- })), _path3$2 || (_path3$2 = /*#__PURE__*/React.createElement("path", {
20285
- d: "M15.913 9.957a6.957 6.957 0 11-4.708-6.584",
20286
- stroke: "currentColor",
20287
- strokeWidth: 1.3,
20288
- strokeLinecap: "round"
20298
+ fillRule: "evenodd",
20299
+ clipRule: "evenodd",
20300
+ d: "M6.546 11.287a.714.714 0 01.977.26 2.865 2.865 0 004.955 0 .714.714 0 011.235.717 4.293 4.293 0 01-7.426 0 .714.714 0 01.26-.977z",
20301
+ fill: "CurrentColor"
20289
20302
  })));
20290
20303
  }
20291
20304
 
@@ -20310,16 +20323,16 @@ function _extends$z() {
20310
20323
 
20311
20324
  function SvgReplyIcon(props) {
20312
20325
  return /*#__PURE__*/React.createElement("svg", _extends$z({
20313
- width: 24,
20314
- height: 24,
20315
- viewBox: "0 0 24.01 24.01",
20326
+ width: 20,
20327
+ height: 20,
20328
+ viewBox: "0 0 20.01 20.01",
20316
20329
  fill: "none",
20317
20330
  xmlns: "http://www.w3.org/2000/svg"
20318
20331
  }, props), _path$w || (_path$w = /*#__PURE__*/React.createElement("path", {
20319
20332
  fillRule: "evenodd",
20320
20333
  clipRule: "evenodd",
20321
- d: "M19.78 12l-6.958-6.045v2.83c0 .452-.346.87-.847.899-.318.018-1.494.102-2.809.388-1.35.294-2.693.768-3.47 1.479-.94.857-1.459 2.44-1.706 4.128-.095.652-.146 1.29-.17 1.86.133-.152.272-.306.416-.46.753-.806 1.716-1.698 2.688-2.161.917-.437 2.086-.584 3.02-.63a16.68 16.68 0 012.052.027.897.897 0 01.826.896v2.834L19.78 12zm1.658-.68a.9.9 0 010 1.36l-8.726 7.58a.9.9 0 01-1.49-.68v-3.705a14.97 14.97 0 00-1.197.01c-.885.044-1.791.181-2.413.477-.686.327-1.479 1.03-2.206 1.808-.71.76-1.291 1.52-1.557 1.88-.483.655-1.577.39-1.622-.485a22.078 22.078 0 01.18-4.117c.256-1.751.835-3.823 2.21-5.079 1.11-1.014 2.814-1.557 4.21-1.86a21.08 21.08 0 012.395-.37v-3.72a.9.9 0 011.49-.68l8.726 7.582z",
20322
- fill: "currentColor"
20334
+ d: "M6.364 3.637a.75.75 0 010 1.06L4.31 6.75h9.439a4.5 4.5 0 110 9H10a.75.75 0 010-1.5h3.75a3 3 0 100-6H4.31l2.054 2.053a.75.75 0 01-1.061 1.061L1.97 8.031a.75.75 0 010-1.061l3.333-3.333a.75.75 0 011.06 0z",
20335
+ fill: "CurrentColor"
20323
20336
  })));
20324
20337
  }
20325
20338
 
@@ -20342,15 +20355,17 @@ function _extends$A() {
20342
20355
  return _extends$A.apply(this, arguments);
20343
20356
  }
20344
20357
 
20345
- function SvgCopy(props) {
20358
+ function SvgCopyIcon(props) {
20346
20359
  return /*#__PURE__*/React.createElement("svg", _extends$A({
20347
- width: 18,
20348
- height: 18,
20349
- viewBox: "0 0 18.01 18.01",
20360
+ width: 20,
20361
+ height: 20,
20362
+ viewBox: "0 0 20.01 20.01",
20350
20363
  fill: "none",
20351
20364
  xmlns: "http://www.w3.org/2000/svg"
20352
20365
  }, props), _path$x || (_path$x = /*#__PURE__*/React.createElement("path", {
20353
- d: "M3 13.5a1.508 1.508 0 01-1.5-1.508V4.138A2.638 2.638 0 014.138 1.5h7.854c.83 0 1.504.67 1.508 1.5H5.073A2.073 2.073 0 003 5.073V13.5zm3.008-9h8.985c.832 0 1.507.675 1.507 1.508v8.985c0 .832-.675 1.507-1.508 1.507H6.008A1.507 1.507 0 014.5 14.992V6.008c0-.832.675-1.507 1.508-1.507zM6.75 6a.75.75 0 00-.75.75v7.5c0 .414.336.75.75.75h7.5a.75.75 0 00.75-.75v-7.5a.75.75 0 00-.75-.75h-7.5z",
20366
+ fillRule: "evenodd",
20367
+ clipRule: "evenodd",
20368
+ d: "M14.121 3.564c-.497-.041-1.134-.042-2.042-.042H6.401a.72.72 0 010-1.439h5.71c.868 0 1.565 0 2.127.046.578.047 1.079.146 1.54.381a3.919 3.919 0 011.711 1.712c.235.46.334.961.382 1.54.046.562.046 1.258.046 2.127v5.71a.72.72 0 01-1.44 0V7.92c0-.908 0-1.545-.041-2.043-.04-.489-.115-.778-.229-1.002a2.48 2.48 0 00-1.083-1.083c-.224-.114-.514-.19-1.003-.23zM5.334 4.882h6.533c.424 0 .785 0 1.081.024.311.025.614.081.904.229.436.222.79.577 1.013 1.013.147.29.203.592.229.903.024.297.024.657.024 1.081v6.534c0 .424 0 .784-.024 1.08-.026.312-.082.615-.229.904a2.32 2.32 0 01-1.013 1.014c-.29.147-.593.203-.904.228-.296.024-.657.024-1.08.024H5.333c-.424 0-.785 0-1.081-.024-.311-.025-.614-.08-.904-.228a2.32 2.32 0 01-1.013-1.014c-.147-.29-.203-.592-.229-.903-.024-.296-.024-.657-.024-1.081V8.132c0-.424 0-.784.024-1.08.026-.312.082-.615.229-.904a2.319 2.319 0 011.013-1.013c.29-.148.593-.204.904-.229.296-.024.657-.024 1.08-.024zM4.37 6.34c-.222.018-.314.05-.367.076a.88.88 0 00-.384.385c-.027.052-.059.144-.077.367-.019.23-.02.532-.02.991v6.478c0 .46.001.761.02.992.018.222.05.314.077.367a.88.88 0 00.384.384c.053.027.145.058.367.076.23.02.532.02.992.02h6.477c.46 0 .761 0 .992-.02.222-.018.314-.05.367-.076a.88.88 0 00.384-.384c.027-.053.059-.145.077-.367.019-.231.02-.533.02-.992V8.16c0-.46-.001-.76-.02-.991-.018-.223-.05-.315-.077-.367a.88.88 0 00-.384-.385c-.053-.027-.145-.058-.367-.076-.23-.02-.532-.02-.992-.02H5.362c-.46 0-.761 0-.992.02z",
20354
20369
  fill: "CurrentColor"
20355
20370
  })));
20356
20371
  }
@@ -20374,16 +20389,18 @@ function _extends$B() {
20374
20389
  return _extends$B.apply(this, arguments);
20375
20390
  }
20376
20391
 
20377
- function SvgThreadReply(props) {
20392
+ function SvgReplyInThreadIcon(props) {
20378
20393
  return /*#__PURE__*/React.createElement("svg", _extends$B({
20379
20394
  width: 20,
20380
20395
  height: 20,
20381
- fill: "currentColor",
20396
+ viewBox: "0 0 20.01 20.01",
20397
+ fill: "none",
20382
20398
  xmlns: "http://www.w3.org/2000/svg"
20383
20399
  }, props), _path$y || (_path$y = /*#__PURE__*/React.createElement("path", {
20384
20400
  fillRule: "evenodd",
20385
20401
  clipRule: "evenodd",
20386
- d: "M19.072 10.206c.26.255.283.66.068.942l-.06.068-4.901 5a.714.714 0 01-.95.061l-.068-.06-2.955-2.991a.714.714 0 01.95-1.064l.066.06 2.446 2.475 4.394-4.483a.714.714 0 011.01-.008zM6.786 12.144a.714.714 0 010 1.428H3.214a.714.714 0 010-1.428h3.572zm8.571-4.286a.714.714 0 110 1.429H3.214a.714.714 0 110-1.429h12.143zm0-4.286a.714.714 0 110 1.429H3.214a.714.714 0 010-1.429h12.143z"
20402
+ d: "M6.469 1.75h7.062c.674 0 1.225 0 1.672.037.463.037.882.118 1.273.317a3.25 3.25 0 011.42 1.42c.199.391.28.81.317 1.273.037.448.037.998.037 1.672v4.562c0 .674 0 1.224-.037 1.672-.037.463-.118.882-.317 1.273a3.25 3.25 0 01-1.42 1.42c-.391.199-.81.28-1.273.317-.447.037-.998.037-1.671.037h-2.129c-.55 0-.72.004-.878.036a1.752 1.752 0 00-.444.156c-.143.073-.279.177-.708.52l-2.01 1.608a6.553 6.553 0 01-.441.334c-.129.085-.366.229-.67.23-.356 0-.692-.162-.914-.44-.19-.238-.226-.513-.24-.666-.015-.16-.015-.356-.015-.554v-1.229c-.358-.008-.655-.034-.924-.106a3.25 3.25 0 01-2.298-2.298c-.111-.415-.111-.896-.111-1.566V6.469c0-.674 0-1.224.037-1.672.037-.463.118-.882.317-1.272a3.25 3.25 0 011.42-1.42c.391-.2.81-.28 1.273-.318.448-.037.998-.037 1.672-.037zm-1.55 1.532c-.37.03-.57.085-.713.159a1.75 1.75 0 00-.765.765c-.074.144-.13.343-.16.713-.03.38-.03.869-.03 1.581v5.167c0 .823.006 1.087.059 1.286a1.75 1.75 0 001.237 1.237c.199.054.463.06 1.286.06a.75.75 0 01.75.75v1.773l1.853-1.482.053-.042c.355-.285.614-.492.91-.643.26-.133.538-.23.825-.29.324-.066.657-.066 1.112-.066H13.5c.713 0 1.202 0 1.581-.032.37-.03.57-.085.713-.159a1.75 1.75 0 00.765-.764c.074-.145.13-.344.16-.714.03-.38.031-.869.031-1.581V6.5c0-.712 0-1.202-.032-1.58-.03-.371-.085-.57-.159-.714a1.75 1.75 0 00-.765-.765c-.144-.074-.343-.13-.713-.16-.38-.03-.868-.031-1.58-.031h-7c-.713 0-1.203 0-1.582.032zm.164 3.801a.75.75 0 01.75-.75H10a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75zm0 2.917a.75.75 0 01.75-.75H12.5a.75.75 0 010 1.5H5.833a.75.75 0 01-.75-.75z",
20403
+ fill: "CurrentColor"
20387
20404
  })));
20388
20405
  }
20389
20406
 
@@ -20498,7 +20515,7 @@ function MessageActions(_ref) {
20498
20515
  onClick: handleOpenReaction
20499
20516
  }, React__default.createElement(ItemNote, {
20500
20517
  direction: 'top'
20501
- }, reactionIconTooltipText || 'React'), reactionIcon || React__default.createElement(SvgReact, null)), showEditMessage && messageStatus !== MESSAGE_DELIVERY_STATUS.PENDING && (isIncoming ? allowEditDeleteIncomingMessage : true) && editMessagePermitted && (isDirectChannel && directChannelUser ? !isIncoming && directChannelUser.activityState !== 'Deleted' : true) && React__default.createElement(Action, {
20518
+ }, reactionIconTooltipText || 'React'), reactionIcon || React__default.createElement(SvgEmojiSmileIcon, null)), showEditMessage && messageStatus !== MESSAGE_DELIVERY_STATUS.PENDING && (isIncoming ? allowEditDeleteIncomingMessage : true) && editMessagePermitted && (isDirectChannel && directChannelUser ? !isIncoming && directChannelUser.activityState !== 'Deleted' : true) && React__default.createElement(Action, {
20502
20519
  order: editIconOrder || 1,
20503
20520
  iconColor: messageActionIconsColor,
20504
20521
  hoverIconColor: colors.primary,
@@ -20507,7 +20524,7 @@ function MessageActions(_ref) {
20507
20524
  }
20508
20525
  }, React__default.createElement(ItemNote, {
20509
20526
  direction: 'top'
20510
- }, editIconTooltipText || 'Edit Message'), editIcon || React__default.createElement(SvgEditSquare, null)), messageStatus === MESSAGE_DELIVERY_STATUS.PENDING && React__default.createElement(Action, {
20527
+ }, editIconTooltipText || 'Edit Message'), editIcon || React__default.createElement(SvgEditIcon, null)), messageStatus === MESSAGE_DELIVERY_STATUS.PENDING && React__default.createElement(Action, {
20511
20528
  iconColor: messageActionIconsColor,
20512
20529
  hoverIconColor: colors.primary,
20513
20530
  onClick: function onClick() {
@@ -20533,7 +20550,7 @@ function MessageActions(_ref) {
20533
20550
  }
20534
20551
  }, React__default.createElement(ItemNote, {
20535
20552
  direction: 'top'
20536
- }, replyInThreadIconTooltipText || 'Reply in thread'), replyInThreadIcon || React__default.createElement(SvgThreadReply, null))), showCopyMessage && React__default.createElement(Action, {
20553
+ }, replyInThreadIconTooltipText || 'Reply in thread'), replyInThreadIcon || React__default.createElement(SvgReplyInThreadIcon, null))), showCopyMessage && React__default.createElement(Action, {
20537
20554
  order: copyIconOrder || 4,
20538
20555
  iconColor: messageActionIconsColor,
20539
20556
  hoverIconColor: colors.primary,
@@ -20542,7 +20559,7 @@ function MessageActions(_ref) {
20542
20559
  }
20543
20560
  }, React__default.createElement(ItemNote, {
20544
20561
  direction: 'top'
20545
- }, copyIconTooltipText || 'Copy'), copyIcon || React__default.createElement(SvgCopy, null)), showForwardMessage && forwardMessagePermitted && messageStatus !== MESSAGE_DELIVERY_STATUS.PENDING && React__default.createElement(Action, {
20562
+ }, copyIconTooltipText || 'Copy'), copyIcon || React__default.createElement(SvgCopyIcon, null)), showForwardMessage && forwardMessagePermitted && messageStatus !== MESSAGE_DELIVERY_STATUS.PENDING && React__default.createElement(Action, {
20546
20563
  order: forwardIconOrder || 5,
20547
20564
  iconColor: messageActionIconsColor,
20548
20565
  hoverIconColor: colors.primary,
@@ -20560,7 +20577,7 @@ function MessageActions(_ref) {
20560
20577
  }
20561
20578
  }, React__default.createElement(ItemNote, {
20562
20579
  direction: 'top'
20563
- }, deleteIconTooltipText || 'Delete Message'), deleteIcon || React__default.createElement(SvgTrash, null)), showReportMessage && messageStatus !== MESSAGE_DELIVERY_STATUS.PENDING && React__default.createElement(Action, {
20580
+ }, deleteIconTooltipText || 'Delete Message'), deleteIcon || React__default.createElement(SvgDeleteIcon, null)), showReportMessage && messageStatus !== MESSAGE_DELIVERY_STATUS.PENDING && React__default.createElement(Action, {
20564
20581
  order: reportIconOrder || 7,
20565
20582
  iconColor: messageActionIconsColor,
20566
20583
  hoverIconColor: colors.primary,
@@ -20581,16 +20598,16 @@ var MessageActionsWrapper = styled__default.div(_templateObject$i || (_templateO
20581
20598
  }, function (props) {
20582
20599
  return props.rtlDirection ? 'initial' : '';
20583
20600
  });
20584
- var EditMessageContainer = styled__default.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n direction: ", ";\n background-color: #fff;\n border: 1px solid ", ";\n box-sizing: border-box;\n border-radius: 4px;\n box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\n //opacity: 0;\n //visibility: hidden;\n transition: all 0.2s;\n z-index: 100;\n"])), function (props) {
20601
+ var EditMessageContainer = styled__default.div(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n align-items: center;\n direction: ", ";\n background-color: #fff;\n padding: 8px 2px;\n box-sizing: border-box;\n border-radius: 12px;\n box-shadow: 0 0 2px rgba(17, 21, 57, 0.08), 0 0 24px rgba(17, 21, 57, 0.16);\n //opacity: 0;\n //visibility: hidden;\n transition: all 0.2s;\n z-index: 100;\n"])), function (props) {
20585
20602
  return props.rtlDirection && 'initial';
20586
- }, colors.gray1);
20587
- var Action = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n padding: 9px;\n cursor: pointer;\n color: ", ";\n transition: all 0.2s;\n order: ", ";\n\n &:hover {\n color: ", ";\n\n ", " {\n display: block;\n }\n }\n"])), function (props) {
20603
+ });
20604
+ var Action = styled__default.div(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n padding: 4px;\n margin: 0 6px;\n cursor: pointer;\n color: ", ";\n transition: all 0.2s;\n order: ", ";\n color: ", ";\n border-radius: 50%;\n\n &:hover {\n color: ", ";\n background-color: ", ";\n\n ", " {\n display: block;\n }\n }\n"])), function (props) {
20588
20605
  return props.iconColor || colors.gray6;
20589
20606
  }, function (props) {
20590
20607
  return props.order || 1;
20591
- }, function (props) {
20608
+ }, colors.gray10, function (props) {
20592
20609
  return props.hoverIconColor || colors.primary;
20593
- }, ItemNote);
20610
+ }, colors.gray11, ItemNote);
20594
20611
 
20595
20612
  var _path$z;
20596
20613
 
@@ -20624,7 +20641,7 @@ function SvgCancel(props) {
20624
20641
  })));
20625
20642
  }
20626
20643
 
20627
- var _path$A, _path2$5, _path3$3;
20644
+ var _path$A, _path2$5, _path3$2;
20628
20645
 
20629
20646
  function _extends$D() {
20630
20647
  _extends$D = Object.assign ? Object.assign.bind() : function (target) {
@@ -20661,7 +20678,7 @@ function SvgFileIcon(props) {
20661
20678
  strokeWidth: 1.4,
20662
20679
  strokeLinecap: "round",
20663
20680
  strokeLinejoin: "round"
20664
- })), _path3$3 || (_path3$3 = /*#__PURE__*/React.createElement("path", {
20681
+ })), _path3$2 || (_path3$2 = /*#__PURE__*/React.createElement("path", {
20665
20682
  d: "M12 19h12M12 23h8",
20666
20683
  stroke: "#2F81FF",
20667
20684
  strokeWidth: 1.4,
@@ -21498,17 +21515,21 @@ var Attachment = function Attachment(_ref) {
21498
21515
  var connectionStatus = reactRedux.useSelector(connectionStatusSelector);
21499
21516
  var imageContRef = React.useRef(null);
21500
21517
 
21501
- var _useState = React.useState(''),
21502
- attachmentUrl = _useState[0],
21503
- setAttachmentUrl = _useState[1];
21518
+ var _useState = React.useState(false),
21519
+ downloadingFile = _useState[0],
21520
+ setDownloadingFile = _useState[1];
21504
21521
 
21505
- var _useState2 = React.useState(true),
21506
- isCached = _useState2[0],
21507
- setIsCached = _useState2[1];
21522
+ var _useState2 = React.useState(''),
21523
+ attachmentUrl = _useState2[0],
21524
+ setAttachmentUrl = _useState2[1];
21508
21525
 
21509
- var _useState3 = React.useState(false),
21510
- downloadIsCancelled = _useState3[0],
21511
- setDownloadIsCancelled = _useState3[1];
21526
+ var _useState3 = React.useState(true),
21527
+ isCached = _useState3[0],
21528
+ setIsCached = _useState3[1];
21529
+
21530
+ var _useState4 = React.useState(false),
21531
+ downloadIsCancelled = _useState4[0],
21532
+ setDownloadIsCancelled = _useState4[1];
21512
21533
 
21513
21534
  var fileNameRef = React.useRef(null);
21514
21535
  var customDownloader = getCustomDownloader();
@@ -21567,6 +21588,17 @@ var Attachment = function Attachment(_ref) {
21567
21588
  }
21568
21589
  };
21569
21590
 
21591
+ var handleCompleteDownload = function handleCompleteDownload(attachmentId) {
21592
+ if (attachmentId === attachment.id) {
21593
+ setDownloadingFile(false);
21594
+ }
21595
+ };
21596
+
21597
+ var handleDownloadFile = function handleDownloadFile(attachment) {
21598
+ setDownloadingFile(true);
21599
+ downloadFile(attachment, handleCompleteDownload);
21600
+ };
21601
+
21570
21602
  React.useEffect(function () {
21571
21603
  if (downloadIsCancelled) {
21572
21604
  setAttachmentUrl('');
@@ -21746,7 +21778,7 @@ var Attachment = function Attachment(_ref) {
21746
21778
  }, selectedFileAttachmentsIcon || React__default.createElement(SvgFileIcon, null)), !isRepliedMessage && !isPrevious && React__default.createElement(DownloadFile$1, {
21747
21779
  backgroundColor: colors.primary,
21748
21780
  onClick: function onClick() {
21749
- return downloadFile(attachment);
21781
+ return handleDownloadFile(attachment);
21750
21782
  },
21751
21783
  onMouseEnter: function onMouseEnter() {
21752
21784
  return handleMouseEvent(true);
@@ -21754,7 +21786,9 @@ var Attachment = function Attachment(_ref) {
21754
21786
  onMouseLeave: function onMouseLeave() {
21755
21787
  return handleMouseEvent(false);
21756
21788
  }
21757
- }, React__default.createElement(SvgDownload, null)), !isPrevious && attachmentCompilationState[attachment.attachmentId] && (attachmentCompilationState[attachment.attachmentId] === UPLOAD_STATE.UPLOADING || attachmentCompilationState[attachment.attachmentId] === UPLOAD_STATE.PAUSED) ? React__default.createElement(UploadProgress, {
21789
+ }, downloadingFile ? React__default.createElement(UploadingIcon, {
21790
+ fileAttachment: true
21791
+ }) : React__default.createElement(SvgDownload, null)), !isPrevious && attachmentCompilationState[attachment.attachmentId] && (attachmentCompilationState[attachment.attachmentId] === UPLOAD_STATE.UPLOADING || attachmentCompilationState[attachment.attachmentId] === UPLOAD_STATE.PAUSED) ? React__default.createElement(UploadProgress, {
21758
21792
  fileAttachment: true,
21759
21793
  onClick: handlePauseResumeUpload
21760
21794
  }, React__default.createElement(UploadPercent, {
@@ -21936,7 +21970,8 @@ function ConfirmPopup(_ref) {
21936
21970
  isLoading: loading,
21937
21971
  padding: '0'
21938
21972
  }, React__default.createElement(PopupBody, {
21939
- padding: 24
21973
+ paddingH: '24px',
21974
+ paddingV: '24px'
21940
21975
  }, React__default.createElement(CloseIcon, {
21941
21976
  onClick: function onClick() {
21942
21977
  return togglePopup();
@@ -22129,7 +22164,8 @@ function ForwardMessagePopup(_ref) {
22129
22164
  isLoading: loading,
22130
22165
  padding: '0'
22131
22166
  }, React__default.createElement(PopupBody, {
22132
- padding: 24,
22167
+ paddingH: '24px',
22168
+ paddingV: '24px',
22133
22169
  withFooter: true
22134
22170
  }, React__default.createElement(CloseIcon, {
22135
22171
  onClick: function onClick() {
@@ -22228,6 +22264,8 @@ function ReactionsPopup(_ref) {
22228
22264
  handleAddDeleteEmoji = _ref.handleAddDeleteEmoji,
22229
22265
  bottomPosition = _ref.bottomPosition,
22230
22266
  reactionScores = _ref.reactionScores,
22267
+ reactionsDetailsPopupBorderRadius = _ref.reactionsDetailsPopupBorderRadius,
22268
+ reactionsDetailsPopupHeaderItemsStyle = _ref.reactionsDetailsPopupHeaderItemsStyle,
22231
22269
  rtlDirection = _ref.rtlDirection;
22232
22270
  var popupRef = React.useRef(null);
22233
22271
  var reactions = reactRedux.useSelector(reactionsListSelector, reactRedux.shallowEqual);
@@ -22329,15 +22367,21 @@ function ReactionsPopup(_ref) {
22329
22367
  popupVerticalPosition: popupVerticalPosition,
22330
22368
  className: 'reactions_popup',
22331
22369
  height: popupHeight,
22332
- visible: !!(reactions && reactions.length && reactionsLoadingState === LOADING_STATE$1.LOADED),
22333
- rtlDirection: rtlDirection
22334
- }, React__default.createElement(ReactionScoresCont, null, React__default.createElement(ReactionScoresList, null, React__default.createElement(ReactionScoreItem, {
22370
+ visible: !calculateSizes,
22371
+ rtlDirection: rtlDirection,
22372
+ borderRadius: reactionsDetailsPopupBorderRadius
22373
+ }, React__default.createElement(ReactionScoresCont, null, React__default.createElement(ReactionScoresList, {
22374
+ borderBottom: reactionsDetailsPopupHeaderItemsStyle !== 'bubbles'
22375
+ }, React__default.createElement(ReactionScoreItem, {
22376
+ bubbleStyle: reactionsDetailsPopupHeaderItemsStyle === 'bubbles',
22335
22377
  active: activeTabKey === 'all',
22378
+ activeColor: colors.primary,
22336
22379
  onClick: function onClick() {
22337
22380
  return handleGetReactions();
22338
22381
  }
22339
22382
  }, React__default.createElement("span", null, "All " + totalReactions)), reactionsList.map(function (reaction) {
22340
22383
  return React__default.createElement(ReactionScoreItem, {
22384
+ bubbleStyle: reactionsDetailsPopupHeaderItemsStyle === 'bubbles',
22341
22385
  key: reaction.key,
22342
22386
  onClick: function onClick() {
22343
22387
  return handleGetReactions(reaction.key);
@@ -22364,7 +22408,7 @@ function ReactionsPopup(_ref) {
22364
22408
  }, reaction.key));
22365
22409
  })));
22366
22410
  }
22367
- var Container$b = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n position: absolute;\n /*right: ", ";*/\n right: ", ";\n /*left: ", ";*/\n left: ", ";\n top: ", ";\n bottom: ", ";\n width: 340px;\n height: ", "px;\n //overflow: ", ";\n overflow: hidden;\n max-height: 320px;\n background: #ffffff;\n //border: 1px solid #dfe0eb;\n box-shadow: 0 6px 24px -6px rgba(15, 34, 67, 0.12), 0px 1px 3px rgba(24, 23, 37, 0.14);\n box-sizing: border-box;\n //box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n visibility: ", ";\n transition: all 0.2s;\n\n direction: initial;\n z-index: 12;\n &::after {\n content: '';\n position: absolute;\n width: 12px;\n height: 12px;\n\n right: ", ";\n left: ", ";\n top: ", ";\n bottom: ", ";\n transform: rotate(45deg);\n box-shadow: ", ";\n border-radius: 2px;\n visibility: ", ";\n transition-delay: 150ms;\n transition-property: visibility;\n\n background: ", ";\n }\n"])), function (props) {
22411
+ var Container$b = styled__default.div(_templateObject$p || (_templateObject$p = _taggedTemplateLiteralLoose(["\n position: absolute;\n /*right: ", ";*/\n right: ", ";\n /*left: ", ";*/\n left: ", ";\n top: ", ";\n bottom: ", ";\n width: 340px;\n height: ", "px;\n //overflow: ", ";\n overflow: hidden;\n max-height: 320px;\n background: #ffffff;\n //border: 1px solid #dfe0eb;\n box-shadow: 0 6px 24px -6px rgba(15, 34, 67, 0.12), 0px 1px 3px rgba(24, 23, 37, 0.14);\n box-sizing: border-box;\n //box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);\n border-radius: ", ";\n visibility: ", ";\n transition: all 0.2s;\n\n direction: initial;\n z-index: 12;\n &::after {\n content: '';\n position: absolute;\n width: 12px;\n height: 12px;\n\n right: ", ";\n left: ", ";\n top: ", ";\n bottom: ", ";\n transform: rotate(45deg);\n box-shadow: ", ";\n border-radius: 2px;\n visibility: ", ";\n transition-delay: 150ms;\n transition-property: visibility;\n\n background: ", ";\n }\n"])), function (props) {
22368
22412
  return props.popupHorizontalPosition === 'left' && (props.rtlDirection ? 'calc(100% - 80px)' : 0);
22369
22413
  }, function (props) {
22370
22414
  return props.rtlDirection && 0;
@@ -22380,6 +22424,8 @@ var Container$b = styled__default.div(_templateObject$p || (_templateObject$p =
22380
22424
  return props.height && props.height + 22;
22381
22425
  }, function (props) {
22382
22426
  return !props.height && 'hidden';
22427
+ }, function (props) {
22428
+ return props.borderRadius || '12px';
22383
22429
  }, function (props) {
22384
22430
  return props.visible ? 'visible' : 'hidden';
22385
22431
  }, function (props) {
@@ -22401,17 +22447,33 @@ var ReactionsList = styled__default.ul(_templateObject4$d || (_templateObject4$d
22401
22447
  return !props.popupHeight && 'hidden';
22402
22448
  });
22403
22449
  var ReactionScoresCont = styled__default.div(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteralLoose(["\n max-width: 100%;\n overflow-y: auto;\n"])));
22404
- var ReactionScoresList = styled__default.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n display: flex;\n border-bottom: 1px solid ", ";\n"])), colors.gray1);
22405
- var ReactionScoreItem = styled__default.div(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n white-space: nowrap;\n padding: 12px;\n font-weight: 500;\n font-size: 13px;\n line-height: 20px;\n border-bottom: 1px solid ", ";\n color: ", ";\n margin-bottom: -1px;\n cursor: pointer;\n & > span {\n position: relative;\n ", "\n }\n"])), colors.gray1, function (props) {
22450
+ var ReactionScoresList = styled__default.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteralLoose(["\n display: flex;\n border-bottom: ", ";\n padding: 2px 8px 0;\n"])), function (props) {
22451
+ return props.borderBottom && "1px solid " + colors.gray1;
22452
+ });
22453
+ var TabKey = styled__default.span(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteralLoose([""])));
22454
+ var ReactionScoreItem = styled__default.div(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: flex;\n white-space: nowrap;\n padding: ", ";\n font-weight: 500;\n font-size: 13px;\n border-bottom: ", ";\n color: ", ";\n margin-bottom: -1px;\n cursor: pointer;\n & > span {\n position: relative;\n border: ", ";\n padding: ", ";\n border-radius: 16px;\n height: 30px;\n box-sizing: border-box;\n font-family: Inter, sans-serif;\n font-style: normal;\n font-weight: 600;\n font-size: 14px;\n line-height: ", ";\n background-color: ", ";\n color: ", ";\n ", "\n\n & ", " {\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla,\n twemoji mozilla, segoe ui symbol;\n margin-right: 4px;\n font-size: 15px;\n }\n }\n"])), function (props) {
22455
+ return props.bubbleStyle ? '12px 4px' : '12px';
22456
+ }, function (props) {
22457
+ return !props.bubbleStyle && "1px solid " + colors.gray1;
22458
+ }, function (props) {
22406
22459
  return props.active ? colors.gray6 : colors.gray9;
22407
22460
  }, function (props) {
22408
- return props.active && "\n &::after {\n content: '';\n position: absolute;\n left: 0;\n bottom: -13px;\n width: 100%;\n height: 2px;\n background-color: " + (props.activeColor || colors.primary) + ";\n border-radius: 2px;\n }";
22409
- });
22410
- var TabKey = styled__default.span(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteralLoose(["\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla,\n twemoji mozilla, segoe ui symbol;\n margin-right: 4px;\n font-size: 15px;\n"])));
22461
+ return props.bubbleStyle && !props.active && "1px solid " + colors.gray1;
22462
+ }, function (props) {
22463
+ return props.bubbleStyle && '6px 12px';
22464
+ }, function (props) {
22465
+ return props.bubbleStyle ? '18px' : '30px';
22466
+ }, function (props) {
22467
+ return props.active && props.bubbleStyle && colors.primary;
22468
+ }, function (props) {
22469
+ return props.active && props.bubbleStyle && colors.white;
22470
+ }, function (props) {
22471
+ return props.active && !props.bubbleStyle && "\n &::after {\n content: '';\n position: absolute;\n left: 0;\n bottom: -13px;\n width: 100%;\n height: 2px;\n background-color: " + (props.activeColor || colors.primary) + ";\n border-radius: 2px;\n }\n ";
22472
+ }, TabKey);
22411
22473
  var ReactionKey = styled__default.span(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteralLoose(["\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla,\n twemoji mozilla, segoe ui symbol;\n font-size: 20px;\n cursor: pointer;\n"])));
22412
22474
  var ReactionItem$1 = styled__default.li(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 15px;\n padding: 6px 16px;\n transition: all 0.2s;\n\n & ", " {\n width: 10px;\n height: 10px;\n }\n"])), UserStatus);
22413
22475
 
22414
- var _path$H, _path2$6;
22476
+ var _path$H;
22415
22477
 
22416
22478
  function _extends$K() {
22417
22479
  _extends$K = Object.assign ? Object.assign.bind() : function (target) {
@@ -22430,22 +22492,22 @@ function _extends$K() {
22430
22492
  return _extends$K.apply(this, arguments);
22431
22493
  }
22432
22494
 
22433
- function SvgEmojiSmileIcon(props) {
22495
+ function SvgEmojiAnimalIcon(props) {
22434
22496
  return /*#__PURE__*/React.createElement("svg", _extends$K({
22435
- width: 24,
22436
- height: 24,
22437
- fill: "currentColor",
22497
+ width: 20,
22498
+ height: 20,
22499
+ viewBox: "0 0 20.01 20.01",
22500
+ fill: "none",
22438
22501
  xmlns: "http://www.w3.org/2000/svg"
22439
22502
  }, props), _path$H || (_path$H = /*#__PURE__*/React.createElement("path", {
22440
- d: "M8.438 14.297a.9.9 0 011.273.149 2.77 2.77 0 00.516.415c.383.24.97.489 1.773.489.803 0 1.39-.25 1.773-.489a2.773 2.773 0 00.516-.415l.012-.013.002-.003a.9.9 0 011.4 1.132L15 15l.703.562-.001.001-.002.002-.002.003-.007.008-.018.022a3.487 3.487 0 01-.245.254c-.16.15-.394.344-.7.536A5.094 5.094 0 0112 17.15a5.094 5.094 0 01-2.727-.762 4.567 4.567 0 01-.7-.537 3.501 3.501 0 01-.246-.253l-.018-.022-.007-.008-.002-.003-.002-.002L9 15l-.703.562a.9.9 0 01.14-1.265zM10.25 10.25a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zM15 11.5A1.25 1.25 0 1015 9a1.25 1.25 0 000 2.5z"
22441
- })), _path2$6 || (_path2$6 = /*#__PURE__*/React.createElement("path", {
22442
22503
  fillRule: "evenodd",
22443
22504
  clipRule: "evenodd",
22444
- d: "M12 2.1c-5.468 0-9.9 4.432-9.9 9.9 0 5.467 4.432 9.9 9.9 9.9s9.9-4.433 9.9-9.9c0-5.468-4.432-9.9-9.9-9.9zM3.9 12a8.1 8.1 0 1116.2 0 8.1 8.1 0 01-16.2 0z"
22505
+ d: "M7.188 3.875a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.313.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zm7.938-.813a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.313.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zM3.437 7.624a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.312.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zm15.438-.813a.813.813 0 100 1.625.813.813 0 000-1.625zm-2.313.813a2.312 2.312 0 114.625 0 2.312 2.312 0 01-4.625 0zm-6.393-.359a3.563 3.563 0 015.567 1.862c.193.672.643 1.24 1.252 1.582a3.25 3.25 0 01-1.548 6.102h-.002c-.435 0-.864-.086-1.265-.253a4.859 4.859 0 00-3.722 0h.001a3.28 3.28 0 01-1.265.253h-.003a3.25 3.25 0 01-1.548-6.101A2.657 2.657 0 006.576 9.94a3.563 3.563 0 011.28-1.862zM10 8.863a2.062 2.062 0 00-1.982 1.493 4.156 4.156 0 01-1.964 2.478l-.008.004a1.75 1.75 0 001.517 3.15l.001-.001a6.358 6.358 0 014.872 0h.001a1.75 1.75 0 001.516-3.15l-.007-.003a4.156 4.156 0 01-1.964-2.478A2.062 2.062 0 0010 8.863z",
22506
+ fill: "CurrentColor"
22445
22507
  })));
22446
22508
  }
22447
22509
 
22448
- var _path$I;
22510
+ var _path$I, _path2$6, _path3$3;
22449
22511
 
22450
22512
  function _extends$L() {
22451
22513
  _extends$L = Object.assign ? Object.assign.bind() : function (target) {
@@ -22464,16 +22526,28 @@ function _extends$L() {
22464
22526
  return _extends$L.apply(this, arguments);
22465
22527
  }
22466
22528
 
22467
- function SvgEmojiAnimalIcon(props) {
22529
+ function SvgEmojiFoodIcon(props) {
22468
22530
  return /*#__PURE__*/React.createElement("svg", _extends$L({
22469
- width: 24,
22470
- height: 24,
22471
- fill: "currentColor",
22531
+ width: 20,
22532
+ height: 20,
22533
+ viewBox: "0 0 20.01 20.01",
22534
+ fill: "none",
22472
22535
  xmlns: "http://www.w3.org/2000/svg"
22473
22536
  }, props), _path$I || (_path$I = /*#__PURE__*/React.createElement("path", {
22474
22537
  fillRule: "evenodd",
22475
22538
  clipRule: "evenodd",
22476
- d: "M14.068 3.405c.559-.56 1.345-.95 2.212-.804.873.147 1.481.776 1.81 1.496.33.723.424 1.61.26 2.5-.165.89-.57 1.689-1.133 2.254-.558.56-1.344.95-2.212.804-.872-.147-1.48-.776-1.81-1.497-.33-.722-.423-1.61-.258-2.5.164-.89.569-1.688 1.131-2.253zm1.215 1.21c-.291.292-.552.765-.66 1.355-.11.59-.034 1.114.132 1.476.166.364.378.492.535.518.161.027.418-.027.713-.323.291-.292.551-.765.66-1.355.11-.59.033-1.115-.132-1.476-.166-.364-.378-.492-.535-.518-.162-.027-.418.027-.713.323zM9.264 11.68c.632-.78 1.499-1.395 2.736-1.395 1.24 0 2.106.621 2.737 1.4.523.646.937 1.468 1.304 2.198l.151.299c.3.588.588 1.046.857 1.474.1.159.197.313.291.469.322.53.66 1.148.66 1.871 0 .587-.143 1.1-.44 1.517-.295.413-.69.661-1.073.809-.66.255-1.413.251-1.82.25l-.095-.001c-.464 0-.833-.065-1.16-.122l-.11-.02A7.038 7.038 0 0012 20.315c-.576 0-.953.056-1.302.116l-.11.02a6.337 6.337 0 01-1.16.12H9.24c-.447-.003-1.216-.025-1.889-.341a2.298 2.298 0 01-.964-.82C6.127 19.01 6 18.534 6 17.996c0-.695.344-1.316.658-1.839.09-.15.182-.3.277-.454.273-.441.568-.917.871-1.519l.14-.277c.37-.742.788-1.575 1.318-2.227zm.211 3.002l-.138.275c-.341.675-.691 1.24-.97 1.692-.088.14-.168.27-.239.389-.33.55-.414.794-.414.958 0 .264.06.401.108.475.05.075.127.145.258.206.298.14.723.175 1.171.179h.178c.308 0 .537-.04.87-.097l.11-.019c.4-.068.881-.14 1.591-.14s1.19.072 1.591.14l.11.02c.334.057.562.096.87.096h.034c.47 0 .918 0 1.265-.133.153-.06.24-.13.293-.205.052-.072.123-.219.123-.522 0-.2-.09-.452-.412-.983-.072-.119-.154-.25-.245-.393-.277-.441-.627-.997-.964-1.66l-.157-.31c-.381-.754-.705-1.394-1.103-1.886C12.988 12.25 12.57 12 12 12c-.57 0-.99.25-1.406.761-.403.497-.73 1.15-1.119 1.922zM11.063 5.659c-.164-.891-.569-1.69-1.131-2.254-.559-.56-1.345-.95-2.212-.804-.873.147-1.481.776-1.81 1.496-.33.723-.424 1.61-.26 2.5.165.89.57 1.689 1.132 2.254.56.56 1.345.95 2.213.804.872-.147 1.48-.776 1.81-1.497.33-.722.423-1.61.258-2.5zM8.004 4.292c.162-.027.418.027.713.323.291.292.552.765.66 1.355.11.59.034 1.114-.132 1.476-.166.364-.378.492-.535.518-.161.027-.418-.027-.713-.323-.291-.292-.551-.765-.66-1.355-.11-.59-.033-1.115.132-1.476.166-.364.378-.492.535-.518zM4.83 8.949c.648.367 1.214.975 1.588 1.723.374.746.518 1.558.398 2.285-.12.73-.526 1.445-1.298 1.78-.757.33-1.565.162-2.205-.201-.648-.367-1.214-.976-1.588-1.723-.374-.747-.518-1.558-.398-2.286.12-.73.526-1.445 1.297-1.78.757-.33 1.566-.161 2.206.202zm-.846 1.49c-.331-.187-.56-.17-.676-.12-.102.044-.237.167-.29.485-.052.32.003.768.24 1.242.236.472.576.815.9.998.332.188.561.172.677.121.101-.044.237-.167.29-.485.052-.32-.003-.768-.24-1.241-.236-.473-.576-.815-.9-1zM21.407 8.773c-.787-.38-1.627-.18-2.271.225-.65.41-1.206 1.08-1.57 1.886-.363.808-.497 1.672-.384 2.437.11.752.49 1.529 1.269 1.905.787.38 1.626.18 2.27-.226.65-.41 1.206-1.079 1.57-1.886.363-.807.497-1.671.384-2.436-.11-.753-.49-1.53-1.268-1.905zm-2.277 2.815c.247-.55.598-.936.92-1.139.327-.206.526-.174.611-.133.094.046.258.2.319.612.059.4-.006.934-.253 1.482-.247.55-.597.937-.92 1.14-.327.206-.525.173-.61.132-.095-.045-.259-.2-.32-.612-.058-.4.006-.934.253-1.482z"
22539
+ d: "M12.143 7.855c0-.395.32-.714.714-.714.779 0 1.501.261 2.033.779.535.52.824 1.249.824 2.078a.714.714 0 11-1.428 0c0-.49-.165-.833-.392-1.054-.23-.224-.579-.375-1.037-.375a.714.714 0 01-.714-.714z",
22540
+ fill: "CurrentColor"
22541
+ })), _path2$6 || (_path2$6 = /*#__PURE__*/React.createElement("path", {
22542
+ fillRule: "evenodd",
22543
+ clipRule: "evenodd",
22544
+ d: "M10.083 2.222c-.616.616-.81 1.522-.797 2.367a6.008 6.008 0 00-1.905-.306c-3.438 0-5.952 2.45-5.952 5.858 0 1.644.588 3.698 1.574 5.35.968 1.622 2.465 3.08 4.378 3.08a5.98 5.98 0 002.62-.596 5.98 5.98 0 002.618.597c1.914 0 3.41-1.46 4.378-3.081.986-1.652 1.574-3.706 1.574-5.35 0-3.208-2.229-5.568-5.36-5.833.223-.434.307-.893.34-1.244.049-.518-.016-1.016-.09-1.528-.513-.072-1.01-.14-1.528-.09-.524.048-1.288.213-1.85.776zM7.38 5.712c-2.674 0-4.524 1.835-4.524 4.43 0 1.356.503 3.16 1.372 4.616.887 1.486 2.01 2.385 3.152 2.385.758 0 1.454-.178 2.075-.492a1.206 1.206 0 011.088 0 4.55 4.55 0 002.075.492c1.142 0 2.265-.899 3.152-2.385.869-1.456 1.372-3.26 1.372-4.617 0-2.594-1.85-4.43-4.524-4.43a4.57 4.57 0 00-2.073.493 1.206 1.206 0 01-1.09 0 4.551 4.551 0 00-2.075-.492zm3.341-1.437c.362-.026.776-.105 1.043-.37.265-.267.344-.682.37-1.043-.361.026-.776.104-1.042.37-.266.267-.345.681-.37 1.043z",
22545
+ fill: "CurrentColor"
22546
+ })), _path3$3 || (_path3$3 = /*#__PURE__*/React.createElement("path", {
22547
+ fillRule: "evenodd",
22548
+ clipRule: "evenodd",
22549
+ d: "M12.857 7.14a.714.714 0 000 1.43c.458 0 .807.15 1.037.374.227.221.392.565.392 1.054a.714.714 0 101.428 0c0-.83-.289-1.557-.824-2.078-.532-.518-1.254-.78-2.033-.78z",
22550
+ fill: "CurrentColor"
22477
22551
  })));
22478
22552
  }
22479
22553
 
@@ -22496,18 +22570,22 @@ function _extends$M() {
22496
22570
  return _extends$M.apply(this, arguments);
22497
22571
  }
22498
22572
 
22499
- function SvgEmojiFoodIcon(props) {
22573
+ function SvgEmojiTravelIcon(props) {
22500
22574
  return /*#__PURE__*/React.createElement("svg", _extends$M({
22501
- width: 24,
22502
- height: 24,
22503
- fill: "currentColor",
22575
+ width: 20,
22576
+ height: 20,
22577
+ viewBox: "0 0 20.01 20.01",
22578
+ fill: "none",
22504
22579
  xmlns: "http://www.w3.org/2000/svg"
22505
22580
  }, props), _path$J || (_path$J = /*#__PURE__*/React.createElement("path", {
22506
- d: "M16.375 5.336c-1.608 0-2.517.346-3.22.817.449-1.026 1.547-2.567 4.095-2.567a.875.875 0 100-1.75c-2.556 0-4.05 1.194-4.854 2.198-.056.068-.104.141-.157.213C11.764 2.588 10.949 1 9.556 1c-.55 0-1.187.248-1.931.836-1.726 1.366-1.462 2.558-.444 3.518C4.658 5.549 1.5 7.413 1.5 12.328c0 4.009 4.34 9.633 7.875 9.633 1.728 0 2.075-.426 2.625-.875.55.45.897.875 2.625.875 3.534 0 7.875-5.616 7.875-9.625 0-5.21-3.548-7-6.125-7zM8.712 3.208c.56-.445.825-.458.844-.458.373.148.853 1.23 1.188 2.673-1.337-.55-2.399-1.183-2.608-1.615.052-.098.21-.312.576-.6zm5.913 17.003c-.945 0-1.059-.096-1.364-.352l-.154-.128a1.739 1.739 0 00-1.108-.395 1.74 1.74 0 00-1.108.395l-.154.128c-.303.255-.417.352-1.362.352-2.461 0-6.125-4.716-6.125-7.883 0-5.095 3.927-5.242 4.375-5.242 1.697 0 2.174.412 2.964 1.094l.282.242a1.745 1.745 0 002.258 0l.282-.242c.79-.682 1.267-1.094 2.964-1.094.448 0 4.375.147 4.375 5.25 0 3.165-3.664 7.875-6.125 7.875z"
22581
+ fillRule: "evenodd",
22582
+ clipRule: "evenodd",
22583
+ d: "M13.763 2.458a2.6 2.6 0 013.748 3.604l-2.135 2.236a5.065 5.065 0 00-.188.204.076.076 0 00-.004.017l.004.03c.008.05.024.116.053.241l1.327 5.754.012.05c.044.189.096.412.079.639-.015.197-.07.39-.162.564-.106.202-.268.364-.406.5l-.036.037-.306.306c-.215.215-.409.408-.58.55-.175.147-.406.309-.705.362a1.46 1.46 0 01-1.124-.266c-.244-.18-.378-.429-.47-.638-.089-.204-.175-.464-.272-.752l-1.2-3.6-1.779 1.78a4.815 4.815 0 00-.172.178.076.076 0 00-.005.015l.001.027c.003.045.01.105.022.22l.141 1.27.005.045c.02.168.042.368.01.567a1.46 1.46 0 01-.172.49c-.1.176-.242.317-.362.437l-.032.032-.152.151-.018.019c-.166.166-.32.32-.46.438-.15.125-.338.258-.583.322a1.46 1.46 0 01-1.007-.1 1.49 1.49 0 01-.508-.43c-.114-.142-.236-.325-.366-.52l-1.22-1.83a4.929 4.929 0 00-.063-.09l-.009-.006a4.655 4.655 0 00-.077-.052l-1.829-1.22a7.783 7.783 0 01-.52-.365 1.492 1.492 0 01-.43-.509 1.46 1.46 0 01-.1-1.006c.065-.245.197-.434.323-.584.117-.14.272-.294.438-.46l.018-.018.152-.152.031-.032c.12-.12.262-.262.437-.362.152-.086.318-.145.49-.172a2.09 2.09 0 01.568.01l.044.005 1.27.141a4.747 4.747 0 00.247.023.075.075 0 00.015-.005 4.867 4.867 0 00.178-.172l1.78-1.78-3.6-1.199a9.48 9.48 0 01-.752-.272c-.209-.092-.457-.226-.638-.47a1.46 1.46 0 01-.265-1.124c.053-.298.215-.53.36-.705.143-.171.337-.365.552-.58l.02-.02.285-.285.037-.037c.136-.137.298-.3.5-.406a1.46 1.46 0 01.564-.161c.228-.018.45.034.64.078l.05.012 5.731 1.323a5.096 5.096 0 00.275.057.075.075 0 00.019-.005 5.146 5.146 0 00.199-.197l2.082-2.152zm2.728.948a1.216 1.216 0 00-1.734.014l-2.082 2.151-.036.037c-.132.137-.288.3-.483.407a1.46 1.46 0 01-.602.178c-.223.016-.442-.036-.627-.079l-.05-.011L5.146 4.78a5.06 5.06 0 00-.279-.059.077.077 0 00-.017.005 5.065 5.065 0 00-.205.197l-.285.285c-.243.243-.39.392-.487.508a.915.915 0 00-.063.083c0 .006.002.012.004.018.016.01.045.025.094.046.138.06.337.128.662.236l4.633 1.544a.692.692 0 01.27 1.146l-2.57 2.57-.032.032c-.12.12-.261.262-.436.362a1.459 1.459 0 01-.492.172 2.09 2.09 0 01-.567-.01l-.044-.005-1.27-.141a4.747 4.747 0 00-.247-.023.075.075 0 00-.015.005 4.867 4.867 0 00-.178.172l-.152.152c-.19.19-.301.302-.375.39a.735.735 0 00-.045.058c0 .008 0 .015.002.023.01.009.027.025.056.048.09.072.22.16.444.309l1.808 1.205.015.01a1.466 1.466 0 01.507.507l.01.016 1.206 1.807c.15.225.237.355.308.444.024.03.04.047.049.056a.076.076 0 00.022.002.723.723 0 00.059-.045c.087-.073.199-.184.39-.375l.151-.151a4.89 4.89 0 00.172-.178.077.077 0 00.005-.016v-.026a4.94 4.94 0 00-.023-.22l-.14-1.27-.006-.045a2.091 2.091 0 01-.01-.567 1.46 1.46 0 01.172-.491c.1-.175.242-.317.363-.437l.031-.031 2.57-2.57a.692.692 0 011.146.27L13.9 15.43c.109.325.175.523.236.662a.9.9 0 00.046.093.073.073 0 00.019.004.917.917 0 00.083-.063c.116-.096.264-.244.507-.486l.285-.285a5.078 5.078 0 00.197-.206.073.073 0 00.005-.017 5.042 5.042 0 00-.058-.279l-1.328-5.753-.011-.049c-.044-.184-.095-.401-.079-.624a1.46 1.46 0 01.152-.553c.1-.199.255-.36.386-.496l.034-.037 2.136-2.236a1.216 1.216 0 00-.02-1.7z",
22584
+ fill: "CurrentColor"
22507
22585
  })));
22508
22586
  }
22509
22587
 
22510
- var _path$K;
22588
+ var _g$2, _defs;
22511
22589
 
22512
22590
  function _extends$N() {
22513
22591
  _extends$N = Object.assign ? Object.assign.bind() : function (target) {
@@ -22526,20 +22604,29 @@ function _extends$N() {
22526
22604
  return _extends$N.apply(this, arguments);
22527
22605
  }
22528
22606
 
22529
- function SvgEmojiTravelIcon(props) {
22607
+ function SvgEmojiObjectIcon(props) {
22530
22608
  return /*#__PURE__*/React.createElement("svg", _extends$N({
22531
- width: 24,
22532
- height: 24,
22533
- fill: "currentColor",
22609
+ width: 20,
22610
+ height: 20,
22611
+ viewBox: "0 0 20.01 20.01",
22612
+ fill: "none",
22534
22613
  xmlns: "http://www.w3.org/2000/svg"
22535
- }, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
22614
+ }, props), _g$2 || (_g$2 = /*#__PURE__*/React.createElement("g", {
22615
+ clipPath: "url(#emojiObjectIcon_svg__clip0_1048_8610)"
22616
+ }, /*#__PURE__*/React.createElement("path", {
22536
22617
  fillRule: "evenodd",
22537
22618
  clipRule: "evenodd",
22538
- d: "M9.61 3.6H14.39c1.117 0 1.89-.001 2.59.24a4.4 4.4 0 011.643 1.016c.529.518.874 1.209 1.374 2.209l.067.134.84 1.68h1.216a.88.88 0 01.88.88v.312c0 .82-.59 1.462-1.32 1.607v7.148c0 .093 0 .209-.008.312a1.28 1.28 0 01-.131.485c-.122.24-.318.435-.558.558-.187.095-.364.12-.485.13-.103.009-.219.009-.313.009h-.531c-.093 0-.21 0-.312-.009a1.284 1.284 0 01-.485-.13 1.275 1.275 0 01-.558-.558 1.284 1.284 0 01-.13-.485c-.01-.103-.009-.22-.009-.313v-.265H5.84v.266c0 .093 0 .209-.008.312-.01.12-.036.298-.131.485-.122.24-.318.435-.558.558-.187.095-.364.12-.485.13-.103.009-.219.009-.312.009h-.532c-.093 0-.21 0-.312-.009a1.284 1.284 0 01-.485-.13 1.276 1.276 0 01-.558-.558 1.282 1.282 0 01-.13-.485 3.969 3.969 0 01-.009-.313v-7.147A1.637 1.637 0 011 10.071V9.76a.88.88 0 01.88-.88h1.216l.84-1.68.067-.135c.5-1 .845-1.691 1.374-2.209A4.4 4.4 0 017.02 3.84c.7-.241 1.472-.24 2.59-.24zM4.095 16.363a9.285 9.285 0 01-.015-.682v-4.143c.063.011.14.025.234.04.283.044.715.102 1.336.158 1.243.113 3.25.224 6.35.224 3.1 0 5.107-.111 6.35-.224a20.77 20.77 0 001.336-.158c.094-.015.171-.029.234-.04v4.03c0 .384 0 .619-.015.795a1.126 1.126 0 01-.03.19.44.44 0 01-.199.2l-.003.002a1.126 1.126 0 01-.19.03c-.176.014-.41.015-.795.015H5.312c-.384 0-.62-.001-.795-.015a1.127 1.127 0 01-.19-.03.44.44 0 01-.202-.202 1.126 1.126 0 01-.03-.19zm15.32-6.524l-.925-1.852c-.594-1.188-.807-1.588-1.098-1.873a2.64 2.64 0 00-.987-.61c-.385-.133-.839-.144-2.166-.144H9.761c-1.328 0-1.781.011-2.166.144a2.64 2.64 0 00-.987.61c-.29.285-.504.685-1.098 1.873l-.926 1.852h.004c.24.038.633.09 1.222.144 1.177.107 3.13.217 6.19.217 3.06 0 5.013-.11 6.19-.217a19.01 19.01 0 001.226-.144zm-1.146 5.194a.88.88 0 10-.218-1.746l-1.76.22a.88.88 0 00.218 1.746l1.76-.22zM4.967 14.05a.88.88 0 00.764.982l1.76.22a.88.88 0 10.218-1.746l-1.76-.22a.88.88 0 00-.982.763z"
22539
- })));
22619
+ d: "M10 .917a.75.75 0 01.75.75V2.5a.75.75 0 01-1.5 0v-.833a.75.75 0 01.75-.75zM3.553 3.553a.75.75 0 011.06 0l.5.5a.75.75 0 11-1.06 1.061l-.5-.5a.75.75 0 010-1.06zm12.894 0a.75.75 0 010 1.061l-.5.5a.75.75 0 11-1.06-1.06l.5-.5a.75.75 0 011.06 0zM10 5.75a4.25 4.25 0 100 8.5 4.25 4.25 0 000-8.5zM4.25 10a5.75 5.75 0 118.167 5.22v1.447a2.417 2.417 0 01-4.834 0v-1.448A5.75 5.75 0 014.25 10zm4.833 5.678v.989a.917.917 0 101.834 0v-.99a5.795 5.795 0 01-1.834 0zM.917 10a.75.75 0 01.75-.75H2.5a.75.75 0 110 1.5h-.833a.75.75 0 01-.75-.75zm15.833 0a.75.75 0 01.75-.75h.833a.75.75 0 110 1.5H17.5a.75.75 0 01-.75-.75z",
22620
+ fill: "CurrentColor"
22621
+ }))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
22622
+ id: "emojiObjectIcon_svg__clip0_1048_8610"
22623
+ }, /*#__PURE__*/React.createElement("path", {
22624
+ fill: "CurrentColor",
22625
+ d: "M0 0h20v20H0z"
22626
+ })))));
22540
22627
  }
22541
22628
 
22542
- var _path$L;
22629
+ var _path$K;
22543
22630
 
22544
22631
  function _extends$O() {
22545
22632
  _extends$O = Object.assign ? Object.assign.bind() : function (target) {
@@ -22558,18 +22645,22 @@ function _extends$O() {
22558
22645
  return _extends$O.apply(this, arguments);
22559
22646
  }
22560
22647
 
22561
- function SvgEmojiObjectIcon(props) {
22648
+ function SvgEmojiSymbolsIcon(props) {
22562
22649
  return /*#__PURE__*/React.createElement("svg", _extends$O({
22563
- width: 24,
22564
- height: 24,
22565
- fill: "currentColor",
22650
+ width: 20,
22651
+ height: 20,
22652
+ viewBox: "0 0 20.01 20.01",
22653
+ fill: "none",
22566
22654
  xmlns: "http://www.w3.org/2000/svg"
22567
- }, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
22568
- d: "M10 16h1.19v-2.06a1.007 1.007 0 01-.16-.12L9.32 12.1a1 1 0 111.41-1.41l1.25 1.25 1.32-1.32a.97.97 0 011.38 0c.4.4.4 1.05 0 1.46L13 13.74a.998.998 0 01-.19.15V16H14v-.15a1.002 1.002 0 01.3-.73c2.71-2.58 3.71-4.17 3.71-6.27a5.93 5.93 0 00-6-5.85C8.69 3 6 5.63 6 8.85c0 2.1.98 3.66 3.7 6.26.19.18.3.45.3.72V16zm0 2v1a1 1 0 001 1h2a1 1 0 001-1v-1h-4zm-2-1.75c-2.85-2.77-4-4.7-4-7.4C4 4.51 7.6 1 12 1c4.42 0 8.01 3.51 8.01 7.85 0 2.7-1.17 4.66-4.01 7.42V19a3 3 0 01-3 3h-2a3 3 0 01-3-3v-2.75z"
22655
+ }, props), _path$K || (_path$K = /*#__PURE__*/React.createElement("path", {
22656
+ fillRule: "evenodd",
22657
+ clipRule: "evenodd",
22658
+ d: "M8.04 1.76a.75.75 0 01.616.863l-.548 3.294h5.146l.59-3.54a.75.75 0 111.48.246l-.55 3.294h2.31a.75.75 0 010 1.5h-2.56l-.86 5.167h2.586a.75.75 0 110 1.5h-2.837l-.59 3.54a.75.75 0 11-1.48-.247l.55-3.293H6.745l-.59 3.54a.75.75 0 11-1.48-.247l.55-3.293H2.083a.75.75 0 010-1.5h3.393l.86-5.167h-3.42a.75.75 0 110-1.5h3.67l.59-3.54a.75.75 0 01.864-.617zm-.182 5.657l-.862 5.167h5.146l.862-5.167H7.858z",
22659
+ fill: "CurrentColor"
22569
22660
  })));
22570
22661
  }
22571
22662
 
22572
- var _path$M;
22663
+ var _path$L;
22573
22664
 
22574
22665
  function _extends$P() {
22575
22666
  _extends$P = Object.assign ? Object.assign.bind() : function (target) {
@@ -22588,44 +22679,18 @@ function _extends$P() {
22588
22679
  return _extends$P.apply(this, arguments);
22589
22680
  }
22590
22681
 
22591
- function SvgEmojiSymbolsIcon(props) {
22682
+ function SvgEmojiFlagicon(props) {
22592
22683
  return /*#__PURE__*/React.createElement("svg", _extends$P({
22593
- width: 24,
22594
- height: 24,
22595
- fill: "currentColor",
22684
+ width: 20,
22685
+ height: 20,
22686
+ viewBox: "0 0 20.01 20.01",
22687
+ fill: "none",
22596
22688
  xmlns: "http://www.w3.org/2000/svg"
22597
- }, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
22598
- d: "M19.1 4a4.6 4.6 0 011.37.28A4.01 4.01 0 0123 7.9c.03 2.73.03 5.47 0 8.2a4.15 4.15 0 01-.98 2.52A4.02 4.02 0 0119.1 20c-4.73.06-9.47.06-14.2 0a4.572 4.572 0 01-1.37-.28A4.02 4.02 0 011 16.1c-.03-2.73-.03-5.47 0-8.2A4.01 4.01 0 014.9 4c4.73-.06 9.47-.06 14.2 0zM5 6a2.02 2.02 0 00-2 1.95c-.034 2.7-.034 5.4 0 8.1A2.02 2.02 0 004.95 18c4.7.06 9.4.06 14.1 0A2.02 2.02 0 0021 16.05c.034-2.7.034-5.4 0-8.1A2.02 2.02 0 0019.05 6C14.37 5.94 9.68 6 5 6zm2 7.88a1.12 1.12 0 110 2.24 1.12 1.12 0 010-2.24zm4 .03a1.1 1.1 0 110 2.19 1.1 1.1 0 010-2.2v.01zm6.44-3.8l.23-1.18c.06-.3.1-.46.27-.62.1-.1.25-.15.42-.15.18 0 .37.07.5.2.23.22.18.53.12.83l-.19.92h.2c.32 0 .45.01.58.08.19.1.31.3.31.56 0 .27-.12.46-.3.56-.14.07-.27.08-.59.08h-.45l-.26 1.27h.33c.32 0 .44.02.58.09.18.1.3.29.3.55 0 .27-.12.47-.3.56-.14.07-.26.08-.58.08h-.58l-.27 1.33c-.06.3-.1.46-.26.62a.6.6 0 01-.42.15.74.74 0 01-.5-.2c-.23-.22-.18-.53-.12-.83l.21-1.07h-1.3l-.27 1.33c-.06.3-.1.46-.27.62-.1.1-.25.15-.42.15a.74.74 0 01-.49-.2c-.24-.22-.18-.53-.12-.83l.2-1.07h-.2c-.31 0-.44 0-.57-.08-.19-.1-.31-.29-.31-.56 0-.26.12-.46.3-.55.14-.07.27-.09.59-.09h.45l.26-1.27h-.33c-.32 0-.44-.01-.58-.08-.18-.1-.3-.3-.3-.56 0-.27.12-.46.3-.56.14-.07.26-.08.58-.08h.58l.24-1.18c.06-.3.1-.46.27-.62.1-.1.25-.15.41-.15.18 0 .37.07.5.2.24.22.18.53.12.83l-.18.92h1.31zm-8.14-.2c0-1.33-1.05-2.18-2.36-2.18-.68 0-1.35.23-1.78.6-.45.4-.64 1-.64 1.34 0 .23.1.42.22.53.12.12.3.2.5.2.21 0 .36-.07.5-.18.34-.25.42-.63.55-.77a.85.85 0 01.66-.27c.55 0 .76.27.76.75 0 .3-.24.67-.43.89l-.65.83c-.28.4-.4.7-.38 1.03.02.36.28.67.57.7.24.02.6 0 .79-.38.13-.25.53-.73.73-1.07l.47-.62c.34-.43.49-.8.49-1.4zm2.54-1.17c0-.36-.01-.49-.11-.68-.13-.22-.4-.37-.73-.37-.33 0-.6.15-.73.37-.1.19-.11.32-.11.68v3.45c0 .36 0 .5.11.68.13.22.4.37.73.37.33 0 .6-.15.73-.37.1-.19.11-.32.11-.68V8.74zm5.09 3.92l.25-1.27h-1.3l-.26 1.27h1.31z"
22599
- })));
22600
- }
22601
-
22602
- var _path$N;
22603
-
22604
- function _extends$Q() {
22605
- _extends$Q = Object.assign ? Object.assign.bind() : function (target) {
22606
- for (var i = 1; i < arguments.length; i++) {
22607
- var source = arguments[i];
22608
-
22609
- for (var key in source) {
22610
- if (Object.prototype.hasOwnProperty.call(source, key)) {
22611
- target[key] = source[key];
22612
- }
22613
- }
22614
- }
22615
-
22616
- return target;
22617
- };
22618
- return _extends$Q.apply(this, arguments);
22619
- }
22620
-
22621
- function SvgEmojiFlagicon(props) {
22622
- return /*#__PURE__*/React.createElement("svg", _extends$Q({
22623
- width: 24,
22624
- height: 24,
22625
- fill: "currentColor",
22626
- xmlns: "http://www.w3.org/2000/svg"
22627
- }, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
22628
- d: "M6.63 3.23c2.13 1.12 3.18.99 5.4-.13l.03-.03c2.8-1.4 4.52-1.57 7.43.08a1 1 0 01.51.87v9.23a1 1 0 01-1.5.87c-2.69-1.52-4.13-1.43-6.62-.22-.33.158-.66.315-.99.47-1.4.62-2.6.81-3.89.43V20a1 1 0 11-2 0V4a1 1 0 011.63-.77zM7 12.66c1.05.5 1.87.42 3.08-.12.314-.137.624-.283.93-.44 2.56-1.24 4.46-1.53 6.99-.46V4.62c-1.9-.98-2.96-.81-5.03.24l-.04.02c-2.3 1.16-3.85 1.5-5.93.71v7.07z"
22689
+ }, props), _path$L || (_path$L = /*#__PURE__*/React.createElement("path", {
22690
+ fillRule: "evenodd",
22691
+ clipRule: "evenodd",
22692
+ d: "M4.167 3.25a.917.917 0 00-.917.917v7.764c.288-.118.6-.181.917-.181h5.416a.75.75 0 01.53.22l.614.613h5.56L14.329 8.67a.75.75 0 010-.671l1.957-3.915H10.75V7.5a.75.75 0 01-1.5 0V3.25H4.167zm6.56-.667l-.613-.613a.75.75 0 00-.53-.22H4.166A2.417 2.417 0 001.75 4.167V17.5a.75.75 0 001.5 0v-3.333a.917.917 0 01.917-.917h5.106l.613.614c.141.14.332.22.53.22H17.5a.75.75 0 00.67-1.086l-2.332-4.665 2.333-4.664a.75.75 0 00-.671-1.086h-6.773z",
22693
+ fill: "CurrentColor"
22629
22694
  })));
22630
22695
  }
22631
22696
 
@@ -22869,6 +22934,15 @@ var EMOJIS = [{
22869
22934
  key: 'other-object',
22870
22935
  array: ['🚬', '⚰️', '⚱️', '🗿']
22871
22936
  }]
22937
+ }, {
22938
+ key: 'Flags',
22939
+ array: [{
22940
+ key: 'country-flag',
22941
+ array: ['🇦🇨', '🇦🇩', '🇦🇪', '🇦🇫', '🇦🇬', '🇦🇮', '🇦🇱', '🇦🇲', '🇦🇴', '🇦🇶', '🇦🇷', '🇦🇸', '🇦🇹', '🇦🇺', '🇦🇼', '🇦🇽', '🇦🇿', '🇧🇦', '🇧🇧', '🇧🇩', '🇧🇪', '🇧🇫', '🇧🇬', '🇧🇭', '🇧🇮', '🇧🇯', '🇧🇱', '🇧🇲', '🇧🇳', '🇧🇴', '🇧🇶', '🇧🇷', '🇧🇸', '🇧🇹', '🇧🇻', '🇧🇼', '🇧🇾', '🇧🇿', '🇨🇦', '🇨🇨', '🇨🇩', '🇨🇫', '🇨🇬', '🇨🇭', '🇨🇮', '🇨🇰', '🇨🇱', '🇨🇲', '🇨🇳', '🇨🇴', '🇨🇵', '🇨🇷', '🇨🇺', '🇨🇻', '🇨🇼', '🇨🇽', '🇨🇾', '🇨🇿', '🇩🇪', '🇩🇬', '🇩🇯', '🇩🇰', '🇩🇲', '🇩🇴', '🇩🇿', '🇪🇦', '🇪🇨', '🇪🇪', '🇪🇬', '🇪🇭', '🇪🇷', '🇪🇸', '🇪🇹', '🇪🇺', '🇫🇮', '🇫🇯', '🇫🇰', '🇫🇲', '🇫🇴', '🇫🇷', '🇬🇦', '🇬🇧', '🇬🇩', '🇬🇪', '🇬🇫', '🇬🇬', '🇬🇭', '🇬🇮', '🇬🇱', '🇬🇲', '🇬🇳', '🇬🇵', '🇬🇶', '🇬🇷', '🇬🇸', '🇬🇹', '🇬🇺', '🇬🇼', '🇬🇾', '🇭🇰', '🇭🇲', '🇭🇳', '🇭🇷', '🇭🇹', '🇭🇺', '🇮🇨', '🇮🇩', '🇮🇪', '🇮🇱', '🇮🇲', '🇮🇳', '🇮🇴', '🇮🇶', '🇮🇷', '🇮🇸', '🇮🇹', '🇯🇪', '🇯🇲', '🇯🇴', '🇯🇵', '🇰🇪', '🇰🇬', '🇰🇭', '🇰🇮', '🇰🇲', '🇰🇳', '🇰🇵', '🇰🇷', '🇰🇼', '🇰🇾', '🇰🇿', '🇱🇦', '🇱🇧', '🇱🇨', '🇱🇮', '🇱🇰', '🇱🇷', '🇱🇸', '🇱🇹', '🇱🇺', '🇱🇻', '🇱🇾', '🇲🇦', '🇲🇨', '🇲🇩', '🇲🇪', '🇲🇫', '🇲🇬', '🇲🇭', '🇲🇰', '🇲🇱', '🇲🇲', '🇲🇳', '🇲🇴', '🇲🇵', '🇲🇶', '🇲🇷', '🇲🇸', '🇲🇹', '🇲🇺', '🇲🇻', '🇲🇼', '🇲🇽', '🇲🇾', '🇲🇿', '🇳🇦', '🇳🇨', '🇳🇪', '🇳🇫', '🇳🇬', '🇳🇮', '🇳🇱', '🇳🇴', '🇳🇵', '🇳🇷', '🇳🇺', '🇳🇿', '🇴🇲', '🇵🇦', '🇵🇪', '🇵🇫', '🇵🇬', '🇵🇭', '🇵🇰', '🇵🇱', '🇵🇲', '🇵🇳', '🇵🇷', '🇵🇸', '🇵🇹', '🇵🇼', '🇵🇾', '🇶🇦', '🇷🇪', '🇷🇴', '🇷🇸', '🇷🇺', '🇷🇼', '🇸🇦', '🇸🇧', '🇸🇨', '🇸🇩', '🇸🇪', '🇸🇬', '🇸🇭', '🇸🇮', '🇸🇯', '🇸🇰', '🇸🇱', '🇸🇲', '🇸🇳', '🇸🇴', '🇸🇷', '🇸🇸', '🇸🇹', '🇸🇻', '🇸🇽', '🇸🇾', '🇸🇿', '🇹🇦', '🇹🇨', '🇹🇩', '🇹🇫', '🇹🇬', '🇹🇭', '🇹🇯', '🇹🇰', '🇹🇱', '🇹🇲', '🇹🇳', '🇹🇴', '🇹🇷', '🇹🇹', '🇹🇻', '🇹🇼', '🇹🇿', '🇺🇦', '🇺🇬', '🇺🇲', '🇺🇳', '🇺🇸', '🇺🇾', '🇺🇿', '🇻🇦', '🇻🇨', '🇻🇪', '🇻🇬', '🇻🇮', '🇻🇳', '🇻🇺', '🇼🇫', '🇼🇸', '🇽🇰', '🇾🇪', '🇾🇹', '🇿🇦', '🇿🇲', '🇿🇼']
22942
+ }, {
22943
+ key: 'subdivision-flag',
22944
+ array: ['🏴󠁧󠁢󠁥󠁮󠁧󠁿', '🏴󠁧󠁢󠁳󠁣󠁴󠁿', '🏴󠁧󠁢󠁷󠁬󠁳󠁿']
22945
+ }]
22872
22946
  }, {
22873
22947
  key: 'Symbols',
22874
22948
  array: [{
@@ -22890,15 +22964,6 @@ var EMOJIS = [{
22890
22964
  key: 'other-symbol',
22891
22965
  array: ['♻️', '⚜️', '🔱', '📛', '🔰', '⭕', '✅', '☑️', '✔️', '✖️', '✖', '❌', '❎', '➕', '➖', '➗', '➰', '➿', '〽️', '✳️', '✴️', '❇️', '‼️', '⁉️', '❓', '❗']
22892
22966
  }]
22893
- }, {
22894
- key: 'Flags',
22895
- array: [{
22896
- key: 'country-flag',
22897
- array: ['🇦🇨', '🇦🇩', '🇦🇪', '🇦🇫', '🇦🇬', '🇦🇮', '🇦🇱', '🇦🇲', '🇦🇴', '🇦🇶', '🇦🇷', '🇦🇸', '🇦🇹', '🇦🇺', '🇦🇼', '🇦🇽', '🇦🇿', '🇧🇦', '🇧🇧', '🇧🇩', '🇧🇪', '🇧🇫', '🇧🇬', '🇧🇭', '🇧🇮', '🇧🇯', '🇧🇱', '🇧🇲', '🇧🇳', '🇧🇴', '🇧🇶', '🇧🇷', '🇧🇸', '🇧🇹', '🇧🇻', '🇧🇼', '🇧🇾', '🇧🇿', '🇨🇦', '🇨🇨', '🇨🇩', '🇨🇫', '🇨🇬', '🇨🇭', '🇨🇮', '🇨🇰', '🇨🇱', '🇨🇲', '🇨🇳', '🇨🇴', '🇨🇵', '🇨🇷', '🇨🇺', '🇨🇻', '🇨🇼', '🇨🇽', '🇨🇾', '🇨🇿', '🇩🇪', '🇩🇬', '🇩🇯', '🇩🇰', '🇩🇲', '🇩🇴', '🇩🇿', '🇪🇦', '🇪🇨', '🇪🇪', '🇪🇬', '🇪🇭', '🇪🇷', '🇪🇸', '🇪🇹', '🇪🇺', '🇫🇮', '🇫🇯', '🇫🇰', '🇫🇲', '🇫🇴', '🇫🇷', '🇬🇦', '🇬🇧', '🇬🇩', '🇬🇪', '🇬🇫', '🇬🇬', '🇬🇭', '🇬🇮', '🇬🇱', '🇬🇲', '🇬🇳', '🇬🇵', '🇬🇶', '🇬🇷', '🇬🇸', '🇬🇹', '🇬🇺', '🇬🇼', '🇬🇾', '🇭🇰', '🇭🇲', '🇭🇳', '🇭🇷', '🇭🇹', '🇭🇺', '🇮🇨', '🇮🇩', '🇮🇪', '🇮🇱', '🇮🇲', '🇮🇳', '🇮🇴', '🇮🇶', '🇮🇷', '🇮🇸', '🇮🇹', '🇯🇪', '🇯🇲', '🇯🇴', '🇯🇵', '🇰🇪', '🇰🇬', '🇰🇭', '🇰🇮', '🇰🇲', '🇰🇳', '🇰🇵', '🇰🇷', '🇰🇼', '🇰🇾', '🇰🇿', '🇱🇦', '🇱🇧', '🇱🇨', '🇱🇮', '🇱🇰', '🇱🇷', '🇱🇸', '🇱🇹', '🇱🇺', '🇱🇻', '🇱🇾', '🇲🇦', '🇲🇨', '🇲🇩', '🇲🇪', '🇲🇫', '🇲🇬', '🇲🇭', '🇲🇰', '🇲🇱', '🇲🇲', '🇲🇳', '🇲🇴', '🇲🇵', '🇲🇶', '🇲🇷', '🇲🇸', '🇲🇹', '🇲🇺', '🇲🇻', '🇲🇼', '🇲🇽', '🇲🇾', '🇲🇿', '🇳🇦', '🇳🇨', '🇳🇪', '🇳🇫', '🇳🇬', '🇳🇮', '🇳🇱', '🇳🇴', '🇳🇵', '🇳🇷', '🇳🇺', '🇳🇿', '🇴🇲', '🇵🇦', '🇵🇪', '🇵🇫', '🇵🇬', '🇵🇭', '🇵🇰', '🇵🇱', '🇵🇲', '🇵🇳', '🇵🇷', '🇵🇸', '🇵🇹', '🇵🇼', '🇵🇾', '🇶🇦', '🇷🇪', '🇷🇴', '🇷🇸', '🇷🇺', '🇷🇼', '🇸🇦', '🇸🇧', '🇸🇨', '🇸🇩', '🇸🇪', '🇸🇬', '🇸🇭', '🇸🇮', '🇸🇯', '🇸🇰', '🇸🇱', '🇸🇲', '🇸🇳', '🇸🇴', '🇸🇷', '🇸🇸', '🇸🇹', '🇸🇻', '🇸🇽', '🇸🇾', '🇸🇿', '🇹🇦', '🇹🇨', '🇹🇩', '🇹🇫', '🇹🇬', '🇹🇭', '🇹🇯', '🇹🇰', '🇹🇱', '🇹🇲', '🇹🇳', '🇹🇴', '🇹🇷', '🇹🇹', '🇹🇻', '🇹🇼', '🇹🇿', '🇺🇦', '🇺🇬', '🇺🇲', '🇺🇳', '🇺🇸', '🇺🇾', '🇺🇿', '🇻🇦', '🇻🇨', '🇻🇪', '🇻🇬', '🇻🇮', '🇻🇳', '🇻🇺', '🇼🇫', '🇼🇸', '🇽🇰', '🇾🇪', '🇾🇹', '🇿🇦', '🇿🇲', '🇿🇼']
22898
- }, {
22899
- key: 'subdivision-flag',
22900
- array: ['🏴󠁧󠁢󠁥󠁮󠁧󠁿', '🏴󠁧󠁢󠁳󠁣󠁴󠁿', '🏴󠁧󠁢󠁷󠁬󠁳󠁿']
22901
- }]
22902
22967
  }];
22903
22968
 
22904
22969
  var _templateObject$q, _templateObject2$n, _templateObject3$i, _templateObject4$e, _templateObject5$c, _templateObject6$b, _templateObject7$9, _templateObject8$8;
@@ -22922,12 +22987,12 @@ var EmojiIcon = function EmojiIcon(_ref) {
22922
22987
  case 'Objects':
22923
22988
  return React__default.createElement(SvgEmojiObjectIcon, null);
22924
22989
 
22925
- case 'Symbols':
22926
- return React__default.createElement(SvgEmojiSymbolsIcon, null);
22927
-
22928
22990
  case 'Flags':
22929
22991
  return React__default.createElement(SvgEmojiFlagicon, null);
22930
22992
 
22993
+ case 'Symbols':
22994
+ return React__default.createElement(SvgEmojiSymbolsIcon, null);
22995
+
22931
22996
  default:
22932
22997
  return null;
22933
22998
  }
@@ -22940,8 +23005,9 @@ function EmojisPopup(_ref2) {
22940
23005
  rightSide = _ref2.rightSide,
22941
23006
  bottomPosition = _ref2.bottomPosition,
22942
23007
  emojisContainerBorderRadius = _ref2.emojisContainerBorderRadius,
22943
- emojisCategoryIconsPosition = _ref2.emojisCategoryIconsPosition,
22944
- separateEmojiCategoriesWithTitle = _ref2.separateEmojiCategoriesWithTitle,
23008
+ _ref2$emojisCategoryI = _ref2.emojisCategoryIconsPosition,
23009
+ emojisCategoryIconsPosition = _ref2$emojisCategoryI === void 0 ? 'top' : _ref2$emojisCategoryI,
23010
+ fixEmojiCategoriesTitleOnTop = _ref2.fixEmojiCategoriesTitleOnTop,
22945
23011
  emojisPopupPosition = _ref2.emojisPopupPosition,
22946
23012
  relativePosition = _ref2.relativePosition;
22947
23013
 
@@ -22969,9 +23035,9 @@ function EmojisPopup(_ref2) {
22969
23035
  var scrollPos = emojiContainerRef.current.scrollTop;
22970
23036
 
22971
23037
  if (collectionHeights[6] < scrollPos) {
22972
- setActiveCollection('Flags');
22973
- } else if (collectionHeights[5] < scrollPos) {
22974
23038
  setActiveCollection('Symbols');
23039
+ } else if (collectionHeights[5] < scrollPos) {
23040
+ setActiveCollection('Flags');
22975
23041
  } else if (collectionHeights[4] < scrollPos) {
22976
23042
  setActiveCollection('Objects');
22977
23043
  } else if (collectionHeights[3] < scrollPos) {
@@ -23034,7 +23100,7 @@ function EmojisPopup(_ref2) {
23034
23100
  }, React__default.createElement(EmojiIcon, {
23035
23101
  collectionName: emoji.key
23036
23102
  }));
23037
- })), !separateEmojiCategoriesWithTitle && React__default.createElement(EmojiHeader, {
23103
+ })), fixEmojiCategoriesTitleOnTop && React__default.createElement(EmojiHeader, {
23038
23104
  padding: emojisCategoryIconsPosition !== 'top' ? '10px 18px 6px' : ''
23039
23105
  }, getEmojisCategoryTitle(activeCollection)), React__default.createElement(EmojiSection, {
23040
23106
  ref: emojiContainerRef,
@@ -23043,8 +23109,8 @@ function EmojisPopup(_ref2) {
23043
23109
  var mainCollectionKey = emojiBigCollection.key;
23044
23110
  return React__default.createElement(React__default.Fragment, {
23045
23111
  key: mainCollectionKey
23046
- }, separateEmojiCategoriesWithTitle && React__default.createElement(EmojiHeader, {
23047
- padding: '6px 8px'
23112
+ }, !fixEmojiCategoriesTitleOnTop && React__default.createElement(EmojiHeader, {
23113
+ padding: '6px 8px 0'
23048
23114
  }, getEmojisCategoryTitle(mainCollectionKey)), emojiBigCollection.array.map(function (emojiSmallCollection, bigIndex) {
23049
23115
  var label = emojiSmallCollection.key;
23050
23116
  var array = emojiSmallCollection.array;
@@ -23089,7 +23155,7 @@ var Container$c = styled__default.div(_templateObject$q || (_templateObject$q =
23089
23155
  }, function (props) {
23090
23156
  return props.bottomPosition;
23091
23157
  }, colors.gray1, function (props) {
23092
- return props.borderRadius || '6px';
23158
+ return props.borderRadius || '12px';
23093
23159
  }, colors.white, function (props) {
23094
23160
  return props.emojisPopupPosition === 'bottom' ? '0 0' : '0 100%';
23095
23161
  }, function (props) {
@@ -23098,12 +23164,12 @@ var Container$c = styled__default.div(_templateObject$q || (_templateObject$q =
23098
23164
  var EmojiHeader = styled__default.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteralLoose(["\n align-items: flex-end;\n font-style: normal;\n font-weight: 500;\n font-size: 12px;\n line-height: 22px;\n text-transform: uppercase;\n color: ", ";\n display: flex;\n padding: ", ";\n"])), colors.gray9, function (props) {
23099
23165
  return props.padding || '6px 18px';
23100
23166
  });
23101
- var EmojiSection = styled__default.div(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n height: 200px;\n overflow-x: hidden;\n"])));
23167
+ var EmojiSection = styled__default.div(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n height: 180px;\n overflow-x: hidden;\n"])));
23102
23168
  var EmojiCollection = styled__default.span(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n\n & > * {\n color: ", ";\n }\n"])), function (props) {
23103
23169
  return props.activeCollection ? colors.primary : colors.gray7;
23104
23170
  });
23105
23171
  var CollectionPointer = styled__default.span(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteralLoose([""])));
23106
- var AllEmojis = styled__default.ul(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n padding: 8px;\n margin: 0;\n"])));
23172
+ var AllEmojis = styled__default.ul(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n padding: 0 8px 8px;\n margin: 0;\n"])));
23107
23173
  var EmojiFooter = styled__default.div(_templateObject7$9 || (_templateObject7$9 = _taggedTemplateLiteralLoose(["\n height: 42px;\n display: flex;\n justify-content: space-around;\n align-items: center;\n border-top: ", ";\n border-bottom: ", ";\n padding: 0 10px;\n & > span {\n width: 100%;\n text-align: center;\n }\n"])), function (props) {
23108
23174
  return props.emojisCategoryIconsPosition !== 'top' && "1px solid " + colors.gray1;
23109
23175
  }, function (props) {
@@ -23111,10 +23177,10 @@ var EmojiFooter = styled__default.div(_templateObject7$9 || (_templateObject7$9
23111
23177
  });
23112
23178
  var Emoji = styled__default.li(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n width: 32px;\n height: 32px;\n margin: 0 2px;\n display: inline-block;\n box-sizing: border-box;\n border-radius: 50%;\n padding-top: 2px;\n text-align: center;\n background: transparent;\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla,\n twemoji mozilla, segoe ui symbol;\n & > * {\n font-size: 22px;\n }\n &:hover {\n background: #f5f5f8;\n }\n"])));
23113
23179
 
23114
- var _path$O;
23180
+ var _path$M;
23115
23181
 
23116
- function _extends$R() {
23117
- _extends$R = Object.assign ? Object.assign.bind() : function (target) {
23182
+ function _extends$Q() {
23183
+ _extends$Q = Object.assign ? Object.assign.bind() : function (target) {
23118
23184
  for (var i = 1; i < arguments.length; i++) {
23119
23185
  var source = arguments[i];
23120
23186
 
@@ -23127,17 +23193,17 @@ function _extends$R() {
23127
23193
 
23128
23194
  return target;
23129
23195
  };
23130
- return _extends$R.apply(this, arguments);
23196
+ return _extends$Q.apply(this, arguments);
23131
23197
  }
23132
23198
 
23133
23199
  function SvgPlus(props) {
23134
- return /*#__PURE__*/React.createElement("svg", _extends$R({
23200
+ return /*#__PURE__*/React.createElement("svg", _extends$Q({
23135
23201
  width: 20,
23136
23202
  height: 20,
23137
23203
  viewBox: "0 0 20.01 20.01",
23138
23204
  fill: "none",
23139
23205
  xmlns: "http://www.w3.org/2000/svg"
23140
- }, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
23206
+ }, props), _path$M || (_path$M = /*#__PURE__*/React.createElement("path", {
23141
23207
  d: "M10 3.778c.43 0 .778.348.778.778v4.666h4.666a.778.778 0 110 1.556h-4.666v4.666a.778.778 0 11-1.556 0v-4.666H4.556a.778.778 0 110-1.556h4.666V4.556c0-.43.348-.778.778-.778z",
23142
23208
  fill: "#818C99"
23143
23209
  })));
@@ -23276,7 +23342,7 @@ var EmojiItem = styled__default.span(_templateObject2$o || (_templateObject2$o =
23276
23342
  }, colors.gray5);
23277
23343
  var OpenMoreEmojis = styled__default.span(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 28px;\n height: 28px;\n background-color: ", ";\n cursor: pointer;\n\n & > svg {\n color: ", ";\n height: 18px;\n width: 18px;\n }\n border-radius: 50%;\n"])), colors.gray5, colors.gray4);
23278
23344
 
23279
- var _templateObject$s, _templateObject2$p, _templateObject3$k, _templateObject4$f, _templateObject5$d, _templateObject6$c, _templateObject7$a, _templateObject8$9, _templateObject9$7, _templateObject10$6, _templateObject11$4, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1;
23345
+ var _templateObject$s, _templateObject2$p, _templateObject3$k, _templateObject4$f, _templateObject5$d, _templateObject6$c, _templateObject7$a, _templateObject8$9, _templateObject9$7, _templateObject10$6, _templateObject11$4, _templateObject12$2, _templateObject13$2, _templateObject14$2, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23$1;
23280
23346
 
23281
23347
  var Message = function Message(_ref) {
23282
23348
  var message = _ref.message,
@@ -23346,7 +23412,8 @@ var Message = function Message(_ref) {
23346
23412
  staredIcon = _ref.staredIcon,
23347
23413
  reportIcon = _ref.reportIcon,
23348
23414
  reactionIconOrder = _ref.reactionIconOrder,
23349
- openFrequentlyUsedReactions = _ref.openFrequentlyUsedReactions,
23415
+ _ref$openFrequentlyUs = _ref.openFrequentlyUsedReactions,
23416
+ openFrequentlyUsedReactions = _ref$openFrequentlyUs === void 0 ? true : _ref$openFrequentlyUs,
23350
23417
  editIconOrder = _ref.editIconOrder,
23351
23418
  copyIconOrder = _ref.copyIconOrder,
23352
23419
  replyIconOrder = _ref.replyIconOrder,
@@ -23370,6 +23437,7 @@ var Message = function Message(_ref) {
23370
23437
  reactionsDisplayCount = _ref$reactionsDisplay === void 0 ? 5 : _ref$reactionsDisplay,
23371
23438
  _ref$showEachReaction = _ref.showEachReactionCount,
23372
23439
  showEachReactionCount = _ref$showEachReaction === void 0 ? true : _ref$showEachReaction,
23440
+ showTotalReactionCount = _ref.showTotalReactionCount,
23373
23441
  reactionItemBorder = _ref.reactionItemBorder,
23374
23442
  reactionItemBorderRadius = _ref.reactionItemBorderRadius,
23375
23443
  reactionItemBackground = _ref.reactionItemBackground,
@@ -23382,6 +23450,8 @@ var Message = function Message(_ref) {
23382
23450
  reactionsContainerBackground = _ref.reactionsContainerBackground,
23383
23451
  reactionsContainerPadding = _ref.reactionsContainerPadding,
23384
23452
  reactionsContainerTopPosition = _ref.reactionsContainerTopPosition,
23453
+ reactionsDetailsPopupBorderRadius = _ref.reactionsDetailsPopupBorderRadius,
23454
+ reactionsDetailsPopupHeaderItemsStyle = _ref.reactionsDetailsPopupHeaderItemsStyle,
23385
23455
  fileAttachmentsBoxWidth = _ref.fileAttachmentsBoxWidth,
23386
23456
  fileAttachmentsBoxBorder = _ref.fileAttachmentsBoxBorder,
23387
23457
  fileAttachmentsTitleColor = _ref.fileAttachmentsTitleColor,
@@ -23392,7 +23462,7 @@ var Message = function Message(_ref) {
23392
23462
  videoAttachmentMaxHeight = _ref.videoAttachmentMaxHeight,
23393
23463
  emojisCategoryIconsPosition = _ref.emojisCategoryIconsPosition,
23394
23464
  emojisContainerBorderRadius = _ref.emojisContainerBorderRadius,
23395
- separateEmojiCategoriesWithTitle = _ref.separateEmojiCategoriesWithTitle,
23465
+ fixEmojiCategoriesTitleOnTop = _ref.fixEmojiCategoriesTitleOnTop,
23396
23466
  sameUserMessageSpacing = _ref.sameUserMessageSpacing,
23397
23467
  differentUserMessageSpacing = _ref.differentUserMessageSpacing;
23398
23468
  var dispatch = reactRedux.useDispatch();
@@ -23666,6 +23736,7 @@ var Message = function Message(_ref) {
23666
23736
  }, [tabIsActive]);
23667
23737
  React.useEffect(function () {
23668
23738
  if (emojisPopupOpen) {
23739
+ console.log('messageItemRef.current.getBoundingClientRect().bottom. . .. ', messageItemRef.current.getBoundingClientRect().bottom);
23669
23740
  var bottomPos = messageItemRef.current ? messageItemRef.current.getBoundingClientRect().bottom : 0;
23670
23741
  var offsetBottom = window.innerHeight - bottomPos;
23671
23742
  setEmojisPopupPosition(offsetBottom < 300 ? 'top' : 'bottom');
@@ -23887,7 +23958,7 @@ var Message = function Message(_ref) {
23887
23958
  emojisPopupPosition: emojisPopupPosition,
23888
23959
  emojisCategoryIconsPosition: emojisCategoryIconsPosition,
23889
23960
  emojisContainerBorderRadius: emojisContainerBorderRadius,
23890
- separateEmojiCategoriesWithTitle: separateEmojiCategoriesWithTitle,
23961
+ fixEmojiCategoriesTitleOnTop: fixEmojiCategoriesTitleOnTop,
23891
23962
  rtlDirection: ownMessageOnRightSide && !message.incoming,
23892
23963
  handleEmojiPopupToggle: setEmojisPopupOpen,
23893
23964
  handleAddEmoji: handleReactionAddDelete
@@ -23917,7 +23988,9 @@ var Message = function Message(_ref) {
23917
23988
  messageId: message.id,
23918
23989
  handleReactionsPopupClose: handleToggleReactionsPopup,
23919
23990
  rtlDirection: ownMessageOnRightSide && !message.incoming,
23920
- handleAddDeleteEmoji: handleReactionAddDelete
23991
+ handleAddDeleteEmoji: handleReactionAddDelete,
23992
+ reactionsDetailsPopupBorderRadius: reactionsDetailsPopupBorderRadius,
23993
+ reactionsDetailsPopupHeaderItemsStyle: reactionsDetailsPopupHeaderItemsStyle
23921
23994
  }), reactionsList && reactionsList.length && React__default.createElement(ReactionsContainer, {
23922
23995
  id: message.id + "_reactions_container",
23923
23996
  border: reactionsContainerBorder,
@@ -23943,8 +24016,8 @@ var Message = function Message(_ref) {
23943
24016
  margin: reactionItemMargin,
23944
24017
  isLastReaction: reactionsCount === 1,
23945
24018
  fontSize: reactionsFontSize
23946
- }, React__default.createElement(MessageReactionKey, null, key + " " + (showEachReactionCount ? message.reactionScores[key] : '')));
23947
- }), reactionsCount && reactionsCount > 1 && React__default.createElement(MessageReaction, {
24019
+ }, React__default.createElement(MessageReactionKey, null, key, showEachReactionCount && React__default.createElement(ReactionItemCount, null, message.reactionScores[key], " ")));
24020
+ }), showTotalReactionCount && reactionsCount && reactionsCount > 1 && React__default.createElement(MessageReaction, {
23948
24021
  border: reactionItemBorder,
23949
24022
  borderRadius: reactionItemBorderRadius,
23950
24023
  backgroundColor: reactionItemBackground,
@@ -23969,13 +24042,14 @@ var Message = function Message(_ref) {
23969
24042
  title: 'Forward message'
23970
24043
  }));
23971
24044
  };
23972
- var MessageReactionKey = styled__default.span(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla,\n twemoji mozilla, segoe ui symbol;\n"])));
23973
- var MessageReaction = styled__default.span(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n //min-width: 23px;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: ", ";\n margin-right: ", ";\n border: ", ";\n border-color: ", ";\n color: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n font-size: ", ";\n line-height: ", ";\n padding: ", ";\n background-color: ", ";\n white-space: nowrap;\n"])), function (props) {
23974
- return props.margin || '0 6px 0 0';
24045
+ var MessageReactionKey = styled__default.span(_templateObject$s || (_templateObject$s = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n font-family: apple color emoji, segoe ui emoji, noto color emoji, android emoji, emojisymbols, emojione mozilla,\n twemoji mozilla, segoe ui symbol;\n"])));
24046
+ var ReactionItemCount = styled__default.span(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteralLoose(["\n margin-left: 2px;\n font-family: Inter, sans-serif;\n font-weight: 400;\n font-size: 14px;\n line-height: 16px;\n color: ", ";\n"])), colors.textColor1);
24047
+ var MessageReaction = styled__default.span(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n //min-width: 23px;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n margin: ", ";\n margin-right: ", ";\n border: ", ";\n border-color: ", ";\n color: ", ";\n box-sizing: border-box;\n border-radius: ", ";\n font-size: ", ";\n line-height: ", ";\n padding: ", ";\n background-color: ", ";\n white-space: nowrap;\n\n &:last-child {\n margin-right: 0;\n }\n"])), function (props) {
24048
+ return props.margin || '0 8px 0 0';
23975
24049
  }, function (props) {
23976
24050
  return props.isLastReaction && '0';
23977
24051
  }, function (props) {
23978
- return props.border || "1px solid " + colors.gray3;
24052
+ return props.border;
23979
24053
  }, function (props) {
23980
24054
  return props.self && colors.primary;
23981
24055
  }, function (props) {
@@ -23983,45 +24057,45 @@ var MessageReaction = styled__default.span(_templateObject2$p || (_templateObjec
23983
24057
  }, function (props) {
23984
24058
  return props.borderRadius || '16px';
23985
24059
  }, function (props) {
23986
- return props.fontSize || '13px';
24060
+ return props.fontSize || '18px';
23987
24061
  }, function (props) {
23988
- return props.fontSize || '13px';
24062
+ return props.fontSize || '18px';
23989
24063
  }, function (props) {
23990
- return props.padding || '2px 6px';
24064
+ return props.padding || '0';
23991
24065
  }, function (props) {
23992
- return props.backgroundColor || colors.white;
24066
+ return props.backgroundColor;
23993
24067
  });
23994
- var ThreadMessageCountContainer = styled__default.div(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteralLoose(["\n position: relative;\n color: ", ";\n font-weight: 500;\n font-size: 13px;\n line-height: 15px;\n margin: 12px;\n cursor: pointer;\n\n &::before {\n content: '';\n position: absolute;\n left: -25px;\n top: -21px;\n width: 16px;\n height: 26px;\n border-left: 2px solid #cdcdcf;\n border-bottom: 2px solid #cdcdcf;\n border-radius: 0 0 0 14px;\n }\n"])), colors.primary);
23995
- var FailedMessageIcon = styled__default.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -6px;\n left: ", ";\n right: ", ";\n width: 20px;\n height: 20px;\n"])), function (props) {
24068
+ var ThreadMessageCountContainer = styled__default.div(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteralLoose(["\n position: relative;\n color: ", ";\n font-weight: 500;\n font-size: 13px;\n line-height: 15px;\n margin: 12px;\n cursor: pointer;\n\n &::before {\n content: '';\n position: absolute;\n left: -25px;\n top: -21px;\n width: 16px;\n height: 26px;\n border-left: 2px solid #cdcdcf;\n border-bottom: 2px solid #cdcdcf;\n border-radius: 0 0 0 14px;\n }\n"])), colors.primary);
24069
+ var FailedMessageIcon = styled__default.div(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: -6px;\n left: ", ";\n right: ", ";\n width: 20px;\n height: 20px;\n"])), function (props) {
23996
24070
  return !props.rtl && '-24px';
23997
24071
  }, function (props) {
23998
24072
  return props.rtl && '-24px';
23999
24073
  });
24000
- var ErrorIconWrapper = styled__default(SvgErrorIcon)(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n"])));
24001
- var ReactionsContainer = styled__default.div(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n margin-left: ", ";\n margin-right: ", ";\n\n margin-top: 4px;\n justify-content: flex-end;\n border: ", ";\n box-shadow: ", ";\n border-radius: ", ";\n background-color: ", ";\n padding: ", ";\n z-index: 9;\n ", ";\n"])), function (props) {
24074
+ var ErrorIconWrapper = styled__default(SvgErrorIcon)(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteralLoose(["\n width: 20px;\n height: 20px;\n"])));
24075
+ var ReactionsContainer = styled__default.div(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n margin-left: ", ";\n margin-right: ", ";\n\n margin-top: 4px;\n justify-content: flex-end;\n border: ", ";\n box-shadow: ", ";\n filter: drop-shadow(0px 0px 2px rgba(17, 21, 57, 0.08));\n border-radius: ", ";\n background-color: ", ";\n padding: ", ";\n z-index: 9;\n ", ";\n"])), function (props) {
24002
24076
  return props.rtlDirection && 'auto';
24003
24077
  }, function (props) {
24004
24078
  return !props.rtlDirection && 'auto';
24005
24079
  }, function (props) {
24006
24080
  return props.border;
24007
24081
  }, function (props) {
24008
- return props.boxShadow;
24082
+ return props.boxShadow || '0px 4px 12px -2px rgba(17, 21, 57, 0.08)';
24009
24083
  }, function (props) {
24010
- return props.borderRadius;
24084
+ return props.borderRadius || '16px';
24011
24085
  }, function (props) {
24012
- return props.backgroundColor;
24086
+ return props.backgroundColor || colors.white;
24013
24087
  }, function (props) {
24014
- return props.padding;
24088
+ return props.padding || '4px 8px';
24015
24089
  }, function (props) {
24016
24090
  return props.topPosition && "\n position: relative;\n top: " + props.topPosition + ";\n ";
24017
24091
  });
24018
- var MessageReactionsCont = styled__default.div(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n max-width: 300px;\n //overflow-x: auto;\n direction: ", ";\n cursor: pointer;\n"])), function (props) {
24092
+ var MessageReactionsCont = styled__default.div(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-flex;\n max-width: 300px;\n //overflow-x: auto;\n direction: ", ";\n cursor: pointer;\n"])), function (props) {
24019
24093
  return props.rtlDirection && 'ltr';
24020
24094
  });
24021
- var MessageHeaderCont = styled__default.div(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: ", ";\n"])), function (props) {
24095
+ var MessageHeaderCont = styled__default.div(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: ", ";\n"])), function (props) {
24022
24096
  return props.withPadding && (props.isForwarded ? '8px 0 2px 12px' : !props.isReplied && !props.messageBody ? '8px 0 8px 12px' : '8px 0 0 12px');
24023
24097
  });
24024
- var ReplyMessageContainer = styled__default.div(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n border-left: 2px solid ", ";\n padding: 0 6px;\n position: relative;\n //margin: ", ";\n margin: ", ";\n margin-top: ", ";\n cursor: pointer;\n"])), function (props) {
24098
+ var ReplyMessageContainer = styled__default.div(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n display: flex;\n border-left: 2px solid ", ";\n padding: 0 6px;\n position: relative;\n //margin: ", ";\n margin: ", ";\n margin-top: ", ";\n cursor: pointer;\n"])), function (props) {
24025
24099
  return props.leftBorderColor || '#b8b9c2';
24026
24100
  }, function (props) {
24027
24101
  return props.withAttachments ? '8px 8px' : '0 0 8px';
@@ -24030,10 +24104,10 @@ var ReplyMessageContainer = styled__default.div(_templateObject9$7 || (_template
24030
24104
  }, function (props) {
24031
24105
  return !props.withSenderName && props.withAttachments && '8px';
24032
24106
  });
24033
- var ReplyMessageBody = styled__default.div(_templateObject10$6 || (_templateObject10$6 = _taggedTemplateLiteralLoose(["\n margin-top: auto;\n margin-bottom: auto;\n direction: ", ";\n max-width: 100%;\n"])), function (props) {
24107
+ var ReplyMessageBody = styled__default.div(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n margin-top: auto;\n margin-bottom: auto;\n direction: ", ";\n max-width: 100%;\n"])), function (props) {
24034
24108
  return props.rtlDirection ? 'initial' : '';
24035
24109
  });
24036
- var ForwardedTitle = styled__default.h3(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-weight: 500;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n //margin: ", ";\n margin: 0;\n padding: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n & > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n color: ", ";\n }\n"])), function (props) {
24110
+ var ForwardedTitle = styled__default.h3(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-weight: 500;\n font-size: 13px;\n line-height: 16px;\n color: ", ";\n //margin: ", ";\n margin: 0;\n padding: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n & > svg {\n margin-right: 4px;\n width: 16px;\n height: 16px;\n color: ", ";\n }\n"])), function (props) {
24037
24111
  return props.color || colors.primary;
24038
24112
  }, function (props) {
24039
24113
  return props.withAttachments && props.withBody ? '0' : '0 0 4px';
@@ -24046,14 +24120,14 @@ var ForwardedTitle = styled__default.h3(_templateObject11$4 || (_templateObject1
24046
24120
  }, function (props) {
24047
24121
  return props.color || colors.primary;
24048
24122
  });
24049
- var MessageStatus = styled__default.span(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-left: 4px;\n text-align: right;\n transform: translate(0px, -1px);\n height: 14px;\n //visibility: ", ";\n"])), function (_ref2) {
24123
+ var MessageStatus = styled__default.span(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n margin-left: 4px;\n text-align: right;\n transform: translate(0px, -1px);\n height: 14px;\n //visibility: ", ";\n"])), function (_ref2) {
24050
24124
  var lastMessage = _ref2.lastMessage;
24051
24125
  return lastMessage ? 'visible' : 'hidden';
24052
24126
  });
24053
- var HiddenMessageTime = styled__default.span(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteralLoose(["\n display: ", ";\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
24127
+ var HiddenMessageTime = styled__default.span(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n display: ", ";\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
24054
24128
  return props.hide && 'none';
24055
24129
  }, colors.gray9);
24056
- var MessageStatusAndTime = styled__default.div(_templateObject14$2 || (_templateObject14$2 = _taggedTemplateLiteralLoose(["\n display: ", ";\n align-items: flex-end;\n border-radius: 16px;\n padding: ", ";\n background-color: ", ";\n float: right;\n line-height: 14px;\n margin-right: ", ";\n margin-left: ", ";\n margin-bottom: ", ";\n direction: ", ";\n transform: translate(0px, 4px);\n white-space: nowrap;\n width: ", ";\n justify-content: ", ";\n & > svg {\n margin-left: 4px;\n transform: translate(0px, -1px);\n height: 14px;\n }\n\n & > ", " {\n color: ", ";\n }\n\n ", "\n"])), function (props) {
24130
+ var MessageStatusAndTime = styled__default.div(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n display: ", ";\n align-items: flex-end;\n border-radius: 16px;\n padding: ", ";\n background-color: ", ";\n float: right;\n line-height: 14px;\n margin-right: ", ";\n margin-left: ", ";\n margin-bottom: ", ";\n direction: ", ";\n transform: translate(0px, 4px);\n white-space: nowrap;\n width: ", ";\n justify-content: ", ";\n & > svg {\n margin-left: 4px;\n transform: translate(0px, -1px);\n height: 14px;\n }\n\n & > ", " {\n color: ", ";\n }\n\n ", "\n"])), function (props) {
24057
24131
  return props.hide ? 'none' : 'flex';
24058
24132
  }, function (props) {
24059
24133
  return props.withAttachment && '4px 6px';
@@ -24076,11 +24150,11 @@ var MessageStatusAndTime = styled__default.div(_templateObject14$2 || (_template
24076
24150
  }, function (props) {
24077
24151
  return props.withAttachment && "\n position: absolute;\n z-index: 3;\n right: " + (props.fileAttachment ? '6px' : '10px') + ";\n bottom: " + (props.fileAttachment ? '9px' : '14px') + ";\n ";
24078
24152
  });
24079
- var MessageStatusUpdated = styled__default.span(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n margin-right: 4px;\n font-style: italic;\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
24153
+ var MessageStatusUpdated = styled__default.span(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteralLoose(["\n margin-right: 4px;\n font-style: italic;\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n"])), function (props) {
24080
24154
  return props.color || colors.gray4;
24081
24155
  });
24082
- var MessageStatusDeleted = styled__default.span(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-style: italic;\n"])), colors.gray9);
24083
- var MessageBody = styled__default.div(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: ", ";\n //display: inline-block;\n border-radius: ", ";\n direction: ", ";\n max-width: ", ";\n padding: ", ";\n //direction: ", ";\n overflow: ", ";\n transition: all 0.3s;\n transform-origin: right;\n"])), function (props) {
24156
+ var MessageStatusDeleted = styled__default.span(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteralLoose(["\n color: ", ";\n font-style: italic;\n"])), colors.gray9);
24157
+ var MessageBody = styled__default.div(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n background-color: ", ";\n //display: inline-block;\n border-radius: ", ";\n direction: ", ";\n max-width: ", ";\n padding: ", ";\n //direction: ", ";\n overflow: ", ";\n transition: all 0.3s;\n transform-origin: right;\n"])), function (props) {
24084
24158
  return props.isSelfMessage ? props.ownMessageBackground : props.incomingMessageBackground;
24085
24159
  }, function (props) {
24086
24160
  return props.borderRadius || '4px 16px 16px 4px';
@@ -24095,7 +24169,7 @@ var MessageBody = styled__default.div(_templateObject17$2 || (_templateObject17$
24095
24169
  }, function (props) {
24096
24170
  return props.noBody && 'hidden';
24097
24171
  });
24098
- var MessageContent = styled__default.div(_templateObject18$1 || (_templateObject18$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-right: ", ";\n //transform: ", ";\n max-width: ", ";\n\n display: flex;\n flex-direction: column;\n"])), function (props) {
24172
+ var MessageContent = styled__default.div(_templateObject19$1 || (_templateObject19$1 = _taggedTemplateLiteralLoose(["\n position: relative;\n margin-left: ", ";\n margin-right: ", ";\n //transform: ", ";\n max-width: ", ";\n\n display: flex;\n flex-direction: column;\n"])), function (props) {
24099
24173
  return props.withAvatar && '13px';
24100
24174
  }, function (props) {
24101
24175
  return props.withAvatar && '13px';
@@ -24104,10 +24178,10 @@ var MessageContent = styled__default.div(_templateObject18$1 || (_templateObject
24104
24178
  }, function (props) {
24105
24179
  return props.messageWidthPercent ? props.messageWidthPercent + "%" : '100%';
24106
24180
  });
24107
- var VoiceIconWrapper = styled__default(SvgVoiceIcon)(_templateObject19$1 || (_templateObject19$1 = _taggedTemplateLiteralLoose(["\n transform: translate(0px, 3.5px);\n color: ", ";\n"])), function (props) {
24181
+ var VoiceIconWrapper = styled__default(SvgVoiceIcon)(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n transform: translate(0px, 3.5px);\n color: ", ";\n"])), function (props) {
24108
24182
  return props.color || colors.primary;
24109
24183
  });
24110
- var MessageItem = styled__default.div(_templateObject20$1 || (_templateObject20$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n margin-top: ", ";\n margin-bottom: ", ";\n padding: 0 4%;\n padding-left: ", ";\n padding-right: ", ";\n transition: all 0.2s;\n width: 100%;\n box-sizing: border-box;\n\n ", "\n /* &:last-child {\n margin-bottom: 0;\n }*/\n\n &:hover {\n background-color: ", ";\n }\n\n &:hover ", " {\n display: inline-block;\n }\n &:hover ", " {\n display: flex;\n }\n\n &:hover ", " {\n visibility: visible;\n }\n"])), function (props) {
24184
+ var MessageItem = styled__default.div(_templateObject21$1 || (_templateObject21$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n margin-top: ", ";\n margin-bottom: ", ";\n padding: 0 4%;\n padding-left: ", ";\n padding-right: ", ";\n transition: all 0.2s;\n width: 100%;\n box-sizing: border-box;\n\n ", "\n /* &:last-child {\n margin-bottom: 0;\n }*/\n\n &:hover {\n background-color: ", ";\n }\n\n &:hover ", " {\n display: inline-block;\n }\n &:hover ", " {\n display: flex;\n }\n\n &:hover ", " {\n visibility: visible;\n }\n"])), function (props) {
24111
24185
  return props.topMargin || '12px';
24112
24186
  }, function (props) {
24113
24187
  return props.bottomMargin;
@@ -24120,23 +24194,27 @@ var MessageItem = styled__default.div(_templateObject20$1 || (_templateObject20$
24120
24194
  }, function (props) {
24121
24195
  return props.hoverBackground || '';
24122
24196
  }, HiddenMessageTime, MessageStatusAndTime, MessageStatus);
24123
- var EmojiContainer = styled__default.div(_templateObject21$1 || (_templateObject21$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n top: ", ";\n z-index: 99;\n"])), function (props) {
24197
+ var EmojiContainer = styled__default.div(_templateObject22$1 || (_templateObject22$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n //top: ", ";\n top: ", ";\n bottom: ", ";\n z-index: 99;\n"])), function (props) {
24124
24198
  return props.rtlDirection ? '' : '0';
24125
24199
  }, function (props) {
24126
24200
  return props.rtlDirection && '0';
24127
24201
  }, function (props) {
24128
24202
  return props.position === 'top' ? '-250px' : 'calc(100% + 6px)';
24203
+ }, function (props) {
24204
+ return props.position === 'bottom' && 'calc(100% + 4px)';
24205
+ }, function (props) {
24206
+ return props.position === 'top' && 'calc(100% + 4px)';
24129
24207
  });
24130
- var FrequentlyEmojisContainer = styled__default.div(_templateObject22$1 || (_templateObject22$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n top: -50px;\n z-index: 99;\n"])), function (props) {
24208
+ var FrequentlyEmojisContainer = styled__default.div(_templateObject23$1 || (_templateObject23$1 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: ", ";\n right: ", ";\n top: -50px;\n z-index: 99;\n"])), function (props) {
24131
24209
  return props.rtlDirection ? '' : '0';
24132
24210
  }, function (props) {
24133
24211
  return props.rtlDirection && '0';
24134
24212
  });
24135
24213
 
24136
- var _path$P;
24214
+ var _path$N;
24137
24215
 
24138
- function _extends$S() {
24139
- _extends$S = Object.assign ? Object.assign.bind() : function (target) {
24216
+ function _extends$R() {
24217
+ _extends$R = Object.assign ? Object.assign.bind() : function (target) {
24140
24218
  for (var i = 1; i < arguments.length; i++) {
24141
24219
  var source = arguments[i];
24142
24220
 
@@ -24149,17 +24227,17 @@ function _extends$S() {
24149
24227
 
24150
24228
  return target;
24151
24229
  };
24152
- return _extends$S.apply(this, arguments);
24230
+ return _extends$R.apply(this, arguments);
24153
24231
  }
24154
24232
 
24155
24233
  function SvgSliderButtonRight(props) {
24156
- return /*#__PURE__*/React.createElement("svg", _extends$S({
24234
+ return /*#__PURE__*/React.createElement("svg", _extends$R({
24157
24235
  width: 28,
24158
24236
  height: 28,
24159
24237
  viewBox: "0 0 28.01 28.01",
24160
24238
  fill: "none",
24161
24239
  xmlns: "http://www.w3.org/2000/svg"
24162
- }, props), _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
24240
+ }, props), _path$N || (_path$N = /*#__PURE__*/React.createElement("path", {
24163
24241
  fillRule: "evenodd",
24164
24242
  clipRule: "evenodd",
24165
24243
  d: "M9.846 5.763a1.75 1.75 0 012.475 0l7 7a1.75 1.75 0 010 2.474l-7 7a1.75 1.75 0 11-2.475-2.474L15.61 14 9.846 8.237a1.75 1.75 0 010-2.474z",
@@ -24167,10 +24245,10 @@ function SvgSliderButtonRight(props) {
24167
24245
  })));
24168
24246
  }
24169
24247
 
24170
- var _path$Q;
24248
+ var _path$O;
24171
24249
 
24172
- function _extends$T() {
24173
- _extends$T = Object.assign ? Object.assign.bind() : function (target) {
24250
+ function _extends$S() {
24251
+ _extends$S = Object.assign ? Object.assign.bind() : function (target) {
24174
24252
  for (var i = 1; i < arguments.length; i++) {
24175
24253
  var source = arguments[i];
24176
24254
 
@@ -24183,17 +24261,17 @@ function _extends$T() {
24183
24261
 
24184
24262
  return target;
24185
24263
  };
24186
- return _extends$T.apply(this, arguments);
24264
+ return _extends$S.apply(this, arguments);
24187
24265
  }
24188
24266
 
24189
24267
  function SvgSliderButtonLeft(props) {
24190
- return /*#__PURE__*/React.createElement("svg", _extends$T({
24268
+ return /*#__PURE__*/React.createElement("svg", _extends$S({
24191
24269
  width: 28,
24192
24270
  height: 28,
24193
24271
  viewBox: "0 0 28.01 28.01",
24194
24272
  fill: "none",
24195
24273
  xmlns: "http://www.w3.org/2000/svg"
24196
- }, props), _path$Q || (_path$Q = /*#__PURE__*/React.createElement("path", {
24274
+ }, props), _path$O || (_path$O = /*#__PURE__*/React.createElement("path", {
24197
24275
  fillRule: "evenodd",
24198
24276
  clipRule: "evenodd",
24199
24277
  d: "M18.154 5.763a1.75 1.75 0 00-2.475 0l-7 7a1.75 1.75 0 000 2.474l7 7a1.75 1.75 0 102.475-2.474L12.392 14l5.762-5.763a1.75 1.75 0 000-2.474z",
@@ -24201,10 +24279,10 @@ function SvgSliderButtonLeft(props) {
24201
24279
  })));
24202
24280
  }
24203
24281
 
24204
- var _path$R;
24282
+ var _path$P;
24205
24283
 
24206
- function _extends$U() {
24207
- _extends$U = Object.assign ? Object.assign.bind() : function (target) {
24284
+ function _extends$T() {
24285
+ _extends$T = Object.assign ? Object.assign.bind() : function (target) {
24208
24286
  for (var i = 1; i < arguments.length; i++) {
24209
24287
  var source = arguments[i];
24210
24288
 
@@ -24217,26 +24295,26 @@ function _extends$U() {
24217
24295
 
24218
24296
  return target;
24219
24297
  };
24220
- return _extends$U.apply(this, arguments);
24298
+ return _extends$T.apply(this, arguments);
24221
24299
  }
24222
24300
 
24223
24301
  function SvgVideoPlayerPlay(props) {
24224
- return /*#__PURE__*/React.createElement("svg", _extends$U({
24302
+ return /*#__PURE__*/React.createElement("svg", _extends$T({
24225
24303
  width: 20,
24226
24304
  height: 20,
24227
24305
  viewBox: "0 0 20.01 20.01",
24228
24306
  fill: "none",
24229
24307
  xmlns: "http://www.w3.org/2000/svg"
24230
- }, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
24308
+ }, props), _path$P || (_path$P = /*#__PURE__*/React.createElement("path", {
24231
24309
  d: "M16.28 8.913c.793.48.793 1.692 0 2.172l-8.265 4.997c-.787.475-1.765-.126-1.765-1.086V5.002c0-.96.979-1.561 1.765-1.086l8.265 4.997z",
24232
24310
  fill: "#fff"
24233
24311
  })));
24234
24312
  }
24235
24313
 
24236
- var _path$S;
24314
+ var _path$Q;
24237
24315
 
24238
- function _extends$V() {
24239
- _extends$V = Object.assign ? Object.assign.bind() : function (target) {
24316
+ function _extends$U() {
24317
+ _extends$U = Object.assign ? Object.assign.bind() : function (target) {
24240
24318
  for (var i = 1; i < arguments.length; i++) {
24241
24319
  var source = arguments[i];
24242
24320
 
@@ -24249,26 +24327,26 @@ function _extends$V() {
24249
24327
 
24250
24328
  return target;
24251
24329
  };
24252
- return _extends$V.apply(this, arguments);
24330
+ return _extends$U.apply(this, arguments);
24253
24331
  }
24254
24332
 
24255
24333
  function SvgVideoPlayerPause(props) {
24256
- return /*#__PURE__*/React.createElement("svg", _extends$V({
24334
+ return /*#__PURE__*/React.createElement("svg", _extends$U({
24257
24335
  width: 20,
24258
24336
  height: 20,
24259
24337
  viewBox: "0 0 20.01 20.01",
24260
24338
  fill: "none",
24261
24339
  xmlns: "http://www.w3.org/2000/svg"
24262
- }, props), _path$S || (_path$S = /*#__PURE__*/React.createElement("path", {
24340
+ }, props), _path$Q || (_path$Q = /*#__PURE__*/React.createElement("path", {
24263
24341
  d: "M7.468 3.75c.446 0 .607.046.77.134.163.087.291.215.378.378.088.163.134.324.134.77v9.936c0 .446-.046.607-.134.77a.908.908 0 01-.378.378c-.163.088-.324.134-.77.134H6.282c-.446 0-.607-.046-.77-.134a.908.908 0 01-.378-.378c-.088-.162-.134-.324-.134-.77V5.032c0-.446.046-.607.134-.77a.909.909 0 01.378-.378c.163-.088.324-.134.77-.134h1.186zm6.25 0c.446 0 .607.046.77.134.163.087.291.215.378.378.088.163.134.324.134.77v9.936c0 .446-.046.607-.134.77a.908.908 0 01-.378.378c-.162.088-.324.134-.77.134h-1.186c-.446 0-.607-.046-.77-.134a.908.908 0 01-.378-.378c-.088-.162-.134-.324-.134-.77V5.032c0-.446.046-.607.134-.77a.908.908 0 01.378-.378c.162-.088.324-.134.77-.134h1.186z",
24264
24342
  fill: "#fff"
24265
24343
  })));
24266
24344
  }
24267
24345
 
24268
- var _path$T;
24346
+ var _path$R;
24269
24347
 
24270
- function _extends$W() {
24271
- _extends$W = Object.assign ? Object.assign.bind() : function (target) {
24348
+ function _extends$V() {
24349
+ _extends$V = Object.assign ? Object.assign.bind() : function (target) {
24272
24350
  for (var i = 1; i < arguments.length; i++) {
24273
24351
  var source = arguments[i];
24274
24352
 
@@ -24281,26 +24359,26 @@ function _extends$W() {
24281
24359
 
24282
24360
  return target;
24283
24361
  };
24284
- return _extends$W.apply(this, arguments);
24362
+ return _extends$V.apply(this, arguments);
24285
24363
  }
24286
24364
 
24287
24365
  function SvgVolume(props) {
24288
- return /*#__PURE__*/React.createElement("svg", _extends$W({
24366
+ return /*#__PURE__*/React.createElement("svg", _extends$V({
24289
24367
  width: 20,
24290
24368
  height: 20,
24291
24369
  viewBox: "0 0 20.01 20.01",
24292
24370
  fill: "none",
24293
24371
  xmlns: "http://www.w3.org/2000/svg"
24294
- }, props), _path$T || (_path$T = /*#__PURE__*/React.createElement("path", {
24372
+ }, props), _path$R || (_path$R = /*#__PURE__*/React.createElement("path", {
24295
24373
  d: "M11.667 2.5c.46 0 .833.373.833.833v13.334c0 .46-.373.833-.833.833a2.062 2.062 0 01-1.433-.579L5.66 12.5H3.334c-.92 0-1.667-.746-1.667-1.667V9.167c0-.92.746-1.667 1.667-1.667h2.304l4.595-4.422c.385-.37.9-.578 1.434-.578zm4.487 2.786a.75.75 0 011.06 0 6.667 6.667 0 010 9.428.75.75 0 01-1.06-1.06 5.167 5.167 0 000-7.307.75.75 0 010-1.061zm-2.122 2.121a.75.75 0 011.061 0 3.667 3.667 0 010 5.186.75.75 0 01-1.06-1.06 2.167 2.167 0 000-3.065.75.75 0 010-1.06z",
24296
24374
  fill: "#fff"
24297
24375
  })));
24298
24376
  }
24299
24377
 
24300
- var _path$U;
24378
+ var _path$S;
24301
24379
 
24302
- function _extends$X() {
24303
- _extends$X = Object.assign ? Object.assign.bind() : function (target) {
24380
+ function _extends$W() {
24381
+ _extends$W = Object.assign ? Object.assign.bind() : function (target) {
24304
24382
  for (var i = 1; i < arguments.length; i++) {
24305
24383
  var source = arguments[i];
24306
24384
 
@@ -24313,26 +24391,26 @@ function _extends$X() {
24313
24391
 
24314
24392
  return target;
24315
24393
  };
24316
- return _extends$X.apply(this, arguments);
24394
+ return _extends$W.apply(this, arguments);
24317
24395
  }
24318
24396
 
24319
24397
  function SvgVolumeMute(props) {
24320
- return /*#__PURE__*/React.createElement("svg", _extends$X({
24398
+ return /*#__PURE__*/React.createElement("svg", _extends$W({
24321
24399
  width: 20,
24322
24400
  height: 20,
24323
24401
  viewBox: "0 0 20.01 20.01",
24324
24402
  fill: "none",
24325
24403
  xmlns: "http://www.w3.org/2000/svg"
24326
- }, props), _path$U || (_path$U = /*#__PURE__*/React.createElement("path", {
24404
+ }, props), _path$S || (_path$S = /*#__PURE__*/React.createElement("path", {
24327
24405
  d: "M4.763 2.746l11.655 11.658a.833.833 0 01-1.1 1.248l-.078-.07-2.74-2.74v3.825c0 .427-.321.78-.736.827l-.097.006a2.062 2.062 0 01-1.433-.579L5.66 12.5H3.334c-.92 0-1.667-.746-1.667-1.667V9.167c0-.92.746-1.667 1.667-1.667h2.304l.775-.747-2.829-2.828a.833.833 0 011.179-1.179zm6.904-.246c.46 0 .833.373.833.833v4.8L8.812 4.445l1.421-1.367a2.068 2.068 0 011.274-.572l.16-.006z",
24328
24406
  fill: "#fff"
24329
24407
  })));
24330
24408
  }
24331
24409
 
24332
- var _path$V;
24410
+ var _path$T;
24333
24411
 
24334
- function _extends$Y() {
24335
- _extends$Y = Object.assign ? Object.assign.bind() : function (target) {
24412
+ function _extends$X() {
24413
+ _extends$X = Object.assign ? Object.assign.bind() : function (target) {
24336
24414
  for (var i = 1; i < arguments.length; i++) {
24337
24415
  var source = arguments[i];
24338
24416
 
@@ -24345,17 +24423,17 @@ function _extends$Y() {
24345
24423
 
24346
24424
  return target;
24347
24425
  };
24348
- return _extends$Y.apply(this, arguments);
24426
+ return _extends$X.apply(this, arguments);
24349
24427
  }
24350
24428
 
24351
24429
  function SvgFullscreen(props) {
24352
- return /*#__PURE__*/React.createElement("svg", _extends$Y({
24430
+ return /*#__PURE__*/React.createElement("svg", _extends$X({
24353
24431
  width: 20,
24354
24432
  height: 20,
24355
24433
  viewBox: "0 0 20.01 20.01",
24356
24434
  fill: "none",
24357
24435
  xmlns: "http://www.w3.org/2000/svg"
24358
- }, props), _path$V || (_path$V = /*#__PURE__*/React.createElement("path", {
24436
+ }, props), _path$T || (_path$T = /*#__PURE__*/React.createElement("path", {
24359
24437
  fillRule: "evenodd",
24360
24438
  clipRule: "evenodd",
24361
24439
  d: "M11.875 3.344c0-.466.378-.844.844-.844h3.937c.466 0 .844.378.844.844V7.28a.844.844 0 01-1.688 0v-1.9l-3.434 3.434a.844.844 0 01-1.193-1.193l3.434-3.434h-1.9a.844.844 0 01-.844-.844zM8.815 11.185c.33.33.33.863 0 1.193l-3.434 3.434H7.28a.844.844 0 010 1.688H3.344a.844.844 0 01-.844-.844V12.72a.844.844 0 111.688 0v1.9l3.434-3.434a.844.844 0 011.193 0z",
@@ -24363,10 +24441,10 @@ function SvgFullscreen(props) {
24363
24441
  })));
24364
24442
  }
24365
24443
 
24366
- var _path$W;
24444
+ var _path$U;
24367
24445
 
24368
- function _extends$Z() {
24369
- _extends$Z = Object.assign ? Object.assign.bind() : function (target) {
24446
+ function _extends$Y() {
24447
+ _extends$Y = Object.assign ? Object.assign.bind() : function (target) {
24370
24448
  for (var i = 1; i < arguments.length; i++) {
24371
24449
  var source = arguments[i];
24372
24450
 
@@ -24379,17 +24457,17 @@ function _extends$Z() {
24379
24457
 
24380
24458
  return target;
24381
24459
  };
24382
- return _extends$Z.apply(this, arguments);
24460
+ return _extends$Y.apply(this, arguments);
24383
24461
  }
24384
24462
 
24385
24463
  function SvgFullscreenExit(props) {
24386
- return /*#__PURE__*/React.createElement("svg", _extends$Z({
24464
+ return /*#__PURE__*/React.createElement("svg", _extends$Y({
24387
24465
  width: 20,
24388
24466
  height: 20,
24389
24467
  viewBox: "0 0 20.01 20.01",
24390
24468
  fill: "none",
24391
24469
  xmlns: "http://www.w3.org/2000/svg"
24392
- }, props), _path$W || (_path$W = /*#__PURE__*/React.createElement("path", {
24470
+ }, props), _path$U || (_path$U = /*#__PURE__*/React.createElement("path", {
24393
24471
  fillRule: "evenodd",
24394
24472
  clipRule: "evenodd",
24395
24473
  d: "M3.438 11.781c0-.466.377-.844.843-.844H8.22c.466 0 .844.378.844.844v3.938a.844.844 0 01-1.688 0v-1.9L3.94 17.252a.844.844 0 11-1.193-1.193l3.435-3.435h-1.9a.844.844 0 01-.844-.844zM17.253 2.747c.33.33.33.864 0 1.193l-3.435 3.435h1.899a.844.844 0 110 1.688h-3.936a.844.844 0 01-.844-.844V4.28a.844.844 0 011.688 0v1.9l3.435-3.434a.844.844 0 011.193 0z",
@@ -24645,35 +24723,38 @@ var SliderPopup = function SliderPopup(_ref) {
24645
24723
  currentFile = _useState[0],
24646
24724
  setCurrentFile = _useState[1];
24647
24725
 
24648
- var _useState2 = React.useState([]),
24649
- attachmentsList = _useState2[0],
24650
- setAttachmentsList = _useState2[1];
24726
+ var _useState2 = React.useState({}),
24727
+ downloadingFilesMap = _useState2[0],
24728
+ setDownloadingFilesMap = _useState2[1];
24651
24729
 
24652
- var _useState3 = React.useState(true),
24653
- imageLoading = _useState3[0],
24654
- setImageLoading = _useState3[1];
24730
+ var _useState3 = React.useState([]),
24731
+ attachmentsList = _useState3[0],
24732
+ setAttachmentsList = _useState3[1];
24655
24733
 
24656
- var _useState4 = React.useState({}),
24657
- downloadedFiles = _useState4[0],
24658
- setDownloadedFiles = _useState4[1];
24734
+ var _useState4 = React.useState(true),
24735
+ imageLoading = _useState4[0],
24736
+ setImageLoading = _useState4[1];
24659
24737
 
24660
- var _useState5 = React.useState(),
24661
- playedVideo = _useState5[0],
24662
- setPlayedVideo = _useState5[1];
24738
+ var _useState5 = React.useState({}),
24739
+ downloadedFiles = _useState5[0],
24740
+ setDownloadedFiles = _useState5[1];
24663
24741
 
24664
- var _useState6 = React.useState(true),
24665
- nextButtonDisabled = _useState6[0],
24666
- setNextButtonDisabled = _useState6[1];
24742
+ var _useState6 = React.useState(),
24743
+ playedVideo = _useState6[0],
24744
+ setPlayedVideo = _useState6[1];
24667
24745
 
24668
24746
  var _useState7 = React.useState(true),
24669
- prevButtonDisabled = _useState7[0],
24670
- setPrevButtonDisabled = _useState7[1];
24747
+ nextButtonDisabled = _useState7[0],
24748
+ setNextButtonDisabled = _useState7[1];
24671
24749
 
24672
- var _useState8 = React.useState(false),
24673
- visibleSlide = _useState8[0],
24674
- setVisibleSlide = _useState8[1];
24750
+ var _useState8 = React.useState(true),
24751
+ prevButtonDisabled = _useState8[0],
24752
+ setPrevButtonDisabled = _useState8[1];
24753
+
24754
+ var _useState9 = React.useState(false),
24755
+ visibleSlide = _useState9[0],
24756
+ setVisibleSlide = _useState9[1];
24675
24757
 
24676
- var customUploader = getCustomUploader();
24677
24758
  var customDownloader = getCustomDownloader();
24678
24759
  var contactsMap = reactRedux.useSelector(contactsMapSelector);
24679
24760
  var attachments = reactRedux.useSelector(attachmentsForPopupSelector, reactRedux.shallowEqual) || [];
@@ -24704,6 +24785,29 @@ var SliderPopup = function SliderPopup(_ref) {
24704
24785
  };
24705
24786
  };
24706
24787
 
24788
+ var handleCompleteDownload = function handleCompleteDownload(attachmentId, failed) {
24789
+ if (failed) {
24790
+ console.log('file download failed!');
24791
+ }
24792
+
24793
+ var stateCopy = _extends({}, downloadingFilesMap);
24794
+
24795
+ delete stateCopy[attachmentId];
24796
+ setDownloadingFilesMap(stateCopy);
24797
+ };
24798
+
24799
+ var handleDownloadFile = function handleDownloadFile(attachment) {
24800
+ if (attachment.id) {
24801
+ setDownloadingFilesMap(function (prevState) {
24802
+ var _extends3;
24803
+
24804
+ return _extends({}, prevState, (_extends3 = {}, _extends3[attachment.id] = true, _extends3));
24805
+ });
24806
+ }
24807
+
24808
+ downloadFile(attachment, handleCompleteDownload);
24809
+ };
24810
+
24707
24811
  var handleClicks = function handleClicks(e) {
24708
24812
  if (!e.target.closest('.custom_carousel_item') && !e.target.closest('.custom_carousel_arrow')) {
24709
24813
  handleClosePopup();
@@ -24711,16 +24815,18 @@ var SliderPopup = function SliderPopup(_ref) {
24711
24815
  };
24712
24816
 
24713
24817
  useDidUpdate(function () {
24714
- if (customUploader && currentFile) {
24715
- if (playedVideo) {
24716
- var videoElem = document.getElementById(playedVideo);
24818
+ if (playedVideo) {
24819
+ var videoElem = document.getElementById(playedVideo);
24717
24820
 
24718
- if (videoElem) {
24719
- videoElem.pause();
24720
- }
24821
+ if (videoElem) {
24822
+ videoElem.pause();
24721
24823
  }
24824
+ }
24825
+
24826
+ getAttachmentUrlFromCache(currentFile.id).then(function (cachedUrl) {
24827
+ if (currentFile) {
24828
+ console.log('cachedUrl. . . . .', cachedUrl);
24722
24829
 
24723
- getAttachmentUrlFromCache(currentFile.id).then(function (cachedUrl) {
24724
24830
  if (cachedUrl) {
24725
24831
  if (!downloadedFiles[currentFile.id]) {
24726
24832
  setVisibleSlide(false);
@@ -24728,21 +24834,21 @@ var SliderPopup = function SliderPopup(_ref) {
24728
24834
  if (currentFile.type === 'image') {
24729
24835
  downloadImage(cachedUrl, true);
24730
24836
  } else {
24731
- var _extends3;
24837
+ var _extends4;
24732
24838
 
24733
24839
  clearTimeout(visibilityTimeout.current);
24734
- setDownloadedFiles(_extends({}, downloadedFiles, (_extends3 = {}, _extends3[currentFile.id] = cachedUrl, _extends3)));
24840
+ setDownloadedFiles(_extends({}, downloadedFiles, (_extends4 = {}, _extends4[currentFile.id] = cachedUrl, _extends4)));
24735
24841
  setPlayedVideo(currentFile.id);
24736
24842
  visibilityTimeout.current = setTimeout(function () {
24737
24843
  setVisibleSlide(true);
24738
24844
  }, 100);
24739
24845
  }
24740
- }
24741
-
24742
- if (currentFile.type === 'image') {
24743
- downloadImage(cachedUrl);
24744
24846
  } else {
24745
- setVisibleSlide(true);
24847
+ if (currentFile.type === 'image') {
24848
+ downloadImage(cachedUrl);
24849
+ } else {
24850
+ setVisibleSlide(true);
24851
+ }
24746
24852
  }
24747
24853
  } else {
24748
24854
  if (customDownloader) {
@@ -24754,10 +24860,10 @@ var SliderPopup = function SliderPopup(_ref) {
24754
24860
  if (currentFile.type === 'image') {
24755
24861
  downloadImage(url);
24756
24862
  } else {
24757
- var _extends4;
24863
+ var _extends5;
24758
24864
 
24759
24865
  clearTimeout(visibilityTimeout.current);
24760
- setDownloadedFiles(_extends({}, downloadedFiles, (_extends4 = {}, _extends4[currentFile.id] = url, _extends4)));
24866
+ setDownloadedFiles(_extends({}, downloadedFiles, (_extends5 = {}, _extends5[currentFile.id] = url, _extends5)));
24761
24867
  setPlayedVideo(currentFile.id);
24762
24868
  visibilityTimeout.current = setTimeout(function () {
24763
24869
  setVisibleSlide(true);
@@ -24769,22 +24875,32 @@ var SliderPopup = function SliderPopup(_ref) {
24769
24875
  }
24770
24876
  });
24771
24877
  } else {
24772
- if (currentFile.type === 'image') {
24773
- downloadImage(currentFile.url);
24774
- } else {
24775
- var _extends5;
24878
+ if (!downloadedFiles[currentFile.id]) {
24879
+ setVisibleSlide(false);
24776
24880
 
24777
- clearTimeout(visibilityTimeout.current);
24778
- setDownloadedFiles(_extends({}, downloadedFiles, (_extends5 = {}, _extends5[currentFile.id] = currentFile.url, _extends5)));
24779
- setPlayedVideo(currentFile.id);
24780
- visibilityTimeout.current = setTimeout(function () {
24881
+ if (currentFile.type === 'image') {
24882
+ downloadImage(currentFile.url, true);
24883
+ } else {
24884
+ var _extends6;
24885
+
24886
+ clearTimeout(visibilityTimeout.current);
24887
+ setDownloadedFiles(_extends({}, downloadedFiles, (_extends6 = {}, _extends6[currentFile.id] = currentFile.url, _extends6)));
24888
+ setPlayedVideo(currentFile.id);
24889
+ visibilityTimeout.current = setTimeout(function () {
24890
+ setVisibleSlide(true);
24891
+ }, 100);
24892
+ }
24893
+ } else {
24894
+ if (currentFile.type === 'image') {
24895
+ downloadImage(cachedUrl);
24896
+ } else {
24781
24897
  setVisibleSlide(true);
24782
- }, 100);
24898
+ }
24783
24899
  }
24784
24900
  }
24785
24901
  }
24786
- });
24787
- }
24902
+ }
24903
+ });
24788
24904
  }, [currentFile]);
24789
24905
  useDidUpdate(function () {
24790
24906
  var currentMedia = attachmentsList.find(function (att) {
@@ -24811,6 +24927,7 @@ var SliderPopup = function SliderPopup(_ref) {
24811
24927
  }
24812
24928
  }, [attachmentsList]);
24813
24929
  useDidUpdate(function () {
24930
+ console.log('attachments .... ', attachments);
24814
24931
  setAttachmentsList(attachments || []);
24815
24932
  }, [attachments]);
24816
24933
  React.useEffect(function () {
@@ -24820,9 +24937,9 @@ var SliderPopup = function SliderPopup(_ref) {
24820
24937
  if (currentMediaFile.type === 'image') {
24821
24938
  downloadImage(cachedUrl);
24822
24939
  } else {
24823
- var _extends6;
24940
+ var _extends7;
24824
24941
 
24825
- setDownloadedFiles(_extends({}, downloadedFiles, (_extends6 = {}, _extends6[currentMediaFile.id] = cachedUrl, _extends6)));
24942
+ setDownloadedFiles(_extends({}, downloadedFiles, (_extends7 = {}, _extends7[currentMediaFile.id] = cachedUrl, _extends7)));
24826
24943
  setPlayedVideo(currentMediaFile.id);
24827
24944
  }
24828
24945
  } else {
@@ -24835,9 +24952,9 @@ var SliderPopup = function SliderPopup(_ref) {
24835
24952
  if (currentMediaFile.type === 'image') {
24836
24953
  downloadImage(url);
24837
24954
  } else {
24838
- var _extends7;
24955
+ var _extends8;
24839
24956
 
24840
- setDownloadedFiles(_extends({}, downloadedFiles, (_extends7 = {}, _extends7[currentMediaFile.id] = url, _extends7)));
24957
+ setDownloadedFiles(_extends({}, downloadedFiles, (_extends8 = {}, _extends8[currentMediaFile.id] = url, _extends8)));
24841
24958
  setPlayedVideo(currentMediaFile.id);
24842
24959
  }
24843
24960
  });
@@ -24871,9 +24988,14 @@ var SliderPopup = function SliderPopup(_ref) {
24871
24988
  image: currentFile && currentFile.user && currentFile.user.avatarUrl
24872
24989
  }), React__default.createElement(Info, null, React__default.createElement(UserName, null, attachmentUserName), React__default.createElement(FileDateAndSize, null, moment(currentFile && currentFile.createdAt).format('DD.MM.YYYY HH:mm'), ' ', React__default.createElement(FileSize, null, currentFile && currentFile.fileSize && currentFile.fileSize > 0 ? bytesToSize(currentFile.fileSize, 1) : '')))), React__default.createElement(ActionDownload, {
24873
24990
  onClick: function onClick() {
24874
- return downloadFile(currentFile);
24875
- }
24876
- }, React__default.createElement(SvgDownload, null)), React__default.createElement(Actions, null, React__default.createElement(ActionItem, {
24991
+ return handleDownloadFile(currentFile);
24992
+ }
24993
+ }, downloadingFilesMap[currentFile.id] ? React__default.createElement(UploadingIcon, {
24994
+ width: '24px',
24995
+ height: '24px',
24996
+ borderWidth: '3px',
24997
+ color: colors.gray10
24998
+ }) : React__default.createElement(SvgDownload, null)), React__default.createElement(Actions, null, React__default.createElement(ActionItem, {
24877
24999
  onClick: handleClosePopup
24878
25000
  }, React__default.createElement(SvgClose, null)))), React__default.createElement(SliderBody, {
24879
25001
  onClick: handleClicks
@@ -24964,10 +25086,10 @@ var ArrowButton = styled__default.button(_templateObject14$3 || (_templateObject
24964
25086
  return props.leftButton && '4px';
24965
25087
  });
24966
25088
 
24967
- var _path$X;
25089
+ var _path$V;
24968
25090
 
24969
- function _extends$_() {
24970
- _extends$_ = Object.assign ? Object.assign.bind() : function (target) {
25091
+ function _extends$Z() {
25092
+ _extends$Z = Object.assign ? Object.assign.bind() : function (target) {
24971
25093
  for (var i = 1; i < arguments.length; i++) {
24972
25094
  var source = arguments[i];
24973
25095
 
@@ -24980,17 +25102,17 @@ function _extends$_() {
24980
25102
 
24981
25103
  return target;
24982
25104
  };
24983
- return _extends$_.apply(this, arguments);
25105
+ return _extends$Z.apply(this, arguments);
24984
25106
  }
24985
25107
 
24986
25108
  function SvgChoseMedia(props) {
24987
- return /*#__PURE__*/React.createElement("svg", _extends$_({
25109
+ return /*#__PURE__*/React.createElement("svg", _extends$Z({
24988
25110
  width: 18,
24989
25111
  height: 18,
24990
25112
  viewBox: "0 0 19 19",
24991
25113
  fill: "none",
24992
25114
  xmlns: "http://www.w3.org/2000/svg"
24993
- }, props), _path$X || (_path$X = /*#__PURE__*/React.createElement("path", {
25115
+ }, props), _path$V || (_path$V = /*#__PURE__*/React.createElement("path", {
24994
25116
  fillRule: "evenodd",
24995
25117
  clipRule: "evenodd",
24996
25118
  d: "M3.614 2.052C4.366 1.65 5.107 1.5 6.798 1.5h4.404c1.691 0 2.432.15 3.184.552.672.36 1.203.89 1.562 1.562.402.752.552 1.493.552 3.184v4.404c0 1.691-.15 2.432-.552 3.184a3.763 3.763 0 01-1.562 1.562c-.752.402-1.493.552-3.184.552H6.798c-1.691 0-2.432-.15-3.184-.552a3.764 3.764 0 01-1.562-1.562c-.402-.752-.552-1.493-.552-3.184V6.798c0-1.691.15-2.432.552-3.184.36-.672.89-1.203 1.562-1.562zm7.16 7.07a.297.297 0 01.482.004l3.04 4.193c.101.139.074.335-.06.44a.297.297 0 01-.183.062h-9.57a.309.309 0 01-.304-.314c0-.07.022-.137.064-.192l2.22-2.954a.297.297 0 01.473-.008l1.528 1.861 2.31-3.092zM5.785 6.857a1.071 1.071 0 100-2.143 1.071 1.071 0 000 2.143z",
@@ -25099,11 +25221,12 @@ var MessageList = function MessageList(_ref2) {
25099
25221
  reportIcon = _ref2.reportIcon,
25100
25222
  reactionIconOrder = _ref2.reactionIconOrder,
25101
25223
  openFrequentlyUsedReactions = _ref2.openFrequentlyUsedReactions,
25102
- separateEmojiCategoriesWithTitle = _ref2.separateEmojiCategoriesWithTitle,
25224
+ fixEmojiCategoriesTitleOnTop = _ref2.fixEmojiCategoriesTitleOnTop,
25103
25225
  emojisCategoryIconsPosition = _ref2.emojisCategoryIconsPosition,
25104
25226
  emojisContainerBorderRadius = _ref2.emojisContainerBorderRadius,
25105
25227
  reactionsDisplayCount = _ref2.reactionsDisplayCount,
25106
25228
  showEachReactionCount = _ref2.showEachReactionCount,
25229
+ showTotalReactionCount = _ref2.showTotalReactionCount,
25107
25230
  reactionItemBorder = _ref2.reactionItemBorder,
25108
25231
  reactionItemBorderRadius = _ref2.reactionItemBorderRadius,
25109
25232
  reactionItemBackground = _ref2.reactionItemBackground,
@@ -25116,6 +25239,9 @@ var MessageList = function MessageList(_ref2) {
25116
25239
  reactionsContainerBackground = _ref2.reactionsContainerBackground,
25117
25240
  reactionsContainerPadding = _ref2.reactionsContainerPadding,
25118
25241
  reactionsContainerTopPosition = _ref2.reactionsContainerTopPosition,
25242
+ reactionsDetailsPopupBorderRadius = _ref2.reactionsDetailsPopupBorderRadius,
25243
+ _ref2$reactionsDetail = _ref2.reactionsDetailsPopupHeaderItemsStyle,
25244
+ reactionsDetailsPopupHeaderItemsStyle = _ref2$reactionsDetail === void 0 ? 'bubbles' : _ref2$reactionsDetail,
25119
25245
  editIconOrder = _ref2.editIconOrder,
25120
25246
  copyIconOrder = _ref2.copyIconOrder,
25121
25247
  replyIconOrder = _ref2.replyIconOrder,
@@ -25746,7 +25872,7 @@ var MessageList = function MessageList(_ref2) {
25746
25872
  openFrequentlyUsedReactions: openFrequentlyUsedReactions,
25747
25873
  emojisCategoryIconsPosition: emojisCategoryIconsPosition,
25748
25874
  emojisContainerBorderRadius: emojisContainerBorderRadius,
25749
- separateEmojiCategoriesWithTitle: separateEmojiCategoriesWithTitle,
25875
+ fixEmojiCategoriesTitleOnTop: fixEmojiCategoriesTitleOnTop,
25750
25876
  editIconOrder: editIconOrder,
25751
25877
  copyIconOrder: copyIconOrder,
25752
25878
  replyIconOrder: replyIconOrder,
@@ -25778,6 +25904,7 @@ var MessageList = function MessageList(_ref2) {
25778
25904
  videoAttachmentMaxHeight: videoAttachmentMaxHeight,
25779
25905
  reactionsDisplayCount: reactionsDisplayCount,
25780
25906
  showEachReactionCount: showEachReactionCount,
25907
+ showTotalReactionCount: showTotalReactionCount,
25781
25908
  reactionItemBorder: reactionItemBorder,
25782
25909
  reactionItemBorderRadius: reactionItemBorderRadius,
25783
25910
  reactionItemBackground: reactionItemBackground,
@@ -25790,6 +25917,8 @@ var MessageList = function MessageList(_ref2) {
25790
25917
  reactionsContainerPadding: reactionsContainerPadding,
25791
25918
  reactionsContainerBackground: reactionsContainerBackground,
25792
25919
  reactionsContainerTopPosition: reactionsContainerTopPosition,
25920
+ reactionsDetailsPopupBorderRadius: reactionsDetailsPopupBorderRadius,
25921
+ reactionsDetailsPopupHeaderItemsStyle: reactionsDetailsPopupHeaderItemsStyle,
25793
25922
  sameUserMessageSpacing: sameUserMessageSpacing,
25794
25923
  differentUserMessageSpacing: differentUserMessageSpacing
25795
25924
  })), isUnreadMessage ? React__default.createElement(MessageDivider, {
@@ -25851,10 +25980,10 @@ var DropAttachmentArea = styled__default.div(_templateObject7$d || (_templateObj
25851
25980
  var MessageWrapper = styled__default.div(_templateObject8$c || (_templateObject8$c = _taggedTemplateLiteralLoose(["\n &.highlight {\n & .messageBody {\n transform: scale(1.1);\n background-color: #d5d5d5;\n }\n }\n"])));
25852
25981
  var NoMessagesContainer = styled__default.div(_templateObject9$a || (_templateObject9$a = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n height: 100%;\n width: 100%;\n font-weight: 400;\n font-size: 15px;\n line-height: 18px;\n letter-spacing: -0.2px;\n color: ", ";\n"])), colors.gray6);
25853
25982
 
25854
- var _circle$5, _path$Y;
25983
+ var _circle$5, _path$W;
25855
25984
 
25856
- function _extends$$() {
25857
- _extends$$ = Object.assign ? Object.assign.bind() : function (target) {
25985
+ function _extends$_() {
25986
+ _extends$_ = Object.assign ? Object.assign.bind() : function (target) {
25858
25987
  for (var i = 1; i < arguments.length; i++) {
25859
25988
  var source = arguments[i];
25860
25989
 
@@ -25867,11 +25996,11 @@ function _extends$$() {
25867
25996
 
25868
25997
  return target;
25869
25998
  };
25870
- return _extends$$.apply(this, arguments);
25999
+ return _extends$_.apply(this, arguments);
25871
26000
  }
25872
26001
 
25873
26002
  function SvgSend(props) {
25874
- return /*#__PURE__*/React.createElement("svg", _extends$$({
26003
+ return /*#__PURE__*/React.createElement("svg", _extends$_({
25875
26004
  width: 32,
25876
26005
  height: 32,
25877
26006
  fill: "none",
@@ -25881,16 +26010,16 @@ function SvgSend(props) {
25881
26010
  cy: 16,
25882
26011
  r: 16,
25883
26012
  fill: "currentColor"
25884
- })), _path$Y || (_path$Y = /*#__PURE__*/React.createElement("path", {
26013
+ })), _path$W || (_path$W = /*#__PURE__*/React.createElement("path", {
25885
26014
  d: "M10.953 18.945c-.545 1.46-.888 2.485-1.028 3.076-.439 1.856-.758 2.274.879 1.392 1.637-.882 9.56-5.251 11.329-6.222 2.304-1.266 2.335-1.167-.124-2.511-1.873-1.024-9.704-5.279-11.205-6.115-1.501-.835-1.318-.464-.879 1.392.142.6.49 1.634 1.043 3.105a3.143 3.143 0 002.35 1.98l4.595.88a.079.079 0 010 .155l-4.606.88a3.143 3.143 0 00-2.354 1.988z",
25886
26015
  fill: "#fff"
25887
26016
  })));
25888
26017
  }
25889
26018
 
25890
- var _path$Z;
26019
+ var _path$X;
25891
26020
 
25892
- function _extends$10() {
25893
- _extends$10 = Object.assign ? Object.assign.bind() : function (target) {
26021
+ function _extends$$() {
26022
+ _extends$$ = Object.assign ? Object.assign.bind() : function (target) {
25894
26023
  for (var i = 1; i < arguments.length; i++) {
25895
26024
  var source = arguments[i];
25896
26025
 
@@ -25903,57 +26032,25 @@ function _extends$10() {
25903
26032
 
25904
26033
  return target;
25905
26034
  };
25906
- return _extends$10.apply(this, arguments);
26035
+ return _extends$$.apply(this, arguments);
25907
26036
  }
25908
26037
 
25909
26038
  function SvgEye(props) {
25910
- return /*#__PURE__*/React.createElement("svg", _extends$10({
26039
+ return /*#__PURE__*/React.createElement("svg", _extends$$({
25911
26040
  width: 25,
25912
26041
  height: 24,
25913
26042
  fill: "none",
25914
26043
  xmlns: "http://www.w3.org/2000/svg"
25915
- }, props), _path$Z || (_path$Z = /*#__PURE__*/React.createElement("path", {
26044
+ }, props), _path$X || (_path$X = /*#__PURE__*/React.createElement("path", {
25916
26045
  d: "M12.5 5c6 0 10 5.6 10 7 0 1.4-4 7-10 7s-10-5.6-10-7c0-1.4 4-7 10-7zm0 2a5 5 0 100 10 5 5 0 000-10zm.001 2.5a2.5 2.5 0 110 5 2.5 2.5 0 010-5z",
25917
26046
  fill: "CurrentColor"
25918
26047
  })));
25919
26048
  }
25920
26049
 
25921
- var _path$_;
25922
-
25923
- function _extends$11() {
25924
- _extends$11 = Object.assign ? Object.assign.bind() : function (target) {
25925
- for (var i = 1; i < arguments.length; i++) {
25926
- var source = arguments[i];
26050
+ var _path$Y;
25927
26051
 
25928
- for (var key in source) {
25929
- if (Object.prototype.hasOwnProperty.call(source, key)) {
25930
- target[key] = source[key];
25931
- }
25932
- }
25933
- }
25934
-
25935
- return target;
25936
- };
25937
- return _extends$11.apply(this, arguments);
25938
- }
25939
-
25940
- function SvgEdit(props) {
25941
- return /*#__PURE__*/React.createElement("svg", _extends$11({
25942
- width: 24,
25943
- height: 24,
25944
- viewBox: "0 0 25 25",
25945
- fill: "none",
25946
- xmlns: "http://www.w3.org/2000/svg"
25947
- }, props), _path$_ || (_path$_ = /*#__PURE__*/React.createElement("path", {
25948
- d: "M13.92 6.768l3.312 3.312-7.934 7.925a6.229 6.229 0 01-2.586 1.554l-2.71.827a.312.312 0 01-.388-.389l.827-2.71a6.231 6.231 0 011.553-2.586l7.926-7.933zm4.746-2.758l1.324 1.324a1.4 1.4 0 01.096 1.874l-.096.106-1.414 1.41-3.3-3.3 1.41-1.414a1.4 1.4 0 011.98 0z",
25949
- fill: "CurrentColor"
25950
- })));
25951
- }
25952
-
25953
- var _path$$;
25954
-
25955
- function _extends$12() {
25956
- _extends$12 = Object.assign ? Object.assign.bind() : function (target) {
26052
+ function _extends$10() {
26053
+ _extends$10 = Object.assign ? Object.assign.bind() : function (target) {
25957
26054
  for (var i = 1; i < arguments.length; i++) {
25958
26055
  var source = arguments[i];
25959
26056
 
@@ -25966,25 +26063,25 @@ function _extends$12() {
25966
26063
 
25967
26064
  return target;
25968
26065
  };
25969
- return _extends$12.apply(this, arguments);
26066
+ return _extends$10.apply(this, arguments);
25970
26067
  }
25971
26068
 
25972
26069
  function SvgAddAttachment(props) {
25973
- return /*#__PURE__*/React.createElement("svg", _extends$12({
26070
+ return /*#__PURE__*/React.createElement("svg", _extends$10({
25974
26071
  width: 24,
25975
26072
  height: 24,
25976
26073
  fill: "none",
25977
26074
  xmlns: "http://www.w3.org/2000/svg"
25978
- }, props), _path$$ || (_path$$ = /*#__PURE__*/React.createElement("path", {
26075
+ }, props), _path$Y || (_path$Y = /*#__PURE__*/React.createElement("path", {
25979
26076
  d: "M12 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.286-10.286 10.286C6.32 22.286 1.714 17.68 1.714 12 1.714 6.32 6.32 1.714 12 1.714zm0 1.715a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm0 3.428c.473 0 .857.384.857.857v3.429h3.429a.857.857 0 010 1.714h-3.429v3.429a.857.857 0 11-1.714 0v-3.429H7.714a.857.857 0 110-1.714h3.429V7.714c0-.473.384-.857.857-.857z",
25980
26077
  fill: "CurrentColor"
25981
26078
  })));
25982
26079
  }
25983
26080
 
25984
- var _path$10;
26081
+ var _path$Z;
25985
26082
 
25986
- function _extends$13() {
25987
- _extends$13 = Object.assign ? Object.assign.bind() : function (target) {
26083
+ function _extends$11() {
26084
+ _extends$11 = Object.assign ? Object.assign.bind() : function (target) {
25988
26085
  for (var i = 1; i < arguments.length; i++) {
25989
26086
  var source = arguments[i];
25990
26087
 
@@ -25997,16 +26094,16 @@ function _extends$13() {
25997
26094
 
25998
26095
  return target;
25999
26096
  };
26000
- return _extends$13.apply(this, arguments);
26097
+ return _extends$11.apply(this, arguments);
26001
26098
  }
26002
26099
 
26003
26100
  function SvgErrorCircle(props) {
26004
- return /*#__PURE__*/React.createElement("svg", _extends$13({
26101
+ return /*#__PURE__*/React.createElement("svg", _extends$11({
26005
26102
  width: 25,
26006
26103
  height: 24,
26007
26104
  fill: "none",
26008
26105
  xmlns: "http://www.w3.org/2000/svg"
26009
- }, props), _path$10 || (_path$10 = /*#__PURE__*/React.createElement("path", {
26106
+ }, props), _path$Z || (_path$Z = /*#__PURE__*/React.createElement("path", {
26010
26107
  d: "M12.5 1.714c5.68 0 10.286 4.605 10.286 10.286 0 5.68-4.605 10.285-10.286 10.285C6.82 22.285 2.214 17.68 2.214 12 2.214 6.319 6.82 1.714 12.5 1.714zm0 1.714a8.571 8.571 0 100 17.143 8.571 8.571 0 000-17.143zm0 11.657a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4zm.063-8.228c.204 0 .332.032.443.091.112.06.2.148.26.26.06.111.091.24.091.443v5.269c0 .204-.032.331-.091.443a.623.623 0 01-.26.26c-.111.059-.24.09-.443.09h-.126c-.204 0-.332-.031-.443-.09a.624.624 0 01-.26-.26c-.06-.112-.091-.24-.091-.443V7.65c0-.203.032-.33.091-.442.06-.112.148-.2.26-.26.111-.06.24-.091.443-.091h.126z",
26011
26108
  fill: "#FFB73D"
26012
26109
  })));
@@ -26176,7 +26273,7 @@ var MemberItem = styled__default.li(_templateObject6$g || (_templateObject6$g =
26176
26273
  return props.isActiveItem && colors.gray0;
26177
26274
  }, EditMemberIcon, UserStatus);
26178
26275
 
26179
- var _templateObject$x, _templateObject2$u, _templateObject3$p, _templateObject4$k, _templateObject5$i, _templateObject6$h, _templateObject7$e, _templateObject8$d, _templateObject9$b, _templateObject10$9, _templateObject11$6, _templateObject12$4, _templateObject13$4, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _templateObject22$2, _templateObject23$1, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1;
26276
+ var _templateObject$x, _templateObject2$u, _templateObject3$p, _templateObject4$k, _templateObject5$i, _templateObject6$h, _templateObject7$e, _templateObject8$d, _templateObject9$b, _templateObject10$9, _templateObject11$6, _templateObject12$4, _templateObject13$4, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$3, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _templateObject22$2, _templateObject23$2, _templateObject24$1, _templateObject25$1, _templateObject26$1, _templateObject27$1, _templateObject28$1;
26180
26277
  var prevActiveChannelId;
26181
26278
 
26182
26279
  var SendMessageInput = function SendMessageInput(_ref) {
@@ -26207,12 +26304,12 @@ var SendMessageInput = function SendMessageInput(_ref) {
26207
26304
  inputPaddings = _ref.inputPaddings,
26208
26305
  selectedAttachmentsBorderRadius = _ref.selectedAttachmentsBorderRadius,
26209
26306
  selectedFileAttachmentsIcon = _ref.selectedFileAttachmentsIcon,
26210
- selectedFileAttachmentsBoxWidth = _ref.selectedFileAttachmentsBoxWidth,
26211
26307
  selectedFileAttachmentsBoxBackground = _ref.selectedFileAttachmentsBoxBackground,
26212
26308
  selectedFileAttachmentsBoxBorder = _ref.selectedFileAttachmentsBoxBorder,
26213
26309
  selectedFileAttachmentsTitleColor = _ref.selectedFileAttachmentsTitleColor,
26214
26310
  selectedFileAttachmentsSizeColor = _ref.selectedFileAttachmentsSizeColor,
26215
26311
  replyMessageIcon = _ref.replyMessageIcon,
26312
+ editMessageIcon = _ref.editMessageIcon,
26216
26313
  sendAttachmentSeparately = _ref.sendAttachmentSeparately,
26217
26314
  _ref$allowMentionUser = _ref.allowMentionUser,
26218
26315
  allowMentionUser = _ref$allowMentionUser === void 0 ? true : _ref$allowMentionUser;
@@ -27242,7 +27339,7 @@ var SendMessageInput = function SendMessageInput(_ref) {
27242
27339
  onClick: handleCloseEditMode
27243
27340
  }, React__default.createElement(SvgClose, null)), React__default.createElement(EditReplyMessageHeader, {
27244
27341
  color: colors.primary
27245
- }, React__default.createElement(SvgEdit, null), "Edit Message"), React__default.createElement(EditMessageText, null, messageToEdit.body)), messageForReply && React__default.createElement(EditReplyMessageCont, null, React__default.createElement(CloseEditMode, {
27342
+ }, editMessageIcon || React__default.createElement(SvgEditIcon, null), "Edit Message"), React__default.createElement(EditMessageText, null, messageToEdit.body)), messageForReply && React__default.createElement(EditReplyMessageCont, null, React__default.createElement(CloseEditMode, {
27246
27343
  onClick: handleCloseReply
27247
27344
  }, React__default.createElement(SvgClose, null)), React__default.createElement(ReplyMessageCont, null, !!(messageForReply.attachments && messageForReply.attachments.length) && (messageForReply.attachments[0].type === attachmentTypes.image || messageForReply.attachments[0].type === attachmentTypes.video ? React__default.createElement(Attachment, {
27248
27345
  attachment: messageForReply.attachments[0],
@@ -27257,9 +27354,7 @@ var SendMessageInput = function SendMessageInput(_ref) {
27257
27354
  message: messageForReply,
27258
27355
  contactsMap: contactsMap,
27259
27356
  getFromContacts: getFromContacts
27260
- })))), !!attachments.length && !sendAttachmentSeparately && React__default.createElement(ChosenAttachments, {
27261
- fileBoxWidth: selectedFileAttachmentsBoxWidth
27262
- }, attachments.map(function (attachment) {
27357
+ })))), !!attachments.length && !sendAttachmentSeparately && React__default.createElement(ChosenAttachments, null, attachments.map(function (attachment) {
27263
27358
  return React__default.createElement(Attachment, {
27264
27359
  attachment: attachment,
27265
27360
  isPrevious: true,
@@ -27418,9 +27513,7 @@ var SendMessageIcon = styled__default.span(_templateObject13$4 || (_templateObje
27418
27513
  }, function (props) {
27419
27514
  return props.isActive ? colors.primary : '#ccc';
27420
27515
  });
27421
- var ChosenAttachments = styled__default.div(_templateObject14$4 || (_templateObject14$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 16px 16px 14px;\n overflow-x: auto;\n\n & ", " {\n width: 100%;\n height: 100%;\n border-radius: 4px;\n object-fit: cover;\n }\n\n & ", " {\n width: ", ";\n padding: 6px 12px;\n height: 36px;\n }\n"])), AttachmentImg$1, AttachmentFile$1, function (props) {
27422
- return props.fileBoxWidth || '200px';
27423
- });
27516
+ var ChosenAttachments = styled__default.div(_templateObject14$4 || (_templateObject14$4 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n padding: 16px 16px 14px;\n overflow-x: auto;\n\n & ", " {\n width: 100%;\n height: 100%;\n border-radius: 4px;\n object-fit: cover;\n }\n\n & ", " {\n width: 240px;\n padding: 6px 12px;\n height: 48px;\n }\n"])), AttachmentImg$1, AttachmentFile$1);
27424
27517
  var TypingIndicator$1 = styled__default.div(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 100%;\n left: 16px;\n"])));
27425
27518
  var TypingIndicatorCont = styled__default.div(_templateObject16$3 || (_templateObject16$3 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-bottom: 12px;\n"])));
27426
27519
  var TypingFrom = styled__default.h5(_templateObject17$3 || (_templateObject17$3 = _taggedTemplateLiteralLoose(["\n margin: 0 4px 0 0;\n font-weight: 400;\n font-size: 13px;\n line-height: 16px;\n letter-spacing: -0.2px;\n color: ", ";\n"])), colors.gray9);
@@ -27429,7 +27522,7 @@ var DotOne = styled__default.span(_templateObject19$2 || (_templateObject19$2 =
27429
27522
  var DotTwo = styled__default.span(_templateObject20$2 || (_templateObject20$2 = _taggedTemplateLiteralLoose([""])));
27430
27523
  var DotThree = styled__default.span(_templateObject21$2 || (_templateObject21$2 = _taggedTemplateLiteralLoose([""])));
27431
27524
  var TypingAnimation = styled__default.div(_templateObject22$2 || (_templateObject22$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n\n & > span {\n position: relative;\n width: 6px;\n height: 6px;\n margin-right: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n animation-timing-function: linear;\n\n &:after {\n content: '';\n position: absolute;\n\n width: 3.5px;\n height: 3.5px;\n border-radius: 50%;\n background-color: #818c99;\n animation-name: ", ";\n animation-duration: 0.6s;\n animation-iteration-count: infinite;\n }\n }\n\n & ", " {\n &:after {\n animation-delay: 0s;\n }\n }\n\n & ", " {\n &:after {\n animation-delay: 0.2s;\n }\n }\n\n & ", " {\n &:after {\n animation-delay: 0.3s;\n }\n }\n"])), sizeAnimation, DotOne, DotTwo, DotThree);
27432
- var Loading = styled__default.div(_templateObject23$1 || (_templateObject23$1 = _taggedTemplateLiteralLoose(["\n height: 36px;\n"])));
27525
+ var Loading = styled__default.div(_templateObject23$2 || (_templateObject23$2 = _taggedTemplateLiteralLoose(["\n height: 36px;\n"])));
27433
27526
  var BlockedUserInfo = styled__default.div(_templateObject24$1 || (_templateObject24$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 12px;\n font-weight: 400;\n font-size: 15px;\n line-height: 20px;\n color: ", ";\n\n & > svg {\n margin-right: 12px;\n }\n"])), colors.gray6);
27434
27527
  var JoinChannelCont = styled__default.div(_templateObject25$1 || (_templateObject25$1 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 0 -12px;\n padding: 14px;\n font-weight: 500;\n font-size: 15px;\n line-height: 20px;\n letter-spacing: -0.2px;\n color: ", ";\n background-color: ", ";\n cursor: pointer;\n"])), function (props) {
27435
27528
  return props.color || colors.primary;
@@ -27442,10 +27535,10 @@ var ReplyIconWrapper = styled__default.span(_templateObject28$1 || (_templateObj
27442
27535
  return props.backgroundColor || colors.primary;
27443
27536
  }, colors.white);
27444
27537
 
27445
- var _path$11;
27538
+ var _path$_;
27446
27539
 
27447
- function _extends$14() {
27448
- _extends$14 = Object.assign ? Object.assign.bind() : function (target) {
27540
+ function _extends$12() {
27541
+ _extends$12 = Object.assign ? Object.assign.bind() : function (target) {
27449
27542
  for (var i = 1; i < arguments.length; i++) {
27450
27543
  var source = arguments[i];
27451
27544
 
@@ -27458,16 +27551,16 @@ function _extends$14() {
27458
27551
 
27459
27552
  return target;
27460
27553
  };
27461
- return _extends$14.apply(this, arguments);
27554
+ return _extends$12.apply(this, arguments);
27462
27555
  }
27463
27556
 
27464
27557
  function SvgBottom(props) {
27465
- return /*#__PURE__*/React.createElement("svg", _extends$14({
27558
+ return /*#__PURE__*/React.createElement("svg", _extends$12({
27466
27559
  width: 12,
27467
27560
  height: 7,
27468
27561
  fill: "none",
27469
27562
  xmlns: "http://www.w3.org/2000/svg"
27470
- }, props), _path$11 || (_path$11 = /*#__PURE__*/React.createElement("path", {
27563
+ }, props), _path$_ || (_path$_ = /*#__PURE__*/React.createElement("path", {
27471
27564
  d: "M1.5 1.5l4.5 4 4.5-4",
27472
27565
  stroke: "#676A7C",
27473
27566
  strokeWidth: 1.4,
@@ -27476,10 +27569,10 @@ function SvgBottom(props) {
27476
27569
  })));
27477
27570
  }
27478
27571
 
27479
- var _path$12;
27572
+ var _path$$;
27480
27573
 
27481
- function _extends$15() {
27482
- _extends$15 = Object.assign ? Object.assign.bind() : function (target) {
27574
+ function _extends$13() {
27575
+ _extends$13 = Object.assign ? Object.assign.bind() : function (target) {
27483
27576
  for (var i = 1; i < arguments.length; i++) {
27484
27577
  var source = arguments[i];
27485
27578
 
@@ -27492,16 +27585,16 @@ function _extends$15() {
27492
27585
 
27493
27586
  return target;
27494
27587
  };
27495
- return _extends$15.apply(this, arguments);
27588
+ return _extends$13.apply(this, arguments);
27496
27589
  }
27497
27590
 
27498
27591
  function SvgNotificationsOff2(props) {
27499
- return /*#__PURE__*/React.createElement("svg", _extends$15({
27592
+ return /*#__PURE__*/React.createElement("svg", _extends$13({
27500
27593
  width: 16,
27501
27594
  height: 16,
27502
27595
  fill: "none",
27503
27596
  xmlns: "http://www.w3.org/2000/svg"
27504
- }, props), _path$12 || (_path$12 = /*#__PURE__*/React.createElement("path", {
27597
+ }, props), _path$$ || (_path$$ = /*#__PURE__*/React.createElement("path", {
27505
27598
  d: "M9.259 14.3a1.454 1.454 0 01-2.517 0M12.821 9.007a13.013 13.013 0 01-.458-3.636M3.826 4.105c-.126.41-.19.837-.189 1.266 0 5.09-2.182 6.545-2.182 6.545h10.182M12.365 5.37a4.363 4.363 0 00-6.786-3.636M1 1l14 14",
27506
27599
  stroke: "CurrentColor",
27507
27600
  strokeWidth: 1.4,
@@ -27510,10 +27603,10 @@ function SvgNotificationsOff2(props) {
27510
27603
  })));
27511
27604
  }
27512
27605
 
27513
- var _path$13, _circle$6;
27606
+ var _path$10, _circle$6;
27514
27607
 
27515
- function _extends$16() {
27516
- _extends$16 = Object.assign ? Object.assign.bind() : function (target) {
27608
+ function _extends$14() {
27609
+ _extends$14 = Object.assign ? Object.assign.bind() : function (target) {
27517
27610
  for (var i = 1; i < arguments.length; i++) {
27518
27611
  var source = arguments[i];
27519
27612
 
@@ -27526,16 +27619,16 @@ function _extends$16() {
27526
27619
 
27527
27620
  return target;
27528
27621
  };
27529
- return _extends$16.apply(this, arguments);
27622
+ return _extends$14.apply(this, arguments);
27530
27623
  }
27531
27624
 
27532
27625
  function SvgMarkAsUnRead(props) {
27533
- return /*#__PURE__*/React.createElement("svg", _extends$16({
27626
+ return /*#__PURE__*/React.createElement("svg", _extends$14({
27534
27627
  width: 20,
27535
27628
  height: 20,
27536
27629
  fill: "none",
27537
27630
  xmlns: "http://www.w3.org/2000/svg"
27538
- }, props), _path$13 || (_path$13 = /*#__PURE__*/React.createElement("path", {
27631
+ }, props), _path$10 || (_path$10 = /*#__PURE__*/React.createElement("path", {
27539
27632
  fillRule: "evenodd",
27540
27633
  clipRule: "evenodd",
27541
27634
  d: "M17.778 8.516a3.958 3.958 0 01-5.117-5.982 7.847 7.847 0 00-2.631-.451c-4.356 0-7.887 3.544-7.887 7.917 0 1.359.341 2.638.942 3.755l-.967 3.118a.732.732 0 00.912.919l3.043-.943a7.827 7.827 0 003.957 1.067c4.356 0 7.887-3.544 7.887-7.916 0-.507-.048-1.003-.139-1.484z",
@@ -27549,10 +27642,10 @@ function SvgMarkAsUnRead(props) {
27549
27642
  })));
27550
27643
  }
27551
27644
 
27552
- var _path$14;
27645
+ var _path$11;
27553
27646
 
27554
- function _extends$17() {
27555
- _extends$17 = Object.assign ? Object.assign.bind() : function (target) {
27647
+ function _extends$15() {
27648
+ _extends$15 = Object.assign ? Object.assign.bind() : function (target) {
27556
27649
  for (var i = 1; i < arguments.length; i++) {
27557
27650
  var source = arguments[i];
27558
27651
 
@@ -27565,16 +27658,16 @@ function _extends$17() {
27565
27658
 
27566
27659
  return target;
27567
27660
  };
27568
- return _extends$17.apply(this, arguments);
27661
+ return _extends$15.apply(this, arguments);
27569
27662
  }
27570
27663
 
27571
27664
  function SvgMarkAsRead(props) {
27572
- return /*#__PURE__*/React.createElement("svg", _extends$17({
27665
+ return /*#__PURE__*/React.createElement("svg", _extends$15({
27573
27666
  width: 20,
27574
27667
  height: 20,
27575
27668
  fill: "none",
27576
27669
  xmlns: "http://www.w3.org/2000/svg"
27577
- }, props), _path$14 || (_path$14 = /*#__PURE__*/React.createElement("path", {
27670
+ }, props), _path$11 || (_path$11 = /*#__PURE__*/React.createElement("path", {
27578
27671
  fillRule: "evenodd",
27579
27672
  clipRule: "evenodd",
27580
27673
  d: "M17.917 10c0 4.372-3.531 7.916-7.887 7.916a7.827 7.827 0 01-3.957-1.067l-3.043.943a.732.732 0 01-.913-.919l.968-3.118A7.904 7.904 0 012.143 10c0-4.373 3.531-7.917 7.887-7.917S17.917 5.627 17.917 10z",
@@ -27582,10 +27675,10 @@ function SvgMarkAsRead(props) {
27582
27675
  })));
27583
27676
  }
27584
27677
 
27585
- var _path$15;
27678
+ var _path$12;
27586
27679
 
27587
- function _extends$18() {
27588
- _extends$18 = Object.assign ? Object.assign.bind() : function (target) {
27680
+ function _extends$16() {
27681
+ _extends$16 = Object.assign ? Object.assign.bind() : function (target) {
27589
27682
  for (var i = 1; i < arguments.length; i++) {
27590
27683
  var source = arguments[i];
27591
27684
 
@@ -27598,25 +27691,25 @@ function _extends$18() {
27598
27691
 
27599
27692
  return target;
27600
27693
  };
27601
- return _extends$18.apply(this, arguments);
27694
+ return _extends$16.apply(this, arguments);
27602
27695
  }
27603
27696
 
27604
27697
  function SvgDeleteChannel(props) {
27605
- return /*#__PURE__*/React.createElement("svg", _extends$18({
27698
+ return /*#__PURE__*/React.createElement("svg", _extends$16({
27606
27699
  width: 20,
27607
27700
  height: 21,
27608
27701
  fill: "none",
27609
27702
  xmlns: "http://www.w3.org/2000/svg"
27610
- }, props), _path$15 || (_path$15 = /*#__PURE__*/React.createElement("path", {
27703
+ }, props), _path$12 || (_path$12 = /*#__PURE__*/React.createElement("path", {
27611
27704
  d: "M5 16.333C5 17.25 5.75 18 6.667 18h6.666C14.25 18 15 17.25 15 16.333V8c0-.917-.75-1.667-1.667-1.667H6.667C5.75 6.333 5 7.083 5 8v8.333zm10-12.5h-2.083l-.592-.591A.84.84 0 0011.742 3H8.258a.84.84 0 00-.583.242l-.592.591H5a.836.836 0 00-.833.834c0 .458.375.833.833.833h10a.836.836 0 00.833-.833.836.836 0 00-.833-.834z",
27612
27705
  fill: "CurrentColor"
27613
27706
  })));
27614
27707
  }
27615
27708
 
27616
- var _path$16;
27709
+ var _path$13;
27617
27710
 
27618
- function _extends$19() {
27619
- _extends$19 = Object.assign ? Object.assign.bind() : function (target) {
27711
+ function _extends$17() {
27712
+ _extends$17 = Object.assign ? Object.assign.bind() : function (target) {
27620
27713
  for (var i = 1; i < arguments.length; i++) {
27621
27714
  var source = arguments[i];
27622
27715
 
@@ -27629,16 +27722,16 @@ function _extends$19() {
27629
27722
 
27630
27723
  return target;
27631
27724
  };
27632
- return _extends$19.apply(this, arguments);
27725
+ return _extends$17.apply(this, arguments);
27633
27726
  }
27634
27727
 
27635
27728
  function SvgClear(props) {
27636
- return /*#__PURE__*/React.createElement("svg", _extends$19({
27729
+ return /*#__PURE__*/React.createElement("svg", _extends$17({
27637
27730
  width: 20,
27638
27731
  height: 21,
27639
27732
  fill: "none",
27640
27733
  xmlns: "http://www.w3.org/2000/svg"
27641
- }, props), _path$16 || (_path$16 = /*#__PURE__*/React.createElement("path", {
27734
+ }, props), _path$13 || (_path$13 = /*#__PURE__*/React.createElement("path", {
27642
27735
  fillRule: "evenodd",
27643
27736
  clipRule: "evenodd",
27644
27737
  d: "M10 3.833a6.667 6.667 0 100 13.333 6.667 6.667 0 000-13.333zm-8.333 6.666a8.333 8.333 0 1116.667 0 8.333 8.333 0 01-16.667 0zM6.911 7.41a.833.833 0 011.179 0L10 9.32l1.911-1.91A.833.833 0 0113.09 8.59l-1.911 1.91 1.91 1.911a.833.833 0 01-1.178 1.179l-1.91-1.911-1.911 1.91A.833.833 0 016.91 12.41l1.91-1.91-1.91-1.911a.833.833 0 010-1.179z",
@@ -27646,10 +27739,10 @@ function SvgClear(props) {
27646
27739
  })));
27647
27740
  }
27648
27741
 
27649
- var _path$17;
27742
+ var _path$14;
27650
27743
 
27651
- function _extends$1a() {
27652
- _extends$1a = Object.assign ? Object.assign.bind() : function (target) {
27744
+ function _extends$18() {
27745
+ _extends$18 = Object.assign ? Object.assign.bind() : function (target) {
27653
27746
  for (var i = 1; i < arguments.length; i++) {
27654
27747
  var source = arguments[i];
27655
27748
 
@@ -27662,25 +27755,25 @@ function _extends$1a() {
27662
27755
 
27663
27756
  return target;
27664
27757
  };
27665
- return _extends$1a.apply(this, arguments);
27758
+ return _extends$18.apply(this, arguments);
27666
27759
  }
27667
27760
 
27668
27761
  function SvgBlockChannel(props) {
27669
- return /*#__PURE__*/React.createElement("svg", _extends$1a({
27762
+ return /*#__PURE__*/React.createElement("svg", _extends$18({
27670
27763
  width: 20,
27671
27764
  height: 21,
27672
27765
  fill: "none",
27673
27766
  xmlns: "http://www.w3.org/2000/svg"
27674
- }, props), _path$17 || (_path$17 = /*#__PURE__*/React.createElement("path", {
27767
+ }, props), _path$14 || (_path$14 = /*#__PURE__*/React.createElement("path", {
27675
27768
  d: "M10 2.167A8.336 8.336 0 001.667 10.5c0 4.6 3.733 8.334 8.333 8.334s8.333-3.734 8.333-8.334S14.6 2.167 10 2.167zm0 15A6.665 6.665 0 013.333 10.5c0-1.541.525-2.958 1.409-4.083l9.341 9.342A6.586 6.586 0 0110 17.167zm5.258-2.583L5.917 5.242A6.585 6.585 0 0110 3.834a6.665 6.665 0 016.667 6.666 6.586 6.586 0 01-1.409 4.084z",
27676
27769
  fill: "CurrentColor"
27677
27770
  })));
27678
27771
  }
27679
27772
 
27680
- var _path$18, _path2$7;
27773
+ var _path$15, _path2$7;
27681
27774
 
27682
- function _extends$1b() {
27683
- _extends$1b = Object.assign ? Object.assign.bind() : function (target) {
27775
+ function _extends$19() {
27776
+ _extends$19 = Object.assign ? Object.assign.bind() : function (target) {
27684
27777
  for (var i = 1; i < arguments.length; i++) {
27685
27778
  var source = arguments[i];
27686
27779
 
@@ -27693,16 +27786,16 @@ function _extends$1b() {
27693
27786
 
27694
27787
  return target;
27695
27788
  };
27696
- return _extends$1b.apply(this, arguments);
27789
+ return _extends$19.apply(this, arguments);
27697
27790
  }
27698
27791
 
27699
27792
  function SvgReport(props) {
27700
- return /*#__PURE__*/React.createElement("svg", _extends$1b({
27793
+ return /*#__PURE__*/React.createElement("svg", _extends$19({
27701
27794
  width: 20,
27702
27795
  height: 21,
27703
27796
  fill: "none",
27704
27797
  xmlns: "http://www.w3.org/2000/svg"
27705
- }, props), _path$18 || (_path$18 = /*#__PURE__*/React.createElement("path", {
27798
+ }, props), _path$15 || (_path$15 = /*#__PURE__*/React.createElement("path", {
27706
27799
  d: "M9.096 10.402a.882.882 0 011.765 0v3.627a.882.882 0 11-1.765 0v-3.627zM9.979 6.088a.98.98 0 100 1.96.98.98 0 000-1.96z",
27707
27800
  fill: "CurrentColor"
27708
27801
  })), _path2$7 || (_path2$7 = /*#__PURE__*/React.createElement("path", {
@@ -27713,10 +27806,10 @@ function SvgReport(props) {
27713
27806
  })));
27714
27807
  }
27715
27808
 
27716
- var _path$19;
27809
+ var _path$16;
27717
27810
 
27718
- function _extends$1c() {
27719
- _extends$1c = Object.assign ? Object.assign.bind() : function (target) {
27811
+ function _extends$1a() {
27812
+ _extends$1a = Object.assign ? Object.assign.bind() : function (target) {
27720
27813
  for (var i = 1; i < arguments.length; i++) {
27721
27814
  var source = arguments[i];
27722
27815
 
@@ -27729,25 +27822,25 @@ function _extends$1c() {
27729
27822
 
27730
27823
  return target;
27731
27824
  };
27732
- return _extends$1c.apply(this, arguments);
27825
+ return _extends$1a.apply(this, arguments);
27733
27826
  }
27734
27827
 
27735
27828
  function SvgStar(props) {
27736
- return /*#__PURE__*/React.createElement("svg", _extends$1c({
27829
+ return /*#__PURE__*/React.createElement("svg", _extends$1a({
27737
27830
  width: 20,
27738
27831
  height: 20,
27739
27832
  fill: "none",
27740
27833
  xmlns: "http://www.w3.org/2000/svg"
27741
- }, props), _path$19 || (_path$19 = /*#__PURE__*/React.createElement("path", {
27834
+ }, props), _path$16 || (_path$16 = /*#__PURE__*/React.createElement("path", {
27742
27835
  d: "M12.888 7.002l3.823.367c1.33.128 1.739 1.43.711 2.285l-2.993 2.49 1.111 4.06c.365 1.332-.767 2.14-1.901 1.337l-3.637-2.573-3.637 2.573c-1.13.799-2.267-.005-1.902-1.338l1.111-4.058-2.993-2.491c-1.032-.86-.625-2.156.711-2.285l3.823-.367 1.684-3.889c.528-1.217 1.878-1.217 2.405 0l1.684 3.889z",
27743
27836
  fill: "#B2B6BE"
27744
27837
  })));
27745
27838
  }
27746
27839
 
27747
- var _path$1a;
27840
+ var _path$17;
27748
27841
 
27749
- function _extends$1d() {
27750
- _extends$1d = Object.assign ? Object.assign.bind() : function (target) {
27842
+ function _extends$1b() {
27843
+ _extends$1b = Object.assign ? Object.assign.bind() : function (target) {
27751
27844
  for (var i = 1; i < arguments.length; i++) {
27752
27845
  var source = arguments[i];
27753
27846
 
@@ -27760,16 +27853,16 @@ function _extends$1d() {
27760
27853
 
27761
27854
  return target;
27762
27855
  };
27763
- return _extends$1d.apply(this, arguments);
27856
+ return _extends$1b.apply(this, arguments);
27764
27857
  }
27765
27858
 
27766
27859
  function SvgPin(props) {
27767
- return /*#__PURE__*/React.createElement("svg", _extends$1d({
27860
+ return /*#__PURE__*/React.createElement("svg", _extends$1b({
27768
27861
  width: 20,
27769
27862
  height: 20,
27770
27863
  fill: "none",
27771
27864
  xmlns: "http://www.w3.org/2000/svg"
27772
- }, props), _path$1a || (_path$1a = /*#__PURE__*/React.createElement("path", {
27865
+ }, props), _path$17 || (_path$17 = /*#__PURE__*/React.createElement("path", {
27773
27866
  d: "M12.253 2.663a.583.583 0 01.825 0l4.258 4.258a.583.583 0 01-.412.996h-1.509l-2.5 2.5v5.218a.6.6 0 01-1.024.424l-3.24-3.24-3.956 3.958a1.042 1.042 0 11-1.473-1.473l3.956-3.958L3.94 8.108a.6.6 0 01-.168-.33l-.007-.095a.6.6 0 01.6-.6h5.218l2.5-2.5V3.075c0-.155.061-.303.17-.412z",
27774
27867
  fill: "#B2B6BE"
27775
27868
  })));
@@ -28094,10 +28187,10 @@ var Actions$1 = function Actions(_ref) {
28094
28187
  hoverColor: leaveChannelTextColor || colors.red1,
28095
28188
  onClick: function onClick() {
28096
28189
  setPopupButtonText('Leave');
28097
- setPopupTitle("Leave " + channel.type);
28190
+ setPopupTitle("Leave " + (channel.type === 'private' ? 'group' : channel.type === 'public' || channel.type === 'broadcast' ? 'channel' : channel.type));
28098
28191
  handleToggleLeaveChannelPopupOpen();
28099
28192
  }
28100
- }, leaveChannelIcon || React__default.createElement(SvgLeave, null), " Leave ", channel.type), isDirectChannel && otherMembers.length === 1 ? React__default.createElement(React__default.Fragment, null, showBlockUser && (isDirectChannel && directChannelUser ? directChannelUser.activityState !== 'Deleted' : true) && (directChannelUser && directChannelUser.blocked ? React__default.createElement(ActionItem$1, {
28193
+ }, leaveChannelIcon || React__default.createElement(SvgLeave, null), " Leave " + (channel.type === 'private' ? 'group' : channel.type === 'public' || channel.type === 'broadcast' ? 'channel' : channel.type)), isDirectChannel && otherMembers.length === 1 ? React__default.createElement(React__default.Fragment, null, showBlockUser && (isDirectChannel && directChannelUser ? directChannelUser.activityState !== 'Deleted' : true) && (directChannelUser && directChannelUser.blocked ? React__default.createElement(ActionItem$1, {
28101
28194
  key: 5,
28102
28195
  color: unblockUserTextColor || colors.gray6,
28103
28196
  hoverColor: unblockUserTextColor || colors.gray6,
@@ -28129,10 +28222,10 @@ var Actions$1 = function Actions(_ref) {
28129
28222
  hoverColor: blockAndLeaveChannelTextColor || colors.red1,
28130
28223
  onClick: function onClick() {
28131
28224
  setPopupButtonText('Block');
28132
- setPopupTitle("Block and Leave " + channel.type);
28225
+ setPopupTitle("Block and Leave " + (channel.type === 'private' ? 'group' : channel.type === 'public' || channel.type === 'broadcast' ? 'channel' : channel.type === 'direct' ? 'chat' : channel.type));
28133
28226
  handleToggleBlockChannelPopupOpen();
28134
28227
  }
28135
- }, blockAndLeaveChannelIcon || React__default.createElement(SvgBlockChannel, null), " Block and Leave ", channel.type), showReportChannel && React__default.createElement(ActionItem$1, {
28228
+ }, blockAndLeaveChannelIcon || React__default.createElement(SvgBlockChannel, null), "Block and Leave " + (channel.type === 'private' ? 'group' : channel.type === 'public' || channel.type === 'broadcast' ? 'channel' : channel.type === 'direct' ? 'chat' : channel.type) + "\n "), showReportChannel && React__default.createElement(ActionItem$1, {
28136
28229
  key: 9,
28137
28230
  order: reportChannelOrder,
28138
28231
  color: reportChannelTextColor || colors.red1,
@@ -28173,10 +28266,10 @@ var Actions$1 = function Actions(_ref) {
28173
28266
  hoverColor: deleteChannelTextColor || colors.red1,
28174
28267
  onClick: function onClick() {
28175
28268
  setPopupButtonText('Delete');
28176
- setPopupTitle("Delete " + channel.type);
28269
+ setPopupTitle("Delete " + (channel.type === 'private' ? 'group' : channel.type === 'public' || channel.type === 'broadcast' ? 'channel' : channel.type === 'direct' ? 'chat' : channel.type));
28177
28270
  handleToggleDeleteChannelPopupOpen();
28178
28271
  }
28179
- }, deleteChannelIcon || React__default.createElement(SvgDeleteChannel, null), " Delete ", channel.type)), leaveChannelPopupOpen && React__default.createElement(ConfirmPopup, {
28272
+ }, deleteChannelIcon || React__default.createElement(SvgDeleteChannel, null), " Delete " + (channel.type === 'private' ? 'group' : channel.type === 'public' || channel.type === 'broadcast' ? 'channel' : channel.type === 'direct' ? 'chat' : channel.type))), leaveChannelPopupOpen && React__default.createElement(ConfirmPopup, {
28180
28273
  handleFunction: handleLeaveChannel,
28181
28274
  togglePopup: handleToggleLeaveChannelPopupOpen,
28182
28275
  buttonText: popupButtonText,
@@ -28241,10 +28334,10 @@ var ActionItem$1 = styled__default.li(_templateObject6$i || (_templateObject6$i
28241
28334
  return props.hoverColor || colors.blue2;
28242
28335
  });
28243
28336
 
28244
- var _rect$1, _rect2, _path$1b;
28337
+ var _rect$1, _rect2, _path$18;
28245
28338
 
28246
- function _extends$1e() {
28247
- _extends$1e = Object.assign ? Object.assign.bind() : function (target) {
28339
+ function _extends$1c() {
28340
+ _extends$1c = Object.assign ? Object.assign.bind() : function (target) {
28248
28341
  for (var i = 1; i < arguments.length; i++) {
28249
28342
  var source = arguments[i];
28250
28343
 
@@ -28257,11 +28350,11 @@ function _extends$1e() {
28257
28350
 
28258
28351
  return target;
28259
28352
  };
28260
- return _extends$1e.apply(this, arguments);
28353
+ return _extends$1c.apply(this, arguments);
28261
28354
  }
28262
28355
 
28263
28356
  function SvgAddMember(props) {
28264
- return /*#__PURE__*/React.createElement("svg", _extends$1e({
28357
+ return /*#__PURE__*/React.createElement("svg", _extends$1c({
28265
28358
  width: 40,
28266
28359
  height: 40,
28267
28360
  fill: "none",
@@ -28280,16 +28373,16 @@ function SvgAddMember(props) {
28280
28373
  stroke: "#000",
28281
28374
  strokeOpacity: 0.08,
28282
28375
  strokeWidth: 0.5
28283
- })), _path$1b || (_path$1b = /*#__PURE__*/React.createElement("path", {
28376
+ })), _path$18 || (_path$18 = /*#__PURE__*/React.createElement("path", {
28284
28377
  d: "M20 12a1 1 0 011 1v6h6a1 1 0 110 2h-6v6a1 1 0 11-2 0l-.001-6H13a1 1 0 110-2h5.999L19 13a1 1 0 011-1z",
28285
28378
  fill: "CurrentColor"
28286
28379
  })));
28287
28380
  }
28288
28381
 
28289
- var _path$1c;
28382
+ var _path$19;
28290
28383
 
28291
- function _extends$1f() {
28292
- _extends$1f = Object.assign ? Object.assign.bind() : function (target) {
28384
+ function _extends$1d() {
28385
+ _extends$1d = Object.assign ? Object.assign.bind() : function (target) {
28293
28386
  for (var i = 1; i < arguments.length; i++) {
28294
28387
  var source = arguments[i];
28295
28388
 
@@ -28302,16 +28395,16 @@ function _extends$1f() {
28302
28395
 
28303
28396
  return target;
28304
28397
  };
28305
- return _extends$1f.apply(this, arguments);
28398
+ return _extends$1d.apply(this, arguments);
28306
28399
  }
28307
28400
 
28308
28401
  function SvgMoreVert(props) {
28309
- return /*#__PURE__*/React.createElement("svg", _extends$1f({
28402
+ return /*#__PURE__*/React.createElement("svg", _extends$1d({
28310
28403
  width: 4,
28311
28404
  height: 14,
28312
28405
  fill: "none",
28313
28406
  xmlns: "http://www.w3.org/2000/svg"
28314
- }, props), _path$1c || (_path$1c = /*#__PURE__*/React.createElement("path", {
28407
+ }, props), _path$19 || (_path$19 = /*#__PURE__*/React.createElement("path", {
28315
28408
  d: "M.532 11.012c.355-.355.764-.533 1.228-.533.464 0 .874.178 1.228.533.355.354.532.764.532 1.228 0 .464-.177.873-.532 1.228-.354.355-.764.532-1.228.532-.464 0-.873-.177-1.228-.532C.177 13.113 0 12.704 0 12.24c0-.464.177-.873.532-1.228zm0-5.24c.355-.355.764-.532 1.228-.532.464 0 .874.177 1.228.532.355.355.532.764.532 1.228 0 .464-.177.873-.532 1.228-.354.355-.764.532-1.228.532-.464 0-.873-.177-1.228-.532C.177 7.873 0 7.464 0 7c0-.464.177-.873.532-1.228zm2.456-2.784c-.354.355-.764.532-1.228.532-.464 0-.873-.177-1.228-.532C.177 2.634 0 2.224 0 1.76 0 1.296.177.887.532.532.887.177 1.296 0 1.76 0c.464 0 .874.177 1.228.532.355.355.532.764.532 1.228 0 .464-.177.874-.532 1.228z",
28316
28409
  fill: "#9B9DA8"
28317
28410
  })));
@@ -28362,7 +28455,8 @@ var ChangeMemberRole = function ChangeMemberRole(_ref) {
28362
28455
  maxWidth: '400px',
28363
28456
  padding: '0'
28364
28457
  }, React__default.createElement(PopupBody, {
28365
- padding: 24
28458
+ paddingH: '24px',
28459
+ paddingV: '24px'
28366
28460
  }, React__default.createElement(CloseIcon, {
28367
28461
  onClick: function onClick() {
28368
28462
  return handleClosePopup();
@@ -28400,7 +28494,7 @@ var RolesSelect = styled__default.div(_templateObject$z || (_templateObject$z =
28400
28494
  var RoleLabel = styled__default.div(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: 500;\n font-size: 14px;\n margin: 20px 0 8px;\n color: #1f233c;\n"])));
28401
28495
  var RoleSpan = styled__default.span(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteralLoose(["\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n color: #383b51;\n text-transform: capitalize;\n"])));
28402
28496
 
28403
- var _templateObject$A, _templateObject2$x, _templateObject3$s, _templateObject4$m, _templateObject5$k, _templateObject6$j, _templateObject7$f, _templateObject8$e;
28497
+ var _templateObject$A, _templateObject2$x, _templateObject3$s, _templateObject4$m, _templateObject5$k, _templateObject6$j, _templateObject7$f, _templateObject8$e, _templateObject9$c;
28404
28498
 
28405
28499
  var Members = function Members(_ref) {
28406
28500
  var channel = _ref.channel,
@@ -28564,11 +28658,13 @@ var Members = function Members(_ref) {
28564
28658
  size: 40,
28565
28659
  textSize: 14,
28566
28660
  setDefaultAvatar: true
28567
- }), React__default.createElement(MemberNamePresence, null, React__default.createElement(MemberName$3, null, member.id === user.id ? 'You' : makeUsername(member.id === user.id ? member : contactsMap[member.id], member, getFromContacts), member.role === 'owner' ? React__default.createElement(RoleBadge, {
28661
+ }), React__default.createElement(MemberNamePresence, null, React__default.createElement(MemberNameWrapper, null, React__default.createElement(MemberName$3, null, member.id === user.id ? 'You' : makeUsername(member.id === user.id ? member : contactsMap[member.id], member, getFromContacts)), member.role === 'owner' ? React__default.createElement(RoleBadge, {
28568
28662
  color: colors.primary
28569
28663
  }, "Owner") : member.role === 'admin' ? React__default.createElement(RoleBadge, {
28570
28664
  color: colors.purple
28571
- }, "Admin") : ''), React__default.createElement(SubTitle, null, member.presence && member.presence.state === PRESENCE_STATUS.ONLINE ? 'Online' : member.presence && member.presence.lastActiveAt && userLastActiveDateFormat(member.presence.lastActiveAt))), !noMemberEditPermissions && member.role !== 'owner' && member.id !== user.id && React__default.createElement(DropDown, {
28665
+ }, "Admin") : ''), React__default.createElement(SubTitle, {
28666
+ margin: '1px 0 0'
28667
+ }, member.presence && member.presence.state === PRESENCE_STATUS.ONLINE ? 'Online' : member.presence && member.presence.lastActiveAt && userLastActiveDateFormat(member.presence.lastActiveAt))), !noMemberEditPermissions && member.role !== 'owner' && member.id !== user.id && React__default.createElement(DropDown, {
28572
28668
  isSelect: true,
28573
28669
  forceClose: !!(closeMenu && closeMenu !== member.id),
28574
28670
  watchToggleState: function watchToggleState(state) {
@@ -28654,16 +28750,17 @@ var Members = function Members(_ref) {
28654
28750
  };
28655
28751
  var Container$j = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteralLoose([""])));
28656
28752
  var ActionsMenu$1 = styled__default.div(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteralLoose(["\n position: relative;\n transition: all 0.2s;\n"])));
28657
- var MemberNamePresence = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 64px);\n"])));
28658
- var MemberName$3 = styled__default.h4(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n margin: 0;\n width: 100%;\n font-weight: 400;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ", ";\n"])), colors.gray6);
28659
- var EditMemberIcon$1 = styled__default.span(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n margin-left: auto;\n cursor: pointer;\n padding: 2px;\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n"])));
28660
- var MembersList$1 = styled__default.ul(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
28661
- var MemberItem$1 = styled__default.li(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 15px;\n font-weight: 500;\n padding: 6px 16px;\n transition: all 0.2s;\n\n &:first-child {\n color: ", ";\n cursor: pointer;\n background-color: #fff;\n\n > svg {\n color: ", ";\n margin-right: 12px;\n }\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:hover ", " {\n opacity: 1;\n visibility: visible;\n }\n\n & .dropdown-wrapper {\n margin-left: auto;\n }\n\n & ", " {\n width: 12px;\n height: 12px;\n right: -1px;\n bottom: -1px;\n }\n"])), colors.gray6, function (props) {
28753
+ var MemberNamePresence = styled__default.div(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n max-width: calc(100% - 54px);\n\n & > ", " {\n display: block;\n }\n"])), SubTitle);
28754
+ var MemberNameWrapper = styled__default.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n"])));
28755
+ var MemberName$3 = styled__default.h4(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteralLoose(["\n margin: 0;\n font-weight: 400;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n color: ", ";\n"])), colors.gray6);
28756
+ var EditMemberIcon$1 = styled__default.span(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteralLoose(["\n margin-left: auto;\n cursor: pointer;\n padding: 2px;\n opacity: 0;\n visibility: hidden;\n transition: all 0.2s;\n"])));
28757
+ var MembersList$1 = styled__default.ul(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n list-style: none;\n transition: all 0.2s;\n"])));
28758
+ var MemberItem$1 = styled__default.li(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 15px;\n font-weight: 500;\n padding: 6px 16px;\n transition: all 0.2s;\n\n &:first-child {\n color: ", ";\n cursor: pointer;\n background-color: #fff;\n\n > svg {\n color: ", ";\n margin-right: 12px;\n }\n }\n\n &:hover {\n background-color: ", ";\n }\n\n &:hover ", " {\n opacity: 1;\n visibility: visible;\n }\n\n & .dropdown-wrapper {\n margin-left: auto;\n }\n\n & ", " {\n width: 12px;\n height: 12px;\n right: -1px;\n bottom: -1px;\n }\n"])), colors.gray6, function (props) {
28662
28759
  return props.addMemberIconColor || colors.primary;
28663
28760
  }, function (props) {
28664
28761
  return props.hoverBackground || colors.gray0;
28665
28762
  }, EditMemberIcon$1, UserStatus);
28666
- var RoleBadge = styled__default.span(_templateObject8$e || (_templateObject8$e = _taggedTemplateLiteralLoose(["\n position: relative;\n padding: 2px 8px;\n border-radius: 12px;\n margin-left: 4px;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 12px;\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: 0.1;\n }\n"])), function (props) {
28763
+ var RoleBadge = styled__default.span(_templateObject9$c || (_templateObject9$c = _taggedTemplateLiteralLoose(["\n position: relative;\n padding: 2px 8px;\n border-radius: 12px;\n margin-left: 4px;\n font-weight: 500;\n font-size: 12px;\n line-height: 16px;\n color: ", ";\n\n &::after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 12px;\n width: 100%;\n height: 100%;\n background-color: ", ";\n opacity: 0.1;\n }\n"])), function (props) {
28667
28764
  return props.color;
28668
28765
  }, function (props) {
28669
28766
  return props.color || colors.primary;
@@ -28720,10 +28817,10 @@ var Media = function Media(_ref) {
28720
28817
  var Container$k = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n padding: 6px 4px;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n align-items: flex-start;\n display: flex;\n flex-wrap: wrap;\n"])));
28721
28818
  var MediaItem = styled__default.div(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteralLoose(["\n width: calc(33.3333% - 4px);\n height: 110px;\n box-sizing: border-box;\n //border: 1px solid #ccc;\n border: 0.5px solid rgba(0, 0, 0, 0.1);\n border-radius: 8px;\n overflow: hidden;\n margin: 2px;\n"])));
28722
28819
 
28723
- var _path$1d, _path2$8, _path3$4;
28820
+ var _path$1a, _path2$8, _path3$4;
28724
28821
 
28725
- function _extends$1g() {
28726
- _extends$1g = Object.assign ? Object.assign.bind() : function (target) {
28822
+ function _extends$1e() {
28823
+ _extends$1e = Object.assign ? Object.assign.bind() : function (target) {
28727
28824
  for (var i = 1; i < arguments.length; i++) {
28728
28825
  var source = arguments[i];
28729
28826
 
@@ -28736,17 +28833,17 @@ function _extends$1g() {
28736
28833
 
28737
28834
  return target;
28738
28835
  };
28739
- return _extends$1g.apply(this, arguments);
28836
+ return _extends$1e.apply(this, arguments);
28740
28837
  }
28741
28838
 
28742
28839
  function SvgFileIcon$1(props) {
28743
- return /*#__PURE__*/React.createElement("svg", _extends$1g({
28840
+ return /*#__PURE__*/React.createElement("svg", _extends$1e({
28744
28841
  width: 28,
28745
28842
  height: 28,
28746
28843
  viewBox: "0 0 30 30",
28747
28844
  fill: "none",
28748
28845
  xmlns: "http://www.w3.org/2000/svg"
28749
- }, props), _path$1d || (_path$1d = /*#__PURE__*/React.createElement("path", {
28846
+ }, props), _path$1a || (_path$1a = /*#__PURE__*/React.createElement("path", {
28750
28847
  d: "M16.25 2.5H7.5A2.5 2.5 0 005 5v20a2.5 2.5 0 002.5 2.5h15A2.5 2.5 0 0025 25V11.25L16.25 2.5z",
28751
28848
  stroke: "#2F81FF",
28752
28849
  strokeWidth: 1.4,
@@ -28766,10 +28863,10 @@ function SvgFileIcon$1(props) {
28766
28863
  })));
28767
28864
  }
28768
28865
 
28769
- var _path$1e, _path2$9;
28866
+ var _path$1b, _path2$9;
28770
28867
 
28771
- function _extends$1h() {
28772
- _extends$1h = Object.assign ? Object.assign.bind() : function (target) {
28868
+ function _extends$1f() {
28869
+ _extends$1f = Object.assign ? Object.assign.bind() : function (target) {
28773
28870
  for (var i = 1; i < arguments.length; i++) {
28774
28871
  var source = arguments[i];
28775
28872
 
@@ -28782,16 +28879,16 @@ function _extends$1h() {
28782
28879
 
28783
28880
  return target;
28784
28881
  };
28785
- return _extends$1h.apply(this, arguments);
28882
+ return _extends$1f.apply(this, arguments);
28786
28883
  }
28787
28884
 
28788
28885
  function SvgDownloadFile(props) {
28789
- return /*#__PURE__*/React.createElement("svg", _extends$1h({
28886
+ return /*#__PURE__*/React.createElement("svg", _extends$1f({
28790
28887
  width: 18,
28791
28888
  height: 18,
28792
28889
  fill: "none",
28793
28890
  xmlns: "http://www.w3.org/2000/svg"
28794
- }, props), _path$1e || (_path$1e = /*#__PURE__*/React.createElement("path", {
28891
+ }, props), _path$1b || (_path$1b = /*#__PURE__*/React.createElement("path", {
28795
28892
  d: "M16.5 11.5v3.333a1.666 1.666 0 01-1.667 1.667H3.167A1.667 1.667 0 011.5 14.833V11.5",
28796
28893
  stroke: "#2F81FF",
28797
28894
  strokeWidth: 1.4,
@@ -28817,7 +28914,32 @@ var Files = function Files(_ref) {
28817
28914
  filePreviewHoverBackgroundColor = _ref.filePreviewHoverBackgroundColor,
28818
28915
  filePreviewDownloadIcon = _ref.filePreviewDownloadIcon;
28819
28916
  var dispatch = reactRedux.useDispatch();
28917
+
28918
+ var _useState = React.useState({}),
28919
+ downloadingFilesMap = _useState[0],
28920
+ setDownloadingFilesMap = _useState[1];
28921
+
28820
28922
  var attachments = reactRedux.useSelector(activeTabAttachmentsSelector, reactRedux.shallowEqual) || [];
28923
+
28924
+ var handleCompleteDownload = function handleCompleteDownload(attachmentId) {
28925
+ var stateCopy = _extends({}, downloadingFilesMap);
28926
+
28927
+ delete stateCopy[attachmentId];
28928
+ setDownloadingFilesMap(stateCopy);
28929
+ };
28930
+
28931
+ var handleDownloadFile = function handleDownloadFile(attachment) {
28932
+ if (attachment.id) {
28933
+ setDownloadingFilesMap(function (prevState) {
28934
+ var _extends2;
28935
+
28936
+ return _extends({}, prevState, (_extends2 = {}, _extends2[attachment.id] = true, _extends2));
28937
+ });
28938
+ }
28939
+
28940
+ downloadFile(attachment, handleCompleteDownload);
28941
+ };
28942
+
28821
28943
  React.useEffect(function () {
28822
28944
  dispatch(getAttachmentsAC(channelId, channelDetailsTabs.file));
28823
28945
  }, [channelId]);
@@ -28834,9 +28956,14 @@ var Files = function Files(_ref) {
28834
28956
  color: filePreviewSizeColor
28835
28957
  }, file.fileSize ? bytesToSize(file.fileSize) : '')), React__default.createElement(DownloadWrapper, {
28836
28958
  onClick: function onClick() {
28837
- return downloadFile(file);
28838
- }
28839
- }, filePreviewDownloadIcon || React__default.createElement(SvgDownloadFile, null)));
28959
+ return handleDownloadFile(file);
28960
+ }
28961
+ }, downloadingFilesMap[file.id] ? React__default.createElement(UploadingIcon, {
28962
+ width: '12px',
28963
+ height: '12px',
28964
+ borderWidth: '2px',
28965
+ color: colors.gray10
28966
+ }) : filePreviewDownloadIcon || React__default.createElement(SvgDownloadFile, null)));
28840
28967
  }));
28841
28968
  };
28842
28969
  var Container$l = styled__default.ul(_templateObject$C || (_templateObject$C = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
@@ -28851,10 +28978,10 @@ var FileSizeAndDate = styled__default.span(_templateObject7$g || (_templateObjec
28851
28978
  return props.color || colors.gray6;
28852
28979
  });
28853
28980
 
28854
- var _rect$2, _rect2$1, _g$2, _defs;
28981
+ var _rect$2, _rect2$1, _g$3, _defs$1;
28855
28982
 
28856
- function _extends$1i() {
28857
- _extends$1i = Object.assign ? Object.assign.bind() : function (target) {
28983
+ function _extends$1g() {
28984
+ _extends$1g = Object.assign ? Object.assign.bind() : function (target) {
28858
28985
  for (var i = 1; i < arguments.length; i++) {
28859
28986
  var source = arguments[i];
28860
28987
 
@@ -28867,11 +28994,11 @@ function _extends$1i() {
28867
28994
 
28868
28995
  return target;
28869
28996
  };
28870
- return _extends$1i.apply(this, arguments);
28997
+ return _extends$1g.apply(this, arguments);
28871
28998
  }
28872
28999
 
28873
29000
  function SvgLinkIcon(props) {
28874
- return /*#__PURE__*/React.createElement("svg", _extends$1i({
29001
+ return /*#__PURE__*/React.createElement("svg", _extends$1g({
28875
29002
  width: 42,
28876
29003
  height: 42,
28877
29004
  fill: "none",
@@ -28890,12 +29017,12 @@ function SvgLinkIcon(props) {
28890
29017
  stroke: "#000",
28891
29018
  strokeOpacity: 0.1,
28892
29019
  strokeWidth: 0.5
28893
- })), _g$2 || (_g$2 = /*#__PURE__*/React.createElement("g", {
29020
+ })), _g$3 || (_g$3 = /*#__PURE__*/React.createElement("g", {
28894
29021
  clipPath: "url(#linkIcon_svg__clip0)"
28895
29022
  }, /*#__PURE__*/React.createElement("path", {
28896
29023
  d: "M20.314 20.973a.984.984 0 11-1.754.895 3.939 3.939 0 01.724-4.574l2.088-2.088a3.938 3.938 0 115.569 5.569.984.984 0 01-1.392-1.393 1.969 1.969 0 00-2.785-2.784l-2.088 2.088a1.97 1.97 0 00-.362 2.287zm1.522.198a.984.984 0 111.754-.895 3.939 3.939 0 01-.724 4.574l-2.089 2.088a3.938 3.938 0 01-5.568-5.569.984.984 0 011.392 1.392 1.969 1.969 0 002.784 2.785l2.088-2.089a1.97 1.97 0 00.363-2.286z",
28897
29024
  fill: "#95A6FF"
28898
- }))), _defs || (_defs = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
29025
+ }))), _defs$1 || (_defs$1 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
28899
29026
  id: "linkIcon_svg__clip0"
28900
29027
  }, /*#__PURE__*/React.createElement("path", {
28901
29028
  fill: "#fff",
@@ -28963,10 +29090,10 @@ var Links = function Links(_ref) {
28963
29090
  };
28964
29091
  var Container$m = styled__default.ul(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 11px 0 0;\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n transition: all 0.2s;\n"])));
28965
29092
 
28966
- var _rect$3, _circle$7, _path$1f;
29093
+ var _rect$3, _circle$7, _path$1c;
28967
29094
 
28968
- function _extends$1j() {
28969
- _extends$1j = Object.assign ? Object.assign.bind() : function (target) {
29095
+ function _extends$1h() {
29096
+ _extends$1h = Object.assign ? Object.assign.bind() : function (target) {
28970
29097
  for (var i = 1; i < arguments.length; i++) {
28971
29098
  var source = arguments[i];
28972
29099
 
@@ -28979,11 +29106,11 @@ function _extends$1j() {
28979
29106
 
28980
29107
  return target;
28981
29108
  };
28982
- return _extends$1j.apply(this, arguments);
29109
+ return _extends$1h.apply(this, arguments);
28983
29110
  }
28984
29111
 
28985
29112
  function SvgVoicePreview(props) {
28986
- return /*#__PURE__*/React.createElement("svg", _extends$1j({
29113
+ return /*#__PURE__*/React.createElement("svg", _extends$1h({
28987
29114
  width: 40,
28988
29115
  height: 40,
28989
29116
  fill: "none",
@@ -28998,16 +29125,16 @@ function SvgVoicePreview(props) {
28998
29125
  cy: 20,
28999
29126
  r: 14,
29000
29127
  fill: "#0DBD8B"
29001
- })), _path$1f || (_path$1f = /*#__PURE__*/React.createElement("path", {
29128
+ })), _path$1c || (_path$1c = /*#__PURE__*/React.createElement("path", {
29002
29129
  d: "M25.024 19.13c.635.385.635 1.354 0 1.738l-6.612 3.997c-.63.38-1.412-.1-1.412-.868v-7.995c0-.768.783-1.25 1.412-.869l6.612 3.998z",
29003
29130
  fill: "#fff"
29004
29131
  })));
29005
29132
  }
29006
29133
 
29007
- var _rect$4, _circle$8, _path$1g;
29134
+ var _rect$4, _circle$8, _path$1d;
29008
29135
 
29009
- function _extends$1k() {
29010
- _extends$1k = Object.assign ? Object.assign.bind() : function (target) {
29136
+ function _extends$1i() {
29137
+ _extends$1i = Object.assign ? Object.assign.bind() : function (target) {
29011
29138
  for (var i = 1; i < arguments.length; i++) {
29012
29139
  var source = arguments[i];
29013
29140
 
@@ -29020,11 +29147,11 @@ function _extends$1k() {
29020
29147
 
29021
29148
  return target;
29022
29149
  };
29023
- return _extends$1k.apply(this, arguments);
29150
+ return _extends$1i.apply(this, arguments);
29024
29151
  }
29025
29152
 
29026
29153
  function SvgVoicePreviewPause(props) {
29027
- return /*#__PURE__*/React.createElement("svg", _extends$1k({
29154
+ return /*#__PURE__*/React.createElement("svg", _extends$1i({
29028
29155
  width: 40,
29029
29156
  height: 40,
29030
29157
  fill: "none",
@@ -29039,16 +29166,16 @@ function SvgVoicePreviewPause(props) {
29039
29166
  cy: 20,
29040
29167
  r: 14,
29041
29168
  fill: "#0DBD8B"
29042
- })), _path$1g || (_path$1g = /*#__PURE__*/React.createElement("path", {
29169
+ })), _path$1d || (_path$1d = /*#__PURE__*/React.createElement("path", {
29043
29170
  d: "M17.974 15c.357 0 .486.037.617.107.13.07.232.172.302.302.07.13.107.26.107.617v7.948c0 .357-.037.486-.107.617a.726.726 0 01-.302.302c-.13.07-.26.107-.617.107h-.948c-.357 0-.486-.037-.617-.107a.726.726 0 01-.302-.302c-.07-.13-.107-.26-.107-.617v-7.948c0-.357.037-.486.107-.617a.726.726 0 01.302-.302c.13-.07.26-.107.617-.107h.948zm5 0c.357 0 .486.037.617.107.13.07.232.172.302.302.07.13.107.26.107.617v7.948c0 .357-.037.486-.107.617a.726.726 0 01-.302.302c-.13.07-.26.107-.617.107h-.948c-.357 0-.486-.037-.617-.107a.726.726 0 01-.302-.302c-.07-.13-.107-.26-.107-.617v-7.948c0-.357.037-.486.107-.617a.726.726 0 01.302-.302c.13-.07.26-.107.617-.107h.948z",
29044
29171
  fill: "#fff"
29045
29172
  })));
29046
29173
  }
29047
29174
 
29048
- var _rect$5, _circle$9, _path$1h;
29175
+ var _rect$5, _circle$9, _path$1e;
29049
29176
 
29050
- function _extends$1l() {
29051
- _extends$1l = Object.assign ? Object.assign.bind() : function (target) {
29177
+ function _extends$1j() {
29178
+ _extends$1j = Object.assign ? Object.assign.bind() : function (target) {
29052
29179
  for (var i = 1; i < arguments.length; i++) {
29053
29180
  var source = arguments[i];
29054
29181
 
@@ -29061,11 +29188,11 @@ function _extends$1l() {
29061
29188
 
29062
29189
  return target;
29063
29190
  };
29064
- return _extends$1l.apply(this, arguments);
29191
+ return _extends$1j.apply(this, arguments);
29065
29192
  }
29066
29193
 
29067
29194
  function SvgVoicePreviewHoverIcon(props) {
29068
- return /*#__PURE__*/React.createElement("svg", _extends$1l({
29195
+ return /*#__PURE__*/React.createElement("svg", _extends$1j({
29069
29196
  width: 40,
29070
29197
  height: 40,
29071
29198
  fill: "none",
@@ -29080,16 +29207,16 @@ function SvgVoicePreviewHoverIcon(props) {
29080
29207
  cy: 20,
29081
29208
  r: 14,
29082
29209
  fill: "#0DBD8B"
29083
- })), _path$1h || (_path$1h = /*#__PURE__*/React.createElement("path", {
29210
+ })), _path$1e || (_path$1e = /*#__PURE__*/React.createElement("path", {
29084
29211
  d: "M25.024 19.13c.635.385.635 1.354 0 1.738l-6.612 3.997c-.63.38-1.412-.1-1.412-.868v-7.995c0-.768.783-1.25 1.412-.869l6.612 3.998z",
29085
29212
  fill: "#fff"
29086
29213
  })));
29087
29214
  }
29088
29215
 
29089
- var _rect$6, _circle$a, _path$1i;
29216
+ var _rect$6, _circle$a, _path$1f;
29090
29217
 
29091
- function _extends$1m() {
29092
- _extends$1m = Object.assign ? Object.assign.bind() : function (target) {
29218
+ function _extends$1k() {
29219
+ _extends$1k = Object.assign ? Object.assign.bind() : function (target) {
29093
29220
  for (var i = 1; i < arguments.length; i++) {
29094
29221
  var source = arguments[i];
29095
29222
 
@@ -29102,11 +29229,11 @@ function _extends$1m() {
29102
29229
 
29103
29230
  return target;
29104
29231
  };
29105
- return _extends$1m.apply(this, arguments);
29232
+ return _extends$1k.apply(this, arguments);
29106
29233
  }
29107
29234
 
29108
29235
  function SvgVoicePreviewPauseHover(props) {
29109
- return /*#__PURE__*/React.createElement("svg", _extends$1m({
29236
+ return /*#__PURE__*/React.createElement("svg", _extends$1k({
29110
29237
  width: 40,
29111
29238
  height: 40,
29112
29239
  fill: "none",
@@ -29121,7 +29248,7 @@ function SvgVoicePreviewPauseHover(props) {
29121
29248
  cy: 20,
29122
29249
  r: 14,
29123
29250
  fill: "#0DBD8B"
29124
- })), _path$1i || (_path$1i = /*#__PURE__*/React.createElement("path", {
29251
+ })), _path$1f || (_path$1f = /*#__PURE__*/React.createElement("path", {
29125
29252
  d: "M17.974 15c.357 0 .486.037.617.107.13.07.232.172.302.302.07.13.107.26.107.617v7.948c0 .357-.037.486-.107.617a.726.726 0 01-.302.302c-.13.07-.26.107-.617.107h-.948c-.357 0-.486-.037-.617-.107a.726.726 0 01-.302-.302c-.07-.13-.107-.26-.107-.617v-7.948c0-.357.037-.486.107-.617a.726.726 0 01.302-.302c.13-.07.26-.107.617-.107h.948zm5 0c.357 0 .486.037.617.107.13.07.232.172.302.302.07.13.107.26.107.617v7.948c0 .357-.037.486-.107.617a.726.726 0 01-.302.302c-.13.07-.26.107-.617.107h-.948c-.357 0-.486-.037-.617-.107a.726.726 0 01-.302-.302c-.07-.13-.107-.26-.107-.617v-7.948c0-.357.037-.486.107-.617a.726.726 0 01.302-.302c.13-.07.26-.107.617-.107h.948z",
29126
29253
  fill: "#fff"
29127
29254
  })));
@@ -29813,7 +29940,7 @@ var Details = function Details(_ref) {
29813
29940
  onClick: function onClick() {
29814
29941
  return setEditMode(true);
29815
29942
  }
29816
- }, channelEditIcon || React__default.createElement(SvgEdit, null))), channel.role && React__default.createElement(Actions$1, {
29943
+ }, channelEditIcon || React__default.createElement(SvgEditIcon, null))), channel.role && React__default.createElement(Actions$1, {
29817
29944
  showMuteUnmuteNotifications: showMuteUnmuteNotifications,
29818
29945
  muteUnmuteNotificationsOrder: muteUnmuteNotificationsOrder,
29819
29946
  unmuteNotificationIcon: unmuteNotificationIcon,
@@ -30068,10 +30195,10 @@ var ChannelDetailsContainer = function ChannelDetailsContainer(_ref) {
30068
30195
  }));
30069
30196
  };
30070
30197
 
30071
- var _path$1j, _path2$a, _path3$5;
30198
+ var _path$1g, _path2$a, _path3$5;
30072
30199
 
30073
- function _extends$1n() {
30074
- _extends$1n = Object.assign ? Object.assign.bind() : function (target) {
30200
+ function _extends$1l() {
30201
+ _extends$1l = Object.assign ? Object.assign.bind() : function (target) {
30075
30202
  for (var i = 1; i < arguments.length; i++) {
30076
30203
  var source = arguments[i];
30077
30204
 
@@ -30084,15 +30211,15 @@ function _extends$1n() {
30084
30211
 
30085
30212
  return target;
30086
30213
  };
30087
- return _extends$1n.apply(this, arguments);
30214
+ return _extends$1l.apply(this, arguments);
30088
30215
  }
30089
30216
 
30090
30217
  function SvgChatLogo(props) {
30091
- return /*#__PURE__*/React.createElement("svg", _extends$1n({
30218
+ return /*#__PURE__*/React.createElement("svg", _extends$1l({
30092
30219
  viewBox: "0 0 249 41",
30093
30220
  fill: "none",
30094
30221
  xmlns: "http://www.w3.org/2000/svg"
30095
- }, props), _path$1j || (_path$1j = /*#__PURE__*/React.createElement("path", {
30222
+ }, props), _path$1g || (_path$1g = /*#__PURE__*/React.createElement("path", {
30096
30223
  d: "M12.507.012a13.357 13.357 0 00-8.978 4.275 13.325 13.325 0 00.355 18.435 13.358 13.358 0 009.136 3.927h10.826a2.536 2.536 0 002.545-2.541V13.336a13.3 13.3 0 00-4.094-9.623 13.333 13.333 0 00-9.79-3.701z",
30097
30224
  fill: "#e17335"
30098
30225
  })), _path2$a || (_path2$a = /*#__PURE__*/React.createElement("path", {
@@ -30112,10 +30239,10 @@ function SceytChatHeader() {
30112
30239
  return React__default.createElement(Container$r, null, React__default.createElement(Logo, null, React__default.createElement(SvgChatLogo, null)));
30113
30240
  }
30114
30241
 
30115
- var _path$1k;
30242
+ var _path$1h;
30116
30243
 
30117
- function _extends$1o() {
30118
- _extends$1o = Object.assign ? Object.assign.bind() : function (target) {
30244
+ function _extends$1m() {
30245
+ _extends$1m = Object.assign ? Object.assign.bind() : function (target) {
30119
30246
  for (var i = 1; i < arguments.length; i++) {
30120
30247
  var source = arguments[i];
30121
30248
 
@@ -30128,16 +30255,16 @@ function _extends$1o() {
30128
30255
 
30129
30256
  return target;
30130
30257
  };
30131
- return _extends$1o.apply(this, arguments);
30258
+ return _extends$1m.apply(this, arguments);
30132
30259
  }
30133
30260
 
30134
30261
  function SvgChevronDown(props) {
30135
- return /*#__PURE__*/React.createElement("svg", _extends$1o({
30262
+ return /*#__PURE__*/React.createElement("svg", _extends$1m({
30136
30263
  width: 32,
30137
30264
  height: 32,
30138
30265
  fill: "none",
30139
30266
  xmlns: "http://www.w3.org/2000/svg"
30140
- }, props), _path$1k || (_path$1k = /*#__PURE__*/React.createElement("path", {
30267
+ }, props), _path$1h || (_path$1h = /*#__PURE__*/React.createElement("path", {
30141
30268
  d: "M9.298 12.937a1.056 1.056 0 10-1.374 1.603l7.39 6.333c.395.339.978.339 1.373 0l7.389-6.333a1.056 1.056 0 10-1.374-1.603L16 18.68l-6.702-5.744z",
30142
30269
  fill: "CurrentColor"
30143
30270
  })));