Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-react-layout

Package Overview
Dependencies
Maintainers
1
Versions
1238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-react-layout - npm Package Compare versions

Comparing version 2.6.1 to 2.7.0-dev.201901311056

2

dist/systemjs/kendo-react-layout.js

@@ -1,1 +0,1 @@

System.register("@progress/kendo-react-layout",["react","prop-types","@progress/kendo-react-animation","@progress/kendo-react-common","@telerik/kendo-draggable","@progress/kendo-react-popup"],function(v){var n,r,o,i,s,a;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){r=t(e)},function(e){o=t(e)},function(e){i=t(e)},function(e){s=t(e)},function(e){a=t(e)}],execute:function(){!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=15)}([function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t){e.exports=r},function(e,n,t){"use strict";function o(e){return s(e)?e:e.split(n.SEPARATOR)[0]}function i(e){if(s(e))return e;var t=e.indexOf(n.SEPARATOR);return e.substring(t+1)}function r(e,t){return t?t+n.SEPARATOR+e:e}function s(e){return e===n.EMPTY_ID||e.indexOf(n.SEPARATOR)<0}function a(e){return e!==n.EMPTY_ID&&e.indexOf(n.SEPARATOR)<0}function l(e){var t=e.lastIndexOf(n.SEPARATOR);return t<0?e:e.substring(t+1)}Object.defineProperty(n,"__esModule",{value:!0}),n.EMPTY_ID="",n.ZERO_LEVEL_ZERO_ITEM_ID="0",n.SEPARATOR="_",n.getItemById=function e(t,n){if(a(t))return n[Number(t)];var r=n[Number(o(t))];return r.items?e(i(t),r.items):void 0},n.getRootParentId=o,n.getIdWithoutRootParentId=i,n.getFirstChildId=function(e){return r("0",e)},n.shouldOpenItem=function(e,t){return 0===t.indexOf(e)&&(t.length===e.length||t.charAt(e.length)===n.SEPARATOR)},n.createId=r,n.getDirectParentId=function(e){var t=e.lastIndexOf(n.SEPARATOR);return t<0?n.EMPTY_ID:e.substring(0,t)},n.isIdEmptyOrZeroLevel=s,n.isIdZeroLevel=a,n.isIdFirstLevel=function(e){return 1==e.split(n.SEPARATOR).length-1},n.isFirstItemFromSiblings=function(e){return l(e)===n.ZERO_LEVEL_ZERO_ITEM_ID},n.getShortId=l,n.getDirectSiblingIdForLevelZero=function(e,t,n){return a(t)?e?Number(t)<n-1?(Number(t)+1).toString():"0":0<Number(t)?(Number(t)-1).toString():(n-1).toString():t}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var P=n(0),i=n(2),k=n(1),S=n(9),s=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.handleItemClick=function(){var e=o.props,t=e.onSelect,n=e.disabled,r=e.id;t&&!n&&t.call(void 0,{uniquePrivateKey:o.props.uniquePrivateKey,id:r,target:o})},o}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,r=t.children,o=t.title,i=t.uniquePrivateKey,s=t.disabled,a=t.selected,l=t.focused,p=t.expanded,c=t.className,u=t.root,d=t.headerClassName,f=t.animation,h={role:"treeitem","aria-disabled":s,"aria-hidden":!s&&!p,"aria-selected":!s&&a,"aria-expanded":!s&&p&&!!r},m=k.classNames({"k-item":!0,"k-state-default":!s,"k-state-expanded":p&&!!r,"k-state-disabled":s},c),v=k.classNames({"k-link":!0,"k-header":u,"k-state-selected":!s&&a,"k-state-focused":!s&&l},d),y=k.classNames(((e={})["k-icon"]=!0,e["k-i-arrow-n"]=p&&!!r,e["k-panelbar-collapse"]=p&&!!r,e["k-i-arrow-s"]=!p&&!!r,e["k-panelbar-expand"]=!p&&!!r,e)),g=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass;if(t)return P.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var o=k.classNames("k-icon","k-i-"+n);return P.createElement("span",{role:"presentation",className:o})}return r?P.createElement("span",{role:"presentation",className:r}):null}(this.props),b=!s&&r?P.createElement("span",{className:y}):null,I=!s&&p?P.createElement("div",{role:"group",className:"k-panel k-group"},r):null,_=void 0!==f&&!f||s||!r?I:P.createElement(S.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:i+"_animation",style:{display:"block"},children:I});return P.createElement("div",O({id:n,className:m},h),P.createElement("span",{className:v,onClick:this.handleItemClick},g,o,b),_)},t.propTypes={animation:i.bool,children:i.any,className:i.string,expanded:i.bool,disabled:i.bool,onSelect:i.func,selected:i.bool,root:i.bool,title:i.oneOfType([i.string,i.element]),id:i.oneOfType([i.string,i.number]),focused:i.bool},t.defaultProps={title:"Untitled"},t}(P.PureComponent);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(27),r=n(3);function i(e,t,n){return r.isIdZeroLevel(e)?t?n?"leftward":"rightward":"downward":n?"leftward":"rightward"}t.getPopupSettings=function(e,t,n){var r=i(e,t,n);return n?"downward"===r?o.POPUP_SETTINGS_RTL.downward:o.POPUP_SETTINGS_RTL.leftward:"downward"===r?o.POPUP_SETTINGS.downward:o.POPUP_SETTINGS.rightward},t.getChildrenPosition=i,t.convertBoolDirectionToString=function(e){return e?"rtl":"ltr"},t.getDOMElementId=function(e,t){return e+"_"+t}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var u=n(0),i=n(2),d=n(7),f=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.selected,o=n.children,i=n.onSelect,s=n.onKeyDown,a=u.Children.count(o),l=u.Children.toArray(o);o&&(e=(t=a,Array.apply(null,Array(t))).map(function(e,t,n){return{first:0===t,last:t===n.length-1}}).map(function(e,t){var n={active:r===t,disabled:l[t].props.disabled,index:t,title:l[t].props.title,onSelect:i};return u.createElement(d.default,c({key:t},n))}));var p=f.classNames("k-tabstrip-items","k-reset");return u.createElement("ul",{className:p,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:s},e)},t.propTypes={children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,onKeyDown:i.func,selected:i.number,tabIndex:i.number},t}(u.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var p=n(0),i=n(2),c=n(1),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onClick=function(){e.props.onSelect&&e.props.onSelect(e.props.index)},e}return o(e,t),e.prototype.render=function(){var e,t=this.props,n=t.active,r=t.disabled,o=t.title,i=void 0===o?"Untitled":o,s={"aria-selected":n,role:"tab",onClick:r?void 0:this.onClick},a=c.classNames(((e={})["k-item"]=!0,e["k-state-default"]=!(r||n),e["k-state-disabled"]=r,e["k-state-active"]=n,e["k-tab-on-top"]=n,e));return p.createElement("li",l({},s,{className:a}),p.createElement("span",{className:"k-link"},i))},e.propTypes={active:i.bool,disabled:i.bool,index:i.number,onSelect:i.func,title:i.oneOfType([i.string,i.element])},e}(p.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),a=n(2),l=n(9),p=n(1),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.contentId=p.guid(),t.childFactory=function(e){return s.cloneElement(e,i({},e.props,{in:e.props.children.props.id===String(t.contentId+t.props.selected)}))},t}return o(t,e),t.prototype.render=function(){var e=p.classNames("k-content","k-state-active");return s.createElement("div",{className:e,style:this.props.style},this.renderContent(this.props.children))},t.prototype.renderContent=function(e){var n=this;return this.props.keepTabsMounted?s.Children.map(this.props.children,function(e,t){return n.renderChild(e,t)}):this.renderChild(s.Children.toArray(e)[this.props.selected],this.props.selected)},t.prototype.renderChild=function(e,t){var n=t===this.props.selected,r={role:"tabpanel","aria-expanded":!0,style:{display:n?void 0:"none"}},o={position:"initial",display:n?void 0:"none"};return e.props.disabled?null:this.props.animation?s.createElement(l.Fade,{appear:!0,exit:this.props.keepTabsMounted,style:o,childFactory:this.props.keepTabsMounted?this.childFactory:void 0},s.createElement("div",i({},r,{id:String(this.contentId+t),key:t}),e.props.children)):s.createElement("div",i({},r,{key:t}),e.props.children)},t.propTypes={animation:a.bool,children:a.oneOfType([a.element,a.arrayOf(a.element)]),selected:a.number,style:a.object},t}(s.Component);t.default=c},function(e,t){e.exports=o},function(e,c,t){"use strict";var u=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(c,"__esModule",{value:!0});var d=t(0),f=t(4),r=function(e){return e.map(function(e,t){var n;return e.content&&(n=e.content),e.children&&(n=r(e.children)),d.createElement(f.default,u({},e,{children:n,key:e.id||t}))})};c.renderChildren=function(o,i,s,e,a,l,p){return void 0===o&&(o=!0),void 0===a&&(a=!0),void 0===l&&(l=!0),void 0===p&&(p=[]),d.Children.map(e,function(e,t){if(e.type!==f.default)return d.createElement("div",{className:"k-content"},e);var n=void 0,r=p.length?p[p.length-1]+"."+t:"."+t;return e.props.children&&(n=c.renderChildren(o,i,s,e.props.children,-1<(i.expanded||[]).indexOf(r)&&a,!1,p.concat([r]))),d.cloneElement(e,u({},e.props,{animation:void 0!==e.props.animation?e.props.animation:o,id:e.props.id||"k-panelbar-item-default-"+r,uniquePrivateKey:r,parentUniquePrivateKey:p,parentExpanded:a,root:l,expanded:-1<(i.expanded||[]).indexOf(r)&&a,focused:i.focused===r&&i.wrapperFocused,selected:i.selected===r,children:n,onSelect:s}))})},c.getInitialState=function(e,r,o,t,i,s){return void 0===o&&(o={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===s&&(s=[]),d.Children.map(e.children,function(e,t){if(e.type===f.default){var n=s.length?s[s.length-1]+"."+t:"."+t;!e.props.disabled&&i&&(e.props.selected&&(o.selected=n),e.props.focused&&(o.focused=n),e.props.expanded&&("multiple"===r?o.expanded.push(n):"single"===r&&(o.expanded=[n])),e.props.children&&(o=c.getInitialState(e.props,r,o,!1,!!e.props.expanded,s.concat([n]))))}}),o},c.flatVisibleItems=function t(e,n,r){return void 0===n&&(n=[]),void 0===r&&(r=null),(e||[]).forEach(function(e){e.disabled||(n.push(e),e.expanded&&e.children&&t(e.children,n))}),n},c.isPresent=function(e){return null!=e};var n={mapItemsToComponents:r};c.default=n},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return null},t.propTypes={text:s.string,url:s.string,icon:s.string,disabled:s.bool,cssClass:s.string,cssStyle:s.object,render:s.any,linkRender:s.any,contentRender:s.any,data:s.any},t}(i.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(25),a=n(5),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseOver=function(e){t.props.onMouseOver(t.props.parentItemId),e.stopPropagation()},t.onMouseLeave=function(e){t.props.onMouseLeave(t.props.parentItemId),e.stopPropagation()},t}return o(t,e),t.prototype.render=function(){var e=this.props.parentItemId;return i.createElement("ul",{className:this.props.className,role:void 0!==e?"menu":"menubar",id:void 0!==e?a.getDOMElementId(this.props.menuGuid,e):void 0,onMouseOver:void 0!==e?this.onMouseOver:void 0,onMouseLeave:void 0!==e?this.onMouseLeave:void 0,"aria-orientation":this.props["aria-orientation"]},this.renderChildItems())},t.prototype.renderChildItems=function(){var n=this;return 0<this.props.items.length?this.props.items.map(function(e,t){return i.createElement(s.default,{item:e,isMenuVertical:n.props.isMenuVertical,isDirectionRightToLeft:n.props.isDirectionRightToLeft,focusedItemId:n.props.focusedItemId,lastItemIdToBeOpened:n.props.lastItemIdToBeOpened,tabbableItemId:n.props.tabbableItemId,itemRender:n.props.itemRender,linkRender:n.props.linkRender,menuGuid:n.props.menuGuid,onMouseOver:n.props.onMouseOver,onMouseLeave:n.props.onMouseLeave,onMouseDown:n.props.onMouseDown,onBlur:n.props.onBlur,onFocus:n.props.onFocus,onClick:n.props.onClick,onOriginalItemNeeded:n.props.onOriginalItemNeeded,key:t})}):null},t}(i.Component);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return this.props.url?i.createElement("a",{className:this.getMenuItemClassName(),role:"presentation",href:this.props.url,tabIndex:-1},this.props.children):i.createElement("span",{className:this.getMenuItemClassName(),role:"presentation"},this.props.children)},t.prototype.getMenuItemClassName=function(){return a.classNames("k-link","k-menu-link",{"k-state-active":this.props.opened})},t.propTypes={opened:s.bool,url:s.string},t}(i.Component);t.default=l},function(e,n,t){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var i=t(0),s=t(2),a=t(1),l=t(5);n.downArrowClass="k-i-arrow-60-down",n.rightArrowClass="k-i-arrow-60-right",n.leftArrowClass="k-i-arrow-60-left";var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return i.createElement("span",{className:this.getArrowClassName(),role:"presentation"})},t.prototype.getArrowClassName=function(){var e,t=l.getChildrenPosition(this.props.itemId,!0===this.props.verticalMenu,"rtl"===this.props.dir);return a.classNames("k-icon","k-menu-expand-arrow",((e={})[n.downArrowClass]="downward"===t,e[n.rightArrowClass]="rightward"===t,e[n.leftArrowClass]="leftward"===t,e))},t.propTypes={itemId:s.string,dir:s.string,verticalMenu:s.bool},t}(i.Component);n.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16);t.TabStrip=r.default;var o=n(8);t.TabStripContent=o.default;var i=n(6);t.TabStripNavigation=i.default;var s=n(7);t.TabStripNavigationItem=s.default;var a=n(17);t.TabStripTab=a.default;var l=n(18);t.PanelBar=l.default;var p=n(4);t.PanelBarItem=p.default;var c=n(10);t.PanelBarUtils=c.default;var u=n(21);t.Menu=u.default;var d=n(13);t.MenuItemLink=d.default;var f=n(11);t.MenuItem=f.default;var h=n(14);t.MenuItemArrow=h.default;var m=n(30);t.Splitter=m.Splitter,function(e){for(var t in e)v(t,e[t])}(t)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var p=n(0),i=n(2),c=n(6),a=n(8),u=n(1),s=function(t){function e(){var e,s=null!==t&&t.apply(this,arguments)||this;return s._element=null,s.keyBinding=((e={})[u.Keys.left]=function(){return s.prevNavigatableTab()},e[u.Keys.right]=function(){return s.nextNavigatableTab()},e[u.Keys.down]=function(){return s.nextNavigatableTab()},e[u.Keys.up]=function(){return s.prevNavigatableTab()},e[u.Keys.home]=function(){return 0},e[u.Keys.end]=function(){return p.Children.count(s.props.children)-1},e),s.onSelect=function(e){s.props.selected!==e&&s.props.onSelect&&s.props.onSelect({selected:e})},s.onKeyDown=function(e){var t;switch(e.keyCode){case u.Keys.left:t=s.keyBinding[s.invertKeys(u.Keys.left,u.Keys.right)];break;case u.Keys.right:t=s.keyBinding[s.invertKeys(u.Keys.right,u.Keys.left)];break;case u.Keys.up:t=s.keyBinding[u.Keys.up];break;case u.Keys.down:t=s.keyBinding[u.Keys.down]}t&&(e.preventDefault(),s.onSelect(t()))},s.renderContent=function(e){var t=s.props,n=t.selected,r=t.children,o=t.tabContentStyle;return n<p.Children.count(r)&&-1<n?p.createElement(a.default,l({index:n},e,{style:o})):null},s.firstNavigatableTab=function(){var e=s.props.children,t=p.Children.count(e);if(e)for(var n=0;n<t;n++)if(!e[n].props.disabled)return n},s.lastNavigatableTab=function(){var e=s.props.children,t=p.Children.count(e);if(e)for(var n=t-1;0<n;n--)if(!e[n].props.disabled)return n},s.prevNavigatableTab=function(){var e=s.props,t=e.children,n=e.selected,r=n?n-1:-1;if(r<0)return s.lastNavigatableTab();if(t)for(var o=r;-1<o;o--){if(!t[o].props.disabled)return o;if(0===o)return s.lastNavigatableTab()}},s.nextNavigatableTab=function(){var e=s.props,t=e.children,n=e.selected,r=n?n+1:1,o=p.Children.count(t);if(o<=r)return s.firstNavigatableTab();if(t)for(var i=r;i<o;i++){if(!t[i].props.disabled)return i;if(i+1===o)return s.firstNavigatableTab()}},s}return o(e,t),e.prototype.render=function(){var e,t=this,n=l({},this.props,{onKeyDown:this.onKeyDown,selected:this.props.selected,onSelect:this.onSelect}),r=n.tabPosition,o=n.tabIndex,i=void 0===o?0:o,s="bottom"===r,a=u.classNames(((e={})["k-widget"]=!0,e["k-header"]=!0,e["k-floatwrap"]=!0,e["k-tabstrip"]=!0,e["k-tabstrip-left"]="left"===r,e["k-tabstrip-right"]="right"===r,e["k-tabstrip-bottom"]="bottom"===r,e["k-tabstrip-top"]="top"===r,e));return p.createElement("div",{ref:function(e){t._element=e},dir:this.props.dir,className:a,style:this.props.style},!s&&p.createElement(c.default,l({},n,{tabIndex:i})),this.renderContent(n),s&&p.createElement(c.default,l({},n,{tabIndex:i})))},e.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction?t:e},e.propTypes={animation:i.bool,children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,selected:i.number,style:i.object,tabContentStyle:i.object,tabPosition:i.string,tabIndex:i.number,dir:i.string},e.defaultProps={animation:!0,tabPosition:"top",keepTabsMounted:!1},e}(p.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propTypes={disabled:s.bool,children:s.oneOfType([s.element,s.node]),title:s.oneOfType([s.string,s.element,s.node])},t}(i.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),a=n(2),l=n(4),p=n(10),c=n(19),u=n(20),d=n(1),f=function(t){function e(e){var n=t.call(this,e)||this;return n._element=null,n.handleSelect=function(e){n._selectionService.select(e.uniquePrivateKey,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children))},n.onSelect=function(e,t){n.setState({selected:e.props.uniquePrivateKey,expanded:t},function(){n.props.onSelect&&n.props.onSelect.call(void 0,{target:e,action:"select"})})},n.onFocus=function(e){n.activeDescendant=e.props.id,n.setState({focused:e.props.uniquePrivateKey})},n.onNavigate=function(e){switch(e){case u.NavigationAction.Previous:n._selectionService.focus(n.state.focused,-1,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Toggle:n._selectionService.select(n.state.focused,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded)}},n.handleWrapperFocus=function(e){n.setState({wrapperFocused:"focus"===e.nativeEvent.type})},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;e.target===e.currentTarget&&n._navigationService.navigate(e,t)},n.state=p.getInitialState(e,e.expandMode||"multiple"),n._selectionService=new c.default(n.onSelect,n.onFocus,n.props.expandMode||"multiple"),n._navigationService=new u.default(n.onNavigate),n}return o(e,t),e.prototype.componentWillReceiveProps=function(e){e.expandMode!==this.props.expandMode&&this._selectionService.setExpandMode(e.expandMode),e.selected!==this.state.selected&&void 0!==e.selected&&this.setState({selected:e.selected})},e.prototype.render=function(){var t=this,e={"aria-activedescendant":this.activeDescendant},n=p.renderChildren(this.props.animation,this.state,this.handleSelect,this.props.children),r=d.classNames("k-widget","k-panelbar",this.props.className);return s.createElement("div",i({ref:function(e){t._element=e},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperFocus,className:r},e),n)},e.propTypes={animation:a.bool,children:function(e,t){var n=e[t];if(n)if(Array.isArray(n))for(var r=0,o=n;r<o.length;r++){var i=o[r];if(!i.type||i.type!==l.default)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==l.default)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.")},dir:a.string,selected:a.string,expanded:a.arrayOf(a.string),focused:a.string,expandMode:a.oneOf(["single","multiple"]),className:a.string,onSelect:a.func},e.defaultProps={expandMode:"multiple",animation:!0},e}(s.Component);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),r=function(){function e(e,t,n){var r=this;this.flatChildren=function(e,t){return void 0===t&&(t=[]),a.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(t.push(e),e.props.children&&r.flatChildren(e.props.children,t))}),t},this.flatVisibleChildren=function(e,t){return void 0===t&&(t=[]),a.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&r.flatVisibleChildren(e.props.children,t))}),t},this.onSelect=e,this.onFocus=t,this.expandMode=n}return e.prototype.select=function(t,e,n){var r,o;switch(this.flatChildren(a.Children.toArray(e)).forEach(function(e){e.props.uniquePrivateKey===t&&(r=e)}),this.expandMode){case"single":o=r.props.parentUniquePrivateKey.concat([r.props.uniquePrivateKey]);break;case"multiple":var i=(o=n.slice()).indexOf(r.props.uniquePrivateKey);-1===i?o.push(r.props.uniquePrivateKey):o.splice(i,1);break;default:o=n.slice()}this.onSelect(r,o)},e.prototype.focus=function(r,o,e){var i,s=this.flatVisibleChildren(a.Children.toArray(e));s.forEach(function(e,t){if(e.props.uniquePrivateKey===r){var n=t+o<0?0:t+o>=s.length?s.length-1:t+o;i=s[n]}}),this.onFocus(i)},e.prototype.setExpandMode=function(e){this.expandMode=e},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=n(1);(o=r=t.NavigationAction||(t.NavigationAction={}))[o.Toggle=0]="Toggle",o[o.Next=1]="Next",o[o.Previous=2]="Previous";var s=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n;switch(e.keyCode){case i.Keys.left:n=t?r.Next:r.Previous;break;case i.Keys.up:n=r.Previous;break;case i.Keys.right:n=t?r.Previous:r.Next;break;case i.Keys.down:n=r.Next;break;case i.Keys.space:case i.Keys.enter:n=r.Toggle;break;default:n=null}null!==n&&(e.preventDefault(),this.onNavigate(n))},e}();t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=n(1),l=n(3),p=n(22),c=n(23),u=n(24),d=n(12),f=n(28),h=n(29),m={focusedItemId:l.EMPTY_ID,hoveredItemId:l.EMPTY_ID,tabbableItemId:l.ZERO_LEVEL_ZERO_ITEM_ID},v=function(t){function e(e){var r=t.call(this,e)||this;return r.guid=a.guid(),r.directionHolder=new f.default,r.reset=function(){r.clearItemHoverAndLeaveRequestsIfApplicable(),r.setState(m)},r.onKeyDown=function(e){if(r.state.focusedItemId!==l.EMPTY_ID){var t=l.getItemById(r.state.focusedItemId,r.items),n=c.default(r.items,t.id,e.keyCode,e.key,r.props.vertical,r.directionHolder.getIsDirectionRightToLeft());t.id!==n&&r.setFocusedItemId(n),e.keyCode!==a.Keys.enter&&e.keyCode!==a.Keys.space||t.disabled||(r.mouseOverHandler.handleItemSelectedViaKeyboard(),r.dispatchSelectEventIfWired(e,t.id),!e.isDefaultPrevented()&&0===t.items.length&&t.url&&window.location.assign(t.url))}},r.onItemMouseOver=function(e){r.mouseOverHandler.IsMouseOverEnabled&&(r.clearItemHoverAndLeaveRequestsIfApplicable(),r.itemHoverRequest=setTimeout(function(){r.setHoveredItemId(e),r.itemHoverRequest=null},u.getHoverOpenDelay(r.props)))},r.onItemMouseLeave=function(e){r.mouseOverHandler.IsMouseOverEnabled&&r.isItemWithDefaultClose(e)&&(r.clearItemHoverAndLeaveRequestsIfApplicable(),r.itemLeaveRequest=setTimeout(function(){r.setHoveredItemId(l.EMPTY_ID),r.itemLeaveRequest=null},u.getHoverCloseDelay(r.props)))},r.onItemMouseDown=function(){r.mouseOverHandler.handleItemMouseDown()},r.onItemFocus=function(e){r.setFocusedItemId(e),r.mouseOverHandler.handleItemFocus()},r.onItemClick=function(e,t){var n=l.getItemById(t,r.items);n.disabled||(r.setFocusedItemId(t),r.mouseOverHandler.handleItemClick(t,r.isItemWithDefaultClose(t)),r.dispatchSelectEventIfWired(e,t),!e.isDefaultPrevented()&&n.url&&window.location.assign(n.url))},r.onItemBlur=function(e){r.isItemWithDefaultClose(e)&&r.setFocusedItemId(l.EMPTY_ID)},r.getInputItem=function(e){return l.getItemById(e,r.inputItems)},r.mouseOverHandler=new h.default(r.props.openOnClick,r.reset,r.onItemMouseOver),r.state=Object.assign({},m,{isFirstRender:!0}),r}return o(e,t),e.prototype.render=function(){var t=this;this.prepareItems(),this.state.isFirstRender||this.directionHolder.setIsDirectionRightToLeft(this.checkIsDirectionRightToLeft());var e=this.state.hoveredItemId?this.state.hoveredItemId:this.state.focusedItemId?l.getDirectParentId(this.state.focusedItemId):l.EMPTY_ID;return i.createElement("div",{onKeyDown:this.onKeyDown,style:this.props.style,className:this.getMenuWrapperClassName(),ref:function(e){return t.menuWrapperEl=e}},i.createElement(d.default,{className:this.getMenuClassName(),"aria-orientation":this.props.vertical?"vertical":void 0,items:this.items,isMenuVertical:this.props.vertical,isDirectionRightToLeft:this.directionHolder.getIsDirectionRightToLeft(),focusedItemId:this.state.focusedItemId,lastItemIdToBeOpened:e,tabbableItemId:this.state.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,menuGuid:this.guid,onMouseLeave:this.onItemMouseLeave,onMouseOver:this.onItemMouseOver,onMouseDown:this.onItemMouseDown,onFocus:this.onItemFocus,onClick:this.onItemClick,onBlur:this.onItemBlur,onOriginalItemNeeded:this.getInputItem}))},e.prototype.componentDidMount=function(){this.setState({isFirstRender:!1})},e.prototype.componentDidUpdate=function(e){(Boolean(e.vertical)!==Boolean(this.props.vertical)||this.directionHolder.hasDirectionChanged())&&this.reset(),this.mouseOverHandler.OpenOnClick=this.props.openOnClick},e.prototype.componentWillUnmount=function(){this.clearItemHoverAndLeaveRequestsIfApplicable()},e.prototype.setFocusedItemId=function(n){this.setState(function(e){var t=n===l.EMPTY_ID?e.tabbableItemId:l.getRootParentId(n);return{hoveredItemId:n===l.EMPTY_ID||l.isIdEmptyOrZeroLevel(e.hoveredItemId)&&l.isIdEmptyOrZeroLevel(n)?e.hoveredItemId:l.EMPTY_ID,focusedItemId:n,tabbableItemId:t}})},e.prototype.setHoveredItemId=function(t){this.setState(function(e){return l.isIdEmptyOrZeroLevel(t)&&l.isIdEmptyOrZeroLevel(e.focusedItemId)?{hoveredItemId:t,focusedItemId:e.focusedItemId,tabbableItemId:e.tabbableItemId}:{hoveredItemId:t,focusedItemId:l.EMPTY_ID,tabbableItemId:l.ZERO_LEVEL_ZERO_ITEM_ID}})},e.prototype.getMenuWrapperClassName=function(){return a.classNames({"k-rtl":this.directionHolder.getIsDirectionRightToLeft()})},e.prototype.getMenuClassName=function(){return a.classNames("k-widget","k-reset","k-header","k-menu",{"k-menu-horizontal":!this.props.vertical},{"k-menu-vertical":this.props.vertical})},e.prototype.clearItemHoverAndLeaveRequestsIfApplicable=function(){this.itemHoverRequest&&(clearTimeout(this.itemHoverRequest),this.itemHoverRequest=null),this.itemLeaveRequest&&(clearTimeout(this.itemLeaveRequest),this.itemLeaveRequest=null)},e.prototype.isItemWithDefaultClose=function(e){return!this.props.customCloseItemIds||-1===this.props.customCloseItemIds.indexOf(e)},e.prototype.checkIsDirectionRightToLeft=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:this.menuWrapperEl&&"rtl"===getComputedStyle(this.menuWrapperEl).direction},e.prototype.prepareItems=function(){var e=p.default(this.props.items,this.props.children),t=e.items,n=e.inputItems;this.items=t,this.inputItems=n},e.prototype.dispatchSelectEventIfWired=function(e,t){a.dispatchEvent(this.props.onSelect,e,this,{item:this.getInputItem(t),itemId:t})},e.propTypes={vertical:s.bool,items:s.arrayOf(s.object),style:s.object,dir:s.string,hoverOpenDelay:s.number,hoverCloseDelay:s.number,openOnClick:s.bool,itemRender:s.any,linkRender:s.any,customCloseItemIds:s.arrayOf(s.string),onSelect:s.func},e.defaultProps={vertical:!1},e}(i.Component);t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),l=n(3),o=n(11);function p(e,t){var n={},r=e||t.props,o=r.text,i=r.url,s=r.icon,a=r.disabled,l=r.cssClass,p=r.cssStyle,c=r.render,u=r.linkRender,d=r.contentRender,f=r.data;return void 0!==o&&(n.text=o),void 0!==i&&(n.url=i),void 0!==s&&(n.icon=s),void 0!==a&&(n.disabled=a),void 0!==l&&(n.cssClass=l),void 0!==p&&(n.cssStyle=p),void 0!==c&&(n.render=c),void 0!==u&&(n.linkRender=u),void 0!==d&&(n.contentRender=d),void 0!==f&&(n.data=f),n}function a(e){return r.Children.toArray(e).filter(function(e){return e&&e.type===o.default})}function c(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=p(o);i.id=l.createId(r.toString(),t),i.isLastFromSiblings=r===e.length-1,i.items=(a=i,(s=o).contentRender?[{contentParentItemId:a.id,id:l.createId(l.ZERO_LEVEL_ZERO_ITEM_ID,a.id),isLastFromSiblings:!0,contentRender:s.contentRender,items:[]}]:s.items?c(s.items,a.id):[]),n.push(i)}var s,a;return n}t.default=function(e,t){if(e&&0<e.length)return{items:c(e),inputItems:e};if(0<a(t).length){var n=function e(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=p(void 0,o),s=e(a(o.props.children));0<s.length&&(i.items=s),n.push(i)}return n}(a(t));return{items:c(n),inputItems:n}}return{items:[],inputItems:[]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var S=n(1),w=n(3),C=/\S/;t.default=function(i,s,e,t,n,r){var o,a,l,p,c,u=g();switch(e){case S.Keys.left:return n?r?m():f():r?h():d();case S.Keys.right:return n?r?f():m():r?d():h();case S.Keys.up:return n?I():w.isIdZeroLevel(s)?y():I();case S.Keys.down:return n?_():w.isIdZeroLevel(s)?v():_();case S.Keys.enter:case S.Keys.space:return u.disabled?s:b()?w.getFirstChildId(s):w.getRootParentId(s);case S.Keys.home:return O()[0].id;case S.Keys.end:return(o=O())[o.length-1].id;case S.Keys.esc:return w.isIdZeroLevel(s)?s:w.getDirectParentId(s);default:return 1===t.length&&C.test(t)?(a=t.toLowerCase(),l=O(),p=Number(w.getShortId(s)),(c=l.slice(p+1).concat(l.slice(0,p+1)).find(function(e){return(e.text||"").toLowerCase().startsWith(a)}))?c.id:s):s}function d(){return w.isIdZeroLevel(s)?I():w.isIdFirstLevel(s)?v(I(w.getRootParentId(s))):w.getDirectParentId(s)}function f(){return w.isIdZeroLevel(s)?y():w.getDirectParentId(s)}function h(){return w.isIdZeroLevel(s)?_():v(b()?s:_(w.getRootParentId(s)))}function m(){return v(w.isIdZeroLevel(s)||b()?s:_(w.getRootParentId(s)))}function v(e){return P(!0,e)}function y(e){return P(!1,e)}function g(e,t){return void 0===e&&(e=s),void 0===t&&(t=i),w.getItemById(e,t)}function b(e){return 0<g(e).items.length}function I(e){return k(!1,e)}function _(e){return k(!0,e)}function O(){return w.isIdZeroLevel(s)?i:g(w.getDirectParentId(s),i).items}function P(e,t){void 0===t&&(t=s);var n,r=g(t);return b(t)&&!r.disabled?e?w.getFirstChildId(t):(n=g(t).items)[n.length-1].id:t}function k(e,t){if(void 0===t&&(t=s),w.isIdZeroLevel(t))return w.getDirectSiblingIdForLevelZero(e,t,i.length);var n=w.getDirectParentId(t),r=w.getShortId(t),o=g(n).items.length;return w.createId(w.getDirectSiblingIdForLevelZero(e,r,o),n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHoverOpenDelay=function(e){return void 0!==e.hoverOpenDelay?e.hoverOpenDelay:e.openOnClick?0:100},t.getHoverCloseDelay=function(e){return void 0!==e.hoverCloseDelay?e.hoverCloseDelay:100}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(1),a=n(26),l=n(3),p=n(13),c=n(14),u=n(12),d=n(5),f=function(n){function e(e){var t=n.call(this,e)||this;return t.isFirstRender=!0,t.onMouseOver=function(e){t.props.onMouseOver(t.props.item.id),e.stopPropagation()},t.onMouseLeave=function(e){t.props.onMouseLeave(t.props.item.id),e.stopPropagation()},t.state={opened:!1},t}return o(e,n),e.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.props.item.id;e&&e===t&&this.itemElement.focus(),this.isFirstRender=!1},e.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId,n=this.props.item.id;t?e.focusedItemId!==t&&t===n&&this.itemElement.focus():document.activeElement===this.itemElement&&this.itemElement.blur()},e.prototype.render=function(){var t=this,e=this.props.item,n=e.id;return[i.createElement("li",{className:this.getMenuItemClassName(e),style:e.cssStyle,tabIndex:n===this.props.tabbableItemId?0:-1,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseLeave,onMouseDown:function(e){return t.props.onMouseDown(e)},onBlur:function(){return t.props.onBlur(n)},onFocus:function(){return t.props.onFocus(n)},onClick:function(e){return t.props.onClick(e,n)},role:"menuitem","aria-disabled":!!e.disabled||void 0,"aria-haspopup":0<e.items.length||void 0,"aria-expanded":0<e.items.length?this.Opened:void 0,"aria-label":e.text,"aria-owns":this.Opened?d.getDOMElementId(this.props.menuGuid,n):void 0,ref:function(e){return t.itemElement=e},key:"0"},this.contentRender?this.renderContent():this.renderMenuItemLink()),this.renderPopupIfOpened()]},e.prototype.renderContent=function(){var e=this.props.item.contentParentItemId;return i.createElement("div",{className:"k-content",role:"presentation"},i.createElement(this.contentRender,{item:this.props.onOriginalItemNeeded(e),itemId:e}))},e.prototype.renderMenuItemLink=function(){var e=this.props.item;if(this.linkRender)return i.createElement(this.linkRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,opened:this.Opened,dir:d.convertBoolDirectionToString(this.props.isDirectionRightToLeft)});var t=this.itemRender?i.createElement(this.itemRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,key:"1"}):e.text;return i.createElement(p.default,{url:e.url,opened:this.Opened},[this.renderMenuIconIfApplicable(),t,this.renderArrowIfApplicable()])},e.prototype.renderPopupIfOpened=function(){if(this.Opened){var e=this.props.item.id,t=d.getPopupSettings(e,this.props.isMenuVertical,this.props.isDirectionRightToLeft),n=t.anchorAlign,r=t.popupAlign,o=t.collision;return i.createElement(a.Popup,{anchor:this.itemElement,show:!0,popupClass:this.getPopupClassName(),anchorAlign:n,popupAlign:r,collision:o,animate:!1,key:"1"},i.createElement(u.default,{parentItemId:e,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",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}))}return null},e.prototype.renderMenuIconIfApplicable=function(){return this.props.item.icon?i.createElement("span",{className:"k-icon k-i-"+this.props.item.icon,role:"presentation",key:"0"}):null},e.prototype.renderArrowIfApplicable=function(){return 0<this.props.item.items.length?i.createElement(c.default,{itemId:this.props.item.id,verticalMenu:this.props.isMenuVertical,dir:d.convertBoolDirectionToString(this.props.isDirectionRightToLeft),key:"2"}):null},Object.defineProperty(e.prototype,"itemRender",{get:function(){return this.props.item.render||this.props.itemRender},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkRender",{get:function(){return this.props.item.linkRender||this.props.linkRender},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentRender",{get:function(){return this.props.item.contentParentItemId?this.props.item.contentRender:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Opened",{get:function(){var e=this.props;return 0<e.item.items.length&&l.shouldOpenItem(e.item.id,e.lastItemIdToBeOpened)&&!this.isFirstRender},enumerable:!0,configurable:!0}),e.prototype.getPopupClassName=function(){return s.classNames("k-menu-popup",{"k-rtl":this.props.isDirectionRightToLeft})},e.prototype.getMenuItemClassName=function(e){return s.classNames("k-item","k-menu-item",{"k-first":l.isFirstItemFromSiblings(e.id),"k-last":e.isLastFromSiblings,"k-state-disabled":e.disabled},e.cssClass)},e}(i.Component);t.default=f},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={vertical:"top",horizontal:"left"},o={vertical:"top",horizontal:"right"},i={vertical:"flip",horizontal:"fit"},s={vertical:"fit",horizontal:"flip"};t.POPUP_SETTINGS_RTL={downward:{anchorAlign:{vertical:"bottom",horizontal:"right"},popupAlign:o,collision:i},leftward:{anchorAlign:{vertical:"top",horizontal:"left"},popupAlign:o,collision:s}},t.POPUP_SETTINGS={downward:{anchorAlign:{vertical:"bottom",horizontal:"left"},popupAlign:r,collision:i},rightward:{anchorAlign:{vertical:"top",horizontal:"right"},popupAlign:r,collision:s}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.phase="Initialized"}return e.prototype.getIsDirectionRightToLeft=function(){return this.isDirectionRightToLeft},e.prototype.setIsDirectionRightToLeft=function(e){this.phase="NotInitialized"===this.phase?"Initialized":"NewValueReceived",this.previousIsDirectionRightToLeft=this.isDirectionRightToLeft,this.isDirectionRightToLeft=e},e.prototype.hasDirectionChanged=function(){return"NewValueReceived"===this.phase&&this.previousIsDirectionRightToLeft!==this.isDirectionRightToLeft},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,n){this.openOnClick=e,this.resetMenu=t,this.openItem=n,this.openOnClick=e,this.isMouseOverEnabled=!e}return Object.defineProperty(e.prototype,"OpenOnClick",{set:function(e){Boolean(e)!==Boolean(this.openOnClick)&&(this.mouseDown=!1,this.isMouseOverEnabled=!e),this.openOnClick=e},enumerable:!0,configurable:!0}),e.prototype.handleItemSelectedViaKeyboard=function(){this.openOnClick&&(this.isMouseOverEnabled=!1,this.resetMenu())},Object.defineProperty(e.prototype,"IsMouseOverEnabled",{get:function(){return this.isMouseOverEnabled},enumerable:!0,configurable:!0}),e.prototype.handleItemMouseDown=function(){this.mouseDown=!0},e.prototype.handleItemFocus=function(){this.openOnClick&&!this.mouseDown&&(this.isMouseOverEnabled=!0),this.mouseDown=!1},e.prototype.handleItemClick=function(e,t){this.openOnClick&&(this.isMouseOverEnabled?t&&(this.isMouseOverEnabled=!1,this.resetMenu()):(this.isMouseOverEnabled=!0,this.openItem(e)))},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var u=n(0),l=n(31),p=n(32),s=n(1),d={collapsible:!1,collapsed:!1,resizable:!0,scrollable:!0},a=function(t){function e(e){var g=t.call(this,e)||this;return g.validatePanes=function(e){if(!e.filter(function(e){return void 0===e.size}).length)throw new Error("The Splitter should have at least one pane without a set size.")},g.mapPaneOptions=function(e,t){for(var n=g.orientation,r=g.state,o=r.dragIndex,i=r.isDragging,s=[],a=0;a<t.length;a++){var l=!1,p=t[a];u.isValidElement(p)&&(l="Splitter"===p.type.displayName);var c=!1;i&&void 0!==o&&(c=o===a||o+1===a),s.push(b({},d,{orientation:n,containsSplitter:l,overlay:c},(e||[])[a]))}return s},g.mapSplitterPanes=function(s,a){return s.map(function(e,t){var n,r=2*t,o=r+1;if(t+1<s.length){var i=s[t+1];n=u.createElement(p.SplitterBar,{key:o,index:t,orientation:e.orientation,prev:e,next:i,onDrag:g.onBarDragResize,onToggle:g.onBarToggle,onKeyboardResize:g.onBarKeyboardResize})}return[u.createElement(l.SplitterPane,b({key:r},e),a[t]),n]})},g.onBarToggle=function(r){var e=g.panesOptions(g.panesContent).map(function(e,t){var n=g.getPaneProps(e);return t===r?b({},n,{collapsed:!e.collapsed}):b({},n)});g.props.onLayoutChange&&g.props.onLayoutChange(e,!0)},g.onBarDragResize=function(e,t,n,r,o){var i=(new Date).getTime(),s=e.pageX,a=e.pageY,l=g.surroudingPanes(t),p=l.prevElement,c=l.nextElement;if(p&&c)if(r)g.setState({isDragging:!0,dragIndex:n,startTime:i,originalX:s,originalY:a,originalPrevSize:g.elementSize(p),originalNextSize:g.elementSize(c)});else{var u,d=g.state,f=d.originalPrevSize,h=d.originalNextSize,m=d.startTime,v=d.originalX,y=d.originalY;!r&&i-m<150||(u="vertical"===g.orientation?a-y:g.isRtl?v-s:s-v,g.resize(n,n+1,f,h,u,o)),o&&g.resetDragState()}},g.onBarKeyboardResize=function(e,t,n){var r=g.surroudingPanes(e),o=r.prevElement,i=r.nextElement,s=g.elementSize(o),a=g.elementSize(i);g.resize(t,t+1,s,a,n,!0)},g.containerSize=function(){return g._container?g.elementSize(g._container,!0):0},g.panesOptions=function(e){return g.mapPaneOptions(g.panes,e)},g.elementSize=function(e,t){var n=t?"client":"offset";return"vertical"===g.orientation?e[n+"Height"]:e[n+"Width"]},g.clamp=function(e,t,n){return Math.min(t,Math.max(e,n))},g.fixedSize=function(e){return e&&0<e.length},g.state={isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0,panes:e.defaultPanes||[]},g}return o(e,t),Object.defineProperty(e.prototype,"isControlledState",{get:function(){return void 0!==this.props.panes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panes",{get:function(){return void 0!==this.panesDuringOnChange?this.panesDuringOnChange:this.isControlledState?this.props.panes:this.state.panes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.props.orientation||"horizontal"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRtl",{get:function(){return this._container&&"rtl"===getComputedStyle(this._container).direction||!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panesContent",{get:function(){return u.Children.toArray(this.props.children).filter(function(e){return e})},enumerable:!0,configurable:!0}),e.prototype.render=function(){var t=this,e=this.panesContent,n=this.panesOptions(e),r=s.classNames("k-widget","k-splitter","k-splitter-flex","k-splitter-"+this.orientation,this.props.className);return this.validatePanes(n),u.createElement("div",{style:this.props.style,ref:function(e){return t._container=e},className:r},this.mapSplitterPanes(n,e))},e.prototype.surroudingPanes=function(e){return{prevElement:e.previousElementSibling,nextElement:e.nextElementSibling}},e.prototype.isPercent=function(e){return/%$/.test(e)},e.prototype.toPixels=function(e,t){var n=parseInt(e,10);return this.isPercent(e)&&(n=t*n/100),n},e.prototype.resetDragState=function(){this.setState({isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0})},e.prototype.resize=function(r,o,e,t,n,i){var s,a,l=this,p=this.panesOptions(this.panesContent),c=p[r],u=p[o],d=e+t,f=this.containerSize(),h=function(e){return l.toPixels(e,f)},m={index:r,initialSize:e,min:h(c.min)||d-h(u.max)||0,max:h(c.max)||d-h(u.min)||d},v={index:o,initialSize:t,min:h(u.min)||d-h(c.max)||0,max:h(u.max)||d-h(c.min)||d},y=function(e,t){var n=p[e.index],r=l.clamp(e.min,e.max,e.initialSize+t);return l.isPercent(n.size||"")?100*r/f+"%":r+"px"};this.fixedSize(c.size)&&this.fixedSize(u.size)?(s=y(m,n),a=y(v,-n)):u.collapsible||this.fixedSize(u.size)?a=y(v,-n):s=y(m,n);var g=p.map(function(e,t){var n=l.getPaneProps(e);return t===r?b({},n,{size:s}):t===o?b({},n,{size:a}):b({},n)});this.panesDuringOnChange=g,this.isControlledState||this.setState({panes:g}),this.props.onLayoutChange&&this.props.onLayoutChange(g,i),this.panesDuringOnChange=void 0},e.prototype.getPaneProps=function(e){return e.orientation,e.overlay,e.containsSplitter,i(e,["orientation","overlay","containsSplitter"])},e.displayName="Splitter",e}(u.Component);t.Splitter=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var d=n(0),f=n(1),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.size,r=t.collapsed,o=t.overlay,i=t.containsSplitter,s=t.collapsible,a=t.resizable,l=t.scrollable,p=n&&0<n.length,c={flexBasis:n},u=f.classNames("k-pane",((e={})["k-state-hidden"]=r,e.hidden=r,e["k-pane-flex"]=i,e["k-pane-static"]=!a&&!s||p,e["k-scrollable"]=l,e));return d.createElement("div",{style:c,className:u},r?void 0:this.props.children,o?d.createElement("div",{className:"k-splitter-overlay k-overlay"}):void 0)},t}(d.Component);t.SplitterPane=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var l=n(0),i=n(33),a=n(1),p=n(1),s=function(t){function e(e){var s=t.call(this,e)||this;return s.element=null,s.draggable=new i.default({press:function(e){s.onDrag(e,!0,!1)},drag:function(e){s.onDrag(e,!1,!1)},release:function(e){s.onDrag(e,!1,!0)}}),s.onDrag=function(e,t,n){var r=s.props,o=r.onDrag,i=r.index;!n&&e&&e.originalEvent.preventDefault(),s.element&&!s.isStatic&&s.isDraggable&&o(e,s.element,i,t,n)},s.onFocus=function(){s.setState({focused:!0})},s.onBlur=function(){s.setState({focused:!1})},s.onToggle=function(){var e=s.props,t=e.onToggle,n=e.index,r=e.prev,o=e.next;(r.collapsible||o.collapsible)&&t(r.collapsible?n:n+1)},s.onPrevToggle=function(){var e=s.props,t=e.onToggle,n=e.index;e.prev.collapsible&&t(n)},s.onNextToggle=function(){var e=s.props,t=e.onToggle,n=e.index;e.next.collapsible&&t(n+1)},s.onKeyDown=function(r){var e=r&&r.keyCode,t=s.isHorizontal,n=s.props.index,o=s.element,i=function(e,t,n){r.preventDefault(),s.props.onKeyboardResize(e,t,n)};o&&(e===a.Keys.enter?(r.preventDefault(),s.onToggle()):s.isDraggable&&(t&&e===a.Keys.left?i(o,n,-10):t&&e===a.Keys.right?i(o,n,10):t||e!==a.Keys.up?t||e!==a.Keys.down||i(o,n,10):i(o,n,-10)))},s.previousArrowClass=function(e){var t,n=s.props.prev,r=n.collapsible,o=n.collapsed;return p.classNames("k-icon",((t={})["k-hidden"]=!r,t["k-collapse-prev"]=r,t["k-i-arrow-60-left"]=r&&e&&!o,t["k-i-arrow-60-right"]=r&&e&&o,t["k-i-arrow-60-up"]=r&&!e&&!o,t["k-i-arrow-60-down"]=r&&!e&&o,t))},s.nextArrowClass=function(e){var t,n=s.props.next,r=n.collapsible,o=n.collapsed;return p.classNames("k-icon",((t={})["k-hidden"]=!r,t["k-collapse-next"]=r,t["k-i-arrow-60-right"]=r&&e&&!o,t["k-i-arrow-60-left"]=r&&e&&o,t["k-i-arrow-60-down"]=r&&!e&&!o,t["k-i-arrow-60-up"]=r&&!e&&o,t))},s.state={focused:!1},s}return o(e,t),Object.defineProperty(e.prototype,"isStatic",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsible||n.collapsible;return!r&&!o},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDraggable",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsed||n.collapsed;return!!r&&!o},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHorizontal",{get:function(){return"horizontal"===this.props.orientation},enumerable:!0,configurable:!0}),e.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},e.prototype.componentWillUnmount=function(){this.draggable.destroy()},e.prototype.render=function(){var e,t=this,n=this.isDraggable,r=this.isStatic,o=this.isHorizontal,i=p.classNames("k-splitbar",((e={})["k-state-focused"]=this.state.focused,e["k-splitbar-horizontal"]=o,e["k-splitbar-vertical"]=!o,e["k-splitbar-draggable-horizontal"]=o&&n,e["k-splitbar-draggable-vertical"]=!o&&n,e["k-splitbar-static-horizontal"]=o&&r,e["k-splitbar-static-vertical"]=!o&&r,e)),s=this.previousArrowClass(o),a=this.nextArrowClass(o);return l.createElement("div",{tabIndex:r?-1:0,role:"separator",className:i,onFocus:this.onFocus,onBlur:this.onBlur,onDoubleClick:this.onToggle,onKeyDown:this.onKeyDown,ref:function(e){t.element=e}},l.createElement("div",{className:s,onClick:this.onPrevToggle}),l.createElement("div",{className:"k-resize-handle"}),l.createElement("div",{className:a,onClick:this.onNextToggle}))},e}(l.Component);t.SplitterBar=s},function(e,t){e.exports=s}])}}});
System.register("@progress/kendo-react-layout",["@progress/kendo-react-common","prop-types","react","@progress/kendo-react-animation","@telerik/kendo-draggable","@progress/kendo-react-popup"],function(v){var n,r,o,i,s,a;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){r=t(e)},function(e){o=t(e)},function(e){i=t(e)},function(e){s=t(e)},function(e){a=t(e)}],execute:function(){!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=15)}([function(e,t){e.exports=o},function(e,t){e.exports=n},function(e,t){e.exports=r},function(e,n,t){"use strict";function o(e){return s(e)?e:e.split(n.SEPARATOR)[0]}function i(e){if(s(e))return e;var t=e.indexOf(n.SEPARATOR);return e.substring(t+1)}function r(e,t){return t?t+n.SEPARATOR+e:e}function s(e){return e===n.EMPTY_ID||e.indexOf(n.SEPARATOR)<0}function a(e){return e!==n.EMPTY_ID&&e.indexOf(n.SEPARATOR)<0}function l(e){var t=e.lastIndexOf(n.SEPARATOR);return t<0?e:e.substring(t+1)}Object.defineProperty(n,"__esModule",{value:!0}),n.EMPTY_ID="",n.ZERO_LEVEL_ZERO_ITEM_ID="0",n.SEPARATOR="_",n.getItemById=function e(t,n){if(a(t))return n[Number(t)];var r=n[Number(o(t))];return r.items?e(i(t),r.items):void 0},n.getRootParentId=o,n.getIdWithoutRootParentId=i,n.getFirstChildId=function(e){return r("0",e)},n.shouldOpenItem=function(e,t){return 0===t.indexOf(e)&&(t.length===e.length||t.charAt(e.length)===n.SEPARATOR)},n.createId=r,n.getDirectParentId=function(e){var t=e.lastIndexOf(n.SEPARATOR);return t<0?n.EMPTY_ID:e.substring(0,t)},n.isIdEmptyOrZeroLevel=s,n.isIdZeroLevel=a,n.isIdFirstLevel=function(e){return 1==e.split(n.SEPARATOR).length-1},n.isFirstItemFromSiblings=function(e){return l(e)===n.ZERO_LEVEL_ZERO_ITEM_ID},n.getShortId=l,n.getDirectSiblingIdForLevelZero=function(e,t,n){return a(t)?e?Number(t)<n-1?(Number(t)+1).toString():"0":0<Number(t)?(Number(t)-1).toString():(n-1).toString():t}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var P=n(0),i=n(2),k=n(1),S=n(9),s=function(e){function t(){var o=null!==e&&e.apply(this,arguments)||this;return o.handleItemClick=function(){var e=o.props,t=e.onSelect,n=e.disabled,r=e.id;t&&!n&&t.call(void 0,{uniquePrivateKey:o.props.uniquePrivateKey,id:r,target:o})},o}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,r=t.children,o=t.title,i=t.uniquePrivateKey,s=t.disabled,a=t.selected,l=t.focused,p=t.expanded,c=t.className,u=t.root,d=t.headerClassName,f=t.animation,h={role:"treeitem","aria-disabled":s,"aria-hidden":!s&&!p,"aria-selected":!s&&a,"aria-expanded":!s&&p&&!!r},m=k.classNames({"k-item":!0,"k-state-default":!s,"k-state-expanded":p&&!!r,"k-state-disabled":s},c),v=k.classNames({"k-link":!0,"k-header":u,"k-state-selected":!s&&a,"k-state-focused":!s&&l},d),y=k.classNames(((e={})["k-icon"]=!0,e["k-i-arrow-n"]=p&&!!r,e["k-panelbar-collapse"]=p&&!!r,e["k-i-arrow-s"]=!p&&!!r,e["k-panelbar-expand"]=!p&&!!r,e)),g=function(e){var t=e.imageUrl,n=e.icon,r=e.iconClass;if(t)return P.createElement("img",{role:"presentation",className:"k-image",src:t});if(n){var o=k.classNames("k-icon","k-i-"+n);return P.createElement("span",{role:"presentation",className:o})}return r?P.createElement("span",{role:"presentation",className:r}):null}(this.props),b=!s&&r?P.createElement("span",{className:y}):null,I=!s&&p?P.createElement("div",{role:"group",className:"k-panel k-group"},r):null,_=void 0!==f&&!f||s||!r?I:P.createElement(S.Reveal,{transitionEnterDuration:200,transitionExitDuration:200,key:i+"_animation",style:{display:"block"},children:I});return P.createElement("div",O({id:n,className:m},h),P.createElement("span",{className:v,onClick:this.handleItemClick},g,o,b),_)},t.propTypes={animation:i.bool,children:i.any,className:i.string,expanded:i.bool,disabled:i.bool,onSelect:i.func,selected:i.bool,root:i.bool,title:i.oneOfType([i.string,i.element]),id:i.oneOfType([i.string,i.number]),focused:i.bool},t.defaultProps={title:"Untitled"},t}(P.PureComponent);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(27),r=n(3);function i(e,t,n){return r.isIdZeroLevel(e)?t?n?"leftward":"rightward":"downward":n?"leftward":"rightward"}t.getPopupSettings=function(e,t,n){var r=i(e,t,n);return n?"downward"===r?o.POPUP_SETTINGS_RTL.downward:o.POPUP_SETTINGS_RTL.leftward:"downward"===r?o.POPUP_SETTINGS.downward:o.POPUP_SETTINGS.rightward},t.getChildrenPosition=i,t.convertBoolDirectionToString=function(e){return e?"rtl":"ltr"},t.getDOMElementId=function(e,t){return e+"_"+t}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var u=n(0),i=n(2),d=n(7),f=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.selected,o=n.children,i=n.onSelect,s=n.onKeyDown,a=u.Children.count(o),l=u.Children.toArray(o);o&&(e=(t=a,Array.apply(null,Array(t))).map(function(e,t,n){return{first:0===t,last:t===n.length-1}}).map(function(e,t){var n={active:r===t,disabled:l[t].props.disabled,index:t,title:l[t].props.title,onSelect:i};return u.createElement(d.default,c({key:t},n))}));var p=f.classNames("k-tabstrip-items","k-reset");return u.createElement("ul",{className:p,role:"tablist",tabIndex:this.props.tabIndex,onKeyDown:s},e)},t.propTypes={children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,onKeyDown:i.func,selected:i.number,tabIndex:i.number},t}(u.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var p=n(0),i=n(2),c=n(1),s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.onClick=function(){e.props.onSelect&&e.props.onSelect(e.props.index)},e}return o(e,t),e.prototype.render=function(){var e,t=this.props,n=t.active,r=t.disabled,o=t.title,i=void 0===o?"Untitled":o,s={"aria-selected":n,role:"tab",onClick:r?void 0:this.onClick},a=c.classNames(((e={})["k-item"]=!0,e["k-state-default"]=!(r||n),e["k-state-disabled"]=r,e["k-state-active"]=n,e["k-tab-on-top"]=n,e));return p.createElement("li",l({},s,{className:a}),p.createElement("span",{className:"k-link"},i))},e.propTypes={active:i.bool,disabled:i.bool,index:i.number,onSelect:i.func,title:i.oneOfType([i.string,i.element])},e}(p.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),a=n(2),l=n(9),p=n(1),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.contentId=p.guid(),t.childFactory=function(e){return s.cloneElement(e,i({},e.props,{in:e.props.children.props.id===String(t.contentId+t.props.selected)}))},t}return o(t,e),t.prototype.render=function(){var e=p.classNames("k-content","k-state-active");return s.createElement("div",{className:e,style:this.props.style},this.renderContent(this.props.children))},t.prototype.renderContent=function(e){var n=this;return this.props.keepTabsMounted?s.Children.map(this.props.children,function(e,t){return n.renderChild(e,t)}):this.renderChild(s.Children.toArray(e)[this.props.selected],this.props.selected)},t.prototype.renderChild=function(e,t){var n=t===this.props.selected,r={role:"tabpanel","aria-expanded":!0,style:{display:n?void 0:"none"}},o={position:"initial",display:n?void 0:"none"};return e.props.disabled?null:this.props.animation?s.createElement(l.Fade,{appear:!0,exit:this.props.keepTabsMounted,style:o,childFactory:this.props.keepTabsMounted?this.childFactory:void 0},s.createElement("div",i({},r,{id:String(this.contentId+t),key:t}),e.props.children)):s.createElement("div",i({},r,{key:t}),e.props.children)},t.propTypes={animation:a.bool,children:a.oneOfType([a.element,a.arrayOf(a.element)]),selected:a.number,style:a.object},t}(s.Component);t.default=c},function(e,t){e.exports=i},function(e,c,t){"use strict";var u=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(c,"__esModule",{value:!0});var d=t(0),f=t(4),r=function(e){return e.map(function(e,t){var n;return e.content&&(n=e.content),e.children&&(n=r(e.children)),d.createElement(f.default,u({},e,{children:n,key:e.id||t}))})};c.renderChildren=function(o,i,s,e,a,l,p){return void 0===o&&(o=!0),void 0===a&&(a=!0),void 0===l&&(l=!0),void 0===p&&(p=[]),d.Children.map(e,function(e,t){if(e.type!==f.default)return d.createElement("div",{className:"k-content"},e);var n=void 0,r=p.length?p[p.length-1]+"."+t:"."+t;return e.props.children&&(n=c.renderChildren(o,i,s,e.props.children,-1<(i.expanded||[]).indexOf(r)&&a,!1,p.concat([r]))),d.cloneElement(e,u({},e.props,{animation:void 0!==e.props.animation?e.props.animation:o,id:e.props.id||"k-panelbar-item-default-"+r,uniquePrivateKey:r,parentUniquePrivateKey:p,parentExpanded:a,root:l,expanded:-1<(i.expanded||[]).indexOf(r)&&a,focused:i.focused===r&&i.wrapperFocused,selected:i.selected===r,children:n,onSelect:s}))})},c.getInitialState=function(e,r,o,t,i,s){return void 0===o&&(o={expanded:e.expanded||[],selected:e.selected||"",focused:e.focused||".0",wrapperFocused:!1}),void 0===t&&(t=!0),void 0===i&&(i=!0),void 0===s&&(s=[]),d.Children.map(e.children,function(e,t){if(e.type===f.default){var n=s.length?s[s.length-1]+"."+t:"."+t;!e.props.disabled&&i&&(e.props.selected&&(o.selected=n),e.props.focused&&(o.focused=n),e.props.expanded&&("multiple"===r?o.expanded.push(n):"single"===r&&(o.expanded=[n])),e.props.children&&(o=c.getInitialState(e.props,r,o,!1,!!e.props.expanded,s.concat([n]))))}}),o},c.flatVisibleItems=function t(e,n,r){return void 0===n&&(n=[]),void 0===r&&(r=null),(e||[]).forEach(function(e){e.disabled||(n.push(e),e.expanded&&e.children&&t(e.children,n))}),n},c.isPresent=function(e){return null!=e};var n={mapItemsToComponents:r};c.default=n},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return null},t.propTypes={text:s.string,url:s.string,icon:s.string,disabled:s.bool,cssClass:s.string,cssStyle:s.object,render:s.any,linkRender:s.any,contentRender:s.any,data:s.any},t}(i.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(25),a=n(5),l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onMouseOver=function(e){t.props.onMouseOver(t.props.parentItemId),e.stopPropagation()},t.onMouseLeave=function(e){t.props.onMouseLeave(t.props.parentItemId),e.stopPropagation()},t}return o(t,e),t.prototype.render=function(){var e=this.props.parentItemId;return i.createElement("ul",{className:this.props.className,role:void 0!==e?"menu":"menubar",id:void 0!==e?a.getDOMElementId(this.props.menuGuid,e):void 0,onMouseOver:void 0!==e?this.onMouseOver:void 0,onMouseLeave:void 0!==e?this.onMouseLeave:void 0,"aria-orientation":this.props["aria-orientation"]},this.renderChildItems())},t.prototype.renderChildItems=function(){var n=this;return 0<this.props.items.length?this.props.items.map(function(e,t){return i.createElement(s.default,{item:e,isMenuVertical:n.props.isMenuVertical,isDirectionRightToLeft:n.props.isDirectionRightToLeft,focusedItemId:n.props.focusedItemId,lastItemIdToBeOpened:n.props.lastItemIdToBeOpened,tabbableItemId:n.props.tabbableItemId,itemRender:n.props.itemRender,linkRender:n.props.linkRender,menuGuid:n.props.menuGuid,onMouseOver:n.props.onMouseOver,onMouseLeave:n.props.onMouseLeave,onMouseDown:n.props.onMouseDown,onBlur:n.props.onBlur,onFocus:n.props.onFocus,onClick:n.props.onClick,onOriginalItemNeeded:n.props.onOriginalItemNeeded,key:t})}):null},t}(i.Component);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=n(1),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return this.props.url?i.createElement("a",{className:this.getMenuItemClassName(),role:"presentation",href:this.props.url,tabIndex:-1},this.props.children):i.createElement("span",{className:this.getMenuItemClassName(),role:"presentation"},this.props.children)},t.prototype.getMenuItemClassName=function(){return a.classNames("k-link","k-menu-link",{"k-state-active":this.props.opened})},t.propTypes={opened:s.bool,url:s.string},t}(i.Component);t.default=l},function(e,n,t){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(n,"__esModule",{value:!0});var i=t(0),s=t(2),a=t(1),l=t(5);n.downArrowClass="k-i-arrow-60-down",n.rightArrowClass="k-i-arrow-60-right",n.leftArrowClass="k-i-arrow-60-left";var p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){return i.createElement("span",{className:this.getArrowClassName(),role:"presentation"})},t.prototype.getArrowClassName=function(){var e,t=l.getChildrenPosition(this.props.itemId,!0===this.props.verticalMenu,"rtl"===this.props.dir);return a.classNames("k-icon","k-menu-expand-arrow",((e={})[n.downArrowClass]="downward"===t,e[n.rightArrowClass]="rightward"===t,e[n.leftArrowClass]="leftward"===t,e))},t.propTypes={itemId:s.string,dir:s.string,verticalMenu:s.bool},t}(i.Component);n.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16);t.TabStrip=r.default;var o=n(8);t.TabStripContent=o.default;var i=n(6);t.TabStripNavigation=i.default;var s=n(7);t.TabStripNavigationItem=s.default;var a=n(17);t.TabStripTab=a.default;var l=n(18);t.PanelBar=l.default;var p=n(4);t.PanelBarItem=p.default;var c=n(10);t.PanelBarUtils=c.default;var u=n(21);t.Menu=u.default;var d=n(13);t.MenuItemLink=d.default;var f=n(11);t.MenuItem=f.default;var h=n(14);t.MenuItemArrow=h.default;var m=n(30);t.Splitter=m.Splitter,function(e){for(var t in e)v(t,e[t])}(t)},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var p=n(0),i=n(2),c=n(6),a=n(8),u=n(1),s=function(t){function e(){var e,s=null!==t&&t.apply(this,arguments)||this;return s._element=null,s.keyBinding=((e={})[u.Keys.left]=function(){return s.prevNavigatableTab()},e[u.Keys.right]=function(){return s.nextNavigatableTab()},e[u.Keys.down]=function(){return s.nextNavigatableTab()},e[u.Keys.up]=function(){return s.prevNavigatableTab()},e[u.Keys.home]=function(){return 0},e[u.Keys.end]=function(){return p.Children.count(s.props.children)-1},e),s.onSelect=function(e){s.props.selected!==e&&s.props.onSelect&&s.props.onSelect({selected:e})},s.onKeyDown=function(e){var t;switch(e.keyCode){case u.Keys.left:t=s.keyBinding[s.invertKeys(u.Keys.left,u.Keys.right)];break;case u.Keys.right:t=s.keyBinding[s.invertKeys(u.Keys.right,u.Keys.left)];break;case u.Keys.up:t=s.keyBinding[u.Keys.up];break;case u.Keys.down:t=s.keyBinding[u.Keys.down]}t&&(e.preventDefault(),s.onSelect(t()))},s.renderContent=function(e){var t=s.props,n=t.selected,r=t.children,o=t.tabContentStyle;return n<p.Children.count(r)&&-1<n?p.createElement(a.default,l({index:n},e,{style:o})):null},s.firstNavigatableTab=function(){var e=s.props.children,t=p.Children.count(e);if(e)for(var n=0;n<t;n++)if(!e[n].props.disabled)return n},s.lastNavigatableTab=function(){var e=s.props.children,t=p.Children.count(e);if(e)for(var n=t-1;0<n;n--)if(!e[n].props.disabled)return n},s.prevNavigatableTab=function(){var e=s.props,t=e.children,n=e.selected,r=n?n-1:-1;if(r<0)return s.lastNavigatableTab();if(t)for(var o=r;-1<o;o--){if(!t[o].props.disabled)return o;if(0===o)return s.lastNavigatableTab()}},s.nextNavigatableTab=function(){var e=s.props,t=e.children,n=e.selected,r=n?n+1:1,o=p.Children.count(t);if(o<=r)return s.firstNavigatableTab();if(t)for(var i=r;i<o;i++){if(!t[i].props.disabled)return i;if(i+1===o)return s.firstNavigatableTab()}},s}return o(e,t),e.prototype.render=function(){var e,t=this,n=l({},this.props,{onKeyDown:this.onKeyDown,selected:this.props.selected,onSelect:this.onSelect}),r=n.tabPosition,o=n.tabIndex,i=void 0===o?0:o,s="bottom"===r,a=u.classNames(((e={})["k-widget"]=!0,e["k-header"]=!0,e["k-floatwrap"]=!0,e["k-tabstrip"]=!0,e["k-tabstrip-left"]="left"===r,e["k-tabstrip-right"]="right"===r,e["k-tabstrip-bottom"]="bottom"===r,e["k-tabstrip-top"]="top"===r,e));return p.createElement("div",{ref:function(e){t._element=e},dir:this.props.dir,className:a,style:this.props.style},!s&&p.createElement(c.default,l({},n,{tabIndex:i})),this.renderContent(n),s&&p.createElement(c.default,l({},n,{tabIndex:i})))},e.prototype.invertKeys=function(e,t){return this._element&&"rtl"===getComputedStyle(this._element).direction?t:e},e.propTypes={animation:i.bool,children:i.oneOfType([i.element,i.arrayOf(i.element)]),onSelect:i.func,selected:i.number,style:i.object,tabContentStyle:i.object,tabPosition:i.string,tabIndex:i.number,dir:i.string},e.defaultProps={animation:!0,tabPosition:"top",keepTabsMounted:!1},e}(p.Component);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.propTypes={disabled:s.bool,children:s.oneOfType([s.element,s.node]),title:s.oneOfType([s.string,s.element,s.node])},t}(i.Component);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e};Object.defineProperty(t,"__esModule",{value:!0});var s=n(0),a=n(2),l=n(4),p=n(10),c=n(19),u=n(20),d=n(1),f=function(t){function e(e){var n=t.call(this,e)||this;return n._element=null,n.handleSelect=function(e){n._selectionService.select(e.uniquePrivateKey,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded),n._selectionService.focus(e.uniquePrivateKey,0,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children))},n.onSelect=function(e,t){n.setState({selected:e.props.uniquePrivateKey,expanded:t},function(){n.props.onSelect&&n.props.onSelect.call(void 0,{target:e,action:"select"})})},n.onFocus=function(e){n.activeDescendant=e.props.id,n.setState({focused:e.props.uniquePrivateKey})},n.onNavigate=function(e){switch(e){case u.NavigationAction.Previous:n._selectionService.focus(n.state.focused,-1,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Next:n._selectionService.focus(n.state.focused,1,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children));break;case u.NavigationAction.Toggle:n._selectionService.select(n.state.focused,p.renderChildren(n.props.animation,n.state,n.handleSelect,n.props.children),n.state.expanded)}},n.handleWrapperFocus=function(e){n.setState({wrapperFocused:"focus"===e.nativeEvent.type})},n.handleKeyDown=function(e){var t=n._element&&"rtl"===getComputedStyle(n._element).direction||!1;e.target===e.currentTarget&&n._navigationService.navigate(e,t)},n.state=p.getInitialState(e,e.expandMode||"multiple"),n._selectionService=new c.default(n.onSelect,n.onFocus,n.props.expandMode||"multiple"),n._navigationService=new u.default(n.onNavigate),n}return o(e,t),e.prototype.componentWillReceiveProps=function(e){e.expandMode!==this.props.expandMode&&this._selectionService.setExpandMode(e.expandMode),e.selected!==this.state.selected&&void 0!==e.selected&&this.setState({selected:e.selected})},e.prototype.render=function(){var t=this,e={"aria-activedescendant":this.activeDescendant},n=p.renderChildren(this.props.animation,this.state,this.handleSelect,this.props.children),r=d.classNames("k-widget","k-panelbar",this.props.className);return s.createElement("div",i({ref:function(e){t._element=e},dir:this.props.dir,role:"tree",tabIndex:0,onKeyDown:this.handleKeyDown,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperFocus,className:r},e),n)},e.propTypes={animation:a.bool,children:function(e,t){var n=e[t];if(n)if(Array.isArray(n))for(var r=0,o=n;r<o.length;r++){var i=o[r];if(!i.type||i.type!==l.default)return new Error("PanelBar children should be either PanelBarItem or Array of PanelBarItem.")}else if(n.type!==l.default)return new Error("PanelBar child should be either PanelBarItem or Array of PanelBarItem.")},dir:a.string,selected:a.string,expanded:a.arrayOf(a.string),focused:a.string,expandMode:a.oneOf(["single","multiple"]),className:a.string,onSelect:a.func},e.defaultProps={expandMode:"multiple",animation:!0},e}(s.Component);t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n(0),r=function(){function e(e,t,n){var r=this;this.flatChildren=function(e,t){return void 0===t&&(t=[]),a.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(t.push(e),e.props.children&&r.flatChildren(e.props.children,t))}),t},this.flatVisibleChildren=function(e,t){return void 0===t&&(t=[]),a.Children.forEach(e,function(e){e.props&&!e.props.disabled&&(e.props.expanded||e.props.parentExpanded)&&(t.push(e),e.props.children&&r.flatVisibleChildren(e.props.children,t))}),t},this.onSelect=e,this.onFocus=t,this.expandMode=n}return e.prototype.select=function(t,e,n){var r,o;switch(this.flatChildren(a.Children.toArray(e)).forEach(function(e){e.props.uniquePrivateKey===t&&(r=e)}),this.expandMode){case"single":o=r.props.parentUniquePrivateKey.concat([r.props.uniquePrivateKey]);break;case"multiple":var i=(o=n.slice()).indexOf(r.props.uniquePrivateKey);-1===i?o.push(r.props.uniquePrivateKey):o.splice(i,1);break;default:o=n.slice()}this.onSelect(r,o)},e.prototype.focus=function(r,o,e){var i,s=this.flatVisibleChildren(a.Children.toArray(e));s.forEach(function(e,t){if(e.props.uniquePrivateKey===r){var n=t+o<0?0:t+o>=s.length?s.length-1:t+o;i=s[n]}}),this.onFocus(i)},e.prototype.setExpandMode=function(e){this.expandMode=e},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i=n(1);(o=r=t.NavigationAction||(t.NavigationAction={}))[o.Toggle=0]="Toggle",o[o.Next=1]="Next",o[o.Previous=2]="Previous";var s=function(){function e(e){this.onNavigate=e}return e.prototype.navigate=function(e,t){var n;switch(e.keyCode){case i.Keys.left:n=t?r.Next:r.Previous;break;case i.Keys.up:n=r.Previous;break;case i.Keys.right:n=t?r.Previous:r.Next;break;case i.Keys.down:n=r.Next;break;case i.Keys.space:case i.Keys.enter:n=r.Toggle;break;default:n=null}null!==n&&(e.preventDefault(),this.onNavigate(n))},e}();t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(2),a=n(1),l=n(3),p=n(22),c=n(23),u=n(24),d=n(12),f=n(28),h=n(29),m={focusedItemId:l.EMPTY_ID,hoveredItemId:l.EMPTY_ID,tabbableItemId:l.ZERO_LEVEL_ZERO_ITEM_ID},v=function(t){function e(e){var r=t.call(this,e)||this;return r.guid=a.guid(),r.directionHolder=new f.default,r.reset=function(){r.clearItemHoverAndLeaveRequestsIfApplicable(),r.setState(m)},r.onKeyDown=function(e){if(r.state.focusedItemId!==l.EMPTY_ID){var t=l.getItemById(r.state.focusedItemId,r.items),n=c.default(r.items,t.id,e.keyCode,e.key,r.props.vertical,r.directionHolder.getIsDirectionRightToLeft());t.id!==n&&r.setFocusedItemId(n),e.keyCode!==a.Keys.enter&&e.keyCode!==a.Keys.space||t.disabled||(r.mouseOverHandler.handleItemSelectedViaKeyboard(),r.dispatchSelectEventIfWired(e,t.id),!e.isDefaultPrevented()&&0===t.items.length&&t.url&&window.location.assign(t.url))}},r.onItemMouseOver=function(e){r.mouseOverHandler.IsMouseOverEnabled&&(r.clearItemHoverAndLeaveRequestsIfApplicable(),r.itemHoverRequest=setTimeout(function(){r.setHoveredItemId(e),r.itemHoverRequest=null},u.getHoverOpenDelay(r.props)))},r.onItemMouseLeave=function(e){r.mouseOverHandler.IsMouseOverEnabled&&r.isItemWithDefaultClose(e)&&(r.clearItemHoverAndLeaveRequestsIfApplicable(),r.itemLeaveRequest=setTimeout(function(){r.setHoveredItemId(l.EMPTY_ID),r.itemLeaveRequest=null},u.getHoverCloseDelay(r.props)))},r.onItemMouseDown=function(){r.mouseOverHandler.handleItemMouseDown()},r.onItemFocus=function(e){r.setFocusedItemId(e),r.mouseOverHandler.handleItemFocus()},r.onItemClick=function(e,t){var n=l.getItemById(t,r.items);n.disabled||(r.setFocusedItemId(t),r.mouseOverHandler.handleItemClick(t,r.isItemWithDefaultClose(t)),r.dispatchSelectEventIfWired(e,t),!e.isDefaultPrevented()&&n.url&&window.location.assign(n.url))},r.onItemBlur=function(e){r.isItemWithDefaultClose(e)&&r.setFocusedItemId(l.EMPTY_ID)},r.getInputItem=function(e){return l.getItemById(e,r.inputItems)},r.mouseOverHandler=new h.default(r.props.openOnClick,r.reset,r.onItemMouseOver),r.state=Object.assign({},m,{isFirstRender:!0}),r}return o(e,t),e.prototype.render=function(){var t=this;this.prepareItems(),this.state.isFirstRender||this.directionHolder.setIsDirectionRightToLeft(this.checkIsDirectionRightToLeft());var e=this.state.hoveredItemId?this.state.hoveredItemId:this.state.focusedItemId?l.getDirectParentId(this.state.focusedItemId):l.EMPTY_ID;return i.createElement("div",{onKeyDown:this.onKeyDown,style:this.props.style,className:this.getMenuWrapperClassName(),ref:function(e){return t.menuWrapperEl=e}},i.createElement(d.default,{className:this.getMenuClassName(),"aria-orientation":this.props.vertical?"vertical":void 0,items:this.items,isMenuVertical:this.props.vertical,isDirectionRightToLeft:this.directionHolder.getIsDirectionRightToLeft(),focusedItemId:this.state.focusedItemId,lastItemIdToBeOpened:e,tabbableItemId:this.state.tabbableItemId,itemRender:this.props.itemRender,linkRender:this.props.linkRender,menuGuid:this.guid,onMouseLeave:this.onItemMouseLeave,onMouseOver:this.onItemMouseOver,onMouseDown:this.onItemMouseDown,onFocus:this.onItemFocus,onClick:this.onItemClick,onBlur:this.onItemBlur,onOriginalItemNeeded:this.getInputItem}))},e.prototype.componentDidMount=function(){this.setState({isFirstRender:!1})},e.prototype.componentDidUpdate=function(e){(Boolean(e.vertical)!==Boolean(this.props.vertical)||this.directionHolder.hasDirectionChanged())&&this.reset(),this.mouseOverHandler.OpenOnClick=this.props.openOnClick},e.prototype.componentWillUnmount=function(){this.clearItemHoverAndLeaveRequestsIfApplicable()},e.prototype.setFocusedItemId=function(n){this.setState(function(e){var t=n===l.EMPTY_ID?e.tabbableItemId:l.getRootParentId(n);return{hoveredItemId:n===l.EMPTY_ID||l.isIdEmptyOrZeroLevel(e.hoveredItemId)&&l.isIdEmptyOrZeroLevel(n)?e.hoveredItemId:l.EMPTY_ID,focusedItemId:n,tabbableItemId:t}})},e.prototype.setHoveredItemId=function(t){this.setState(function(e){return l.isIdEmptyOrZeroLevel(t)&&l.isIdEmptyOrZeroLevel(e.focusedItemId)?{hoveredItemId:t,focusedItemId:e.focusedItemId,tabbableItemId:e.tabbableItemId}:{hoveredItemId:t,focusedItemId:l.EMPTY_ID,tabbableItemId:l.ZERO_LEVEL_ZERO_ITEM_ID}})},e.prototype.getMenuWrapperClassName=function(){return a.classNames({"k-rtl":this.directionHolder.getIsDirectionRightToLeft()})},e.prototype.getMenuClassName=function(){return a.classNames("k-widget","k-reset","k-header","k-menu",{"k-menu-horizontal":!this.props.vertical},{"k-menu-vertical":this.props.vertical})},e.prototype.clearItemHoverAndLeaveRequestsIfApplicable=function(){this.itemHoverRequest&&(clearTimeout(this.itemHoverRequest),this.itemHoverRequest=null),this.itemLeaveRequest&&(clearTimeout(this.itemLeaveRequest),this.itemLeaveRequest=null)},e.prototype.isItemWithDefaultClose=function(e){return!this.props.customCloseItemIds||-1===this.props.customCloseItemIds.indexOf(e)},e.prototype.checkIsDirectionRightToLeft=function(){return void 0!==this.props.dir?"rtl"===this.props.dir:this.menuWrapperEl&&"rtl"===getComputedStyle(this.menuWrapperEl).direction},e.prototype.prepareItems=function(){var e=p.default(this.props.items,this.props.children),t=e.items,n=e.inputItems;this.items=t,this.inputItems=n},e.prototype.dispatchSelectEventIfWired=function(e,t){a.dispatchEvent(this.props.onSelect,e,this,{item:this.getInputItem(t),itemId:t})},e.propTypes={vertical:s.bool,items:s.arrayOf(s.object),style:s.object,dir:s.string,hoverOpenDelay:s.number,hoverCloseDelay:s.number,openOnClick:s.bool,itemRender:s.any,linkRender:s.any,customCloseItemIds:s.arrayOf(s.string),onSelect:s.func},e.defaultProps={vertical:!1},e}(i.Component);t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),l=n(3),o=n(11);function p(e,t){var n={},r=e||t.props,o=r.text,i=r.url,s=r.icon,a=r.disabled,l=r.cssClass,p=r.cssStyle,c=r.render,u=r.linkRender,d=r.contentRender,f=r.data;return void 0!==o&&(n.text=o),void 0!==i&&(n.url=i),void 0!==s&&(n.icon=s),void 0!==a&&(n.disabled=a),void 0!==l&&(n.cssClass=l),void 0!==p&&(n.cssStyle=p),void 0!==c&&(n.render=c),void 0!==u&&(n.linkRender=u),void 0!==d&&(n.contentRender=d),void 0!==f&&(n.data=f),n}function a(e){return r.Children.toArray(e).filter(function(e){return e&&e.type===o.default})}function c(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r],i=p(o);i.id=l.createId(r.toString(),t),i.isLastFromSiblings=r===e.length-1,i.items=(a=i,(s=o).contentRender?[{contentParentItemId:a.id,id:l.createId(l.ZERO_LEVEL_ZERO_ITEM_ID,a.id),isLastFromSiblings:!0,contentRender:s.contentRender,items:[]}]:s.items?c(s.items,a.id):[]),n.push(i)}var s,a;return n}t.default=function(e,t){if(e&&0<e.length)return{items:c(e),inputItems:e};if(0<a(t).length){var n=function e(t){for(var n=[],r=0;r<t.length;r++){var o=t[r],i=p(void 0,o),s=e(a(o.props.children));0<s.length&&(i.items=s),n.push(i)}return n}(a(t));return{items:c(n),inputItems:n}}return{items:[],inputItems:[]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var S=n(1),w=n(3),C=/\S/;t.default=function(i,s,e,t,n,r){var o,a,l,p,c,u=g();switch(e){case S.Keys.left:return n?r?m():f():r?h():d();case S.Keys.right:return n?r?f():m():r?d():h();case S.Keys.up:return n?I():w.isIdZeroLevel(s)?y():I();case S.Keys.down:return n?_():w.isIdZeroLevel(s)?v():_();case S.Keys.enter:case S.Keys.space:return u.disabled?s:b()?w.getFirstChildId(s):w.getRootParentId(s);case S.Keys.home:return O()[0].id;case S.Keys.end:return(o=O())[o.length-1].id;case S.Keys.esc:return w.isIdZeroLevel(s)?s:w.getDirectParentId(s);default:return 1===t.length&&C.test(t)?(a=t.toLowerCase(),l=O(),p=Number(w.getShortId(s)),(c=l.slice(p+1).concat(l.slice(0,p+1)).find(function(e){return(e.text||"").toLowerCase().startsWith(a)}))?c.id:s):s}function d(){return w.isIdZeroLevel(s)?I():w.isIdFirstLevel(s)?v(I(w.getRootParentId(s))):w.getDirectParentId(s)}function f(){return w.isIdZeroLevel(s)?y():w.getDirectParentId(s)}function h(){return w.isIdZeroLevel(s)?_():v(b()?s:_(w.getRootParentId(s)))}function m(){return v(w.isIdZeroLevel(s)||b()?s:_(w.getRootParentId(s)))}function v(e){return P(!0,e)}function y(e){return P(!1,e)}function g(e,t){return void 0===e&&(e=s),void 0===t&&(t=i),w.getItemById(e,t)}function b(e){return 0<g(e).items.length}function I(e){return k(!1,e)}function _(e){return k(!0,e)}function O(){return w.isIdZeroLevel(s)?i:g(w.getDirectParentId(s),i).items}function P(e,t){void 0===t&&(t=s);var n,r=g(t);return b(t)&&!r.disabled?e?w.getFirstChildId(t):(n=g(t).items)[n.length-1].id:t}function k(e,t){if(void 0===t&&(t=s),w.isIdZeroLevel(t))return w.getDirectSiblingIdForLevelZero(e,t,i.length);var n=w.getDirectParentId(t),r=w.getShortId(t),o=g(n).items.length;return w.createId(w.getDirectSiblingIdForLevelZero(e,r,o),n)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHoverOpenDelay=function(e){return void 0!==e.hoverOpenDelay?e.hoverOpenDelay:e.openOnClick?0:100},t.getHoverCloseDelay=function(e){return void 0!==e.hoverCloseDelay?e.hoverCloseDelay:100}},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),s=n(1),a=n(26),l=n(3),p=n(13),c=n(14),u=n(12),d=n(5),f=function(n){function e(e){var t=n.call(this,e)||this;return t.isFirstRender=!0,t.onMouseOver=function(e){t.props.onMouseOver(t.props.item.id),e.stopPropagation()},t.onMouseLeave=function(e){t.props.onMouseLeave(t.props.item.id),e.stopPropagation()},t.state={opened:!1},t}return o(e,n),e.prototype.componentDidMount=function(){var e=this.props.focusedItemId,t=this.props.item.id;e&&e===t&&this.itemElement.focus(),this.isFirstRender=!1},e.prototype.componentDidUpdate=function(e){var t=this.props.focusedItemId,n=this.props.item.id;t?e.focusedItemId!==t&&t===n&&this.itemElement.focus():document.activeElement===this.itemElement&&this.itemElement.blur()},e.prototype.render=function(){var t=this,e=this.props.item,n=e.id;return[i.createElement("li",{className:this.getMenuItemClassName(e),style:e.cssStyle,tabIndex:n===this.props.tabbableItemId?0:-1,onMouseOver:this.onMouseOver,onMouseLeave:this.onMouseLeave,onMouseDown:function(e){return t.props.onMouseDown(e)},onBlur:function(){return t.props.onBlur(n)},onFocus:function(){return t.props.onFocus(n)},onClick:function(e){return t.props.onClick(e,n)},role:"menuitem","aria-disabled":!!e.disabled||void 0,"aria-haspopup":0<e.items.length||void 0,"aria-expanded":0<e.items.length?this.Opened:void 0,"aria-label":e.text,"aria-owns":this.Opened?d.getDOMElementId(this.props.menuGuid,n):void 0,ref:function(e){return t.itemElement=e},key:"0"},this.contentRender?this.renderContent():this.renderMenuItemLink()),this.renderPopupIfOpened()]},e.prototype.renderContent=function(){var e=this.props.item.contentParentItemId;return i.createElement("div",{className:"k-content",role:"presentation"},i.createElement(this.contentRender,{item:this.props.onOriginalItemNeeded(e),itemId:e}))},e.prototype.renderMenuItemLink=function(){var e=this.props.item;if(this.linkRender)return i.createElement(this.linkRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,opened:this.Opened,dir:d.convertBoolDirectionToString(this.props.isDirectionRightToLeft)});var t=this.itemRender?i.createElement(this.itemRender,{item:this.props.onOriginalItemNeeded(e.id),itemId:e.id,key:"1"}):e.text;return i.createElement(p.default,{url:e.url,opened:this.Opened},[this.renderMenuIconIfApplicable(),t,this.renderArrowIfApplicable()])},e.prototype.renderPopupIfOpened=function(){if(this.Opened){var e=this.props.item.id,t=d.getPopupSettings(e,this.props.isMenuVertical,this.props.isDirectionRightToLeft),n=t.anchorAlign,r=t.popupAlign,o=t.collision;return i.createElement(a.Popup,{anchor:this.itemElement,show:!0,popupClass:this.getPopupClassName(),anchorAlign:n,popupAlign:r,collision:o,animate:!1,key:"1"},i.createElement(u.default,{parentItemId:e,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",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}))}return null},e.prototype.renderMenuIconIfApplicable=function(){return this.props.item.icon?i.createElement("span",{className:"k-icon k-i-"+this.props.item.icon,role:"presentation",key:"0"}):null},e.prototype.renderArrowIfApplicable=function(){return 0<this.props.item.items.length?i.createElement(c.default,{itemId:this.props.item.id,verticalMenu:this.props.isMenuVertical,dir:d.convertBoolDirectionToString(this.props.isDirectionRightToLeft),key:"2"}):null},Object.defineProperty(e.prototype,"itemRender",{get:function(){return this.props.item.render||this.props.itemRender},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkRender",{get:function(){return this.props.item.linkRender||this.props.linkRender},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentRender",{get:function(){return this.props.item.contentParentItemId?this.props.item.contentRender:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"Opened",{get:function(){var e=this.props;return 0<e.item.items.length&&l.shouldOpenItem(e.item.id,e.lastItemIdToBeOpened)&&!this.isFirstRender},enumerable:!0,configurable:!0}),e.prototype.getPopupClassName=function(){return s.classNames("k-menu-popup",{"k-rtl":this.props.isDirectionRightToLeft})},e.prototype.getMenuItemClassName=function(e){return s.classNames("k-item","k-menu-item",{"k-first":l.isFirstItemFromSiblings(e.id),"k-last":e.isLastFromSiblings,"k-state-disabled":e.disabled},e.cssClass)},e}(i.Component);t.default=f},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={vertical:"top",horizontal:"left"},o={vertical:"top",horizontal:"right"},i={vertical:"flip",horizontal:"fit"},s={vertical:"fit",horizontal:"flip"};t.POPUP_SETTINGS_RTL={downward:{anchorAlign:{vertical:"bottom",horizontal:"right"},popupAlign:o,collision:i},leftward:{anchorAlign:{vertical:"top",horizontal:"left"},popupAlign:o,collision:s}},t.POPUP_SETTINGS={downward:{anchorAlign:{vertical:"bottom",horizontal:"left"},popupAlign:r,collision:i},rightward:{anchorAlign:{vertical:"top",horizontal:"right"},popupAlign:r,collision:s}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.phase="Initialized"}return e.prototype.getIsDirectionRightToLeft=function(){return this.isDirectionRightToLeft},e.prototype.setIsDirectionRightToLeft=function(e){this.phase="NotInitialized"===this.phase?"Initialized":"NewValueReceived",this.previousIsDirectionRightToLeft=this.isDirectionRightToLeft,this.isDirectionRightToLeft=e},e.prototype.hasDirectionChanged=function(){return"NewValueReceived"===this.phase&&this.previousIsDirectionRightToLeft!==this.isDirectionRightToLeft},e}();t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t,n){this.openOnClick=e,this.resetMenu=t,this.openItem=n,this.openOnClick=e,this.isMouseOverEnabled=!e}return Object.defineProperty(e.prototype,"OpenOnClick",{set:function(e){Boolean(e)!==Boolean(this.openOnClick)&&(this.mouseDown=!1,this.isMouseOverEnabled=!e),this.openOnClick=e},enumerable:!0,configurable:!0}),e.prototype.handleItemSelectedViaKeyboard=function(){this.openOnClick&&(this.isMouseOverEnabled=!1,this.resetMenu())},Object.defineProperty(e.prototype,"IsMouseOverEnabled",{get:function(){return this.isMouseOverEnabled},enumerable:!0,configurable:!0}),e.prototype.handleItemMouseDown=function(){this.mouseDown=!0},e.prototype.handleItemFocus=function(){this.openOnClick&&!this.mouseDown&&(this.isMouseOverEnabled=!0),this.mouseDown=!1},e.prototype.handleItemClick=function(e,t){this.openOnClick&&(this.isMouseOverEnabled?t&&(this.isMouseOverEnabled=!1,this.resetMenu()):(this.isMouseOverEnabled=!0,this.openItem(e)))},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),b=this&&this.__assign||Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var u=n(0),l=n(31),p=n(32),s=n(1),d={collapsible:!1,collapsed:!1,resizable:!0,scrollable:!0},a=function(t){function e(e){var g=t.call(this,e)||this;return g.validatePanes=function(e){if(!e.filter(function(e){return void 0===e.size}).length)throw new Error("The Splitter should have at least one pane without a set size.")},g.mapPaneOptions=function(e,t){for(var n=g.orientation,r=g.state,o=r.dragIndex,i=r.isDragging,s=[],a=0;a<t.length;a++){var l=!1,p=t[a];u.isValidElement(p)&&(l="Splitter"===p.type.displayName);var c=!1;i&&void 0!==o&&(c=o===a||o+1===a),s.push(b({},d,{orientation:n,containsSplitter:l,overlay:c},(e||[])[a]))}return s},g.mapSplitterPanes=function(s,a){return s.map(function(e,t){var n,r=2*t,o=r+1;if(t+1<s.length){var i=s[t+1];n=u.createElement(p.SplitterBar,{key:o,index:t,orientation:e.orientation,prev:e,next:i,onDrag:g.onBarDragResize,onToggle:g.onBarToggle,onKeyboardResize:g.onBarKeyboardResize})}return[u.createElement(l.SplitterPane,b({key:r},e),a[t]),n]})},g.onBarToggle=function(r){var e=g.panesOptions(g.panesContent).map(function(e,t){var n=g.getPaneProps(e);return t===r?b({},n,{collapsed:!e.collapsed}):b({},n)});g.props.onLayoutChange&&g.props.onLayoutChange(e,!0)},g.onBarDragResize=function(e,t,n,r,o){var i=(new Date).getTime(),s=e.pageX,a=e.pageY,l=g.surroudingPanes(t),p=l.prevElement,c=l.nextElement;if(p&&c)if(r)g.setState({isDragging:!0,dragIndex:n,startTime:i,originalX:s,originalY:a,originalPrevSize:g.elementSize(p),originalNextSize:g.elementSize(c)});else{var u,d=g.state,f=d.originalPrevSize,h=d.originalNextSize,m=d.startTime,v=d.originalX,y=d.originalY;!r&&i-m<150||(u="vertical"===g.orientation?a-y:g.isRtl?v-s:s-v,g.resize(n,n+1,f,h,u,o)),o&&g.resetDragState()}},g.onBarKeyboardResize=function(e,t,n){var r=g.surroudingPanes(e),o=r.prevElement,i=r.nextElement,s=g.elementSize(o),a=g.elementSize(i);g.resize(t,t+1,s,a,n,!0)},g.containerSize=function(){return g._container?g.elementSize(g._container,!0):0},g.panesOptions=function(e){return g.mapPaneOptions(g.panes,e)},g.elementSize=function(e,t){var n=t?"client":"offset";return"vertical"===g.orientation?e[n+"Height"]:e[n+"Width"]},g.clamp=function(e,t,n){return Math.min(t,Math.max(e,n))},g.fixedSize=function(e){return e&&0<e.length},g.state={isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0,panes:e.defaultPanes||[]},g}return o(e,t),Object.defineProperty(e.prototype,"isControlledState",{get:function(){return void 0!==this.props.panes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panes",{get:function(){return void 0!==this.panesDuringOnChange?this.panesDuringOnChange:this.isControlledState?this.props.panes:this.state.panes},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"orientation",{get:function(){return this.props.orientation||"horizontal"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isRtl",{get:function(){return this._container&&"rtl"===getComputedStyle(this._container).direction||!1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"panesContent",{get:function(){return u.Children.toArray(this.props.children).filter(function(e){return e})},enumerable:!0,configurable:!0}),e.prototype.render=function(){var t=this,e=this.panesContent,n=this.panesOptions(e),r=s.classNames("k-widget","k-splitter","k-splitter-flex","k-splitter-"+this.orientation,this.props.className);return this.validatePanes(n),u.createElement("div",{style:this.props.style,ref:function(e){return t._container=e},className:r},this.mapSplitterPanes(n,e))},e.prototype.surroudingPanes=function(e){return{prevElement:e.previousElementSibling,nextElement:e.nextElementSibling}},e.prototype.isPercent=function(e){return/%$/.test(e)},e.prototype.toPixels=function(e,t){var n=parseInt(e,10);return this.isPercent(e)&&(n=t*n/100),n},e.prototype.resetDragState=function(){this.setState({isDragging:!1,dragIndex:void 0,startTime:0,originalX:0,originalY:0,originalPrevSize:0,originalNextSize:0})},e.prototype.resize=function(r,o,e,t,n,i){var s,a,l=this,p=this.panesOptions(this.panesContent),c=p[r],u=p[o],d=e+t,f=this.containerSize(),h=function(e){return l.toPixels(e,f)},m={index:r,initialSize:e,min:h(c.min)||d-h(u.max)||0,max:h(c.max)||d-h(u.min)||d},v={index:o,initialSize:t,min:h(u.min)||d-h(c.max)||0,max:h(u.max)||d-h(c.min)||d},y=function(e,t){var n=p[e.index],r=l.clamp(e.min,e.max,e.initialSize+t);return l.isPercent(n.size||"")?100*r/f+"%":r+"px"};this.fixedSize(c.size)&&this.fixedSize(u.size)?(s=y(m,n),a=y(v,-n)):u.collapsible||this.fixedSize(u.size)?a=y(v,-n):s=y(m,n);var g=p.map(function(e,t){var n=l.getPaneProps(e);return t===r?b({},n,{size:s}):t===o?b({},n,{size:a}):b({},n)});this.panesDuringOnChange=g,this.isControlledState||this.setState({panes:g}),this.props.onLayoutChange&&this.props.onLayoutChange(g,i),this.panesDuringOnChange=void 0},e.prototype.getPaneProps=function(e){return e.orientation,e.overlay,e.containsSplitter,i(e,["orientation","overlay","containsSplitter"])},e.displayName="Splitter",e}(u.Component);t.Splitter=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var d=n(0),f=n(1),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.render=function(){var e,t=this.props,n=t.size,r=t.collapsed,o=t.overlay,i=t.containsSplitter,s=t.collapsible,a=t.resizable,l=t.scrollable,p=n&&0<n.length,c={flexBasis:n},u=f.classNames("k-pane",((e={})["k-state-hidden"]=r,e.hidden=r,e["k-pane-flex"]=i,e["k-pane-static"]=!a&&!s||p,e["k-scrollable"]=l,e));return d.createElement("div",{style:c,className:u},r?void 0:this.props.children,o?d.createElement("div",{className:"k-splitter-overlay k-overlay"}):void 0)},t}(d.Component);t.SplitterPane=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var l=n(0),i=n(33),a=n(1),p=n(1),s=function(t){function e(e){var s=t.call(this,e)||this;return s.element=null,s.draggable=new i.default({press:function(e){s.onDrag(e,!0,!1)},drag:function(e){s.onDrag(e,!1,!1)},release:function(e){s.onDrag(e,!1,!0)}}),s.onDrag=function(e,t,n){var r=s.props,o=r.onDrag,i=r.index;!n&&e&&e.originalEvent.preventDefault(),s.element&&!s.isStatic&&s.isDraggable&&o(e,s.element,i,t,n)},s.onFocus=function(){s.setState({focused:!0})},s.onBlur=function(){s.setState({focused:!1})},s.onToggle=function(){var e=s.props,t=e.onToggle,n=e.index,r=e.prev,o=e.next;(r.collapsible||o.collapsible)&&t(r.collapsible?n:n+1)},s.onPrevToggle=function(){var e=s.props,t=e.onToggle,n=e.index;e.prev.collapsible&&t(n)},s.onNextToggle=function(){var e=s.props,t=e.onToggle,n=e.index;e.next.collapsible&&t(n+1)},s.onKeyDown=function(r){var e=r&&r.keyCode,t=s.isHorizontal,n=s.props.index,o=s.element,i=function(e,t,n){r.preventDefault(),s.props.onKeyboardResize(e,t,n)};o&&(e===a.Keys.enter?(r.preventDefault(),s.onToggle()):s.isDraggable&&(t&&e===a.Keys.left?i(o,n,-10):t&&e===a.Keys.right?i(o,n,10):t||e!==a.Keys.up?t||e!==a.Keys.down||i(o,n,10):i(o,n,-10)))},s.previousArrowClass=function(e){var t,n=s.props.prev,r=n.collapsible,o=n.collapsed;return p.classNames("k-icon",((t={})["k-hidden"]=!r,t["k-collapse-prev"]=r,t["k-i-arrow-60-left"]=r&&e&&!o,t["k-i-arrow-60-right"]=r&&e&&o,t["k-i-arrow-60-up"]=r&&!e&&!o,t["k-i-arrow-60-down"]=r&&!e&&o,t))},s.nextArrowClass=function(e){var t,n=s.props.next,r=n.collapsible,o=n.collapsed;return p.classNames("k-icon",((t={})["k-hidden"]=!r,t["k-collapse-next"]=r,t["k-i-arrow-60-right"]=r&&e&&!o,t["k-i-arrow-60-left"]=r&&e&&o,t["k-i-arrow-60-down"]=r&&!e&&!o,t["k-i-arrow-60-up"]=r&&!e&&o,t))},s.state={focused:!1},s}return o(e,t),Object.defineProperty(e.prototype,"isStatic",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsible||n.collapsible;return!r&&!o},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDraggable",{get:function(){var e=this.props,t=e.prev,n=e.next,r=t.resizable&&n.resizable,o=t.collapsed||n.collapsed;return!!r&&!o},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isHorizontal",{get:function(){return"horizontal"===this.props.orientation},enumerable:!0,configurable:!0}),e.prototype.componentDidMount=function(){this.element&&this.draggable.bindTo(this.element)},e.prototype.componentWillUnmount=function(){this.draggable.destroy()},e.prototype.render=function(){var e,t=this,n=this.isDraggable,r=this.isStatic,o=this.isHorizontal,i=p.classNames("k-splitbar",((e={})["k-state-focused"]=this.state.focused,e["k-splitbar-horizontal"]=o,e["k-splitbar-vertical"]=!o,e["k-splitbar-draggable-horizontal"]=o&&n,e["k-splitbar-draggable-vertical"]=!o&&n,e["k-splitbar-static-horizontal"]=o&&r,e["k-splitbar-static-vertical"]=!o&&r,e)),s=this.previousArrowClass(o),a=this.nextArrowClass(o);return l.createElement("div",{tabIndex:r?-1:0,role:"separator",className:i,onFocus:this.onFocus,onBlur:this.onBlur,onDoubleClick:this.onToggle,onKeyDown:this.onKeyDown,ref:function(e){t.element=e}},l.createElement("div",{className:s,onClick:this.onPrevToggle}),l.createElement("div",{className:"k-resize-handle"}),l.createElement("div",{className:a,onClick:this.onNextToggle}))},e}(l.Component);t.SplitterBar=s},function(e,t){e.exports=s}])}}});
{
"name": "@progress/kendo-react-layout",
"version": "2.6.1",
"version": "2.7.0-dev.201901311056",
"description": "KendoReact Layout package",

@@ -36,13 +36,13 @@ "repository": {

"@progress/kendo-drawing": "^1.5.7",
"@progress/kendo-react-charts": "2.6.1",
"@progress/kendo-react-dateinputs": "2.6.1",
"@progress/kendo-react-dropdowns": "2.6.1",
"@progress/kendo-react-grid": "2.6.1",
"@progress/kendo-react-inputs": "2.6.1",
"@progress/kendo-react-intl": "2.6.1"
"@progress/kendo-react-charts": "2.7.0-dev.201901311056",
"@progress/kendo-react-dateinputs": "2.7.0-dev.201901311056",
"@progress/kendo-react-dropdowns": "2.7.0-dev.201901311056",
"@progress/kendo-react-grid": "2.7.0-dev.201901311056",
"@progress/kendo-react-inputs": "2.7.0-dev.201901311056",
"@progress/kendo-react-intl": "2.7.0-dev.201901311056"
},
"dependencies": {
"@progress/kendo-react-animation": "2.6.1",
"@progress/kendo-react-common": "2.6.1",
"@progress/kendo-react-popup": "2.6.1",
"@progress/kendo-react-animation": "2.7.0-dev.201901311056",
"@progress/kendo-react-common": "2.7.0-dev.201901311056",
"@progress/kendo-react-popup": "2.7.0-dev.201901311056",
"@telerik/kendo-draggable": "^1.9.0",

@@ -49,0 +49,0 @@ "prop-types": "^15.6.0"

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc