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AA,YAAW,6BAA8BV,EAAMG,aACzHD,EAAAA,cAAoB,MAAO,CAAEC,UAAW,sBAAwBH,EAAMQ,UAC9E,IACAmlC,GAAsBrkB,YAAc,iC","sources":["../node_modules/@progress/kendo-react-layout/dist/es/menu/utils/itemsIdsUtils.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/consts.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/utils/misc.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/components/MenuItemLink.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/components/MenuItemArrow.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/components/MenuItemInternal.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/components/MenuItemInternalsList.js","../node_modules/@progress/kendo-react-layout/dist/es/splitter/SplitterBar.js","../node_modules/@progress/kendo-react-layout/dist/es/tabstrip/TabStripNavigationItem.js","../node_modules/@progress/kendo-react-layout/dist/es/tabstrip/TabStripNavigation.js","../node_modules/@progress/kendo-react-layout/dist/es/tabstrip/TabStripContent.js","../node_modules/@progress/kendo-react-layout/dist/es/package-metadata.js","../node_modules/@progress/kendo-react-layout/dist/es/tabstrip/TabStrip.js","../node_modules/@progress/kendo-react-layout/dist/es/tabstrip/TabStripTab.js","../node_modules/@progress/kendo-react-layout/dist/es/panelbar/PanelBarItem.js","../node_modules/@progress/kendo-react-layout/dist/es/panelbar/util.js","../node_modules/@progress/kendo-react-layout/dist/es/panelbar/interfaces/NavigationAction.js","../node_modules/@progress/kendo-react-layout/dist/es/panelbar/PanelBar.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/components/MenuItem.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/utils/prepareInputItemsForInternalWork.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/utils/getNewItemIdUponKeyboardNavigation.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/utils/DirectionHolder.js","../node_modules/@progress/kendo-react-layout/dist/es/splitter/messages/index.js","../node_modules/@progress/kendo-react-layout/dist/es/card/interfaces/Enums.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/utils/MouseOverHandler.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/components/Menu.js","../node_modules/@progress/kendo-react-layout/dist/es/menu/utils/hoverDelay.js","../node_modules/@progress/kendo-react-layout/dist/es/splitter/SplitterPane.js","../node_modules/@progress/kendo-react-layout/dist/es/splitter/Splitter.js","../node_modules/@progress/kendo-react-layout/dist/es/card/Card.js","../node_modules/@progress/kendo-react-layout/dist/es/card/CardHeader.js","../node_modules/@progress/kendo-react-layout/dist/es/card/CardTitle.js","../node_modules/@progress/kendo-react-layout/dist/es/card/CardBody.js","../node_modules/@progress/kendo-react-layout/dist/es/card/CardActions.js","../node_modules/@progress/kendo-react-layout/dist/es/card/CardImage.js","../node_modules/@progress/kendo-react-layout/dist/es/card/CardSubtitle.js","../node_modules/@progress/kendo-react-layout/dist/es/card/CardFooter.js","../node_modules/@progress/kendo-react-layout/dist/es/card/Avatar.js","../node_modules/@progress/kendo-react-layout/dist/es/drawer/context/DrawerContext.js","../node_modules/@progress/kendo-react-layout/dist/es/drawer/DrawerItem.js","../node_modules/@progress/kendo-react-layout/dist/es/drawer/DrawerNavigation.js","../node_modules/@progress/kendo-react-layout/dist/es/drawer/Drawer.js","../node_modules/@progress/kendo-react-layout/dist/es/drawer/DrawerContent.js","../node_modules/@progress/kendo-react-layout/dist/es/stepper/context/StepperContext.js","../node_modules/@progress/kendo-react-layout/dist/es/stepper/messages/index.js","../node_modules/@progress/kendo-react-layout/dist/es/stepper/Step.js","../node_modules/@progress/kendo-react-layout/dist/es/stepper/contants.js","../node_modules/@progress/kendo-react-layout/dist/es/stepper/Stepper.js","../node_modules/@progress/kendo-react-layout/dist/es/appbar/AppBar.js","../node_modules/@progress/kendo-react-layout/dist/es/appbar/AppBarSection.js","../node_modules/@progress/kendo-react-layout/dist/es/appbar/AppBarSpacer.js","../node_modules/@progress/kendo-react-layout/dist/es/tilelayout/ResizeHandlers.js","../node_modules/@progress/kendo-react-layout/dist/es/tilelayout/InternalTile.js","../node_modules/@progress/kendo-react-layout/dist/es/tilelayout/TileLayout.js","../node_modules/@progress/kendo-react-layout/dist/es/bottomnavigation/models/utils.js","../node_modules/@progress/kendo-react-layout/dist/es/bottomnavigation/BottomNavigationItem.js","../node_modules/@progress/kendo-react-layout/dist/es/bottomnavigation/BottomNavigation.js","../node_modules/@progress/kendo-react-layout/dist/es/stacklayout/StackLayout.js","../node_modules/@progress/kendo-react-layout/dist/es/gridlayout/GridLayout.js","../node_modules/@progress/kendo-react-layout/dist/es/gridlayout/GridLayoutItem.js","../node_modules/@progress/kendo-react-layout/dist/es/breadcrumb/BreadcrumbListItem.js","../node_modules/@progress/kendo-react-layout/dist/es/breadcrumb/BreadcrumbDelimiter.js","../node_modules/@progress/kendo-react-layout/dist/es/breadcrumb/BreadcrumbLink.js","../node_modules/@progress/kendo-react-layout/dist/es/breadcrumb/BreadcrumbOrderedList.js","../node_modules/@progress/kendo-react-layout/dist/es/breadcrumb/Breadcrumb.js","../node_modules/@progress/kendo-react-layout/dist/es/actionsheet/ActionSheetItem.js","../node_modules/@progress/kendo-react-layout/dist/es/actionsheet/ActionSheetHeader.js","../node_modules/@progress/kendo-react-layout/dist/es/actionsheet/ActionSheetFooter.js","../node_modules/@progress/kendo-react-layout/dist/es/actionsheet/ActionSheetContent.js","../node_modules/@progress/kendo-react-layout/dist/es/actionsheet/ActionSheet.js","../node_modules/@progress/kendo-react-layout/dist/es/timeline/TimelineCard.js","../node_modules/@progress/kendo-react-layout/dist/es/timeline/utils.js","../node_modules/@progress/kendo-react-layout/dist/es/timeline/TimelineHorizontal.js","../node_modules/@progress/kendo-react-layout/dist/es/timeline/TimelineVertical.js","../node_modules/@progress/kendo-react-layout/dist/es/timeline/Timeline.js","../node_modules/@progress/kendo-react-layout/dist/es/contextmenu/ContextMenu.js","../node_modules/@progress/kendo-react-layout/dist/es/expansionpanel/ExpansionPanel.js","../node_modules/@progress/kendo-react-layout/dist/es/expansionpanel/ExpansionPanelContent.js"],"sourcesContent":["/**\n * @hidden\n */\nexport var EMPTY_ID = '';\n/**\n * @hidden\n */\nexport var ZERO_LEVEL_ZERO_ITEM_ID = '0';\n/**\n * @hidden\n */\nexport var SEPARATOR = '_';\n/**\n * @hidden\n */\nexport function getItemById(itemId, items) {\n if (isIdZeroLevel(itemId)) {\n return items[Number(itemId)];\n }\n else {\n var rootParentItem = items[Number(getRootParentId(itemId))];\n return rootParentItem.items ?\n getItemById(getIdWithoutRootParentId(itemId), rootParentItem.items) : undefined;\n }\n}\n/**\n * @hidden\n */\nexport function getRootParentId(itemId) {\n return isIdEmptyOrZeroLevel(itemId) ? itemId : itemId.split(SEPARATOR)[0];\n}\n/**\n * @hidden\n */\nexport function getIdWithoutRootParentId(itemId) {\n if (isIdEmptyOrZeroLevel(itemId)) {\n return itemId;\n }\n else {\n var firstSeparatorIndex = itemId.indexOf(SEPARATOR);\n return itemId.substring(firstSeparatorIndex + 1);\n }\n}\n/**\n * @hidden\n */\nexport function getFirstChildId(itemId) {\n return createId('0', itemId);\n}\n/**\n * @hidden\n */\nexport function shouldOpenItem(itemId, lastItemIdToBeOpened) {\n if (lastItemIdToBeOpened.indexOf(itemId) === 0) {\n return lastItemIdToBeOpened.length === itemId.length ||\n lastItemIdToBeOpened.charAt(itemId.length) === SEPARATOR;\n }\n else {\n return false;\n }\n}\n/**\n * @hidden\n */\nexport function createId(childId, parentId) {\n return parentId ? parentId + SEPARATOR + childId : childId;\n}\n/**\n * @hidden\n */\nexport function getDirectParentId(itemId) {\n var lastSeparatorIndex = itemId.lastIndexOf(SEPARATOR);\n return lastSeparatorIndex < 0 ? EMPTY_ID : itemId.substring(0, lastSeparatorIndex);\n}\n/**\n * @hidden\n */\nexport function isIdEmptyOrZeroLevel(itemId) {\n return itemId === EMPTY_ID || itemId.indexOf(SEPARATOR) < 0;\n}\n/**\n * @hidden\n */\nexport function isIdZeroLevel(itemId) {\n return itemId !== EMPTY_ID && itemId.indexOf(SEPARATOR) < 0;\n}\n/**\n * @hidden\n */\nexport function isIdFirstLevel(itemId) {\n return getSeparatorOccurances(itemId) === 1;\n}\n/**\n * @hidden\n */\nexport function isFirstItemFromSiblings(itemId) {\n return getShortId(itemId) === ZERO_LEVEL_ZERO_ITEM_ID;\n}\n/**\n * @hidden\n */\nexport function getShortId(itemId) {\n var lastSeparatorIndex = itemId.lastIndexOf(SEPARATOR);\n return lastSeparatorIndex < 0 ? itemId : itemId.substring(lastSeparatorIndex + 1);\n}\n/**\n * @hidden\n */\nexport function getDirectSiblingIdForLevelZero(next, shortItemId, siblingsCount) {\n if (!isIdZeroLevel(shortItemId)) {\n return shortItemId;\n }\n return next ?\n Number(shortItemId) < siblingsCount - 1 ? (Number(shortItemId) + 1).toString() : '0' :\n Number(shortItemId) > 0 ? (Number(shortItemId) - 1).toString() : (siblingsCount - 1).toString();\n}\nfunction getSeparatorOccurances(itemId) {\n return itemId.split(SEPARATOR).length - 1;\n}\n","/**\n * @hidden\n */\nvar POPUP_ALIGN = {\n vertical: 'top',\n horizontal: 'left'\n};\n/**\n * @hidden\n */\nvar POPUP_ALIGN_RTL = {\n vertical: 'top',\n horizontal: 'right'\n};\n/**\n * @hidden\n */\nvar VERTICAL_COLLISION = {\n vertical: 'flip',\n horizontal: 'fit'\n};\n/**\n * @hidden\n */\nvar HORIZONTAL_COLLISION = {\n vertical: 'fit',\n horizontal: 'flip'\n};\n/**\n * @hidden\n */\nexport var POPUP_SETTINGS_RTL = {\n downward: {\n anchorAlign: {\n vertical: 'bottom',\n horizontal: 'right'\n },\n popupAlign: POPUP_ALIGN_RTL,\n collision: VERTICAL_COLLISION\n },\n leftward: {\n anchorAlign: {\n vertical: 'top',\n horizontal: 'left'\n },\n popupAlign: POPUP_ALIGN_RTL,\n collision: HORIZONTAL_COLLISION\n }\n};\n/**\n * @hidden\n */\nexport var POPUP_SETTINGS = {\n downward: {\n anchorAlign: {\n vertical: 'bottom',\n horizontal: 'left'\n },\n popupAlign: POPUP_ALIGN,\n collision: VERTICAL_COLLISION\n },\n rightward: {\n anchorAlign: {\n vertical: 'top',\n horizontal: 'right'\n },\n popupAlign: POPUP_ALIGN,\n collision: HORIZONTAL_COLLISION\n }\n};\n","import { POPUP_SETTINGS, POPUP_SETTINGS_RTL } from '../consts';\nimport { isIdZeroLevel } from './itemsIdsUtils';\n/**\n * @hidden\n */\nexport function getPopupSettings(itemId, isMenuVertical, isDirectionRightToLeft) {\n var childrenPosition = getChildrenPosition(itemId, isMenuVertical, isDirectionRightToLeft);\n if (isDirectionRightToLeft) {\n return childrenPosition === 'downward' ? POPUP_SETTINGS_RTL.downward : POPUP_SETTINGS_RTL.leftward;\n }\n else {\n return childrenPosition === 'downward' ? POPUP_SETTINGS.downward : POPUP_SETTINGS.rightward;\n }\n}\n/**\n * @hidden\n */\nexport function getChildrenPosition(itemId, isMenuVertical, isDirectionRightToLeft) {\n if (isIdZeroLevel(itemId)) {\n if (isMenuVertical) {\n return isDirectionRightToLeft ? 'leftward' : 'rightward';\n }\n else {\n return 'downward';\n }\n }\n else {\n return isDirectionRightToLeft ? 'leftward' : 'rightward';\n }\n}\n/**\n * @hidden\n */\nexport function convertBoolDirectionToString(isDirectionRightToLeft) {\n return isDirectionRightToLeft ? 'rtl' : 'ltr';\n}\n/**\n * @hidden\n */\nexport function getDOMElementId(menuGuid, itemId) {\n return \"\".concat(menuGuid, \"_\").concat(itemId);\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 * as PropTypes from 'prop-types';\nimport { classNames } from '@progress/kendo-react-common';\nvar MenuItemLink = /** @class */ (function (_super) {\n __extends(MenuItemLink, _super);\n function MenuItemLink() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * @hidden\n */\n MenuItemLink.prototype.render = function () {\n if (this.props.url) {\n return (React.createElement(\"a\", { className: this.getMenuItemClassName(), role: \"presentation\", href: this.props.url, tabIndex: -1 }, this.props.children));\n }\n else {\n return (React.createElement(\"span\", { id: this.props.id, className: classNames(this.getMenuItemClassName(), this.props.className), style: this.props.style, role: \"presentation\" }, this.props.children));\n }\n };\n MenuItemLink.prototype.getMenuItemClassName = function () {\n return classNames('k-link', 'k-menu-link', {\n 'k-active': this.props.opened\n });\n };\n /**\n * @hidden\n */\n MenuItemLink.propTypes = {\n opened: PropTypes.bool,\n url: PropTypes.string\n };\n return MenuItemLink;\n}(React.Component));\nexport { MenuItemLink };\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})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { IconWrap } from '@progress/kendo-react-common';\nimport { caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon } from '@progress/kendo-svg-icons';\nimport { getChildrenPosition } from '../utils/misc';\n/**\n * @hidden\n */\nexport var downArrowName = 'caret-alt-down';\n/**\n * @hidden\n */\nexport var rightArrowName = 'caret-alt-right';\n/**\n * @hidden\n */\nexport var leftArrowName = 'caret-alt-left';\nvar MenuItemArrow = /** @class */ (function (_super) {\n __extends(MenuItemArrow, _super);\n function MenuItemArrow() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * @hidden\n */\n MenuItemArrow.prototype.render = function () {\n return React.createElement(IconWrap, __assign({ \"aria-hidden\": true }, this.getIcon()));\n };\n MenuItemArrow.prototype.getIcon = function () {\n var childrenPosition = getChildrenPosition(this.props.itemId, this.props.verticalMenu === true, this.props.dir === 'rtl');\n switch (childrenPosition) {\n case 'downward':\n return { name: downArrowName, icon: caretAltDownIcon };\n case 'rightward':\n return { name: rightArrowName, icon: caretAltRightIcon };\n case 'leftward':\n return { name: leftArrowName, icon: caretAltLeftIcon };\n default:\n return {};\n }\n };\n /**\n * @hidden\n */\n MenuItemArrow.propTypes = {\n itemId: PropTypes.string,\n dir: PropTypes.string,\n verticalMenu: PropTypes.bool\n };\n return MenuItemArrow;\n}(React.Component));\nexport { MenuItemArrow };\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, getActiveElement, IconWrap } from '@progress/kendo-react-common';\nimport { Popup } from '@progress/kendo-react-popup';\nimport { shouldOpenItem, isFirstItemFromSiblings } from '../utils/itemsIdsUtils';\nimport { getPopupSettings, convertBoolDirectionToString, getDOMElementId } from '../utils/misc';\nimport { MenuItemLink } from './MenuItemLink';\nimport { MenuItemInternalsList } from './MenuItemInternalsList';\nimport { MenuItemArrow } from './MenuItemArrow';\n/**\n * @hidden\n */\nvar MenuItemInternal = /** @class */ (function (_super) {\n __extends(MenuItemInternal, _super);\n function MenuItemInternal(props) {\n var _this = _super.call(this, props) || this;\n _this.isFirstRender = true;\n _this.onMouseOver = function (event) {\n _this.props.onMouseOver(_this.props.item.id);\n event.stopPropagation();\n };\n _this.onMouseLeave = function (event) {\n _this.props.onMouseLeave(_this.props.item.id);\n event.stopPropagation();\n };\n _this.state = { opened: false };\n return _this;\n }\n MenuItemInternal.prototype.componentDidMount = function () {\n var focusedItemId = this.props.focusedItemId;\n var currentItemId = this.props.item.id;\n // If the menu item component has been just mounted due to\n // keyboard navigation and it is the selected one.\n if (focusedItemId && focusedItemId === currentItemId) {\n this.itemElement.focus();\n }\n this.isFirstRender = false;\n };\n MenuItemInternal.prototype.componentDidUpdate = function (prevProps) {\n var focusedItemId = this.props.focusedItemId;\n var currentItemId = this.props.item.id;\n if (focusedItemId) {\n var activeElement = getActiveElement(document);\n // If the item has been navigated to via the keyboard navigation\n // (Clicking and focusing an item also come here).\n if (prevProps.focusedItemId !== focusedItemId\n && focusedItemId === currentItemId\n // https://github.com/telerik/kendo-react/issues/216 :\n // No need to focus the wrapping menu item DOM element\n // when a child DOM element was clicked.\n && !this.itemElement.contains(activeElement)) {\n this.itemElement.focus();\n }\n }\n };\n MenuItemInternal.prototype.render = function () {\n var _this = this;\n var item = this.props.item;\n var itemId = item.id;\n var menuItemId = getDOMElementId(this.props.menuGuid, itemId);\n return (React.createElement(React.Fragment, null,\n React.createElement(\"li\", { id: getDOMElementId(this.props.menuGuid, itemId), className: this.getMenuItemClassName(item), style: item.cssStyle, tabIndex: itemId === this.props.tabbableItemId ? 0 : -1, onMouseOver: this.onMouseOver, onMouseLeave: this.onMouseLeave, onMouseDown: function (event) { return _this.props.onMouseDown(event); }, onBlur: function (e) { return _this.props.onBlur(itemId, e); }, onFocus: function () { return _this.props.onFocus(itemId); }, onClick: function (event) { return _this.props.onClick(event, itemId); }, role: \"menuitem\", \"aria-disabled\": item.disabled ? true : undefined, \"aria-haspopup\": item.items.length > 0 ? true : undefined, \"aria-expanded\": item.items.length > 0 ? this.Opened : undefined, \"aria-label\": item.text, \"aria-owns\": this.Opened ? menuItemId : undefined, ref: function (el) { return _this.itemElement = el; }, key: \"0\" }, this.contentRender ? this.renderContent() : this.renderMenuItemLink()),\n this.renderPopupIfOpened()));\n };\n MenuItemInternal.prototype.renderContent = function () {\n var itemId = this.props.item.contentParentItemId;\n return (React.createElement(\"div\", { className: \"k-content\", role: \"presentation\" },\n React.createElement(this.contentRender, { item: this.props.onOriginalItemNeeded(itemId), itemId: itemId })));\n };\n MenuItemInternal.prototype.renderMenuItemLink = function () {\n var item = this.props.item;\n if (this.linkRender) {\n return (React.createElement(this.linkRender, { item: this.props.onOriginalItemNeeded(item.id), itemId: item.id, opened: this.Opened, dir: convertBoolDirectionToString(this.props.isDirectionRightToLeft) }));\n }\n else {\n var textOrItemRender = this.itemRender ?\n React.createElement(this.itemRender, { item: this.props.onOriginalItemNeeded(item.id), itemId: item.id, key: \"1\" }) :\n React.createElement(\"span\", { className: \"k-menu-link-text\" }, item.text);\n return (React.createElement(MenuItemLink, { url: item.url, opened: this.Opened },\n this.renderMenuIconIfApplicable(),\n textOrItemRender,\n this.renderArrowIfApplicable()));\n }\n };\n MenuItemInternal.prototype.renderPopupIfOpened = function () {\n if (this.Opened) {\n var itemId = this.props.item.id;\n var _a = getPopupSettings(itemId, this.props.isMenuVertical, this.props.isDirectionRightToLeft), anchorAlign = _a.anchorAlign, popupAlign = _a.popupAlign, collision = _a.collision;\n return (React.createElement(Popup, { anchor: this.itemElement, show: true, popupClass: this.getPopupClassName(), anchorAlign: anchorAlign, popupAlign: popupAlign, collision: collision, animate: false, key: \"1\" },\n React.createElement(MenuItemInternalsList, { parentItemId: itemId, items: this.props.item.items, menuGuid: this.props.menuGuid, focusedItemId: this.props.focusedItemId, lastItemIdToBeOpened: this.props.lastItemIdToBeOpened, tabbableItemId: this.props.tabbableItemId, itemRender: this.props.itemRender, linkRender: this.props.linkRender, isMenuVertical: this.props.isMenuVertical, isDirectionRightToLeft: this.props.isDirectionRightToLeft, className: \"k-group k-menu-group k-reset k-menu-group-md\", onMouseOver: this.props.onMouseOver, onMouseLeave: this.props.onMouseLeave, onMouseDown: this.props.onMouseDown, onBlur: this.props.onBlur, onFocus: this.props.onFocus, onClick: this.props.onClick, onOriginalItemNeeded: this.props.onOriginalItemNeeded })));\n }\n else {\n return null;\n }\n };\n MenuItemInternal.prototype.renderMenuIconIfApplicable = function () {\n var _a = this.props.item, icon = _a.icon, svgIcon = _a.svgIcon;\n return icon || svgIcon ?\n React.createElement(IconWrap, { name: icon, icon: svgIcon, key: \"0\" }) : null;\n };\n MenuItemInternal.prototype.renderArrowIfApplicable = function () {\n return this.props.item.items.length > 0 ?\n (React.createElement(\"span\", { className: \"k-menu-expand-arrow\", \"aria-hidden\": true },\n React.createElement(MenuItemArrow, { itemId: this.props.item.id, verticalMenu: this.props.isMenuVertical, dir: convertBoolDirectionToString(this.props.isDirectionRightToLeft), key: \"2\" }))) : null;\n };\n Object.defineProperty(MenuItemInternal.prototype, \"itemRender\", {\n get: function () {\n return this.props.item.render || this.props.itemRender;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(MenuItemInternal.prototype, \"linkRender\", {\n get: function () {\n return this.props.item.linkRender || this.props.linkRender;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(MenuItemInternal.prototype, \"contentRender\", {\n get: function () {\n return this.props.item.contentParentItemId ? this.props.item.contentRender : null;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(MenuItemInternal.prototype, \"Opened\", {\n get: function () {\n var props = this.props;\n return props.item.items.length > 0 &&\n shouldOpenItem(props.item.id, props.lastItemIdToBeOpened) &&\n // HACK: Wait for the second render because otherwise the scenario of\n // popup inside popup throws an error (for example, hover of item with id '0_0').\n !this.isFirstRender;\n },\n enumerable: false,\n configurable: true\n });\n MenuItemInternal.prototype.getPopupClassName = function () {\n return classNames('k-menu-popup', { 'k-rtl': this.props.isDirectionRightToLeft });\n };\n MenuItemInternal.prototype.getMenuItemClassName = function (item) {\n return classNames('k-item', 'k-menu-item', {\n 'k-first': isFirstItemFromSiblings(item.id),\n 'k-last': item.isLastFromSiblings,\n 'k-disabled': item.disabled\n }, item.cssClass);\n };\n return MenuItemInternal;\n}(React.Component));\nexport { MenuItemInternal };\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 { MenuItemInternal } from './MenuItemInternal';\nimport { getDOMElementId } from './../utils/misc';\n/**\n * @hidden\n */\nvar MenuItemInternalsList = /** @class */ (function (_super) {\n __extends(MenuItemInternalsList, _super);\n function MenuItemInternalsList() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.onMouseOver = function (event) {\n _this.props.onMouseOver(_this.props.parentItemId);\n event.stopPropagation();\n };\n _this.onMouseLeave = function (event) {\n _this.props.onMouseLeave(_this.props.parentItemId);\n event.stopPropagation();\n };\n return _this;\n }\n MenuItemInternalsList.prototype.render = function () {\n var parentItemId = this.props.parentItemId;\n return (React.createElement(\"ul\", { className: this.props.className, role: this.props.role ? this.props.role : (parentItemId !== undefined ? 'menu' : 'menubar'), id: parentItemId !== undefined ? getDOMElementId(this.props.menuGuid, parentItemId) : undefined, onMouseOver: parentItemId !== undefined ? this.onMouseOver : undefined, onMouseLeave: parentItemId !== undefined ? this.onMouseLeave : undefined, \"aria-orientation\": this.props['aria-orientation'] }, this.renderChildItems()));\n };\n MenuItemInternalsList.prototype.renderChildItems = function () {\n var _this = this;\n return this.props.items.length > 0 ? (this.props.items.map(function (item, index) {\n return (React.createElement(MenuItemInternal, { item: item, isMenuVertical: _this.props.isMenuVertical, isDirectionRightToLeft: _this.props.isDirectionRightToLeft, focusedItemId: _this.props.focusedItemId, lastItemIdToBeOpened: _this.props.lastItemIdToBeOpened, tabbableItemId: _this.props.tabbableItemId, itemRender: _this.props.itemRender, linkRender: _this.props.linkRender, menuGuid: _this.props.menuGuid, onMouseOver: _this.props.onMouseOver, onMouseLeave: _this.props.onMouseLeave, onMouseDown: _this.props.onMouseDown, onBlur: _this.props.onBlur, onFocus: _this.props.onFocus, onClick: _this.props.onClick, onOriginalItemNeeded: _this.props.onOriginalItemNeeded, key: index }));\n })) : null;\n };\n return MenuItemInternalsList;\n}(React.Component));\nexport { MenuItemInternalsList };\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, Draggable, IconWrap, Keys } from '@progress/kendo-react-common';\nimport { caretAltRightIcon, caretAltLeftIcon, caretAltDownIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';\n/**\n * @hidden\n */\nvar SplitterBar = /** @class */ (function (_super) {\n __extends(SplitterBar, _super);\n function SplitterBar(props) {\n var _this = _super.call(this, props) || this;\n _this.draggable = null;\n _this.onDrag = function (data, isFirst, isLast) {\n var event = data.event;\n var _a = _this.props, onDrag = _a.onDrag, index = _a.index;\n var element = _this.draggable && _this.draggable.element;\n if (element && !_this.isStatic && _this.isDraggable) {\n onDrag(event, element, index, isFirst, isLast);\n }\n };\n _this.onFocus = function () {\n _this.setState({\n focused: true\n });\n };\n _this.onBlur = function () {\n _this.setState({\n focused: false\n });\n };\n _this.onToggle = function (event) {\n var _a = _this.props, onToggle = _a.onToggle, index = _a.index, prev = _a.prev, next = _a.next;\n if (prev.collapsible || next.collapsible) {\n onToggle(prev.collapsible ? index : index + 1, event);\n }\n };\n _this.onPrevToggle = function (event) {\n var _a = _this.props, onToggle = _a.onToggle, index = _a.index, prev = _a.prev;\n if (prev.collapsible) {\n onToggle(index, event);\n }\n };\n _this.onNextToggle = function (event) {\n var _a = _this.props, onToggle = _a.onToggle, index = _a.index, next = _a.next;\n if (next.collapsible) {\n onToggle(index + 1, event);\n }\n };\n _this.onKeyDown = function (event) {\n var keyCode = event && event.keyCode;\n var isHorizontal = _this.isHorizontal;\n var index = _this.props.index;\n var element = _this.draggable && _this.draggable.element;\n var onKeyboardResize = function (el, idx, offset) {\n event.preventDefault();\n _this.props.onKeyboardResize(el, idx, offset, event);\n };\n if (!element) {\n return;\n }\n if (keyCode === Keys.enter) {\n event.preventDefault();\n _this.onToggle(event);\n }\n else if (_this.isDraggable) {\n if (isHorizontal && keyCode === Keys.left) {\n onKeyboardResize(element, index, -10);\n }\n else if (isHorizontal && keyCode === Keys.right) {\n onKeyboardResize(element, index, 10);\n }\n else if (!isHorizontal && keyCode === Keys.up) {\n onKeyboardResize(element, index, -10);\n }\n else if (!isHorizontal && keyCode === Keys.down) {\n onKeyboardResize(element, index, 10);\n }\n }\n };\n _this.state = {\n focused: false\n };\n return _this;\n }\n Object.defineProperty(SplitterBar.prototype, \"isStatic\", {\n get: function () {\n var _a = this.props, prev = _a.prev, next = _a.next;\n var betweenResizablePanes = prev.resizable && next.resizable;\n var nearCollapsiblePane = prev.collapsible || next.collapsible;\n return !betweenResizablePanes && !nearCollapsiblePane;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SplitterBar.prototype, \"isDraggable\", {\n get: function () {\n var _a = this.props, prev = _a.prev, next = _a.next;\n var betweenResizablePanes = prev.resizable && next.resizable;\n var nearCollapsedPane = prev.collapsed || next.collapsed;\n return !!betweenResizablePanes && !nearCollapsedPane;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(SplitterBar.prototype, \"isHorizontal\", {\n get: function () {\n return this.props.orientation === 'horizontal';\n },\n enumerable: false,\n configurable: true\n });\n SplitterBar.prototype.render = function () {\n var _a;\n var _this = this;\n var isDraggable = this.isDraggable;\n var isStatic = this.isStatic;\n var isHorizontal = this.isHorizontal;\n var barClasses = classNames('k-splitbar', (_a = {},\n _a['k-focus'] = this.state.focused,\n _a['k-splitbar-horizontal'] = isHorizontal,\n _a['k-splitbar-vertical'] = !isHorizontal,\n _a['k-splitbar-draggable-horizontal'] = isHorizontal && isDraggable,\n _a['k-splitbar-draggable-vertical'] = !isHorizontal && isDraggable,\n _a['k-splitbar-static-horizontal'] = isHorizontal && isStatic,\n _a['k-splitbar-static-vertical'] = !isHorizontal && isStatic,\n _a));\n return (React.createElement(Draggable, { onPress: function (event) { return _this.onDrag(event, true, false); }, onDrag: function (event) { return _this.onDrag(event, false, false); }, onRelease: function (event) { return _this.onDrag(event, false, true); }, ref: function (component) { _this.draggable = component; } },\n React.createElement(\"div\", { tabIndex: isStatic ? -1 : 0, role: 'separator', \"aria-valuenow\": 0, \"aria-label\": this.props.ariaLabel, \"aria-orientation\": isHorizontal ? 'vertical' : undefined, className: barClasses, style: { touchAction: 'none' }, onFocus: this.onFocus, onBlur: this.onBlur, onDoubleClick: this.onToggle, onKeyDown: this.onKeyDown },\n this.props.prev.collapsible && React.createElement(\"div\", { className: 'k-collapse-prev', onClick: this.onPrevToggle },\n React.createElement(IconWrap, { name: this.props.prev.collapsible\n ? isHorizontal\n ? this.props.prev.collapsed\n ? (this.props.isRtl ? 'caret-alt-left' : 'caret-alt-right')\n : (this.props.isRtl ? 'caret-alt-right' : 'caret-alt-left')\n : this.props.prev.collapsed\n ? 'caret-alt-down'\n : 'caret-alt-up'\n : undefined, icon: this.props.prev.collapsible\n ? isHorizontal\n ? this.props.prev.collapsed\n ? (this.props.isRtl ? caretAltLeftIcon : caretAltRightIcon)\n : (this.props.isRtl ? caretAltRightIcon : caretAltLeftIcon)\n : this.props.prev.collapsed\n ? caretAltDownIcon\n : caretAltUpIcon\n : undefined, size: 'xsmall' })),\n React.createElement(\"div\", { className: 'k-resize-handle' }),\n this.props.next.collapsible && React.createElement(\"div\", { className: 'k-collapse-next', onClick: this.onNextToggle },\n React.createElement(IconWrap, { name: this.props.next.collapsible\n ? isHorizontal\n ? this.props.next.collapsed\n ? (this.props.isRtl ? 'caret-alt-right' : 'caret-alt-left')\n : (this.props.isRtl ? 'caret-alt-left' : 'caret-alt-right')\n : this.props.next.collapsed\n ? 'caret-alt-up'\n : 'caret-alt-down'\n : undefined, icon: this.props.next.collapsible\n ? isHorizontal\n ? this.props.next.collapsed\n ? (this.props.isRtl ? caretAltRightIcon : caretAltLeftIcon)\n : (this.props.isRtl ? caretAltLeftIcon : caretAltRightIcon)\n : this.props.next.collapsed\n ? caretAltUpIcon\n : caretAltDownIcon\n : undefined, size: 'xsmall' })))));\n };\n return SplitterBar;\n}(React.Component));\nexport { SplitterBar };\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})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { classNames } from '@progress/kendo-react-common';\nvar TabStripNavigationItem = /** @class */ (function (_super) {\n __extends(TabStripNavigationItem, _super);\n function TabStripNavigationItem() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n /**\n * @hidden\n */\n _this.itemRef = null;\n /**\n * @hidden\n */\n _this.focus = function () {\n if (_this.itemRef) {\n _this.itemRef.tabIndex = 0;\n _this.itemRef.focus();\n }\n };\n _this.blur = function () {\n if (_this.itemRef) {\n _this.itemRef.tabIndex = -1;\n _this.itemRef.blur();\n }\n };\n _this.onClick = function () {\n if (_this.props.onSelect) {\n _this.props.onSelect(_this.props.index);\n }\n if (_this.itemRef) {\n _this.itemRef.tabIndex = 0;\n _this.itemRef.focus();\n }\n };\n return _this;\n }\n /**\n * @hidden\n */\n TabStripNavigationItem.prototype.render = function () {\n var _a;\n var _this = this;\n var _b = this.props, id = _b.id, active = _b.active, disabled = _b.disabled, _c = _b.title, title = _c === void 0 ? 'Untitled' : _c, first = _b.first, last = _b.last;\n var props = {\n 'id': id,\n 'aria-selected': active,\n 'aria-controls': id,\n 'aria-disabled': disabled,\n 'aria-hidden': disabled,\n 'role': 'tab',\n onClick: !disabled ? this.onClick : undefined\n };\n var itemClasses = classNames('k-item', (_a = {},\n _a['k-first'] = first,\n _a['k-last'] = last,\n _a['k-disabled'] = disabled,\n _a['k-active'] = active,\n _a));\n return (React.createElement(\"li\", __assign({}, props, { className: itemClasses, ref: function (el) { return _this.itemRef = el; }, onBlur: this.blur }),\n React.createElement(\"span\", { className: \"k-link\" }, title)));\n };\n /**\n * @hidden\n */\n TabStripNavigationItem.propTypes = {\n active: PropTypes.bool,\n disabled: PropTypes.bool,\n index: PropTypes.number,\n onSelect: PropTypes.func,\n title: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element\n ]),\n first: PropTypes.bool,\n last: PropTypes.bool\n };\n return TabStripNavigationItem;\n}(React.Component));\nexport { TabStripNavigationItem };\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})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { TabStripNavigationItem } from './TabStripNavigationItem';\nimport { classNames } from '@progress/kendo-react-common';\nimport { Button } from '@progress/kendo-react-buttons';\nimport { caretAltDownIcon, caretAltLeftIcon, caretAltRightIcon, caretAltUpIcon } from '@progress/kendo-svg-icons';\n/**\n * @hidden\n */\nvar times = function (count) { return Array.apply(null, Array(count)); };\nvar preventDefault = function (e) { return e.preventDefault(); };\nvar DEFAULT_SCROLL_BEHAVIOR = 'smooth';\nvar PREV = 'prev';\nvar NEXT = 'next';\nvar TabStripNavigation = /** @class */ (function (_super) {\n __extends(TabStripNavigation, _super);\n function TabStripNavigation(props) {\n var _this = _super.call(this, props) || this;\n _this.itemsNavRef = React.createRef();\n _this.isRtl = function () { return _this.props.dir === 'rtl'; };\n _this.onWheel = function (e) {\n e.stopPropagation();\n var direction = e.deltaY < 0 ? PREV : NEXT;\n _this.setNewScrollPosition(direction, e);\n };\n _this.arrowClickPrev = function (e) {\n _this.handleArrowClick(PREV, e);\n };\n _this.arrowClickNext = function (e) {\n _this.handleArrowClick(NEXT, e);\n };\n _this.handleArrowClick = function (direction, e) {\n _this.setNewScrollPosition(direction, e);\n };\n _this.setNewScrollPosition = function (direction, e) {\n var list = _this.itemsNavRef.current;\n if (!list) {\n return;\n }\n var horizontal = _this.horizontalScroll();\n var scrollEnd = horizontal ? list.scrollWidth - list.offsetWidth : list.scrollHeight - list.offsetHeight;\n var increment = (e.type === 'click' ? _this.props.buttonScrollSpeed : _this.props.mouseScrollSpeed) || 0;\n var scrollPosition = horizontal ? list.scrollLeft : list.scrollTop;\n var nextScrollPosition = horizontal ? list.scrollWidth - list.scrollLeft : list.scrollHeight - list.scrollTop;\n var nextScrollPositionRtl = list.scrollWidth - (list.scrollLeft * -1);\n if (_this.isRtl() && _this.horizontalScroll()) {\n if (direction === PREV && scrollPosition < 0) {\n scrollPosition += increment;\n nextScrollPositionRtl += increment;\n }\n if (direction === NEXT && scrollPosition < scrollEnd) {\n scrollPosition -= increment;\n nextScrollPositionRtl -= increment;\n }\n scrollPosition = Math.min(0, Math.min(scrollEnd, scrollPosition));\n }\n else {\n if (direction === PREV && scrollPosition > 0) {\n scrollPosition -= increment;\n nextScrollPosition += increment;\n }\n if (direction === NEXT && scrollPosition < scrollEnd) {\n scrollPosition += increment;\n nextScrollPosition -= increment;\n }\n scrollPosition = Math.max(0, Math.min(scrollEnd, scrollPosition));\n }\n var calculatePrev = scrollPosition === 0;\n var scrollBehavior = e.type === 'click' ? DEFAULT_SCROLL_BEHAVIOR : undefined;\n if (horizontal) {\n var calculateNext = _this.isRtl()\n ? Math.round(nextScrollPositionRtl) <= list.clientWidth\n || Math.floor(nextScrollPositionRtl) <= list.clientWidth\n : Math.round(nextScrollPosition) <= list.clientWidth\n || Math.floor(nextScrollPosition) <= list.clientWidth;\n _this.setState({\n disabledPrev: calculatePrev,\n disabledNext: calculateNext\n });\n list.scrollTo({ left: scrollPosition, behavior: scrollBehavior });\n }\n else {\n _this.setState({\n disabledPrev: calculatePrev,\n disabledNext: Math.round(nextScrollPosition) <= list.clientHeight\n || Math.floor(nextScrollPosition) <= list.clientHeight\n });\n list.scrollTo({ top: scrollPosition, behavior: scrollBehavior });\n }\n };\n _this.renderArrow = function (type, disabled) {\n var horizontal = _this.horizontalScroll();\n var directions = {\n prev: {\n arrowTab: 'k-tabstrip-prev',\n fontIcon: horizontal ?\n _this.isRtl() ? 'caret-alt-right' : 'caret-alt-left'\n : 'caret-alt-up',\n svgIcon: horizontal ?\n _this.isRtl() ? caretAltRightIcon : caretAltLeftIcon\n : caretAltUpIcon\n },\n next: {\n arrowTab: 'k-tabstrip-next',\n fontIcon: horizontal ?\n _this.isRtl() ? 'caret-alt-left' : 'caret-alt-right'\n : 'caret-alt-down',\n svgIcon: horizontal ?\n _this.isRtl() ? caretAltLeftIcon : caretAltRightIcon\n : caretAltDownIcon\n }\n };\n var ButtonComponent = (type === PREV ? _this.props.prevButton : _this.props.nextButton) || Button;\n var onClick = (type === PREV ? _this.arrowClickPrev : _this.arrowClickNext);\n return (React.createElement(ButtonComponent, { disabled: disabled, className: \"\".concat(directions[type].arrowTab), onClick: onClick, icon: directions[type].fontIcon, svgIcon: directions[type].svgIcon, onMouseDown: preventDefault, tabIndex: -1, fillMode: \"flat\" }));\n };\n _this.state = {\n disabledPrev: _this.props.selected === 0,\n disabledNext: _this.props.selected === React.Children.count(_this.props.children) - 1\n };\n return _this;\n }\n /**\n * @hidden\n */\n TabStripNavigation.prototype.componentDidMount = function () {\n if (this.props.scrollable) {\n this.scrollToSelected();\n }\n };\n /**\n * @hidden\n */\n TabStripNavigation.prototype.componentDidUpdate = function (prevProps) {\n var _a = this.props, scrollable = _a.scrollable, selected = _a.selected;\n if (scrollable && prevProps.selected !== selected) {\n this.scrollToSelected();\n this.setState({\n disabledPrev: selected === 0,\n disabledNext: selected === React.Children.count(this.props.children) - 1\n });\n }\n };\n /**\n * @hidden\n */\n TabStripNavigation.prototype.render = function () {\n var _a = this.props, selected = _a.selected, tabPosition = _a.tabPosition, children = _a.children, onSelect = _a.onSelect, onKeyDown = _a.onKeyDown;\n var tabsCount = React.Children.count(children);\n var childElements = React.Children.toArray(children);\n var tabs;\n if (children) {\n tabs = times(tabsCount).map(function (_, index, array) {\n var tabProps = {\n active: selected === index,\n disabled: childElements[index].props.disabled,\n index: index,\n title: childElements[index].props.title,\n first: index === 0,\n last: index === array.length - 1,\n onSelect: onSelect\n };\n return React.createElement(TabStripNavigationItem, __assign({ key: index }, tabProps));\n });\n }\n var wrapperClasses = classNames('k-tabstrip-items-wrapper', {\n 'k-hstack': tabPosition === 'top' || tabPosition === 'bottom',\n 'k-vstack': tabPosition === 'left' || tabPosition === 'right'\n });\n var navClasses = classNames('k-tabstrip-items', 'k-reset');\n return (React.createElement(\"div\", { className: wrapperClasses }, this.props.scrollable ? (React.createElement(React.Fragment, null,\n this.renderArrow(PREV, this.state.disabledPrev),\n React.createElement(\"ul\", { ref: this.itemsNavRef, className: navClasses, role: 'tablist', tabIndex: this.props.tabIndex, onKeyDown: onKeyDown, onWheel: this.onWheel }, tabs),\n this.renderArrow(NEXT, this.state.disabledNext))) : (React.createElement(\"ul\", { className: navClasses, role: 'tablist', tabIndex: this.props.tabIndex, onKeyDown: onKeyDown }, tabs))));\n };\n TabStripNavigation.prototype.scrollToSelected = function () {\n var _a, _b, _c, _d;\n var list = this.itemsNavRef.current;\n var tab = list && list.children[this.props.selected || 0];\n if (tab instanceof HTMLElement && list instanceof HTMLElement) {\n var horizontal = this.horizontalScroll();\n var listSize = horizontal ? list.offsetWidth : list.offsetHeight;\n var tabSize = horizontal ? tab.offsetWidth : tab.offsetHeight;\n var scrollDir = horizontal ? 'left' : 'top';\n var currentScrollOffset = horizontal ? list.scrollLeft : list.scrollTop;\n var scrollPosition = 0;\n if (this.isRtl()) {\n var tabOffset = tab.offsetLeft;\n currentScrollOffset = currentScrollOffset * -1;\n if (tabOffset < 0) {\n scrollPosition = tabOffset - tabSize + list.offsetLeft;\n list.scrollTo((_a = {}, _a[scrollDir] = scrollPosition, _a.behavior = DEFAULT_SCROLL_BEHAVIOR, _a));\n }\n else if (tabOffset + tabSize > listSize - currentScrollOffset) {\n scrollPosition = currentScrollOffset + tabOffset - tabSize;\n list.scrollTo((_b = {}, _b[scrollDir] = scrollPosition, _b.behavior = DEFAULT_SCROLL_BEHAVIOR, _b));\n }\n }\n else {\n var tabOffset = horizontal ? tab.offsetLeft - list.offsetLeft : tab.offsetTop - list.offsetTop;\n if (currentScrollOffset + listSize < tabOffset + tabSize) {\n scrollPosition = tabOffset + tabSize - listSize;\n list.scrollTo((_c = {}, _c[scrollDir] = scrollPosition, _c.behavior = DEFAULT_SCROLL_BEHAVIOR, _c));\n }\n else if (currentScrollOffset > tabOffset) {\n scrollPosition = tabOffset;\n list.scrollTo((_d = {}, _d[scrollDir] = scrollPosition, _d.behavior = DEFAULT_SCROLL_BEHAVIOR, _d));\n }\n }\n }\n };\n TabStripNavigation.prototype.horizontalScroll = function () {\n return /top|bottom/.test(this.props.tabPosition || 'top');\n };\n ;\n /**\n * @hidden\n */\n TabStripNavigation.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.arrayOf(PropTypes.element)\n ]),\n onSelect: PropTypes.func,\n onKeyDown: PropTypes.func,\n selected: PropTypes.number,\n tabIndex: PropTypes.number\n };\n return TabStripNavigation;\n}(React.Component));\nexport { TabStripNavigation };\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})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { Fade } from '@progress/kendo-react-animation';\nimport { classNames, guid } from '@progress/kendo-react-common';\nvar TabStripContent = /** @class */ (function (_super) {\n __extends(TabStripContent, _super);\n function TabStripContent() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.contentId = guid();\n _this.childFactory = function (child) {\n return React.cloneElement(child, __assign(__assign({}, child.props), { in: child.props.children.props.id === String(_this.contentId + _this.props.selected) }));\n };\n return _this;\n }\n /**\n * @hidden\n */\n TabStripContent.prototype.render = function () {\n var _a = this.props, children = _a.children, selected = _a.selected;\n var selectedTab = children && typeof selected === 'number' &&\n React.Children.toArray(children)[selected];\n var contentClasses = classNames('k-tabstrip-content', 'k-active', selectedTab && selectedTab.props.contentClassName);\n return (React.createElement(\"div\", { className: contentClasses, style: this.props.style }, this.renderContent(children)));\n };\n TabStripContent.prototype.renderContent = function (children) {\n var _this = this;\n return !this.props.keepTabsMounted\n ? this.renderChild(React.Children.toArray(children)[this.props.selected], this.props.selected)\n : React.Children.map(this.props.children, function (tab, idx) {\n return _this.renderChild(tab, idx);\n });\n };\n TabStripContent.prototype.renderChild = function (tab, idx) {\n var visible = idx === this.props.selected;\n var contentProps = {\n 'role': 'tabpanel',\n 'aria-expanded': true,\n 'aria-labelledby': idx.toString(),\n 'style': {\n 'display': visible ? undefined : 'none'\n }\n };\n var animationStyle = {\n position: 'initial',\n display: visible ? undefined : 'none'\n };\n if (tab.props.disabled) {\n return null;\n }\n return this.props.animation\n ? (React.createElement(Fade, { appear: true, exit: this.props.keepTabsMounted, style: animationStyle, childFactory: this.props.keepTabsMounted ? this.childFactory : undefined },\n React.createElement(\"div\", __assign({}, contentProps, { id: String(this.contentId + idx), key: idx }), tab.props.children)))\n : (React.createElement(\"div\", __assign({}, contentProps, { key: idx }), tab.props.children));\n };\n /**\n * @hidden\n */\n TabStripContent.propTypes = {\n animation: PropTypes.bool,\n children: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.arrayOf(PropTypes.element)\n ]),\n selected: PropTypes.number,\n style: PropTypes.object\n };\n return TabStripContent;\n}(React.Component));\nexport { TabStripContent };\n","/**\n * @hidden\n */\nexport var packageMetadata = {\n name: '@progress/kendo-react-layout',\n productName: 'KendoReact',\n productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],\n publishDate: 1700063587,\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})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { TabStripNavigation } from './TabStripNavigation';\nimport { TabStripContent } from './TabStripContent';\nimport { Keys, classNames, validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-react-common';\nimport { packageMetadata } from '../package-metadata';\nvar TabStrip = /** @class */ (function (_super) {\n __extends(TabStrip, _super);\n function TabStrip(props) {\n var _a;\n var _this = _super.call(this, props) || this;\n _this._element = null;\n _this.showLicenseWatermark = false;\n _this.keyBinding = (_a = {},\n _a[Keys.left] = function () { return _this.prevNavigatableTab(); },\n _a[Keys.right] = function () { return _this.nextNavigatableTab(); },\n _a[Keys.down] = function () { return _this.nextNavigatableTab(); },\n _a[Keys.up] = function () { return _this.prevNavigatableTab(); },\n _a[Keys.home] = function () { return 0; },\n _a[Keys.end] = function () { return (React.Children.count(_this.props.children) - 1); },\n _a);\n /**\n * @hidden\n */\n _this.onSelect = function (index) {\n if (_this.props.selected !== index) {\n if (_this.props.onSelect) {\n _this.props.onSelect({\n selected: index\n });\n }\n }\n };\n /**\n * @hidden\n */\n _this.onKeyDown = function (event) {\n var handler;\n switch (event.keyCode) {\n case Keys.left:\n handler = _this.keyBinding[_this.invertKeys(Keys.left, Keys.right)];\n break;\n case Keys.right:\n handler = _this.keyBinding[_this.invertKeys(Keys.right, Keys.left)];\n break;\n case Keys.up:\n handler = _this.keyBinding[Keys.up];\n break;\n case Keys.down:\n handler = _this.keyBinding[Keys.down];\n break;\n case Keys.home:\n handler = _this.keyBinding[Keys.home];\n break;\n case Keys.end:\n handler = _this.keyBinding[Keys.end];\n break;\n default:\n break;\n }\n if (handler) {\n event.preventDefault();\n _this.onSelect(handler());\n }\n };\n _this.renderContent = function (tabProps) {\n var selected = tabProps.selected, children = tabProps.children, tabContentStyle = tabProps.tabContentStyle;\n var childrenCount = React.Children.count(children);\n if (selected < childrenCount && selected > -1) {\n return (React.createElement(TabStripContent, __assign({ index: selected }, tabProps, { style: tabContentStyle })));\n }\n return null;\n };\n _this.firstNavigatableTab = function () {\n var children = _this.children();\n var length = React.Children.count(children);\n if (children) {\n for (var i = 0; i < length; i++) {\n if (!children[i].props.disabled) {\n return i;\n }\n }\n }\n };\n _this.lastNavigatableTab = function () {\n var children = _this.children();\n var length = React.Children.count(children);\n if (children) {\n for (var i = length - 1; i > 0; i--) {\n if (!children[i].props.disabled) {\n return i;\n }\n }\n }\n };\n _this.prevNavigatableTab = function () {\n var children = _this.children();\n var selected = _this.props.selected;\n var index = selected ? selected - 1 : -1;\n if (index < 0) {\n return _this.lastNavigatableTab();\n }\n if (children) {\n for (var i = index; i > -1; i--) {\n if (!children[i].props.disabled) {\n return i;\n }\n if (i === 0) {\n return _this.lastNavigatableTab();\n }\n }\n }\n };\n _this.nextNavigatableTab = function () {\n var children = _this.children();\n var selected = _this.props.selected;\n var index = selected ? selected + 1 : 1;\n var childrenCount = React.Children.count(children);\n if (index >= childrenCount) {\n return _this.firstNavigatableTab();\n }\n if (children) {\n for (var i = index; i < childrenCount; i++) {\n if (!children[i].props.disabled) {\n return i;\n }\n if (i + 1 === childrenCount) {\n return _this.firstNavigatableTab();\n }\n }\n }\n };\n validatePackage(packageMetadata);\n _this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);\n return _this;\n }\n /**\n * @hidden\n */\n TabStrip.prototype.render = function () {\n var _this = this;\n var tabProps = __assign(__assign({}, this.props), { children: this.children(), onKeyDown: this.onKeyDown, onSelect: this.onSelect });\n var tabPosition = tabProps.tabPosition, _a = tabProps.tabIndex, tabIndex = _a === void 0 ? 0 : _a;\n var bottom = tabPosition === 'bottom';\n var componentClasses = classNames('k-tabstrip k-pos-relative', {\n 'k-tabstrip-left': tabPosition === 'left',\n 'k-tabstrip-right': tabPosition === 'right',\n 'k-tabstrip-bottom': tabPosition === 'bottom',\n 'k-tabstrip-top': tabPosition === 'top',\n 'k-tabstrip-scrollable': this.props.scrollable\n }, this.props.className);\n return (React.createElement(\"div\", { id: this.props.id, ref: function (div) { return _this._element = div; }, dir: this.props.dir, className: componentClasses, style: this.props.style },\n !bottom && React.createElement(TabStripNavigation, __assign({}, tabProps, { tabIndex: tabIndex })),\n this.renderContent(tabProps),\n bottom && React.createElement(TabStripNavigation, __assign({}, tabProps, { tabIndex: tabIndex })),\n this.showLicenseWatermark && React.createElement(WatermarkOverlay, null)));\n };\n TabStrip.prototype.invertKeys = function (original, inverted) {\n var rtl = this._element && (getComputedStyle(this._element).direction === 'rtl') || false;\n return rtl ? inverted : original;\n };\n TabStrip.prototype.children = function () {\n return React.Children.toArray(this.props.children).filter(function (c) { return c; });\n };\n /**\n * @hidden\n */\n TabStrip.propTypes = {\n animation: PropTypes.bool,\n children: PropTypes.node,\n onSelect: PropTypes.func,\n selected: PropTypes.number,\n style: PropTypes.object,\n tabContentStyle: PropTypes.object,\n tabPosition: PropTypes.string,\n tabIndex: PropTypes.number,\n className: PropTypes.string,\n dir: PropTypes.string\n };\n /**\n * @hidden\n */\n TabStrip.defaultProps = {\n animation: true,\n tabPosition: 'top',\n keepTabsMounted: false,\n buttonScrollSpeed: 100,\n mouseScrollSpeed: 10\n };\n return TabStrip;\n}(React.Component));\nexport { TabStrip };\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 * as PropTypes from 'prop-types';\nvar TabStripTab = /** @class */ (function (_super) {\n __extends(TabStripTab, _super);\n function TabStripTab() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * @hidden\n */\n TabStripTab.prototype.render = function () {\n return null;\n };\n /**\n * @hidden\n */\n TabStripTab.propTypes = {\n disabled: PropTypes.bool,\n contentClassName: PropTypes.string,\n children: PropTypes.oneOfType([\n PropTypes.element,\n PropTypes.node\n ]),\n title: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element,\n PropTypes.node\n ])\n };\n return TabStripTab;\n}(React.Component));\nexport { TabStripTab };\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})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { classNames, IconWrap, svgIconPropType } from '@progress/kendo-react-common';\nimport { chevronDownIcon, chevronUpIcon } from '@progress/kendo-svg-icons';\nimport { Reveal } from '@progress/kendo-react-animation';\n/**\n * @hidden\n */\nfunction iconElement(_a) {\n var imageUrl = _a.imageUrl, icon = _a.icon, svgIcon = _a.svgIcon, iconClass = _a.iconClass;\n if (imageUrl) {\n return (React.createElement(\"img\", { role: \"presentation\", className: 'k-panelbar-item-icon k-image', src: imageUrl }));\n }\n else if (icon || svgIcon) {\n return (React.createElement(IconWrap, { className: 'k-panelbar-item-icon', name: icon, icon: svgIcon }));\n }\n else if (iconClass) {\n return (React.createElement(\"span\", { role: \"presentation\", className: 'k-panelbar-item-icon ' + iconClass }));\n }\n return null;\n}\nvar PanelBarItem = /** @class */ (function (_super) {\n __extends(PanelBarItem, _super);\n function PanelBarItem(props) {\n var _this = _super.call(this, props) || this;\n _this.handleItemClick = function () {\n var _a = _this.props, onSelect = _a.onSelect, disabled = _a.disabled, id = _a.id;\n if (onSelect && !disabled) {\n onSelect.call(undefined, {\n uniquePrivateKey: _this.props.uniquePrivateKey,\n id: id,\n target: _this\n });\n }\n };\n _this.childFactory = function (child) {\n if (_this.props.keepItemsMounted) {\n return React.cloneElement(child, __assign(__assign({}, child.props), { in: _this.props.expanded }));\n }\n return child;\n };\n _this.state = {\n show: props.expanded || false\n };\n return _this;\n }\n /**\n * @hidden\n */\n PanelBarItem.prototype.render = function () {\n var _this = this;\n var _a = this.props, id = _a.id, children = _a.children, title = _a.title, uniquePrivateKey = _a.uniquePrivateKey, disabled = _a.disabled, selected = _a.selected, focused = _a.focused, expanded = _a.expanded, className = _a.className, level = _a.level, headerClassName = _a.headerClassName, animation = _a.animation, keepItemsMounted = _a.keepItemsMounted;\n var panelBarItemAriaAttributes = {\n 'role': 'treeitem',\n 'aria-disabled': disabled,\n 'aria-hidden': !disabled && !expanded,\n 'aria-selected': !disabled && selected,\n 'aria-expanded': !disabled && expanded && !!children\n };\n var panelBarItemClassName = classNames('k-panelbar-item', {\n 'k-panelbar-header': level === 0,\n 'k-expanded': expanded && !!children,\n 'k-disabled': disabled\n }, \"k-level-\".concat(level), className);\n var panelBarLinkClassName = classNames('k-link', {\n 'k-selected': !disabled && selected,\n 'k-focus': !disabled && focused\n }, headerClassName);\n var animationStyle = { display: 'block' };\n var icon = iconElement(this.props);\n var arrow = (!disabled && children)\n ? (React.createElement(IconWrap, { name: expanded ? 'chevron-up' : 'chevron-down', icon: expanded ? chevronUpIcon : chevronDownIcon, className: classNames('k-panelbar-toggle', expanded\n ? 'k-panelbar-collapse'\n : 'k-panelbar-expand') }))\n : null;\n var opened = (!disabled && expanded);\n var content = opened || keepItemsMounted\n ? (React.createElement(\"ul\", { role: \"group\", \"aria-expanded\": expanded, \"aria-hidden\": !expanded, className: \"k-panelbar-group k-panel k-group\", style: { display: keepItemsMounted\n ? (this.state.show ? 'block' : 'none')\n : 'block' } }, children))\n : null;\n var child = ((animation !== undefined ? animation : true) && !disabled && children)\n ? (React.createElement(Reveal, { transitionEnterDuration: 200, transitionExitDuration: 200, key: uniquePrivateKey + '_animation', style: animationStyle, children: content, childFactory: keepItemsMounted && this.childFactory, unmountOnExit: !keepItemsMounted, onBeforeEnter: function () { return keepItemsMounted && _this.setState({ show: true }); }, onAfterExited: function () { return keepItemsMounted && _this.setState({ show: false }); } }))\n : content;\n return (React.createElement(\"li\", __assign({ id: id, className: panelBarItemClassName }, panelBarItemAriaAttributes),\n React.createElement(\"span\", { className: panelBarLinkClassName, onClick: this.handleItemClick },\n icon,\n React.createElement(\"span\", { className: 'k-panelbar-item-text' }, title),\n arrow),\n child));\n };\n /**\n * @hidden\n */\n PanelBarItem.propTypes = {\n animation: PropTypes.bool,\n children: PropTypes.any,\n className: PropTypes.string,\n icon: PropTypes.string,\n iconClass: PropTypes.string,\n imageUrl: PropTypes.string,\n svgIcon: svgIconPropType,\n expanded: PropTypes.bool,\n disabled: PropTypes.bool,\n onSelect: PropTypes.func,\n selected: PropTypes.bool,\n level: PropTypes.number,\n title: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element\n ]),\n id: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number\n ]),\n focused: PropTypes.bool,\n keepItemsMounted: PropTypes.bool\n };\n /**\n * @hidden\n */\n PanelBarItem.defaultProps = {\n title: 'Untitled'\n };\n return PanelBarItem;\n}(React.PureComponent));\nexport { PanelBarItem };\n","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport * as React from 'react';\nimport { PanelBarItem } from './PanelBarItem';\n/**\n * @hidden\n */\nexport var renderChildren = function (_a) {\n var _b = _a.animation, animation = _b === void 0 ? true : _b, _c = _a.keepItemsMounted, keepItemsMounted = _c === void 0 ? false : _c, state = _a.state, expanded = _a.expanded, handleSelect = _a.handleSelect, children = _a.children, _d = _a.parentExpanded, parentExpanded = _d === void 0 ? true : _d, _e = _a.level, level = _e === void 0 ? 0 : _e, _f = _a.parentPrivateKey, parentPrivateKey = _f === void 0 ? [] : _f;\n return React.Children.map(children, function (child, idx) {\n if (child && child.type === PanelBarItem) {\n var nestedChildren = void 0;\n var privateKey = getId(child, parentPrivateKey, idx);\n if (child.props.children) {\n var renderState = {\n animation: animation,\n keepItemsMounted: keepItemsMounted,\n state: state,\n expanded: expanded,\n handleSelect: handleSelect,\n children: child.props.children,\n parentExpanded: (expanded || []).indexOf(privateKey) > -1,\n level: level + 1,\n parentPrivateKey: __spreadArray(__spreadArray([], parentPrivateKey, true), [privateKey], false)\n };\n nestedChildren = renderChildren(renderState);\n }\n return React.cloneElement(child, __assign(__assign({}, child.props), { animation: child.props.animation !== undefined ? child.props.animation : animation, keepItemsMounted: keepItemsMounted, id: child.props.id || \"k-panelbar-item-default-\".concat(privateKey), uniquePrivateKey: privateKey, parentUniquePrivateKey: parentPrivateKey, parentExpanded: parentExpanded, level: level, expanded: (expanded || []).indexOf(privateKey) > -1, focused: state.focused === privateKey && state.wrapperFocused, selected: state.selected === privateKey, children: nestedChildren, onSelect: handleSelect }));\n }\n else {\n return React.createElement(\"div\", { className: \"k-panelbar-content k-content\" }, child);\n }\n });\n};\n/**\n * @hidden\n */\nexport var getFirstId = function (props) {\n var firstItem = React.Children.toArray(props.children)[0];\n if (firstItem) {\n return getId(firstItem, [], 0);\n }\n return '';\n};\n/**\n * @hidden\n */\nexport var getInitialState = function (props, expandMode, result, parentExpanded, parentPrivateKey) {\n if (result === void 0) { result = {\n expanded: props.expanded || [],\n selected: props.selected || '',\n focused: props.focused || '',\n wrapperFocused: false\n }; }\n if (parentExpanded === void 0) { parentExpanded = true; }\n if (parentPrivateKey === void 0) { parentPrivateKey = []; }\n React.Children.map(props.children, function (child, idx) {\n if (child && child.type === PanelBarItem) {\n var privateKey = getId(child, parentPrivateKey, idx);\n if (!child.props.disabled && parentExpanded) {\n if (child.props.selected) {\n result.selected = privateKey;\n }\n if (child.props.focused) {\n result.focused = privateKey;\n }\n if (child.props.expanded) {\n if (expandMode === 'multiple') {\n result.expanded.push(privateKey);\n }\n else if (expandMode === 'single') {\n result.expanded = [privateKey];\n }\n }\n if (child.props.children) {\n result = getInitialState(child.props, expandMode, result, !!child.props.expanded, __spreadArray(__spreadArray([], parentPrivateKey, true), [privateKey], false));\n }\n }\n }\n });\n return result;\n};\n/**\n * @hidden\n */\nvar getId = function (child, parentPrivateKey, idx) {\n return child && child.props && child.props.id\n ? child.props.id\n : parentPrivateKey.length\n ? parentPrivateKey[parentPrivateKey.length - 1] + \".\".concat(idx)\n : \".\".concat(idx);\n};\n/**\n * @hidden\n */\nexport function flatVisibleItems(data, flattedItems) {\n if (flattedItems === void 0) { flattedItems = []; }\n (data || []).forEach(function (item) {\n if (!item.disabled) {\n flattedItems.push(item);\n if (item.expanded && item.children) {\n flatVisibleItems(item.children, flattedItems);\n }\n }\n });\n return flattedItems;\n}\n/**\n * @hidden\n */\nexport function flatChildren(children, flattenChildren) {\n if (flattenChildren === void 0) { flattenChildren = []; }\n React.Children.forEach(children, function (child) {\n if (child && child.props && !child.props.disabled) {\n flattenChildren.push(child);\n if (child.props.children) {\n flatChildren(child.props.children, flattenChildren);\n }\n }\n });\n return flattenChildren;\n}\n;\n/**\n * @hidden\n */\nexport function flatVisibleChildren(children, flattenVisibleChildren) {\n if (flattenVisibleChildren === void 0) { flattenVisibleChildren = []; }\n React.Children.forEach(children, function (child) {\n if (child && child.props && !child.props.disabled && (child.props.expanded || child.props.parentExpanded)) {\n flattenVisibleChildren.push(child);\n if (child.props.children) {\n flatVisibleChildren(child.props.children, flattenVisibleChildren);\n }\n }\n });\n return flattenVisibleChildren;\n}\n;\n/**\n * @hidden\n */\nexport var isPresent = function (value) { return value !== null && value !== undefined; };\n/**\n * Represents the PanelBarUtils functions.\n */\nexport var PanelBarUtils;\n(function (PanelBarUtils) {\n /**\n * Maps a collection of PanelBarItemProps to PanelBarItem components\n * ([see example]({% slug customization_panelbar %})).\n * Contained in the `PanelBarUtils` object.\n *\n * @param items - A collection of PanelBarItemProps.\n * @return {PanelBarItem[]} Returns an array of PanelBarItem components.\n */\n function mapItemsToComponents(items) {\n return items.map(function (item, idx) {\n var children;\n if (item.content) {\n children = item.content;\n }\n if (item.children) {\n children = (mapItemsToComponents(item.children));\n }\n return (React.createElement(PanelBarItem, __assign({}, item, { children: children, key: item.id || idx })));\n });\n }\n PanelBarUtils.mapItemsToComponents = mapItemsToComponents;\n})(PanelBarUtils || (PanelBarUtils = {}));\n/**\n * @hidden\n */\nexport var isArrayEqual = function (firstArray, secondArray) {\n if (firstArray.length !== secondArray.length) {\n return false;\n }\n return firstArray.every(function (ex, i) { return ex === secondArray[i]; });\n};\n","/**\n * @hidden\n */\nexport var NavigationAction;\n(function (NavigationAction) {\n NavigationAction[NavigationAction[\"Toggle\"] = 0] = \"Toggle\";\n NavigationAction[NavigationAction[\"Next\"] = 1] = \"Next\";\n NavigationAction[NavigationAction[\"Previous\"] = 2] = \"Previous\";\n})(NavigationAction || (NavigationAction = {}));\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})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nimport * as React from 'react';\nimport * as PropTypes from 'prop-types';\nimport { PanelBarItem } from './PanelBarItem';\nimport { renderChildren, getInitialState, flatVisibleChildren, flatChildren, isArrayEqual, getFirstId } from './util';\nimport { classNames, Keys, validatePackage, shouldShowValidationUI, WatermarkOverlay } from '@progress/kendo-react-common';\nimport { packageMetadata } from '../package-metadata';\nimport { NavigationAction } from './interfaces/NavigationAction';\nvar PanelBar = /** @class */ (function (_super) {\n __extends(PanelBar, _super);\n function PanelBar(props) {\n var _this = _super.call(this, props) || this;\n _this._element = null;\n _this.showLicenseWatermark = false;\n /**\n * @hidden\n */\n _this.handleSelect = function (event) {\n _this.onSelect(event);\n _this.onFocus(event);\n };\n /**\n * @hidden\n */\n _this.onSelect = function (event) {\n var flattenChildren = flatChildren(React.Children.toArray(_this.children));\n var selectedChild;\n var newExpanded;\n flattenChildren.forEach(function (child) {\n if (child.props.uniquePrivateKey === (event.uniquePrivateKey || _this.state.focused)) {\n selectedChild = child;\n }\n });\n switch (_this.expandMode) {\n case 'single':\n newExpanded = __spreadArray(__spreadArray([], selectedChild.props.parentUniquePrivateKey, true), [selectedChild.props.uniquePrivateKey], false);\n if (isArrayEqual(_this.expandedItems, newExpanded)) {\n if (selectedChild.props.parentUniquePrivateKey) {\n newExpanded = __spreadArray([], selectedChild.props.parentUniquePrivateKey, true);\n }\n else {\n newExpanded = [];\n }\n }\n break;\n case 'multiple':\n newExpanded = _this.expandedItems.slice();\n var index = newExpanded.indexOf(selectedChild.props.uniquePrivateKey);\n index === -1 ? newExpanded.push(selectedChild.props.uniquePrivateKey) : newExpanded.splice(index, 1);\n break;\n default:\n newExpanded = _this.expandedItems.slice();\n break;\n }\n _this.setState({ selected: selectedChild.props.uniquePrivateKey, expanded: newExpanded });\n if (_this.props.onSelect) {\n _this.props.onSelect.call(undefined, {\n target: selectedChild,\n expandedItems: newExpanded\n });\n }\n };\n /**\n * @hidden\n */\n _this.onFocus = function (event, step) {\n if (step === void 0) { step = 0; }\n var flattenChildren = flatVisibleChildren(React.Children.toArray(_this.children));\n var focusedChild;\n flattenChildren.forEach(function (child, ixd) {\n if (child.props.uniquePrivateKey === (event.uniquePrivateKey || _this.state.focused)) {\n var index = ixd + step < 0\n ? 0\n : ixd + step > flattenChildren.length\n ? flattenChildren.length - 1\n : ixd + step;\n focusedChild = flattenChildren[index];\n }\n });\n if (focusedChild) {\n _this.activeDescendant = focusedChild.props.id;\n _this.setState({ focused: focusedChild.props.uniquePrivateKey });\n }\n };\n /**\n * @hidden\n */\n _this.onNavigate = function (event, action) {\n var step;\n switch (action) {\n case NavigationAction.Previous:\n step = -1;\n _this.onFocus(event, step);\n break;\n case NavigationAction.Next:\n step = 1;\n _this.onFocus(event, step);\n break;\n case NavigationAction.Toggle:\n _this.onSelect(event);\n break;\n default:\n }\n };\n _this.handleWrapperFocus = function () {\n clearTimeout(_this.nextTickId);\n if (!_this.state.wrapperFocused) {\n _this.setState({ wrapperFocused: true });\n }\n };\n _this.handleWrapperBlur = function () {\n _this.nextTick(function () {\n _this.setState({ wrapperFocused: false });\n });\n };\n _this.handleKeyDown = function (event) {\n var rtl = _this._element && (getComputedStyle(_this._element).direction === 'rtl') || false;\n if (event.target === event.currentTarget) {\n var keyCode = event.keyCode;\n var action = void 0;\n switch (keyCode) {\n case Keys.left:\n action = !rtl ? NavigationAction.Previous : NavigationAction.Next;\n break;\n case Keys.up:\n action = NavigationAction.Previous;\n break;\n case Keys.right:\n action = !rtl ? NavigationAction.Next : NavigationAction.Previous;\n break;\n case Keys.down:\n action = NavigationAction.Next;\n break;\n case Keys.space:\n case Keys.enter:\n action = NavigationAction.Toggle;\n break;\n default:\n action = null;\n break;\n }\n if (action !== null) {\n event.preventDefault();\n _this.onNavigate(event, action);\n }\n }\n };\n validatePackage(packageMetadata);\n _this.showLicenseWatermark = shouldShowValidationUI(packageMetadata);\n var initialState = getInitialState(props, _this.expandMode);\n if (!initialState.focused) {\n initialState.focused = getFirstId(props);\n }\n _this.state = initialState;\n return _this;\n }\n Object.defineProperty(PanelBar.prototype, \"expandMode\", {\n get: function () {\n return this.props.expandMode || 'multiple';\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(PanelBar.prototype, \"selectedItem\", {\n get: function () {\n var _a = this.props.selected, selected = _a === void 0 ? this.state.selected : _a;\n return selected;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(PanelBar.prototype, \"expandedItems\", {\n get: function () {\n var expanded = this.props.isControlled ? this.props.expanded || [] : this.state.expanded;\n return expanded;\n },\n enumerable: false,\n configurable: true\n });\n Object.defineProperty(PanelBar.prototype, \"children\", {\n get: function () {\n var state = __assign(__assign({}, this.state), { selected: this.selectedItem });\n var renderState = {\n animation: this.props.animation,\n keepItemsMounted: this.props.keepItemsMounted,\n state: state,\n expanded: this.expandedItems,\n handleSelect: this.handleSelect,\n children: this.props.children\n };\n return renderChildren(renderState);\n },\n enumerable: false,\n configurable: true\n });\n /**\n * @hidden\n */\n PanelBar.prototype.render = function () {\n var _this = this;\n var ariaProps = {\n 'aria-activedescendant': this.activeDescendant\n };\n var className = classNames('k-panelbar', 'k-pos-relative', this.props.className);\n return (React.createElement(\"ul\", __assign({ ref: function (div) { _this._element = div; }, dir: this.props.dir, role: 'tree', tabIndex: 0, onKeyDown: this.handleKeyDown, onFocus: this.handleWrapperFocus, onBlur: this.handleWrapperBlur, className: className, style: this.props.style }, ariaProps),\n this.children,\n this.showLicenseWatermark && React.createElement(WatermarkOverlay, null)));\n };\n PanelBar.prototype.nextTick = function (f) {\n this.nextTickId = window.setTimeout(function () { return f(); });\n };\n /**\n * @hidden\n */\n PanelBar.propTypes = {\n animation: PropTypes.bool,\n children: function (props, propName) {\n var prop = props[propName];\n if (prop) {\n if (Array.isArray(prop)) {\n for (var _i = 0, prop_1 = prop; _i < prop_1.length; _i++) {\n var value = prop_1[_i];\n if (!value.type || value.type !== PanelBarItem) {\n return new Error('PanelBar children should be either PanelBarItem or Array of PanelBarItem.');\n }\n }\n }\n else {\n if (prop.type !== PanelBarItem) {\n return new Error('PanelBar child should be either PanelBarItem or Array of PanelBarItem.');\n }\n }\n return null;\n }\n return null;\n },\n dir: PropTypes.string,\n selected: PropTypes.string,\n expanded: PropTypes.arrayOf(PropTypes.string),\n focused: PropTypes.string,\n expandMode: PropTypes.oneOf(['single', 'multiple']),\n className: PropTypes.string,\n keepItemsMounted: PropTypes.bool,\n onSelect: PropTypes.func,\n style: PropTypes.object\n };\n /**\n * @hidden\n */\n PanelBar.defaultProps = {\n expandMode: 'multiple',\n animation: true,\n keepItemsMounted: false\n };\n return PanelBar;\n}(React.Component));\nexport { PanelBar };\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 * as PropTypes from 'prop-types';\nvar MenuItem = /** @class */ (function (_super) {\n __extends(MenuItem, _super);\n function MenuItem() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n * @hidden\n */\n MenuItem.prototype.render = function () {\n return null;\n };\n /**\n * @hidden\n */\n MenuItem.propTypes = {\n text: PropTypes.string,\n url: PropTypes.string,\n icon: PropTypes.string,\n disabled: PropTypes.bool,\n cssClass: PropTypes.string,\n cssStyle: PropTypes.object,\n render: PropTypes.any,\n linkRender: PropTypes.any,\n contentRender: PropTypes.any,\n data: PropTypes.any\n };\n return MenuItem;\n}(React.Component));\nexport { MenuItem };\n","import * as React from 'react';\nimport { createId, ZERO_LEVEL_ZERO_ITEM_ID } from './itemsIdsUtils';\nimport { MenuItem } from '../components/MenuItem';\n/**\n * @hidden\n */\nexport function prepareInputItemsForInternalWork(models, menuChildren) {\n if (models && models.length > 0) {\n return {\n items: convertInputModelsToInternalOnesHelper(models),\n inputItems: models\n };\n }\n else if (getMenuItemChildComponents(menuChildren).length > 0) {\n var inputModels = convertInputComponentsToInputModelsHelper(getMenuItemChildComponents(menuChildren));\n return { items: convertInputModelsToInternalOnesHelper(inputModels), inputItems: inputModels };\n }\n else {\n return { items: [], inputItems: [] };\n }\n}\nfunction copyInputItemWithoutChildren(inputModel, inputComponent) {\n var result = {};\n var _a = inputModel ? inputModel : inputComponent.props, text = _a.text, url = _a.url, icon = _a.icon, svgIcon = _a.svgIcon, disabled = _a.disabled, cssClass = _a.cssClass, cssStyle = _a.cssStyle, render = _a.render, linkRender = _a.linkRender, contentRender = _a.contentRender, data = _a.data;\n if (text !== undefined) {\n result.text = text;\n }\n if (url !== undefined) {\n result.url = url;\n }\n if (icon !== undefined) {\n result.icon = icon;\n }\n if (svgIcon !== undefined) {\n result.svgIcon = svgIcon;\n }\n if (disabled !== undefined) {\n result.disabled = disabled;\n }\n if (cssClass !== undefined) {\n result.cssClass = cssClass;\n }\n if (cssStyle !== undefined) {\n result.cssStyle = cssStyle;\n }\n if (render !== undefined) {\n result.render = render;\n }\n if (linkRender !== undefined) {\n result.linkRender = linkRender;\n }\n if (contentRender !== undefined) {\n result.contentRender = contentRender;\n }\n if (data !== undefined) {\n result.data = data;\n }\n return result;\n}\nfunction getMenuItemChildComponents(menuChildren) {\n return React.Children.toArray(menuChildren)\n .filter(function (child) { return child && child.type === MenuItem; });\n}\nfunction convertInputComponentsToInputModelsHelper(components) {\n var result = [];\n for (var index = 0; index < components.length; index++) {\n var comp = components[index];\n var model = copyInputItemWithoutChildren(undefined, comp);\n var items = convertInputComponentsToInputModelsHelper(getMenuItemChildComponents(comp.props.children));\n if (items.length > 0) {\n model.items = items;\n }\n result.push(model);\n }\n return result;\n}\nfunction convertInputModelsToInternalOnesHelper(inputModels, parentId) {\n var result = [];\n for (var index = 0; index < inputModels.length; index++) {\n var inputModel = inputModels[index];\n var internalModel = copyInputItemWithoutChildren(inputModel);\n internalModel.id = createId(index.toString(), parentId);\n internalModel.isLastFromSiblings = index === inputModels.length - 1;\n internalModel.items = copyOrCreateModelChildren(inputModel, internalModel);\n result.push(internalModel);\n }\n return result;\n}\nfunction copyOrCreateModelChildren(inputModel, internalModel) {\n if (inputModel.contentRender) {\n return [{\n contentParentItemId: internalModel.id,\n id: createId(ZERO_LEVEL_ZERO_ITEM_ID, internalModel.id),\n isLastFromSiblings: true,\n contentRender: inputModel.contentRender,\n items: []\n }];\n }\n else if (inputModel.items) {\n return convertInputModelsToInternalOnesHelper(inputModel.items, internalModel.id);\n }\n else {\n return [];\n }\n}\n","import { Keys } from '@progress/kendo-react-common';\nimport { getFirstChildId, isIdZeroLevel, getRootParentId, isIdFirstLevel, getDirectParentId, getShortId, createId, getDirectSiblingIdForLevelZero, getItemById as getItemByIdUtil } from './itemsIdsUtils';\nvar NO_WHITESPACE_REGEX = /\\S/;\n/**\n * @hidden\n * Returns the `itemId` (string) for applicable key codes even when the id has not changed.\n * For key codes that are not applicable, returns `undefined`.\n */\nexport function getNewItemIdUponKeyboardNavigation(sourceItems, sourceItemId, keyCode, key, isMenuVertical, isDirectionRightToLeft) {\n var sourceItem = getItemById();\n switch (keyCode) {\n case Keys.left:\n return getIdUponLeftKey();\n case Keys.right:\n return getIdUponRightKey();\n case Keys.up:\n return getIdUponUpKey();\n case Keys.down:\n return getIdUponDownKey();\n case Keys.enter:\n case Keys.space:\n return getIdUponEnterAndSpaceKeys();\n case Keys.home:\n return getIdUponHomeKey();\n case Keys.end:\n return getIdUponEndKey();\n case Keys.esc:\n return getIdUponEscKey();\n default:\n return isSearchableKey() ? getIdUponSearchByChar() : sourceItemId;\n }\n function getIdUponLeftKey() {\n if (isMenuVertical) {\n return isDirectionRightToLeft ? getIdUponRightKeyForVerticalMenu() : getIdUponLeftKeyForVerticalMenu();\n }\n else {\n return isDirectionRightToLeft ?\n getIdUponRightKeyForHorizontalMenu() : getIdUponLeftKeyForHorizontalMenu();\n }\n }\n function getIdUponRightKey() {\n if (isMenuVertical) {\n return isDirectionRightToLeft ? getIdUponLeftKeyForVerticalMenu() : getIdUponRightKeyForVerticalMenu();\n }\n else {\n return isDirectionRightToLeft ?\n getIdUponLeftKeyForHorizontalMenu() : getIdUponRightKeyForHorizontalMenu();\n }\n }\n function getIdUponDownKey() {\n if (isMenuVertical) {\n return getNextSiblingId();\n }\n else {\n if (isIdZeroLevel(sourceItemId)) {\n return getFirstChildIdForEnabledItemOrGetSameId();\n }\n else {\n return getNextSiblingId();\n }\n }\n }\n function getIdUponUpKey() {\n if (isMenuVertical) {\n return getPrevSiblingId();\n }\n else {\n if (isIdZeroLevel(sourceItemId)) {\n return getLastChildIdForEnabledItemOrGetSameId();\n }\n else {\n return getPrevSiblingId();\n }\n }\n }\n function getIdUponEnterAndSpaceKeys() {\n if (sourceItem.disabled) {\n return sourceItemId;\n }\n else {\n return hasChildren() ? getFirstChildId(sourceItemId) : getRootParentId(sourceItemId);\n }\n }\n function getIdUponHomeKey() {\n return getSiblings()[0].id;\n }\n function getIdUponEndKey() {\n var siblings = getSiblings();\n return siblings[siblings.length - 1].id;\n }\n function getIdUponEscKey() {\n return isIdZeroLevel(sourceItemId) ? sourceItemId : getDirectParentId(sourceItemId);\n }\n function getIdUponSearchByChar() {\n var searchChar = key.toLowerCase();\n var siblings = getSiblings();\n var currentItemIndex = Number(getShortId(sourceItemId));\n var itemsToSearch = siblings.slice(currentItemIndex + 1).concat(siblings.slice(0, currentItemIndex + 1));\n var matchedSibling = itemsToSearch.find(function (item) {\n return (item.text || '').toLowerCase().startsWith(searchChar);\n });\n return matchedSibling ? matchedSibling.id : sourceItemId;\n }\n // #region Left Key Internals\n function getIdUponLeftKeyForHorizontalMenu() {\n if (isIdZeroLevel(sourceItemId)) {\n return getPrevSiblingId();\n }\n else if (isIdFirstLevel(sourceItemId)) {\n return getFirstChildIdForEnabledItemOrGetSameId(getPrevSiblingId(getRootParentId(sourceItemId)));\n }\n else {\n return getDirectParentId(sourceItemId);\n }\n }\n function getIdUponLeftKeyForVerticalMenu() {\n if (isIdZeroLevel(sourceItemId)) {\n return getLastChildIdForEnabledItemOrGetSameId();\n }\n else {\n return getDirectParentId(sourceItemId);\n }\n }\n // #endregion\n // #region Right Key Internals\n function getIdUponRightKeyForHorizontalMenu() {\n if (isIdZeroLevel(sourceItemId)) {\n return getNextSiblingId();\n }\n else {\n return getFirstChildIdForEnabledItemOrGetSameId(hasChildren() ? sourceItemId : getNextSiblingId(getRootParentId(sourceItemId)));\n }\n }\n function getIdUponRightKeyForVerticalMenu() {\n return getFirstChildIdForEnabledItemOrGetSameId(isIdZeroLevel(sourceItemId) || hasChildren() ?\n sourceItemId : getNextSiblingId(getRootParentId(sourceItemId)));\n }\n // #endregion\n // #region Utils\n function getFirstChildIdForEnabledItemOrGetSameId(itemId) {\n return getFirstOrLastChildIdForEnabledItemOrGetSameId(true, itemId);\n }\n function getLastChildIdForEnabledItemOrGetSameId(itemId) {\n return getFirstOrLastChildIdForEnabledItemOrGetSameId(false, itemId);\n }\n function isSearchableKey() {\n return key.length === 1 && NO_WHITESPACE_REGEX.test(key);\n }\n function getItemById(itemId, items) {\n if (itemId === undefined) {\n itemId = sourceItemId;\n }\n if (items === undefined) {\n items = sourceItems;\n }\n return getItemByIdUtil(itemId, items);\n }\n function hasChildren(itemId) {\n return getItemById(itemId).items.length > 0;\n }\n function getPrevSiblingId(itemId) {\n return getSiblingId(false, itemId);\n }\n function getNextSiblingId(itemId) {\n return getSiblingId(true, itemId);\n }\n function getLastChildId(itemId) {\n var itemChildren = getItemById(itemId).items;\n return itemChildren[itemChildren.length - 1].id;\n }\n function getSiblings() {\n return isIdZeroLevel(sourceItemId) ?\n sourceItems : getItemById(getDirectParentId(sourceItemId), sourceItems).items;\n }\n function getFirstOrLastChildIdForEnabledItemOrGetSameId(getFirstChild, itemId) {\n if (itemId === undefined) {\n itemId = sourceItemId;\n }\n var item = getItemById(itemId);\n if (hasChildren(itemId) && !item.disabled) {\n return getFirstChild ? getFirstChildId(itemId) : getLastChildId(itemId);\n }\n else {\n return itemId;\n }\n }\n function getSiblingId(next, itemId) {\n if (itemId === undefined) {\n itemId = sourceItemId;\n }\n if (isIdZeroLevel(itemId)) {\n return getDirectSiblingIdForLevelZero(next, itemId, sourceItems.length);\n }\n else {\n var directParentId = getDirectParentId(itemId);\n var shortId = getShortId(itemId);\n var siblingsCount = getItemById(directParentId).items.length;\n return createId(getDirectSiblingIdForLevelZero(next, shortId, siblingsCount), directParentId);\n }\n }\n // #endregion\n}\n","/**\n * @hidden\n */\nvar DirectionHolder = /** @class */ (function () {\n function DirectionHolder() {\n // The phase changes in the following sequence:\n // NotInitialized -> Initialized -> NewValueReceived.\n this.phase = 'Initialized';\n }\n DirectionHolder.prototype.getIsDirectionRightToLeft = function () {\n return this.isDirectionRightToLeft;\n };\n DirectionHolder.prototype.setIsDirectionRightToLeft = function (value) {\n this.phase = this.phase === 'NotInitialized' ? 'Initialized' : 'NewValueReceived';\n this.previousIsDirectionRightToLeft = this.isDirectionRightToLeft;\n this.isDirectionRightToLeft = value;\n };\n DirectionHolder.prototype.hasDirectionChanged = function () {\n return this.phase === 'NewValueReceived' ?\n this.previousIsDirectionRightToLeft !== this.isDirectionRightToLeft : false;\n };\n return DirectionHolder;\n}());\nexport { DirectionHolder };\n","var _a;\n/**\n * @hidden\n */\nexport var splitBarLabel = 'splitBarLabel';\n/**\n * @hidden\n */\nexport var messages = (_a = {},\n _a[splitBarLabel] = 'split bar',\n _a);\n","export var avatarType;\n(function (avatarType) {\n avatarType[\"TEXT\"] = \"text\";\n avatarType[\"IMAGE\"] = \"image\";\n avatarType[\"ICON\"] = \"icon\";\n})(avatarType || (avatarType = {}));\nexport var cardOrientation;\n(function (cardOrientation) {\n cardOrientation[\"HORIZONTAL\"] = \"horizontal\";\n cardOrientation[\"VERTICAL\"] = \"vertical\";\n})(cardOrientation || (cardOrientation = {}));\nexport var cardType;\n(function (cardType) {\n cardType[\"DEFAULT\"] = \"default\";\n cardType[\"primary\"] = \"primary\";\n cardType[\"INFO\"] = \"info\";\n cardType[\"SUCCESS\"] = \"success\";\n cardType[\"WARNING\"] = \"warning\";\n cardType[\"ERROR\"] = \"error\";\n})(cardType || (cardType = {}));\nexport var cardActionsLayout;\n(function (cardActionsLayout) {\n cardActionsLayout[\"START\"] = \"start\";\n cardActionsLayout[\"CENTER\"] = \"center\";\n cardActionsLayout[\"END\"] = \"end\";\n cardActionsLayout[\"STRETCHED\"] = \"stretched\";\n})(cardActionsLayout || (cardActionsLayout = {}));\n","/**\n * @hidden\n */\nvar MouseOverHandler = /** @class */ (function () {\n function MouseOverHandler(openOnClick, resetMenu, openItem) {\n this.openOnClick = openOnClick;\n this.resetMenu = resetMenu;\n this.openItem = openItem;\n this.mouseDown = false;\n this.openOnClick = openOnClick;\n this.isMouseOverEnabled = openOnClick ? false : true;\n }\n Object.defineProperty(MouseOverHandler.prototype, \"OpenOnClick\", {\n set: function (value) {\n if (Boolean(value) !== Boolean(this.openOnClick)) {\n this.mouseDown = false;\n this.isMouseOverEnabled = value ? false : true;\n }\n this.openOnClick = value;\n },\n enumerable: false,\n configurable: true\n });\n MouseOverHandler.prototype.handleItemSelectedViaKeyboard = function () {\n if (this.openOnClick) {\n this.isMouseOverEnabled = false;\n this.resetMenu();\n }\n };\n Object.defineProperty(MouseOverHandler.prototype, \"IsMouseOverEnabled\", {\n get: function () {\n return this.isMouseOverEnabled;\n },\n enumerable: false,\n configurable: true\n });\n MouseOverHandler.prototype.handleItemMouseDown = function () {\n this.mouseDown = true;\n };\n MouseOverHandler.prototype.handleItemFocus = function () {\n // Keep opening on mouse over upon tabbing\n // and keyboard navigation. However, discard the event\n // upon click because a cycle occurs and the item does not open.\n if (this.openOnClick && !this.mouseDown) {\n this.isMouseOverEnabled = true;\n }\n this.mouseDown = false;\n };\n MouseOverHandler.prototype.handleItemClick = function (itemId, clickedItemIsWithDefaultClose) {\n if (this.openOnClick) {\n if (this.isMouseOverEnabled) {\n if (clickedItemIsWithDefaultClose) {\n this.isMouseOverEnabled = false;\n this.resetMenu();\n }\n }\n else {\n this.isMouseOverEnabled = true;\n this.openItem(itemId);\n }\n }\n };\n return MouseOverHandler;\n}());\nexport { MouseOverHandler };\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 * as PropTypes from 'prop-types';\nimport { classNames, Keys, guid, dispatchEvent } from '@progress/kendo-react-common';\nimport { getDirectParentId, isIdEmptyOrZeroLevel, EMPTY_ID, ZERO_LEVEL_ZERO_ITEM_ID, getRootParentId, getItemById } from '../utils/itemsIdsUtils';\nimport { prepareInputItemsForInternalWork } from '../utils/prepareInputItemsForInternalWork';\nimport { getNewItemIdUponKeyboardNavigation } from '../utils/getNewItemIdUponKeyboardNavigation';\nimport { getHoverOpenDelay, getHoverCloseDelay } from '../utils/hoverDelay';\nimport { MenuItemInternalsList } from './MenuItemInternalsList';\nimport { DirectionHolder } from '../utils/DirectionHolder';\nimport { MouseOverHandler } from '../utils/MouseOverHandler';\nimport { validatePackage } from '@progress/kendo-react-common';\nimport { packageMetadata } from '../../package-metadata';\nvar initialItemsIds = {\n focusedItemId: EMPTY_ID,\n hoveredItemId: EMPTY_ID,\n tabbableItemId: ZERO_LEVEL_ZERO_ITEM_ID\n};\n/**\n * Represents the [KendoReact Menu component]({% slug overview_menu %}).\n *\n * @example\n * ```jsx\n * class App extends React.Component {\n * render() {\n * return (\n *
\n * );\n * }\n * }\n * ReactDOM.render(