@reltio/remotes 1.4.1613 → 1.4.1614
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/1039.js +1 -1
- package/1146.js +1 -1
- package/1148.js +1 -1
- package/1334.js +1 -1
- package/1425.js +1 -1
- package/1572.js +1 -1
- package/1584.js +1 -1
- package/1664.js +1 -1
- package/1707.js +1 -1
- package/1790.js +1 -1
- package/1840.js +1 -1
- package/1925.js +1 -1
- package/1946.js +1 -1
- package/2049.js +1 -1
- package/2066.js +1 -1
- package/2201.js +1 -1
- package/2400.js +1 -1
- package/2463.js +1 -1
- package/2579.js +1 -1
- package/2641.js +1 -1
- package/2775.js +1 -1
- package/3096.js +1 -1
- package/3348.js +1 -1
- package/3358.js +1 -1
- package/3383.js +1 -1
- package/3424.js +1 -1
- package/3463.js +1 -1
- package/3469.js +1 -1
- package/3538.js +1 -1
- package/356.js +1 -1
- package/3875.js +1 -1
- package/3879.js +1 -1
- package/3902.js +1 -1
- package/3926.js +1 -1
- package/4212.js +1 -1
- package/4390.js +1 -1
- package/4481.js +1 -1
- package/4703.js +1 -1
- package/4780.js +1 -1
- package/4788.js +1 -1
- package/4806.js +1 -1
- package/4826.js +1 -1
- package/50.js +1 -1
- package/5053.js +1 -1
- package/5108.js +1 -1
- package/5163.js +1 -1
- package/5171.js +1 -1
- package/5225.js +1 -1
- package/5225.js.map +1 -1
- package/527.js +1 -1
- package/5617.js +1 -1
- package/6020.js +1 -1
- package/6287.js +1 -1
- package/6606.js +1 -1
- package/673.js +1 -1
- package/6799.js +1 -1
- package/6844.js +1 -1
- package/6853.js +1 -1
- package/6860.js +1 -1
- package/6890.js +1 -1
- package/6903.js +1 -1
- package/7293.js +1 -1
- package/735.js +1 -1
- package/7422.js +1 -1
- package/764.js +1 -1
- package/7829.js +1 -1
- package/7896.js +1 -1
- package/8075.js +1 -1
- package/820.js +1 -1
- package/8207.js +1 -1
- package/8322.js +1 -1
- package/8360.js +1 -1
- package/8565.js +1 -1
- package/8741.js +1 -1
- package/9016.js +1 -1
- package/9283.js +1 -1
- package/9309.js +1 -1
- package/9328.js +1 -1
- package/9387.js +1 -1
- package/9397.js +1 -1
- package/9719.js +1 -1
- package/9736.js +1 -1
- package/9861.js +1 -1
- package/987.js +1 -1
- package/9898.js +1 -1
- package/9960.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
package/6890.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="52337ac2-a759-49b2-8f22-a84c9c7f24dd",e._sentryDebugIdIdentifier="sentry-dbid-52337ac2-a759-49b2-8f22-a84c9c7f24dd")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1614"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[6890],{89323:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(68671)),l=n(52322),o=(0,r.default)((0,l.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=o},80516:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(68671)),l=n(52322),o=(0,r.default)((0,l.jsx)("path",{d:"M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z"}),"Flag");t.Z=o},24648:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(68671)),l=n(52322),o=(0,r.default)((0,l.jsx)("path",{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"}),"Replay");t.Z=o},153:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(89323);const c=(0,n(72342).makeStyles)({dragHandleContainer:{position:"relative",width:"100%",height:"inherit"},dragHandleVisibilityArea:{position:"absolute",top:0,left:0,width:"100%",height:"12px",zIndex:11,visibility:"hidden","&:hover $dragHandle":{visibility:"visible"},".react-draggable &":{visibility:"visible"}},dragHandle:{position:"absolute",width:"100%",display:"flex",justifyContent:"center",top:"-3px",zIndex:11,cursor:"move",visibility:"hidden"},dragIcon:{transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",fontSize:"20px"}}),s=e=>{const t=t=>{const n=c();return r().createElement("div",{className:n.dragHandleContainer},r().createElement("div",{className:n.dragHandleVisibilityArea},r().createElement("div",{className:o()("viewDraggableHandle",n.dragHandle)},r().createElement(i.Z,{className:n.dragIcon}))),r().createElement(e,t))};return t.displayName="WithDragHandle",t}},33117:(e,t,n)=>{n.d(t,{Z:()=>I});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(2507),c=n.n(i),s=n(82056),p=n(80852),u=n(95341),d=n(40007),m=n(28045),f=n(78223),h=n(32701),g=n(79573),E=n(19540);function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y.apply(this,arguments)}const b=e=>r().createElement("svg",y({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().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 v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}const O=e=>r().createElement("svg",v({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("rect",{fill:"#000",x:9,y:9,width:6,height:6,rx:1,stroke:"none",strokeWidth:1,fillRule:"evenodd"})),x=(0,n(72342).makeStyles)({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"}}),S=e=>{let{attrType:t={}}=e;const n=x(),a=(e=>{switch(e.type){case m.oS0.TYPE_IMAGE:case m.oS0.TYPE_NESTED:return E.Z;case m.oS0.TYPE_REFERENCE:return b;default:return O}})(t);return r().createElement(a,{className:n.icon})};var w=n(33286);function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T.apply(this,arguments)}const R=(0,f.Z)((e=>r().createElement("svg",T({width:13,height:18,viewBox:"0 0 13 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("g",{transform:"translate(-3 -1)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("path",{fill:"#FF4081",d:"M5.833 10h3.75v6.667l-3.75 1.666z"}),r().createElement("path",{fill:"#CE0C4E",d:"M13.333 10v8.333l-3.75-1.666V10z"}),r().createElement("circle",{fill:"#FFC058",cx:9.583,cy:7.917,r:6.25}),r().createElement("circle",{fill:"#FFCD7B",cx:9.583,cy:7.917,r:5.417}),r().createElement("path",{fill:"#FFFBB5",d:"M8.333 11.667L5 8.462l.933-.898 2.4 2.308L13.4 5l.933.897z"}))))),I=(0,a.memo)((e=>{let{groupId:t,data:n,checked:a=!1,isFocused:l=!1,isRequired:i=!1,label:f,labelInText:E,level:y,onClick:b=g.ZT,hideCheckBox:v=!1,hideIcon:O=!1,notSelectable:T=!1,disableHorizontalScrollbar:I=!1,style:P={},subItemMargin:C=20,LogoIcon:M,className:D,disableNonSelectable:N,disableGutters:_}=e;const F=x(),{attrType:k}=n||{},j=!(v&&(0,m.QZu)(k)||T),A=!!M;return r().createElement(d.Z,{value:E||f,className:F.itemTooltip,placement:"bottom-end"},r().createElement(u.Z,{className:o()(F.container,F.listItem,{[F.defaultCursor]:!j},D),onClick:j?()=>b(n,!a,t):void 0,style:P,dense:!0,disabled:N&&T,classes:{focusVisible:F.listItemFocus,selected:F.listItemFocus},selected:l,tabIndex:-1,disableGutters:_},!v&&r().createElement(p.Z,{checked:a,disableRipple:!0,disabled:!j,className:o()(F.checkbox,{[F.checked]:a}),tabIndex:-1}),r().createElement(w.Z,{margin:C,level:y,className:F.marginWrapper},r().createElement(r().Fragment,null,!O&&(e=>"recommended"===t?r().createElement(R,{className:F.recommendedIcon,tooltipTitle:c().text("Recommended"),showForDisabled:!0}):r().createElement(S,{attrType:e}))(k),r().createElement("div",{className:o()(F.itemTextWrapper,{[F.marginText]:O})},A&&r().createElement(M,{className:F.logoIcon}),r().createElement(s.Z,{primary:r().createElement(r().Fragment,null,f,i&&r().createElement(h.Z,null)),className:F.itemText})))),j&&I&&r().createElement("div",{className:F.itemAfter})))}))},55234:(e,t,n)=>{n.d(t,{Z:()=>S});var a=n(24328),r=n.n(a),l=n(2507),o=n.n(l),i=n(71153),c=n.n(i),s=n(50914),p=n(52730),u=n(50673),d=n(28045),m=n(79312),f=n(15793),h=n(19602),g=n(59952),E=n(33117),y=n(72342);function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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.makeStyles)({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 S=e=>{let{entityType:t,selectedAttributes:n,className:l,onChange:i,title:y,disableUnderline:b,menuPlacement:v="bottom"}=e;const S=(0,p.useSelector)(u.ZP.selectors.getMetadata),w=x(),T=(0,a.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,a)=>{if(a.hidden)return e;const r=`${n&&n+" / "}${a.label}`;e.push({label:a.label,value:a.uri,attrType:a,chipLabel:r,level:t});const l=(0,d.EUG)(S,a);return e.concat(l?T(l,t+1,r):[])}),[])}),[S]),R=(0,a.useMemo)((()=>T((null==t?void 0:t.attributes)||[])),[t,T]);return r().createElement("div",{className:c()(w.root,l),"data-reltio-id":"attribute-selector"},r().createElement(m.Z,{className:w.title,variant:"subtitle1"},y||o().text("Attribute")),r().createElement(f.Z,{value:n,options:R,TextFieldProps:{InputProps:{disableUnderline:b},classes:{root:w.dropDownInput}},components:{DropdownIndicator:g.Z,MultiValue:e=>{let{data:t}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["data"]);return r().createElement(h.Z,n,t.chipLabel)},Option:e=>{let{isFocused:t,isSelected:n,data:a,label:l,innerProps:o}=e;return r().createElement("div",o,r().createElement(E.Z,{checked:n,level:a.level,data:a,label:l,labelInText:l,isFocused:t}))}},onChange:(0,s.pipe)((0,s.defaultTo)([]),i),styles:O,classes:w,menuPlacement:v,menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},33945:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(2507),c=n.n(i),s=n(79573),p=n(50914),u=n(76799);const d=(0,n(72342).makeStyles)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",flexShrink:0,borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none",boxSizing:"border-box",overflowY:"hidden",containerType:"inline-size","& .MuiInputBase-root":{display:"none","@container (min-width: 420px)":{display:"inline-flex"}}},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",display:"none","@container (min-width: 420px)":{display:"block"}},displayedRows:{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!important"}});function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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 h=e=>{let{classes:t={},count:n,rowsPerPageOptions:l,page:i,onChangePage:f,rowsPerPage:h,onChangeRowsPerPage:g,basicTableRef:E,labelRowsPerPage:y}=e;const b=d(),v=(0,a.useCallback)((()=>{(0,p.pathOr)(p.identity,["current","resetScrollbarPosition"],E)()}),[E]),O=(0,a.useCallback)((e=>{f(e),v()}),[f,v]),x=(0,a.useCallback)((e=>{f(0),g(e),v()}),[f,g,v]);return r().createElement(u.Z,{classes:m({},t,{root:o()(b.pagination,t.root),select:o()(b.select,t.select),selectLabel:o()(b.caption,t.selectLabel),displayedRows:o()(b.displayedRows,t.displayedRows),input:o()(b.selectRoot,t.selectRoot),actions:b.actions}),backIconButtonProps:{size:"large"},nextIconButtonProps:{size:"large"},component:"div",labelRowsPerPage:y||c().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:a}=e;return c().text("${fromRow}-${toRow} of ${countRows}",{fromRow:c().number(t,"0,0"),toRow:c().number(n,"0,0"),countRows:c().number(a,"0,0")})},count:n,rowsPerPageOptions:l,page:i,onPageChange:(0,p.pipe)((0,p.nthArg)(1),O),rowsPerPage:h,onRowsPerPageChange:(0,p.pipe)(s.NA,x)})};h.displayName="BasicTablePagination";const g=(0,a.memo)(h)},28831:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(39475),c=n(63655);const s=(0,n(72342).makeStyles)({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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p.apply(this,arguments)}const u=e=>{let{isOpen:t=!1,tooltipTitle:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["isOpen","tooltipTitle"]);const l=s(),u={icon:c.Z,className:l.collapseButton,iconClassName:o()({[l.expandLess]:t})},d={tooltipTitle:n};return r().createElement(i.k,p({"data-reltio-id":"collapse-button"},u,d,a))}},77875:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),l=n(50914),o=n(28045),i=n(53242),c=n(90590),s=n(79573);const p=(0,n(72342).makeStyles)({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%"}});var u=n(7342);const d=["minutes","hours","days","weeks","months","years"],m=e=>{let{interval:[t,n],onChange:a,onFocus:m}=e;const f=p(),h=(0,l.pipe)(s.NA,parseInt,(e=>[e,n]),a),g=(0,l.pipe)((e=>{let{value:n}=e;return[t,n]}),a);return r().createElement("div",{className:f.root},r().createElement(i.Z,{variant:"standard",type:"number",value:t||"",onChange:h,inputProps:{min:1,onFocus:m},InputProps:{classes:{root:f.input}},className:f.inputNumber}),r().createElement(c.Z,{label:"",placeholder:(0,u.Z)(n),className:f.inputUnit,value:{value:n,label:(0,u.Z)((0,o.wsP)(n))},options:d.map((e=>({value:e,label:(0,u.Z)((0,o.wsP)(e))}))),onChange:g,TextFieldProps:{inputProps:{onFocus:m},InputProps:{classes:{root:f.input}}}}))}},84425:(e,t,n)=>{n.d(t,{Z:()=>A});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(71153),c=n.n(i),s=n(50914),p=n(78501),u=n(93553),d=n(72342);const m=(0,d.makeStyles)((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.makeStyles)({singleValue:{fontSize:"14px",lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"17px"}});var h=n(51556);const g=e=>{const{selectProps:{onCreate:t,createLabel:n,inputValue:a,components:l},children:o}=e,i=m();return r().createElement(h.Z,e,o,n&&!(0,s.prop)("Group",l)&&r().createElement("span",{className:i.addLabel,onClick:()=>t(a)},r().createElement(u.Z,{className:i.addIcon}),n))};g.propTypes={children:o().element.isRequired,selectProps:o().object.isRequired};const E=g;var y=n(12350),b=n(49861),v=n(79573),O=n(28045),x=n(90597),S=n(79312);function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},w.apply(this,arguments)}function T(e){const{selectProps:{menuIsOpen:t},innerProps:n,children:a}=e,l=f();return!t&&r().createElement(S.Z,w({className:l.singleValue},n),a)}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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}T.propTypes={children:o().node,innerProps:o().object};const P=(0,d.makeStyles)({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",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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},N.apply(this,arguments)}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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:S,classes:w}=e,R=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["value","label","createLabel","getOptions","options","height","onChange","onCreate","onClear","components","textFieldInputRef","TextFieldProps","classes"]);const I=P({height:u}),F=(0,x.a6)(),[k,j]=(0,a.useState)(!1),A=(0,a.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),j(!1)}:void 0,U=(0,s.prop)("Group",h)?M:{},B=(0,s.isEmpty)(n)?D:{},H=_({},C,U,B),V=_({},I,w);return r().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:H,components:_({DropdownIndicator:p.Z,LoadingIndicator:v.Vd,SingleValue:T,Menu:E},L,h),menuPlacement:"auto",TextFieldProps:_({},S,{label:n,variant:"filled",size:"small",classes:_({},(0,s.prop)("classes",S),{root:c()(I.formControl,(0,s.path)(["classes","root"],S))}),inputProps:_({},(0,s.prop)("inputProps",S)),InputProps:_({},(0,s.prop)("InputProps",S),{classes:_({},(0,s.path)(["InputProps","classes"],S),{root:c()(I.filledInputRoot,(0,s.path)(["InputProps","classes","root"],S)),underline:c()({[F.filledInputUnderline]:(0,O.O27)(t)},(0,s.path)(["InputProps","classes","underline"],S)),focused:c()("focused",(0,s.path)(["InputProps","classes","focused"],S))})}),InputLabelProps:_({},(0,s.prop)("InputLabelProps",S),{classes:_({},(0,s.path)(["InputLabelProps","classes"],S),{root:c()(I.inputLabel,(0,s.path)(["InputLabelProps","classes","root"],S)),shrink:c()("shrink",(0,s.path)(["InputLabelProps","classes","shrink"],S))}),shrink:!(0,O.O27)(t)||void 0}),ref:g||A}),inputRef:g||A,menuIsOpen:k,onMenuOpen:()=>j(!0),onMenuClose:()=>j(!1)}))},j={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=j;const A=k},96379:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(52730),o=n(50673),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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const s=e=>{const t=(0,l.useSelector)(o.ZP.selectors.getAbsoluteImagePath)||"";return r().createElement(i.ZP,c({},e,{storagePath:(n=t,n.endsWith("/")?n:n+"/")}));var n}},18527:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(24328),r=n.n(a),l=n(52730),o=n(63532),i=n(98074),c=n(50673);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(this,arguments)}const p=(0,a.forwardRef)(((e,t)=>{let{value:n,children:p,screen:u,className:d}=e,m=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["value","children","screen","className"]);const f=(0,l.useDispatch)(),h=(0,a.useContext)(o.m),{generateEntityUrl:g}=(0,a.useContext)(i.v),E=(0,l.useSelector)(c.ZP.selectors.getUIPath),y=(0,a.useCallback)((()=>{f(c.ui.actions.openEntity({uri:n,viewId:h,screen:u}))}),[h,n,f,u]);return r().createElement("a",s({ref:t,href:(b=n,g({uiPath:E,uri:b,screen:u})),onClick:e=>{y(),e.stopPropagation(),e.preventDefault()},className:d},m),p);var b}));p.displayName="EntityUriLink";const u=p},52194:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(17998);const c=(0,n(72342).makeStyles)({container:{padding:"0 16px",minHeight:"48px",".react-draggable &":{paddingTop:"4px"}},title:{fontSize:"16px",lineHeight:"19px",justifyContent:"flex-start"}}),s=e=>{let{className:t,title:n,children:a}=e;const l=c();return r().createElement(i.Z,{title:n,classes:{root:o()(l.container,t),title:l.title}},a)}},12350:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(27308);const r=(0,n(4515).Z)(a.ZP)},15793:(e,t,n)=>{n.d(t,{Z:()=>P});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(50914),c=n(70347);const s=(0,n(4515).Z)(c.ZP);var p=n(49861),u=n(12350),d=n(95341),m=n(80852),f=n(71153),h=n.n(f),g=n(40007);function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},E.apply(this,arguments)}function y(e){const{innerProps:t,innerRef:n,children:a,isFocused:l,isSelected:o,selectProps:{classes:i},label:c}=e;return r().createElement(d.Z,E({className:h()(i.option,{[i["option--selected"]]:o}),ref:n,selected:l,component:"div"},t),r().createElement(m.Z,{color:"primary",checked:o}),r().createElement(g.Z,{value:c},r().createElement("div",{className:i["option--item"]},a)))}y.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 b={Option:y};var v=n(72342),O=n(79573);function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},x.apply(this,arguments)}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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,v.makeStyles)((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 R=0;function I(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,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),y=n?s:l?u.Z:p.Z,[v,w]=(0,a.useState)(""),I=T((0,i.omit)(["classes"],e)),P="custom-select-"+R++,C=S({},b,c),M=(0,O.ze)(I,d),D=S({indicatorSeparator:e=>S({},e,{margin:"10px 0"}),loadingIndicator:e=>S({},e,{display:o?e.display:"none"}),loadingMessage:e=>S({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},m),N=t?{inputId:P,TextFieldProps:S({label:t,InputLabelProps:{htmlFor:P,shrink:!(!e.value||!e.value.length)||void 0,className:M.label}},e.TextFieldProps)}:{};return r().createElement(y,x({isMulti:!0,inputId:P,inputValue:v,onChange:function(e,t){f(e,t),"create-option"===t.action&&(w(""),h("",{action:"input-change"}))},onInputChange:function(e,t){let{action:n}=t;h(e,{action:n}),"set-value"!==n&&w(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:M,components:C,styles:D,menuPlacement:g,loadOptions:l},N,E))}I.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},I.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,menuShouldBlockScroll:o().bool,captureMenuScroll:o().bool,getOptionValue:o().func,isSearchable:o().bool,inputRef:o().shape({current:o().object})};const P=I},32701:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(24328),r=n.n(a);const l=(0,n(72342).makeStyles)({mark:{color:"red"}}),o=()=>{const e=l();return r().createElement("span",{className:e.mark},"*")}},90590:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),l=n(84425),o=n(13980),i=n.n(o),c=n(79312);const s=(0,n(72342).makeStyles)({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 a=s();return!t&&r().createElement(c.Z,{variant:"body2",classes:{root:a.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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d.apply(this,arguments)}const m=e=>{const t=s(),{innerProps:n={},children:a}=e;return r().createElement(c.Z,d({className:t.placeholder},n),a)};function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}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,a.memo)((e=>{let t=f({},e);return r().createElement(l.Z,f({components:h},t))}))},79935:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(24328),r=n.n(a);const l=()=>r().createElement("div",{style:{flex:1}})},15791:(e,t,n)=>{n.d(t,{Z:()=>O});var a=n(24328),r=n.n(a),l=n(52730),o=n(2507),i=n.n(o),c=n(50914),s=n(71153),p=n.n(s),u=n(79312),d=n(15793),m=n(59952),f=n(28045),h=n(50673),g=n(72342);function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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.makeStyles)({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),S=(0,a.useRef)();return r().createElement("div",{className:p()(g.root,o),"data-reltio-id":"user-selector"},r().createElement(u.Z,{className:g.title,variant:"subtitle1"},i().text("User")),r().createElement(d.Z,{value:y(t),onChange:(0,c.pipe)((0,c.defaultTo)([]),(0,c.pluck)("value"),n),defaultOptions:!0,getOptions:e=>(S.current||(S.current=(0,f.kz_)({tenant:O,servicesPath:x})),S.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,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},20414:(e,t,n)=>{let a;n.d(t,{I:()=>a}),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"}(a||(a={}))},57312:(e,t,n)=>{n.d(t,{te:()=>u,Io:()=>d,rx:()=>m,_V:()=>f,Xr:()=>h});var a=n(28045),r=n(50914),l=n(2507),o=n.n(l),i=n(20414);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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,r.path)(["data","type"]),u=e=>{const{items:t,label:n}=e,[a]=t||[];return p(a)||n},d=e=>{const{items:t=[],label:n}=e,a=e=>{return t=p(e)||n,(0,r.pipe)(r.values,(0,r.includes)(t))(i.I);var t},l=(0,r.filter)(a)(t);return t.length!==l.length&&console.error("Activities not implemented:",(0,r.reject)(a)(t)),c({},e,{items:l,itemsTotal:l.length})},m=e=>(0,r.pipe)((0,r.propOr)([],"items"),(0,r.groupBy)(p),r.values,(0,r.ifElse)((e=>{let{length:t}=e;return t>1}),(0,r.map)((t=>c({},e,{items:t,itemsTotal:t.length}))),(()=>[e])))(e),f=(e,t,n,l)=>{const o=(0,a.zeJ)(n,t),i=(0,a.PFL)(o),c=(0,a.mB6)({attributePresentations:l,dataTypeDefinition:i});return(0,r.isNil)(e)?"":"string"==typeof e?o?c(e):e:Object.entries(e).flatMap((e=>{let[r,o]=e;return o.map((e=>f(e.value,(0,a.tCm)(t,r),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]||"")},27446:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(24328),r=n.n(a),l=n(95038),o=n.n(l),i=n(2507),c=n.n(i),s=n(50914),p=n(28045),u=n(79573),d=n(53242),m=n(47019),f=n(59952),h=n(98192);const g=(0,n(72342).makeStyles)({root:{flex:1},dropdownIndicator:{transition:"transform .15s ease"},inputRoot:{fontSize:"14px",height:46},input:{padding:"0 12px 0"},dateOptionLabel:{minWidth:"100px"},paper:{minWidth:"112px"}}),E=o().localeData().longDateFormat("L"),y=e=>{let{values:t,onChange:n,onFocus:l=u.ZT}=e;const o=E,i=(0,a.useRef)(null),[y,b]=(0,a.useState)(!1),v=g(),O=(0,a.useCallback)((()=>{b((e=>!e)),l()}),[l]);return r().createElement("div",{className:v.root},r().createElement(d.Z,{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:O,variant:"filled",ref:i,InputProps:{endAdornment:r().createElement(f.Z,{selectProps:{classes:v,menuIsOpen:y},innerProps:{}}),disableUnderline:(0,s.isNil)(t),readOnly:!0,classes:{root:v.inputRoot,input:v.input}},InputLabelProps:{shrink:!1},placeholder:c().text(`${o} — ${o}`)}),r().createElement(m.ZP,{open:y,anchorEl:i.current,onClose:()=>{b(!1)},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2},r().createElement(h.Z,{values:t,onApply:e=>{n(e),b(!1)},type:p.oS0.TYPE_ACTIVENESS_DATE})))}},98074:(e,t,n)=>{n.d(t,{v:()=>o});var a=n(24328),r=n.n(a),l=n(28045);const o=r().createContext({generateEntityUrl:l.OuZ,generatePivotingUrl:l.FQ2,generateTagUrl:l.W$R});o.displayName="UrlGeneratorsContext"},63532:(e,t,n)=>{n.d(t,{m:()=>r});var a=n(24328);const r=n.n(a)().createContext(null);r.displayName="ViewIdContext"},19540:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(24328),r=n.n(a);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l.apply(this,arguments)}const o=e=>r().createElement("svg",l({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().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"}))},82332:(e,t,n)=>{n.d(t,{Z:()=>Cn});var a=n(24328),r=n.n(a),l=n(153),o=n(28045),i=n(52730),c=n(50914),s=n(2507),p=n.n(s),u=n(73093),d=n(62321),m=n(33945),f=n(50673),h=n(39034);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{options:t,offset:n,max:r}=e;const[l,i]=(0,a.useState)([]),[s,p]=(0,a.useState)(0),[u,d]=(0,a.useState)(h.o.INIT),m=e=>{console.error(e),d(h.o.ERROR),i([])},f=(0,a.useCallback)((()=>{d(h.o.LOADING);const e=e=>{i(e.result||[]),p(e.total),d(h.o.LOADED)},a=t||{},{countResults:l}=a,s=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(a,["countResults"]);(async()=>{const{result:t=[],total:a}=await(0,o.cZV)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){g(e,t,n[t])}))}return e}({offset:n,max:r},s));if(l){const n=t.map((e=>(0,o.OaI)((0,o.dWE)(e.query)))),r=(await(0,o.RGr)(n)).reduce(((e,t,n)=>{let{status:a,value:r,reason:l}=t;switch(a){case"fulfilled":return(0,c.assocPath)([n,"count"],r.total,e);case"rejected":console.error(l)}return e}),t);e({result:r,total:a})}else e({result:t,total:a})})().catch(m)}),[t,r,n]),E=()=>{try{f()}catch(e){m(e)}};return(0,a.useEffect)((()=>{E()}),[f]),{state:u,data:l,reload:E,total:s}},y=[10,25,50,100],[b]=y,v=e=>y.filter((t=>t!==e)).concat(e).sort(c.subtract);var O=n(65298),x=n(52194),S=n(19926),w=n(25744),T=n(63436),R=n(67322),I=n(24648),P=n(52388),C=n(18960),M=n(95341),D=n(83993),N=n(82056),_=n(87037),F=n(50985),k=n(72342);const j=(0,k.makeStyles)((()=>({menuItemTitle:{fontSize:"13px",lineHeight:"15px"},openIcon:{padding:"4px",borderRadius:"2px",marginRight:"-10px"}}))),A=e=>{let{items:t}=e;const[n,l]=(0,a.useState)(null),o=Boolean(n),i=j(),c=()=>l(null),s=e=>()=>{c(),e()};return r().createElement(r().Fragment,null,r().createElement(_.Z,{className:i.openIcon,"aria-controls":"menu","aria-haspopup":"true",onClick:e=>l(e.currentTarget),size:"large"},r().createElement(F.Z,null)),r().createElement(C.Z,{id:"facet-menu",anchorEl:n,open:o,onClose:c,elevation:2,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},t.filter((e=>e.active)).map((e=>{let{id:t,icon:n,title:a,action:l}=e;return r().createElement(M.Z,{key:t,onClick:s(l)},r().createElement(D.Z,null,n),r().createElement(N.Z,{classes:{primary:i.menuItemTitle}},a))}))))},z=(0,k.makeStyles)((()=>({rightMenu:{display:"flex",flexGrow:1,justifyContent:"flex-end",alignItems:"center",height:"100%",gap:"8px",marginLeft:4},updatedChip:{background:"#FF9E1B",height:20,fontSize:"10px",color:"white",marginLeft:4}}))),L=e=>{let{title:t,onToggleFullscreen:n,isUpdated:l=!1,isFullscreen:o,onRemove:i,onRefresh:c,children:s}=e;const u=(0,a.useContext)(P.H),d=(0,a.useMemo)((()=>[{id:"refresh",title:p().text("Refresh"),icon:r().createElement(I.Z,{fontSize:"small"}),active:!!c,action:()=>c()},{id:"fullscreen",title:p().text("Fullscreen"),icon:r().createElement(w.Z,{fontSize:"small"}),active:!o,action:()=>n(u)},{id:"exitFullscreen",title:p().text("Exit fullscreen"),icon:r().createElement(T.Z,{fontSize:"small"}),active:o,action:()=>n(u)},{id:"remove",title:p().text("Remove"),icon:r().createElement(R.Z,{fontSize:"small"}),active:!!i,action:()=>{i(u),o&&n(u)}}]),[u,o,i,n,c]),m=z();return r().createElement(x.Z,{title:t},l&&r().createElement(S.Z,{label:p().text("Updated"),size:"small",className:m.updatedChip}),r().createElement("div",{className:m.rightMenu},s,r().createElement(A,{items:d})))};var Z=n(71153),U=n.n(Z),B=n(7882),H=n(82068),V=n(79312);function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},G.apply(this,arguments)}const W=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",G({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("mask",{id:"svg2791016623a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},r().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"})),r().createElement("g",{mask:"url(#svg2791016623a)"},r().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"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#nodata__paint0_linear)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),r().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"})),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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)"}),r().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)"}),r().createElement("g",{filter:"url(#nodata__filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},r().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"}),r().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"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().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"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().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"})),r().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"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"nodata__paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"nodata__paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"nodata__paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"nodata__filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},Y=(0,k.makeStyles)((()=>({noDataContainer:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"},icon:{height:"88px",width:"88px",marginBottom:"20px"}}))),q=()=>{const e=Y();return r().createElement("div",{className:e.noDataContainer},r().createElement(W,{className:e.icon}),r().createElement(V.Z,null,p().text("No Data")))};var $=n(38677);function K(){return K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},K.apply(this,arguments)}const X=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",K({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("mask",{id:"svg3217593551a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().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"})),r().createElement("g",{mask:"url(#svg3217593551a)"},r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),r().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"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),r().createElement("g",{filter:"url(#error__filter0_d)"},r().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"})),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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)"}),r().createElement("g",{filter:"url(#error__filter1_d)"},r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),r().createElement("g",{filter:"url(#error__filter2_d)"},r().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"})),r().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"})),r().createElement("defs",null,r().createElement("filter",{id:"error__filter0_d",x:"36.219",y:"37.875",width:"42.375",height:"42.375",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter1_d",x:"51.688",y:"62.625",width:"11.438",height:"11.438",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter2_d",x:"51.688",y:"44.063",width:"11.438",height:"23.813",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("linearGradient",{id:"error__paint0_linear",x1:"68.438",y1:"71.571",x2:"60.119",y2:"58.801",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"}))))},Q=(0,k.makeStyles)((e=>({errorContainer:{height:"100%",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"}}))),J=e=>{let{onRefresh:t,message:n}=e;const a=Q();return r().createElement("div",{className:a.errorContainer},r().createElement(X,{className:a.errorIcon}),r().createElement(V.Z,null,n),t&&r().createElement($.Z,{className:a.refreshButton,startIcon:r().createElement(I.Z,{color:"primary",className:a.refreshIcon}),onClick:t},r().createElement(V.Z,{variant:"button"},p().text("Refresh"))))};var ee=n(43129),te=n(44443);const ne=(0,k.makeStyles)((()=>({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"}}))),ae=e=>{let{loadingState:t,onRefresh:n,children:a,data:l,className:o,EmptyPlaceholder:i}=e;const c=ne();return r().createElement(H.Z,{className:U()(c.viewContent,o),"data-reltio-id":"layout-item-content"},r().createElement(te.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:o=0,height:c=0}=e;switch(t){case h.o.LOADED:return l&&0!==l.length?r().createElement(B.Z,{error:r().createElement(J,{message:p().text("Something went wrong")})},a({data:l,width:o,height:c})):i||r().createElement(q,null);case h.o.LOADING:return r().createElement(ee.Z,null);case h.o.ERROR:return r().createElement(J,{message:p().text("Error Loading Data"),onRefresh:n});default:return r().createElement("div",null)}})))};function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){le(e,t,n[t])}))}return e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oe=e=>{let{uiState:t,uri:n}=e;return"2.0"===t.version?re({},t,{currentSavedSearchUri:n}):re({},t.state,{curSavedSearchUri:n})},ie=(0,k.makeStyles)((()=>({activityLogFilter:{padding:"0 8px 0px 16px",borderBottom:"1px solid rgba(0,0,0,0.12)"},categorySelector:{whiteSpace:"nowrap",textTransform:"none",fontWeight:"normal"},inboxContent:{padding:0,borderTop:"1px solid rgba(0,0,0,0.12)"},content:{padding:0}}))),ce=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s}=e;const{id:h,title:g,options:y,max:x=b}=t,S=ie(),[w,T]=(0,a.useState)(0),[R,I]=(0,a.useState)(x),{data:P,state:C,reload:M,total:D}=E({options:y,max:R,offset:R*w}),N=(0,a.useMemo)((()=>(e=>e.map((e=>{let{uri:t,name:n,count:a}=e;return{value:a||0,label:n||"",group:t}})))(P)),[P]),_=(0,a.useMemo)((()=>v(x)),[x]),F=(0,i.useDispatch)(),k=(0,a.useCallback)((e=>{(0,c.pipe)((0,c.find)((0,c.propEq)("uri",e)),oe,f.ui.actions.openSearch,F)(P)}),[F,P]);return(0,u.T)({state:C,reload:M}),r().createElement(O.Z,{id:h},r().createElement(L,{title:g,onToggleFullscreen:n,isFullscreen:o,isUpdated:l,onRefresh:M,onRemove:s}),r().createElement(ae,{loadingState:C,onRefresh:M,data:N,className:S.content},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(d.Z,{width:n,height:a,data:t,options:{headers:[p().text("Name")],showValues:null==y?void 0:y.countResults},onItemClick:k})})),!!D&&r().createElement(m.Z,{page:w,count:D,rowsPerPage:R,onChangePage:T,onChangeRowsPerPage:I,rowsPerPageOptions:_}))}));var se=n(45990),pe=n(12960);const ue=(0,c.when)((0,c.pipe)((0,c.prop)("filter"),(0,c.includes)(c.__,[o.j5E.IN_RANGE,o.j5E.HAS_ALL])),(0,c.evolve)({values:o.FTe})),de=(0,c.curry)(((e,t)=>({filter:o.j5E.NOT_EQUALS,values:[t],fieldName:e}))),me=e=>{var t,n,a;return{filter:null!==(t=null==e?void 0:e.filter)&&void 0!==t?t:o.j5E.EQUALS,values:null!==(n=null==e?void 0:e.values)&&void 0!==n?n:[],fieldName:null!==(a=null==e?void 0:e.fieldName)&&void 0!==a?a:""}},fe=e=>({filter:o.j5E.EQUALS,fieldName:"type",values:[e]}),he=(0,c.curry)(((e,t)=>({filter:o.j5E.EQUALS,values:[t],fieldName:e}))),ge=(0,c.curry)(((e,t,n)=>{const{fieldName:a}=n,r=(0,o.Yxg)(a)||(0,o.zeJ)(e,(0,o.h2W)(a,t));return r?(0,c.pipe)(ue,(0,c.when)((()=>(0,o.EdS)(r.uri)),(0,c.assoc)("entityType",t)),(0,c.when)((()=>(0,o.Lt4)(r.type)),(0,c.evolve)({values:(0,c.map)((0,o.mOr)(o.ZBU))})))(n):null})),Ee=e=>{let{filter:t,fieldName:n}=e;return t===o.j5E.EQUALS&&"type"===n},ye=(e,t)=>{let{filter:n,fieldName:a,values:r}=e;return n===o.j5E.EQUALS&&"type"===a&&(null==r?void 0:r[0])===t};function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ve(e,t,n[t])}))}return e}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Oe=e=>{let{attribute:t,filters:n,globalFilter:a,searchByOv:r,activityFilter:l,pageSize:i,orderType:s}=e;const p=((e,t,n,a)=>{const r=(0,c.pipe)((0,c.map)(ue),(0,o.Uqd)(),(0,o.vyX)(t))(e),l=r?[`filter=${r}`]:[];return n&&l.push("options=searchByOv"),a&&l.push(`activeness=${a}`),l.join("&")})(n,a,r,l),u=[{fieldName:t,pageNo:1,orderType:s,pageSize:i}];return(0,o.FK9)({query:p,body:u}).then((e=>(0,c.pipe)((0,c.prop)(t),(0,c.defaultTo)({}),Object.entries,(0,c.map)((e=>{let[t,n]=e;return{label:t,group:t,value:n}})),(0,c.sortWith)([(0,c.descend)((0,c.prop)("value")),(0,c.ascend)((0,c.prop)("label"))]))(e)))},xe=(0,c.curry)(((e,t)=>{const n=t.map((t=>{let{label:n}=t;return{codeValue:n,type:e}}));return(0,o.hK$)(n).then((n=>{const a=n.flatMap((0,o.Z2f)(e));return t.map((e=>{const t=a.find((t=>{let{lookupCode:n}=t;return n===e.label}));return t?be({},e,{label:t.value}):e}))}))})),Se=(0,c.curry)(((e,t)=>t.map((0,c.pipe)((0,c.prop)("group"),de(e))))),we="Other",Te=(0,c.curry)(((e,t)=>{let{attribute:n,filters:a,globalFilter:r,searchByOv:l,activityFilter:i}=e;const s=(0,c.pipe)(Se(n),(0,c.concat)(a),(0,c.map)(ue))(t),u=l&&"searchByOv";return(0,o.j_Q)(s,{globalFilter:r,activityFilter:i,searchOptions:u}).then((e=>{let{total:n}=e;return n>0?t.concat([{label:p().text("Other"),group:we,value:n}]):t}))})),Re=(e,t)=>(0,o.xqc)(e,"configuration/roles/"+t),Ie=(0,c.map)((e=>be({},e,{localizedValue:p().number(e.value)}))),Pe=(0,c.when)(o.EdS,o.Tde),Ce=(0,c.ifElse)(o.EdS,o.Uk3,(0,c.always)(void 0)),Me=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Ce(e),a=t.some((e=>ye(e,n)));return n&&!a?[fe(n),...t]:t},De=(0,c.curry)(((e,t,n)=>{const a=Pe(e);return n===we?(0,c.pipe)((0,c.reject)((0,c.propEq)("group",we)),Se(a))(t):[he(a,n)]})),Ne=(0,c.curry)(((e,t,n)=>{var a,r;const l=Ce(t)||(null===(a=n.find(Ee))||void 0===a||null===(r=a.values)||void 0===r?void 0:r[0]);return{facets:n.map(ge(e,l)).filter(c.identity)}}));const _e=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:s,onRemove:p}=e;const{id:d,title:m,filters:g,attributeUri:E,count:y,orderType:b,chartType:v,showOthers:x}=t,S=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(t,["id","title","filters","attributeUri","count","orderType","chartType","showOthers"]),w=v===o.$XE.MAP?100:8,{data:T,state:R,reload:I}=(e=>{let{filters:t,attributeUri:n,pageSize:r,orderType:l="reversedCount",options:s}=e;const[p,u]=(0,a.useState)([]),[d,m]=(0,a.useState)(h.o.INIT),g=(0,a.useContext)(se.I),E=(0,a.useMemo)((()=>g.map(me).concat(t||[])),[g,t]),y=(0,i.useSelector)(f.ZP.selectors.getMetadata),{globalFilter:b,activityFilter:v}=(0,i.useSelector)(f.ZP.selectors.getGlobalSearchRequestOptions),O=(0,i.useSelector)(f.ZP.selectors.getAttributePresentations),x=!(null==O||!O[n]),S=(0,i.useSelector)(f.ZP.selectors.getShowSearchByOv),w=null==s?void 0:s.showOthers,T=e=>{console.error(e),m(h.o.ERROR),u([])},R=(0,a.useCallback)((()=>{m(h.o.LOADING);const e=Me(n,E),t=Pe(n),a=(0,o.Yxg)(t)||(0,o.zeJ)(y,n);if(!a)return void T("Configuration is incorrect");const i=(0,c.pipe)(Oe,(0,c.andThen)(((e,t)=>(0,c.pipe)((0,c.when)((()=>(0,o.CwH)(t)),xe((0,o.To9)(t))),(0,c.when)((()=>(0,o.ian)(t)),(0,c.map)((t=>be({},t,{label:Re(e,t.group)})))),(0,c.when)((()=>(0,o.Lt4)(t.type)),(0,c.map)((0,c.evolve)({label:(0,c.pipe)(o.ZBU,(0,o.mB6)({dataTypeDefinition:(0,o.PFL)(t)}))})))))(y,a)),(0,c.andThen)((0,c.unless)((0,c.always)(x),Ie)),(0,c.andThen)((0,c.when)((0,c.always)(w),Te({attribute:t,filters:e,globalFilter:b,searchByOv:S,activityFilter:v}))),(0,c.andThen)((e=>{m(h.o.LOADED),u(e)})),(0,c.otherwise)(T));i({attribute:t,filters:e,globalFilter:b,searchByOv:S,activityFilter:v,pageSize:r,orderType:l})}),[m,n,y,w,E,b,S,v,r,l,x]),I=()=>{try{R()}catch(e){T(e)}};return(0,a.useEffect)((()=>{I()}),[R]),{state:d,data:p,reload:I}})({filters:g,attributeUri:E,pageSize:y||w,orderType:b,options:{showOthers:x}});(0,u.T)({state:R,reload:I});const P=(0,i.useDispatch)(),C=(0,i.useSelector)(f.ZP.selectors.getMetadata),M=(0,a.useContext)(se.I),D=(0,a.useMemo)((()=>M.map(me).concat(g||[])),[M,g]),N=(0,c.pipe)(De(E,T),(0,c.concat)(Me(E,D)),Ne(C,E),f.ui.actions.openSearch,P);return r().createElement(O.Z,{id:d},r().createElement(L,{title:m,onToggleFullscreen:n,isUpdated:l,isFullscreen:s,onRefresh:I,onRemove:p}),r().createElement(ae,{loadingState:R,onRefresh:I,data:T},(e=>{let{data:t,width:n=0,height:a=0}=e;return pe.Z.build(v,{data:t,width:n,height:a,options:S,onItemClick:N})})))}));var Fe=n(45108),ke=n(92332),je=n(40007);const Ae={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"},ze=(0,k.makeStyles)((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":Ae},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":Ae}})));function Le(){return Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Le.apply(this,arguments)}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ue(e,t,n[t])}))}return e}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Be=e=>{let{className:t,headCellData:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["className","headCellData"]);const l=ze();return r().createElement("div",{className:U()(l.headCell,t)},r().createElement(ke.default,Le({},a,{headCellData:Ze({},n,{label:r().createElement(je.Z,{value:n.label},r().createElement("div",{className:l.headLabel},n.label))})})))};var He=n(18527);const Ve=e=>{let{value:t,rowValue:n}=e;const a=ze(),l=(0,o.idV)(t);return r().createElement(je.Z,{value:l},r().createElement(He.Z,{value:(0,o.wwR)(n),className:a.entityLabel},l))},Ge=(0,k.makeStyles)({tableContainer:e=>{let{width:t,height:n}=e;return{height:n,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none"}}),We=e=>{let{height:t,width:n,basicTableRef:a,data:l}=e;const o=Ge({width:n,height:t}),i=[{id:"label",label:p().text("Entity"),resizable:!1,headCellRenderer:Be,rowCellValueRenderer:Ve,initialWidth:n}],c={cellBorder:o.cellBorder};return r().createElement("div",{className:o.tableContainer},r().createElement(Fe.Z,{columnsData:i,rowsData:l,headRowHeight:48,getRowCellHeight:null,classes:c,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:a}))},Ye=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRemove:c}=e;const s=ie(),{id:p,title:d,filters:f,max:g=b}=t,E=(0,a.useMemo)((()=>v(g)),[g]),[y,x]=(0,a.useState)(g),[S,w]=(0,a.useState)(0),{data:T,state:R,reload:I,total:P}=(e=>{let{filters:t,max:n,offset:r}=e;const[l,i]=(0,a.useState)([]),[c,s]=(0,a.useState)(0),[p,u]=(0,a.useState)(h.o.INIT),d=(0,a.useContext)(se.I),m=(0,a.useMemo)((()=>d.map(me).concat(t||[])),[d,t]),f=e=>{console.error(e),u(h.o.ERROR)},g=(0,a.useCallback)((()=>{u(h.o.LOADING),Promise.all([(0,o.ZOr)(m,{max:n,offset:r}),(0,o.j_Q)(m,{max:n,offset:r})]).then((e=>{const[t,{total:n}]=e;i(t||[]),s(n),u(h.o.LOADED)})).catch(f)}),[m,n,r]),E=()=>{try{g()}catch(e){f(e)}};return(0,a.useEffect)((()=>{E()}),[g]),{state:p,data:l,reload:E,total:c}})({filters:f,max:y,offset:y*S});return(0,u.T)({state:R,reload:I}),r().createElement(O.Z,{id:p},r().createElement(L,{title:d,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRefresh:I,onRemove:c}),r().createElement(ae,{loadingState:R,onRefresh:I,data:T,className:s.content},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(We,{height:a,width:n,data:t})})),!!P&&r().createElement(m.Z,{page:S,count:P,rowsPerPage:y,onChangePage:w,onChangeRowsPerPage:x,rowsPerPageOptions:E}))}));var qe=n(65643),$e=n(78291);const Ke=(0,k.makeStyles)({button:{whiteSpace:"nowrap",textTransform:"none",fontWeight:"normal"}}),Xe=(0,a.forwardRef)(((e,t)=>{let{editorLabel:n,onMenuToggle:a}=e;const l=Ke();return r().createElement($.Z,{ref:t,onClick:a,size:"small",className:l.button,endIcon:r().createElement(qe.Z,null)},n)}));Xe.displayName="DashboardDateRangeSelector";const Qe=(0,$e.Z)(Xe);var Je=n(14806);var et=n(95038),tt=n.n(et);let nt;!function(e){e.HOUR="hour",e.DAY="day"}(nt||(nt={}));const at=(0,c.pipe)((e=>(0,o.RHh)(e,rt)),(e=>{let[t,n]=e;return n-t>+tt().duration(1,"day")?nt.DAY:nt.HOUR})),rt=e=>{const t=tt()();return e===o.bZE.LAST_WEEK?[tt()(t).subtract(6,"days").valueOf(),t.valueOf()]:(0,o.VQ1)(e)},lt=(0,c.pipe)(rt,(0,c.defaultTo)([]),(0,c.map)((e=>e&&new Date(e)))),ot=[{id:"created",types:["CREATED"],get label(){return p().text("New")},color:"#4BAFFF"},{id:"updated",types:["UPDATED"],get label(){return p().text("Updated")},color:"#0072CE"},{id:"deleted",types:["DELETED"],get label(){return p().text("Deleted")},color:"#F085F2"},{id:"matched",types:["POTENTIAL_MATCHES_FOUND"],get label(){return p().text("Matched")},color:"#C4CE00"},{id:"autoMerged",types:["MERGED","MERGED_ON_THE_FLY"],get label(){return p().text("Auto-merged")},color:"#CE5C00"},{id:"mergedManually",types:["MERGED_MANUALLY"],get label(){return p().text("Manually merged")},color:"#9E7ED3"},{id:"unmerged",types:["SPLITTED"],get label(){return p().text("Unmerged")},color:"#40CFBB"},{id:"notMatch",types:["NOT_MATCHES_SET"],get label(){return p().text("Not a match")},color:"#F97061"}],it=e=>ot.find((0,c.propEq)("id",e)),ct=(0,c.pipe)(it,(0,c.propOr)("","label")),st=(0,c.pipe)(it,(0,c.prop)("color")),pt=e=>{const[t,n]=(0,o.RHh)(e,rt),a=e=>{let{facet:a,types:r}=e;return(0,o.NIY)({facet:a,startTime:t,endTime:n,types:r}).then((e=>{let{facets:t={},total:n=0}=e;return{total:n,data:t[a]}}))};return(()=>{const e=(0,c.chain)((0,c.prop)("types"),ot),t=(0,c.pipe)((0,c.propOr)([],"data"),(0,c.pluck)("term"));return a({facet:"type",types:e}).then((e=>t(e)))})().then((e=>e.length>0?(e=>{const r=(0,c.pipe)((0,c.map)((0,c.evolve)({term:e=>tt().utc(e).valueOf()})),(0,c.prepend)({term:t,count:0}),(0,c.append)({term:n,count:0}));return Promise.all(ot.map((t=>{let{types:n,id:l}=t;return((t=>t.some((t=>e.includes(t))))(n)?a({facet:"hour",types:n}):Promise.resolve({total:0,data:[]})).then((e=>{let{total:t,data:n}=e;return{total:t,data:r(n),event:l}}))})))})(e):[]))},ut=(0,c.curry)(((e,t)=>(0,c.pipe)((0,c.groupBy)((t=>{let{term:n}=t;return tt()(n).startOf(e)})),c.toPairs,(0,c.map)((e=>{let[t,n]=e;return{term:tt()(t).valueOf(),count:(0,c.sum)((0,c.pluck)("count",n))}})))(t))),dt=(0,c.curry)(((e,t)=>{const[n,...a]=t;return a.reduce(((t,n)=>{const a=(0,c.last)(t).term;let r=tt()(a).add(1,e).valueOf();const l=[];for(;r<n.term;)l.push({term:r,count:0}),r=tt()(r).add(1,e).valueOf();return t.concat(l,n)}),[n])})),mt=(0,c.curry)(((e,t)=>t.map((0,c.evolve)({data:(0,c.pipe)(ut(e),dt(e))})))),ft=(0,c.cond)([[(0,c.equals)(nt.HOUR),(0,c.always)("LT")],[(0,c.equals)(nt.DAY),(0,c.always)("MMM D")]]),ht=e=>{let{x:t,y:n,payload:a,step:l}=e;return r().createElement("g",{transform:`translate(${t},${n})`},r().createElement("text",{x:0,y:0,dy:16,textAnchor:"middle",fill:"#666"},p().date(null==a?void 0:a.value,ft(l))))},gt=(0,k.makeStyles)({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"}}),Et=(0,c.cond)([[(0,c.equals)(nt.HOUR),(0,c.always)("LT MMM D")],[(0,c.equals)(nt.DAY),(0,c.always)("ll")]]),yt=e=>{let{active:t,payload:n,label:a,step:l,events:o}=e;const i=gt();return t&&r().createElement("div",{className:i.tooltipWrapper},r().createElement("p",{className:i.tooltipTitle},p().date(a,Et(l))),n.filter((e=>{let{name:t}=e;return o.includes(t)})).map((e=>{let{color:t,name:n,value:a}=e;return r().createElement("p",{key:n},r().createElement("span",{style:{background:t},className:i.tooltipItemColor}),`${ct(n)}: ${a}`)})))};var bt=n(23883);const vt=e=>{let{payload:t,selectedItems:n,onClick:a}=e;const l=gt();return r().createElement("div",{className:l.legend},t.map((e=>{let{id:t,color:o,value:i}=e;const c=n.includes(t);return r().createElement("div",{key:t,className:l.legendItem},r().createElement(bt.Z,{title:c?p().text("Hide"):p().text("Show")},r().createElement("div",{style:c?{background:o}:{border:`${o} 1px solid`},className:l.legendItemColor,onClick:()=>a(t)})),ct(t),r().createElement("span",{className:l.legendItemValue},i))})))};function Ot(){return Ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ot.apply(this,arguments)}const xt=e=>{let{data:t,width:n,height:l,step:i}=e;const[s,p]=(0,a.useState)((0,c.pluck)("event",t)),[u,d]=(0,a.useState)(null),{cartesianGrid:m,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:o.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,a.useMemo)((()=>mt(i,t)),[i,t]),v=(0,a.useMemo)((()=>((e,t)=>{const n=(0,c.chain)((0,c.pipe)((0,c.prop)("data"),(0,c.pluck)("count")))(e),a=Math.min(...n),r=Math.max(...n);return Math.abs(r-a)<8?[0,7]:[0,"auto"]})(b)),[b]);return r().createElement(Je.wW,{width:n,height:l},r().createElement(Je.q3,m),r().createElement(Je.Kc,Ot({},h,{tick:r().createElement(ht,{step:i})})),r().createElement(Je.B2,Ot({},g,{tickCount:8,domain:v})),b.map((e=>{let{event:t,data:n}=e;const a=s.includes(t);return r().createElement(Je.x1,Ot({key:t,stroke:st(t),name:t,data:n,dot:a&&{r:5,strokeWidth:2},activeDot:a&&{r:5,strokeWidth:2,onMouseEnter:()=>d(t),onMouseLeave:()=>d(null)},strokeOpacity:a?1:0},E))})),r().createElement(Je.De,Ot({content:r().createElement(vt,{selectedItems:s,onClick:e=>{p((0,c.ifElse)((0,c.includes)(e),(0,c.without)([e]),(0,c.append)(e)))}}),payload:b.map((e=>{let{event:t,total:n}=e;return{id:t,type:"square",color:st(t),value:n}}))},y)),r().createElement(Je.u,Ot({},f,{content:r().createElement(yt,{step:i,events:u?[u]:s})})))};var St=n(19701);const wt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRemove:s}=e;const{id:p,title:d}=t,[m,f]=(0,a.useState)(o.bZE.LAST_WEEK),{state:g,data:E,step:y,reload:b}=(e=>{const[t,n]=(0,a.useState)([]),[r,l]=(0,a.useState)(at(e)),[o,i]=(0,a.useState)(h.o.INIT),s=(0,St._)(),p=e=>{console.error(e),i(h.o.ERROR),n([])},u=(0,a.useCallback)((()=>{i(h.o.LOADING),l(at(e)),n([]);const t=(0,c.pipe)(pt,s,(0,c.andThen)((e=>{i(h.o.LOADED),n(e)})),(0,c.otherwise)(p));t(e)}),[e.toString()]),d=()=>{try{u()}catch(e){p(e)}};return(0,a.useEffect)((()=>{d()}),[u]),{state:o,data:t,step:r,reload:d}})(m);return(0,u.T)({state:g,reload:b}),r().createElement(O.Z,{id:p},r().createElement(L,{title:d,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRefresh:b,onRemove:s},r().createElement(Qe,{values:m,options:(0,o.cGG)(),getValuesDateRange:lt,onChange:f,MenuProps:{MenuListProps:{autoFocusItem:!0},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}})),r().createElement(ae,{loadingState:g,onRefresh:b,data:E},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(xt,{data:t,width:n,height:a,step:y})})))}));var Tt=n(56215);function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){It(e,t,n[t])}))}return e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pt=e=>`configuration/entityTypes/${e}`,Ct=(0,c.pipe)((0,c.prop)("group"),Pt),Mt=(0,c.curry)(((e,t)=>t.map((t=>{const n=Ct(t);return Rt({},t,{label:(0,o.nt9)(e,n).label})})))),Dt=(0,c.curry)(((e,t)=>{const n=(0,c.pipe)(Ct,(0,o.io3)(e),(0,c.map)((0,o.nt9)(e)),(0,c.filter)(o.oDv),c.last),a=t.reduce(((e,t)=>{const a=n(t);if(a){const n=(0,o.nIW)(a.uri);return Rt({},e,{[n]:(e[n]||0)+t.value})}return e}),{});return Object.entries(a).map((e=>{let[t,n]=e;return{group:t,label:t,value:n}}))})),Nt=(0,c.pipe)(Pt,fe,o.VGB),_t=(0,c.pipe)((0,c.prop)("uri"),o.nIW),Ft=(0,c.curry)(((e,t)=>e.find((e=>e.group===t)))),kt=e=>({label:e,group:e,value:0}),jt=(0,c.curry)(((e,t)=>{let{entityTypes:n}=e;const a=(0,c.pipe)(_t,(0,c.either)(Ft(t),kt));return n.filter(o.oDv).map(a)})),At=[],zt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s}=e;const{id:p,title:d,hideEmpty:m,orderType:g,inheritChildren:E}=t,{data:y,state:b,reload:v}=(e=>{let{orderType:t,inheritChildren:n,hideEmpty:r}=e;const[l,o]=(0,a.useState)([]),[s,p]=(0,a.useState)(h.o.INIT),u=(0,i.useSelector)(f.ZP.selectors.getMetadata),d=u.entityTypes.length,{globalFilter:m,activityFilter:g}=(0,i.useSelector)(f.ZP.selectors.getGlobalSearchRequestOptions),E=(0,i.useSelector)(f.ZP.selectors.getShowSearchByOv),y=e=>{console.error(e),p(h.o.ERROR),o([])},b=(0,a.useCallback)((()=>{p(h.o.LOADING);const e=(0,c.pipe)(Oe,(0,c.andThen)((0,c.unless)((0,c.always)(r),jt(u))),(0,c.andThen)((0,c.when)((0,c.always)(n),Dt(u))),(0,c.andThen)(Mt(u)),(0,c.andThen)(Ie),(0,c.andThen)((e=>{p(h.o.LOADED),o(e)})),(0,c.otherwise)(y));e({attribute:"type",pageSize:d,filters:At,globalFilter:m,searchByOv:E,activityFilter:g,orderType:t})}),[r,u,n,d,m,E,g,t]),v=()=>{try{b()}catch(e){y(e)}};return(0,a.useEffect)((()=>{v()}),[b]),{state:s,data:l,reload:v}})({hideEmpty:m,orderType:g,inheritChildren:E});(0,u.T)({state:b,reload:v});const x=(0,i.useDispatch)(),S=(0,i.useSelector)(f.ZP.selectors.getMetadata),w=(0,c.pipe)(Nt,Ne(S,"type"),f.ui.actions.openSearch,x);return r().createElement(O.Z,{id:p},r().createElement(L,{title:d,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRefresh:v,onRemove:s}),r().createElement(ae,{loadingState:b,onRefresh:v,data:y},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(Tt.Z,{width:n,height:a,data:t,onItemClick:w})})))})),Lt=(0,k.makeStyles)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},iframe:{borderWidth:0,width:"100%",height:"100%"}}))),Zt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:a,isFullscreen:l,onRemove:o}=e;const{id:i,title:c,url:s}=t,p=Lt();return r().createElement(O.Z,{id:i},r().createElement(L,{title:c,onToggleFullscreen:n,isUpdated:a,isFullscreen:l,onRemove:o}),r().createElement(H.Z,{className:p.viewContent},r().createElement("iframe",{src:s,frameBorder:"0",className:p.iframe})))}));var Ut=n(98538);let Bt;!function(e){e.MY="my",e.TEAM="team"}(Bt||(Bt={}));var Ht=n(44938),Vt=n(96379),Gt=n(80516);function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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 qt=(0,c.cond)([[(0,c.equals)(Bt.MY),(0,c.always)(o.C82)],[(0,c.equals)(Bt.TEAM),(0,c.always)(o.h6J)],[c.T,(0,c.always)((()=>Promise.resolve({data:[]})))]]),$t=(0,c.pipe)((0,c.propOr)([],"objectURIs"),c.head),Kt=(0,c.startsWith)("changeRequests/"),Xt=(0,c.complement)(c.isEmpty),Qt=(0,c.pipe)((0,c.map)($t),(0,c.filter)(o.WgC),(0,c.when)(Xt,o.DnY)),Jt=(0,c.pipe)((0,c.map)($t),(0,c.filter)(Kt),(0,c.map)((0,c.pipe)(o.E6I,(0,c.otherwise)((0,c.always)(null)))),(e=>Promise.all(e))),en=(0,c.converge)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.all(t)}),[Qt,Jt]),tn=e=>{let{objectsInfo:t={},changes:n={},uri:a}=e;const r=e=>(0,c.path)([e,0],n),l=e=>{const{type:t}=r(e);return"CREATE_ENTITY"==t||"CREATE_RELATIONSHIP"==t?a+"/changes/"+e:e};return(0,c.pipe)(c.keys,(0,c.filter)(r),(0,c.sort)((0,c.descend)((0,c.pipe)(r,(0,c.prop)("createdTime")))),(0,c.map)((e=>Wt({},t[e],{uri:l(e)}))))(t)},nn=(e,t,n)=>(t=(0,c.reject)(c.isNil,t),n.map((0,c.pipe)((0,c.when)((0,c.pipe)($t,o.WgC),(e=>t=>{const n=e.find((0,c.propEq)("uri",$t(t)));return n?Wt({},t,{objects:[n]}):t})(e)),(0,c.when)((0,c.pipe)($t,Kt),(e=>t=>{const n=e.find((0,c.propEq)("uri",$t(t)));return n?Wt({},t,{objects:tn(n)}):t})(t))))),an=(0,c.curry)((async(e,t)=>{let{workflowPath:n,environment:a,tenant:r,assignee:l,max:o,offset:i}=t;const c=qt(e),{data:s,total:p}=await c({workflowPath:n,environment:a,tenant:r,assignee:l,max:o,offset:i}),[u,d]=await en(s);return{data:nn(u,d,s),total:p}})),rn=e=>e.dueDate&&e.dueDate<Date.now(),ln=(0,k.makeStyles)((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,paddingLeft:"15px",overflow:"hidden",overflowWrap:"anywhere"},titleContainer:{display:"flex",alignItems:"baseline"},taskTitle:{lineHeight:"18px",marginBottom:"6px"},taskDetail:{lineHeight:"15px",fontSize:"12px",margin:"5px 0"},taskDetailTitle:{color:e.palette.text.secondary,marginRight:"3px"},taskDueDate:{fontSize:"13px",lineHeight:"15px",marginLeft:"auto",flexShrink:0},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"}}))),on=e=>{let{uri:t,label:n,screen:a}=e;const l=ln();return r().createElement(He.Z,{value:t,screen:a,className:l.entityLabel},(0,o.idV)(n))},cn=e=>{let{object:t,metadata:n,processType:a}=e;if("startObjectUri"in t&&"endObjectUri"in t){const e=(0,o.V3K)(n,t.type);return r().createElement(r().Fragment,null,e.label," ",p().text("from")," ",r().createElement(on,{uri:t.startObjectUri,label:t.startObjectLabel})," ",p().text("to")," ",r().createElement(on,{uri:t.endObjectUri,label:t.endObjectLabel}))}{const e=(0,c.cond)([[(0,c.always)((0,c.equals)(a,o.Yj_.potentialMatchReview)),(0,c.always)("potentialMatches")],[(0,c.propSatisfies)(o.FP6,"uri"),(0,c.always)("dcrReview")],[c.T,(0,c.always)("profile")]])(t);return r().createElement(on,{uri:(0,o.wwR)(t),label:t.label,screen:e})}},sn=e=>{let{task:t,showAssignee:n}=e;const a=ln(),l=t.objects||[],[c]=l,s=(0,i.useSelector)(f.ZP.selectors.getMetadata),u=c&&(0,o.nt9)(s,c.type);return r().createElement("div",{className:U()(a.taskItem,t.priorityClass),"data-reltio-id":"workflow-task-item"},r().createElement(Vt.Z,{entityType:u}),r().createElement("div",{className:a.taskInfo},r().createElement("div",{className:a.titleContainer},r().createElement(V.Z,{className:a.taskTitle,variant:"subtitle1"},p().text(t.processDefinitionDisplayName)),r().createElement("div",{className:U()(a.taskDueDate,{[a.overdue]:rn(t),[a.hidden]:!t.dueDate})},r().createElement(Gt.Z,{className:a.flag}),p().date(t.dueDate,"L"))),l.map((e=>r().createElement("p",{key:e.uri,className:a.taskDetail},r().createElement(cn,{object:e,processType:t.processType,metadata:s})))),r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},`${p().text("Created by")}:`),t.createdBy," ",p().text("on")," ",p().date(t.createTime,"L")),n&&t.assignee&&r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},`${p().text("Assigned to")}:`),t.assignee),r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},`${p().text("Step")}:`),t.displayName)))};var pn=n(56961);const un=e=>{let{width:t,height:n,tasksCategory:l,tasks:o}=e;const i=(0,a.useCallback)((e=>{let{data:t,index:n}=e;const a=n===t.length-1;return r().createElement("div",null,r().createElement(sn,{task:t[n],showAssignee:l!==Bt.MY}),!a&&r().createElement(pn.Z,{light:!0,variant:"inset"}))}),[l]);return r().createElement(Ht.Z,{width:t,height:n,data:o,defaultItemSize:115},i)};function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mn=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s}=e;const{id:d,title:g,pageSize:E=b}=t,y=ie(),[v,x]=(0,a.useState)(0),[S,w]=(0,a.useState)(E),[T,R]=(0,a.useState)(Bt.MY),I=(0,a.useMemo)((()=>({tasksCategory:T,max:S,offset:S*v})),[S,v,T]),P=(0,a.useMemo)((()=>({[Bt.MY]:p().text("My tasks"),[Bt.TEAM]:p().text("Team tasks")})),[]),C=(0,a.useMemo)((()=>Object.keys(P).map((e=>({text:P[e],onClick:()=>R(e)})))),[P]),{state:M,data:D,total:N,reload:_}=(e=>{const{tasksCategory:t}=e,n=(0,a.useMemo)((()=>(0,c.pick)(["max","offset"],e)),[e]),[r,l]=(0,a.useState)([]),[o,s]=(0,a.useState)(h.o.INIT),[p,u]=(0,a.useState)(),d=(0,i.useSelector)(f.ZP.selectors.getWorkflowPath),m=(0,i.useSelector)(f.ZP.selectors.getWorkflowEnvironmentUrl),g=(0,i.useSelector)(f.ZP.selectors.getTenant),E=(0,i.useSelector)(f.ZP.selectors.getUserName),y=t===Bt.MY?E:void 0,b=(0,St._)(),v=e=>{console.error(e),s(h.o.ERROR),l([])},O=(0,a.useCallback)((()=>{s(h.o.LOADING);const e=(0,c.pipe)(an(t),b,(0,c.andThen)((e=>{let{data:t,total:n}=e;s(h.o.LOADED),l(t),u(n)})),(0,c.otherwise)(v));e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){dn(e,t,n[t])}))}return e}({workflowPath:d,environment:m,tenant:g,assignee:y},n))}),[d,m,g,t,n]),x=()=>{try{O()}catch(e){v(e)}};return(0,a.useEffect)((()=>{x()}),[O]),{state:o,data:r,reload:x,total:p}})(I);return(0,u.T)({state:M,reload:_}),r().createElement(O.Z,{id:d},r().createElement(L,{title:g,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s,onRefresh:_},r().createElement(Ut.Z,{buttonProps:{className:y.categorySelector,endIcon:r().createElement(qe.Z,null),size:"small"},buttonContent:P[T],menuId:"tasks-category-menu",menuItems:C})),r().createElement(ae,{loadingState:M,onRefresh:_,data:D,className:y.inboxContent},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(un,{width:n,height:a,tasksCategory:T,tasks:t})})),!!N&&r().createElement(m.Z,{page:v,count:N,rowsPerPage:S,onChangePage:x,onChangeRowsPerPage:w}))}));var fn=n(75067),hn=n(77434),gn=n(7278);const En=(0,a.memo)((e=>{let{config:t,isUpdated:n,isFullscreen:l,onToggleFullscreen:i,onRemove:s}=e;const{id:d,title:f,exportTypes:g}=t,E=ie(),[y,x]=(0,a.useState)(0),[S,w]=(0,a.useState)(b),T=(0,a.useMemo)((()=>v(b)),[]),[R,I]=(0,a.useState)({users:[],activities:[],dateRange:{type:o.KfU.WITHIN,period:[4,"months"]}}),{state:P,data:C,total:M,reload:D}=(e=>{let{filter:t,max:n,offset:r}=e;const[l,o]=(0,a.useState)([]),[i,s]=(0,a.useState)(0),[p,u]=(0,a.useState)(h.o.INIT),d=(0,St._)(),m=e=>{console.error(e),u(h.o.ERROR)},f=(0,gn.d)({filter:t,max:n,offset:r}),g=(0,a.useCallback)((()=>{u(h.o.LOADING);const e=(0,c.pipe)(f,d,(0,c.andThen)((e=>{let{data:t,total:n}=e;o(t),s(n),u(h.o.LOADED)})),(0,c.otherwise)(m));e()}),[f]),E=()=>{try{g()}catch(e){m(e)}};return(0,a.useEffect)((()=>{E()}),[g]),{state:p,data:l,total:i,reload:E}})({filter:R,max:S,offset:y*S}),N=(0,a.useCallback)((e=>{I(e),x(0)}),[]);return(0,u.T)({state:P,reload:D}),r().createElement(O.Z,{id:d},r().createElement(L,{title:f,onToggleFullscreen:i,isUpdated:n,isFullscreen:l,onRemove:s,onRefresh:D}),r().createElement("div",{className:E.activityLogFilter},r().createElement(fn.Z,{value:R,onChange:N,exportTypes:g})),r().createElement(ae,{loadingState:P,onRefresh:D,data:C,className:E.content},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(hn.Z,{width:n,height:a,activities:t})})),!!M&&r().createElement(m.Z,{page:y,count:M,onChangePage:x,rowsPerPage:S,onChangeRowsPerPage:w,rowsPerPageOptions:T,labelRowsPerPage:p().text("Events per page:")}))}));function yn(){return yn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},yn.apply(this,arguments)}const bn=e=>(0,l.Z)(e),vn=bn(En),On=bn(Zt),xn=bn(_e),Sn=bn(zt),wn=bn(ce),Tn=bn(Ye),Rn=bn(mn),In=bn(wt);class Pn{}Pn.ViewTypes=o.dZX,Pn.getComponent=e=>{let{config:t,type:n,isUpdated:a,isFullscreen:l,onToggleFullscreen:o,onRemove:i}=e;const c={isUpdated:a,isFullscreen:l,onToggleFullscreen:o,onRemove:i};switch(n){case Pn.ViewTypes.ActivitiesViewFacet:return r().createElement(vn,yn({config:t},c));case Pn.ViewTypes.CustomActionViewFacet:return r().createElement(On,yn({config:t},c));case Pn.ViewTypes.DashboardFacet:return r().createElement(xn,yn({config:t},c));case Pn.ViewTypes.EntitiesByTypeViewFacet:return r().createElement(Sn,yn({config:t},c));case Pn.ViewTypes.FilteredSavedSearchesFacet:return r().createElement(wn,yn({config:t},c));case Pn.ViewTypes.FilteredEntitiesViewFacet:return r().createElement(Tn,yn({config:t},c));case Pn.ViewTypes.NotificationInboxFacet:return r().createElement(Rn,yn({config:t},c));case Pn.ViewTypes.ProfileStatsFacet:return r().createElement(In,yn({config:t},c))}},Pn.getChartType=e=>{const t={[Pn.ViewTypes.EntitiesByTypeViewFacet]:o.$XE.TREE,[Pn.ViewTypes.FilteredSavedSearchesFacet]:o.$XE.TABLE,[Pn.ViewTypes.FilteredEntitiesViewFacet]:o.$XE.TABLE,[Pn.ViewTypes.ProfileStatsFacet]:o.$XE.LINE,[Pn.ViewTypes.NotificationInboxFacet]:o.$XE.TABLE,[Pn.ViewTypes.ActivitiesViewFacet]:o.$XE.TABLE};return e.chartType||t[e.component]};const Cn=Pn},46847:(e,t,n)=>{function a(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function l(e,t){try{var n=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}function o(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==i){var c=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=a,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=l;var p=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;p.call(this,e,t,a)}}return e}n.r(t),n.d(t,{polyfill:()=>o}),a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,l.__suppressDeprecationWarning=!0}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="52337ac2-a759-49b2-8f22-a84c9c7f24dd",e._sentryDebugIdIdentifier="sentry-dbid-52337ac2-a759-49b2-8f22-a84c9c7f24dd")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1615"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[6890],{89323:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(68671)),l=n(52322),o=(0,r.default)((0,l.jsx)("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator");t.Z=o},80516:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(68671)),l=n(52322),o=(0,r.default)((0,l.jsx)("path",{d:"M14.4 6 14 4H5v17h2v-7h5.6l.4 2h7V6z"}),"Flag");t.Z=o},24648:(e,t,n)=>{var a=n(71600);t.Z=void 0;var r=a(n(68671)),l=n(52322),o=(0,r.default)((0,l.jsx)("path",{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"}),"Replay");t.Z=o},153:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(89323);const c=(0,n(72342).makeStyles)({dragHandleContainer:{position:"relative",width:"100%",height:"inherit"},dragHandleVisibilityArea:{position:"absolute",top:0,left:0,width:"100%",height:"12px",zIndex:11,visibility:"hidden","&:hover $dragHandle":{visibility:"visible"},".react-draggable &":{visibility:"visible"}},dragHandle:{position:"absolute",width:"100%",display:"flex",justifyContent:"center",top:"-3px",zIndex:11,cursor:"move",visibility:"hidden"},dragIcon:{transform:"translateX(-50%) rotate(90deg)",color:"rgba(0, 0, 0, 0.3)",fontSize:"20px"}}),s=e=>{const t=t=>{const n=c();return r().createElement("div",{className:n.dragHandleContainer},r().createElement("div",{className:n.dragHandleVisibilityArea},r().createElement("div",{className:o()("viewDraggableHandle",n.dragHandle)},r().createElement(i.Z,{className:n.dragIcon}))),r().createElement(e,t))};return t.displayName="WithDragHandle",t}},33117:(e,t,n)=>{n.d(t,{Z:()=>I});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(2507),c=n.n(i),s=n(82056),p=n(80852),u=n(95341),d=n(40007),m=n(28045),f=n(78223),h=n(32701),g=n(79573),E=n(19540);function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y.apply(this,arguments)}const b=e=>r().createElement("svg",y({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().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 v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}const O=e=>r().createElement("svg",v({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("rect",{fill:"#000",x:9,y:9,width:6,height:6,rx:1,stroke:"none",strokeWidth:1,fillRule:"evenodd"})),x=(0,n(72342).makeStyles)({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"}}),S=e=>{let{attrType:t={}}=e;const n=x(),a=(e=>{switch(e.type){case m.oS0.TYPE_IMAGE:case m.oS0.TYPE_NESTED:return E.Z;case m.oS0.TYPE_REFERENCE:return b;default:return O}})(t);return r().createElement(a,{className:n.icon})};var w=n(33286);function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},T.apply(this,arguments)}const R=(0,f.Z)((e=>r().createElement("svg",T({width:13,height:18,viewBox:"0 0 13 18",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("g",{transform:"translate(-3 -1)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("path",{fill:"#FF4081",d:"M5.833 10h3.75v6.667l-3.75 1.666z"}),r().createElement("path",{fill:"#CE0C4E",d:"M13.333 10v8.333l-3.75-1.666V10z"}),r().createElement("circle",{fill:"#FFC058",cx:9.583,cy:7.917,r:6.25}),r().createElement("circle",{fill:"#FFCD7B",cx:9.583,cy:7.917,r:5.417}),r().createElement("path",{fill:"#FFFBB5",d:"M8.333 11.667L5 8.462l.933-.898 2.4 2.308L13.4 5l.933.897z"}))))),I=(0,a.memo)((e=>{let{groupId:t,data:n,checked:a=!1,isFocused:l=!1,isRequired:i=!1,label:f,labelInText:E,level:y,onClick:b=g.ZT,hideCheckBox:v=!1,hideIcon:O=!1,notSelectable:T=!1,disableHorizontalScrollbar:I=!1,style:P={},subItemMargin:C=20,LogoIcon:M,className:D,disableNonSelectable:N,disableGutters:_}=e;const F=x(),{attrType:k}=n||{},j=!(v&&(0,m.QZu)(k)||T),A=!!M;return r().createElement(d.Z,{value:E||f,className:F.itemTooltip,placement:"bottom-end"},r().createElement(u.Z,{className:o()(F.container,F.listItem,{[F.defaultCursor]:!j},D),onClick:j?()=>b(n,!a,t):void 0,style:P,dense:!0,disabled:N&&T,classes:{focusVisible:F.listItemFocus,selected:F.listItemFocus},selected:l,tabIndex:-1,disableGutters:_},!v&&r().createElement(p.Z,{checked:a,disableRipple:!0,disabled:!j,className:o()(F.checkbox,{[F.checked]:a}),tabIndex:-1}),r().createElement(w.Z,{margin:C,level:y,className:F.marginWrapper},r().createElement(r().Fragment,null,!O&&(e=>"recommended"===t?r().createElement(R,{className:F.recommendedIcon,tooltipTitle:c().text("Recommended"),showForDisabled:!0}):r().createElement(S,{attrType:e}))(k),r().createElement("div",{className:o()(F.itemTextWrapper,{[F.marginText]:O})},A&&r().createElement(M,{className:F.logoIcon}),r().createElement(s.Z,{primary:r().createElement(r().Fragment,null,f,i&&r().createElement(h.Z,null)),className:F.itemText})))),j&&I&&r().createElement("div",{className:F.itemAfter})))}))},55234:(e,t,n)=>{n.d(t,{Z:()=>S});var a=n(24328),r=n.n(a),l=n(2507),o=n.n(l),i=n(71153),c=n.n(i),s=n(50914),p=n(52730),u=n(50673),d=n(28045),m=n(79312),f=n(15793),h=n(19602),g=n(59952),E=n(33117),y=n(72342);function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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.makeStyles)({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 S=e=>{let{entityType:t,selectedAttributes:n,className:l,onChange:i,title:y,disableUnderline:b,menuPlacement:v="bottom"}=e;const S=(0,p.useSelector)(u.ZP.selectors.getMetadata),w=x(),T=(0,a.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,a)=>{if(a.hidden)return e;const r=`${n&&n+" / "}${a.label}`;e.push({label:a.label,value:a.uri,attrType:a,chipLabel:r,level:t});const l=(0,d.EUG)(S,a);return e.concat(l?T(l,t+1,r):[])}),[])}),[S]),R=(0,a.useMemo)((()=>T((null==t?void 0:t.attributes)||[])),[t,T]);return r().createElement("div",{className:c()(w.root,l),"data-reltio-id":"attribute-selector"},r().createElement(m.Z,{className:w.title,variant:"subtitle1"},y||o().text("Attribute")),r().createElement(f.Z,{value:n,options:R,TextFieldProps:{InputProps:{disableUnderline:b},classes:{root:w.dropDownInput}},components:{DropdownIndicator:g.Z,MultiValue:e=>{let{data:t}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["data"]);return r().createElement(h.Z,n,t.chipLabel)},Option:e=>{let{isFocused:t,isSelected:n,data:a,label:l,innerProps:o}=e;return r().createElement("div",o,r().createElement(E.Z,{checked:n,level:a.level,data:a,label:l,labelInText:l,isFocused:t}))}},onChange:(0,s.pipe)((0,s.defaultTo)([]),i),styles:O,classes:w,menuPlacement:v,menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},33945:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(2507),c=n.n(i),s=n(79573),p=n(50914),u=n(76799);const d=(0,n(72342).makeStyles)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",flexShrink:0,borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none",boxSizing:"border-box",overflowY:"hidden",containerType:"inline-size","& .MuiInputBase-root":{display:"none","@container (min-width: 420px)":{display:"inline-flex"}}},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",display:"none","@container (min-width: 420px)":{display:"block"}},displayedRows:{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!important"}});function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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 h=e=>{let{classes:t={},count:n,rowsPerPageOptions:l,page:i,onChangePage:f,rowsPerPage:h,onChangeRowsPerPage:g,basicTableRef:E,labelRowsPerPage:y}=e;const b=d(),v=(0,a.useCallback)((()=>{(0,p.pathOr)(p.identity,["current","resetScrollbarPosition"],E)()}),[E]),O=(0,a.useCallback)((e=>{f(e),v()}),[f,v]),x=(0,a.useCallback)((e=>{f(0),g(e),v()}),[f,g,v]);return r().createElement(u.Z,{classes:m({},t,{root:o()(b.pagination,t.root),select:o()(b.select,t.select),selectLabel:o()(b.caption,t.selectLabel),displayedRows:o()(b.displayedRows,t.displayedRows),input:o()(b.selectRoot,t.selectRoot),actions:b.actions}),backIconButtonProps:{size:"large"},nextIconButtonProps:{size:"large"},component:"div",labelRowsPerPage:y||c().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:n,count:a}=e;return c().text("${fromRow}-${toRow} of ${countRows}",{fromRow:c().number(t,"0,0"),toRow:c().number(n,"0,0"),countRows:c().number(a,"0,0")})},count:n,rowsPerPageOptions:l,page:i,onPageChange:(0,p.pipe)((0,p.nthArg)(1),O),rowsPerPage:h,onRowsPerPageChange:(0,p.pipe)(s.NA,x)})};h.displayName="BasicTablePagination";const g=(0,a.memo)(h)},28831:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(39475),c=n(63655);const s=(0,n(72342).makeStyles)({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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p.apply(this,arguments)}const u=e=>{let{isOpen:t=!1,tooltipTitle:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["isOpen","tooltipTitle"]);const l=s(),u={icon:c.Z,className:l.collapseButton,iconClassName:o()({[l.expandLess]:t})},d={tooltipTitle:n};return r().createElement(i.k,p({"data-reltio-id":"collapse-button"},u,d,a))}},77875:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),l=n(50914),o=n(28045),i=n(53242),c=n(90590),s=n(79573);const p=(0,n(72342).makeStyles)({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%"}});var u=n(7342);const d=["minutes","hours","days","weeks","months","years"],m=e=>{let{interval:[t,n],onChange:a,onFocus:m}=e;const f=p(),h=(0,l.pipe)(s.NA,parseInt,(e=>[e,n]),a),g=(0,l.pipe)((e=>{let{value:n}=e;return[t,n]}),a);return r().createElement("div",{className:f.root},r().createElement(i.Z,{variant:"standard",type:"number",value:t||"",onChange:h,inputProps:{min:1,onFocus:m},InputProps:{classes:{root:f.input}},className:f.inputNumber}),r().createElement(c.Z,{label:"",placeholder:(0,u.Z)(n),className:f.inputUnit,value:{value:n,label:(0,u.Z)((0,o.wsP)(n))},options:d.map((e=>({value:e,label:(0,u.Z)((0,o.wsP)(e))}))),onChange:g,TextFieldProps:{inputProps:{onFocus:m},InputProps:{classes:{root:f.input}}}}))}},84425:(e,t,n)=>{n.d(t,{Z:()=>A});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(71153),c=n.n(i),s=n(50914),p=n(78501),u=n(93553),d=n(72342);const m=(0,d.makeStyles)((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.makeStyles)({singleValue:{fontSize:"14px",lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",marginTop:"17px"}});var h=n(51556);const g=e=>{const{selectProps:{onCreate:t,createLabel:n,inputValue:a,components:l},children:o}=e,i=m();return r().createElement(h.Z,e,o,n&&!(0,s.prop)("Group",l)&&r().createElement("span",{className:i.addLabel,onClick:()=>t(a)},r().createElement(u.Z,{className:i.addIcon}),n))};g.propTypes={children:o().element.isRequired,selectProps:o().object.isRequired};const E=g;var y=n(12350),b=n(49861),v=n(79573),O=n(28045),x=n(90597),S=n(79312);function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},w.apply(this,arguments)}function T(e){const{selectProps:{menuIsOpen:t},innerProps:n,children:a}=e,l=f();return!t&&r().createElement(S.Z,w({className:l.singleValue},n),a)}function R(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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}T.propTypes={children:o().node,innerProps:o().object};const P=(0,d.makeStyles)({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",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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},N.apply(this,arguments)}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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:S,classes:w}=e,R=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["value","label","createLabel","getOptions","options","height","onChange","onCreate","onClear","components","textFieldInputRef","TextFieldProps","classes"]);const I=P({height:u}),F=(0,x.a6)(),[k,j]=(0,a.useState)(!1),A=(0,a.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),j(!1)}:void 0,U=(0,s.prop)("Group",h)?M:{},B=(0,s.isEmpty)(n)?D:{},H=_({},C,U,B),V=_({},I,w);return r().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:H,components:_({DropdownIndicator:p.Z,LoadingIndicator:v.Vd,SingleValue:T,Menu:E},L,h),menuPlacement:"auto",TextFieldProps:_({},S,{label:n,variant:"filled",size:"small",classes:_({},(0,s.prop)("classes",S),{root:c()(I.formControl,(0,s.path)(["classes","root"],S))}),inputProps:_({},(0,s.prop)("inputProps",S)),InputProps:_({},(0,s.prop)("InputProps",S),{classes:_({},(0,s.path)(["InputProps","classes"],S),{root:c()(I.filledInputRoot,(0,s.path)(["InputProps","classes","root"],S)),underline:c()({[F.filledInputUnderline]:(0,O.O27)(t)},(0,s.path)(["InputProps","classes","underline"],S)),focused:c()("focused",(0,s.path)(["InputProps","classes","focused"],S))})}),InputLabelProps:_({},(0,s.prop)("InputLabelProps",S),{classes:_({},(0,s.path)(["InputLabelProps","classes"],S),{root:c()(I.inputLabel,(0,s.path)(["InputLabelProps","classes","root"],S)),shrink:c()("shrink",(0,s.path)(["InputLabelProps","classes","shrink"],S))}),shrink:!(0,O.O27)(t)||void 0}),ref:g||A}),inputRef:g||A,menuIsOpen:k,onMenuOpen:()=>j(!0),onMenuClose:()=>j(!1)}))},j={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=j;const A=k},96379:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(52730),o=n(50673),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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},c.apply(this,arguments)}const s=e=>{const t=(0,l.useSelector)(o.ZP.selectors.getAbsoluteImagePath)||"";return r().createElement(i.ZP,c({},e,{storagePath:(n=t,n.endsWith("/")?n:n+"/")}));var n}},18527:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(24328),r=n.n(a),l=n(52730),o=n(63532),i=n(98074),c=n(50673);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s.apply(this,arguments)}const p=(0,a.forwardRef)(((e,t)=>{let{value:n,children:p,screen:u,className:d}=e,m=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["value","children","screen","className"]);const f=(0,l.useDispatch)(),h=(0,a.useContext)(o.m),{generateEntityUrl:g}=(0,a.useContext)(i.v),E=(0,l.useSelector)(c.ZP.selectors.getUIPath),y=(0,a.useCallback)((()=>{f(c.ui.actions.openEntity({uri:n,viewId:h,screen:u}))}),[h,n,f,u]);return r().createElement("a",s({ref:t,href:(b=n,g({uiPath:E,uri:b,screen:u})),onClick:e=>{y(),e.stopPropagation(),e.preventDefault()},className:d},m),p);var b}));p.displayName="EntityUriLink";const u=p},52194:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(24328),r=n.n(a),l=n(71153),o=n.n(l),i=n(17998);const c=(0,n(72342).makeStyles)({container:{padding:"0 16px",minHeight:"48px",".react-draggable &":{paddingTop:"4px"}},title:{fontSize:"16px",lineHeight:"19px",justifyContent:"flex-start"}}),s=e=>{let{className:t,title:n,children:a}=e;const l=c();return r().createElement(i.Z,{title:n,classes:{root:o()(l.container,t),title:l.title}},a)}},12350:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(27308);const r=(0,n(4515).Z)(a.ZP)},15793:(e,t,n)=>{n.d(t,{Z:()=>P});var a=n(24328),r=n.n(a),l=n(13980),o=n.n(l),i=n(50914),c=n(70347);const s=(0,n(4515).Z)(c.ZP);var p=n(49861),u=n(12350),d=n(95341),m=n(80852),f=n(71153),h=n.n(f),g=n(40007);function E(){return E=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},E.apply(this,arguments)}function y(e){const{innerProps:t,innerRef:n,children:a,isFocused:l,isSelected:o,selectProps:{classes:i},label:c}=e;return r().createElement(d.Z,E({className:h()(i.option,{[i["option--selected"]]:o}),ref:n,selected:l,component:"div"},t),r().createElement(m.Z,{color:"primary",checked:o}),r().createElement(g.Z,{value:c},r().createElement("div",{className:i["option--item"]},a)))}y.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 b={Option:y};var v=n(72342),O=n(79573);function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},x.apply(this,arguments)}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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,v.makeStyles)((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 R=0;function I(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,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),y=n?s:l?u.Z:p.Z,[v,w]=(0,a.useState)(""),I=T((0,i.omit)(["classes"],e)),P="custom-select-"+R++,C=S({},b,c),M=(0,O.ze)(I,d),D=S({indicatorSeparator:e=>S({},e,{margin:"10px 0"}),loadingIndicator:e=>S({},e,{display:o?e.display:"none"}),loadingMessage:e=>S({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},m),N=t?{inputId:P,TextFieldProps:S({label:t,InputLabelProps:{htmlFor:P,shrink:!(!e.value||!e.value.length)||void 0,className:M.label}},e.TextFieldProps)}:{};return r().createElement(y,x({isMulti:!0,inputId:P,inputValue:v,onChange:function(e,t){f(e,t),"create-option"===t.action&&(w(""),h("",{action:"input-change"}))},onInputChange:function(e,t){let{action:n}=t;h(e,{action:n}),"set-value"!==n&&w(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:M,components:C,styles:D,menuPlacement:g,loadOptions:l},N,E))}I.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},I.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,menuShouldBlockScroll:o().bool,captureMenuScroll:o().bool,getOptionValue:o().func,isSearchable:o().bool,inputRef:o().shape({current:o().object})};const P=I},32701:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(24328),r=n.n(a);const l=(0,n(72342).makeStyles)({mark:{color:"red"}}),o=()=>{const e=l();return r().createElement("span",{className:e.mark},"*")}},90590:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(24328),r=n.n(a),l=n(84425),o=n(13980),i=n.n(o),c=n(79312);const s=(0,n(72342).makeStyles)({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 a=s();return!t&&r().createElement(c.Z,{variant:"body2",classes:{root:a.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 a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d.apply(this,arguments)}const m=e=>{const t=s(),{innerProps:n={},children:a}=e;return r().createElement(c.Z,d({className:t.placeholder},n),a)};function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}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,a.memo)((e=>{let t=f({},e);return r().createElement(l.Z,f({components:h},t))}))},79935:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(24328),r=n.n(a);const l=()=>r().createElement("div",{style:{flex:1}})},15791:(e,t,n)=>{n.d(t,{Z:()=>O});var a=n(24328),r=n.n(a),l=n(52730),o=n(2507),i=n.n(o),c=n(50914),s=n(71153),p=n.n(s),u=n(79312),d=n(15793),m=n(59952),f=n(28045),h=n(50673),g=n(72342);function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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.makeStyles)({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),S=(0,a.useRef)();return r().createElement("div",{className:p()(g.root,o),"data-reltio-id":"user-selector"},r().createElement(u.Z,{className:g.title,variant:"subtitle1"},i().text("User")),r().createElement(d.Z,{value:y(t),onChange:(0,c.pipe)((0,c.defaultTo)([]),(0,c.pluck)("value"),n),defaultOptions:!0,getOptions:e=>(S.current||(S.current=(0,f.kz_)({tenant:O,servicesPath:x})),S.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,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},20414:(e,t,n)=>{let a;n.d(t,{I:()=>a}),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"}(a||(a={}))},57312:(e,t,n)=>{n.d(t,{te:()=>u,Io:()=>d,rx:()=>m,_V:()=>f,Xr:()=>h});var a=n(28045),r=n(50914),l=n(2507),o=n.n(l),i=n(20414);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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,r.path)(["data","type"]),u=e=>{const{items:t,label:n}=e,[a]=t||[];return p(a)||n},d=e=>{const{items:t=[],label:n}=e,a=e=>{return t=p(e)||n,(0,r.pipe)(r.values,(0,r.includes)(t))(i.I);var t},l=(0,r.filter)(a)(t);return t.length!==l.length&&console.error("Activities not implemented:",(0,r.reject)(a)(t)),c({},e,{items:l,itemsTotal:l.length})},m=e=>(0,r.pipe)((0,r.propOr)([],"items"),(0,r.groupBy)(p),r.values,(0,r.ifElse)((e=>{let{length:t}=e;return t>1}),(0,r.map)((t=>c({},e,{items:t,itemsTotal:t.length}))),(()=>[e])))(e),f=(e,t,n,l)=>{const o=(0,a.zeJ)(n,t),i=(0,a.PFL)(o),c=(0,a.mB6)({attributePresentations:l,dataTypeDefinition:i});return(0,r.isNil)(e)?"":"string"==typeof e?o?c(e):e:Object.entries(e).flatMap((e=>{let[r,o]=e;return o.map((e=>f(e.value,(0,a.tCm)(t,r),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]||"")},27446:(e,t,n)=>{n.d(t,{Z:()=>y});var a=n(24328),r=n.n(a),l=n(95038),o=n.n(l),i=n(2507),c=n.n(i),s=n(50914),p=n(28045),u=n(79573),d=n(53242),m=n(47019),f=n(59952),h=n(98192);const g=(0,n(72342).makeStyles)({root:{flex:1},dropdownIndicator:{transition:"transform .15s ease"},inputRoot:{fontSize:"14px",height:46},input:{padding:"0 12px 0"},dateOptionLabel:{minWidth:"100px"},paper:{minWidth:"112px"}}),E=o().localeData().longDateFormat("L"),y=e=>{let{values:t,onChange:n,onFocus:l=u.ZT}=e;const o=E,i=(0,a.useRef)(null),[y,b]=(0,a.useState)(!1),v=g(),O=(0,a.useCallback)((()=>{b((e=>!e)),l()}),[l]);return r().createElement("div",{className:v.root},r().createElement(d.Z,{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:O,variant:"filled",ref:i,InputProps:{endAdornment:r().createElement(f.Z,{selectProps:{classes:v,menuIsOpen:y},innerProps:{}}),disableUnderline:(0,s.isNil)(t),readOnly:!0,classes:{root:v.inputRoot,input:v.input}},InputLabelProps:{shrink:!1},placeholder:c().text(`${o} — ${o}`)}),r().createElement(m.ZP,{open:y,anchorEl:i.current,onClose:()=>{b(!1)},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2},r().createElement(h.Z,{values:t,onApply:e=>{n(e),b(!1)},type:p.oS0.TYPE_ACTIVENESS_DATE})))}},98074:(e,t,n)=>{n.d(t,{v:()=>o});var a=n(24328),r=n.n(a),l=n(28045);const o=r().createContext({generateEntityUrl:l.OuZ,generatePivotingUrl:l.FQ2,generateTagUrl:l.W$R});o.displayName="UrlGeneratorsContext"},63532:(e,t,n)=>{n.d(t,{m:()=>r});var a=n(24328);const r=n.n(a)().createContext(null);r.displayName="ViewIdContext"},19540:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(24328),r=n.n(a);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},l.apply(this,arguments)}const o=e=>r().createElement("svg",l({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),r().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"}))},82332:(e,t,n)=>{n.d(t,{Z:()=>Cn});var a=n(24328),r=n.n(a),l=n(153),o=n(28045),i=n(52730),c=n(50914),s=n(2507),p=n.n(s),u=n(73093),d=n(62321),m=n(33945),f=n(50673),h=n(39034);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{options:t,offset:n,max:r}=e;const[l,i]=(0,a.useState)([]),[s,p]=(0,a.useState)(0),[u,d]=(0,a.useState)(h.o.INIT),m=e=>{console.error(e),d(h.o.ERROR),i([])},f=(0,a.useCallback)((()=>{d(h.o.LOADING);const e=e=>{i(e.result||[]),p(e.total),d(h.o.LOADED)},a=t||{},{countResults:l}=a,s=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(a,["countResults"]);(async()=>{const{result:t=[],total:a}=await(0,o.cZV)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){g(e,t,n[t])}))}return e}({offset:n,max:r},s));if(l){const n=t.map((e=>(0,o.OaI)((0,o.dWE)(e.query)))),r=(await(0,o.RGr)(n)).reduce(((e,t,n)=>{let{status:a,value:r,reason:l}=t;switch(a){case"fulfilled":return(0,c.assocPath)([n,"count"],r.total,e);case"rejected":console.error(l)}return e}),t);e({result:r,total:a})}else e({result:t,total:a})})().catch(m)}),[t,r,n]),E=()=>{try{f()}catch(e){m(e)}};return(0,a.useEffect)((()=>{E()}),[f]),{state:u,data:l,reload:E,total:s}},y=[10,25,50,100],[b]=y,v=e=>y.filter((t=>t!==e)).concat(e).sort(c.subtract);var O=n(65298),x=n(52194),S=n(19926),w=n(25744),T=n(63436),R=n(67322),I=n(24648),P=n(52388),C=n(18960),M=n(95341),D=n(83993),N=n(82056),_=n(87037),F=n(50985),k=n(72342);const j=(0,k.makeStyles)((()=>({menuItemTitle:{fontSize:"13px",lineHeight:"15px"},openIcon:{padding:"4px",borderRadius:"2px",marginRight:"-10px"}}))),A=e=>{let{items:t}=e;const[n,l]=(0,a.useState)(null),o=Boolean(n),i=j(),c=()=>l(null),s=e=>()=>{c(),e()};return r().createElement(r().Fragment,null,r().createElement(_.Z,{className:i.openIcon,"aria-controls":"menu","aria-haspopup":"true",onClick:e=>l(e.currentTarget),size:"large"},r().createElement(F.Z,null)),r().createElement(C.Z,{id:"facet-menu",anchorEl:n,open:o,onClose:c,elevation:2,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},t.filter((e=>e.active)).map((e=>{let{id:t,icon:n,title:a,action:l}=e;return r().createElement(M.Z,{key:t,onClick:s(l)},r().createElement(D.Z,null,n),r().createElement(N.Z,{classes:{primary:i.menuItemTitle}},a))}))))},z=(0,k.makeStyles)((()=>({rightMenu:{display:"flex",flexGrow:1,justifyContent:"flex-end",alignItems:"center",height:"100%",gap:"8px",marginLeft:4},updatedChip:{background:"#FF9E1B",height:20,fontSize:"10px",color:"white",marginLeft:4}}))),L=e=>{let{title:t,onToggleFullscreen:n,isUpdated:l=!1,isFullscreen:o,onRemove:i,onRefresh:c,children:s}=e;const u=(0,a.useContext)(P.H),d=(0,a.useMemo)((()=>[{id:"refresh",title:p().text("Refresh"),icon:r().createElement(I.Z,{fontSize:"small"}),active:!!c,action:()=>c()},{id:"fullscreen",title:p().text("Fullscreen"),icon:r().createElement(w.Z,{fontSize:"small"}),active:!o,action:()=>n(u)},{id:"exitFullscreen",title:p().text("Exit fullscreen"),icon:r().createElement(T.Z,{fontSize:"small"}),active:o,action:()=>n(u)},{id:"remove",title:p().text("Remove"),icon:r().createElement(R.Z,{fontSize:"small"}),active:!!i,action:()=>{i(u),o&&n(u)}}]),[u,o,i,n,c]),m=z();return r().createElement(x.Z,{title:t},l&&r().createElement(S.Z,{label:p().text("Updated"),size:"small",className:m.updatedChip}),r().createElement("div",{className:m.rightMenu},s,r().createElement(A,{items:d})))};var Z=n(71153),U=n.n(Z),B=n(7882),H=n(82068),V=n(79312);function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},G.apply(this,arguments)}const W=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",G({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("mask",{id:"svg2791016623a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},r().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"})),r().createElement("g",{mask:"url(#svg2791016623a)"},r().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"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#nodata__paint0_linear)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),r().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"})),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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)"}),r().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)"}),r().createElement("g",{filter:"url(#nodata__filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},r().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"}),r().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"})),r().createElement("g",{style:{mixBlendMode:"soft-light"},opacity:".4"},r().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"})),r().createElement("g",{style:{mixBlendMode:"overlay"}},r().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"})),r().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"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"nodata__paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"nodata__paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"nodata__paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"nodata__filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},Y=(0,k.makeStyles)((()=>({noDataContainer:{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)"},icon:{height:"88px",width:"88px",marginBottom:"20px"}}))),q=()=>{const e=Y();return r().createElement("div",{className:e.noDataContainer},r().createElement(W,{className:e.icon}),r().createElement(V.Z,null,p().text("No Data")))};var $=n(38677);function K(){return K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},K.apply(this,arguments)}const X=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["styles"]);return r().createElement("svg",K({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),r().createElement("mask",{id:"svg3217593551a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},r().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"})),r().createElement("g",{mask:"url(#svg3217593551a)"},r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),r().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"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),r().createElement("g",{filter:"url(#error__filter0_d)"},r().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"})),r().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"}),r().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"}),r().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"}),r().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"}),r().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"}),r().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)"}),r().createElement("g",{filter:"url(#error__filter1_d)"},r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),r().createElement("g",{filter:"url(#error__filter2_d)"},r().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"})),r().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"})),r().createElement("defs",null,r().createElement("filter",{id:"error__filter0_d",x:"36.219",y:"37.875",width:"42.375",height:"42.375",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter1_d",x:"51.688",y:"62.625",width:"11.438",height:"11.438",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"error__filter2_d",x:"51.688",y:"44.063",width:"11.438",height:"23.813",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().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"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().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"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("linearGradient",{id:"error__paint0_linear",x1:"68.438",y1:"71.571",x2:"60.119",y2:"58.801",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"}))))},Q=(0,k.makeStyles)((e=>({errorContainer:{height:"100%",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"}}))),J=e=>{let{onRefresh:t,message:n}=e;const a=Q();return r().createElement("div",{className:a.errorContainer},r().createElement(X,{className:a.errorIcon}),r().createElement(V.Z,null,n),t&&r().createElement($.Z,{className:a.refreshButton,startIcon:r().createElement(I.Z,{color:"primary",className:a.refreshIcon}),onClick:t},r().createElement(V.Z,{variant:"button"},p().text("Refresh"))))};var ee=n(43129),te=n(44443);const ne=(0,k.makeStyles)((()=>({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"}}))),ae=e=>{let{loadingState:t,onRefresh:n,children:a,data:l,className:o,EmptyPlaceholder:i}=e;const c=ne();return r().createElement(H.Z,{className:U()(c.viewContent,o),"data-reltio-id":"layout-item-content"},r().createElement(te.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:o=0,height:c=0}=e;switch(t){case h.o.LOADED:return l&&0!==l.length?r().createElement(B.Z,{error:r().createElement(J,{message:p().text("Something went wrong")})},a({data:l,width:o,height:c})):i||r().createElement(q,null);case h.o.LOADING:return r().createElement(ee.Z,null);case h.o.ERROR:return r().createElement(J,{message:p().text("Error Loading Data"),onRefresh:n});default:return r().createElement("div",null)}})))};function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){le(e,t,n[t])}))}return e}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oe=e=>{let{uiState:t,uri:n}=e;return"2.0"===t.version?re({},t,{currentSavedSearchUri:n}):re({},t.state,{curSavedSearchUri:n})},ie=(0,k.makeStyles)((()=>({activityLogFilter:{padding:"0 8px 0px 16px",borderBottom:"1px solid rgba(0,0,0,0.12)"},categorySelector:{whiteSpace:"nowrap",textTransform:"none",fontWeight:"normal"},inboxContent:{padding:0,borderTop:"1px solid rgba(0,0,0,0.12)"},content:{padding:0}}))),ce=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s}=e;const{id:h,title:g,options:y,max:x=b}=t,S=ie(),[w,T]=(0,a.useState)(0),[R,I]=(0,a.useState)(x),{data:P,state:C,reload:M,total:D}=E({options:y,max:R,offset:R*w}),N=(0,a.useMemo)((()=>(e=>e.map((e=>{let{uri:t,name:n,count:a}=e;return{value:a||0,label:n||"",group:t}})))(P)),[P]),_=(0,a.useMemo)((()=>v(x)),[x]),F=(0,i.useDispatch)(),k=(0,a.useCallback)((e=>{(0,c.pipe)((0,c.find)((0,c.propEq)("uri",e)),oe,f.ui.actions.openSearch,F)(P)}),[F,P]);return(0,u.T)({state:C,reload:M}),r().createElement(O.Z,{id:h},r().createElement(L,{title:g,onToggleFullscreen:n,isFullscreen:o,isUpdated:l,onRefresh:M,onRemove:s}),r().createElement(ae,{loadingState:C,onRefresh:M,data:N,className:S.content},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(d.Z,{width:n,height:a,data:t,options:{headers:[p().text("Name")],showValues:null==y?void 0:y.countResults},onItemClick:k})})),!!D&&r().createElement(m.Z,{page:w,count:D,rowsPerPage:R,onChangePage:T,onChangeRowsPerPage:I,rowsPerPageOptions:_}))}));var se=n(45990),pe=n(12960);const ue=(0,c.when)((0,c.pipe)((0,c.prop)("filter"),(0,c.includes)(c.__,[o.j5E.IN_RANGE,o.j5E.HAS_ALL])),(0,c.evolve)({values:o.FTe})),de=(0,c.curry)(((e,t)=>({filter:o.j5E.NOT_EQUALS,values:[t],fieldName:e}))),me=e=>{var t,n,a;return{filter:null!==(t=null==e?void 0:e.filter)&&void 0!==t?t:o.j5E.EQUALS,values:null!==(n=null==e?void 0:e.values)&&void 0!==n?n:[],fieldName:null!==(a=null==e?void 0:e.fieldName)&&void 0!==a?a:""}},fe=e=>({filter:o.j5E.EQUALS,fieldName:"type",values:[e]}),he=(0,c.curry)(((e,t)=>({filter:o.j5E.EQUALS,values:[t],fieldName:e}))),ge=(0,c.curry)(((e,t,n)=>{const{fieldName:a}=n,r=(0,o.Yxg)(a)||(0,o.zeJ)(e,(0,o.h2W)(a,t));return r?(0,c.pipe)(ue,(0,c.when)((()=>(0,o.EdS)(r.uri)),(0,c.assoc)("entityType",t)),(0,c.when)((()=>(0,o.Lt4)(r.type)),(0,c.evolve)({values:(0,c.map)((0,o.mOr)(o.ZBU))})))(n):null})),Ee=e=>{let{filter:t,fieldName:n}=e;return t===o.j5E.EQUALS&&"type"===n},ye=(e,t)=>{let{filter:n,fieldName:a,values:r}=e;return n===o.j5E.EQUALS&&"type"===a&&(null==r?void 0:r[0])===t};function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){ve(e,t,n[t])}))}return e}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Oe=e=>{let{attribute:t,filters:n,globalFilter:a,searchByOv:r,activityFilter:l,pageSize:i,orderType:s}=e;const p=((e,t,n,a)=>{const r=(0,c.pipe)((0,c.map)(ue),(0,o.Uqd)(),(0,o.vyX)(t))(e),l=r?[`filter=${r}`]:[];return n&&l.push("options=searchByOv"),a&&l.push(`activeness=${a}`),l.join("&")})(n,a,r,l),u=[{fieldName:t,pageNo:1,orderType:s,pageSize:i}];return(0,o.FK9)({query:p,body:u}).then((e=>(0,c.pipe)((0,c.prop)(t),(0,c.defaultTo)({}),Object.entries,(0,c.map)((e=>{let[t,n]=e;return{label:t,group:t,value:n}})),(0,c.sortWith)([(0,c.descend)((0,c.prop)("value")),(0,c.ascend)((0,c.prop)("label"))]))(e)))},xe=(0,c.curry)(((e,t)=>{const n=t.map((t=>{let{label:n}=t;return{codeValue:n,type:e}}));return(0,o.hK$)(n).then((n=>{const a=n.flatMap((0,o.Z2f)(e));return t.map((e=>{const t=a.find((t=>{let{lookupCode:n}=t;return n===e.label}));return t?be({},e,{label:t.value}):e}))}))})),Se=(0,c.curry)(((e,t)=>t.map((0,c.pipe)((0,c.prop)("group"),de(e))))),we="Other",Te=(0,c.curry)(((e,t)=>{let{attribute:n,filters:a,globalFilter:r,searchByOv:l,activityFilter:i}=e;const s=(0,c.pipe)(Se(n),(0,c.concat)(a),(0,c.map)(ue))(t),u=l&&"searchByOv";return(0,o.j_Q)(s,{globalFilter:r,activityFilter:i,searchOptions:u}).then((e=>{let{total:n}=e;return n>0?t.concat([{label:p().text("Other"),group:we,value:n}]):t}))})),Re=(e,t)=>(0,o.xqc)(e,"configuration/roles/"+t),Ie=(0,c.map)((e=>be({},e,{localizedValue:p().number(e.value)}))),Pe=(0,c.when)(o.EdS,o.Tde),Ce=(0,c.ifElse)(o.EdS,o.Uk3,(0,c.always)(void 0)),Me=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Ce(e),a=t.some((e=>ye(e,n)));return n&&!a?[fe(n),...t]:t},De=(0,c.curry)(((e,t,n)=>{const a=Pe(e);return n===we?(0,c.pipe)((0,c.reject)((0,c.propEq)("group",we)),Se(a))(t):[he(a,n)]})),Ne=(0,c.curry)(((e,t,n)=>{var a,r;const l=Ce(t)||(null===(a=n.find(Ee))||void 0===a||null===(r=a.values)||void 0===r?void 0:r[0]);return{facets:n.map(ge(e,l)).filter(c.identity)}}));const _e=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:s,onRemove:p}=e;const{id:d,title:m,filters:g,attributeUri:E,count:y,orderType:b,chartType:v,showOthers:x}=t,S=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(t,["id","title","filters","attributeUri","count","orderType","chartType","showOthers"]),w=v===o.$XE.MAP?100:8,{data:T,state:R,reload:I}=(e=>{let{filters:t,attributeUri:n,pageSize:r,orderType:l="reversedCount",options:s}=e;const[p,u]=(0,a.useState)([]),[d,m]=(0,a.useState)(h.o.INIT),g=(0,a.useContext)(se.I),E=(0,a.useMemo)((()=>g.map(me).concat(t||[])),[g,t]),y=(0,i.useSelector)(f.ZP.selectors.getMetadata),{globalFilter:b,activityFilter:v}=(0,i.useSelector)(f.ZP.selectors.getGlobalSearchRequestOptions),O=(0,i.useSelector)(f.ZP.selectors.getAttributePresentations),x=!(null==O||!O[n]),S=(0,i.useSelector)(f.ZP.selectors.getShowSearchByOv),w=null==s?void 0:s.showOthers,T=e=>{console.error(e),m(h.o.ERROR),u([])},R=(0,a.useCallback)((()=>{m(h.o.LOADING);const e=Me(n,E),t=Pe(n),a=(0,o.Yxg)(t)||(0,o.zeJ)(y,n);if(!a)return void T("Configuration is incorrect");const i=(0,c.pipe)(Oe,(0,c.andThen)(((e,t)=>(0,c.pipe)((0,c.when)((()=>(0,o.CwH)(t)),xe((0,o.To9)(t))),(0,c.when)((()=>(0,o.ian)(t)),(0,c.map)((t=>be({},t,{label:Re(e,t.group)})))),(0,c.when)((()=>(0,o.Lt4)(t.type)),(0,c.map)((0,c.evolve)({label:(0,c.pipe)(o.ZBU,(0,o.mB6)({dataTypeDefinition:(0,o.PFL)(t)}))})))))(y,a)),(0,c.andThen)((0,c.unless)((0,c.always)(x),Ie)),(0,c.andThen)((0,c.when)((0,c.always)(w),Te({attribute:t,filters:e,globalFilter:b,searchByOv:S,activityFilter:v}))),(0,c.andThen)((e=>{m(h.o.LOADED),u(e)})),(0,c.otherwise)(T));i({attribute:t,filters:e,globalFilter:b,searchByOv:S,activityFilter:v,pageSize:r,orderType:l})}),[m,n,y,w,E,b,S,v,r,l,x]),I=()=>{try{R()}catch(e){T(e)}};return(0,a.useEffect)((()=>{I()}),[R]),{state:d,data:p,reload:I}})({filters:g,attributeUri:E,pageSize:y||w,orderType:b,options:{showOthers:x}});(0,u.T)({state:R,reload:I});const P=(0,i.useDispatch)(),C=(0,i.useSelector)(f.ZP.selectors.getMetadata),M=(0,a.useContext)(se.I),D=(0,a.useMemo)((()=>M.map(me).concat(g||[])),[M,g]),N=(0,c.pipe)(De(E,T),(0,c.concat)(Me(E,D)),Ne(C,E),f.ui.actions.openSearch,P);return r().createElement(O.Z,{id:d},r().createElement(L,{title:m,onToggleFullscreen:n,isUpdated:l,isFullscreen:s,onRefresh:I,onRemove:p}),r().createElement(ae,{loadingState:R,onRefresh:I,data:T},(e=>{let{data:t,width:n=0,height:a=0}=e;return pe.Z.build(v,{data:t,width:n,height:a,options:S,onItemClick:N})})))}));var Fe=n(45108),ke=n(92332),je=n(40007);const Ae={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"},ze=(0,k.makeStyles)((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":Ae},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":Ae}})));function Le(){return Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Le.apply(this,arguments)}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){Ue(e,t,n[t])}))}return e}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Be=e=>{let{className:t,headCellData:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["className","headCellData"]);const l=ze();return r().createElement("div",{className:U()(l.headCell,t)},r().createElement(ke.default,Le({},a,{headCellData:Ze({},n,{label:r().createElement(je.Z,{value:n.label},r().createElement("div",{className:l.headLabel},n.label))})})))};var He=n(18527);const Ve=e=>{let{value:t,rowValue:n}=e;const a=ze(),l=(0,o.idV)(t);return r().createElement(je.Z,{value:l},r().createElement(He.Z,{value:(0,o.wwR)(n),className:a.entityLabel},l))},Ge=(0,k.makeStyles)({tableContainer:e=>{let{width:t,height:n}=e;return{height:n,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none"}}),We=e=>{let{height:t,width:n,basicTableRef:a,data:l}=e;const o=Ge({width:n,height:t}),i=[{id:"label",label:p().text("Entity"),resizable:!1,headCellRenderer:Be,rowCellValueRenderer:Ve,initialWidth:n}],c={cellBorder:o.cellBorder};return r().createElement("div",{className:o.tableContainer},r().createElement(Fe.Z,{columnsData:i,rowsData:l,headRowHeight:48,getRowCellHeight:null,classes:c,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:a}))},Ye=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRemove:c}=e;const s=ie(),{id:p,title:d,filters:f,max:g=b}=t,E=(0,a.useMemo)((()=>v(g)),[g]),[y,x]=(0,a.useState)(g),[S,w]=(0,a.useState)(0),{data:T,state:R,reload:I,total:P}=(e=>{let{filters:t,max:n,offset:r}=e;const[l,i]=(0,a.useState)([]),[c,s]=(0,a.useState)(0),[p,u]=(0,a.useState)(h.o.INIT),d=(0,a.useContext)(se.I),m=(0,a.useMemo)((()=>d.map(me).concat(t||[])),[d,t]),f=e=>{console.error(e),u(h.o.ERROR)},g=(0,a.useCallback)((()=>{u(h.o.LOADING),Promise.all([(0,o.ZOr)(m,{max:n,offset:r}),(0,o.j_Q)(m,{max:n,offset:r})]).then((e=>{const[t,{total:n}]=e;i(t||[]),s(n),u(h.o.LOADED)})).catch(f)}),[m,n,r]),E=()=>{try{g()}catch(e){f(e)}};return(0,a.useEffect)((()=>{E()}),[g]),{state:p,data:l,reload:E,total:c}})({filters:f,max:y,offset:y*S});return(0,u.T)({state:R,reload:I}),r().createElement(O.Z,{id:p},r().createElement(L,{title:d,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRefresh:I,onRemove:c}),r().createElement(ae,{loadingState:R,onRefresh:I,data:T,className:s.content},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(We,{height:a,width:n,data:t})})),!!P&&r().createElement(m.Z,{page:S,count:P,rowsPerPage:y,onChangePage:w,onChangeRowsPerPage:x,rowsPerPageOptions:E}))}));var qe=n(65643),$e=n(78291);const Ke=(0,k.makeStyles)({button:{whiteSpace:"nowrap",textTransform:"none",fontWeight:"normal"}}),Xe=(0,a.forwardRef)(((e,t)=>{let{editorLabel:n,onMenuToggle:a}=e;const l=Ke();return r().createElement($.Z,{ref:t,onClick:a,size:"small",className:l.button,endIcon:r().createElement(qe.Z,null)},n)}));Xe.displayName="DashboardDateRangeSelector";const Qe=(0,$e.Z)(Xe);var Je=n(14806);var et=n(95038),tt=n.n(et);let nt;!function(e){e.HOUR="hour",e.DAY="day"}(nt||(nt={}));const at=(0,c.pipe)((e=>(0,o.RHh)(e,rt)),(e=>{let[t,n]=e;return n-t>+tt().duration(1,"day")?nt.DAY:nt.HOUR})),rt=e=>{const t=tt()();return e===o.bZE.LAST_WEEK?[tt()(t).subtract(6,"days").valueOf(),t.valueOf()]:(0,o.VQ1)(e)},lt=(0,c.pipe)(rt,(0,c.defaultTo)([]),(0,c.map)((e=>e&&new Date(e)))),ot=[{id:"created",types:["CREATED"],get label(){return p().text("New")},color:"#4BAFFF"},{id:"updated",types:["UPDATED"],get label(){return p().text("Updated")},color:"#0072CE"},{id:"deleted",types:["DELETED"],get label(){return p().text("Deleted")},color:"#F085F2"},{id:"matched",types:["POTENTIAL_MATCHES_FOUND"],get label(){return p().text("Matched")},color:"#C4CE00"},{id:"autoMerged",types:["MERGED","MERGED_ON_THE_FLY"],get label(){return p().text("Auto-merged")},color:"#CE5C00"},{id:"mergedManually",types:["MERGED_MANUALLY"],get label(){return p().text("Manually merged")},color:"#9E7ED3"},{id:"unmerged",types:["SPLITTED"],get label(){return p().text("Unmerged")},color:"#40CFBB"},{id:"notMatch",types:["NOT_MATCHES_SET"],get label(){return p().text("Not a match")},color:"#F97061"}],it=e=>ot.find((0,c.propEq)("id",e)),ct=(0,c.pipe)(it,(0,c.propOr)("","label")),st=(0,c.pipe)(it,(0,c.prop)("color")),pt=e=>{const[t,n]=(0,o.RHh)(e,rt),a=e=>{let{facet:a,types:r}=e;return(0,o.NIY)({facet:a,startTime:t,endTime:n,types:r}).then((e=>{let{facets:t={},total:n=0}=e;return{total:n,data:t[a]}}))};return(()=>{const e=(0,c.chain)((0,c.prop)("types"),ot),t=(0,c.pipe)((0,c.propOr)([],"data"),(0,c.pluck)("term"));return a({facet:"type",types:e}).then((e=>t(e)))})().then((e=>e.length>0?(e=>{const r=(0,c.pipe)((0,c.map)((0,c.evolve)({term:e=>tt().utc(e).valueOf()})),(0,c.prepend)({term:t,count:0}),(0,c.append)({term:n,count:0}));return Promise.all(ot.map((t=>{let{types:n,id:l}=t;return((t=>t.some((t=>e.includes(t))))(n)?a({facet:"hour",types:n}):Promise.resolve({total:0,data:[]})).then((e=>{let{total:t,data:n}=e;return{total:t,data:r(n),event:l}}))})))})(e):[]))},ut=(0,c.curry)(((e,t)=>(0,c.pipe)((0,c.groupBy)((t=>{let{term:n}=t;return tt()(n).startOf(e)})),c.toPairs,(0,c.map)((e=>{let[t,n]=e;return{term:tt()(t).valueOf(),count:(0,c.sum)((0,c.pluck)("count",n))}})))(t))),dt=(0,c.curry)(((e,t)=>{const[n,...a]=t;return a.reduce(((t,n)=>{const a=(0,c.last)(t).term;let r=tt()(a).add(1,e).valueOf();const l=[];for(;r<n.term;)l.push({term:r,count:0}),r=tt()(r).add(1,e).valueOf();return t.concat(l,n)}),[n])})),mt=(0,c.curry)(((e,t)=>t.map((0,c.evolve)({data:(0,c.pipe)(ut(e),dt(e))})))),ft=(0,c.cond)([[(0,c.equals)(nt.HOUR),(0,c.always)("LT")],[(0,c.equals)(nt.DAY),(0,c.always)("MMM D")]]),ht=e=>{let{x:t,y:n,payload:a,step:l}=e;return r().createElement("g",{transform:`translate(${t},${n})`},r().createElement("text",{x:0,y:0,dy:16,textAnchor:"middle",fill:"#666"},p().date(null==a?void 0:a.value,ft(l))))},gt=(0,k.makeStyles)({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"}}),Et=(0,c.cond)([[(0,c.equals)(nt.HOUR),(0,c.always)("LT MMM D")],[(0,c.equals)(nt.DAY),(0,c.always)("ll")]]),yt=e=>{let{active:t,payload:n,label:a,step:l,events:o}=e;const i=gt();return t&&r().createElement("div",{className:i.tooltipWrapper},r().createElement("p",{className:i.tooltipTitle},p().date(a,Et(l))),n.filter((e=>{let{name:t}=e;return o.includes(t)})).map((e=>{let{color:t,name:n,value:a}=e;return r().createElement("p",{key:n},r().createElement("span",{style:{background:t},className:i.tooltipItemColor}),`${ct(n)}: ${a}`)})))};var bt=n(23883);const vt=e=>{let{payload:t,selectedItems:n,onClick:a}=e;const l=gt();return r().createElement("div",{className:l.legend},t.map((e=>{let{id:t,color:o,value:i}=e;const c=n.includes(t);return r().createElement("div",{key:t,className:l.legendItem},r().createElement(bt.Z,{title:c?p().text("Hide"):p().text("Show")},r().createElement("div",{style:c?{background:o}:{border:`${o} 1px solid`},className:l.legendItemColor,onClick:()=>a(t)})),ct(t),r().createElement("span",{className:l.legendItemValue},i))})))};function Ot(){return Ot=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ot.apply(this,arguments)}const xt=e=>{let{data:t,width:n,height:l,step:i}=e;const[s,p]=(0,a.useState)((0,c.pluck)("event",t)),[u,d]=(0,a.useState)(null),{cartesianGrid:m,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:o.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,a.useMemo)((()=>mt(i,t)),[i,t]),v=(0,a.useMemo)((()=>((e,t)=>{const n=(0,c.chain)((0,c.pipe)((0,c.prop)("data"),(0,c.pluck)("count")))(e),a=Math.min(...n),r=Math.max(...n);return Math.abs(r-a)<8?[0,7]:[0,"auto"]})(b)),[b]);return r().createElement(Je.wW,{width:n,height:l},r().createElement(Je.q3,m),r().createElement(Je.Kc,Ot({},h,{tick:r().createElement(ht,{step:i})})),r().createElement(Je.B2,Ot({},g,{tickCount:8,domain:v})),b.map((e=>{let{event:t,data:n}=e;const a=s.includes(t);return r().createElement(Je.x1,Ot({key:t,stroke:st(t),name:t,data:n,dot:a&&{r:5,strokeWidth:2},activeDot:a&&{r:5,strokeWidth:2,onMouseEnter:()=>d(t),onMouseLeave:()=>d(null)},strokeOpacity:a?1:0},E))})),r().createElement(Je.De,Ot({content:r().createElement(vt,{selectedItems:s,onClick:e=>{p((0,c.ifElse)((0,c.includes)(e),(0,c.without)([e]),(0,c.append)(e)))}}),payload:b.map((e=>{let{event:t,total:n}=e;return{id:t,type:"square",color:st(t),value:n}}))},y)),r().createElement(Je.u,Ot({},f,{content:r().createElement(yt,{step:i,events:u?[u]:s})})))};var St=n(19701);const wt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRemove:s}=e;const{id:p,title:d}=t,[m,f]=(0,a.useState)(o.bZE.LAST_WEEK),{state:g,data:E,step:y,reload:b}=(e=>{const[t,n]=(0,a.useState)([]),[r,l]=(0,a.useState)(at(e)),[o,i]=(0,a.useState)(h.o.INIT),s=(0,St._)(),p=e=>{console.error(e),i(h.o.ERROR),n([])},u=(0,a.useCallback)((()=>{i(h.o.LOADING),l(at(e)),n([]);const t=(0,c.pipe)(pt,s,(0,c.andThen)((e=>{i(h.o.LOADED),n(e)})),(0,c.otherwise)(p));t(e)}),[e.toString()]),d=()=>{try{u()}catch(e){p(e)}};return(0,a.useEffect)((()=>{d()}),[u]),{state:o,data:t,step:r,reload:d}})(m);return(0,u.T)({state:g,reload:b}),r().createElement(O.Z,{id:p},r().createElement(L,{title:d,onToggleFullscreen:n,isUpdated:l,isFullscreen:i,onRefresh:b,onRemove:s},r().createElement(Qe,{values:m,options:(0,o.cGG)(),getValuesDateRange:lt,onChange:f,MenuProps:{MenuListProps:{autoFocusItem:!0},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}})),r().createElement(ae,{loadingState:g,onRefresh:b,data:E},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(xt,{data:t,width:n,height:a,step:y})})))}));var Tt=n(56215);function Rt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){It(e,t,n[t])}))}return e}function It(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pt=e=>`configuration/entityTypes/${e}`,Ct=(0,c.pipe)((0,c.prop)("group"),Pt),Mt=(0,c.curry)(((e,t)=>t.map((t=>{const n=Ct(t);return Rt({},t,{label:(0,o.nt9)(e,n).label})})))),Dt=(0,c.curry)(((e,t)=>{const n=(0,c.pipe)(Ct,(0,o.io3)(e),(0,c.map)((0,o.nt9)(e)),(0,c.filter)(o.oDv),c.last),a=t.reduce(((e,t)=>{const a=n(t);if(a){const n=(0,o.nIW)(a.uri);return Rt({},e,{[n]:(e[n]||0)+t.value})}return e}),{});return Object.entries(a).map((e=>{let[t,n]=e;return{group:t,label:t,value:n}}))})),Nt=(0,c.pipe)(Pt,fe,o.VGB),_t=(0,c.pipe)((0,c.prop)("uri"),o.nIW),Ft=(0,c.curry)(((e,t)=>e.find((e=>e.group===t)))),kt=e=>({label:e,group:e,value:0}),jt=(0,c.curry)(((e,t)=>{let{entityTypes:n}=e;const a=(0,c.pipe)(_t,(0,c.either)(Ft(t),kt));return n.filter(o.oDv).map(a)})),At=[],zt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s}=e;const{id:p,title:d,hideEmpty:m,orderType:g,inheritChildren:E}=t,{data:y,state:b,reload:v}=(e=>{let{orderType:t,inheritChildren:n,hideEmpty:r}=e;const[l,o]=(0,a.useState)([]),[s,p]=(0,a.useState)(h.o.INIT),u=(0,i.useSelector)(f.ZP.selectors.getMetadata),d=u.entityTypes.length,{globalFilter:m,activityFilter:g}=(0,i.useSelector)(f.ZP.selectors.getGlobalSearchRequestOptions),E=(0,i.useSelector)(f.ZP.selectors.getShowSearchByOv),y=e=>{console.error(e),p(h.o.ERROR),o([])},b=(0,a.useCallback)((()=>{p(h.o.LOADING);const e=(0,c.pipe)(Oe,(0,c.andThen)((0,c.unless)((0,c.always)(r),jt(u))),(0,c.andThen)((0,c.when)((0,c.always)(n),Dt(u))),(0,c.andThen)(Mt(u)),(0,c.andThen)(Ie),(0,c.andThen)((e=>{p(h.o.LOADED),o(e)})),(0,c.otherwise)(y));e({attribute:"type",pageSize:d,filters:At,globalFilter:m,searchByOv:E,activityFilter:g,orderType:t})}),[r,u,n,d,m,E,g,t]),v=()=>{try{b()}catch(e){y(e)}};return(0,a.useEffect)((()=>{v()}),[b]),{state:s,data:l,reload:v}})({hideEmpty:m,orderType:g,inheritChildren:E});(0,u.T)({state:b,reload:v});const x=(0,i.useDispatch)(),S=(0,i.useSelector)(f.ZP.selectors.getMetadata),w=(0,c.pipe)(Nt,Ne(S,"type"),f.ui.actions.openSearch,x);return r().createElement(O.Z,{id:p},r().createElement(L,{title:d,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRefresh:v,onRemove:s}),r().createElement(ae,{loadingState:b,onRefresh:v,data:y},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(Tt.Z,{width:n,height:a,data:t,onItemClick:w})})))})),Lt=(0,k.makeStyles)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 16px"},iframe:{borderWidth:0,width:"100%",height:"100%"}}))),Zt=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:a,isFullscreen:l,onRemove:o}=e;const{id:i,title:c,url:s}=t,p=Lt();return r().createElement(O.Z,{id:i},r().createElement(L,{title:c,onToggleFullscreen:n,isUpdated:a,isFullscreen:l,onRemove:o}),r().createElement(H.Z,{className:p.viewContent},r().createElement("iframe",{src:s,frameBorder:"0",className:p.iframe})))}));var Ut=n(98538);let Bt;!function(e){e.MY="my",e.TEAM="team"}(Bt||(Bt={}));var Ht=n(44938),Vt=n(96379),Gt=n(80516);function Wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.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 qt=(0,c.cond)([[(0,c.equals)(Bt.MY),(0,c.always)(o.C82)],[(0,c.equals)(Bt.TEAM),(0,c.always)(o.h6J)],[c.T,(0,c.always)((()=>Promise.resolve({data:[]})))]]),$t=(0,c.pipe)((0,c.propOr)([],"objectURIs"),c.head),Kt=(0,c.startsWith)("changeRequests/"),Xt=(0,c.complement)(c.isEmpty),Qt=(0,c.pipe)((0,c.map)($t),(0,c.filter)(o.WgC),(0,c.when)(Xt,o.DnY)),Jt=(0,c.pipe)((0,c.map)($t),(0,c.filter)(Kt),(0,c.map)((0,c.pipe)(o.E6I,(0,c.otherwise)((0,c.always)(null)))),(e=>Promise.all(e))),en=(0,c.converge)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Promise.all(t)}),[Qt,Jt]),tn=e=>{let{objectsInfo:t={},changes:n={},uri:a}=e;const r=e=>(0,c.path)([e,0],n),l=e=>{const{type:t}=r(e);return"CREATE_ENTITY"==t||"CREATE_RELATIONSHIP"==t?a+"/changes/"+e:e};return(0,c.pipe)(c.keys,(0,c.filter)(r),(0,c.sort)((0,c.descend)((0,c.pipe)(r,(0,c.prop)("createdTime")))),(0,c.map)((e=>Wt({},t[e],{uri:l(e)}))))(t)},nn=(e,t,n)=>(t=(0,c.reject)(c.isNil,t),n.map((0,c.pipe)((0,c.when)((0,c.pipe)($t,o.WgC),(e=>t=>{const n=e.find((0,c.propEq)("uri",$t(t)));return n?Wt({},t,{objects:[n]}):t})(e)),(0,c.when)((0,c.pipe)($t,Kt),(e=>t=>{const n=e.find((0,c.propEq)("uri",$t(t)));return n?Wt({},t,{objects:tn(n)}):t})(t))))),an=(0,c.curry)((async(e,t)=>{let{workflowPath:n,environment:a,tenant:r,assignee:l,max:o,offset:i}=t;const c=qt(e),{data:s,total:p}=await c({workflowPath:n,environment:a,tenant:r,assignee:l,max:o,offset:i}),[u,d]=await en(s);return{data:nn(u,d,s),total:p}})),rn=e=>e.dueDate&&e.dueDate<Date.now(),ln=(0,k.makeStyles)((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,paddingLeft:"15px",overflow:"hidden",overflowWrap:"anywhere"},titleContainer:{display:"flex",alignItems:"baseline"},taskTitle:{lineHeight:"18px",marginBottom:"6px"},taskDetail:{lineHeight:"15px",fontSize:"12px",margin:"5px 0"},taskDetailTitle:{color:e.palette.text.secondary,marginRight:"3px"},taskDueDate:{fontSize:"13px",lineHeight:"15px",marginLeft:"auto",flexShrink:0},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"}}))),on=e=>{let{uri:t,label:n,screen:a}=e;const l=ln();return r().createElement(He.Z,{value:t,screen:a,className:l.entityLabel},(0,o.idV)(n))},cn=e=>{let{object:t,metadata:n,processType:a}=e;if("startObjectUri"in t&&"endObjectUri"in t){const e=(0,o.V3K)(n,t.type);return r().createElement(r().Fragment,null,e.label," ",p().text("from")," ",r().createElement(on,{uri:t.startObjectUri,label:t.startObjectLabel})," ",p().text("to")," ",r().createElement(on,{uri:t.endObjectUri,label:t.endObjectLabel}))}{const e=(0,c.cond)([[(0,c.always)((0,c.equals)(a,o.Yj_.potentialMatchReview)),(0,c.always)("potentialMatches")],[(0,c.propSatisfies)(o.FP6,"uri"),(0,c.always)("dcrReview")],[c.T,(0,c.always)("profile")]])(t);return r().createElement(on,{uri:(0,o.wwR)(t),label:t.label,screen:e})}},sn=e=>{let{task:t,showAssignee:n}=e;const a=ln(),l=t.objects||[],[c]=l,s=(0,i.useSelector)(f.ZP.selectors.getMetadata),u=c&&(0,o.nt9)(s,c.type);return r().createElement("div",{className:U()(a.taskItem,t.priorityClass),"data-reltio-id":"workflow-task-item"},r().createElement(Vt.Z,{entityType:u}),r().createElement("div",{className:a.taskInfo},r().createElement("div",{className:a.titleContainer},r().createElement(V.Z,{className:a.taskTitle,variant:"subtitle1"},p().text(t.processDefinitionDisplayName)),r().createElement("div",{className:U()(a.taskDueDate,{[a.overdue]:rn(t),[a.hidden]:!t.dueDate})},r().createElement(Gt.Z,{className:a.flag}),p().date(t.dueDate,"L"))),l.map((e=>r().createElement("p",{key:e.uri,className:a.taskDetail},r().createElement(cn,{object:e,processType:t.processType,metadata:s})))),r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},`${p().text("Created by")}:`),t.createdBy," ",p().text("on")," ",p().date(t.createTime,"L")),n&&t.assignee&&r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},`${p().text("Assigned to")}:`),t.assignee),r().createElement("p",{className:a.taskDetail},r().createElement("span",{className:a.taskDetailTitle},`${p().text("Step")}:`),t.displayName)))};var pn=n(56961);const un=e=>{let{width:t,height:n,tasksCategory:l,tasks:o}=e;const i=(0,a.useCallback)((e=>{let{data:t,index:n}=e;const a=n===t.length-1;return r().createElement("div",null,r().createElement(sn,{task:t[n],showAssignee:l!==Bt.MY}),!a&&r().createElement(pn.Z,{light:!0,variant:"inset"}))}),[l]);return r().createElement(Ht.Z,{width:t,height:n,data:o,defaultItemSize:115},i)};function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const mn=(0,a.memo)((e=>{let{config:t,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s}=e;const{id:d,title:g,pageSize:E=b}=t,y=ie(),[v,x]=(0,a.useState)(0),[S,w]=(0,a.useState)(E),[T,R]=(0,a.useState)(Bt.MY),I=(0,a.useMemo)((()=>({tasksCategory:T,max:S,offset:S*v})),[S,v,T]),P=(0,a.useMemo)((()=>({[Bt.MY]:p().text("My tasks"),[Bt.TEAM]:p().text("Team tasks")})),[]),C=(0,a.useMemo)((()=>Object.keys(P).map((e=>({text:P[e],onClick:()=>R(e)})))),[P]),{state:M,data:D,total:N,reload:_}=(e=>{const{tasksCategory:t}=e,n=(0,a.useMemo)((()=>(0,c.pick)(["max","offset"],e)),[e]),[r,l]=(0,a.useState)([]),[o,s]=(0,a.useState)(h.o.INIT),[p,u]=(0,a.useState)(),d=(0,i.useSelector)(f.ZP.selectors.getWorkflowPath),m=(0,i.useSelector)(f.ZP.selectors.getWorkflowEnvironmentUrl),g=(0,i.useSelector)(f.ZP.selectors.getTenant),E=(0,i.useSelector)(f.ZP.selectors.getUserName),y=t===Bt.MY?E:void 0,b=(0,St._)(),v=e=>{console.error(e),s(h.o.ERROR),l([])},O=(0,a.useCallback)((()=>{s(h.o.LOADING);const e=(0,c.pipe)(an(t),b,(0,c.andThen)((e=>{let{data:t,total:n}=e;s(h.o.LOADED),l(t),u(n)})),(0,c.otherwise)(v));e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),a.forEach((function(t){dn(e,t,n[t])}))}return e}({workflowPath:d,environment:m,tenant:g,assignee:y},n))}),[d,m,g,t,n]),x=()=>{try{O()}catch(e){v(e)}};return(0,a.useEffect)((()=>{x()}),[O]),{state:o,data:r,reload:x,total:p}})(I);return(0,u.T)({state:M,reload:_}),r().createElement(O.Z,{id:d},r().createElement(L,{title:g,onToggleFullscreen:n,isUpdated:l,isFullscreen:o,onRemove:s,onRefresh:_},r().createElement(Ut.Z,{buttonProps:{className:y.categorySelector,endIcon:r().createElement(qe.Z,null),size:"small"},buttonContent:P[T],menuId:"tasks-category-menu",menuItems:C})),r().createElement(ae,{loadingState:M,onRefresh:_,data:D,className:y.inboxContent},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(un,{width:n,height:a,tasksCategory:T,tasks:t})})),!!N&&r().createElement(m.Z,{page:v,count:N,rowsPerPage:S,onChangePage:x,onChangeRowsPerPage:w}))}));var fn=n(75067),hn=n(77434),gn=n(7278);const En=(0,a.memo)((e=>{let{config:t,isUpdated:n,isFullscreen:l,onToggleFullscreen:i,onRemove:s}=e;const{id:d,title:f,exportTypes:g}=t,E=ie(),[y,x]=(0,a.useState)(0),[S,w]=(0,a.useState)(b),T=(0,a.useMemo)((()=>v(b)),[]),[R,I]=(0,a.useState)({users:[],activities:[],dateRange:{type:o.KfU.WITHIN,period:[4,"months"]}}),{state:P,data:C,total:M,reload:D}=(e=>{let{filter:t,max:n,offset:r}=e;const[l,o]=(0,a.useState)([]),[i,s]=(0,a.useState)(0),[p,u]=(0,a.useState)(h.o.INIT),d=(0,St._)(),m=e=>{console.error(e),u(h.o.ERROR)},f=(0,gn.d)({filter:t,max:n,offset:r}),g=(0,a.useCallback)((()=>{u(h.o.LOADING);const e=(0,c.pipe)(f,d,(0,c.andThen)((e=>{let{data:t,total:n}=e;o(t),s(n),u(h.o.LOADED)})),(0,c.otherwise)(m));e()}),[f]),E=()=>{try{g()}catch(e){m(e)}};return(0,a.useEffect)((()=>{E()}),[g]),{state:p,data:l,total:i,reload:E}})({filter:R,max:S,offset:y*S}),N=(0,a.useCallback)((e=>{I(e),x(0)}),[]);return(0,u.T)({state:P,reload:D}),r().createElement(O.Z,{id:d},r().createElement(L,{title:f,onToggleFullscreen:i,isUpdated:n,isFullscreen:l,onRemove:s,onRefresh:D}),r().createElement("div",{className:E.activityLogFilter},r().createElement(fn.Z,{value:R,onChange:N,exportTypes:g})),r().createElement(ae,{loadingState:P,onRefresh:D,data:C,className:E.content},(e=>{let{data:t,width:n,height:a}=e;return r().createElement(hn.Z,{width:n,height:a,activities:t})})),!!M&&r().createElement(m.Z,{page:y,count:M,onChangePage:x,rowsPerPage:S,onChangeRowsPerPage:w,rowsPerPageOptions:T,labelRowsPerPage:p().text("Events per page:")}))}));function yn(){return yn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},yn.apply(this,arguments)}const bn=e=>(0,l.Z)(e),vn=bn(En),On=bn(Zt),xn=bn(_e),Sn=bn(zt),wn=bn(ce),Tn=bn(Ye),Rn=bn(mn),In=bn(wt);class Pn{}Pn.ViewTypes=o.dZX,Pn.getComponent=e=>{let{config:t,type:n,isUpdated:a,isFullscreen:l,onToggleFullscreen:o,onRemove:i}=e;const c={isUpdated:a,isFullscreen:l,onToggleFullscreen:o,onRemove:i};switch(n){case Pn.ViewTypes.ActivitiesViewFacet:return r().createElement(vn,yn({config:t},c));case Pn.ViewTypes.CustomActionViewFacet:return r().createElement(On,yn({config:t},c));case Pn.ViewTypes.DashboardFacet:return r().createElement(xn,yn({config:t},c));case Pn.ViewTypes.EntitiesByTypeViewFacet:return r().createElement(Sn,yn({config:t},c));case Pn.ViewTypes.FilteredSavedSearchesFacet:return r().createElement(wn,yn({config:t},c));case Pn.ViewTypes.FilteredEntitiesViewFacet:return r().createElement(Tn,yn({config:t},c));case Pn.ViewTypes.NotificationInboxFacet:return r().createElement(Rn,yn({config:t},c));case Pn.ViewTypes.ProfileStatsFacet:return r().createElement(In,yn({config:t},c))}},Pn.getChartType=e=>{const t={[Pn.ViewTypes.EntitiesByTypeViewFacet]:o.$XE.TREE,[Pn.ViewTypes.FilteredSavedSearchesFacet]:o.$XE.TABLE,[Pn.ViewTypes.FilteredEntitiesViewFacet]:o.$XE.TABLE,[Pn.ViewTypes.ProfileStatsFacet]:o.$XE.LINE,[Pn.ViewTypes.NotificationInboxFacet]:o.$XE.TABLE,[Pn.ViewTypes.ActivitiesViewFacet]:o.$XE.TABLE};return e.chartType||t[e.component]};const Cn=Pn},46847:(e,t,n)=>{function a(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function l(e,t){try{var n=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}function o(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,o=null,i=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?i="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(i="UNSAFE_componentWillUpdate"),null!==n||null!==o||null!==i){var c=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==o?"\n "+o:"")+(null!==i?"\n "+i:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=a,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=l;var p=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;p.call(this,e,t,a)}}return e}n.r(t),n.d(t,{polyfill:()=>o}),a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,l.__suppressDeprecationWarning=!0}}]);
|
|
2
2
|
//# sourceMappingURL=6890.js.map
|