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ACX,EACOyR,CACX,CAxC8B,CAwC5BxO,EAAAA,U,gGCrDK,SAASoB,EAAmB0N,GAI/B,IAAIC,EAAUD,EAAUC,QACxB,OAAOA,GAAWA,EAAQC,KACpBD,EAAQC,KACR,IAAIC,EAAAA,EAAY,KAC1B,CAMO,SAASnG,EAA2BgG,GAIvC,IAAIC,EAAUD,EAAUC,QACxB,OAAOA,GAAWA,EAAQG,aACpBH,EAAQG,aACR,IAAIC,EAAAA,CACd,CAMO,SAASvN,EAAgBkN,GAC5BA,EAAUM,YAAcC,EAAAA,CAC5B,CAMO,SAASC,EAAwBR,GACpCA,EAAUM,YAAcC,EAAAA,CAC5B,C","sources":["../node_modules/@progress/kendo-react-common/dist/es/classNames.js","../node_modules/@progress/kendo-react-common/dist/es/validate-package.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/base/FocusableUponSelection.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/ChatMessage.js","../node_modules/@progress/kendo-react-common/dist/es/keys.js","../node_modules/@progress/kendo-react-common/dist/es/events/dispatchEvent.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/utils.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/ViewItem.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/Action.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/base/SelectableItemsContainer.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/ActionGroup.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/Attachment.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/AttachmentGroup.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/DateMarker.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/messages/index.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/MessageGroup.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/Toolbar.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/NewMessage.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/package-metadata.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/Chat.js","../node_modules/@progress/kendo-react-conversational-ui/dist/es/components/templates/HeroCard.js","../node_modules/@progress/kendo-react-intl/dist/es/intlUtils.js"],"sourcesContent":["/**\n * @hidden\n */\nexport var classNames = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = {};\n var addLeafKeys = function (arg) { return typeof arg === 'object' ? Object\n .keys(arg)\n .forEach(function (key) {\n result[key] = arg[key];\n }) : result[arg] = true; };\n ;\n var addKeys = function (list) { return list\n .filter(function (arg) { return arg !== true && !!arg; })\n .map(function (arg) {\n return Array.isArray(arg) ?\n addKeys(arg) :\n addLeafKeys(arg);\n }); };\n ;\n addKeys(args);\n return Object\n .keys(result)\n .map(function (key) { return (result[key] && key) || null; })\n .filter(function (el) { return el !== null; })\n .join(' ');\n};\n","import * as licensing from '@progress/kendo-licensing';\n/**\n * @hidden\n */\nexport function validatePackage(packageMetadata) {\n if (typeof licensing !== 'undefined') {\n licensing.validatePackage(packageMetadata);\n }\n else {\n var message = \"License activation failed for \".concat(packageMetadata.name, \"\\n\");\n message += 'The @progress/kendo-licensing script is not loaded.\\n';\n message += \"See \".concat(packageMetadata.licensingDocsUrl, \" for more information.\\n\");\n console.warn(message);\n }\n}\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\n/**\n * @hidden\n */\nvar FocusableUponSelection = /** @class */ (function (_super) {\n __extends(FocusableUponSelection, _super);\n function FocusableUponSelection() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * @hidden\n */\n FocusableUponSelection.prototype.componentDidUpdate = function (prevProps) {\n if (!prevProps.selected && this.props.selected) {\n this.elementToFocus.focus();\n }\n };\n return FocusableUponSelection;\n}(React.Component));\nexport { FocusableUponSelection };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { classNames } from '@progress/kendo-react-common';\nimport { provideIntlService, registerForIntl } from '@progress/kendo-react-intl';\nimport { FocusableUponSelection } from './base/FocusableUponSelection';\n/**\n * Represents the ChatMessage component.\n */\nvar ChatMessage = /** @class */ (function (_super) {\n __extends(ChatMessage, _super);\n function ChatMessage() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * @hidden\n */\n ChatMessage.prototype.render = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.getClassNames(), tabIndex: this.props.tabIndex, onClick: function () { return _this.props.onRequestSelection(_this.props.item.selectionIndex); }, onFocus: function () { return _this.props.onRequestSelection(_this.props.item.selectionIndex); }, ref: function (el) { return _this.elementToFocus = el; } },\n this.getTimestampView(),\n this.getMainView(),\n this.getStatusView()));\n };\n ChatMessage.prototype.getMainView = function () {\n if (this.props.item.typing) {\n return (React.createElement(\"div\", { className: \"k-bubble\" },\n React.createElement(\"div\", { className: \"k-typing-indicator\" },\n React.createElement(\"span\", null),\n React.createElement(\"span\", null),\n React.createElement(\"span\", null))));\n }\n else if (this.props.template) {\n return React.createElement(this.props.template, { item: this.props.item });\n }\n else if (this.props.item.text) {\n return (React.createElement(\"div\", { className: \"k-bubble\" }, this.props.item.text));\n }\n else {\n return null;\n }\n };\n ChatMessage.prototype.getTimestampView = function () {\n var result = null;\n if (this.props.item.timestamp) {\n result = (React.createElement(\"time\", { className: \"k-message-time\", \"aria-hidden\": !this.props.selected }, provideIntlService(this).formatDate(this.props.item.timestamp, this.props.dateFormat)));\n }\n return result;\n };\n ChatMessage.prototype.getStatusView = function () {\n var result = null;\n if (this.props.item.status) {\n result = (React.createElement(\"span\", { className: \"k-message-status\" }, this.props.item.status));\n }\n return result;\n };\n ChatMessage.prototype.getClassNames = function () {\n return classNames({ 'k-only': this.props.isOnlyItemInGroup }, { 'k-first': this.props.isFirstItemInGroup && !this.props.isOnlyItemInGroup }, { 'k-last': this.props.isLastItemInGroup && !this.props.isOnlyItemInGroup }, { 'k-selected': this.props.selected }, { 'k-focus': this.props.selected }, 'k-message');\n };\n /**\n * @hidden\n */\n ChatMessage.defaultProps = {\n dateFormat: 'g',\n tabIndex: -1\n };\n return ChatMessage;\n}(FocusableUponSelection));\nexport { ChatMessage };\nregisterForIntl(ChatMessage);\n","/**\n * @hidden\n */\nexport var Keys = {\n backspace: 8,\n tab: 9,\n enter: 13,\n shift: 16,\n esc: 27,\n space: 32,\n pageUp: 33,\n pageDown: 34,\n end: 35,\n home: 36,\n left: 37,\n up: 38,\n right: 39,\n down: 40,\n delete: 46\n};\n","/**\n * @hidden\n * Dispatches a new event based on an event that was already internally dispatched to KendoReact users.\n *\n * @param eventHandler - The public event handler that is assigned by the user.\n * When undefined, the method is not an option.\n * @param dispatchedEvent - The event that was already dispatched internally.\n * @param target - The target component of the new event.\n * @param eventData - The additional data that will be passed through the new event.\n * When the new event has no additional data\n * other than the `BaseEvent` arguments, pass `undefined`.\n */\nexport function dispatchEvent(eventHandler, dispatchedEvent, target, eventData) {\n if (eventHandler) {\n var eventBaseData = {\n syntheticEvent: dispatchedEvent,\n nativeEvent: dispatchedEvent.nativeEvent,\n target: target\n };\n eventHandler.call(undefined, Object.assign(eventBaseData, eventData));\n }\n}\n","/**\n * @hidden\n */\nexport var isAuthor = function (user, msg) {\n return user && msg.author && user.id === msg.author.id;\n};\n","import { isAuthor } from './utils';\nvar last = function (arr) { return arr[arr.length - 1]; };\nvar dateChanged = function (curr, prev) {\n return (curr && prev) && (prev.getDate() !== curr.getDate() ||\n prev.getMonth() !== curr.getMonth() ||\n prev.getFullYear() !== curr.getFullYear());\n};\nvar addDateMarker = function (acc, msg) {\n var timestamp = msg.timestamp;\n var lastItem = last(acc);\n if (!timestamp) {\n return;\n }\n if (!lastItem || dateChanged(timestamp, lastItem.timestamp)) {\n var dateMarker = {\n type: 'date-marker',\n timestamp: timestamp,\n trackBy: timestamp.getTime()\n };\n acc.push(dateMarker);\n }\n};\nvar groupMessages = function (acc, msg, isLastMessage) {\n var lastItem = last(acc);\n var messages = undefined;\n if (msg.typing && !isLastMessage) {\n return;\n }\n if (lastItem && lastItem.type === 'message-group') {\n messages = lastItem.messages;\n }\n if (messages && isAuthor(msg.author, last(messages))) {\n messages.push(msg);\n }\n else {\n acc.push({\n type: 'message-group',\n messages: [msg],\n author: msg.author,\n timestamp: msg.timestamp,\n trackBy: msg\n });\n }\n};\nvar groupItems = function (total) { return function (acc, msg, index) {\n var isLastMessage = index === total - 1;\n addDateMarker(acc, msg);\n groupMessages(acc, msg, isLastMessage);\n if (msg.attachments && msg.attachments.length > 1) {\n acc.push({\n type: 'attachment-group',\n attachments: msg.attachments,\n attachmentLayout: msg.attachmentLayout,\n timestamp: msg.timestamp,\n trackBy: msg\n });\n }\n if (msg.suggestedActions && isLastMessage) {\n acc.push({\n type: 'action-group',\n actions: msg.suggestedActions,\n timestamp: msg.timestamp,\n trackBy: msg\n });\n }\n return acc;\n}; };\nfunction assignSelectionIndices(viewItems) {\n var selectionCounter = 0;\n viewItems.forEach(function (viewItem) {\n if (viewItem.type === 'message-group') {\n viewItem.messages.forEach(function (msg) {\n msg.selectionIndex = selectionCounter++;\n });\n }\n else if (viewItem.type === 'attachment-group' || viewItem.type === 'action-group') {\n viewItem.selectionIndex = selectionCounter++;\n }\n });\n viewItems.lastSelectionIndex = selectionCounter - 1;\n}\n/**\n * @hidden\n */\nexport var convertMsgsToViewItems = function (messages) {\n var items = messages.slice();\n var result = items.reduce(groupItems(messages.length), []);\n assignSelectionIndices(result);\n return result;\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Keys } from '@progress/kendo-react-common';\nimport { classNames } from '@progress/kendo-react-common';\nimport { FocusableUponSelection } from './base/FocusableUponSelection';\n/**\n * @hidden\n */\nvar Action = /** @class */ (function (_super) {\n __extends(Action, _super);\n function Action() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.onKeyDown = function (event) {\n if (event.keyCode === Keys.enter) {\n _this.props.onActionExecute(_this.props.item, event);\n }\n };\n return _this;\n }\n Action.prototype.render = function () {\n var _this = this;\n return (React.createElement(\"span\", { role: 'button', className: this.getClassNames(), onClick: function (event) { return _this.props.onActionExecute(_this.props.item, event); }, ref: function (el) { return _this.elementToFocus = el; }, onKeyDown: this.onKeyDown, tabIndex: 0 }, this.props.item.title || this.props.item.value));\n };\n Action.prototype.getClassNames = function () {\n return classNames('k-quick-reply', { 'k-first': this.props.isFirstItemInGroup }, { 'k-last': this.props.isLastItemInGroup }, { 'k-selected': this.props.selected }, { 'k-focus': this.props.selected });\n };\n return Action;\n}(FocusableUponSelection));\nexport default Action;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Keys } from '@progress/kendo-react-common';\n/**\n * @hidden\n */\nvar SelectableItemsContainer = /** @class */ (function (_super) {\n __extends(SelectableItemsContainer, _super);\n function SelectableItemsContainer() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = { selectedItemIndex: null };\n _this.onRequestContainerSelection = function () { return _this.props.onRequestSelection(_this.props.group.selectionIndex); };\n _this.onKeyDown = function (event) {\n var newSelectedItemIndex = null;\n var decrementKeyCode;\n var incrementKeyCode;\n if (_this.isKeyboardNavigationLeftRight) {\n decrementKeyCode = Keys.left;\n incrementKeyCode = Keys.right;\n }\n else {\n decrementKeyCode = Keys.up;\n incrementKeyCode = Keys.down;\n }\n if (event.keyCode === decrementKeyCode) {\n newSelectedItemIndex = _this.navigate(false);\n }\n else if (event.keyCode === incrementKeyCode) {\n newSelectedItemIndex = _this.navigate(true);\n }\n if (newSelectedItemIndex !== null) {\n // Prevent the default behaviour of moving of the scrollbar\n // because scrolling is achieved through item focusing.\n event.preventDefault();\n // Stop propagation to remove the collision with the up/down\n // keyboard navigation of the message list.\n event.stopPropagation();\n }\n };\n return _this;\n }\n SelectableItemsContainer.getDerivedStateFromProps = function (props, state) {\n if (!props.selected && state.selectedItemIndex !== null) {\n // Moving away from a selected group.\n return { selectedItemIndex: null };\n }\n else if (props.selected && state.selectedItemIndex === null) {\n // Entering a group w/o directly choosing (e.g. clicking) a subitem.\n return { selectedItemIndex: 0 };\n }\n return null;\n };\n SelectableItemsContainer.prototype.navigate = function (incrementSelection, newSelectedItemIndexUponFirstIncrement) {\n if (newSelectedItemIndexUponFirstIncrement === void 0) { newSelectedItemIndexUponFirstIncrement = 0; }\n var result = null;\n var currentlySelectedItemIndex = this.state.selectedItemIndex;\n if (incrementSelection) {\n if (currentlySelectedItemIndex === null) {\n result = newSelectedItemIndexUponFirstIncrement;\n }\n else if (currentlySelectedItemIndex < this.getLastSelectionIndex()) {\n result = currentlySelectedItemIndex + 1;\n }\n }\n else {\n if (currentlySelectedItemIndex === null) {\n result = 0;\n }\n else if (currentlySelectedItemIndex > 0) {\n result = currentlySelectedItemIndex - 1;\n }\n }\n if (result !== null) {\n this.setState({ selectedItemIndex: result });\n }\n return result;\n };\n Object.defineProperty(SelectableItemsContainer.prototype, \"isKeyboardNavigationLeftRight\", {\n get: function () {\n return true;\n },\n enumerable: false,\n configurable: true\n });\n SelectableItemsContainer.prototype.getLastSelectionIndex = function () {\n var result = -1;\n if (this.props.group.type === 'action-group') {\n var actionGroup = this.props.group;\n result = actionGroup.actions ? actionGroup.actions.length - 1 : -1;\n }\n else if (this.props.group.type === 'attachment-group') {\n var attachmentGroup = this.props.group;\n result = attachmentGroup.attachments ? attachmentGroup.attachments.length - 1 : -1;\n }\n return result;\n };\n return SelectableItemsContainer;\n}(React.Component));\nexport { SelectableItemsContainer };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { classNames } from '@progress/kendo-react-common';\nimport Action from './Action';\nimport { SelectableItemsContainer } from './base/SelectableItemsContainer';\n/**\n * @hidden\n */\nvar ActionGroup = /** @class */ (function (_super) {\n __extends(ActionGroup, _super);\n function ActionGroup(props) {\n return _super.call(this, props) || this;\n }\n ActionGroup.prototype.render = function () {\n var _this = this;\n var lastItemIndex = this.props.group.actions ? this.props.group.actions.length - 1 : 0;\n return (React.createElement(\"div\", { className: this.getClassNames(), onClick: this.onRequestContainerSelection, onKeyDown: this.onKeyDown }, this.props.group.actions && this.props.group.actions.map(function (item, index) {\n return (React.createElement(Action, { item: item, onActionExecute: _this.props.onActionExecute, selected: index === _this.state.selectedItemIndex, isFirstItemInGroup: index === 0, isLastItemInGroup: index === lastItemIndex, key: index }));\n })));\n };\n ActionGroup.prototype.getClassNames = function () {\n return classNames('k-quick-replies');\n };\n return ActionGroup;\n}(SelectableItemsContainer));\nexport default ActionGroup;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { classNames } from '@progress/kendo-react-common';\nimport { FocusableUponSelection } from './base/FocusableUponSelection';\n/**\n * @hidden\n */\nvar Attachment = /** @class */ (function (_super) {\n __extends(Attachment, _super);\n function Attachment() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Attachment.prototype.render = function () {\n var _this = this;\n return (React.createElement(\"div\", { className: this.getClassNames(), tabIndex: this.getTabIndexValue(), onClick: this.props.onClick, ref: function (el) { return _this.elementToFocus = el; } }, this.props.template ?\n React.createElement(this.props.template, { item: this.props.item }) :\n (React.createElement(\"div\", { className: \"k-card\" },\n React.createElement(\"div\", { className: \"k-card-body\" },\n this.getTitleView(),\n this.getSubtitleView(),\n this.getContentView())))));\n };\n Attachment.prototype.getTabIndexValue = function () {\n if (this.props.tabbable === undefined) {\n return undefined;\n }\n else if (this.props.tabbable) {\n return 0;\n }\n else {\n return -1;\n }\n };\n Attachment.prototype.getClassNames = function () {\n return classNames({ 'k-selected': this.props.selected }, { 'k-focus': this.props.selected }, 'k-card-wrap', { 'k-first': this.props.isFirstItemInGroup }, { 'k-last': this.props.isLastItemInGroup });\n };\n Attachment.prototype.getTitleView = function () {\n return this.props.item.title ?\n React.createElement(\"h5\", { className: \"k-card-title\" }, this.props.item.title) :\n null;\n };\n Attachment.prototype.getSubtitleView = function () {\n return this.props.item.subtitle ?\n React.createElement(\"h6\", { className: \"k-card-subtitle\" }, this.props.item.subtitle) :\n null;\n };\n Attachment.prototype.getContentView = function () {\n return this.props.item.contentType.indexOf('image/') === 0 ?\n React.createElement(\"img\", { src: this.props.item.content }) :\n this.props.item.content;\n };\n return Attachment;\n}(FocusableUponSelection));\nexport default Attachment;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { classNames } from '@progress/kendo-react-common';\nimport { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';\nimport Attachment from './Attachment';\nimport { SelectableItemsContainer } from './base/SelectableItemsContainer';\nimport { Button } from '@progress/kendo-react-buttons';\n/**\n * @hidden\n */\nvar AttachmentGroup = /** @class */ (function (_super) {\n __extends(AttachmentGroup, _super);\n function AttachmentGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AttachmentGroup.prototype.render = function () {\n var _this = this;\n var isCardDeckLayout = this.isCardDeckLayout(this.props);\n var viewWithoutScrollButtons = (React.createElement(\"div\", { className: this.getClassNames(), onKeyDown: isCardDeckLayout ? undefined : this.onKeyDown }, this.props.group.attachments.map(function (item, index) {\n return (React.createElement(Attachment, { item: item, template: _this.props.itemTemplate, selected: index === _this.state.selectedItemIndex, tabbable: _this.props.isLastGroup && index === _this.state.selectedItemIndex, isFirstItemInGroup: index === 0, isLastItemInGroup: index === _this.getLastItemIndex(), onClick: function () { return _this.onAttachmentClick(index); }, key: index }));\n })));\n if (isCardDeckLayout) {\n return (React.createElement(\"div\", { className: \"k-card-deck-scrollwrap\", onKeyDown: this.onKeyDown },\n this.getLeftScrollBtn(),\n viewWithoutScrollButtons,\n this.getRightScrollBtn()));\n }\n else {\n return viewWithoutScrollButtons;\n }\n };\n Object.defineProperty(AttachmentGroup.prototype, \"isKeyboardNavigationLeftRight\", {\n // Overriding the default navigation.\n get: function () {\n return this.isCardDeckLayout(this.props);\n },\n enumerable: false,\n configurable: true\n });\n AttachmentGroup.prototype.getLastItemIndex = function () {\n return this.props.group.attachments.length - 1;\n };\n AttachmentGroup.prototype.getLeftScrollBtn = function () {\n var _this = this;\n var result = null;\n if (this.isCardDeckLayout(this.props) && this.state.selectedItemIndex) {\n result = (React.createElement(Button, { icon: \"chevron-left\", onClick: function () { return _this.onNavigateBtnClick(false); }, svgIcon: chevronLeftIcon }));\n }\n return result;\n };\n AttachmentGroup.prototype.getRightScrollBtn = function () {\n var _this = this;\n var result = null;\n if (this.isCardDeckLayout(this.props) && this.state.selectedItemIndex !== this.getLastItemIndex()) {\n result = (React.createElement(Button, { icon: \"chevron-right\", onClick: function () { return _this.onNavigateBtnClick(true); }, svgIcon: chevronRightIcon }));\n }\n return result;\n };\n AttachmentGroup.prototype.onAttachmentClick = function (attachmentIndex) {\n this.onRequestContainerSelection();\n this.setState({ selectedItemIndex: attachmentIndex });\n };\n AttachmentGroup.prototype.onNavigateBtnClick = function (incrementSelection) {\n this.onRequestContainerSelection();\n this.navigate(incrementSelection, 1);\n };\n AttachmentGroup.prototype.isCardDeckLayout = function (props) {\n return props.group.attachmentLayout !== 'list';\n };\n AttachmentGroup.prototype.getClassNames = function () {\n return classNames({ 'k-card-deck': this.isCardDeckLayout(this.props) });\n };\n return AttachmentGroup;\n}(SelectableItemsContainer));\nexport default AttachmentGroup;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { provideIntlService, registerForIntl } from '@progress/kendo-react-intl';\n/**\n * @hidden\n */\nvar DateMarker = /** @class */ (function (_super) {\n __extends(DateMarker, _super);\n function DateMarker() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DateMarker.prototype.render = function () {\n var item = this.props.item;\n return React.createElement(\"div\", { className: \"k-timestamp\" }, provideIntlService(this).formatDate(item.timestamp, 'D'));\n };\n return DateMarker;\n}(React.Component));\nexport default DateMarker;\nregisterForIntl(DateMarker);\n","var _a;\n/**\n * @hidden\n */\nexport var newMessageSendButton = 'newMessage.sendButton';\n/**\n * @hidden\n */\nexport var newMessageOptionsButton = 'newMessage.optionsButton';\n/**\n * @hidden\n */\nexport var newMessageMessageInput = 'newMessage.messageInput';\n/**\n * @hidden\n */\nexport var avatarAlt = 'avatar.alt';\n/**\n * @hidden\n */\nexport var ariaLabelMessageList = 'messageList.ariaLabel';\n/**\n * @hidden\n */\nexport var messages = (_a = {},\n _a[newMessageSendButton] = 'Send',\n _a[newMessageOptionsButton] = 'Options',\n _a[newMessageMessageInput] = 'Message',\n _a[avatarAlt] = 'Avatar',\n _a[ariaLabelMessageList] = 'Message list',\n _a);\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { classNames } from '@progress/kendo-react-common';\nimport Attachment from './Attachment';\nimport { isAuthor } from './../utils';\nimport { provideLocalizationService } from '@progress/kendo-react-intl';\nimport { messages, avatarAlt } from '../messages';\n/**\n * @hidden\n */\nvar MessageGroup = /** @class */ (function (_super) {\n __extends(MessageGroup, _super);\n function MessageGroup() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MessageGroup.prototype.render = function () {\n var _a = this.props.group.author, avatarUrl = _a.avatarUrl, avatarAltText = _a.avatarAltText, name = _a.name;\n var localizationService = provideLocalizationService(this);\n return (React.createElement(\"div\", { className: this.getMsgGroupClassNames() },\n avatarUrl && (React.createElement(\"img\", { src: avatarUrl, className: \"k-avatar\", alt: avatarAltText !== undefined\n ? avatarAltText\n : localizationService.toLanguageString(avatarAlt, messages[avatarAlt]) })),\n name && (React.createElement(\"p\", { className: \"k-author\" }, name)),\n this.getGroupMessagesView()));\n };\n MessageGroup.prototype.getMsgGroupClassNames = function () {\n return classNames('k-message-group', {\n 'k-no-avatar': !this.props.group.author.avatarUrl,\n 'k-alt': isAuthor(this.props.user, this.props.group.messages[0])\n });\n };\n MessageGroup.prototype.getGroupMessagesView = function () {\n var _this = this;\n var lastItemIndex = this.props.group.messages.length - 1;\n return this.props.group.messages.map(function (msg, index) {\n var result = [(React.createElement(_this.props.message, { item: msg, template: _this.props.itemTemplate, selected: msg.selectionIndex === _this.props.selectedItemIndex, onRequestSelection: _this.props.onRequestSelection, tabIndex: index === lastItemIndex && _this.props.isLastGroup ? 0 : -1, isFirstItemInGroup: index === 0, isLastItemInGroup: index === lastItemIndex, isOnlyItemInGroup: lastItemIndex === 0, key: index }))];\n if (msg.attachments && msg.attachments.length === 1) {\n result.push(React.createElement(Attachment, { item: msg.attachments[0], template: _this.props.attachmentTemplate, selected: false, key: \"att-\".concat(index) }));\n }\n return result;\n });\n };\n return MessageGroup;\n}(React.Component));\nexport default MessageGroup;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\n/**\n * @hidden\n */\nvar Toolbar = /** @class */ (function (_super) {\n __extends(Toolbar, _super);\n function Toolbar() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Toolbar.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"k-toolbar-box\" },\n React.createElement(\"div\", { className: \"k-button-list\" }, this.props.children)));\n };\n return Toolbar;\n}(React.Component));\nexport default Toolbar;\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { Keys, classNames } from '@progress/kendo-react-common';\nimport * as React from 'react';\nimport Toolbar from './Toolbar';\nimport { Button } from '@progress/kendo-react-buttons';\nimport { provideLocalizationService } from '@progress/kendo-react-intl';\nimport { messages, newMessageSendButton, newMessageOptionsButton, newMessageMessageInput } from '../messages';\n/**\n * @hidden\n */\nvar NewMessage = /** @class */ (function (_super) {\n __extends(NewMessage, _super);\n function NewMessage() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.state = { focused: false };\n _this.inputEl = null;\n _this.onInputKeyDown = function (event) {\n if (event.keyCode === Keys.enter) {\n _this.sendMessage(event);\n }\n };\n _this.sendMessage = function (event) {\n if (_this.props.onMessageSend && _this.inputEl !== null) {\n var messageText = _this.inputEl.value;\n if (messageText) {\n var message = {\n author: _this.props.user,\n text: messageText,\n timestamp: new Date()\n };\n _this.props.onMessageSend(message, event);\n }\n }\n if (_this.inputEl !== null) {\n _this.inputEl.value = null;\n }\n };\n return _this;\n }\n NewMessage.prototype.render = function () {\n var _this = this;\n var localizationService = provideLocalizationService(this);\n var messageInput = (React.createElement(\"input\", { type: \"text\", className: this.getClassNames(), placeholder: this.props.placeholder, onKeyDown: this.onInputKeyDown, onFocus: function () { return _this.setState({ focused: true }); }, onBlur: function () { return _this.setState({ focused: false }); }, ref: function (el) { return _this.inputEl = el; }, \"aria-label\": localizationService.toLanguageString(newMessageMessageInput, messages[newMessageMessageInput]) }));\n var sendButton = (React.createElement(Button, { fillMode: \"flat\", themeColor: \"base\", rounded: null, className: \"k-icon-button k-button-send\", onClick: this.sendMessage, \"aria-label\": localizationService.toLanguageString(newMessageSendButton, messages[newMessageSendButton]), dir: this.props.isDirectionRightToLeft ? 'rtl' : undefined },\n React.createElement(\"span\", { className: \"k-button-icon k-icon\" },\n React.createElement(\"svg\", { version: \"1.1\", xmlns: \"http://www.w3.org/2000/svg\", x: \"0px\", y: \"0px\", viewBox: \"0 0 16 16\" },\n React.createElement(\"path\", { d: NewMessage.buttonIconPath })))));\n var toolbarButton = (React.createElement(Button, { fillMode: \"flat\", themeColor: \"base\", rounded: null, className: \"k-icon-button k-button-toggle\", onClick: function (event) { return _this.props.onToolbarActionButtonClick(!_this.props.showToolbar, event); }, \"aria-label\": localizationService.toLanguageString(newMessageOptionsButton, messages[newMessageOptionsButton]) },\n React.createElement(\"span\", { className: \"k-button-icon k-icon\" },\n React.createElement(\"svg\", { version: \"1.1\", id: \"Layer_1\", x: \"0px\", y: \"0px\", viewBox: \"0 0 512 512\" },\n React.createElement(\"g\", null,\n React.createElement(\"path\", { d: \"M128,240c0-26.4-21.6-48-48-48s-48,21.6-48,48s21.6,48,48,48S128,266.4,128,240z\" }),\n React.createElement(\"path\", { d: \"M192,240c0,26.4,21.6,48,48,48c26.4,0,48-21.6,48-48s-21.6-48-48-48C213.6,192,192,213.6,192,240z\" }),\n React.createElement(\"path\", { d: \"M352,240c0,26.4,21.6,48,48,48c26.4,0,48-21.6,48-48s-21.6-48-48-48C373.6,192,352,213.6,352,240z\" }))))));\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"k-message-box k-textbox k-input k-input-md k-rounded-md k-input-solid\" }, this.props.MessageBox ?\n React.createElement(this.props.MessageBox, { messageInput: messageInput, sendButton: sendButton, toolbarButton: toolbarButton }) :\n React.createElement(React.Fragment, null,\n messageInput,\n this.props.toolbar && toolbarButton,\n sendButton)),\n this.props.showToolbar && React.createElement(Toolbar, null, this.props.toolbar)));\n };\n NewMessage.prototype.focusInput = function () {\n if (this.inputEl !== null) {\n this.inputEl.focus();\n }\n };\n NewMessage.prototype.getClassNames = function () {\n return classNames({ 'k-focus': this.state.focused }, 'k-input k-input k-input-md k-input-solid k-input-solid-base');\n };\n /* eslint-disable-next-line max-len */\n NewMessage.buttonIconPath = 'M0,14.3c-0.1,0.6,0.3,0.8,0.8,0.6l14.8-6.5c0.5-0.2,0.5-0.6,0-0.8L0.8,1.1C0.3,0.9-0.1,1.1,0,1.7l0.7,4.2C0.8,6.5,1.4,7,1.9,7.1l8.8,0.8c0.6,0.1,0.6,0.1,0,0.2L1.9,8.9C1.4,9,0.8,9.5,0.7,10.1L0,14.3z';\n return NewMessage;\n}(React.Component));\nexport default NewMessage;\n","/**\n * @hidden\n */\nexport var packageMetadata = {\n name: '@progress/kendo-react-conversational-ui',\n productName: 'KendoReact',\n productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],\n publishDate: 1682925792,\n version: '',\n licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'\n};\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { Keys, classNames, dispatchEvent } from '@progress/kendo-react-common';\nimport * as PropTypes from 'prop-types';\nimport * as React from 'react';\nimport { convertMsgsToViewItems } from './../ViewItem';\nimport ActionGroup from './ActionGroup';\nimport AttachmentGroup from './AttachmentGroup';\nimport DateMarker from './DateMarker';\nimport MessageGroup from './MessageGroup';\nimport NewMessage from './NewMessage';\nimport { ChatMessage } from './ChatMessage';\nimport { validatePackage } from '@progress/kendo-react-common';\nimport { packageMetadata } from '../package-metadata';\nimport { ariaLabelMessageList, messages } from '../messages';\nimport { provideLocalizationService } from '@progress/kendo-react-intl';\n/**\n * Represents the [KendoReact Chat component]({% slug overview_convui %}).\n */\nvar Chat = /** @class */ (function (_super) {\n __extends(Chat, _super);\n function Chat(props) {\n var _this = _super.call(this, props) || this;\n _this.viewItems = [];\n _this.isDirectionRightToLeft = false;\n _this.scrollToBottomOnLoadingData = true;\n _this.onFocus = function () {\n clearTimeout(_this.timeoutIdForChatLosingFocus);\n };\n _this.onBlur = function () {\n // This is a hacky solution to clear the selection when the focus is lost\n // in favor of an element outside the Chat.\n // https://medium.com/@jessebeach/dealing-with-focus-and-blur-in-a-composite-widget-in-react-90d3c3b49a9b\n _this.timeoutIdForChatLosingFocus = window.setTimeout(function () { _this.setState({ selectedItemIndex: null }); }, 0);\n };\n _this.onSelectionRequested = function (clickedItemIndex) {\n _this.setState({ selectedItemIndex: clickedItemIndex });\n };\n _this.onKeyDown = function (event) {\n var newSelectedItemIndex = null;\n var currentSelectedItemIndex = _this.state.selectedItemIndex !== null ?\n _this.state.selectedItemIndex :\n _this.viewItems.lastSelectionIndex;\n if (event.keyCode === Keys.up) {\n if (currentSelectedItemIndex === null) {\n newSelectedItemIndex = 0;\n }\n else if (currentSelectedItemIndex > 0) {\n newSelectedItemIndex = currentSelectedItemIndex - 1;\n }\n }\n else if (event.keyCode === Keys.down) {\n if (currentSelectedItemIndex === null) {\n newSelectedItemIndex = 0;\n }\n else if (currentSelectedItemIndex < _this.viewItems.lastSelectionIndex) {\n newSelectedItemIndex = currentSelectedItemIndex + 1;\n }\n }\n if (newSelectedItemIndex !== null) {\n _this.setState({ selectedItemIndex: newSelectedItemIndex });\n // Prevent the default behavior of moving of the scrollbar\n // because scrolling is achieved through item focusing.\n event.preventDefault();\n }\n };\n _this.onMessageSend = function (message, event) {\n dispatchEvent(_this.props.onMessageSend, event, _this, { message: message });\n };\n _this.onActionExecute = function (action, event) {\n dispatchEvent(_this.props.onActionExecute, event, _this, { action: action });\n if (!event.isDefaultPrevented()) {\n switch (action.type) {\n case 'reply':\n _this.onMessageSend({\n author: _this.props.user,\n text: action.value,\n timestamp: new Date()\n }, event);\n break;\n case 'call':\n window.open('tel:' + action.value);\n break;\n case 'openUrl':\n window.open(action.value);\n break;\n default:\n break;\n }\n _this.newMsgComp.focusInput();\n }\n };\n validatePackage(packageMetadata);\n _this.state = { selectedItemIndex: null, isFirstRender: true };\n return _this;\n }\n /**\n * @hidden\n */\n Chat.prototype.render = function () {\n var _this = this;\n this.viewItems = this.getViewItemsFromMsgs(this.props.messages);\n this.isDirectionRightToLeft = this.checkIsDirectionRightToLeft(this.props);\n var localizationService = provideLocalizationService(this);\n return (React.createElement(\"div\", { style: { width: this.props.width }, onKeyDown: this.onKeyDown, className: this.getClassNames(), ref: function (el) { return _this.chatWrapperEl = el; } },\n React.createElement(\"div\", { className: \"k-message-list k-avatars\", onBlur: this.onBlur, onFocus: this.onFocus, role: \"log\", \"aria-label\": localizationService.toLanguageString(ariaLabelMessageList, messages[ariaLabelMessageList]), \"aria-live\": \"polite\", onScroll: function (e) {\n _this.scrollToBottomOnLoadingData =\n (e.currentTarget.scrollTop === e.currentTarget.scrollHeight - e.currentTarget.clientHeight);\n }, ref: function (el) { return _this.viewItemsWrapperEl = el; } },\n React.createElement(\"div\", { className: \"k-message-list-content\" }, this.renderViewItems())),\n React.createElement(NewMessage, { user: this.props.user, onMessageSend: this.onMessageSend, isDirectionRightToLeft: this.isDirectionRightToLeft, ref: function (comp) { return _this.newMsgComp = comp; }, placeholder: this.props.placeholder, MessageBox: this.props.messageBox, toolbar: this.props.toolbar, onToolbarActionButtonClick: this.props.onToolbarActionExecute, showToolbar: this.props.showToolbar })));\n };\n /**\n * @hidden\n */\n Chat.prototype.componentDidMount = function () {\n var _this = this;\n this.setState({ isFirstRender: false }, function () {\n // W/o window.setTimeout the scrolling does not manage to go to the bottom, some offset is left.\n _this.nextTickId = window.setTimeout(function () { return _this.scrollViewItemsToBottom(); }, 250);\n });\n };\n /**\n * @hidden\n */\n Chat.prototype.componentWillUnmount = function () {\n clearTimeout(this.nextTickId);\n };\n /**\n * @hidden\n */\n Chat.prototype.componentDidUpdate = function (prevProps) {\n if (prevProps.messages.length !== this.props.messages.length && this.scrollToBottomOnLoadingData) {\n this.scrollViewItemsToBottom();\n }\n };\n Chat.prototype.getClassNames = function () {\n return classNames('k-widget', 'k-chat', this.props.className, { 'k-rtl': this.isDirectionRightToLeft });\n };\n Chat.prototype.checkIsDirectionRightToLeft = function (props) {\n var result = props.dir !== undefined ? props.dir === 'rtl' :\n this.chatWrapperEl && getComputedStyle(this.chatWrapperEl).direction === 'rtl';\n return Boolean(result);\n };\n Chat.prototype.renderViewItems = function () {\n var _this = this;\n var lastViewItemIndex = this.viewItems.length - 1;\n return this.viewItems\n .map(function (viewItem, index) {\n if (viewItem.type === 'date-marker') {\n return React.createElement(DateMarker, { item: viewItem, key: index });\n }\n else if (viewItem.type === 'message-group') {\n return (React.createElement(MessageGroup, { group: viewItem, itemTemplate: _this.props.messageTemplate, attachmentTemplate: _this.props.attachmentTemplate, user: _this.props.user, selectedItemIndex: _this.state.selectedItemIndex, onRequestSelection: _this.onSelectionRequested, isLastGroup: index === lastViewItemIndex, key: index, message: _this.props.message || Chat.defaultProps.message }));\n }\n else if (viewItem.type === 'attachment-group') {\n return (React.createElement(AttachmentGroup, { group: viewItem, itemTemplate: _this.props.attachmentTemplate, onRequestSelection: _this.onSelectionRequested, selected: viewItem.selectionIndex === _this.state.selectedItemIndex, isLastGroup: index === lastViewItemIndex, key: index }));\n }\n else if (viewItem.type === 'action-group') {\n return (React.createElement(ActionGroup, { group: viewItem, onActionExecute: _this.onActionExecute, onRequestSelection: _this.onSelectionRequested, selected: viewItem.selectionIndex === _this.state.selectedItemIndex, isLastGroup: index === lastViewItemIndex, key: index }));\n }\n });\n };\n Chat.prototype.scrollViewItemsToBottom = function () {\n if (this.viewItemsWrapperEl) {\n this.viewItemsWrapperEl.scrollTop =\n this.viewItemsWrapperEl.scrollHeight - this.viewItemsWrapperEl.clientHeight;\n }\n };\n Chat.prototype.getViewItemsFromMsgs = function (msgs) {\n return msgs.length > 0 ? convertMsgsToViewItems(msgs) : [];\n };\n /**\n * @hidden\n */\n Chat.propTypes = {\n messages: PropTypes.arrayOf(PropTypes.object),\n user: PropTypes.object,\n messageTemplate: PropTypes.any,\n attachmentTemplate: PropTypes.any,\n width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n onMessageSend: PropTypes.func,\n onActionExecute: PropTypes.func,\n dir: PropTypes.string,\n messageBox: PropTypes.any\n };\n /**\n * @hidden\n */\n Chat.defaultProps = {\n messages: [],\n dateFormat: 'g',\n message: ChatMessage\n };\n return Chat;\n}(React.Component));\nexport { Chat };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Button } from '@progress/kendo-react-buttons';\nimport { dispatchEvent } from '@progress/kendo-react-common';\n// tslint:enable:max-line-length\n/**\n * Represents a Hero Card component. Hero cards host a single large image and action buttons with text content.\n */\nvar HeroCard = /** @class */ (function (_super) {\n __extends(HeroCard, _super);\n function HeroCard() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.onBtnClick = function (action, event) {\n dispatchEvent(_this.props.onActionExecute, event, _this, { action: action });\n };\n return _this;\n }\n /**\n * @hidden\n */\n HeroCard.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"k-card\" },\n React.createElement(\"img\", { className: \"k-card-image\", src: this.props.imageUrl, style: { maxWidth: this.props.imageMaxWidth } }),\n React.createElement(\"div\", { className: \"k-card-body\" },\n this.getTitleView(),\n this.getSubtitleView()),\n React.createElement(\"div\", { className: \"k-card-actions k-card-actions-vertical\" }, this.getActionsView())));\n };\n HeroCard.prototype.getActionsView = function () {\n var _this = this;\n return this.props.actions.map(function (action, index) { return (React.createElement(\"span\", { className: \"k-card-action\", key: index },\n React.createElement(Button, { fillMode: \"flat\", onClick: function (e) { return _this.onBtnClick(action, e); } }, action.title))); });\n };\n HeroCard.prototype.getTitleView = function () {\n var result = null;\n if (this.props.title) {\n result = (React.createElement(\"h5\", { className: \"k-card-title\" }, this.props.title));\n }\n return result;\n };\n HeroCard.prototype.getSubtitleView = function () {\n var result = null;\n if (this.props.subtitle) {\n result = (React.createElement(\"h6\", { className: \"k-card-subtitle\" }, this.props.subtitle));\n }\n return result;\n };\n return HeroCard;\n}(React.Component));\nexport { HeroCard };\n","import { IntlService } from './Intl/IntlService';\nimport { LocalizationService } from './Localization/LocalizationService';\nimport { GlobalizationContext } from './globalization/GlobalizationContext';\n/* eslint-disable max-len */\n/**\n * Provides an internationalization service. When the passed component is a direct or indirect child of `IntlProvider`, the returned service uses the locale of the provider. Otherwise, uses `en` as a default locale. To handle locale changes, call the method on each `render`.\n *\n * @param componentClass - The React component class that will use the internationalization service.\n */\nexport function provideIntlService(component) {\n if (!component && process.env.NODE_ENV !== 'production') {\n throw \"Passed component - \".concat(component, \" is invalid.\");\n }\n var context = component.context;\n return context && context.intl\n ? context.intl\n : new IntlService('en');\n}\n/**\n * Provides a localization service. When the passed component is a direct or indirect child of `LocalizationProvider`, the returned service uses the language of the provider. To handle locale changes, call the method on each `render`.\n *\n * @param componentClass - The React component class that will use the internationalization service.\n */\nexport function provideLocalizationService(component) {\n if (!component && process.env.NODE_ENV !== 'production') {\n throw \"Passed component - \".concat(component, \" is invalid.\");\n }\n var context = component.context;\n return context && context.localization\n ? context.localization\n : new LocalizationService();\n}\n/**\n * A method which registers a component class or a functional stateless component for internationalization. When a component of that type is a direct or indirect child of `IntlProvider`, the locale of the provider is used. Otherwise, uses `en` as a default locale.\n *\n * @param component - The React component class that will use the internationalization methods.\n */\nexport function registerForIntl(component) {\n component.contextType = GlobalizationContext;\n}\n/**\n * A method which registers a component class or a stateless functional component for localization. When a component of that type is a direct or indirect child of `LocalizationProvider`, the language of the provider is used.\n *\n * @param component - The React component class that will use the internationalization methods.\n */\nexport function registerForLocalization(component) {\n component.contextType = GlobalizationContext;\n}\n// tslint:enable:max-line-length\n"],"names":["classNames","args","_i","arguments","length","result","addKeys","list","filter","arg","map","Array","isArray","Object","keys","forEach","key","addLeafKeys","el","join","validatePackage","packageMetadata","licensing","message","concat","name","licensingDocsUrl","console","warn","__extends","extendStatics","d","b","setPrototypeOf","__proto__","p","prototype","hasOwnProperty","call","TypeError","String","__","this","constructor","create","FocusableUponSelection","_super","apply","componentDidUpdate","prevProps","selected","props","elementToFocus","focus","React","ChatMessage","render","_this","className","getClassNames","tabIndex","onClick","onRequestSelection","item","selectionIndex","onFocus","ref","getTimestampView","getMainView","getStatusView","typing","template","text","timestamp","provideIntlService","formatDate","dateFormat","status","isOnlyItemInGroup","isFirstItemInGroup","isLastItemInGroup","defaultProps","registerForIntl","Keys","dispatchEvent","eventHandler","dispatchedEvent","target","eventData","eventBaseData","syntheticEvent","nativeEvent","undefined","assign","isAuthor","user","msg","author","id","last","arr","groupItems","total","acc","index","isLastMessage","curr","prev","lastItem","getDate","getMonth","getFullYear","dateMarker","type","trackBy","getTime","push","addDateMarker","messages","groupMessages","attachments","attachmentLayout","suggestedActions","actions","Action","onKeyDown","event","keyCode","onActionExecute","role","title","value","SelectableItemsContainer","state","selectedItemIndex","onRequestContainerSelection","group","decrementKeyCode","incrementKeyCode","newSelectedItemIndex","isKeyboardNavigationLeftRight","navigate","preventDefault","stopPropagation","getDerivedStateFromProps","incrementSelection","newSelectedItemIndexUponFirstIncrement","currentlySelectedItemIndex","getLastSelectionIndex","setState","defineProperty","get","enumerable","configurable","actionGroup","attachmentGroup","ActionGroup","lastItemIndex","Attachment","getTabIndexValue","getTitleView","getSubtitleView","getContentView","tabbable","subtitle","contentType","indexOf","src","content","AttachmentGroup","isCardDeckLayout","viewWithoutScrollButtons","itemTemplate","isLastGroup","getLastItemIndex","onAttachmentClick","getLeftScrollBtn","getRightScrollBtn","Button","icon","onNavigateBtnClick","svgIcon","chevronLeftIcon","chevronRightIcon","attachmentIndex","DateMarker","_a","newMessageSendButton","newMessageOptionsButton","newMessageMessageInput","avatarAlt","ariaLabelMessageList","MessageGroup","avatarUrl","avatarAltText","localizationService","provideLocalizationService","getMsgGroupClassNames","alt","toLanguageString","getGroupMessagesView","attachmentTemplate","Toolbar","children","NewMessage","focused","inputEl","onInputKeyDown","sendMessage","onMessageSend","messageText","Date","messageInput","placeholder","onBlur","sendButton","fillMode","themeColor","rounded","dir","isDirectionRightToLeft","version","xmlns","x","y","viewBox","buttonIconPath","toolbarButton","onToolbarActionButtonClick","showToolbar","MessageBox","toolbar","focusInput","productName","productCodes","publishDate","Chat","viewItems","scrollToBottomOnLoadingData","clearTimeout","timeoutIdForChatLosingFocus","window","setTimeout","onSelectionRequested","clickedItemIndex","currentSelectedItemIndex","lastSelectionIndex","action","isDefaultPrevented","open","newMsgComp","isFirstRender","getViewItemsFromMsgs","checkIsDirectionRightToLeft","style","width","chatWrapperEl","onScroll","e","currentTarget","scrollTop","scrollHeight","clientHeight","viewItemsWrapperEl","renderViewItems","comp","messageBox","onToolbarActionExecute","componentDidMount","nextTickId","scrollViewItemsToBottom","componentWillUnmount","getComputedStyle","direction","Boolean","lastViewItemIndex","viewItem","messageTemplate","msgs","slice","reduce","selectionCounter","assignSelectionIndices","convertMsgsToViewItems","propTypes","PropTypes","HeroCard","onBtnClick","imageUrl","maxWidth","imageMaxWidth","getActionsView","component","context","intl","IntlService","localization","LocalizationService","contextType","GlobalizationContext","registerForLocalization"],"sourceRoot":""}