@reltio/remotes 1.4.1580 → 1.4.1582
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/1946.js +2 -0
- package/1946.js.map +1 -0
- package/6425.js +2 -0
- package/6425.js.map +1 -0
- package/{6211.js → 6557.js} +2 -2
- package/6557.js.map +1 -0
- package/6856.js +1 -1
- package/6856.js.map +1 -1
- package/769.js +1 -1
- package/769.js.map +1 -1
- package/9995.js +2 -0
- package/9995.js.map +1 -0
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/remoteEntry.js.map +1 -1
- package/2982.js +0 -2
- package/2982.js.map +0 -1
- package/6211.js.map +0 -1
- package/7818.js +0 -2
- package/7818.js.map +0 -1
package/6211.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"6211.js","mappings":"2JAuNA,QArNiC,WAC7B,SAASA,EAAYC,GACjB,IAAIC,OAAY,IAAPD,EAAgB,GAAKA,EAAIE,EAASD,EAAGC,OAAQC,EAAWF,EAAGE,SAAUC,EAASH,EAAGG,OAC1FC,KAAKC,WAAa,OAClBD,KAAKE,gBAAkB,YACvBF,KAAKG,kBAAoB,kBACzBH,KAAKI,kBAAoB,gBACzBJ,KAAKK,cAAgB,UACrBL,KAAKM,cAAgB,QACrBN,KAAKO,WAAa,UAClBP,KAAKD,OAASD,GAAYC,GAAU,IACpCC,KAAKH,OAASA,EAuMlB,OArMAH,EAAYc,UAAUC,MAAQ,SAAUC,EAAOC,GAC3C,MAAc,KAAVD,EACO,KAEJV,KAAKD,OAAOW,EAAOC,GAAQ,IAEtCjB,EAAYc,UAAUI,KAAO,SAAUF,GACnC,GAAc,OAAVA,EACA,OAAO,KAEX,IAAIX,EAASC,KAAKD,OAAOW,GAEzB,OADAX,EAAOF,OAAOG,KAAKH,QACZE,GAEXL,EAAYc,UAAUK,QAAU,SAAUH,GACtC,OAAOV,KAAKD,OAAOW,GAAOG,WAE9BnB,EAAYc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BAAlC3X,EAAUiX,oBACnBW,EAAsB,sBACmC,mBAAzC5X,EAAU+X,6BAC1BH,EAAsB,8BAGC,OAAvBF,GAC8B,OAA9BC,GACwB,OAAxBC,EACA,CACA,IAAII,EAAgBhQ,EAAUiQ,aAAejQ,EAAUwF,KACnD0K,EAC4C,mBAAvClQ,EAAU4O,yBACb,6BACA,4BAEN,MAAMa,MACJ,2FACEO,EACA,SACAE,EACA,uDACwB,OAAvBR,EAA8B,OAASA,EAAqB,KAC9B,OAA9BC,EACG,OAASA,EACT,KACqB,OAAxBC,EAA+B,OAASA,EAAsB,IATjE,wIA0BJ,GARkD,mBAAvC5P,EAAU4O,2BACnB5W,EAAU2W,mBAAqBA,EAC/B3W,EAAU6W,0BAA4BA,GAMS,mBAAtC7W,EAAUsX,wBAAwC,CAC3D,GAA4C,mBAAjCtX,EAAUmY,mBACnB,MAAM,IAAIV,MACR,qHAIJzX,EAAUiX,oBAAsBA,EAEhC,IAAIkB,EAAqBnY,EAAUmY,mBAEnCnY,EAAUmY,mBAAqB,SAC7BhB,EACAJ,EACAqB,GAUA,IAAIC,EAAW7Y,KAAK4X,4BAChB5X,KAAK6X,wBACLe,EAEJD,EAAmBpH,KAAKvR,KAAM2X,EAAWJ,EAAWsB,IAIxD,OAAOrQ,E,+BA7GT2O,EAAmB2B,8BAA+B,EAClDzB,EAA0ByB,8BAA+B,EACzDrB,EAAoBqB,8BAA+B","sources":["webpack://@reltio/remotes/../../node_modules/@date-io/moment/build/index.esm.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/internal/svg-icons/Cancel.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/Chip/Chip.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/Toolbar/Toolbar.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/ArrowRight.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/ChevronRight.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/Error.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/InfoOutlined.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/NavigateNext.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/Refresh.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/Replay.js","webpack://@reltio/remotes/../../node_modules/@material-ui/icons/Search.js","webpack://@reltio/remotes/../../node_modules/react-components/dist/Form/SearchInput.js","webpack://@reltio/remotes/../../node_modules/react-components/dist/Form/styles.less.js","webpack://@reltio/remotes/../../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js"],"sourcesContent":["import defaultMoment from 'moment';\n\nvar MomentUtils = /** @class */ (function () {\n function MomentUtils(_a) {\n var _b = _a === void 0 ? {} : _a, locale = _b.locale, instance = _b.instance, moment = _b.moment;\n this.yearFormat = \"YYYY\";\n this.yearMonthFormat = \"MMMM YYYY\";\n this.dateTime12hFormat = \"MMMM Do hh:mm a\";\n this.dateTime24hFormat = \"MMMM Do HH:mm\";\n this.time12hFormat = \"hh:mm A\";\n this.time24hFormat = \"HH:mm\";\n this.dateFormat = \"MMMM Do\";\n this.moment = instance || moment || defaultMoment;\n this.locale = locale;\n }\n MomentUtils.prototype.parse = function (value, format) {\n if (value === \"\") {\n return null;\n }\n return this.moment(value, format, true);\n };\n MomentUtils.prototype.date = function (value) {\n if (value === null) {\n return null;\n }\n var moment = this.moment(value);\n moment.locale(this.locale);\n return moment;\n };\n MomentUtils.prototype.isValid = function (value) {\n return this.moment(value).isValid();\n };\n MomentUtils.prototype.isNull = function (date) {\n return date === null;\n };\n MomentUtils.prototype.getDiff = function (date, comparing) {\n return date.diff(comparing);\n };\n MomentUtils.prototype.isAfter = function (date, value) {\n return date.isAfter(value);\n };\n MomentUtils.prototype.isBefore = function (date, value) {\n return date.isBefore(value);\n };\n MomentUtils.prototype.isAfterDay = function (date, value) {\n return date.isAfter(value, \"day\");\n };\n MomentUtils.prototype.isBeforeDay = function (date, value) {\n return date.isBefore(value, \"day\");\n };\n MomentUtils.prototype.isBeforeYear = function (date, value) {\n return date.isBefore(value, \"year\");\n };\n MomentUtils.prototype.isAfterYear = function (date, value) {\n return date.isAfter(value, \"year\");\n };\n MomentUtils.prototype.startOfDay = function (date) {\n return date.clone().startOf(\"day\");\n };\n MomentUtils.prototype.endOfDay = function (date) {\n return date.clone().endOf(\"day\");\n };\n MomentUtils.prototype.format = function (date, formatString) {\n date.locale(this.locale);\n return date.format(formatString);\n };\n MomentUtils.prototype.formatNumber = function (numberToFormat) {\n return numberToFormat;\n };\n MomentUtils.prototype.getHours = function (date) {\n return date.get(\"hours\");\n };\n MomentUtils.prototype.addDays = function (date, count) {\n return count < 0\n ? date.clone().subtract(Math.abs(count), \"days\")\n : date.clone().add(count, \"days\");\n };\n MomentUtils.prototype.setHours = function (date, count) {\n return date.clone().hours(count);\n };\n MomentUtils.prototype.getMinutes = function (date) {\n return date.get(\"minutes\");\n };\n MomentUtils.prototype.setMinutes = function (date, count) {\n return date.clone().minutes(count);\n };\n MomentUtils.prototype.getSeconds = function (date) {\n return date.get(\"seconds\");\n };\n MomentUtils.prototype.setSeconds = function (date, count) {\n return date.clone().seconds(count);\n };\n MomentUtils.prototype.getMonth = function (date) {\n return date.get(\"month\");\n };\n MomentUtils.prototype.isSameDay = function (date, comparing) {\n return date.isSame(comparing, \"day\");\n };\n MomentUtils.prototype.isSameMonth = function (date, comparing) {\n return date.isSame(comparing, \"month\");\n };\n MomentUtils.prototype.isSameYear = function (date, comparing) {\n return date.isSame(comparing, \"year\");\n };\n MomentUtils.prototype.isSameHour = function (date, comparing) {\n return date.isSame(comparing, \"hour\");\n };\n MomentUtils.prototype.setMonth = function (date, count) {\n return date.clone().month(count);\n };\n MomentUtils.prototype.getMeridiemText = function (ampm) {\n return ampm === \"am\" ? \"AM\" : \"PM\";\n };\n MomentUtils.prototype.startOfMonth = function (date) {\n return date.clone().startOf(\"month\");\n };\n MomentUtils.prototype.endOfMonth = function (date) {\n return date.clone().endOf(\"month\");\n };\n MomentUtils.prototype.getNextMonth = function (date) {\n return date.clone().add(1, \"month\");\n };\n MomentUtils.prototype.getPreviousMonth = function (date) {\n return date.clone().subtract(1, \"month\");\n };\n MomentUtils.prototype.getMonthArray = function (date) {\n var firstMonth = date.clone().startOf(\"year\");\n var monthArray = [firstMonth];\n while (monthArray.length < 12) {\n var prevMonth = monthArray[monthArray.length - 1];\n monthArray.push(this.getNextMonth(prevMonth));\n }\n return monthArray;\n };\n MomentUtils.prototype.getYear = function (date) {\n return date.get(\"year\");\n };\n MomentUtils.prototype.setYear = function (date, year) {\n return date.clone().set(\"year\", year);\n };\n MomentUtils.prototype.mergeDateAndTime = function (date, time) {\n return this.setMinutes(this.setHours(date, this.getHours(time)), this.getMinutes(time));\n };\n MomentUtils.prototype.getWeekdays = function () {\n return this.moment.weekdaysShort(true);\n };\n MomentUtils.prototype.isEqual = function (value, comparing) {\n if (value === null && comparing === null) {\n return true;\n }\n return this.moment(value).isSame(comparing);\n };\n MomentUtils.prototype.getWeekArray = function (date) {\n var start = date\n .clone()\n .startOf(\"month\")\n .startOf(\"week\");\n var end = date\n .clone()\n .endOf(\"month\")\n .endOf(\"week\");\n var count = 0;\n var current = start;\n var nestedWeeks = [];\n while (current.isBefore(end)) {\n var weekNumber = Math.floor(count / 7);\n nestedWeeks[weekNumber] = nestedWeeks[weekNumber] || [];\n nestedWeeks[weekNumber].push(current);\n current = current.clone().add(1, \"day\");\n count += 1;\n }\n return nestedWeeks;\n };\n MomentUtils.prototype.getYearRange = function (start, end) {\n var startDate = this.moment(start).startOf(\"year\");\n var endDate = this.moment(end).endOf(\"year\");\n var years = [];\n var current = startDate;\n while (current.isBefore(endDate)) {\n years.push(current);\n current = current.clone().add(1, \"year\");\n }\n return years;\n };\n // displaying methods\n MomentUtils.prototype.getCalendarHeaderText = function (date) {\n return this.format(date, this.yearMonthFormat);\n };\n MomentUtils.prototype.getYearText = function (date) {\n return this.format(date, \"YYYY\");\n };\n MomentUtils.prototype.getDatePickerHeaderText = function (date) {\n return this.format(date, \"ddd, MMM D\");\n };\n MomentUtils.prototype.getDateTimePickerHeaderText = function (date) {\n return this.format(date, \"MMM D\");\n };\n MomentUtils.prototype.getMonthText = function (date) {\n return this.format(date, \"MMMM\");\n };\n MomentUtils.prototype.getDayText = function (date) {\n return this.format(date, \"D\");\n };\n MomentUtils.prototype.getHourText = function (date, ampm) {\n return this.format(date, ampm ? \"hh\" : \"HH\");\n };\n MomentUtils.prototype.getMinuteText = function (date) {\n return this.format(date, \"mm\");\n };\n MomentUtils.prototype.getSecondText = function (date) {\n return this.format(date, \"ss\");\n };\n return MomentUtils;\n}());\n\nexport default MomentUtils;\n","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\n}), 'Cancel');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport CancelIcon from '../internal/svg-icons/Cancel';\nimport withStyles from '../styles/withStyles';\nimport { emphasize, fade } from '../styles/colorManipulator';\nimport useForkRef from '../utils/useForkRef';\nimport unsupportedProp from '../utils/unsupportedProp';\nimport capitalize from '../utils/capitalize';\nimport ButtonBase from '../ButtonBase';\nexport var styles = function styles(theme) {\n var backgroundColor = theme.palette.type === 'light' ? theme.palette.grey[300] : theme.palette.grey[700];\n var deleteIconColor = fade(theme.palette.text.primary, 0.26);\n return {\n /* Styles applied to the root element. */\n root: {\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(13),\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n height: 32,\n color: theme.palette.getContrastText(backgroundColor),\n backgroundColor: backgroundColor,\n borderRadius: 32 / 2,\n whiteSpace: 'nowrap',\n transition: theme.transitions.create(['background-color', 'box-shadow']),\n // label will inherit this from root, then `clickable` class overrides this for both\n cursor: 'default',\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n textDecoration: 'none',\n border: 'none',\n // Remove `button` border\n padding: 0,\n // Remove `button` padding\n verticalAlign: 'middle',\n boxSizing: 'border-box',\n '&$disabled': {\n opacity: 0.5,\n pointerEvents: 'none'\n },\n '& $avatar': {\n marginLeft: 5,\n marginRight: -6,\n width: 24,\n height: 24,\n color: theme.palette.type === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],\n fontSize: theme.typography.pxToRem(12)\n },\n '& $avatarColorPrimary': {\n color: theme.palette.primary.contrastText,\n backgroundColor: theme.palette.primary.dark\n },\n '& $avatarColorSecondary': {\n color: theme.palette.secondary.contrastText,\n backgroundColor: theme.palette.secondary.dark\n },\n '& $avatarSmall': {\n marginLeft: 4,\n marginRight: -4,\n width: 18,\n height: 18,\n fontSize: theme.typography.pxToRem(10)\n }\n },\n\n /* Styles applied to the root element if `size=\"small\"`. */\n sizeSmall: {\n height: 24\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the root element if `onClick` is defined or `clickable={true}`. */\n clickable: {\n userSelect: 'none',\n WebkitTapHighlightColor: 'transparent',\n cursor: 'pointer',\n '&:hover, &:focus': {\n backgroundColor: emphasize(backgroundColor, 0.08)\n },\n '&:active': {\n boxShadow: theme.shadows[1]\n }\n },\n\n /* Styles applied to the root element if `onClick` and `color=\"primary\"` is defined or `clickable={true}`. */\n clickableColorPrimary: {\n '&:hover, &:focus': {\n backgroundColor: emphasize(theme.palette.primary.main, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onClick` and `color=\"secondary\"` is defined or `clickable={true}`. */\n clickableColorSecondary: {\n '&:hover, &:focus': {\n backgroundColor: emphasize(theme.palette.secondary.main, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onDelete` is defined. */\n deletable: {\n '&:focus': {\n backgroundColor: emphasize(backgroundColor, 0.08)\n }\n },\n\n /* Styles applied to the root element if `onDelete` and `color=\"primary\"` is defined. */\n deletableColorPrimary: {\n '&:focus': {\n backgroundColor: emphasize(theme.palette.primary.main, 0.2)\n }\n },\n\n /* Styles applied to the root element if `onDelete` and `color=\"secondary\"` is defined. */\n deletableColorSecondary: {\n '&:focus': {\n backgroundColor: emphasize(theme.palette.secondary.main, 0.2)\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"`. */\n outlined: {\n backgroundColor: 'transparent',\n border: \"1px solid \".concat(theme.palette.type === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.text.primary, theme.palette.action.hoverOpacity)\n },\n '& $avatar': {\n marginLeft: 4\n },\n '& $avatarSmall': {\n marginLeft: 2\n },\n '& $icon': {\n marginLeft: 4\n },\n '& $iconSmall': {\n marginLeft: 2\n },\n '& $deleteIcon': {\n marginRight: 5\n },\n '& $deleteIconSmall': {\n marginRight: 3\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"primary\"`. */\n outlinedPrimary: {\n color: theme.palette.primary.main,\n border: \"1px solid \".concat(theme.palette.primary.main),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.primary.main, theme.palette.action.hoverOpacity)\n }\n },\n\n /* Styles applied to the root element if `variant=\"outlined\"` and `color=\"secondary\"`. */\n outlinedSecondary: {\n color: theme.palette.secondary.main,\n border: \"1px solid \".concat(theme.palette.secondary.main),\n '$clickable&:hover, $clickable&:focus, $deletable&:focus': {\n backgroundColor: fade(theme.palette.secondary.main, theme.palette.action.hoverOpacity)\n }\n },\n // TODO v5: remove\n\n /* Styles applied to the `avatar` element. */\n avatar: {},\n\n /* Styles applied to the `avatar` element if `size=\"small\"`. */\n avatarSmall: {},\n\n /* Styles applied to the `avatar` element if `color=\"primary\"`. */\n avatarColorPrimary: {},\n\n /* Styles applied to the `avatar` element if `color=\"secondary\"`. */\n avatarColorSecondary: {},\n\n /* Styles applied to the `icon` element. */\n icon: {\n color: theme.palette.type === 'light' ? theme.palette.grey[700] : theme.palette.grey[300],\n marginLeft: 5,\n marginRight: -6\n },\n\n /* Styles applied to the `icon` element if `size=\"small\"`. */\n iconSmall: {\n width: 18,\n height: 18,\n marginLeft: 4,\n marginRight: -4\n },\n\n /* Styles applied to the `icon` element if `color=\"primary\"`. */\n iconColorPrimary: {\n color: 'inherit'\n },\n\n /* Styles applied to the `icon` element if `color=\"secondary\"`. */\n iconColorSecondary: {\n color: 'inherit'\n },\n\n /* Styles applied to the label `span` element. */\n label: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n paddingLeft: 12,\n paddingRight: 12,\n whiteSpace: 'nowrap'\n },\n\n /* Styles applied to the label `span` element if `size=\"small\"`. */\n labelSmall: {\n paddingLeft: 8,\n paddingRight: 8\n },\n\n /* Styles applied to the `deleteIcon` element. */\n deleteIcon: {\n WebkitTapHighlightColor: 'transparent',\n color: deleteIconColor,\n height: 22,\n width: 22,\n cursor: 'pointer',\n margin: '0 5px 0 -6px',\n '&:hover': {\n color: fade(deleteIconColor, 0.4)\n }\n },\n\n /* Styles applied to the `deleteIcon` element if `size=\"small\"`. */\n deleteIconSmall: {\n height: 16,\n width: 16,\n marginRight: 4,\n marginLeft: -4\n },\n\n /* Styles applied to the deleteIcon element if `color=\"primary\"` and `variant=\"default\"`. */\n deleteIconColorPrimary: {\n color: fade(theme.palette.primary.contrastText, 0.7),\n '&:hover, &:active': {\n color: theme.palette.primary.contrastText\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"secondary\"` and `variant=\"default\"`. */\n deleteIconColorSecondary: {\n color: fade(theme.palette.secondary.contrastText, 0.7),\n '&:hover, &:active': {\n color: theme.palette.secondary.contrastText\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"primary\"` and `variant=\"outlined\"`. */\n deleteIconOutlinedColorPrimary: {\n color: fade(theme.palette.primary.main, 0.7),\n '&:hover, &:active': {\n color: theme.palette.primary.main\n }\n },\n\n /* Styles applied to the deleteIcon element if `color=\"secondary\"` and `variant=\"outlined\"`. */\n deleteIconOutlinedColorSecondary: {\n color: fade(theme.palette.secondary.main, 0.7),\n '&:hover, &:active': {\n color: theme.palette.secondary.main\n }\n }\n };\n};\n\nfunction isDeleteKeyboardEvent(keyboardEvent) {\n return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';\n}\n/**\n * Chips represent complex entities in small blocks, such as a contact.\n */\n\n\nvar Chip = /*#__PURE__*/React.forwardRef(function Chip(props, ref) {\n var avatarProp = props.avatar,\n classes = props.classes,\n className = props.className,\n clickableProp = props.clickable,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n ComponentProp = props.component,\n deleteIconProp = props.deleteIcon,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n iconProp = props.icon,\n label = props.label,\n onClick = props.onClick,\n onDelete = props.onDelete,\n onKeyDown = props.onKeyDown,\n onKeyUp = props.onKeyUp,\n _props$size = props.size,\n size = _props$size === void 0 ? 'medium' : _props$size,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'default' : _props$variant,\n other = _objectWithoutProperties(props, [\"avatar\", \"classes\", \"className\", \"clickable\", \"color\", \"component\", \"deleteIcon\", \"disabled\", \"icon\", \"label\", \"onClick\", \"onDelete\", \"onKeyDown\", \"onKeyUp\", \"size\", \"variant\"]);\n\n var chipRef = React.useRef(null);\n var handleRef = useForkRef(chipRef, ref);\n\n var handleDeleteIconClick = function handleDeleteIconClick(event) {\n // Stop the event from bubbling up to the `Chip`\n event.stopPropagation();\n\n if (onDelete) {\n onDelete(event);\n }\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target && isDeleteKeyboardEvent(event)) {\n // will be handled in keyUp, otherwise some browsers\n // might init navigation\n event.preventDefault();\n }\n\n if (onKeyDown) {\n onKeyDown(event);\n }\n };\n\n var handleKeyUp = function handleKeyUp(event) {\n // Ignore events from children of `Chip`.\n if (event.currentTarget === event.target) {\n if (onDelete && isDeleteKeyboardEvent(event)) {\n onDelete(event);\n } else if (event.key === 'Escape' && chipRef.current) {\n chipRef.current.blur();\n }\n }\n\n if (onKeyUp) {\n onKeyUp(event);\n }\n };\n\n var clickable = clickableProp !== false && onClick ? true : clickableProp;\n var small = size === 'small';\n var Component = ComponentProp || (clickable ? ButtonBase : 'div');\n var moreProps = Component === ButtonBase ? {\n component: 'div'\n } : {};\n var deleteIcon = null;\n\n if (onDelete) {\n var customClasses = clsx(color !== 'default' && (variant === \"default\" ? classes[\"deleteIconColor\".concat(capitalize(color))] : classes[\"deleteIconOutlinedColor\".concat(capitalize(color))]), small && classes.deleteIconSmall);\n deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? /*#__PURE__*/React.cloneElement(deleteIconProp, {\n className: clsx(deleteIconProp.props.className, classes.deleteIcon, customClasses),\n onClick: handleDeleteIconClick\n }) : /*#__PURE__*/React.createElement(CancelIcon, {\n className: clsx(classes.deleteIcon, customClasses),\n onClick: handleDeleteIconClick\n });\n }\n\n var avatar = null;\n\n if (avatarProp && /*#__PURE__*/React.isValidElement(avatarProp)) {\n avatar = /*#__PURE__*/React.cloneElement(avatarProp, {\n className: clsx(classes.avatar, avatarProp.props.className, small && classes.avatarSmall, color !== 'default' && classes[\"avatarColor\".concat(capitalize(color))])\n });\n }\n\n var icon = null;\n\n if (iconProp && /*#__PURE__*/React.isValidElement(iconProp)) {\n icon = /*#__PURE__*/React.cloneElement(iconProp, {\n className: clsx(classes.icon, iconProp.props.className, small && classes.iconSmall, color !== 'default' && classes[\"iconColor\".concat(capitalize(color))])\n });\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (avatar && icon) {\n console.error('Material-UI: The Chip component can not handle the avatar ' + 'and the icon prop at the same time. Pick one.');\n }\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n role: clickable || onDelete ? 'button' : undefined,\n className: clsx(classes.root, className, color !== 'default' && [classes[\"color\".concat(capitalize(color))], clickable && classes[\"clickableColor\".concat(capitalize(color))], onDelete && classes[\"deletableColor\".concat(capitalize(color))]], variant !== \"default\" && [classes.outlined, {\n 'primary': classes.outlinedPrimary,\n 'secondary': classes.outlinedSecondary\n }[color]], disabled && classes.disabled, small && classes.sizeSmall, clickable && classes.clickable, onDelete && classes.deletable),\n \"aria-disabled\": disabled ? true : undefined,\n tabIndex: clickable || onDelete ? 0 : undefined,\n onClick: onClick,\n onKeyDown: handleKeyDown,\n onKeyUp: handleKeyUp,\n ref: handleRef\n }, moreProps, other), avatar || icon, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.label, small && classes.labelSmall)\n }, label), deleteIcon);\n});\nprocess.env.NODE_ENV !== \"production\" ? Chip.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Avatar element.\n */\n avatar: PropTypes.element,\n\n /**\n * This prop isn't supported.\n * Use the `component` prop if you need to change the children structure.\n */\n children: unsupportedProp,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * If `true`, the chip will appear clickable, and will raise when pressed,\n * even if the onClick prop is not defined.\n * If false, the chip will not be clickable, even if onClick prop is defined.\n * This can be used, for example,\n * along with the component prop to indicate an anchor Chip is clickable.\n */\n clickable: PropTypes.bool,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * Override the default delete icon element. Shown only if `onDelete` is set.\n */\n deleteIcon: PropTypes.element,\n\n /**\n * If `true`, the chip should be displayed in a disabled state.\n */\n disabled: PropTypes.bool,\n\n /**\n * Icon element.\n */\n icon: PropTypes.element,\n\n /**\n * The content of the label.\n */\n label: PropTypes.node,\n\n /**\n * @ignore\n */\n onClick: PropTypes.func,\n\n /**\n * Callback function fired when the delete icon is clicked.\n * If set, the delete icon will be shown.\n */\n onDelete: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n\n /**\n * @ignore\n */\n onKeyUp: PropTypes.func,\n\n /**\n * The size of the chip.\n */\n size: PropTypes.oneOf(['medium', 'small']),\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['default', 'outlined'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiChip'\n})(Chip);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z\"\n}), 'ArrowDownward');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ArrowDownwardIcon from '../internal/svg-icons/ArrowDownward';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n cursor: 'pointer',\n display: 'inline-flex',\n justifyContent: 'flex-start',\n flexDirection: 'inherit',\n alignItems: 'center',\n '&:focus': {\n color: theme.palette.text.secondary\n },\n '&:hover': {\n color: theme.palette.text.secondary,\n '& $icon': {\n opacity: 0.5\n }\n },\n '&$active': {\n color: theme.palette.text.primary,\n // && instead of & is a workaround for https://github.com/cssinjs/jss/issues/1045\n '&& $icon': {\n opacity: 1,\n color: theme.palette.text.secondary\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Styles applied to the icon component. */\n icon: {\n fontSize: 18,\n marginRight: 4,\n marginLeft: 4,\n opacity: 0,\n transition: theme.transitions.create(['opacity', 'transform'], {\n duration: theme.transitions.duration.shorter\n }),\n userSelect: 'none'\n },\n\n /* Styles applied to the icon component if `direction=\"desc\"`. */\n iconDirectionDesc: {\n transform: 'rotate(0deg)'\n },\n\n /* Styles applied to the icon component if `direction=\"asc\"`. */\n iconDirectionAsc: {\n transform: 'rotate(180deg)'\n }\n };\n};\n/**\n * A button based label for placing inside `TableCell` for column sorting.\n */\n\nvar TableSortLabel = /*#__PURE__*/React.forwardRef(function TableSortLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'asc' : _props$direction,\n _props$hideSortIcon = props.hideSortIcon,\n hideSortIcon = _props$hideSortIcon === void 0 ? false : _props$hideSortIcon,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDownwardIcon : _props$IconComponent,\n other = _objectWithoutProperties(props, [\"active\", \"children\", \"classes\", \"className\", \"direction\", \"hideSortIcon\", \"IconComponent\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, active && classes.active),\n component: \"span\",\n disableRipple: true,\n ref: ref\n }, other), children, hideSortIcon && !active ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"iconDirection\".concat(capitalize(direction))])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableSortLabel.propTypes = {\n /**\n * If `true`, the label will have the active styling (should be true for the sorted column).\n */\n active: PropTypes.bool,\n\n /**\n * Label contents, the arrow will be appended automatically.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The current sort direction.\n */\n direction: PropTypes.oneOf(['asc', 'desc']),\n\n /**\n * Hide sort icon when active is false.\n */\n hideSortIcon: PropTypes.bool,\n\n /**\n * Sort icon to use.\n */\n IconComponent: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableSortLabel'\n})(TableSortLabel);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: _defineProperty({\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2)\n }, theme.breakpoints.up('sm'), {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n }),\n\n /* Styles applied to the root element if `variant=\"regular\"`. */\n regular: theme.mixins.toolbar,\n\n /* Styles applied to the root element if `variant=\"dense\"`. */\n dense: {\n minHeight: 48\n }\n };\n};\nvar Toolbar = /*#__PURE__*/React.forwardRef(function Toolbar(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'regular' : _props$variant,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"component\", \"disableGutters\", \"variant\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes[variant], className, !disableGutters && classes.gutters),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? Toolbar.propTypes = {\n /**\n * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * If `true`, disables gutter padding.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['regular', 'dense'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiToolbar'\n})(Toolbar);","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(_react.default.Fragment, null, _react.default.createElement(\"path\", {\n d: \"M10 17l5-5-5-5v10z\"\n}), _react.default.createElement(\"path\", {\n fill: \"none\",\n d: \"M0 24V0h24v24H0z\"\n})), 'ArrowRight');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"\n}), 'ChevronRight');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z\"\n}), 'Error');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z\"\n}), 'InfoOutlined');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"\n}), 'NavigateNext');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z\"\n}), 'Refresh');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z\"\n}), 'Replay');\n\nexports.default = _default;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\"\n}), 'Search');\n\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _get2 = _interopRequireDefault(require(\"lodash/get\"));\n\nvar _debounce2 = _interopRequireDefault(require(\"lodash/debounce\"));\n\nvar _react = _interopRequireWildcard(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _styles = _interopRequireDefault(require(\"./styles.less\"));\n\nvar _IconButton = _interopRequireDefault(require(\"@material-ui/core/IconButton\"));\n\nvar _Input = _interopRequireDefault(require(\"@material-ui/core/Input\"));\n\nvar _Search = _interopRequireDefault(require(\"@material-ui/icons/Search\"));\n\nvar _Close = _interopRequireDefault(require(\"@material-ui/icons/Close\"));\n\nfunction _getRequireWildcardCache() { if (typeof WeakMap !== \"function\") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== \"object\" && typeof obj !== \"function\") { return { \"default\": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj[\"default\"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) {\n function isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n\n try {\n Date.prototype.toString.call(Reflect.construct(Date, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n }\n\n return function () {\n var Super = _getPrototypeOf(Derived),\n result;\n\n if (isNativeReflectConstruct()) {\n var NewTarget = _getPrototypeOf(this).constructor;\n\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n\n return _possibleConstructorReturn(this, result);\n };\n}\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nvar SearchInput = /*#__PURE__*/function (_PureComponent) {\n _inherits(SearchInput, _PureComponent);\n\n var _super = _createSuper(SearchInput);\n\n function SearchInput(props) {\n var _this;\n\n _classCallCheck(this, SearchInput);\n\n _this = _super.call(this, props);\n\n _defineProperty(_assertThisInitialized(_this), \"emitChange\", (0, _debounce2[\"default\"])(function (value) {\n return _this.props.onChange(value);\n }, 200));\n\n _defineProperty(_assertThisInitialized(_this), \"handleChange\", function (e) {\n var value = (0, _get2[\"default\"])(e, ['target', 'value']);\n\n _this.setState({\n value: value\n });\n\n _this.emitChange(value);\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleFocus\", function () {\n return _this.inputRef.current.focus();\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleOpen\", function () {\n var forceOpen = _this.props.forceOpen;\n\n if (!forceOpen) {\n _this.setState({\n open: true\n }, _this.handleFocus);\n }\n });\n\n _defineProperty(_assertThisInitialized(_this), \"handleClose\", function () {\n var forceOpen = _this.props.forceOpen;\n\n if (!forceOpen) {\n _this.setState({\n open: false\n });\n }\n\n _this.setState({\n value: ''\n });\n\n _this.emitChange();\n });\n\n _this.state = {\n open: Boolean(_this.props.initialValue),\n value: _this.props.initialValue || ''\n };\n _this.inputRef = _react[\"default\"].createRef();\n return _this;\n }\n\n _createClass(SearchInput, [{\n key: \"render\",\n value: function render() {\n var _this$state = this.state,\n open = _this$state.open,\n value = _this$state.value;\n var _this$props = this.props,\n classes = _this$props.classes,\n placeholder = _this$props.placeholder,\n forceOpen = _this$props.forceOpen;\n var isOpen = open || forceOpen;\n var needClose = open || forceOpen && value;\n return _react[\"default\"].createElement(\"div\", {\n className: (0, _classnames[\"default\"])(_styles[\"default\"].searchInputContainer, _defineProperty({}, _styles[\"default\"].colored, isOpen), classes.root)\n }, _react[\"default\"].createElement(_IconButton[\"default\"], {\n name: \"expand-input-btn\",\n onClick: this.handleOpen\n }, _react[\"default\"].createElement(_Search[\"default\"], null)), isOpen && _react[\"default\"].createElement(_Input[\"default\"], {\n value: value,\n disableUnderline: true,\n className: _styles[\"default\"].searchInputField,\n classes: {\n input: _styles[\"default\"].input\n },\n placeholder: placeholder,\n onChange: this.handleChange,\n inputProps: {\n ref: this.inputRef\n }\n }), needClose && _react[\"default\"].createElement(_IconButton[\"default\"], {\n name: \"collapse-input-btn\",\n onClick: this.handleClose\n }, _react[\"default\"].createElement(_Close[\"default\"], null)));\n }\n }]);\n\n return SearchInput;\n}(_react.PureComponent);\n\nexports[\"default\"] = SearchInput;\nSearchInput.defaultProps = {\n classes: {},\n forceOpen: false\n};\nSearchInput.propTypes = {\n classes: _propTypes[\"default\"].shape({\n root: _propTypes[\"default\"].string\n }),\n placeholder: _propTypes[\"default\"].string,\n forceOpen: _propTypes[\"default\"].bool,\n onChange: _propTypes[\"default\"].func.isRequired,\n initialValue: _propTypes[\"default\"].string\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports[\"default\"] = void 0;\n\nvar _loadStyles = _interopRequireDefault(require(\"../_utils/loadStyles.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n(0, _loadStyles[\"default\"])(\"<style>.Form__searchInputContainer_3vqs6{display:flex;min-height:48px}.Form__searchInputField_3mnAi{flex:1 1 auto;padding:2px}.Form__input_3ulP-::-ms-clear{display:none}.Form__colored_2WMqk{background-color:#fafafa}</style>\");\nvar _default = {\n \"searchInputContainer\": \"Form__searchInputContainer_3vqs6\",\n \"searchInputField\": \"Form__searchInputField_3mnAi\",\n \"input\": \"Form__input_3ulP-\",\n \"colored\": \"Form__colored_2WMqk\"\n};\nexports[\"default\"] = _default;","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nfunction componentWillMount() {\n // Call this.constructor.gDSFP to support sub-classes.\n var state = this.constructor.getDerivedStateFromProps(this.props, this.state);\n if (state !== null && state !== undefined) {\n this.setState(state);\n }\n}\n\nfunction componentWillReceiveProps(nextProps) {\n // Call this.constructor.gDSFP to support sub-classes.\n // Use the setState() updater to ensure state isn't stale in certain edge cases.\n function updater(prevState) {\n var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);\n return state !== null && state !== undefined ? state : null;\n }\n // Binding \"this\" is important for shallow renderer support.\n this.setState(updater.bind(this));\n}\n\nfunction componentWillUpdate(nextProps, nextState) {\n try {\n var prevProps = this.props;\n var prevState = this.state;\n this.props = nextProps;\n this.state = nextState;\n this.__reactInternalSnapshotFlag = true;\n this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(\n prevProps,\n prevState\n );\n } finally {\n this.props = prevProps;\n this.state = prevState;\n }\n}\n\n// React may warn about cWM/cWRP/cWU methods being deprecated.\n// Add a flag to suppress these warnings for this special case.\ncomponentWillMount.__suppressDeprecationWarning = true;\ncomponentWillReceiveProps.__suppressDeprecationWarning = true;\ncomponentWillUpdate.__suppressDeprecationWarning = true;\n\nfunction polyfill(Component) {\n var prototype = Component.prototype;\n\n if (!prototype || !prototype.isReactComponent) {\n throw new Error('Can only polyfill class components');\n }\n\n if (\n typeof Component.getDerivedStateFromProps !== 'function' &&\n typeof prototype.getSnapshotBeforeUpdate !== 'function'\n ) {\n return Component;\n }\n\n // If new component APIs are defined, \"unsafe\" lifecycles won't be called.\n // Error if any of these lifecycles are present,\n // Because they would work differently between older and newer (16.3+) versions of React.\n var foundWillMountName = null;\n var foundWillReceivePropsName = null;\n var foundWillUpdateName = null;\n if (typeof prototype.componentWillMount === 'function') {\n foundWillMountName = 'componentWillMount';\n } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {\n foundWillMountName = 'UNSAFE_componentWillMount';\n }\n if (typeof prototype.componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'componentWillReceiveProps';\n } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';\n }\n if (typeof prototype.componentWillUpdate === 'function') {\n foundWillUpdateName = 'componentWillUpdate';\n } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {\n foundWillUpdateName = 'UNSAFE_componentWillUpdate';\n }\n if (\n foundWillMountName !== null ||\n foundWillReceivePropsName !== null ||\n foundWillUpdateName !== null\n ) {\n var componentName = Component.displayName || Component.name;\n var newApiName =\n typeof Component.getDerivedStateFromProps === 'function'\n ? 'getDerivedStateFromProps()'\n : 'getSnapshotBeforeUpdate()';\n\n throw Error(\n 'Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n' +\n componentName +\n ' uses ' +\n newApiName +\n ' but also contains the following legacy lifecycles:' +\n (foundWillMountName !== null ? '\\n ' + foundWillMountName : '') +\n (foundWillReceivePropsName !== null\n ? '\\n ' + foundWillReceivePropsName\n : '') +\n (foundWillUpdateName !== null ? '\\n ' + foundWillUpdateName : '') +\n '\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\n' +\n 'https://fb.me/react-async-component-lifecycle-hooks'\n );\n }\n\n // React <= 16.2 does not support static getDerivedStateFromProps.\n // As a workaround, use cWM and cWRP to invoke the new static lifecycle.\n // Newer versions of React will ignore these lifecycles if gDSFP exists.\n if (typeof Component.getDerivedStateFromProps === 'function') {\n prototype.componentWillMount = componentWillMount;\n prototype.componentWillReceiveProps = componentWillReceiveProps;\n }\n\n // React <= 16.2 does not support getSnapshotBeforeUpdate.\n // As a workaround, use cWU to invoke the new lifecycle.\n // Newer versions of React will ignore that lifecycle if gSBU exists.\n if (typeof prototype.getSnapshotBeforeUpdate === 'function') {\n if (typeof prototype.componentDidUpdate !== 'function') {\n throw new Error(\n 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'\n );\n }\n\n prototype.componentWillUpdate = componentWillUpdate;\n\n var componentDidUpdate = prototype.componentDidUpdate;\n\n prototype.componentDidUpdate = function componentDidUpdatePolyfill(\n prevProps,\n prevState,\n maybeSnapshot\n ) {\n // 16.3+ will not execute our will-update method;\n // It will pass a snapshot value to did-update though.\n // Older versions will require our polyfilled will-update value.\n // We need to handle both cases, but can't just check for the presence of \"maybeSnapshot\",\n // Because for <= 15.x versions this might be a \"prevContext\" object.\n // We also can't just check \"__reactInternalSnapshot\",\n // Because get-snapshot might return a falsy value.\n // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.\n var snapshot = this.__reactInternalSnapshotFlag\n ? this.__reactInternalSnapshot\n : maybeSnapshot;\n\n componentDidUpdate.call(this, prevProps, prevState, snapshot);\n };\n }\n\n return Component;\n}\n\nexport { polyfill };\n"],"names":["MomentUtils","_a","_b","locale","instance","moment","this","yearFormat","yearMonthFormat","dateTime12hFormat","dateTime24hFormat","time12hFormat","time24hFormat","dateFormat","prototype","parse","value","format","date","isValid","isNull","getDiff","comparing","diff","isAfter","isBefore","isAfterDay","isBeforeDay","isBeforeYear","isAfterYear","startOfDay","clone","startOf","endOfDay","endOf","formatString","formatNumber","numberToFormat","getHours","get","addDays","count","subtract","Math","abs","add","setHours","hours","getMinutes","setMinutes","minutes","getSeconds","setSeconds","seconds","getMonth","isSameDay","isSame","isSameMonth","isSameYear","isSameHour","setMonth","month","getMeridiemText","ampm","startOfMonth","endOfMonth","getNextMonth","getPreviousMonth","getMonthArray","monthArray","length","prevMonth","push","getYear","setYear","year","set","mergeDateAndTime","time","getWeekdays","weekdaysShort","isEqual","getWeekArray","start","end","current","nestedWeeks","weekNumber","floor","getYearRange","startDate","endDate","years","getCalendarHeaderText","getYearText","getDatePickerHeaderText","getDateTimePickerHeaderText","getMonthText","getDayText","getHourText","getMinuteText","getSecondText","d","isDeleteKeyboardEvent","keyboardEvent","key","Chip","props","ref","avatarProp","avatar","classes","className","clickableProp","clickable","_props$color","color","ComponentProp","component","deleteIconProp","deleteIcon","_props$disabled","disabled","iconProp","icon","label","onClick","onDelete","onKeyDown","onKeyUp","_props$size","size","_props$variant","variant","other","chipRef","handleRef","useForkRef","handleDeleteIconClick","event","stopPropagation","small","Component","ButtonBase","moreProps","customClasses","concat","capitalize","deleteIconSmall","Cancel","avatarSmall","iconSmall","role","undefined","root","outlined","outlinedPrimary","outlinedSecondary","sizeSmall","deletable","tabIndex","currentTarget","target","preventDefault","blur","labelSmall","withStyles","theme","backgroundColor","palette","type","grey","deleteIconColor","text","primary","fontFamily","typography","fontSize","pxToRem","display","alignItems","justifyContent","height","getContrastText","borderRadius","whiteSpace","transition","transitions","create","cursor","outline","textDecoration","border","padding","verticalAlign","boxSizing","opacity","pointerEvents","marginLeft","marginRight","width","contrastText","dark","secondary","colorPrimary","main","colorSecondary","userSelect","WebkitTapHighlightColor","boxShadow","shadows","clickableColorPrimary","clickableColorSecondary","deletableColorPrimary","deletableColorSecondary","action","hoverOpacity","avatarColorPrimary","avatarColorSecondary","iconColorPrimary","iconColorSecondary","overflow","textOverflow","paddingLeft","paddingRight","margin","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","name","TableSortLabel","_props$active","active","children","_props$direction","direction","_props$hideSortIcon","hideSortIcon","_props$IconComponent","IconComponent","ArrowDownward","disableRipple","flexDirection","duration","shorter","iconDirectionDesc","transform","iconDirectionAsc","Toolbar","_props$component","_props$disableGutters","disableGutters","gutters","position","spacing","breakpoints","up","regular","mixins","toolbar","dense","minHeight","_interopRequireDefault","exports","_react","_default","default","createElement","Fragment","fill","Object","defineProperty","_get2","_debounce2","obj","__esModule","_typeof","cache","_getRequireWildcardCache","has","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","hasOwnProperty","call","desc","_interopRequireWildcard","_propTypes","_classnames","_styles","_IconButton","_Input","_Search","_Close","WeakMap","Symbol","iterator","constructor","_defineProperties","i","descriptor","enumerable","configurable","writable","_setPrototypeOf","o","p","setPrototypeOf","__proto__","_possibleConstructorReturn","self","_assertThisInitialized","ReferenceError","_getPrototypeOf","getPrototypeOf","_defineProperty","SearchInput","_PureComponent","subClass","superClass","TypeError","_inherits","Constructor","protoProps","_super","Derived","isNativeReflectConstruct","Reflect","construct","sham","Proxy","Date","toString","e","result","Super","NewTarget","arguments","apply","_createSuper","_this","_classCallCheck","onChange","setState","emitChange","inputRef","focus","forceOpen","open","handleFocus","state","Boolean","initialValue","createRef","_this$state","_this$props","placeholder","isOpen","needClose","searchInputContainer","colored","handleOpen","disableUnderline","searchInputField","input","handleChange","inputProps","handleClose","PureComponent","defaultProps","propTypes","shape","string","bool","func","isRequired","componentWillMount","getDerivedStateFromProps","componentWillReceiveProps","nextProps","prevState","bind","componentWillUpdate","nextState","prevProps","__reactInternalSnapshotFlag","__reactInternalSnapshot","getSnapshotBeforeUpdate","polyfill","isReactComponent","Error","foundWillMountName","foundWillReceivePropsName","foundWillUpdateName","UNSAFE_componentWillMount","UNSAFE_componentWillReceiveProps","UNSAFE_componentWillUpdate","componentName","displayName","newApiName","componentDidUpdate","maybeSnapshot","snapshot","__suppressDeprecationWarning"],"sourceRoot":""}
|
package/7818.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7818],{7785:(e,t,n)=>{n.d(t,{Z:()=>R});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),i=n(2507),c=n.n(i),s=n(38402),p=n(94079),u=n(95613),d=n(88832),m=n(83348),f=n(55299),h=n(31276),g=n(71543);function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}const y=e=>a().createElement("svg",E({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("path",{d:"M10 18h3v-1a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-1H8V8H6a1 1 0 01-1-1V3a1 1 0 011-1h6a1 1 0 011 1v4a1 1 0 01-1 1h-2v3h3v-1a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-1h-3v5z",fill:"#000",stroke:"none",strokeWidth:1,fillRule:"evenodd"}));function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}const v=e=>a().createElement("svg",b({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("rect",{fill:"#000",x:9,y:9,width:6,height:6,rx:1,stroke:"none",strokeWidth:1,fillRule:"evenodd"})),O=(0,n(79692).Z)({container:{"& > $marginWrapper:first-child":{paddingLeft:"4px"}},listItem:{paddingLeft:"1px",paddingTop:"2px",paddingBottom:"2px",transition:"none","&:hover":{"& $itemAfter":{background:"linear-gradient(to right, rgba(235, 235, 235, 0.2), rgba(235, 235, 235, 1) 100%)"}},"&$listItemFocus":{"& $itemAfter":{background:"linear-gradient(to right, rgba(219, 219, 219, 0.2), rgba(219, 219, 219, 1) 100%)"}},"&:focus":{outline:"none"}},listItemFocus:{},icon:{opacity:.29,width:"16px",height:"16px",flexShrink:0,marginRight:"6px",marginLeft:"8px"},recommendedIcon:{width:"18px",height:"18px",marginRight:"5px",marginLeft:"7px",flexShrink:0},logoIcon:{width:"18px",height:"18px",flexShrink:0,marginRight:"4px"},itemAfter:{position:"absolute",right:0,top:0,width:"40px",height:"100%",pointerEvents:"none",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)"},itemText:{padding:"0",margin:0,"& span":{fontSize:"0.8125rem",letterSpacing:"normal",whiteSpace:"nowrap"}},checkbox:{opacity:.34,padding:0,marginLeft:"14px","&$checked":{opacity:1,background:"none"}},checked:{},marginWrapper:{display:"flex",alignItems:"center"},defaultCursor:{cursor:"default"},itemTooltip:{margin:"4px 0"},marginText:{marginLeft:"21px"},itemTextWrapper:{display:"flex",alignItems:"center"}}),x=e=>{let{attrType:t={}}=e;const n=O(),r=(e=>{switch(e.type){case d.oS0.TYPE_IMAGE:case d.oS0.TYPE_NESTED:return g.Z;case d.oS0.TYPE_REFERENCE:return y;default:return v}})(t);return a().createElement(r,{className:n.icon})};var w=n(31269);function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}const S=(0,m.Z)((e=>a().createElement("svg",T({width:13,height:18,viewBox:"0 0 13 18",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("g",{transform:"translate(-3 -1)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("path",{fill:"#FF4081",d:"M5.833 10h3.75v6.667l-3.75 1.666z"}),a().createElement("path",{fill:"#CE0C4E",d:"M13.333 10v8.333l-3.75-1.666V10z"}),a().createElement("circle",{fill:"#FFC058",cx:9.583,cy:7.917,r:6.25}),a().createElement("circle",{fill:"#FFCD7B",cx:9.583,cy:7.917,r:5.417}),a().createElement("path",{fill:"#FFFBB5",d:"M8.333 11.667L5 8.462l.933-.898 2.4 2.308L13.4 5l.933.897z"}))))),R=(0,r.memo)((e=>{let{groupId:t,data:n,checked:r=!1,isFocused:l=!1,isRequired:i=!1,label:m,labelInText:g,level:E,onClick:y=h.ZT,hideCheckBox:b=!1,hideIcon:v=!1,notSelectable:T=!1,disableHorizontalScrollbar:R=!1,style:I={},subItemMargin:P=20,LogoIcon:C,className:M,disableNonSelectable:D,disableGutters:N}=e;const j=O(),{attrType:F}=n||{},k=!(b&&(0,d.QZu)(F)||T),_=!!C;return a().createElement(u.Z,{value:g||m,className:j.itemTooltip,placement:"bottom-end"},a().createElement(s.Z,{className:o()(j.container,j.listItem,{[j.defaultCursor]:!k},M),onClick:k?()=>y(n,!r,t):void 0,style:I,dense:!0,button:k,disabled:D&&T,classes:{focusVisible:j.listItemFocus,selected:j.listItemFocus},selected:l,tabIndex:-1,disableGutters:N},!b&&a().createElement(p.Checkbox,{checked:r,disableRipple:!0,disabled:!k,className:o()(j.checkbox,{[j.checked]:r}),tabIndex:-1}),a().createElement(w.Z,{margin:P,level:E,className:j.marginWrapper},a().createElement(a().Fragment,null,!v&&(e=>"recommended"===t?a().createElement(S,{className:j.recommendedIcon,tooltipTitle:c().text("Recommended"),showForDisabled:!0}):a().createElement(x,{attrType:e}))(F),a().createElement("div",{className:o()(j.itemTextWrapper,{[j.marginText]:v})},_&&a().createElement(C,{className:j.logoIcon}),a().createElement(p.ListItemText,{primary:a().createElement(a().Fragment,null,m,i&&a().createElement(f.Z,null)),className:j.itemText})))),k&&R&&a().createElement("div",{className:j.itemAfter})))}))},27815:(e,t,n)=>{n.d(t,{Z:()=>w});var r=n(24328),a=n.n(r),l=n(2507),o=n.n(l),i=n(71153),c=n.n(i),s=n(50914),p=n(52730),u=n(86051),d=n(88832),m=n(94079),f=n(92575),h=n(37285),g=n(96808),E=n(7785),y=n(79692);function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){v(e,t,n[t])}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const O={input:e=>b({},e,{fontSize:"14px"}),menuPortal:e=>b({},e,{zIndex:1300})},x=(0,y.Z)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"},noOptionsMessage:{fontSize:"14px"}});const w=e=>{let{entityType:t,selectedAttributes:n,className:l,onChange:i,title:y,disableUnderline:b,menuPlacement:v="bottom"}=e;const w=(0,p.useSelector)(u.ZP.selectors.getMetadata),T=x(),S=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.reduce(((e,r)=>{if(r.hidden)return e;const a=`${n&&n+" / "}${r.label}`;e.push({label:r.label,value:r.uri,attrType:r,chipLabel:a,level:t});const l=(0,d.EUG)(w,r);return e.concat(l?S(l,t+1,a):[])}),[])}),[w]),R=(0,r.useMemo)((()=>S((null==t?void 0:t.attributes)||[])),[t,S]);return a().createElement("div",{className:c()(T.root,l)},a().createElement(m.Typography,{className:T.title,variant:"subtitle1"},y||o().text("Attribute")),a().createElement(f.Z,{value:n,options:R,TextFieldProps:{InputProps:{disableUnderline:b},classes:{root:T.dropDownInput}},components:{DropdownIndicator:g.Z,MultiValue:e=>{let{data:t}=e,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["data"]);return a().createElement(h.Z,n,t.chipLabel)},Option:e=>{let{isFocused:t,isSelected:n,data:r,label:l,innerProps:o}=e;return a().createElement("div",o,a().createElement(E.Z,{checked:n,level:r.level,data:r,label:l,labelInText:l,isFocused:t}))}},onChange:(0,s.pipe)((0,s.defaultTo)([]),i),styles:O,classes:T,menuPlacement:v,menuPortalTarget:document.body}))}},32528:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(13688),a=n(48852);const l=e=>t=>(0,a.l)(r.X,e,t)},58662:(e,t,n)=>{n.d(t,{Z:()=>y});var r=n(13980),a=n.n(r),l=n(24328),o=n.n(l),i=n(71153),c=n.n(i),s=n(94079),p=n(2507),u=n.n(p),d=n(31276),m=n(50914);const f=(0,n(79692).Z)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none"},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px"}});function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){g(e,t,n[t])}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const E=e=>{let{classes:t={},count:n,rowsPerPageOptions:r,page:a,onChangePage:i,rowsPerPage:p,onChangeRowsPerPage:g,basicTableRef:E,labelRowsPerPage:y}=e;const b=f(),v=(0,l.useCallback)((()=>{(0,m.pathOr)(m.identity,["current","resetScrollbarPosition"],E)()}),[E]),O=(0,l.useCallback)((e=>{i(e),v()}),[i,v]),x=(0,l.useCallback)((e=>{i(0),g(e),v()}),[i,g,v]);return o().createElement(s.TablePagination,{classes:h({},t,{root:c()(b.pagination,t.root),select:c()(b.select,t.select),caption:b.caption,selectRoot:b.selectRoot,actions:b.actions}),component:"div",labelRowsPerPage:y||u().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:r}=e;return u().text("${fromRow}-${toRow} of ${countRows}",{fromRow:u().number(t,"0,0"),toRow:u().number(n,"0,0"),countRows:u().number(r,"0,0")})},count:n,rowsPerPageOptions:r,page:a,onChangePage:(0,m.pipe)((0,m.nthArg)(1),O),rowsPerPage:p,onChangeRowsPerPage:(0,m.pipe)(d.NA,x)})};E.propTypes={classes:a().object,rowsPerPageOptions:a().arrayOf(a().number),count:a().number,page:a().number,onChangePage:a().func,rowsPerPage:a().number,onChangeRowsPerPage:a().func,basicTableRef:a().shape({current:a().object}),labelRowsPerPage:a().string};const y=o().memo(E)},10237:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(27556),a=n(13980),l=n.n(a),o=n(24328),i=n.n(o);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=(0,n(79692).Z)((e=>({"basic-view__paper":c({display:"flex",flexDirection:"column"},e.basicView)})));function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}const d=(0,o.forwardRef)(((e,t)=>{let{children:n,className:a}=e,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["children","className"]);const o=p();return i().createElement(r.Z,u({ref:t,className:a,classes:{root:o["basic-view__paper"]}},l),n)}));d.displayName="BasicView",d.propTypes={children:l().node,className:l().string};const m=d},92778:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),a=n.n(r),l=n(2507),o=n.n(l),i=n(15223),c=n(94079);const s=(0,n(79692).Z)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const u=e=>{let{title:t="",children:n=null,classes:r={}}=e,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["title","children","classes"]);const u=s();return a().createElement(i.Z,p({className:r.root,classes:{root:u.toolbar}},l),a().createElement(c.Typography,{className:r.title,classes:{root:u.title},variant:"h6"},o().text(t)),n)}},58241:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),i=n(8818),c=n(38016);const s=(0,n(79692).Z)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const u=e=>{let{isOpen:t=!1,tooltipTitle:n}=e,r=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["isOpen","tooltipTitle"]);const l=s(),u={icon:c.Z,className:l.collapseButton,iconClassName:o()({[l.expandLess]:t})},d={tooltipTitle:n};return a().createElement(i.k,p({"data-reltio-id":"collapse-button"},u,d,r))}},43290:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),i=n(50914);const c=(0,n(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),s=e=>(0,i.is)(Number,e),p=e=>{let{className:t,width:n=0,maxWidth:l}=e;const i=c(),p=(0,r.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return n?a().createElement("div",{className:o()(i.bar,t),style:{width:s(n)?p(n):n}}):null}},39621:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),a=n.n(r),l=n(50914),o=n(88832),i=n(6782),c=n(94079),s=n(31517),p=n(31276);const u=(0,n(79692).Z)({root:{display:"flex",flex:1},input:{height:"100%",paddingLeft:"12px",paddingRight:"8px",fontSize:"14px"},inputNumber:{minWidth:"60px",marginRight:10,height:"100%",backgroundColor:"rgba(0, 0, 0, 0.03)"},inputUnit:{width:"100%"}}),d=["minutes","hours","days","weeks","months","years"],m=e=>{let{interval:[t,n],onChange:r,onFocus:m}=e;const f=u(),h=(0,l.pipe)(p.NA,parseInt,(e=>[e,n]),r),g=(0,l.pipe)((e=>{let{value:n}=e;return[t,n]}),r);return a().createElement("div",{className:f.root},a().createElement(c.TextField,{type:"number",value:t||"",onChange:h,inputProps:{min:1,onFocus:m},InputProps:{classes:{root:f.input}},className:f.inputNumber}),a().createElement(s.Z,{label:"",placeholder:(0,i.Z)(n),className:f.inputUnit,value:{value:n,label:(0,i.Z)((0,o.wsP)(n))},options:d.map((e=>({value:e,label:(0,i.Z)((0,o.wsP)(e))}))),onChange:g,TextFieldProps:{inputProps:{onFocus:m},InputProps:{classes:{root:f.input}}}}))}},55847:(e,t,n)=>{n.d(t,{Z:()=>v});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),i=n(50914),c=n(94079),s=n(48348),p=n(20562),u=n(83348),d=n(79692),m=n(41128);const f=(0,d.Z)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,m.U1)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,m.U1)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),h=(0,u.Z)(c.MenuItem),g=(0,r.forwardRef)(((e,t)=>{let{item:n,onMenuClose:r=i.identity}=e;const l=f(),{disabled:o,text:s,tooltip:p,onClick:u,id:d="",selectable:m,selected:g}=n;return a().createElement(h,{tooltipTitle:p,showForDisabled:!0,classes:{root:l.menuItem},onClick:e=>{r(e),u(e)},disabled:o,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${d}`},m&&a().createElement(c.Checkbox,{checked:g,color:"primary"}),a().createElement(c.Typography,{classes:{root:l.menuText}},s))}));g.displayName="MenuItemRenderer";const E=g;function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}function b(e){let{className:t,menuId:n,buttonComponent:l=c.Button,buttonContent:u,menuItems:d=[],buttonProps:m={},popoverProps:h={},onMenuOpen:g=i.identity,onMenuClose:b=i.identity,MenuItemRenderer:v=E}=e;const O=l,x=f(),w=(0,r.useRef)(),[T,S]=(0,r.useState)(!1);(0,p.D)((()=>{T?g():b()}),[T]);const R=(0,r.useCallback)((e=>{null==e||e.stopPropagation(),S((e=>!e))}),[]);return a().createElement(a().Fragment,null,a().createElement(O,y({ref:w,className:o()(x.buttonRoot,{[x.selected]:T},t),onClick:R,"aria-pressed":T,"aria-controls":T?n:void 0,"aria-haspopup":"true"},m),u),a().createElement(s.Z,y({id:n,variant:"menu",open:T,autoFocus:!1,classes:{paper:x.paper},anchorEl:w.current,onClose:R,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,getContentAnchorEl:null,MenuListProps:{autoFocusItem:T}},h),d.map(((e,t)=>a().createElement(v,{item:e,key:t,onMenuClose:R})))))}b.displayName="DropDownMenuButton";const v=b},24737:(e,t,n)=>{n.d(t,{Z:()=>A});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),i=n(71153),c=n.n(i),s=n(50914),p=n(94113),u=n(65549),d=n(79692);const m=(0,d.Z)((e=>({addLabel:{display:"flex",padding:"0 7px",height:"35px",alignItems:"center",fontSize:"13px",fontWeight:"500",color:e.palette.primary.main,cursor:"pointer",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",borderTop:"solid 1px rgba(0, 0, 0, 0.14)",backgroundColor:"rgba(0, 0, 0, 0.03)"},addIcon:{height:"18px",width:"18px",padding:"0 9px"}}))),f=(0,d.Z)({singleValue:{fontSize:"14px",lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"21px"}});var h=n(36179);const g=e=>{const{selectProps:{onCreate:t,createLabel:n,inputValue:r,components:l},children:o}=e,i=m();return a().createElement(h.Z,e,o,n&&!(0,s.prop)("Group",l)&&a().createElement("span",{className:i.addLabel,onClick:()=>t(r)},a().createElement(u.Z,{className:i.addIcon}),n))};g.propTypes={children:o().element.isRequired,selectProps:o().object.isRequired};const E=g;var y=n(18461),b=n(5190),v=n(31276),O=n(88832),x=n(72436),w=n(94079);function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}function S(e){const{selectProps:{menuIsOpen:t},innerProps:n,children:r}=e,l=f();return!t&&a().createElement(w.Typography,T({className:l.singleValue},n),r)}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){I(e,t,n[t])}))}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}S.propTypes={children:o().node,innerProps:o().object};const P=(0,d.Z)({control:{height:"auto"},dropdownIndicator:{boxSizing:"content-box",transition:"transform .15s ease",padding:e=>(e.height-24)/2+"px 12px",cursor:"pointer",color:"rgba(0, 0, 0, 0.54)"},valueContainer:{marginLeft:"16px",width:0},formControl:{margin:0},filledInputRoot:{backgroundColor:"rgba(0, 0, 0, 0.03)","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"},"&.focused":{backgroundColor:"rgba(0, 0, 0, 0.03)"}},filledInputUnderline:{"&:before":{display:"none"}},inputLabel:{color:"rgba(0,0,0,0.6)",fontSize:"14px",lineHeight:"16px",paddingLeft:"4px","&.shrink":{paddingLeft:"4px"}}}),C={menu:e=>R({},e,{borderRadius:"0 0 4px 4px",backgroundColor:"#FFFFFFFF",boxShadow:"0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)",margin:0}),menuList:e=>R({},e,{maxHeight:"208px",padding:"8px 0"}),group:e=>R({},e,{padding:"0 0 8px 0"}),input:e=>R({},e,{height:"16px",color:"rgba(0, 0, 0, 0.87)",fontSize:"14px",lineHeight:"16px",margin:"16px 0 0",padding:0}),option:e=>R({},e,{fontSize:"13px",lineHeight:"15px",height:"32px"})},M={menuList:e=>R({},e,{padding:0})},D={input:e=>R({},e,{height:"16px",color:"rgba(0, 0, 0, 0.87)",fontSize:"14px",lineHeight:"16px",margin:0,padding:0})};function N(){return N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){F(e,t,n[t])}))}return e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k=e=>{let{value:t,label:n,createLabel:l,getOptions:o,options:i,height:u=46,onChange:d=s.identity,onCreate:m,onClear:f=s.identity,components:h,textFieldInputRef:g,TextFieldProps:w,classes:T}=e,R=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["value","label","createLabel","getOptions","options","height","onChange","onCreate","onClear","components","textFieldInputRef","TextFieldProps","classes"]);const I=P({height:u}),F=(0,x.a6)(),[k,_]=(0,r.useState)(!1),A=(0,r.useRef)(null),z=o?y.Z:b.Z,L=(0,s.prop)("ClearIndicator",h)?{}:{IndicatorSeparator:v.Vd,ClearIndicator:v.Vd},Z=m?(e,t)=>{m(e,t),_(!1)}:void 0,H=(0,s.prop)("Group",h)?M:{},U=(0,s.isEmpty)(n)?D:{},B=j({},C,H,U),V=j({},I,T);return a().createElement(z,N({placeholder:"",defaultOptions:!0},R,{value:(0,s.defaultTo)(null,t),loadOptions:o,options:i,cacheOptions:!0,onChange:d,onCreate:Z,onClear:f,createLabel:l,classes:V,styles:B,components:j({DropdownIndicator:p.Z,LoadingIndicator:v.Vd,SingleValue:S,Menu:E},L,h),menuPlacement:"auto",TextFieldProps:j({},w,{label:n,variant:"filled",margin:"dense",classes:j({},(0,s.prop)("classes",w),{root:c()(I.formControl,(0,s.path)(["classes","root"],w))}),inputProps:j({},(0,s.prop)("inputProps",w)),InputProps:j({},(0,s.prop)("InputProps",w),{classes:j({},(0,s.path)(["InputProps","classes"],w),{root:c()(I.filledInputRoot,(0,s.path)(["InputProps","classes","root"],w)),underline:c()({[F.filledInputUnderline]:(0,O.O27)(t)},(0,s.path)(["InputProps","classes","underline"],w)),focused:c()("focused",(0,s.path)(["InputProps","classes","focused"],w))})}),InputLabelProps:j({},(0,s.prop)("InputLabelProps",w),{classes:j({},(0,s.path)(["InputLabelProps","classes"],w),{root:c()(I.inputLabel,(0,s.path)(["InputLabelProps","classes","root"],w)),shrink:c()("shrink",(0,s.path)(["InputLabelProps","classes","shrink"],w))}),shrink:!(0,O.O27)(t)||void 0}),ref:g||A}),inputRef:g||A,menuIsOpen:k,onMenuOpen:()=>_(!0),onMenuClose:()=>_(!1)}))},_={value:o().oneOfType([o().object,o().array]),label:o().string.isRequired,getOptions:o().func,options:o().array,onChange:o().func,onCreate:o().func,onClear:o().func,createLabel:o().string,components:o().object,textFieldInputRef:o().object,TextFieldProps:o().object,height:o().number,classes:o().object};k.propTypes=_;const A=k},34e3:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),a=n.n(r),l=n(52730),o=n(86051),i=n(98018);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}const s=e=>{const t=(0,l.useSelector)(o.ZP.selectors.getAbsoluteImagePath)||"";return a().createElement(i.ZP,c({},e,{storagePath:(n=t,n.endsWith("/")?n:n+"/")}));var n}},31039:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),a=n.n(r),l=n(52730),o=n(47898),i=n(72383),c=n(86051);const s=(0,r.forwardRef)(((e,t)=>{let{value:n,children:s,screen:p,className:u}=e;const d=(0,l.useDispatch)(),m=(0,r.useContext)(o.m),{generateEntityUrl:f}=(0,r.useContext)(i.v),h=(0,l.useSelector)(c.ZP.selectors.getUIPath),g=(0,r.useCallback)((()=>{d(c.ui.actions.openEntity({uri:n,viewId:m,screen:p}))}),[m,n,d,p]);return a().createElement("a",{ref:t,href:(E=n,f({uiPath:h,uri:E,screen:p})),onClick:e=>{g(),e.stopPropagation(),e.preventDefault()},className:u},s);var E}));s.displayName="EntityUriLink";const p=s},2256:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(24328),a=n.n(r);class l extends a().Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){this.setState({error:e}),console.error(e)}render(){const{children:e,error:t}=this.props;return this.state.error?t:e}}},18461:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(27308);const a=(0,n(5407).Z)(r.ZP)},92575:(e,t,n)=>{n.d(t,{Z:()=>I});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),i=n(50914),c=n(70347);const s=(0,n(5407).Z)(c.ZP);var p=n(5190),u=n(18461),d=n(94079),m=n(71153),f=n.n(m),h=n(95613);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function E(e){const{innerProps:t,innerRef:n,children:r,isFocused:l,isSelected:o,selectProps:{classes:i},label:c}=e;return a().createElement(d.MenuItem,g({className:f()(i.option,{[i["option--selected"]]:o}),ref:n,selected:l,component:"div"},t),a().createElement(d.Checkbox,{color:"primary",checked:o}),a().createElement(h.Z,{value:c},a().createElement("div",{className:i["option--item"]},r)))}E.propTypes={children:o().node,innerProps:o().shape({id:o().string.isRequired,key:o().string,onClick:o().func.isRequired,onMouseMove:o().func.isRequired,onMouseOver:o().func.isRequired,tabIndex:o().number.isRequired}).isRequired,innerRef:o().oneOfType([o().oneOf([null]),o().func,o().shape({current:o().any.isRequired})]),isFocused:o().bool.isRequired,isSelected:o().bool.isRequired,label:o().string,selectProps:o().shape({classes:o().shape({option:o().string})})};const y={Option:E};var b=n(79692),v=n(31276);function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){w(e,t,n[t])}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const T=(0,b.Z)((e=>({label:{top:6,left:16},placeholder:e=>({display:!e.placeholder||e.label?"none":void 0}),"option--selected":{fontWeight:400},clearIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)},dropdownIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)}})));let S=0;function R(e){const{label:t,creatable:n,getOptions:l,loadingIndicator:o,components:c,classes:d,styles:m,onChange:f,onInputChange:h,menuPlacement:g="auto"}=e,E=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),b=n?s:l?u.Z:p.Z,[w,R]=(0,r.useState)(""),I=T((0,i.omit)(["classes"],e)),P="custom-select-"+S++,C=x({},y,c),M=(0,v.ze)(I,d),D=x({indicatorSeparator:e=>x({},e,{margin:"10px 0"}),loadingIndicator:e=>x({},e,{display:o?e.display:"none"}),loadingMessage:e=>x({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},m),N=t?{inputId:P,TextFieldProps:x({label:t,InputLabelProps:{htmlFor:P,shrink:!(!e.value||!e.value.length)||void 0,className:M.label}},e.TextFieldProps)}:{};return a().createElement(b,O({isMulti:!0,inputId:P,inputValue:w,onChange:function(e,t){f(e,t),"create-option"===t.action&&(R(""),h("",{action:"input-change"}))},onInputChange:function(e,t){let{action:n}=t;h(e,{action:n}),"set-value"!==n&&R(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:M,components:C,styles:D,menuPlacement:g,loadOptions:l},N,E))}R.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},R.propTypes={creatable:o().bool,cacheOptions:o().bool,defaultOptions:o().bool,value:o().arrayOf(o().shape({label:o().string.isRequired,value:o().any})),options:o().arrayOf(o().shape({label:o().string.isRequired,value:o().any})),onChange:o().func,onInputChange:o().func,placeholder:o().string,label:o().string,loadingIndicator:o().bool,components:o().shape({ClearIndicator:o().func,Control:o().func,DropdownIndicator:o().func,DownChevron:o().func,CrossIcon:o().func,Group:o().func,GroupHeading:o().func,IndicatorsContainer:o().func,IndicatorSeparator:o().func,Input:o().func,LoadingIndicator:o().func,Menu:o().func,MenuList:o().func,MenuPortal:o().func,LoadingMessage:o().func,NoOptionsMessage:o().func,MultiValue:o().func,MultiValueContainer:o().func,MultiValueLabel:o().func,MultiValueRemove:o().func,Option:o().func,Placeholder:o().func,SelectContainer:o().func,SingleValue:o().func,ValueContainer:o().func}),classes:o().shape({control:o().string,valueContainer:o().string,multiValue:o().string,noOptionsMessage:o().string,singleValue:o().string,placeholder:o().string,menu:o().string,clearIndicator:o().string,dropdownIndicator:o().string,option:o().string,"option--selected":o().string,label:o().string}),styles:o().shape({clearIndicator:o().func,container:o().func,control:o().func,dropdownIndicator:o().func,group:o().func,groupHeading:o().func,indicatorsContainer:o().func,indicatorSeparator:o().func,input:o().func,loadingIndicator:o().func,loadingMessage:o().func,menu:o().func,menuList:o().func,menuPortal:o().func,multiValue:o().func,multiValueLabel:o().func,multiValueRemove:o().func,noOptionsMessage:o().func,option:o().func,placeholder:o().func,singleValue:o().func,valueContainer:o().func}),TextFieldProps:o().object,getOptions:o().func,menuPlacement:o().string,menuPortalTarget:o().object,getOptionValue:o().func,isSearchable:o().bool,inputRef:o().shape({current:o().object})};const I=R},63291:(e,t,n)=>{n.d(t,{Z:()=>C});var r=n(24328),a=n.n(r),l=n(66244),o=n.n(l),i=n(44443),c=n(50914),s=n(71153),p=n.n(s);function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){d(e,t,n[t])}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}const f=e=>{let{x:t,y:n,width:r,height:a,id:l,minWidth:o,minHeight:i,maxWidth:c,maxHeight:s,isStatic:p}=e;return{x:t,y:n,w:r,h:a,minW:o,minH:i,maxW:c,maxH:s,i:l,static:p}},h=e=>{let{x:t,y:n,w:r,h:a,maxW:l,minW:o,minH:i,maxH:c,i:s}=e;return{x:t,y:n,width:r,height:a,minWidth:o,minHeight:i,maxWidth:l,maxHeight:c,id:s,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},g=e=>(e||[]).map(h),E=(0,c.curry)(((e,t)=>(e||[]).find((0,c.propEq)("id",t)))),y=(0,c.curry)(((e,t,n)=>(0,c.mergeAll)([n,(0,c.pick)(e,t)]))),b=(0,c.curry)(((e,t,n)=>(n||[]).map((n=>(0,c.pipe)((0,c.prop)("id"),E(t),(0,c.defaultTo)({}),y(e,c.__,n))(n))))),v=(0,c.curry)(((e,t)=>t.map((n=>{const r=t.filter((e=>e.y===n.y)).map((t=>e[t.id]||!t.autosizing&&t.minHeight||0)),a=Math.max(...r);if(n.height!==a&&a){const e=n.autosizing?{minHeight:a,maxHeight:a}:{};return u({},n,e,{height:a})}return n})))),O=(0,c.curry)(((e,t)=>t.map((t=>{const n=e[t.id];return n&&t.autosizing?u({},t,{minHeight:n,maxHeight:n,height:n}):t}))));var x=n(31276),w=n(79692),T=n(88832);const S=(0,w.Z)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.customView .react-resizable-handle":{width:"10px",height:"10px"},"&.cssTransforms":{transitionProperty:"transform"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,T.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}},isResizing:{zIndex:9,willChange:"width, height",pointerEvents:"none"}})));function R(){return R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}const I={cols:4,rowHeight:30,margin:[15,15]},P=e=>{let{views:t,layout:n,layoutOptions:l=I,onLayoutChanged:s=x.ZT,draggableHandle:u,LayoutItem:d,onRemove:m,onDrop:y,droppingItem:w,isDroppable:T,isStatic:P,classes:C}=e;const M=(0,r.useRef)(),D=(0,r.useRef)({}),N=S(),[j,F]=(0,r.useState)(null),[k,_]=(0,r.useState)(null),[A,z]=(0,r.useState)(0),{cols:L,rowHeight:Z,margin:H}=l,U=(0,r.useMemo)((()=>(e=>(e||[]).map(f))(n)),[n]),B=(0,c.pipe)(g,b(["autosizing"],n),(0,c.ifElse)((0,c.always)(P),v(D.current),O(D.current)),s),V=(0,r.useCallback)((e=>_((t=>t?null:e))),[]),G=null!==k;return a().createElement(a().Fragment,null,a().createElement(i.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>z(e)}),!!A&&a().createElement(o(),{innerRef:M,layout:U,cols:L,draggableHandle:u,autoSize:!0,rowHeight:Z,width:A,margin:H,onLayoutChange:P?void 0:B,isResizable:!P&&!G,isDraggable:!P&&!G,className:p()(null==C?void 0:C.root,N.gridLayout,{[N.gridFullscreen]:G}),onDrop:(e,t,n)=>{y&&y(g(e),h(t),n)},droppingItem:w,isDroppable:!P&&T,onResizeStart:(e,t)=>F(t.i),onResizeStop:()=>F(null),"data-reltio-id":"reltio-grid-layout"},U.map((e=>{const r=k===e.i,o=j===e.i,c=(E(n,e.i)||{}).autosizing?{AutosizeComponent:(s=e.i,a().createElement(i.Z,{handleHeight:!0,onResize:(e,t)=>{if(t){const e=((e,t)=>{const{margin:n,rowHeight:r}=t;return Math.ceil((e+n[1])/(r+n[1]))})(t,l);e!==D.current[s]&&(D.current[s]=e,B(U))}}}))}:{};var s;return a().createElement(d,R({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:V,onRemove:m,className:p()(null==C?void 0:C.item,{static:P,fullscreen:r,[N.isResizing]:o}),isFullscreen:r},c))}))))};P.displayName="ReltioGridLayout";const C=(0,r.memo)(P)},55299:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(24328),a=n.n(r);const l=(0,n(79692).Z)({mark:{color:"red"}}),o=()=>{const e=l();return a().createElement("span",{className:e.mark},"*")}},31517:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),a=n.n(r),l=n(24737),o=n(13980),i=n.n(o),c=n(94079);const s=(0,n(79692).Z)({value:{color:"rgba(0, 0, 0, 0.87)"},placeholder:{color:"rgba(0, 0, 0, 0.38)",fontSize:"14px !important"}}),p=e=>{let{selectProps:{menuIsOpen:t},data:{label:n}}=e;const r=s();return!t&&a().createElement(c.Typography,{variant:"body2",classes:{root:r.value}},n)};p.propTypes={selectProps:i().shape({menuIsOpen:i().bool}),data:i().shape({label:i().string})};const u=p;function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}const m=e=>{const t=s(),{innerProps:n={},children:r}=e;return a().createElement(c.Typography,d({className:t.placeholder},n),r)};function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}m.propTypes={children:i().node,innerProps:i().object,selectProps:i().object.isRequired};const h={SingleValue:u,Placeholder:m},g=(0,r.memo)((e=>{let t=f({},e);return a().createElement(l.Z,f({components:h},t))}))},51229:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(24328),a=n.n(r);const l=()=>a().createElement("div",{style:{flex:1}})},85451:(e,t,n)=>{n.d(t,{Z:()=>O});var r=n(24328),a=n.n(r),l=n(52730),o=n(2507),i=n.n(o),c=n(50914),s=n(71153),p=n.n(s),u=n(94079),d=n(92575),m=n(96808),f=n(88832),h=n(86051),g=n(79692);function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){y(e,t,n[t])}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const b={input:e=>E({},e,{fontSize:"14px"}),loadingMessage:e=>E({},e,{fontSize:"14px"}),menuPortal:e=>E({},e,{zIndex:1300})},v=(0,g.Z)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"}}),O=e=>{let{selectedUsers:t,onChange:n,className:o,disableUnderline:s}=e;const g=v(),E=e=>({value:e,label:e}),y=e=>e.map(E),O=(0,l.useSelector)(h.ZP.selectors.getTenant),x=(0,l.useSelector)(h.ZP.selectors.getServicesPath),w=(0,r.useRef)();return a().createElement("div",{className:p()(g.root,o)},a().createElement(u.Typography,{className:g.title,variant:"subtitle1"},i().text("User")),a().createElement(d.Z,{value:y(t),onChange:(0,c.pipe)((0,c.defaultTo)([]),(0,c.pluck)("value"),n),defaultOptions:!0,getOptions:e=>(w.current||(w.current=(0,f.kz_)({tenant:O,servicesPath:x})),w.current.then((0,c.pipe)((0,c.pluck)("username"),(e=>t=>e?t.filter((t=>f.P6Y.strings.search(t,e))):t)(e),y))),TextFieldProps:{InputProps:{disableUnderline:s},className:g.dropDownInput},components:{DropdownIndicator:m.Z},styles:b,classes:g,menuPortalTarget:document.body}))}},31537:(e,t,n)=>{let r;n.d(t,{I:()=>r}),function(e){e.MODEL_UPDATED="MODEL_UPDATED",e.ENTITY_REMOVED="ENTITY_REMOVED",e.ENTITY_CREATED="ENTITY_CREATED",e.ENTITY_CHANGED="ENTITY_CHANGED",e.ENTITIES_MERGED="ENTITIES_MERGED",e.ENTITIES_SPLITTED="ENTITIES_SPLITTED",e.ENTITY_LOST_MERGE="ENTITY_LOST_MERGE",e.RELATIONSHIP_CREATED="RELATIONSHIP_CREATED",e.RELATIONSHIP_REMOVED="RELATIONSHIP_REMOVED",e.RELATIONSHIP_CHANGED="RELATIONSHIP_CHANGED",e.POTENTIAL_MATCHES_FOUND="POTENTIAL_MATCHES_FOUND",e.NOT_MATCHES_SET="NOT_MATCHES_SET",e.NOT_MATCHES_RESET="NOT_MATCHES_RESET",e.PERIODIC_TASK_SCHEDULED="PERIODIC_TASK_SCHEDULED",e.ENTITIES_MERGED_MANUALLY="ENTITIES_MERGED_MANUALLY",e.POTENTIAL_MATCHES_REMOVED="POTENTIAL_MATCHES_REMOVED",e.ENTITIES_MERGED_ON_THE_FLY="ENTITIES_MERGED_ON_THE_FLY",e.USER_LOGIN="USER_LOGIN",e.USER_LOGOUT="USER_LOGOUT",e.USER_SEARCH="USER_SEARCH",e.USER_PROFILE_VIEW="USER_PROFILE_VIEW",e.COMMENT_ADDED="COMMENT_ADDED",e.COMMENT_UPDATED="COMMENT_UPDATED",e.COMMENT_DELETED="COMMENT_DELETED",e.ANALYTICS_ATTRIBUTES_CHANGED="ANALYTICS_ATTRIBUTES_CHANGED",e.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE="SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE",e.GROUP_CREATED="GROUP_CREATED",e.GROUP_REMOVED="GROUP_REMOVED",e.GROUP_CHANGED="GROUP_CHANGED"}(r||(r={}))},34606:(e,t,n)=>{n.d(t,{te:()=>u,Io:()=>d,rx:()=>m,_V:()=>f,Xr:()=>h});var r=n(88832),a=n(50914),l=n(2507),o=n.n(l),i=n(31537);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){s(e,t,n[t])}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p=(0,a.path)(["data","type"]),u=e=>{const{items:t,label:n}=e,[r]=t||[];return p(r)||n},d=e=>{const{items:t=[],label:n}=e,r=e=>{return t=p(e)||n,(0,a.pipe)(a.values,(0,a.includes)(t))(i.I);var t},l=(0,a.filter)(r)(t);return t.length!==l.length&&console.error("Activities not implemented:",(0,a.reject)(r)(t)),c({},e,{items:l,itemsTotal:l.length})},m=e=>(0,a.pipe)((0,a.propOr)([],"items"),(0,a.groupBy)(p),a.values,(0,a.ifElse)((e=>{let{length:t}=e;return t>1}),(0,a.map)((t=>c({},e,{items:t,itemsTotal:t.length}))),(()=>[e])))(e),f=(e,t,n,l)=>{const o=(0,r.zeJ)(n,t),i=(0,r.PFL)(o),c=(0,r.mB6)({attributePresentations:l,dataTypeDefinition:i});return(0,a.isNil)(e)?"":"string"==typeof e?o?c(e):e:Object.entries(e).flatMap((e=>{let[a,o]=e;return o.map((e=>f(e.value,(0,r.tCm)(t,a),n,l)))})).join(", ")},h=e=>({[i.I.COMMENT_ADDED]:o().text("Comment added"),[i.I.COMMENT_DELETED]:o().text("Comment deleted"),[i.I.COMMENT_UPDATED]:o().text("Comment updated"),[i.I.ENTITIES_MERGED]:o().text("Profile merged"),[i.I.ENTITIES_MERGED_MANUALLY]:o().text("Profile merged manually"),[i.I.ENTITIES_MERGED_ON_THE_FLY]:o().text("Profile merged on the fly"),[i.I.ENTITIES_SPLITTED]:o().text("Profile un-merged"),[i.I.ENTITY_CHANGED]:o().text("Profile updated"),[i.I.ENTITY_CREATED]:o().text("Profile created"),[i.I.ENTITY_LOST_MERGE]:o().text("Profile lost merge"),[i.I.ENTITY_REMOVED]:o().text("Profile removed"),[i.I.GROUP_CHANGED]:o().text("Group updated"),[i.I.GROUP_CREATED]:o().text("Group created"),[i.I.GROUP_REMOVED]:o().text("Group removed"),[i.I.MODEL_UPDATED]:o().text("Model was updated"),[i.I.NOT_MATCHES_RESET]:o().text("Not matches reset"),[i.I.NOT_MATCHES_SET]:o().text("Not matches set"),[i.I.PERIODIC_TASK_SCHEDULED]:o().text("Periodic task was scheduled"),[i.I.POTENTIAL_MATCHES_FOUND]:o().text("Potential matches found"),[i.I.POTENTIAL_MATCHES_REMOVED]:o().text("Potential matches removed"),[i.I.RELATIONSHIP_CHANGED]:o().text("Relationship updated"),[i.I.RELATIONSHIP_CREATED]:o().text("Relationship created"),[i.I.RELATIONSHIP_REMOVED]:o().text("Relationship removed"),[i.I.USER_LOGIN]:o().text("Logged in"),[i.I.USER_LOGOUT]:o().text("Logged out"),[i.I.USER_PROFILE_VIEW]:o().text("Profile viewed"),[i.I.USER_SEARCH]:o().text("Searched"),[i.I.ANALYTICS_ATTRIBUTES_CHANGED]:o().text("Analytics attribute changed"),[i.I.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE]:o().text("SFDC connector synchronization issue")}[e]||"")},51843:(e,t,n)=>{n.d(t,{Z:()=>E});var r=n(24328),a=n.n(r),l=n(95038),o=n.n(l),i=n(2507),c=n.n(i),s=n(50914),p=n(88832),u=n(31276),d=n(94079),m=n(96808),f=n(82943);const h=(0,n(79692).Z)({root:{flex:1},dropdownIndicator:{transition:"transform .15s ease"},inputRoot:{fontSize:"14px",height:46},input:{padding:"0 12px 0"},dateOptionLabel:{minWidth:"100px"},paper:{minWidth:"112px"}}),g=o().localeData().longDateFormat("L"),E=e=>{let{values:t,onChange:n,onFocus:l=u.ZT}=e;const o=g,i=(0,r.useRef)(null),[E,y]=(0,r.useState)(!1),b=h(),v=(0,r.useCallback)((()=>{y((e=>!e)),l()}),[l]),O=()=>{y(!1)};return a().createElement("div",{className:b.root},a().createElement(d.TextField,{fullWidth:!0,value:t.map((e=>((e,t)=>(0,s.isNil)(e)?`${t}`:`${(0,p.mB6)({dataTypeDefinition:{type:p.oS0.TYPE_ACTIVENESS_DATE}},e)}`)(e,o))).join(" — "),onClick:v,variant:"filled",ref:i,InputProps:{endAdornment:a().createElement(m.Z,{selectProps:{classes:b,menuIsOpen:E},innerProps:{}}),disableUnderline:(0,s.isNil)(t),readOnly:!0,classes:{root:b.inputRoot,input:b.input}},InputLabelProps:{shrink:!1},placeholder:c().text(`${o} — ${o}`)}),a().createElement(d.Menu,{variant:"menu",open:E,autoFocus:!1,classes:{paper:b.paper},anchorEl:i.current,onClose:O,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},elevation:2,getContentAnchorEl:null,MenuListProps:{autoFocusItem:E,style:{width:"100%"}}},a().createElement(f.Z,{values:t,onCancel:O,onApply:e=>{n(e),y(!1)},type:p.oS0.TYPE_ACTIVENESS_DATE})))}},72383:(e,t,n)=>{n.d(t,{v:()=>o});var r=n(24328),a=n.n(r),l=n(88832);const o=a().createContext({generateEntityUrl:l.OuZ,generatePivotingUrl:l.FQ2,generateTagUrl:l.W$R});o.displayName="UrlGeneratorsContext"},47898:(e,t,n)=>{n.d(t,{m:()=>a});var r=n(24328);const a=n.n(r)().createContext(null);a.displayName="ViewIdContext"},71543:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(24328),a=n.n(r);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}const o=e=>a().createElement("svg",l({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("path",{d:"M14 11v-1a1 1 0 011-1h4a1 1 0 011 1v4a1 1 0 01-1 1h-4a1 1 0 01-1-1v-1h-3v1a1 1 0 01-1 1H6a1 1 0 01-1-1v-4a1 1 0 011-1h4a1 1 0 011 1v1h3z",fill:"#000",stroke:"none",strokeWidth:1,fillRule:"evenodd"}))},32944:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(24328),a=n.n(r),l=n(94079);const o=(0,n(79692).Z)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),i=()=>{const e=o();return a().createElement(l.LinearProgress,{color:"primary",className:e.loader,"data-reltio-id":"dashboard-item-loader"})}},58141:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),a=n.n(r),l=n(10237),o=n(92316);const i=(0,n(79692).Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden",boxShadow:"none"}}))),c=e=>{let{id:t,children:n}=e;const r=i();return a().createElement(o.H.Provider,{value:t},a().createElement(l.Z,{className:r.view,"data-reltio-id":`layout-item-${t}`},n))}},92316:(e,t,n)=>{n.d(t,{H:()=>a});var r=n(24328);const a=n.n(r)().createContext(null);a.displayName="DashboardViewIdContext"},22243:(e,t,n)=>{n.d(t,{Z:()=>un});var r=n(24328),a=n.n(r),l=n(52730),o=n(50914),i=n(2507),c=n.n(i),s=n(83535),p=n(98884),u=n(86051),d=n(67885),m=n(88832);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h=e=>{let{options:t,offset:n,max:a}=e;const[l,i]=(0,r.useState)([]),[c,s]=(0,r.useState)(0),[p,u]=(0,r.useState)(d.o.INIT),h=e=>{console.error(e),u(d.o.ERROR),i([])},g=(0,r.useCallback)((()=>{u(d.o.LOADING);const e=e=>{i(e.result||[]),s(e.total),u(d.o.LOADED)},r=t||{},{countResults:l}=r,c=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,["countResults"]);(async()=>{const{result:t=[],total:r}=await(0,m.cZV)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){f(e,t,n[t])}))}return e}({offset:n,max:a},c));if(l){const n=t.map((e=>(0,m.OaI)((0,m.dWE)(e.query)))),a=(await(0,m.RGr)(n)).reduce(((e,t,n)=>{let{status:r,value:a,reason:l}=t;switch(r){case"fulfilled":return(0,o.assocPath)([n,"count"],a.total,e);case"rejected":console.error(l)}return e}),t);e({result:a,total:r})}else e({result:t,total:r})})().catch(h)}),[t,a,n]),E=()=>{try{g()}catch(e){h(e)}};return(0,r.useEffect)((()=>{E()}),[g]),{state:p,data:l,reload:E,total:c}},g=[10,25,50,100],[E]=g,y=e=>g.filter((t=>t!==e)).concat(e).sort(o.subtract);var b=n(58141),v=n(92778),O=n(92316),x=n(94079),w=n(43054),T=n(79692);const S=(0,T.Z)((()=>({itemTitle:{fontSize:"13px"},itemIcon:{minWidth:"49px"},menuItem:{padding:"12px 16px",minWidth:"177px"},openIcon:{padding:"4px",borderRadius:"2px",marginTop:"-6px",marginRight:"-10px"}}))),R=e=>{let{items:t}=e;const[n,l]=(0,r.useState)(null),o=Boolean(n),i=S(),c=()=>l(null),s=e=>()=>{c(),e()};return a().createElement(a().Fragment,null,a().createElement(x.IconButton,{className:i.openIcon,"aria-controls":"menu","aria-haspopup":"true",onClick:e=>l(e.currentTarget)},a().createElement(w.Z,null)),a().createElement(x.Menu,{id:"menu",anchorEl:n,open:o,onClose:c,transitionDuration:0,getContentAnchorEl:null,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},t.filter((e=>e.active)).map((e=>{let{id:t,icon:n,title:r,action:l}=e;return a().createElement(x.MenuItem,{key:t,onClick:s(l),className:i.menuItem},a().createElement(x.ListItemIcon,{className:i.itemIcon},n),a().createElement(x.Typography,{className:i.itemTitle},r))}))))};var I=n(29103),P=n(83911),C=n(41039),M=n(43266),D=n(14940),N=n(71153),j=n.n(N);const F=(0,T.Z)((()=>({toolbarRoot:{padding:"16px",minHeight:"18px",lineHeight:"18px",marginBottom:"8px"},title:{fontSize:"16px",lineHeight:"20px",fontWeight:"normal",color:"rgba(0, 0, 0, 0.87)",letterSpacing:"0.15px",marginRight:"6px"},dragIcon:{position:"absolute",left:"50%",top:"-3px",transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",cursor:"move",zIndex:8,visibility:"hidden",".react-draggable $toolbarRoot:hover &.viewDraggableHandle":{visibility:"visible"}},rightMenu:{display:"flex",flexGrow:1,justifyContent:"flex-end",alignItems:"baseline"},updatedChip:{background:"#FF9E1B",height:20,fontSize:"10px",color:"white",marginRight:"6px"}}))),k=e=>{let{title:t,onToggleFullscreen:n,isUpdated:l=!1,isFullscreen:o,onRemove:i,onRefresh:s,children:p}=e;const u=(0,r.useContext)(O.H),d=(0,r.useMemo)((()=>[{id:"refresh",title:c().text("Refresh"),icon:a().createElement(M.Z,null),active:!!s,action:()=>s()},{id:"fullscreen",title:c().text("Fullscreen"),icon:a().createElement(I.Z,null),active:!o,action:()=>n(u)},{id:"exitFullscreen",title:c().text("Exit fullscreen"),icon:a().createElement(P.Z,null),active:o,action:()=>n(u)},{id:"remove",title:c().text("Remove"),icon:a().createElement(C.Z,null),active:!!i,action:()=>{i(u),o&&n(u)}}]),[u,o,i,n,s]),m=F();return a().createElement(v.Z,{title:t,className:m.toolbarRoot,classes:{title:m.title}},l&&a().createElement(x.Chip,{label:c().text("Updated"),size:"small",className:m.updatedChip}),a().createElement("div",{className:m.rightMenu},p,a().createElement(R,{items:d})),a().createElement(D.Z,{className:j()("viewDraggableHandle",m.dragIcon)}))};var _=n(2256),A=n(4094);function z(){return z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(this,arguments)}const L=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["styles"]);return a().createElement("svg",z({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),a().createElement("mask",{id:"svg2791016623a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},a().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#fff"})),a().createElement("g",{mask:"url(#svg2791016623a)"},a().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#0072CE",fillOpacity:".1"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#nodata__paint0_linear)"}),a().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},a().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),a().createElement("path",{opacity:".9",d:"M16.766 26.021a4.626 4.626 0 014.623-4.63h129.406a4.623 4.623 0 014.623 4.63v88.107a4.625 4.625 0 01-4.623 4.631H21.389a4.623 4.623 0 01-4.623-4.631V26.021z"})),a().createElement("path",{opacity:".5",d:"M141.553 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 46.313a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 01-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),a().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 46.19h37.054a2.029 2.029 0 010 4.057H47.102a2.028 2.028 0 110-4.057z",fill:"#B1AABD"}),a().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 53.725h67.006a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),a().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 58.941h21.62a.87.87 0 010 1.74h-21.62a.87.87 0 110-1.74z",fill:"#B1AABD"}),a().createElement("path",{opacity:".5",d:"M71.35 30.664H31.508a3.188 3.188 0 100 6.375H71.35a3.188 3.188 0 000-6.375z",fill:"#645F6D"}),a().createElement("path",{opacity:".5",d:"M141.553 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.318 2.315 2.315 0 002.311 2.319zM133.465 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.318 2.314 2.314 0 002.311 2.319z",fill:"#6DBCFF"}),a().createElement("path",{d:"M39.297 73.824a5.488 5.488 0 10-10.977 0v.035a5.488 5.488 0 0010.977 0v-.035z",fill:"#E3EBF4"}),a().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 68.214h43.894a2.029 2.029 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),a().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 75.748h74.516a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),a().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 80.965h60.077a.87.87 0 010 1.739H45.943a.87.87 0 010-1.74z",fill:"#B1AABD"}),a().createElement("path",{opacity:".5",d:"M141.553 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 90.36a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 11-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),a().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 90.237h58.915a2.028 2.028 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),a().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 97.772h49.096a1.449 1.449 0 110 2.897H46.524a1.448 1.448 0 110-2.897z",fill:"#B1AABD"}),a().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 102.988h21.62a.87.87 0 010 1.739h-21.62a.87.87 0 110-1.739z",fill:"#B1AABD"}),a().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M102.927 64.75l44.536 77.139-58.989 34.057-44.536-77.14.405-.234c4.06 9.263 12.074 16.712 22.462 19.616 18.103 5.059 36.562-5.599 41.232-23.805 2.679-10.449.235-21.113-5.757-29.26l.647-.374z",fill:"url(#nodata__paint1_linear)"}),a().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"url(#nodata__paint2_linear)"}),a().createElement("g",{filter:"url(#nodata__filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},a().createElement("path",{d:"M74.981 49.719c19.06 0 34.512 15.462 34.512 34.536a34.418 34.418 0 01-8.665 22.886l29.603 29.623a51.708 51.708 0 01-5.837 5.43l-29.705-29.725a34.338 34.338 0 01-19.908 6.322c-19.06 0-34.512-15.462-34.512-34.536S55.92 49.719 74.98 49.719zm0 10.265c-13.395 0-24.254 10.866-24.254 24.27 0 13.405 10.859 24.272 24.254 24.272 13.395 0 24.254-10.867 24.254-24.271S88.376 59.984 74.981 59.984z",fill:"#B5C8C9"}),a().createElement("path",{d:"M52.903 110.801c-7.598-6.335-12.434-15.876-12.434-26.546 0-19.074 15.451-34.536 34.512-34.536 10.663 0 20.197 4.839 26.528 12.442l-5.662 5.667c-4.862-6.175-12.401-10.14-20.866-10.14-14.662 0-26.548 11.895-26.548 26.567 0 8.47 3.962 16.015 10.132 20.88l-5.662 5.666z",fill:"#fff",fillOpacity:".4"})),a().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"#D9F5FF"})),a().createElement("g",{style:{mixBlendMode:"overlay"}},a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#000",fillOpacity:".87"})),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#3C74B4",fillOpacity:".38"})),a().createElement("defs",null,a().createElement("linearGradient",{id:"nodata__paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},a().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),a().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),a().createElement("linearGradient",{id:"nodata__paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},a().createElement("stop",{stopOpacity:"0"}),a().createElement("stop",{offset:"1"})),a().createElement("linearGradient",{id:"nodata__paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},a().createElement("stop",{stopColor:"#EEFBFF"}),a().createElement("stop",{offset:"1",stopColor:"#0072CE"})),a().createElement("filter",{id:"nodata__filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),a().createElement("feOffset",{dy:"2"}),a().createElement("feGaussianBlur",{stdDeviation:"2"}),a().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),a().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),a().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},Z=(0,T.Z)((()=>({noDataContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},icon:{height:"88px",width:"88px",marginBottom:"20px"}}))),H=e=>{let{height:t}=e;const n=Z({height:t});return a().createElement("div",{className:n.noDataContainer},a().createElement(L,{className:n.icon}),a().createElement(x.Typography,null,c().text("No Data")))};function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}const B=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["styles"]);return a().createElement("svg",U({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),a().createElement("mask",{id:"svg3217593551a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},a().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#fff"})),a().createElement("g",{mask:"url(#svg3217593551a)"},a().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#CAC4D5",fillOpacity:".3"}),a().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M19.987 6.73l49.449 6.072a.687.687 0 01.596.767l-7.845 63.888a.688.688 0 01-.766.6L7.214 71.4a.688.688 0 01-.599-.763l.408-3.326L19.987 6.73z",fill:"#fff"}),a().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M1.267 25.921l45.86-19.466a.687.687 0 01.9.366l25.15 59.251a.61.61 0 01-.386.84L22.34 82.765a.719.719 0 01-.887-.445l-20.185-56.4z",fill:"#fff"}),a().createElement("path",{d:"M65.631 9.23H11.017a.688.688 0 00-.687.687v64.37c0 .38.307.687.687.687h54.614c.38 0 .688-.308.688-.687V9.917a.688.688 0 00-.688-.688z",fill:"#F9F9F9"}),a().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.95l3.105-1.666 7.31-4.025 8.852 3.472 7.89-5.223 8.036-2.628 8.113 5.193 3.352-10.255v16.967H14.935l-.05-1.835z",fill:"#9C6CF0"}),a().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 32.331l3.105-3.761 7.31 4.31 8.852 1.656 7.89-2.205 8.036 1.827 8.113-12.643 3.352.742V36.36H14.935l-.05-4.029z",fill:"#FA82AA"}),a().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.946l3.105.432 7.31 1.01 8.852-5.117 7.89 3.675 8.036 1.839 8.113-1.839 3.352.811v1.028H14.935l-.05-1.839z",fill:"#4DBEE9"}),a().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M61.543 35.288l-.05 1.497H14.885v-5.239l3.352-.276 8.114 4.697 8.036-.679 7.889.82 8.852-.616 7.31-1.601 3.105 1.397z",fill:"#4DBEE9"}),a().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),a().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM25.914 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM39.91 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM21.248 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM35.245 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM30.58 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM44.577 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272z",fill:"#BDBDBD"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.272-1.273zM25.914 62.658c.702 0 1.272.57 1.272 1.273v5.09a1.272 1.272 0 11-2.545 0v-5.09c0-.703.57-1.273 1.273-1.273zM39.91 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.273-1.273zM21.248 66.477c.702 0 1.272.57 1.272 1.272v1.273a1.273 1.273 0 01-2.545 0v-1.273c0-.703.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),a().createElement("path",{d:"M36.518 65.628a1.272 1.272 0 00-2.545 0v3.393a1.272 1.272 0 102.545 0v-3.393zM31.852 62.234a1.272 1.272 0 10-2.545 0v6.787a1.272 1.272 0 102.545 0v-6.787z",fill:"#4DBEE9"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.577 60.962c.702 0 1.272.57 1.272 1.272v6.787a1.273 1.273 0 01-2.545 0v-6.787c0-.702.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),a().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),a().createElement("path",{opacity:".5",d:"M34.185 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),a().createElement("path",{opacity:".3",d:"M49.454 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),a().createElement("path",{opacity:".8",d:"M26.55 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#FB6597"}),a().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),a().createElement("path",{opacity:".2",d:"M57.09 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),a().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM31.851 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 110-.849zM47.121 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 010-.849zM24.217 19.818h4.665a.424.424 0 010 .849h-4.665a.424.424 0 010-.849zM39.486 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM54.756 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849z",fill:"#ACACAC"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.946 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM15.946 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM15.946 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM23.58 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM23.58 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM23.58 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM49.454 43.571h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 46.116h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 48.661h11.028a.636.636 0 010 1.273H49.454a.636.636 0 110-1.273zM31.215 43.571h15.27a.636.636 0 110 1.273h-15.27a.636.636 0 010-1.273zM31.215 46.116h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM31.215 48.661h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM15.946 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM23.58 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM49.454 51.206h11.028a.636.636 0 010 1.272H49.454a.636.636 0 110-1.272zM31.215 51.206h15.27a.636.636 0 110 1.272h-15.27a.636.636 0 010-1.272z",fill:"#E9E9E9"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 55.872h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 110-1.273z",fill:"#ACACAC"}),a().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 59.69h11.029a.636.636 0 010 1.272H49.878a.636.636 0 110-1.273zM49.878 62.234h11.029a.636.636 0 010 1.273H49.878a.636.636 0 010-1.273zM49.878 64.78h11.029a.636.636 0 010 1.272H49.878a.636.636 0 010-1.273z",fill:"#E9E9E9"}),a().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),a().createElement("g",{filter:"url(#error__filter0_d)"},a().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#000"})),a().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#F25252"}),a().createElement("path",{opacity:".15",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 34.719c12.34 0 22.344 10.003 22.344 22.343S69.746 79.406 57.406 79.406c-12.34 0-22.343-10.003-22.343-22.344 0-12.34 10.003-22.343 22.343-22.343zm-.172 2.406c-10.916 0-19.765 8.85-19.765 19.766 0 10.916 8.85 19.765 19.765 19.765C68.151 76.656 77 67.806 77 56.891c0-10.917-8.85-19.766-19.766-19.766z",fill:"#F25252"}),a().createElement("path",{opacity:".3",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 38.844c10.062 0 18.219 8.157 18.219 18.218 0 10.062-8.157 18.22-18.219 18.22-10.062 0-18.218-8.158-18.218-18.22 0-10.061 8.156-18.218 18.218-18.218zm0 2.043c-8.933 0-16.175 7.242-16.175 16.175 0 8.934 7.242 16.176 16.175 16.176 8.934 0 16.176-7.242 16.176-16.175 0-8.934-7.242-16.176-16.176-16.176z",fill:"#F25252"}),a().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 26.469C74.303 26.469 88 40.166 88 57.062c0 16.897-13.697 30.594-30.594 30.594-16.896 0-30.593-13.697-30.593-30.594 0-16.896 13.697-30.593 30.593-30.593zm-.172 3.437c-14.903 0-26.984 12.082-26.984 26.985 0 14.903 12.081 26.984 26.984 26.984 14.903 0 26.985-12.081 26.985-26.984 0-14.903-12.082-26.985-26.985-26.985z",fill:"#F25252"}),a().createElement("path",{d:"M57.406 71.844c8.164 0 14.782-6.618 14.782-14.781 0-8.164-6.618-14.782-14.782-14.782-8.163 0-14.781 6.618-14.781 14.782 0 8.163 6.618 14.78 14.781 14.78z",fill:"#FF6A6A"}),a().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#error__paint0_linear)"}),a().createElement("g",{filter:"url(#error__filter1_d)"},a().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),a().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),a().createElement("g",{filter:"url(#error__filter2_d)"},a().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#000"})),a().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#fff"})),a().createElement("defs",null,a().createElement("filter",{id:"error__filter0_d",x:"36.219",y:"37.875",width:"42.375",height:"42.375",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),a().createElement("feOffset",{dy:"2"}),a().createElement("feGaussianBlur",{stdDeviation:"2"}),a().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),a().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),a().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),a().createElement("filter",{id:"error__filter1_d",x:"51.688",y:"62.625",width:"11.438",height:"11.438",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),a().createElement("feOffset",{dy:"2"}),a().createElement("feGaussianBlur",{stdDeviation:"2"}),a().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),a().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),a().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),a().createElement("filter",{id:"error__filter2_d",x:"51.688",y:"44.063",width:"11.438",height:"23.813",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),a().createElement("feOffset",{dy:"2"}),a().createElement("feGaussianBlur",{stdDeviation:"2"}),a().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),a().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),a().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),a().createElement("linearGradient",{id:"error__paint0_linear",x1:"68.438",y1:"71.571",x2:"60.119",y2:"58.801",gradientUnits:"userSpaceOnUse"},a().createElement("stop",{stopOpacity:"0"}),a().createElement("stop",{offset:"1"}))))},V=(0,T.Z)((e=>({errorContainer:e=>{let{height:t}=e;return{height:t?`${t}px`:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"}},errorIcon:{height:"88px",width:"88px",marginBottom:"20px",paddingTop:"36px"},refreshButton:{color:e.palette.primary.main,marginTop:"10px"},refreshIcon:{width:"24px",height:"24px"}}))),G=e=>{let{height:t,onRefresh:n,message:r}=e;const l=V({height:t});return a().createElement("div",{className:l.errorContainer},a().createElement(B,{className:l.errorIcon}),a().createElement(x.Typography,null,r),n&&a().createElement(x.Button,{className:l.refreshButton,startIcon:a().createElement(M.Z,{color:"primary",className:l.refreshIcon}),onClick:n},a().createElement(x.Typography,{variant:"button"},c().text("Refresh"))))};var W=n(32944),Y=n(44443);const $=(0,T.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},toolbarRoot:{padding:"16px",minHeight:"18px",lineHeight:"18px",marginBottom:"8px","&:hover .viewDraggableHandle":{visibility:"visible"}},title:{fontSize:"16px",lineHeight:"19px",fontWeight:"normal",color:"rgba(0, 0, 0, 0.87)",letterSpacing:"0.15px"},dragIcon:{position:"absolute",left:"50%",top:"-3px",transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",cursor:"move",zIndex:8,visibility:"hidden"}}))),q=e=>{let{loadingState:t,onRefresh:n,children:r,data:l,className:o,EmptyPlaceholder:i}=e;const s=$();return a().createElement(A.Z,{className:j()(s.viewContent,o)},a().createElement(Y.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:o,height:s}=e;switch(t){case d.o.LOADED:return l&&0!==l.length?a().createElement(_.Z,{error:a().createElement(G,{message:c().text("Something went wrong"),height:s})},r({data:l,width:o,height:s})):i||a().createElement(H,{height:s});case d.o.LOADING:return a().createElement(W.Z,null);case d.o.ERROR:return a().createElement(G,{message:c().text("Error Loading Data"),height:s,onRefresh:n});default:return a().createElement("div",null,"Loading...")}})))};var K=n(58662);function X(){return X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(this,arguments)}function Q(e){const t=t=>{const n=(0,r.useRef)(null);return a().createElement(a().Fragment,null,a().createElement(e,X({},t,{basicTableRef:n,height:t.height-60})),a().createElement(K.Z,X({},t,{basicTableRef:n})))};return t.displayName="WithPagination",t}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ee(e,t,n[t])}))}return e}function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const te=e=>{let{uiState:t,uri:n}=e;return"2.0"===t.version?J({},t,{currentSavedSearchUri:n}):J({},t.state,{curSavedSearchUri:n})},ne=Q(s.Z),re=(0,r.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:s,onRemove:d}=e;const{id:m,title:f,options:g,max:v=E}=t,O=(0,r.useMemo)((()=>y(v)),[v]),[x,w]=(0,r.useState)(v),[T,S]=(0,r.useState)(0),{data:R,state:I,reload:P,total:C}=h({options:g,max:x,offset:x*T}),M=(0,r.useMemo)((()=>(e=>e.map((e=>{let{uri:t,name:n,count:r}=e;return{value:r||0,label:n||"",group:t}})))(R)),[R]),D=(0,l.useDispatch)(),N=(0,r.useCallback)((e=>{(0,o.pipe)((0,o.find)((0,o.propEq)("uri",e)),te,u.ui.actions.openSearch,D)(R)}),[D,R]);return(0,p.T)({state:I,reload:P}),a().createElement(b.Z,{id:m},a().createElement(k,{title:f,onToggleFullscreen:n,isFullscreen:s,isUpdated:i,onRefresh:P,onRemove:d}),a().createElement(q,{loadingState:I,onRefresh:P,data:M},(e=>{let{data:t,width:n,height:r}=e;return a().createElement(ne,{width:n,height:r,data:t,count:C,onChangePage:S,page:T,rowsPerPage:x,onChangeRowsPerPage:w,rowsPerPageOptions:O,options:{headers:[c().text("Name")],showValues:null==g?void 0:g.countResults},onItemClick:N})})))}));var ae=n(56259),le=n(66675);const oe=(0,o.when)((0,o.pipe)((0,o.prop)("filter"),(0,o.includes)(o.__,[m.j5E.IN_RANGE,m.j5E.HAS_ALL])),(0,o.evolve)({values:m.FTe})),ie=(0,o.curry)(((e,t)=>({filter:m.j5E.NOT_EQUALS,values:[t],fieldName:e}))),ce=e=>{var t,n,r;return{filter:null!==(t=null==e?void 0:e.filter)&&void 0!==t?t:m.j5E.EQUALS,values:null!==(n=null==e?void 0:e.values)&&void 0!==n?n:[],fieldName:null!==(r=null==e?void 0:e.fieldName)&&void 0!==r?r:""}},se=e=>({filter:m.j5E.EQUALS,fieldName:"type",values:[e]}),pe=(0,o.curry)(((e,t)=>({filter:m.j5E.EQUALS,values:[t],fieldName:e}))),ue=(0,o.curry)(((e,t,n)=>{const{fieldName:r}=n,a=/^(attributes|analyticsAttributes)/.test(r),l=a?(0,m.zeJ)(e,(0,m.h2W)(r,t)):(0,m.Yxg)(r);return(0,o.pipe)(oe,(0,o.when)((()=>a),(0,o.assoc)("entityType",t)),(0,o.when)((()=>(0,m.Lt4)(l.type)),(0,o.evolve)({values:(0,o.map)((0,m.mOr)(m.ZBU))})))(n)})),de=e=>{let{filter:t,fieldName:n}=e;return t===m.j5E.EQUALS&&"type"===n},me=(e,t)=>{let{filter:n,fieldName:r,values:a}=e;return n===m.j5E.EQUALS&&"type"===r&&(null==a?void 0:a[0])===t};function fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){he(e,t,n[t])}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ge=e=>{let{attribute:t,filters:n,globalFilter:r,searchByOv:a,activityFilter:l,pageSize:i,orderType:c}=e;const s=((e,t,n,r)=>{const a=(0,o.pipe)((0,o.map)(oe),(0,m.Uqd)(),(0,m.vyX)(t))(e),l=a?[`filter=${a}`]:[];return n&&l.push("options=searchByOv"),r&&l.push(`activeness=${r}`),l.join("&")})(n,r,a,l),p=[{fieldName:t,pageNo:1,orderType:c,pageSize:i}];return(0,m.FK9)({query:s,body:p}).then((e=>(0,o.pipe)((0,o.prop)(t),(0,o.defaultTo)({}),Object.entries,(0,o.map)((e=>{let[t,n]=e;return{label:t,group:t,value:n}})),(0,o.sortWith)([(0,o.descend)((0,o.prop)("value")),(0,o.ascend)((0,o.prop)("label"))]))(e)))},Ee=(0,o.curry)(((e,t)=>{const n=t.map((t=>{let{label:n}=t;return{codeValue:n,type:e}}));return(0,m.hK$)(n).then((n=>{const r=n.flatMap((0,m.Z2f)(e));return t.map((e=>{const t=r.find((t=>{let{lookupCode:n}=t;return n===e.label}));return t?fe({},e,{label:t.value}):e}))}))})),ye=(0,o.curry)(((e,t)=>t.map((0,o.pipe)((0,o.prop)("group"),ie(e))))),be="Other",ve=(0,o.curry)(((e,t)=>{let{attribute:n,filters:r,globalFilter:a,searchByOv:l,activityFilter:i}=e;const s=(0,o.pipe)(ye(n),(0,o.concat)(r),(0,o.map)(oe))(t),p=l&&"searchByOv";return(0,m.j_Q)(s,{globalFilter:a,activityFilter:i,searchOptions:p}).then((e=>{let{total:n}=e;return n>0?t.concat([{label:c().text("Other"),group:be,value:n}]):t}))})),Oe=(e,t)=>(0,m.xqc)(e,"configuration/roles/"+t),xe=(0,o.map)((e=>fe({},e,{localizedValue:c().number(e.value)}))),we=(0,o.when)(m.EdS,m.Tde),Te=(0,o.ifElse)(m.EdS,m.Uk3,(0,o.always)(void 0)),Se=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Te(e),r=t.some((e=>me(e,n)));return n&&!r?[se(n),...t]:t},Re=(0,o.curry)(((e,t,n)=>{const r=we(e);return n===be?(0,o.pipe)((0,o.reject)((0,o.propEq)("group",be)),ye(r))(t):[pe(r,n)]})),Ie=(0,o.curry)(((e,t,n)=>{var r,a;const l=Te(t)||(null===(r=n.find(de))||void 0===r||null===(a=r.values)||void 0===a?void 0:a[0]);return{facets:n.map(ue(e,l))}}));const Pe=(0,r.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRemove:s}=e;const{id:f,title:h,filters:g,attributeUri:E,count:y,orderType:v,chartType:O,showOthers:x}=t,w=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(t,["id","title","filters","attributeUri","count","orderType","chartType","showOthers"]),T=O===m.$XE.MAP?100:8,{data:S,state:R,reload:I}=(e=>{let{filters:t,attributeUri:n,pageSize:a,orderType:i="reversedCount",options:c}=e;const[s,p]=(0,r.useState)([]),[f,h]=(0,r.useState)(d.o.INIT),g=(0,r.useContext)(ae.I),E=(0,r.useMemo)((()=>g.map(ce).concat(t||[])),[g,t]),y=(0,l.useSelector)(u.ZP.selectors.getMetadata),{globalFilter:b,activityFilter:v}=(0,l.useSelector)(u.ZP.selectors.getGlobalSearchRequestOptions),O=(0,l.useSelector)(u.ZP.selectors.getAttributePresentations),x=!(null==O||!O[n]),w=(0,l.useSelector)(u.ZP.selectors.getShowSearchByOv),T=null==c?void 0:c.showOthers,S=e=>{console.error(e),h(d.o.ERROR),p([])},R=(0,r.useCallback)((()=>{h(d.o.LOADING);const e=Se(n,E),t=we(n),r=(0,m.Yxg)(t)||(0,m.zeJ)(y,n);if(!r)return void S("Configuration is incorrect");const l=(0,o.pipe)(ge,(0,o.andThen)(((e,t)=>(0,o.pipe)((0,o.when)((()=>(0,m.CwH)(t)),Ee((0,m.To9)(t))),(0,o.when)((()=>(0,m.ian)(t)),(0,o.map)((t=>fe({},t,{label:Oe(e,t.group)})))),(0,o.when)((()=>(0,m.Lt4)(t.type)),(0,o.map)((0,o.evolve)({label:(0,o.pipe)(m.ZBU,(0,m.mB6)({dataTypeDefinition:(0,m.PFL)(t)}))})))))(y,r)),(0,o.andThen)((0,o.unless)((0,o.always)(x),xe)),(0,o.andThen)((0,o.when)((0,o.always)(T),ve({attribute:t,filters:e,globalFilter:b,searchByOv:w,activityFilter:v}))),(0,o.andThen)((e=>{h(d.o.LOADED),p(e)})),(0,o.otherwise)(S));l({attribute:t,filters:e,globalFilter:b,searchByOv:w,activityFilter:v,pageSize:a,orderType:i})}),[h,n,y,T,E,b,w,v,a,i,x]),I=()=>{try{R()}catch(e){S(e)}};return(0,r.useEffect)((()=>{I()}),[R]),{state:f,data:s,reload:I}})({filters:g,attributeUri:E,pageSize:y||T,orderType:v,options:{showOthers:x}});(0,p.T)({state:R,reload:I});const P=(0,l.useDispatch)(),C=(0,l.useSelector)(u.ZP.selectors.getMetadata),M=(0,r.useContext)(ae.I),D=(0,r.useMemo)((()=>M.map(ce).concat(g||[])),[M,g]),N=(0,o.pipe)(Re(E,S),(0,o.concat)(Se(E,D)),Ie(C,E),u.ui.actions.openSearch,P);return a().createElement(b.Z,{id:f},a().createElement(k,{title:h,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRefresh:I,onRemove:s}),a().createElement(q,{loadingState:R,onRefresh:I,data:S},(e=>{let{data:t,width:n=0,height:r=0}=e;return le.Z.build(O,{data:t,width:n,height:r,options:w,onItemClick:N})})))}));var Ce=n(85709),Me=n(92332),De=n(95613);const Ne={content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"},je=(0,T.Z)((e=>({headCell:{display:"flex",alignItems:"center",height:"100%","&>div":{padding:"0 16px"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden","&:after":Ne},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontSize:"13px",fontWeight:500,lineHeight:"15px",whiteSpace:"nowrap",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":Ne}})));function Fe(){return Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fe.apply(this,arguments)}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_e(e,t,n[t])}))}return e}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ae=e=>{let{className:t,headCellData:n}=e,r=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className","headCellData"]);const l=je();return a().createElement("div",{className:j()(l.headCell,t)},a().createElement(Me.default,Fe({},r,{headCellData:ke({},n,{label:a().createElement(De.Z,{value:n.label},a().createElement("div",{className:l.headLabel},n.label))})})))};var ze=n(31039);const Le=e=>{let{value:t,rowValue:n}=e;const r=je(),l=(0,m.idV)(t);return a().createElement(De.Z,{value:l},a().createElement(ze.Z,{value:(0,m.wwR)(n),className:r.entityLabel},l))},Ze=(0,T.Z)({tableContainer:e=>{let{width:t,height:n}=e;return{height:n,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none"}}),He=Q((e=>{let{height:t,width:n,basicTableRef:r,data:l}=e;const o=Ze({width:n,height:t}),i=[{id:"label",label:c().text("Entity"),resizable:!1,headCellRenderer:Ae,rowCellValueRenderer:Le,initialWidth:n}],s={cellBorder:o.cellBorder};return a().createElement("div",{className:o.tableContainer},a().createElement(Ce.Z,{columnsData:i,rowsData:l,headRowHeight:48,getRowCellHeight:null,classes:s,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:r}))})),Ue=(0,r.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:i}=e;const{id:c,title:s,filters:u,max:f=E}=t,h=(0,r.useMemo)((()=>y(f)),[f]),[g,v]=(0,r.useState)(f),[O,x]=(0,r.useState)(0),{data:w,state:T,reload:S,total:R}=(e=>{let{filters:t,max:n,offset:a}=e;const[l,o]=(0,r.useState)([]),[i,c]=(0,r.useState)(0),[s,p]=(0,r.useState)(d.o.INIT),u=(0,r.useContext)(ae.I),f=(0,r.useMemo)((()=>u.map(ce).concat(t||[])),[u,t]),h=e=>{console.error(e),p(d.o.ERROR),o([]),c(0)},g=(0,r.useCallback)((()=>{p(d.o.LOADING),Promise.all([(0,m.ZOr)(f,{max:n,offset:a}),(0,m.j_Q)(f,{max:n,offset:a})]).then((e=>{const[t,{total:n}]=e;o(t||[]),c(n),p(d.o.LOADED)})).catch(h)}),[f,n,a]),E=()=>{try{g()}catch(e){h(e)}};return(0,r.useEffect)((()=>{E()}),[g]),{state:s,data:l,reload:E,total:i}})({filters:u,max:g,offset:g*O});return(0,p.T)({state:T,reload:S}),a().createElement(b.Z,{id:c},a().createElement(k,{title:s,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRefresh:S,onRemove:i}),a().createElement(q,{loadingState:T,onRefresh:S,data:w},(e=>{let{data:t,width:n,height:r}=e;return a().createElement(He,{height:r,onChangePage:x,page:O,rowsPerPage:g,count:R,onChangeRowsPerPage:v,rowsPerPageOptions:h,width:n,data:t})})))}));var Be=n(59983),Ve=n(14806);var Ge=n(95038),We=n.n(Ge);let Ye;!function(e){e.HOUR="hour",e.DAY="day"}(Ye||(Ye={}));const $e=(0,o.pipe)((e=>(0,m.RHh)(e,qe)),(e=>{let[t,n]=e;return n-t>+We().duration(1,"day")?Ye.DAY:Ye.HOUR})),qe=e=>{const t=We()();return e===m.bZE.LAST_WEEK?[We()(t).subtract(6,"days").valueOf(),t.valueOf()]:(0,m.VQ1)(e)},Ke=(0,o.pipe)(qe,(0,o.defaultTo)([]),(0,o.map)((e=>e&&new Date(e)))),Xe=[{id:"created",types:["CREATED"],get label(){return c().text("New")},color:"#4BAFFF"},{id:"updated",types:["UPDATED"],get label(){return c().text("Updated")},color:"#0072CE"},{id:"deleted",types:["DELETED"],get label(){return c().text("Deleted")},color:"#F085F2"},{id:"matched",types:["POTENTIAL_MATCHES_FOUND"],get label(){return c().text("Matched")},color:"#C4CE00"},{id:"autoMerged",types:["MERGED","MERGED_ON_THE_FLY"],get label(){return c().text("Auto-merged")},color:"#CE5C00"},{id:"mergedManually",types:["MERGED_MANUALLY"],get label(){return c().text("Manually merged")},color:"#9E7ED3"},{id:"unmerged",types:["SPLITTED"],get label(){return c().text("Unmerged")},color:"#40CFBB"},{id:"notMatch",types:["NOT_MATCHES_SET"],get label(){return c().text("Not a match")},color:"#F97061"}],Qe=e=>Xe.find((0,o.propEq)("id",e)),Je=(0,o.pipe)(Qe,(0,o.propOr)("","label")),et=(0,o.pipe)(Qe,(0,o.prop)("color")),tt=e=>{const[t,n]=(0,m.RHh)(e,qe),r=e=>{let{facet:r,types:a}=e;return(0,m.NIY)({facet:r,startTime:t,endTime:n,types:a}).then((e=>{let{facets:t={},total:n=0}=e;return{total:n,data:t[r]}}))};return(()=>{const e=(0,o.chain)((0,o.prop)("types"),Xe),t=(0,o.pipe)((0,o.propOr)([],"data"),(0,o.pluck)("term"));return r({facet:"type",types:e}).then((e=>t(e)))})().then((e=>e.length>0?(e=>{const a=(0,o.pipe)((0,o.map)((0,o.evolve)({term:e=>We().utc(e).valueOf()})),(0,o.prepend)({term:t,count:0}),(0,o.append)({term:n,count:0}));return Promise.all(Xe.map((t=>{let{types:n,id:l}=t;return((t=>t.some((t=>e.includes(t))))(n)?r({facet:"hour",types:n}):Promise.resolve({total:0,data:[]})).then((e=>{let{total:t,data:n}=e;return{total:t,data:a(n),event:l}}))})))})(e):[]))},nt=(0,o.curry)(((e,t)=>(0,o.pipe)((0,o.groupBy)((t=>{let{term:n}=t;return We()(n).startOf(e)})),o.toPairs,(0,o.map)((e=>{let[t,n]=e;return{term:We()(t).valueOf(),count:(0,o.sum)((0,o.pluck)("count",n))}})))(t))),rt=(0,o.curry)(((e,t)=>{const[n,...r]=t;return r.reduce(((t,n)=>{const r=(0,o.last)(t).term;let a=We()(r).add(1,e).valueOf();const l=[];for(;a<n.term;)l.push({term:a,count:0}),a=We()(a).add(1,e).valueOf();return t.concat(l,n)}),[n])})),at=(0,o.curry)(((e,t)=>t.map((0,o.evolve)({data:(0,o.pipe)(nt(e),rt(e))})))),lt=(0,o.cond)([[(0,o.equals)(Ye.HOUR),(0,o.always)("LT")],[(0,o.equals)(Ye.DAY),(0,o.always)("MMM D")]]),ot=e=>{let{x:t,y:n,payload:r,step:l}=e;return a().createElement("g",{transform:`translate(${t},${n})`},a().createElement("text",{x:0,y:0,dy:16,textAnchor:"middle",fill:"#666"},c().date(null==r?void 0:r.value,lt(l))))},it=(0,T.Z)({tooltipWrapper:{borderRadius:"4px",background:"rgba(0, 0, 0, 0.54)",padding:"6px 8px 7px 8px",color:"#FFFFFF","& p":{fontSize:"12px",lineHeight:"18px",padding:0,margin:0}},tooltipTitle:{fontWeight:500},tooltipItemColor:{width:8,height:8,marginRight:10,display:"inline-block"},legend:{display:"flex",flexWrap:"wrap",marginLeft:"20px",marginTop:"10px"},legendItem:{display:"flex",alignItems:"baseline","&:not(:last-child)":{marginRight:10},width:"140px",marginBottom:"5px",fontSize:"13px",color:"rgba(0, 0, 0, 0.54)"},legendItemColor:{width:12,height:12,marginRight:10,flexShrink:0,boxSizing:"border-box"},legendItemValue:{color:"rgba(0, 0, 0, 0.87)",marginLeft:"10px"}}),ct=(0,o.cond)([[(0,o.equals)(Ye.HOUR),(0,o.always)("LT MMM D")],[(0,o.equals)(Ye.DAY),(0,o.always)("ll")]]),st=e=>{let{active:t,payload:n,label:r,step:l,events:o}=e;const i=it();return t&&a().createElement("div",{className:i.tooltipWrapper},a().createElement("p",{className:i.tooltipTitle},c().date(r,ct(l))),n.filter((e=>{let{name:t}=e;return o.includes(t)})).map((e=>{let{color:t,name:n,value:r}=e;return a().createElement("p",{key:n},a().createElement("span",{style:{background:t},className:i.tooltipItemColor}),`${Je(n)}: ${r}`)})))},pt=e=>{let{payload:t,selectedItems:n,onClick:r}=e;const l=it();return a().createElement("div",{className:l.legend},t.map((e=>{let{id:t,color:o,value:i}=e;const s=n.includes(t);return a().createElement("div",{key:t,className:l.legendItem},a().createElement(x.Tooltip,{title:s?c().text("Hide"):c().text("Show")},a().createElement("div",{style:s?{background:o}:{border:`${o} 1px solid`},className:l.legendItemColor,onClick:()=>r(t)})),Je(t),a().createElement("span",{className:l.legendItemValue},i))})))};function ut(){return ut=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ut.apply(this,arguments)}const dt=e=>{let{data:t,width:n,height:l,step:i}=e;const[c,s]=(0,r.useState)((0,o.pluck)("event",t)),[p,u]=(0,r.useState)(null),{cartesianGrid:d,tooltip:f,xAxis:h,yAxis:g,line:E,legend:y}={xAxis:{type:"category",dataKey:"term",tick:{fill:"#000",opacity:"0.54"},angle:0,textAnchor:"middle",stroke:"#666",allowDuplicatedCategory:!1},yAxis:{dataKey:"",type:"number",tick:{fill:"#000",opacity:"0.54",width:void 0},stroke:"#666",tickFormatter:m.k7L,width:50},cartesianGrid:{strokeDasharray:"3 3",stroke:"#666",strokeOpacity:"0.4"},tooltip:{cursor:{fill:"#000",opacity:"0.1"}},line:{type:"linear",dataKey:"count",strokeWidth:3},legend:{wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"25%"}}},b=(0,r.useMemo)((()=>at(i,t)),[i,t]),v=(0,r.useMemo)((()=>((e,t)=>{const n=(0,o.chain)((0,o.pipe)((0,o.prop)("data"),(0,o.pluck)("count")))(e),r=Math.min(...n),a=Math.max(...n);return Math.abs(a-r)<8?[0,7]:[0,"auto"]})(b)),[b]);return a().createElement(Ve.wW,{width:n,height:l},a().createElement(Ve.q3,d),a().createElement(Ve.Kc,ut({},h,{tick:a().createElement(ot,{step:i})})),a().createElement(Ve.B2,ut({},g,{tickCount:8,domain:v})),b.map((e=>{let{event:t,data:n}=e;const r=c.includes(t);return a().createElement(Ve.x1,ut({key:t,stroke:et(t),name:t,data:n,dot:r&&{r:5,strokeWidth:2},activeDot:r&&{r:5,strokeWidth:2,onMouseEnter:()=>u(t),onMouseLeave:()=>u(null)},strokeOpacity:r?1:0},E))})),a().createElement(Ve.De,ut({content:a().createElement(pt,{selectedItems:c,onClick:e=>{s((0,o.ifElse)((0,o.includes)(e),(0,o.without)([e]),(0,o.append)(e)))}}),payload:b.map((e=>{let{event:t,total:n}=e;return{id:t,type:"square",color:et(t),value:n}}))},y)),a().createElement(Ve.u,ut({},f,{content:a().createElement(st,{step:i,events:p?[p]:c})})))};var mt=n(85229);const ft=(0,T.Z)({periodSelector:{position:"relative",margin:"0 6px 0 0",flexBasis:"220px",flexShrink:1,'& input[type="text"]':{padding:"0 0 0 8px"}}}),ht=(0,r.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRemove:c}=e;const s=ft(),{id:u,title:f}=t,[h,g]=(0,r.useState)(m.bZE.LAST_WEEK),{state:E,data:y,step:v,reload:O}=(e=>{const[t,n]=(0,r.useState)([]),[a,l]=(0,r.useState)($e(e)),[i,c]=(0,r.useState)(d.o.INIT),s=(0,mt._)(),p=e=>{console.error(e),c(d.o.ERROR),n([])},u=(0,r.useCallback)((()=>{c(d.o.LOADING),l($e(e)),n([]);const t=(0,o.pipe)(tt,s,(0,o.andThen)((e=>{c(d.o.LOADED),n(e)})),(0,o.otherwise)(p));t(e)}),[e.toString()]),m=()=>{try{u()}catch(e){p(e)}};return(0,r.useEffect)((()=>{m()}),[u]),{state:i,data:t,step:a,reload:m}})(h);return(0,p.T)({state:E,reload:O}),a().createElement(b.Z,{id:u},a().createElement(k,{title:f,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRefresh:O,onRemove:c},a().createElement(Be.Z,{values:h,options:(0,m.cGG)(),getValuesDateRange:Ke,onChange:g,className:s.periodSelector})),a().createElement(q,{loadingState:E,onRefresh:O,data:y},(e=>{let{data:t,width:n,height:r}=e;return a().createElement(dt,{data:t,width:n,height:r,step:v})})))}));var gt=n(3292);function Et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){yt(e,t,n[t])}))}return e}function yt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const bt=e=>`configuration/entityTypes/${e}`,vt=(0,o.pipe)((0,o.prop)("group"),bt),Ot=(0,o.curry)(((e,t)=>t.map((t=>{const n=vt(t);return Et({},t,{label:(0,m.nt9)(e,n).label})})))),xt=(0,o.curry)(((e,t)=>{const n=(0,o.pipe)(vt,(0,m.io3)(e),(0,o.map)((0,m.nt9)(e)),(0,o.filter)(m.oDv),o.last),r=t.reduce(((e,t)=>{const r=n(t);if(r){const n=(0,m.nIW)(r.uri);return Et({},e,{[n]:(e[n]||0)+t.value})}return e}),{});return Object.entries(r).map((e=>{let[t,n]=e;return{group:t,label:t,value:n}}))})),wt=(0,o.pipe)(bt,se,m.VGB),Tt=(0,o.pipe)((0,o.prop)("uri"),m.nIW),St=(0,o.curry)(((e,t)=>e.find((e=>e.group===t)))),Rt=e=>({label:e,group:e,value:0}),It=(0,o.curry)(((e,t)=>{let{entityTypes:n}=e;const r=(0,o.pipe)(Tt,(0,o.either)(St(t),Rt));return n.filter(m.oDv).map(r)})),Pt=[],Ct=(0,r.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRemove:s}=e;const{id:m,title:f,hideEmpty:h,orderType:g,inheritChildren:E}=t,{data:y,state:v,reload:O}=(e=>{let{orderType:t,inheritChildren:n,hideEmpty:a}=e;const[i,c]=(0,r.useState)([]),[s,p]=(0,r.useState)(d.o.INIT),m=(0,l.useSelector)(u.ZP.selectors.getMetadata),f=m.entityTypes.length,{globalFilter:h,activityFilter:g}=(0,l.useSelector)(u.ZP.selectors.getGlobalSearchRequestOptions),E=(0,l.useSelector)(u.ZP.selectors.getShowSearchByOv),y=e=>{console.error(e),p(d.o.ERROR),c([])},b=(0,r.useCallback)((()=>{p(d.o.LOADING);const e=(0,o.pipe)(ge,(0,o.andThen)((0,o.unless)((0,o.always)(a),It(m))),(0,o.andThen)((0,o.when)((0,o.always)(n),xt(m))),(0,o.andThen)(Ot(m)),(0,o.andThen)(xe),(0,o.andThen)((e=>{p(d.o.LOADED),c(e)})),(0,o.otherwise)(y));e({attribute:"type",pageSize:f,filters:Pt,globalFilter:h,searchByOv:E,activityFilter:g,orderType:t})}),[a,m,n,f,h,E,g,t]),v=()=>{try{b()}catch(e){y(e)}};return(0,r.useEffect)((()=>{v()}),[b]),{state:s,data:i,reload:v}})({hideEmpty:h,orderType:g,inheritChildren:E});(0,p.T)({state:v,reload:O});const x=(0,l.useDispatch)(),w=(0,l.useSelector)(u.ZP.selectors.getMetadata),T=(0,o.pipe)(wt,Ie(w,"type"),u.ui.actions.openSearch,x);return a().createElement(b.Z,{id:m},a().createElement(k,{title:f,onToggleFullscreen:n,isUpdated:i,isFullscreen:c,onRefresh:O,onRemove:s}),a().createElement(q,{loadingState:v,onRefresh:O,data:y},(e=>{let{data:t,width:n,height:r}=e;return a().createElement(gt.Z,{width:n,height:r,data:t,onItemClick:T})})))})),Mt=(0,T.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},iframe:{borderWidth:0,width:"100%",height:"100%"},tasksSelector:{position:"relative",margin:"0 6px 0 0",flexBasis:"220px",flexShrink:1},tasksSelectorInput:{fontSize:"14px",lineHeight:"16px",padding:"12px 32px 10px 12px"},pagination:{height:"52px",flexGrow:0,flexShrink:0}}))),Dt=(0,r.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:r,isFullscreen:l,onRemove:o}=e;const{id:i,title:c,url:s}=t,p=Mt();return a().createElement(b.Z,{id:i},a().createElement(k,{title:c,onToggleFullscreen:n,isUpdated:r,isFullscreen:l,onRemove:o}),a().createElement(A.Z,{className:p.viewContent},a().createElement("iframe",{src:s,frameBorder:"0",className:p.iframe})))}));let Nt;!function(e){e.MY="my",e.TEAM="team"}(Nt||(Nt={}));var jt=n(30739),Ft=n(34e3),kt=n(73272);function _t(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){At(e,t,n[t])}))}return e}function At(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const zt=(0,o.cond)([[(0,o.equals)(Nt.MY),(0,o.always)(m.C82)],[(0,o.equals)(Nt.TEAM),(0,o.always)(m.h6J)],[o.T,(0,o.always)((()=>Promise.resolve({data:[]})))]]),Lt=(0,o.pipe)((0,o.propOr)([],"objectURIs"),o.head),Zt=(0,o.startsWith)("changeRequests/"),Ht=(0,o.complement)(o.isEmpty),Ut=(0,o.pipe)((0,o.map)(Lt),(0,o.filter)(m.WgC),(0,o.when)(Ht,m.DnY)),Bt=(0,o.pipe)((0,o.map)(Lt),(0,o.filter)(Zt),(0,o.map)((0,o.pipe)(m.E6I,(0,o.otherwise)((0,o.always)(null)))),(e=>Promise.all(e))),Vt=(0,o.converge)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.all(t)}),[Ut,Bt]),Gt=e=>{let{objectsInfo:t={},changes:n={},uri:r}=e;const a=e=>(0,o.path)([e,0],n),l=e=>{const{type:t}=a(e);return"CREATE_ENTITY"==t||"CREATE_RELATIONSHIP"==t?r+"/changes/"+e:e};return(0,o.pipe)(o.keys,(0,o.filter)(a),(0,o.sort)((0,o.descend)((0,o.pipe)(a,(0,o.prop)("createdTime")))),(0,o.map)((e=>_t({},t[e],{uri:l(e)}))))(t)},Wt=(e,t,n)=>(t=(0,o.reject)(o.isNil,t),n.map((0,o.pipe)((0,o.when)((0,o.pipe)(Lt,m.WgC),(e=>t=>{const n=e.find((0,o.propEq)("uri",Lt(t)));return n?_t({},t,{objects:[n]}):t})(e)),(0,o.when)((0,o.pipe)(Lt,Zt),(e=>t=>{const n=e.find((0,o.propEq)("uri",Lt(t)));return n?_t({},t,{objects:Gt(n)}):t})(t))))),Yt=(0,o.curry)((async(e,t)=>{let{workflowPath:n,environment:r,tenant:a,assignee:l,max:o,offset:i}=t;const c=zt(e),{data:s,total:p}=await c({workflowPath:n,environment:r,tenant:a,assignee:l,max:o,offset:i}),[u,d]=await Vt(s);return{data:Wt(u,d,s),total:p}})),$t=e=>e.dueDate&&e.dueDate<Date.now(),qt=(0,T.Z)((e=>({taskItem:{flex:1,display:"flex",padding:"15px",color:e.palette.text.primary,"&.Low":{borderLeft:"#F7F7F7 solid 3px"},"&.Medium":{borderLeft:"#F7DE03 solid 3px"},"&.High":{borderLeft:"#FF9800 solid 3px"},"&.Urgent":{borderLeft:"#F44336 solid 3px"}},taskInfo:{flex:1,padding:"0 15px",overflow:"hidden",overflowWrap:"anywhere"},taskTitle:{lineHeight:"18px",marginBottom:"6px"},taskDetail:{lineHeight:"15px",fontSize:"12px",margin:"5px 0"},taskDetailTitle:{color:e.palette.text.secondary,marginRight:"3px"},taskDueDate:{flex:"0 0 110px",fontSize:"13px",lineHeight:"15px",textAlign:"right",paddingTop:"6px"},flag:{height:"14px",width:"14px",stroke:"rgba(0,0,0,.54)",fill:"none",verticalAlign:"text-top",marginRight:"5px"},overdue:{"&$taskDueDate":{color:"#f44336"},"& $flag":{stroke:"#f44336",fill:"#f44336"}},entityLabel:{color:e.palette.primary.main,textDecoration:"none",fontSize:"13px",lineHeight:"15px"},hidden:{visibility:"hidden"}}))),Kt=e=>{let{uri:t,label:n,screen:r}=e;const l=qt();return a().createElement(ze.Z,{value:t,screen:r,className:l.entityLabel},(0,m.idV)(n))},Xt=e=>{let{object:t,metadata:n,processType:r}=e;if("startObjectUri"in t&&"endObjectUri"in t){const e=(0,m.V3K)(n,t.type);return a().createElement(a().Fragment,null,e.label," ",c().text("from")," ",a().createElement(Kt,{uri:t.startObjectUri,label:t.startObjectLabel})," ",c().text("to")," ",a().createElement(Kt,{uri:t.endObjectUri,label:t.endObjectLabel}))}{const e=(0,o.cond)([[(0,o.always)((0,o.equals)(r,m.Yj_.potentialMatchReview)),(0,o.always)("potentialMatches")],[(0,o.propSatisfies)(m.FP6,"uri"),(0,o.always)("dcrReview")],[o.T,(0,o.always)("profile")]])(t);return a().createElement(Kt,{uri:(0,m.wwR)(t),label:t.label,screen:e})}},Qt=e=>{let{task:t,showAssignee:n}=e;const r=qt(),o=t.objects||[],[i]=o,s=(0,l.useSelector)(u.ZP.selectors.getMetadata),p=i&&(0,m.nt9)(s,i.type);return a().createElement("div",{className:j()(r.taskItem,t.priorityClass)},a().createElement(Ft.Z,{entityType:p}),a().createElement("div",{className:r.taskInfo},a().createElement(x.Typography,{className:r.taskTitle,variant:"subtitle1"},c().text(t.processDefinitionDisplayName)),o.map((e=>a().createElement("p",{key:e.uri,className:r.taskDetail},a().createElement(Xt,{object:e,processType:t.processType,metadata:s})))),a().createElement("p",{className:r.taskDetail},a().createElement("span",{className:r.taskDetailTitle},`${c().text("Created by")}:`),t.createdBy," ",c().text("on")," ",c().date(t.createTime,"L")),n&&t.assignee&&a().createElement("p",{className:r.taskDetail},a().createElement("span",{className:r.taskDetailTitle},`${c().text("Assigned to")}:`),t.assignee),a().createElement("p",{className:r.taskDetail},a().createElement("span",{className:r.taskDetailTitle},`${c().text("Step")}:`),t.displayName)),a().createElement("div",{className:j()(r.taskDueDate,{[r.overdue]:$t(t),[r.hidden]:!t.dueDate})},a().createElement(kt.Z,{className:r.flag}),c().date(t.dueDate,"L")))},Jt=e=>{let{width:t,height:n,tasksCategory:l,tasks:o}=e;const i=(0,r.useCallback)((e=>{let{data:t,index:n}=e;return a().createElement("div",null,a().createElement(Qt,{task:t[n],showAssignee:l!==Nt.MY}),a().createElement(x.Divider,{light:!0,variant:"inset"}))}),[l]);return a().createElement(jt.Z,{width:t,height:n,data:o,defaultItemSize:115},i)};function en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tn=n(31276);const nn=(0,r.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:i,isFullscreen:s,onRemove:m}=e;const f=Mt(),{id:h,title:g,pageSize:E}=t,[y,v]=(0,r.useState)(0),[O,w]=(0,r.useState)(E||10),[T,S]=(0,r.useState)(Nt.MY),R=(0,r.useMemo)((()=>({tasksCategory:T,max:O,offset:O*y})),[O,y,T]),{state:I,data:P,total:C,reload:M}=(e=>{const{tasksCategory:t}=e,n=(0,r.useMemo)((()=>(0,o.pick)(["max","offset"],e)),[e]),[a,i]=(0,r.useState)([]),[c,s]=(0,r.useState)(d.o.INIT),[p,m]=(0,r.useState)(),f=(0,l.useSelector)(u.ZP.selectors.getWorkflowPath),h=(0,l.useSelector)(u.ZP.selectors.getWorkflowEnvironmentUrl),g=(0,l.useSelector)(u.ZP.selectors.getTenant),E=(0,l.useSelector)(u.ZP.selectors.getUserName),y=t===Nt.MY?E:void 0,b=(0,mt._)(),v=e=>{console.error(e),s(d.o.ERROR),i([])},O=(0,r.useCallback)((()=>{s(d.o.LOADING);const e=(0,o.pipe)(Yt(t),b,(0,o.andThen)((e=>{let{data:t,total:n}=e;s(d.o.LOADED),i(t),m(n)})),(0,o.otherwise)(v));e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){en(e,t,n[t])}))}return e}({workflowPath:f,environment:h,tenant:g,assignee:y},n))}),[f,h,g,t,n]),x=()=>{try{O()}catch(e){v(e)}};return(0,r.useEffect)((()=>{x()}),[O]),{state:c,data:a,reload:x,total:p}})(R);return(0,p.T)({state:I,reload:M}),a().createElement(b.Z,{id:h},a().createElement(k,{title:g,onToggleFullscreen:n,isUpdated:i,isFullscreen:s,onRemove:m,onRefresh:M},a().createElement(x.Select,{className:f.tasksSelector,classes:{root:f.tasksSelectorInput},variant:"filled",value:T,onChange:(0,o.pipe)(tn.NA,S)},a().createElement(x.MenuItem,{value:Nt.MY},c().text("My tasks")),a().createElement(x.MenuItem,{value:Nt.TEAM},c().text("Team tasks")))),a().createElement(q,{loadingState:I,onRefresh:M,data:P},(e=>{let{data:t,width:n,height:r}=e;return a().createElement(Jt,{width:n,height:r,tasksCategory:T,tasks:t})})),C>(E||10)&&a().createElement("div",{className:f.pagination},a().createElement(K.Z,{count:C,rowsPerPage:O,page:y,onChangePage:v,onChangeRowsPerPage:w})))}));var rn=n(46188),an=n(88234),ln=n(67486);const on=(0,T.Z)((()=>({activityLogFilter:{padding:"0 9px"}}))),cn=(0,r.memo)((e=>{let{config:t,isUpdated:n,isFullscreen:l,onToggleFullscreen:i,onRemove:c}=e;const{id:s,title:u,exportTypes:f}=t,h=on(),[g,v]=(0,r.useState)(0),[O,x]=(0,r.useState)(E),w=(0,r.useMemo)((()=>y(E)),[]),[T,S]=(0,r.useState)({users:[],activities:[],dateRange:{type:m.KfU.WITHIN,period:[4,"months"]}}),{state:R,data:I,total:P,reload:C}=(e=>{let{filter:t,max:n,offset:a}=e;const[l,i]=(0,r.useState)([]),[c,s]=(0,r.useState)(0),[p,u]=(0,r.useState)(d.o.INIT),m=(0,mt._)(),f=e=>{console.error(e),u(d.o.ERROR),i([]),s(0)},h=(0,ln.d)({filter:t,max:n,offset:a}),g=(0,r.useCallback)((()=>{u(d.o.LOADING);const e=(0,o.pipe)(h,m,(0,o.andThen)((e=>{let{data:t,total:n}=e;i(t),s(n),u(d.o.LOADED)})),(0,o.otherwise)(f));e()}),[h]),E=()=>{try{g()}catch(e){f(e)}};return(0,r.useEffect)((()=>{E()}),[g]),{state:p,data:l,total:c,reload:E}})({filter:T,max:O,offset:g*O}),M=(0,r.useCallback)((e=>{S(e),v(0)}),[]);return(0,p.T)({state:R,reload:C}),a().createElement(b.Z,{id:s},a().createElement(k,{title:u,onToggleFullscreen:i,isUpdated:n,isFullscreen:l,onRemove:c,onRefresh:C}),a().createElement("div",{className:h.activityLogFilter},a().createElement(rn.Z,{value:T,onChange:M,exportTypes:f})),a().createElement(q,{loadingState:R,onRefresh:C,data:I},(e=>{let{data:t,width:n,height:r}=e;return a().createElement(an.Z,{width:n,height:r,activities:t,count:P,page:g,onChangePage:v,rowsPerPage:O,onChangeRowsPerPage:x,rowsPerPageOptions:w})})))}));function sn(){return sn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sn.apply(this,arguments)}class pn{}pn.ViewTypes=m.dZX,pn.getComponent=e=>{let{config:t,type:n,isUpdated:r,isFullscreen:l,onToggleFullscreen:o,onRemove:i}=e;const c={isUpdated:r,isFullscreen:l,onToggleFullscreen:o,onRemove:i};switch(n){case pn.ViewTypes.ActivitiesViewFacet:return a().createElement(cn,sn({config:t},c));case pn.ViewTypes.CustomActionViewFacet:return a().createElement(Dt,sn({config:t},c));case pn.ViewTypes.DashboardFacet:return a().createElement(Pe,sn({config:t},c));case pn.ViewTypes.EntitiesByTypeViewFacet:return a().createElement(Ct,sn({config:t},c));case pn.ViewTypes.FilteredSavedSearchesFacet:return a().createElement(re,sn({config:t},c));case pn.ViewTypes.FilteredEntitiesViewFacet:return a().createElement(Ue,sn({config:t},c));case pn.ViewTypes.NotificationInboxFacet:return a().createElement(nn,sn({config:t},c));case pn.ViewTypes.ProfileStatsFacet:return a().createElement(ht,sn({config:t},c));default:return a().createElement("div",null,"NOT IMPLEMENTED")}},pn.getChartType=e=>{const t={[pn.ViewTypes.EntitiesByTypeViewFacet]:m.$XE.TREE,[pn.ViewTypes.FilteredSavedSearchesFacet]:m.$XE.TABLE,[pn.ViewTypes.FilteredEntitiesViewFacet]:m.$XE.TABLE,[pn.ViewTypes.ProfileStatsFacet]:m.$XE.LINE,[pn.ViewTypes.NotificationInboxFacet]:m.$XE.TABLE,[pn.ViewTypes.ActivitiesViewFacet]:m.$XE.TABLE};return e.chartType||t[e.component]};const un=pn}}]);
|
|
2
|
-
//# sourceMappingURL=7818.js.map
|