@reltio/remotes 1.4.1184 → 1.4.1186

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.
Files changed (110) hide show
  1. package/1920.js +1 -1
  2. package/1957.js +1 -1
  3. package/1957.js.map +1 -1
  4. package/2114.js +1 -1
  5. package/2378.js +3 -0
  6. package/{7621.js.LICENSE.txt → 2378.js.LICENSE.txt} +0 -0
  7. package/2378.js.map +1 -0
  8. package/2396.js +2 -0
  9. package/2396.js.map +1 -0
  10. package/2498.js +2 -0
  11. package/2498.js.map +1 -0
  12. package/2890.js +1 -1
  13. package/3029.js +2 -0
  14. package/3029.js.map +1 -0
  15. package/3126.js +1 -1
  16. package/3698.js +2 -0
  17. package/3698.js.map +1 -0
  18. package/3981.js +1 -1
  19. package/3981.js.map +1 -1
  20. package/{8581.js → 4013.js} +2 -2
  21. package/4013.js.map +1 -0
  22. package/4132.js +1 -1
  23. package/4132.js.map +1 -1
  24. package/4277.js +1 -1
  25. package/4277.js.map +1 -1
  26. package/4361.js +1 -1
  27. package/4374.js +3 -0
  28. package/{5026.js.LICENSE.txt → 4374.js.LICENSE.txt} +0 -0
  29. package/4374.js.map +1 -0
  30. package/4582.js +1 -1
  31. package/4689.js +1 -1
  32. package/4843.js +1 -1
  33. package/4889.js +1 -1
  34. package/5243.js +2 -0
  35. package/5243.js.map +1 -0
  36. package/5276.js +2 -0
  37. package/5276.js.map +1 -0
  38. package/5400.js +1 -1
  39. package/5709.js +1 -1
  40. package/5720.js +1 -1
  41. package/5884.js +1 -1
  42. package/5884.js.map +1 -1
  43. package/{1196.css → 604.css} +1 -1
  44. package/604.css.map +1 -0
  45. package/604.js +2 -0
  46. package/604.js.map +1 -0
  47. package/621.js +1 -1
  48. package/6303.js +2 -0
  49. package/6303.js.map +1 -0
  50. package/6596.js +1 -1
  51. package/6710.js +1 -1
  52. package/6710.js.map +1 -1
  53. package/737.js +2 -0
  54. package/737.js.map +1 -0
  55. package/7820.js +2 -0
  56. package/7820.js.map +1 -0
  57. package/8896.js +2 -0
  58. package/8896.js.map +1 -0
  59. package/8969.js +1 -1
  60. package/8969.js.map +1 -1
  61. package/9062.js +2 -0
  62. package/9062.js.map +1 -0
  63. package/9306.js +2 -0
  64. package/9306.js.map +1 -0
  65. package/9431.js +1 -1
  66. package/9431.js.map +1 -1
  67. package/9551.js +1 -1
  68. package/9609.js +2 -0
  69. package/9609.js.map +1 -0
  70. package/9630.js +1 -1
  71. package/9838.js +1 -1
  72. package/main.js +1 -1
  73. package/main.js.map +1 -1
  74. package/package.json +1 -1
  75. package/remoteEntry.js +1 -1
  76. package/remoteEntry.js.map +1 -1
  77. package/1136.js +0 -2
  78. package/1136.js.map +0 -1
  79. package/1196.css.map +0 -1
  80. package/1196.js +0 -2
  81. package/1196.js.map +0 -1
  82. package/1406.js +0 -2
  83. package/1406.js.map +0 -1
  84. package/350.js +0 -2
  85. package/350.js.map +0 -1
  86. package/366.js +0 -2
  87. package/366.js.map +0 -1
  88. package/3745.js +0 -2
  89. package/3745.js.map +0 -1
  90. package/5026.js +0 -3
  91. package/5026.js.map +0 -1
  92. package/5198.js +0 -2
  93. package/5198.js.map +0 -1
  94. package/5797.js +0 -2
  95. package/5797.js.map +0 -1
  96. package/6971.js +0 -2
  97. package/6971.js.map +0 -1
  98. package/7147.js +0 -2
  99. package/7147.js.map +0 -1
  100. package/7526.js +0 -2
  101. package/7526.js.map +0 -1
  102. package/7621.js +0 -3
  103. package/7621.js.map +0 -1
  104. package/8419.js +0 -2
  105. package/8419.js.map +0 -1
  106. package/8581.js.map +0 -1
  107. package/9503.js +0 -2
  108. package/9503.js.map +0 -1
  109. package/9983.js +0 -2
  110. package/9983.js.map +0 -1
package/8969.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8969],{43434:(e,t,o)=>{o.d(t,{Z:()=>d});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(6277)),s=o(15459);const c=(0,o(3752).Z)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=i.forwardRef((function(e,t){var o,s=e.alt,l=e.children,d=e.classes,u=e.className,m=e.component,p=void 0===m?"div":m,f=e.imgProps,v=e.sizes,g=e.src,h=e.srcSet,b=e.variant,Z=void 0===b?"circle":b,y=(0,r.Z)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),x=function(e){var t=e.src,o=e.srcSet,n=i.useState(!1),r=n[0],a=n[1];return i.useEffect((function(){if(t||o){a(!1);var e=!0,n=new Image;return n.src=t,n.srcSet=o,n.onload=function(){e&&a("loaded")},n.onerror=function(){e&&a("error")},function(){e=!1}}}),[t,o]),r}({src:g,srcSet:h}),C=g||h,N=C&&"error"!==x;return o=N?i.createElement("img",(0,n.Z)({alt:s,src:g,srcSet:h,sizes:v,className:d.img},f)):null!=l?l:C&&s?s[0]:i.createElement(c,{className:d.fallback}),i.createElement(p,(0,n.Z)({className:(0,a.Z)(d.root,d.system,d[Z],u,!N&&d.colorDefault),ref:t},y),o)}));const d=(0,s.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(l)},38402:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(6277)),s=o(15459),c=o(57074),l=o(33996),d=o(85974),u=o(20413),m=o(75047),p="undefined"==typeof window?i.useEffect:i.useLayoutEffect,f=i.forwardRef((function(e,t){var o=e.alignItems,s=void 0===o?"center":o,f=e.autoFocus,v=void 0!==f&&f,g=e.button,h=void 0!==g&&g,b=e.children,Z=e.classes,y=e.className,x=e.component,C=e.ContainerComponent,N=void 0===C?"li":C,S=e.ContainerProps,I=(S=void 0===S?{}:S).className,k=(0,r.Z)(S,["className"]),w=e.dense,E=void 0!==w&&w,R=e.disabled,D=void 0!==R&&R,z=e.disableGutters,A=void 0!==z&&z,L=e.divider,F=void 0!==L&&L,P=e.focusVisibleClassName,V=e.selected,$=void 0!==V&&V,M=(0,r.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),j=i.useContext(u.Z),T={dense:E||j.dense||!1,alignItems:s},_=i.useRef(null);p((function(){v&&_.current&&_.current.focus()}),[v]);var B=i.Children.toArray(b),G=B.length&&(0,l.Z)(B[B.length-1],["ListItemSecondaryAction"]),q=i.useCallback((function(e){_.current=m.findDOMNode(e)}),[]),H=(0,d.Z)(q,t),O=(0,n.Z)({className:(0,a.Z)(Z.root,y,T.dense&&Z.dense,!A&&Z.gutters,F&&Z.divider,D&&Z.disabled,h&&Z.button,"center"!==s&&Z.alignItemsFlexStart,G&&Z.secondaryAction,$&&Z.selected),disabled:D},M),J=x||"li";return h&&(O.component=x||"div",O.focusVisibleClassName=(0,a.Z)(Z.focusVisible,P),J=c.Z),G?(J=O.component||x?J:"div","li"===N&&("li"===J?J="div":"li"===O.component&&(O.component="div")),i.createElement(u.Z.Provider,{value:T},i.createElement(N,(0,n.Z)({className:(0,a.Z)(Z.container,I),ref:H},k),i.createElement(J,O,B),B.pop()))):i.createElement(u.Z.Provider,{value:T},i.createElement(J,(0,n.Z)({ref:H},O),B))}));const v=(0,s.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(f)},69112:(e,t,o)=>{o.d(t,{Z:()=>m});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(6277));const s=(0,o(3752).Z)(i.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");var c=o(15459),l=o(57074),d=o(97580),u=i.forwardRef((function(e,t){var o=e.active,c=void 0!==o&&o,u=e.children,m=e.classes,p=e.className,f=e.direction,v=void 0===f?"asc":f,g=e.hideSortIcon,h=void 0!==g&&g,b=e.IconComponent,Z=void 0===b?s:b,y=(0,r.Z)(e,["active","children","classes","className","direction","hideSortIcon","IconComponent"]);return i.createElement(l.Z,(0,n.Z)({className:(0,a.Z)(m.root,p,c&&m.active),component:"span",disableRipple:!0,ref:t},y),u,h&&!c?null:i.createElement(Z,{className:(0,a.Z)(m.icon,m["iconDirection".concat((0,d.Z)(v))])}))}));const m=(0,c.Z)((function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:e.palette.text.secondary},"&:hover":{color:e.palette.text.secondary,"& $icon":{opacity:.5}},"&$active":{color:e.palette.text.primary,"&& $icon":{opacity:1,color:e.palette.text.secondary}}},active:{},icon:{fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}}),{name:"MuiTableSortLabel"})(u)}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8969],{43434:(e,t,o)=>{o.d(t,{Z:()=>d});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(6277)),s=o(15459);const c=(0,o(3752).Z)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=i.forwardRef((function(e,t){var o,s=e.alt,l=e.children,d=e.classes,u=e.className,m=e.component,p=void 0===m?"div":m,f=e.imgProps,v=e.sizes,g=e.src,h=e.srcSet,b=e.variant,Z=void 0===b?"circle":b,y=(0,r.Z)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),x=function(e){var t=e.src,o=e.srcSet,n=i.useState(!1),r=n[0],a=n[1];return i.useEffect((function(){if(t||o){a(!1);var e=!0,n=new Image;return n.src=t,n.srcSet=o,n.onload=function(){e&&a("loaded")},n.onerror=function(){e&&a("error")},function(){e=!1}}}),[t,o]),r}({src:g,srcSet:h}),C=g||h,N=C&&"error"!==x;return o=N?i.createElement("img",(0,n.Z)({alt:s,src:g,srcSet:h,sizes:v,className:d.img},f)):null!=l?l:C&&s?s[0]:i.createElement(c,{className:d.fallback}),i.createElement(p,(0,n.Z)({className:(0,a.Z)(d.root,d.system,d[Z],u,!N&&d.colorDefault),ref:t},y),o)}));const d=(0,s.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(l)},38402:(e,t,o)=>{o.d(t,{Z:()=>v});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(6277)),s=o(15459),c=o(57074),l=o(33996),d=o(85974),u=o(20413),m=o(75047),p="undefined"==typeof window?i.useEffect:i.useLayoutEffect,f=i.forwardRef((function(e,t){var o=e.alignItems,s=void 0===o?"center":o,f=e.autoFocus,v=void 0!==f&&f,g=e.button,h=void 0!==g&&g,b=e.children,Z=e.classes,y=e.className,x=e.component,C=e.ContainerComponent,N=void 0===C?"li":C,S=e.ContainerProps,I=(S=void 0===S?{}:S).className,k=(0,r.Z)(S,["className"]),w=e.dense,E=void 0!==w&&w,R=e.disabled,D=void 0!==R&&R,z=e.disableGutters,A=void 0!==z&&z,L=e.divider,V=void 0!==L&&L,F=e.focusVisibleClassName,P=e.selected,$=void 0!==P&&P,M=(0,r.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),j=i.useContext(u.Z),T={dense:E||j.dense||!1,alignItems:s},_=i.useRef(null);p((function(){v&&_.current&&_.current.focus()}),[v]);var B=i.Children.toArray(b),G=B.length&&(0,l.Z)(B[B.length-1],["ListItemSecondaryAction"]),O=i.useCallback((function(e){_.current=m.findDOMNode(e)}),[]),q=(0,d.Z)(O,t),H=(0,n.Z)({className:(0,a.Z)(Z.root,y,T.dense&&Z.dense,!A&&Z.gutters,V&&Z.divider,D&&Z.disabled,h&&Z.button,"center"!==s&&Z.alignItemsFlexStart,G&&Z.secondaryAction,$&&Z.selected),disabled:D},M),J=x||"li";return h&&(H.component=x||"div",H.focusVisibleClassName=(0,a.Z)(Z.focusVisible,F),J=c.Z),G?(J=H.component||x?J:"div","li"===N&&("li"===J?J="div":"li"===H.component&&(H.component="div")),i.createElement(u.Z.Provider,{value:T},i.createElement(N,(0,n.Z)({className:(0,a.Z)(Z.container,I),ref:q},k),i.createElement(J,H,B),B.pop()))):i.createElement(u.Z.Provider,{value:T},i.createElement(J,(0,n.Z)({ref:q},H),B))}));const v=(0,s.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(f)},69112:(e,t,o)=>{o.d(t,{Z:()=>m});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(6277));const s=(0,o(3752).Z)(i.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");var c=o(15459),l=o(57074),d=o(97580),u=i.forwardRef((function(e,t){var o=e.active,c=void 0!==o&&o,u=e.children,m=e.classes,p=e.className,f=e.direction,v=void 0===f?"asc":f,g=e.hideSortIcon,h=void 0!==g&&g,b=e.IconComponent,Z=void 0===b?s:b,y=(0,r.Z)(e,["active","children","classes","className","direction","hideSortIcon","IconComponent"]);return i.createElement(l.Z,(0,n.Z)({className:(0,a.Z)(m.root,p,c&&m.active),component:"span",disableRipple:!0,ref:t},y),u,h&&!c?null:i.createElement(Z,{className:(0,a.Z)(m.icon,m["iconDirection".concat((0,d.Z)(v))])}))}));const m=(0,c.Z)((function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:e.palette.text.secondary},"&:hover":{color:e.palette.text.secondary,"& $icon":{opacity:.5}},"&$active":{color:e.palette.text.primary,"&& $icon":{opacity:1,color:e.palette.text.secondary}}},active:{},icon:{fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}}),{name:"MuiTableSortLabel"})(u)},33996:(e,t,o)=>{o.d(t,{Z:()=>r});var n=o(24328);function r(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}}}]);
2
2
  //# sourceMappingURL=8969.js.map
package/8969.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"8969.js","mappings":"wMAMA,SAAe,E,QAAA,GAA4B,gBAAoB,OAAQ,CACrEA,EAAG,kHACD,UCwGJ,IAAIC,EAAsB,cAAiB,SAAgBC,EAAOC,GAChE,IAcIC,EAdAC,EAAMH,EAAMG,IACZC,EAAeJ,EAAME,SACrBG,EAAUL,EAAMK,QAChBC,EAAYN,EAAMM,UAClBC,EAAmBP,EAAMQ,UACzBC,OAAiC,IAArBF,EAA8B,MAAQA,EAClDG,EAAWV,EAAMU,SACjBC,EAAQX,EAAMW,MACdC,EAAMZ,EAAMY,IACZC,EAASb,EAAMa,OACfC,EAAiBd,EAAMe,QACvBA,OAA6B,IAAnBD,EAA4B,SAAWA,EACjDE,GAAQ,OAAyBhB,EAAO,CAAC,MAAO,WAAY,UAAW,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ChCnF,KAAM,qBADR,CAEG6D","sources":["webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/internal/svg-icons/Person.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/Avatar/Avatar.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/ListItem/ListItem.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js"],"sourcesContent":["import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\"\n}), 'Person');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport Person from '../internal/svg-icons/Person';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none'\n },\n\n /* Styles applied to the root element if not `src` or `srcSet`. */\n colorDefault: {\n color: theme.palette.background.default,\n backgroundColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `variant=\"circle\"`. */\n circle: {},\n\n /* Styles applied to the root element if `variant=\"circular\"`. */\n circular: {},\n\n /* Styles applied to the root element if `variant=\"rounded\"`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"square\"`. */\n square: {\n borderRadius: 0\n },\n\n /* Styles applied to the img element if either `src` or `srcSet` is defined. */\n img: {\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE 11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n },\n\n /* Styles applied to the fallback icon */\n fallback: {\n width: '75%',\n height: '75%'\n }\n };\n};\n\nfunction useLoaded(_ref) {\n var src = _ref.src,\n srcSet = _ref.srcSet;\n\n var _React$useState = React.useState(false),\n loaded = _React$useState[0],\n setLoaded = _React$useState[1];\n\n React.useEffect(function () {\n if (!src && !srcSet) {\n return undefined;\n }\n\n setLoaded(false);\n var active = true;\n var image = new Image();\n image.src = src;\n image.srcSet = srcSet;\n\n image.onload = function () {\n if (!active) {\n return;\n }\n\n setLoaded('loaded');\n };\n\n image.onerror = function () {\n if (!active) {\n return;\n }\n\n setLoaded('error');\n };\n\n return function () {\n active = false;\n };\n }, [src, srcSet]);\n return loaded;\n}\n\nvar Avatar = /*#__PURE__*/React.forwardRef(function Avatar(props, ref) {\n var alt = props.alt,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n imgProps = props.imgProps,\n sizes = props.sizes,\n src = props.src,\n srcSet = props.srcSet,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'circle' : _props$variant,\n other = _objectWithoutProperties(props, [\"alt\", \"children\", \"classes\", \"className\", \"component\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"]);\n\n var children = null; // Use a hook instead of onError on the img element to support server-side rendering.\n\n var loaded = useLoaded({\n src: src,\n srcSet: srcSet\n });\n var hasImg = src || srcSet;\n var hasImgNotFailing = hasImg && loaded !== 'error';\n\n if (hasImgNotFailing) {\n children = /*#__PURE__*/React.createElement(\"img\", _extends({\n alt: alt,\n src: src,\n srcSet: srcSet,\n sizes: sizes,\n className: classes.img\n }, imgProps));\n } else if (childrenProp != null) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/React.createElement(Person, {\n className: classes.fallback\n });\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes.system, classes[variant], className, !hasImgNotFailing && classes.colorDefault),\n ref: ref\n }, other), children);\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: chainPropTypes(PropTypes.object, function (props) {\n var classes = props.classes;\n\n if (classes == null) {\n return null;\n }\n\n if (classes.circle != null && // 2 classnames? one from withStyles the other must be custom\n classes.circle.split(' ').length > 1) {\n throw new Error(\"Material-UI: The `circle` class was deprecated. Use `circular` instead.\");\n }\n\n return null;\n }),\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * Attributes applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n */\n imgProps: PropTypes.object,\n\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n\n /**\n * The shape of the avatar.\n */\n variant: chainPropTypes(PropTypes.oneOf(['circle', 'circular', 'rounded', 'square']), function (props) {\n var variant = props.variant;\n\n if (variant === 'circle') {\n throw new Error('Material-UI: `variant=\"circle\"` was deprecated. Use `variant=\"circular\"` instead.');\n }\n\n return null;\n })\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAvatar'\n})(Avatar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport ListContext from '../List/ListContext';\nimport * as ReactDOM from 'react-dom';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */\n root: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n paddingTop: 8,\n paddingBottom: 8,\n '&$focusVisible': {\n backgroundColor: theme.palette.action.selected\n },\n '&$selected, &$selected:hover': {\n backgroundColor: theme.palette.action.selected\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the `container` element if `children` includes `ListItemSecondaryAction`. */\n container: {\n position: 'relative'\n },\n\n /* Pseudo-class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */\n focusVisible: {},\n\n /* Styles applied to the `component` element if dense. */\n dense: {\n paddingTop: 4,\n paddingBottom: 4\n },\n\n /* Styles applied to the `component` element if `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n alignItems: 'flex-start'\n },\n\n /* Pseudo-class applied to the inner `component` element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the inner `component` element if `divider={true}`. */\n divider: {\n borderBottom: \"1px solid \".concat(theme.palette.divider),\n backgroundClip: 'padding-box'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the inner `component` element if `button={true}`. */\n button: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the `component` element if `children` includes `ListItemSecondaryAction`. */\n secondaryAction: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\n\nvar ListItem = /*#__PURE__*/React.forwardRef(function ListItem(props, ref) {\n var _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'center' : _props$alignItems,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$button = props.button,\n button = _props$button === void 0 ? false : _props$button,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n componentProp = props.component,\n _props$ContainerCompo = props.ContainerComponent,\n ContainerComponent = _props$ContainerCompo === void 0 ? 'li' : _props$ContainerCompo,\n _props$ContainerProps = props.ContainerProps;\n _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;\n\n var ContainerClassName = _props$ContainerProps.className,\n ContainerProps = _objectWithoutProperties(_props$ContainerProps, [\"className\"]),\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? false : _props$divider,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"alignItems\", \"autoFocus\", \"button\", \"children\", \"classes\", \"className\", \"component\", \"ContainerComponent\", \"ContainerProps\", \"dense\", \"disabled\", \"disableGutters\", \"divider\", \"focusVisibleClassName\", \"selected\"]);\n\n var context = React.useContext(ListContext);\n var childContext = {\n dense: dense || context.dense || false,\n alignItems: alignItems\n };\n var listItemRef = React.useRef(null);\n useEnhancedEffect(function () {\n if (autoFocus) {\n if (listItemRef.current) {\n listItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: Unable to set focus to a ListItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n var children = React.Children.toArray(childrenProp);\n var hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listItemRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n\n var componentProps = _extends({\n className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== \"center\" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),\n disabled: disabled\n }, other);\n\n var Component = componentProp || 'li';\n\n if (button) {\n componentProps.component = componentProp || 'div';\n componentProps.focusVisibleClassName = clsx(classes.focusVisible, focusVisibleClassName);\n Component = ButtonBase;\n }\n\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component; // Avoid nesting of li > li.\n\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(ContainerComponent, _extends({\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef\n }, ContainerProps), /*#__PURE__*/React.createElement(Component, componentProps, children), children.pop()));\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef\n }, componentProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.propTypes = {\n /**\n * Defines the `align-items` style property.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center']),\n\n /**\n * If `true`, the list item will be focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the list item will be a button (using `ButtonBase`). Props intended\n * for `ButtonBase` can then be applied to `ListItem`.\n */\n button: PropTypes.bool,\n\n /**\n * The content of the component. If a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var children = React.Children.toArray(props.children); // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n\n var secondaryActionIndex = -1;\n\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n } // is ListItemSecondaryAction the last child of ListItem\n\n\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('Material-UI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n */\n ContainerComponent: PropTypes.elementType,\n\n /**\n * Props applied to the container component if used.\n */\n ContainerProps: PropTypes.object,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, the list item will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n */\n divider: PropTypes.bool,\n\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * Use to apply selected styling.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItem'\n})(ListItem);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z\"\n}), 'ArrowDownward');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ArrowDownwardIcon from '../internal/svg-icons/ArrowDownward';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n cursor: 'pointer',\n display: 'inline-flex',\n justifyContent: 'flex-start',\n flexDirection: 'inherit',\n alignItems: 'center',\n '&:focus': {\n color: theme.palette.text.secondary\n },\n '&:hover': {\n color: theme.palette.text.secondary,\n '& $icon': {\n opacity: 0.5\n }\n },\n '&$active': {\n color: theme.palette.text.primary,\n // && instead of & is a workaround for https://github.com/cssinjs/jss/issues/1045\n '&& $icon': {\n opacity: 1,\n color: theme.palette.text.secondary\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Styles applied to the icon component. */\n icon: {\n fontSize: 18,\n marginRight: 4,\n marginLeft: 4,\n opacity: 0,\n transition: theme.transitions.create(['opacity', 'transform'], {\n duration: theme.transitions.duration.shorter\n }),\n userSelect: 'none'\n },\n\n /* Styles applied to the icon component if `direction=\"desc\"`. */\n iconDirectionDesc: {\n transform: 'rotate(0deg)'\n },\n\n /* Styles applied to the icon component if `direction=\"asc\"`. */\n iconDirectionAsc: {\n transform: 'rotate(180deg)'\n }\n };\n};\n/**\n * A button based label for placing inside `TableCell` for column sorting.\n */\n\nvar TableSortLabel = /*#__PURE__*/React.forwardRef(function TableSortLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'asc' : _props$direction,\n _props$hideSortIcon = props.hideSortIcon,\n hideSortIcon = _props$hideSortIcon === void 0 ? false : _props$hideSortIcon,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDownwardIcon : _props$IconComponent,\n other = _objectWithoutProperties(props, [\"active\", \"children\", \"classes\", \"className\", \"direction\", \"hideSortIcon\", \"IconComponent\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, active && classes.active),\n component: \"span\",\n disableRipple: true,\n ref: ref\n }, other), children, hideSortIcon && !active ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"iconDirection\".concat(capitalize(direction))])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableSortLabel.propTypes = {\n /**\n * If `true`, the label will have the active styling (should be true for the sorted column).\n */\n active: PropTypes.bool,\n\n /**\n * Label contents, the arrow will be appended automatically.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The current sort direction.\n */\n direction: PropTypes.oneOf(['asc', 'desc']),\n\n /**\n * Hide sort icon when active is false.\n */\n hideSortIcon: PropTypes.bool,\n\n /**\n * Sort icon to use.\n */\n IconComponent: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableSortLabel'\n})(TableSortLabel);"],"names":["d","Avatar","props","ref","children","alt","childrenProp","classes","className","_props$component","component","Component","imgProps","sizes","src","srcSet","_props$variant","variant","other","loaded","_ref","_React$useState","setLoaded","active","image","Image","onload","onerror","useLoaded","hasImg","hasImgNotFailing","img","Person","fallback","root","system","colorDefault","withStyles","theme","position","display","alignItems","justifyContent","flexShrink","width","height","fontFamily","typography","fontSize","pxToRem","lineHeight","borderRadius","overflow","userSelect","color","palette","background","default","backgroundColor","type","grey","circle","circular","rounded","shape","square","textAlign","objectFit","textIndent","name","useEnhancedEffect","window","ListItem","_props$alignItems","_props$autoFocus","autoFocus","_props$button","button","componentProp","_props$ContainerCompo","ContainerComponent","_props$ContainerProps","ContainerProps","ContainerClassName","_props$dense","dense","_props$disabled","disabled","_props$disableGutters","disableGutters","_props$divider","divider","focusVisibleClassName","_props$selected","selected","context","childContext","listItemRef","current","focus","hasSecondaryAction","length","handleOwnRef","instance","handleRef","componentProps","gutters","alignItemsFlexStart","secondaryAction","focusVisible","value","container","pop","textDecoration","boxSizing","paddingTop","paddingBottom","action","opacity","borderBottom","concat","backgroundClip","paddingLeft","paddingRight","transition","transitions","create","duration","shortest","hover","TableSortLabel","_props$active","_props$direction","direction","_props$hideSortIcon","hideSortIcon","_props$IconComponent","IconComponent","ArrowDownward","ButtonBase","disableRipple","icon","capitalize","cursor","flexDirection","text","secondary","primary","marginRight","marginLeft","shorter","iconDirectionDesc","transform","iconDirectionAsc"],"sourceRoot":""}
1
+ {"version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B,QAAQ0F,KAAKC,WAE5B,UAAW,CACT5F,MAAOhB,EAAMiB,QAAQ0F,KAAKC,UAC1B,UAAW,CACT5B,QAAS,KAGb,WAAY,CACVhE,MAAOhB,EAAMiB,QAAQ0F,KAAKE,QAE1B,WAAY,CACV7B,QAAS,EACThE,MAAOhB,EAAMiB,QAAQ0F,KAAKC,aAMhC3H,OAAQ,GAGRsH,KAAM,CACJ7F,SAAU,GACVoG,YAAa,EACbC,WAAY,EACZ/B,QAAS,EACTM,WAAYtF,EAAMuF,YAAYC,OAAO,CAAC,UAAW,aAAc,CAC7DC,SAAUzF,EAAMuF,YAAYE,SAASuB,UAEvCjG,WAAY,QAIdkG,kBAAmB,CACjBC,UAAW,gBAIbC,iBAAkB,CAChBD,UAAW,qBAoEiB,CAChCnF,KAAM,qBADR,CAEG6D,I,gDChIY,SAASwB,EAAaC,EAASC,GAC5C,OAAoB,iBAAqBD,KAAwD,IAA5CC,EAASC,QAAQF,EAAQhG,KAAKmG","sources":["webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/internal/svg-icons/Person.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/Avatar/Avatar.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/ListItem/ListItem.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js","webpack://@reltio/remotes/../../node_modules/@material-ui/core/esm/utils/isMuiElement.js"],"sourcesContent":["import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z\"\n}), 'Person');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport Person from '../internal/svg-icons/Person';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none'\n },\n\n /* Styles applied to the root element if not `src` or `srcSet`. */\n colorDefault: {\n color: theme.palette.background.default,\n backgroundColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `variant=\"circle\"`. */\n circle: {},\n\n /* Styles applied to the root element if `variant=\"circular\"`. */\n circular: {},\n\n /* Styles applied to the root element if `variant=\"rounded\"`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"square\"`. */\n square: {\n borderRadius: 0\n },\n\n /* Styles applied to the img element if either `src` or `srcSet` is defined. */\n img: {\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE 11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n },\n\n /* Styles applied to the fallback icon */\n fallback: {\n width: '75%',\n height: '75%'\n }\n };\n};\n\nfunction useLoaded(_ref) {\n var src = _ref.src,\n srcSet = _ref.srcSet;\n\n var _React$useState = React.useState(false),\n loaded = _React$useState[0],\n setLoaded = _React$useState[1];\n\n React.useEffect(function () {\n if (!src && !srcSet) {\n return undefined;\n }\n\n setLoaded(false);\n var active = true;\n var image = new Image();\n image.src = src;\n image.srcSet = srcSet;\n\n image.onload = function () {\n if (!active) {\n return;\n }\n\n setLoaded('loaded');\n };\n\n image.onerror = function () {\n if (!active) {\n return;\n }\n\n setLoaded('error');\n };\n\n return function () {\n active = false;\n };\n }, [src, srcSet]);\n return loaded;\n}\n\nvar Avatar = /*#__PURE__*/React.forwardRef(function Avatar(props, ref) {\n var alt = props.alt,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n imgProps = props.imgProps,\n sizes = props.sizes,\n src = props.src,\n srcSet = props.srcSet,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'circle' : _props$variant,\n other = _objectWithoutProperties(props, [\"alt\", \"children\", \"classes\", \"className\", \"component\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"]);\n\n var children = null; // Use a hook instead of onError on the img element to support server-side rendering.\n\n var loaded = useLoaded({\n src: src,\n srcSet: srcSet\n });\n var hasImg = src || srcSet;\n var hasImgNotFailing = hasImg && loaded !== 'error';\n\n if (hasImgNotFailing) {\n children = /*#__PURE__*/React.createElement(\"img\", _extends({\n alt: alt,\n src: src,\n srcSet: srcSet,\n sizes: sizes,\n className: classes.img\n }, imgProps));\n } else if (childrenProp != null) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/React.createElement(Person, {\n className: classes.fallback\n });\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes.system, classes[variant], className, !hasImgNotFailing && classes.colorDefault),\n ref: ref\n }, other), children);\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: chainPropTypes(PropTypes.object, function (props) {\n var classes = props.classes;\n\n if (classes == null) {\n return null;\n }\n\n if (classes.circle != null && // 2 classnames? one from withStyles the other must be custom\n classes.circle.split(' ').length > 1) {\n throw new Error(\"Material-UI: The `circle` class was deprecated. Use `circular` instead.\");\n }\n\n return null;\n }),\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * Attributes applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n */\n imgProps: PropTypes.object,\n\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n\n /**\n * The shape of the avatar.\n */\n variant: chainPropTypes(PropTypes.oneOf(['circle', 'circular', 'rounded', 'square']), function (props) {\n var variant = props.variant;\n\n if (variant === 'circle') {\n throw new Error('Material-UI: `variant=\"circle\"` was deprecated. Use `variant=\"circular\"` instead.');\n }\n\n return null;\n })\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAvatar'\n})(Avatar);","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport isMuiElement from '../utils/isMuiElement';\nimport useForkRef from '../utils/useForkRef';\nimport ListContext from '../List/ListContext';\nimport * as ReactDOM from 'react-dom';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the (normally root) `component` element. May be wrapped by a `container`. */\n root: {\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n paddingTop: 8,\n paddingBottom: 8,\n '&$focusVisible': {\n backgroundColor: theme.palette.action.selected\n },\n '&$selected, &$selected:hover': {\n backgroundColor: theme.palette.action.selected\n },\n '&$disabled': {\n opacity: 0.5\n }\n },\n\n /* Styles applied to the `container` element if `children` includes `ListItemSecondaryAction`. */\n container: {\n position: 'relative'\n },\n\n /* Pseudo-class applied to the `component`'s `focusVisibleClassName` prop if `button={true}`. */\n focusVisible: {},\n\n /* Styles applied to the `component` element if dense. */\n dense: {\n paddingTop: 4,\n paddingBottom: 4\n },\n\n /* Styles applied to the `component` element if `alignItems=\"flex-start\"`. */\n alignItemsFlexStart: {\n alignItems: 'flex-start'\n },\n\n /* Pseudo-class applied to the inner `component` element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the inner `component` element if `divider={true}`. */\n divider: {\n borderBottom: \"1px solid \".concat(theme.palette.divider),\n backgroundClip: 'padding-box'\n },\n\n /* Styles applied to the inner `component` element if `disableGutters={false}`. */\n gutters: {\n paddingLeft: 16,\n paddingRight: 16\n },\n\n /* Styles applied to the inner `component` element if `button={true}`. */\n button: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: theme.palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n },\n\n /* Styles applied to the `component` element if `children` includes `ListItemSecondaryAction`. */\n secondaryAction: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n },\n\n /* Pseudo-class applied to the root element if `selected={true}`. */\n selected: {}\n };\n};\nvar useEnhancedEffect = typeof window === 'undefined' ? React.useEffect : React.useLayoutEffect;\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\n\nvar ListItem = /*#__PURE__*/React.forwardRef(function ListItem(props, ref) {\n var _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'center' : _props$alignItems,\n _props$autoFocus = props.autoFocus,\n autoFocus = _props$autoFocus === void 0 ? false : _props$autoFocus,\n _props$button = props.button,\n button = _props$button === void 0 ? false : _props$button,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n componentProp = props.component,\n _props$ContainerCompo = props.ContainerComponent,\n ContainerComponent = _props$ContainerCompo === void 0 ? 'li' : _props$ContainerCompo,\n _props$ContainerProps = props.ContainerProps;\n _props$ContainerProps = _props$ContainerProps === void 0 ? {} : _props$ContainerProps;\n\n var ContainerClassName = _props$ContainerProps.className,\n ContainerProps = _objectWithoutProperties(_props$ContainerProps, [\"className\"]),\n _props$dense = props.dense,\n dense = _props$dense === void 0 ? false : _props$dense,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$disableGutters = props.disableGutters,\n disableGutters = _props$disableGutters === void 0 ? false : _props$disableGutters,\n _props$divider = props.divider,\n divider = _props$divider === void 0 ? false : _props$divider,\n focusVisibleClassName = props.focusVisibleClassName,\n _props$selected = props.selected,\n selected = _props$selected === void 0 ? false : _props$selected,\n other = _objectWithoutProperties(props, [\"alignItems\", \"autoFocus\", \"button\", \"children\", \"classes\", \"className\", \"component\", \"ContainerComponent\", \"ContainerProps\", \"dense\", \"disabled\", \"disableGutters\", \"divider\", \"focusVisibleClassName\", \"selected\"]);\n\n var context = React.useContext(ListContext);\n var childContext = {\n dense: dense || context.dense || false,\n alignItems: alignItems\n };\n var listItemRef = React.useRef(null);\n useEnhancedEffect(function () {\n if (autoFocus) {\n if (listItemRef.current) {\n listItemRef.current.focus();\n } else if (process.env.NODE_ENV !== 'production') {\n console.error('Material-UI: Unable to set focus to a ListItem whose component has not been rendered.');\n }\n }\n }, [autoFocus]);\n var children = React.Children.toArray(childrenProp);\n var hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n listItemRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRef = useForkRef(handleOwnRef, ref);\n\n var componentProps = _extends({\n className: clsx(classes.root, className, childContext.dense && classes.dense, !disableGutters && classes.gutters, divider && classes.divider, disabled && classes.disabled, button && classes.button, alignItems !== \"center\" && classes.alignItemsFlexStart, hasSecondaryAction && classes.secondaryAction, selected && classes.selected),\n disabled: disabled\n }, other);\n\n var Component = componentProp || 'li';\n\n if (button) {\n componentProps.component = componentProp || 'div';\n componentProps.focusVisibleClassName = clsx(classes.focusVisible, focusVisibleClassName);\n Component = ButtonBase;\n }\n\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component; // Avoid nesting of li > li.\n\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(ContainerComponent, _extends({\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef\n }, ContainerProps), /*#__PURE__*/React.createElement(Component, componentProps, children), children.pop()));\n }\n\n return /*#__PURE__*/React.createElement(ListContext.Provider, {\n value: childContext\n }, /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef\n }, componentProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.propTypes = {\n /**\n * Defines the `align-items` style property.\n */\n alignItems: PropTypes.oneOf(['flex-start', 'center']),\n\n /**\n * If `true`, the list item will be focused during the first mount.\n * Focus will also be triggered if the value changes from false to true.\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the list item will be a button (using `ButtonBase`). Props intended\n * for `ButtonBase` can then be applied to `ListItem`.\n */\n button: PropTypes.bool,\n\n /**\n * The content of the component. If a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, function (props) {\n var children = React.Children.toArray(props.children); // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n\n var secondaryActionIndex = -1;\n\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n } // is ListItemSecondaryAction the last child of ListItem\n\n\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('Material-UI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n * By default, it's a `li` when `button` is `false` and a `div` when `button` is `true`.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n */\n ContainerComponent: PropTypes.elementType,\n\n /**\n * Props applied to the container component if used.\n */\n ContainerProps: PropTypes.object,\n\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input will be used.\n */\n dense: PropTypes.bool,\n\n /**\n * If `true`, the list item will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the left and right padding is removed.\n */\n disableGutters: PropTypes.bool,\n\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n */\n divider: PropTypes.bool,\n\n /**\n * @ignore\n */\n focusVisibleClassName: PropTypes.string,\n\n /**\n * Use to apply selected styling.\n */\n selected: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiListItem'\n})(ListItem);","import * as React from 'react';\nimport createSvgIcon from '../../utils/createSvgIcon';\n/**\n * @ignore - internal component.\n */\n\nexport default createSvgIcon( /*#__PURE__*/React.createElement(\"path\", {\n d: \"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z\"\n}), 'ArrowDownward');","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ArrowDownwardIcon from '../internal/svg-icons/ArrowDownward';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport capitalize from '../utils/capitalize';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n cursor: 'pointer',\n display: 'inline-flex',\n justifyContent: 'flex-start',\n flexDirection: 'inherit',\n alignItems: 'center',\n '&:focus': {\n color: theme.palette.text.secondary\n },\n '&:hover': {\n color: theme.palette.text.secondary,\n '& $icon': {\n opacity: 0.5\n }\n },\n '&$active': {\n color: theme.palette.text.primary,\n // && instead of & is a workaround for https://github.com/cssinjs/jss/issues/1045\n '&& $icon': {\n opacity: 1,\n color: theme.palette.text.secondary\n }\n }\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Styles applied to the icon component. */\n icon: {\n fontSize: 18,\n marginRight: 4,\n marginLeft: 4,\n opacity: 0,\n transition: theme.transitions.create(['opacity', 'transform'], {\n duration: theme.transitions.duration.shorter\n }),\n userSelect: 'none'\n },\n\n /* Styles applied to the icon component if `direction=\"desc\"`. */\n iconDirectionDesc: {\n transform: 'rotate(0deg)'\n },\n\n /* Styles applied to the icon component if `direction=\"asc\"`. */\n iconDirectionAsc: {\n transform: 'rotate(180deg)'\n }\n };\n};\n/**\n * A button based label for placing inside `TableCell` for column sorting.\n */\n\nvar TableSortLabel = /*#__PURE__*/React.forwardRef(function TableSortLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'asc' : _props$direction,\n _props$hideSortIcon = props.hideSortIcon,\n hideSortIcon = _props$hideSortIcon === void 0 ? false : _props$hideSortIcon,\n _props$IconComponent = props.IconComponent,\n IconComponent = _props$IconComponent === void 0 ? ArrowDownwardIcon : _props$IconComponent,\n other = _objectWithoutProperties(props, [\"active\", \"children\", \"classes\", \"className\", \"direction\", \"hideSortIcon\", \"IconComponent\"]);\n\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n className: clsx(classes.root, className, active && classes.active),\n component: \"span\",\n disableRipple: true,\n ref: ref\n }, other), children, hideSortIcon && !active ? null : /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"iconDirection\".concat(capitalize(direction))])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? TableSortLabel.propTypes = {\n /**\n * If `true`, the label will have the active styling (should be true for the sorted column).\n */\n active: PropTypes.bool,\n\n /**\n * Label contents, the arrow will be appended automatically.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The current sort direction.\n */\n direction: PropTypes.oneOf(['asc', 'desc']),\n\n /**\n * Hide sort icon when active is false.\n */\n hideSortIcon: PropTypes.bool,\n\n /**\n * Sort icon to use.\n */\n IconComponent: PropTypes.elementType\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiTableSortLabel'\n})(TableSortLabel);","import * as React from 'react';\nexport default function isMuiElement(element, muiNames) {\n return /*#__PURE__*/React.isValidElement(element) && muiNames.indexOf(element.type.muiName) !== -1;\n}"],"names":["d","Avatar","props","ref","children","alt","childrenProp","classes","className","_props$component","component","Component","imgProps","sizes","src","srcSet","_props$variant","variant","other","loaded","_ref","_React$useState","setLoaded","active","image","Image","onload","onerror","useLoaded","hasImg","hasImgNotFailing","img","Person","fallback","root","system","colorDefault","withStyles","theme","position","display","alignItems","justifyContent","flexShrink","width","height","fontFamily","typography","fontSize","pxToRem","lineHeight","borderRadius","overflow","userSelect","color","palette","background","default","backgroundColor","type","grey","circle","circular","rounded","shape","square","textAlign","objectFit","textIndent","name","useEnhancedEffect","window","ListItem","_props$alignItems","_props$autoFocus","autoFocus","_props$button","button","componentProp","_props$ContainerCompo","ContainerComponent","_props$ContainerProps","ContainerProps","ContainerClassName","_props$dense","dense","_props$disabled","disabled","_props$disableGutters","disableGutters","_props$divider","divider","focusVisibleClassName","_props$selected","selected","context","childContext","listItemRef","current","focus","hasSecondaryAction","length","handleOwnRef","instance","handleRef","componentProps","gutters","alignItemsFlexStart","secondaryAction","focusVisible","value","container","pop","textDecoration","boxSizing","paddingTop","paddingBottom","action","opacity","borderBottom","concat","backgroundClip","paddingLeft","paddingRight","transition","transitions","create","duration","shortest","hover","TableSortLabel","_props$active","_props$direction","direction","_props$hideSortIcon","hideSortIcon","_props$IconComponent","IconComponent","ArrowDownward","ButtonBase","disableRipple","icon","capitalize","cursor","flexDirection","text","secondary","primary","marginRight","marginLeft","shorter","iconDirectionDesc","transform","iconDirectionAsc","isMuiElement","element","muiNames","indexOf","muiName"],"sourceRoot":""}
package/9062.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9062],{27815:(e,t,n)=>{n.d(t,{Z:()=>k});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(71153),s=n.n(i),c=n(17440),u=n(52730),d=n(59431),p=n(81667),h=n(94079),m=n(92575),f=n(37285),g=n(96808),b=n(7785),y=n(79692);function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){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 x={input:e=>E({},e,{fontSize:"14px"}),menuPortal:e=>E({},e,{zIndex:1300})},C=(0,y.Z)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"},noOptionsMessage:{fontSize:"14px"}});const k=e=>{let{entityType:t,selectedAttributes:n,className:l,onChange:i,title:y,disableUnderline:E,menuPlacement:v="bottom"}=e;const k=(0,u.useSelector)(d.ZP.selectors.getMetadata),O=C(),T=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return e.reduce(((e,r)=>{if(r.hidden)return e;const o=`${n&&n+" / "}${r.label}`;e.push({label:r.label,value:r.uri,attrType:r,chipLabel:o,level:t});const l=(0,p.EUG)(k,r);return e.concat(l?T(l,t+1,o):[])}),[])}),[k]),w=(0,r.useMemo)((()=>T((null==t?void 0:t.attributes)||[])),[t,T]);return o().createElement("div",{className:s()(O.root,l)},o().createElement(h.Typography,{className:O.title,variant:"subtitle1"},y||a().text("Attribute")),o().createElement(m.Z,{value:n,options:w,TextFieldProps:{InputProps:{disableUnderline:E},classes:{root:O.dropDownInput}},components:{DropdownIndicator:g.Z,MultiValue:e=>{let{data:t}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["data"]);return o().createElement(f.Z,n,t.chipLabel)},Option:e=>{let{isFocused:t,isSelected:n,data:r,label:l,innerProps:a}=e;return o().createElement("div",a,o().createElement(b.Z,{checked:n,level:r.level,data:r,label:l,labelInText:l,isFocused:t}))}},onChange:(0,c.pipe)((0,c.defaultTo)([]),i),styles:x,classes:O,menuPlacement:v,menuPortalTarget:document.body}))}},60894:(e,t,n)=>{n.d(t,{Z:()=>b});var r=n(24328),o=n.n(r),l=n(13980),a=n.n(l),i=n(94656);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const c=e=>o().createElement("svg",s({width:20,height:18,viewBox:"0 0 20 18",xmlns:"http://www.w3.org/2000/svg"},e),o().createElement("path",{d:"M16 7.24V6h-4v1.24a8.417 8.417 0 00-2 .768V6H6v6h.29a8.497 8.497 0 00-.15.358l-.29.733.29.733.07.176H2c-1.1 0-2-.9-2-2V2C0 .9.9 0 2 0h14c1.1 0 2 .9 2 2v6.008a8.417 8.417 0 00-2-.768zM4 12V6H2v6h2zm0-8V2H2v2h2zm6 0V2H6v2h4zm6 0V2h-4v2h4zm-2 5a6.451 6.451 0 00-6 4.09 6.451 6.451 0 006 4.092 6.451 6.451 0 006-4.091A6.451 6.451 0 0014 9zm0 6.818a2.728 2.728 0 010-5.454 2.728 2.728 0 010 5.454zm0-4.363c-.905 0-1.636.73-1.636 1.636 0 .905.73 1.636 1.636 1.636.905 0 1.636-.73 1.636-1.636 0-.906-.73-1.636-1.636-1.636z",fill:"#000",fillRule:"nonzero",stroke:"none",strokeWidth:1,opacity:.54}));var u=n(8818),d=n(17440),p=n(47458),h=n(87918),m=n.n(h),f=n(85657);const g=e=>{let{columnsData:t,selectedColumns:n,onChangeColumns:l,title:a,tooltipTitle:i}=e;const[s,h]=(0,r.useState)(null),g=(0,r.useCallback)((e=>{const t=(0,d.pipe)(f.JJ,(0,d.pluck)("id"))(e),r=(0,f.u)(n,e);l(r?(0,d.difference)(n,t):(0,d.uniq)((0,d.concat)(n,t)))}),[n,l]);return o().createElement(o().Fragment,null,o().createElement(u.k,{tooltipTitle:i||m().text("Show/hide columns"),size:"L",icon:c,onClick:e=>h(e.currentTarget)}),o().createElement(p.G,{onColumnClick:g,anchorEl:s,columnsData:t,onClose:()=>h(null),title:a,selectedColumns:n}))};g.propTypes={columnsData:i.uz,selectedColumns:a().arrayOf(a().string),onChangeColumns:a().func,title:a().string,tooltipTitle:a().string};const b=g},47458:(e,t,n)=>{n.d(t,{G:()=>k});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(17440),s=n(81667),c=n(44890),u=n(97820),d=n(85657),p=n(56656),h=n(54763),m=n(13980),f=n.n(m),g=n(7785),b=n(27239),y=n(71153),E=n.n(y);const v=(0,n(79692).Z)({popup:{minWidth:"200px"},groupItem:{backgroundColor:"rgba(0,0,0,0.04)"}}),x=e=>{let{item:t,onClick:n,checked:r,level:l,style:a,isFocused:i,isGroupItem:s,hideCheckBox:c}=e;const u=v();return o().createElement(g.Z,{hideCheckBox:c,key:t.id,onClick:n,checked:r,level:l,data:t,label:o().createElement(b.Z,{text:t.label,highlight:t.filterText}),labelInText:t.label,style:a,isFocused:i,hideIcon:s,className:E()({[u.groupItem]:s})})};x.propTypes={item:f().shape({label:f().string,filterText:f().string}),level:f().number,onClick:f().func,checked:f().bool,style:f().object,isGroupItem:f().bool,isFocused:f().bool,hideCheckBox:f().bool};const C=x,k=e=>{let{anchorEl:t,onClose:n,title:l,columnsData:m,onColumnClick:f,selectedColumns:g,hideCheckBox:b}=e;const y=v(),[E,x]=(0,r.useState)(""),k=(0,r.useMemo)((()=>(0,d.eX)(m,E)),[m,E]),O=(0,r.useMemo)((()=>(0,p.LG)(k)),[k]),T=(0,s.fW1)("label")(k)||308,w=(0,r.useCallback)((e=>{let{item:t}=e;return f(t)}),[f]),{focusIndex:S,handleKeyDown:I}=(0,h.t)({items:O,open:!0,onSelectFocusedItem:w,selectedItems:g,onClose:n}),P=(0,r.useCallback)((0,i.pipe)(n,(()=>x(""))),[n]),N=Math.min(300,32*O.length),D=Math.max(140,N+108);return o().createElement(u.Z,{className:y.popup,open:!!t,anchorEl:t,onClose:P,onSearch:x,title:l||a().text("Show/hide columns"),containerWidth:T,containerHeight:D,searchInputOnKeyDown:I},o().createElement(c.Z,{fixedTitle:!1,height:N,renderItem:(e,t,n)=>{let{item:r,level:l=0}=t;return o().createElement(C,{hideCheckBox:b,style:e,item:r,level:l,isFocused:S===n,checked:(0,d.u)(g,r),isGroupItem:(0,d.yf)(r),onClick:b?(0,i.pipe)(f,P):f})},items:O,getItemSize:()=>32,focusIndex:S}))}},85657:(e,t,n)=>{n.d(t,{eX:()=>b,JJ:()=>y,yf:()=>i,u:()=>E});var r=n(17440),o=n(81667);function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const i=e=>e.id===e.groupId,s=(0,r.curry)(((e,t)=>{let{id:n,groupId:r}=e;return t.groupId===r&&(n===t.id||n.startsWith(`${t.id}.`))})),c=(0,r.curry)(((e,t)=>{let{groupId:n}=e;return n===t.id})),u=(0,r.propOr)(!0,"hideable"),d=(e,t)=>{const n=((e,t)=>e.find((0,r.either)(c(t),s(t))))(e,t);return n?(n.children=d(n.children||[],t),e):e.concat(t)},p=(0,r.curry)(((e,t)=>o.P6Y.strings.search(t.label,e)||(t.children||[]).some(p(e)))),h=(0,r.reduce)(((e,t)=>d(e,{id:t.id,groupId:t.groupId,label:t.label,attrType:t.dataTypeDefinition})),[]),m=(0,r.curry)((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return(0,r.pipe)((0,r.filter)(p(e)),(0,r.chain)((t=>[{item:l({},t,{filterText:e}),level:n},...t.children?m(e,t.children,n+1):[]])))(t)})),f=(0,r.has)("columns"),g=e=>{let{id:t,label:n,columns:o}=e;return[{id:t,groupId:t,label:n},...o.map((0,r.assoc)("groupId",t))]},b=(e,t)=>(0,r.pipe)((0,r.chain)((0,r.when)(f,g)),(0,r.filter)((0,r.either)(i,u)),h,m(t))(e),y=e=>e.children?(0,r.chain)(y,e.children):[e],E=(e,t)=>{const n=y(t),r=t=>e.includes(t.id);return i(t)?n.every(r):n.some(r)}},39621:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),o=n.n(r),l=n(17440),a=n(87918),i=n.n(a),s=n(6782),c=n(94079),u=n(31517),d=n(31276);const p=(0,n(79692).Z)({root:{display:"flex",flex:1},input:{height:"100%",paddingLeft:"12px",paddingRight:"8px",fontSize:"14px"},inputNumber:{minWidth:"60px",marginRight:10,height:"100%",backgroundColor:"rgba(0, 0, 0, 0.03)"},inputUnit:{width:"100%"}}),h=[i().text("minutes"),i().text("hours"),i().text("days"),i().text("weeks"),i().text("months"),i().text("years")],m=e=>{let{interval:[t,n],onChange:r,onFocus:a}=e;const i=p(),m=(0,l.pipe)(d.NA,parseInt,(e=>[e,n]),r),f=(0,l.pipe)((e=>{let{value:n}=e;return[t,n]}),r);return o().createElement("div",{className:i.root},o().createElement(c.TextField,{type:"number",value:t||"",onChange:m,inputProps:{min:1,onFocus:a},InputProps:{classes:{root:i.input}},className:i.inputNumber}),o().createElement(u.Z,{label:"",placeholder:(0,s.Z)(n),className:i.inputUnit,value:{value:n,label:(0,s.Z)(n)},options:h.map((e=>({value:e,label:(0,s.Z)(e)}))),onChange:f,TextFieldProps:{inputProps:{onFocus:a},InputProps:{classes:{root:i.input}}}}))}},68439:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(24328),o=n.n(r),l=n(52730),a=n(71153),i=n.n(a),s=n(94079),c=n(81667),u=n(59431),d=n(88611);const p=(0,n(79692).Z)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px"}}),h=e=>{let{entity:t,className:n,size:r="small"}=e;const a=p(),h=(0,l.useSelector)(u.ZP.selectors.getMetadata),m=t.type,f=(0,c.nt9)(h,m)||{},g=(0,c.VD3)(h,f,"typeColor")||c.rSc.palette.primary.main,b=(0,c.jFi)(h,t);return o().createElement(d.C,{value:b,placement:"top"},o().createElement(s.Typography,{style:{backgroundColor:g,color:c.P6Y.Colors.getColor(g)?"#FFFFFF":"#212121"},className:i()(a[`entityType-${r}`],a["entityType-overflow"],n),component:"div"},b))}},57304:(e,t,n)=>{n.d(t,{Z:()=>v});var r=n(24328),o=n.n(r),l=n(13980),a=n.n(l),i=n(71153),s=n.n(i),c=n(52730),u=n(17440),d=n(94079),p=n(87918),h=n.n(p),m=n(81667),f=n(59431),g=n(53180),b=n(68439);const y=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),E=e=>{let{className:t,entity:n,children:l,classes:a,showEntityId:i=!0}=e;const p=y({classes:a}),E=(0,c.useSelector)(f.ZP.selectors.getMetadata),v=(0,r.useCallback)((()=>{navigator.clipboard.writeText((0,m.BTI)(n))}),[n]);if((0,u.isNil)(n))return null;const x=(0,m.idV)(n.label),C=n.secondaryLabel,k=(0,m.ptG)(E,n),O=(0,m.Fn9)(n),T=n.uri,w=(0,m.BTI)(n);return o().createElement("div",{className:s()(p.profileBandWrapper,t)},o().createElement("div",{className:s()(p.profileBand,{[p.inactive]:!O}),"data-entity-uri":T},o().createElement(g.Z,{key:n.uri,entity:n,avatarClassName:p.profileIcon,imageClassName:p.imageProfileIcon}),o().createElement("div",{className:p.profileInfo},o().createElement("div",null,o().createElement(d.Typography,{variant:"h6",className:p.label},x),C&&o().createElement(d.Typography,{variant:"subtitle2",className:p.secondaryLabel},C),k&&o().createElement(d.Typography,{variant:"subtitle1",className:p.businessCard},k)),o().createElement("div",{className:p.specialInfo},o().createElement("div",{className:p.entityType},o().createElement(b.Z,{entity:n,size:"medium",className:p.badge}),!(0,m.ZiX)(T)&&i&&o().createElement(d.Tooltip,{title:h().text("Copy to clipboard")},o().createElement(d.Typography,{display:"inline",variant:"body2",className:p.entityId,onClick:v},h().text("Entity ID"),": ",w))))),l&&o().createElement("div",null,l)))};E.propTypes={className:a().string,entity:a().object,children:a().node,classes:a().object,showEntityId:a().bool};const v=E},93873:(e,t,n)=>{n.d(t,{a:()=>I});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(94079),s=n(83348),c=n(8818),u=n(67766),d=n(42767),p=n(81667);const h=(0,n(79692).Z)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),m=(0,s.Z)(i.Link),f=e=>{let{total:t=0,onPrev:n,onNext:r,onSearchResultsClick:l,isPrevDisabled:i,isNextDisabled:s}=e;const f=h();return o().createElement("div",{className:f.container},o().createElement(m,{className:f.link,component:"button",variant:"caption",onClick:l,underline:"none",tooltipTitle:a().text("Go to search results")},(0,p.k7L)(t,1e6)," ",1===t?a().text("Search result"):a().text("Search results")),o().createElement(c.k,{size:"L",icon:u.Z,tooltipTitle:a().text("Go to previous profile"),onClick:n,disabled:i,showForDisabled:!0}),o().createElement(c.k,{size:"L",icon:d.Z,tooltipTitle:a().text("Go to next profile"),onClick:r,disabled:s,showForDisabled:!0}))};var g=n(52730),b=n(59431),y=n(17440),E=n(39450),v=n(67218);function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){C(e,t,n[t])}))}return e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class k{constructor(e){var t=this;let{data:{query:n,sortField:r,sortOrder:o},tenant:l,searchTenant:a,apiPath:i,dtssPath:s,globalSearchRequestOptions:c}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[t.getQueryFilter(),...e],o=x({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,p.uqV)({filters:r,options:o,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,p.ZOr)(r,o)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,p.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,p.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=r,this.sortOrder=o,this.tenant=l,this.searchTenant=a,this.apiPath=i,this.dtssPath=s,this.globalSearchRequestOptions=c}}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){T(e,t,n[t])}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class w{constructor(e){var t=this;let{data:n,tenant:r,apiPath:o}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[{rawFilter:t.searchBody.filter},...e];return(0,p.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:O({},t.searchBody,{filter:e.length?(0,p.Uqd)()(r):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,p.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,p.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=r,this.apiPath=o}}const S=(e,t)=>(0,y.pipe)((0,y.map)((0,y.prop)("uri")),(0,y.reject)((e=>t.includes(e))))(e),I=()=>{const{total:e,onPrev:t,onNext:n,onSearchResultsClick:l,isPrevDisabled:a,isNextDisabled:i}=(()=>{const e=(0,v._)(),t=(0,v._)(),n=(0,v._)(),{uri:o,index:l,total:a,tenant:i,cache:s}=(0,g.useSelector)(b.ZP.selectors.getSearchNavigationData)||{},{type:c,data:u}=(0,g.useSelector)(b.ZP.selectors.getSearchProviderData)||{},d=(0,g.useSelector)(b.ZP.selectors.getTenant),h=(0,g.useSelector)(b.ZP.selectors.getApiPath),m=(0,g.useSelector)(b.ZP.selectors.getDtssPath),f=(0,g.useSelector)((e=>b.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),y=(0,r.useContext)(E.m),x=(0,g.useDispatch)(),[C,O]=(0,r.useState)(!1),T=(0,r.useMemo)((()=>((e,t)=>{switch(e){case"search":return new k(t);case"graphsearch":return new w(t)}})(c,{data:u,tenant:d,searchTenant:i,apiPath:h,dtssPath:m,globalSearchRequestOptions:f})),[c,u,d,i,h,m,f]),I=(0,r.useCallback)((e=>{x(b.yC.actions.updateSearchNavigationDataFields(e))}),[x]),P=(0,r.useCallback)((e=>{const t=d!==i?(0,p.wwR)({uri:e,dataTenant:i}):e;x(b.ui.actions.openEntity({uri:t,viewId:y,source:"navigation"}))}),[x,y,d,i]),N=(0,r.useCallback)((()=>{x(b.ui.actions.openPerspective({perspectiveId:c,viewId:y}))}),[x,c,y]);(0,r.useEffect)((()=>{l>=a?I({index:a-1}):l<0&&I({index:0})}),[a,l,I]);const D=(0,r.useCallback)(((e,r,o)=>{O(!0),t(T.requestTotal()).then((e=>I({total:e})));const l=o+1;return n(T.requestEntities(15,l)).then((t=>{if(t){if(t.length){const n=S(t,e);if(n.length>0)return I({cache:e.concat(n),uri:n[0],index:l+t.length-n.length}),void P(n[0]);if(o+t.length<r-1)return D(e,r-t.length,o+t.length)}I({index:l})}})).finally((()=>{O(!1)}))}),[T,I,P]),R=(0,r.useCallback)(((e,r)=>{O(!0),t(T.requestTotal()).then((e=>I({total:e})));const o=r-1,l=Math.max(0,r-15),a=15+Math.min(0,r-15);return n(T.requestEntities(a,l)).then((t=>{if(t){if(t.length){const n=S(t,e);if(n.length>0)return I({cache:n.concat(e),uri:n[n.length-1],index:o-(t.length-n.length)}),void P(n[n.length-1]);if(r-t.length>0)return R(e,r-t.length)}I({index:0})}})).finally((()=>{O(!1)}))}),[T,I,P]),M=(0,r.useCallback)(((t,n,r,o)=>{if(n<t.length){const l=t[n];return O(!0),e(T.checkEntity(l)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),M(e,n,r-1,o)}I({index:o+1,uri:l,cache:t,total:r}),P(l)})).finally((()=>{O(!1)}))}if(!(o>=r-1))return D(t,r,o);I({cache:t,total:r,index:r-1})}),[T,I,P,D]),L=(0,r.useCallback)(((t,n,r,o)=>{if(n>-1){const l=t[n];return O(!0),e(T.checkEntity(l)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),L(e,n-1,r-1,o-1)}I({index:o-1,uri:l,cache:t,total:r}),P(l)})).finally((()=>{O(!1)}))}if(!(o<=0))return R(t,o);I({index:0,cache:t,total:r})}),[T,I,P,R]),_=(0,r.useCallback)((()=>{if(s&&o){const e=s.indexOf(o)-1;L(s,e,a,l)}}),[L,s,o,a,l]),A=(0,r.useCallback)((()=>{if(s&&o){const e=s.indexOf(o)+1;M(s,e,a,l)}}),[M,s,o,a,l]);return{total:a,onPrev:_,onNext:A,onSearchResultsClick:N,isPrevDisabled:C||l<=0,isNextDisabled:C||l>=a-1}})();return(()=>{const{cache:e}=(0,g.useSelector)(b.ZP.selectors.getSearchNavigationData)||{},t=(0,g.useSelector)(b.ZP.selectors.getMode),n=(0,g.useSelector)(b.ZP.selectors.getEntity);return(0,p.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?o().createElement(f,{total:e,onPrev:t,onNext:n,onSearchResultsClick:l,isPrevDisabled:a,isNextDisabled:i}):null}},92575:(e,t,n)=>{n.d(t,{Z:()=>S});var r=n(24328),o=n.n(r),l=n(13980),a=n.n(l),i=n(17440),s=n(70347);const c=(0,n(5407).Z)(s.ZP);var u=n(5190),d=n(18461),p=n(94079),h=n(71153),m=n.n(h),f=n(88611);function g(){return g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g.apply(this,arguments)}function b(e){const{innerProps:t,innerRef:n,children:r,isFocused:l,isSelected:a,selectProps:{classes:i},label:s}=e;return o().createElement(p.MenuItem,g({className:m()(i.option,{[i["option--selected"]]:a}),ref:n,selected:l,component:"div"},t),o().createElement(p.Checkbox,{color:"primary",checked:a}),o().createElement(f.C,{value:s},o().createElement("div",{className:i["option--item"]},r)))}b.propTypes={children:a().node,innerProps:a().shape({id:a().string.isRequired,key:a().string,onClick:a().func.isRequired,onMouseMove:a().func.isRequired,onMouseOver:a().func.isRequired,tabIndex:a().number.isRequired}).isRequired,innerRef:a().oneOfType([a().oneOf([null]),a().func,a().shape({current:a().any.isRequired})]),isFocused:a().bool.isRequired,isSelected:a().bool.isRequired,label:a().string,selectProps:a().shape({classes:a().shape({option:a().string})})};const y={Option:b};var E=n(79692),v=n(31276);function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){k(e,t,n[t])}))}return e}function k(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=(0,E.Z)((e=>({label:{top:6,left:16},placeholder:e=>({display:!e.placeholder||e.label?"none":void 0}),"option--selected":{fontWeight:400},clearIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)},dropdownIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)}})));let T=0;function w(e){const{label:t,creatable:n,getOptions:l,loadingIndicator:a,components:s,classes:p,styles:h,onChange:m,onInputChange:f,menuPlacement:g="auto"}=e,b=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),E=n?c:l?d.Z:u.Z,[k,w]=(0,r.useState)(""),S=O((0,i.omit)(["classes"],e)),I="custom-select-"+T++,P=C({},y,s),N=(0,v.ze)(S,p),D=C({indicatorSeparator:e=>C({},e,{margin:"10px 0"}),loadingIndicator:e=>C({},e,{display:a?e.display:"none"}),loadingMessage:e=>C({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},h),R=t?{inputId:I,TextFieldProps:C({label:t,InputLabelProps:{htmlFor:I,shrink:!(!e.value||!e.value.length)||void 0,className:N.label}},e.TextFieldProps)}:{};return o().createElement(E,x({isMulti:!0,inputId:I,inputValue:k,onChange:function(e,t){m(e,t),"create-option"===t.action&&(w(""),f("",{action:"input-change"}))},onInputChange:function(e,t){let{action:n}=t;f(e,{action:n}),"set-value"!==n&&w(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:N,components:P,styles:D,menuPlacement:g,loadOptions:l},R,b))}w.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},w.propTypes={creatable:a().bool,cacheOptions:a().bool,defaultOptions:a().bool,value:a().arrayOf(a().shape({label:a().string.isRequired,value:a().any})),options:a().arrayOf(a().shape({label:a().string.isRequired,value:a().any})),onChange:a().func,onInputChange:a().func,placeholder:a().string,label:a().string,loadingIndicator:a().bool,components:a().shape({ClearIndicator:a().func,Control:a().func,DropdownIndicator:a().func,DownChevron:a().func,CrossIcon:a().func,Group:a().func,GroupHeading:a().func,IndicatorsContainer:a().func,IndicatorSeparator:a().func,Input:a().func,LoadingIndicator:a().func,Menu:a().func,MenuList:a().func,MenuPortal:a().func,LoadingMessage:a().func,NoOptionsMessage:a().func,MultiValue:a().func,MultiValueContainer:a().func,MultiValueLabel:a().func,MultiValueRemove:a().func,Option:a().func,Placeholder:a().func,SelectContainer:a().func,SingleValue:a().func,ValueContainer:a().func}),classes:a().shape({control:a().string,valueContainer:a().string,multiValue:a().string,noOptionsMessage:a().string,singleValue:a().string,placeholder:a().string,menu:a().string,clearIndicator:a().string,dropdownIndicator:a().string,option:a().string,"option--selected":a().string,label:a().string}),styles:a().shape({clearIndicator:a().func,container:a().func,control:a().func,dropdownIndicator:a().func,group:a().func,groupHeading:a().func,indicatorsContainer:a().func,indicatorSeparator:a().func,input:a().func,loadingIndicator:a().func,loadingMessage:a().func,menu:a().func,menuList:a().func,menuPortal:a().func,multiValue:a().func,multiValueLabel:a().func,multiValueRemove:a().func,noOptionsMessage:a().func,option:a().func,placeholder:a().func,singleValue:a().func,valueContainer:a().func}),TextFieldProps:a().object,getOptions:a().func,menuPlacement:a().string,menuPortalTarget:a().object,getOptionValue:a().func,isSearchable:a().bool,inputRef:a().shape({current:a().object})};const S=w},39827:(e,t,n)=>{n.d(t,{G:()=>h});var r=n(24328),o=n.n(r),l=n(71153),a=n.n(l),i=n(8818),s=n(79692),c=n(41128);const u=(0,s.Z)((e=>({container:{display:"flex",flexDirection:"column",flexShrink:0,width:"64px",paddingTop:"8px",backgroundColor:e.palette.background.paper,boxShadow:"0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.2)"},active:{backgroundColor:(0,c.U1)(e.palette.primary.main,.12),color:e.palette.primary.main,"&:after":{content:'""',position:"absolute",height:"42px",width:"3px",backgroundColor:e.palette.primary.main,left:"-8px",borderRadius:"0 6px 6px 0"}},buttonWrapper:{position:"relative",width:"48px",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"6px",margin:"2px 8px",color:e.palette.text.secondary}})));function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const h=e=>{let{buttonsProps:t,activeIndexId:n,className:r,onButtonClick:l,classes:s={}}=e;const c=u(),{active:h,buttonWrapper:m}=s,f=p(s,["active","buttonWrapper"]);return o().createElement("div",{className:a()(c.container,r)},t.map((e=>{let{id:t}=e,r=p(e,["id"]);return o().createElement(i.k,d({},r,{classes:f,size:"S",key:t,className:a()({[a()(c.active,h)]:n===t},c.buttonWrapper,m),onClick:()=>l(t),"data-reltio-id":`reltio-profile-right-side-button-${t}`}))})))}},51229:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(24328),o=n.n(r);const l=()=>o().createElement("div",{style:{flex:1}})},85451:(e,t,n)=>{n.d(t,{Z:()=>x});var r=n(24328),o=n.n(r),l=n(52730),a=n(87918),i=n.n(a),s=n(17440),c=n(71153),u=n.n(c),d=n(94079),p=n(92575),h=n(96808),m=n(81667),f=n(59431),g=n(79692);function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){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 E={input:e=>b({},e,{fontSize:"14px"}),loadingMessage:e=>b({},e,{fontSize:"14px"}),menuPortal:e=>b({},e,{zIndex:1300})},v=(0,g.Z)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"}}),x=e=>{let{selectedUsers:t,onChange:n,className:a,disableUnderline:c}=e;const g=v(),b=e=>({value:e,label:e}),y=e=>e.map(b),x=(0,l.useSelector)(f.ZP.selectors.getTenant),C=(0,l.useSelector)(f.ZP.selectors.getServicesPath),k=(0,r.useRef)();return o().createElement("div",{className:u()(g.root,a)},o().createElement(d.Typography,{className:g.title,variant:"subtitle1"},i().text("User")),o().createElement(p.Z,{value:y(t),onChange:(0,s.pipe)((0,s.defaultTo)([]),(0,s.pluck)("value"),n),defaultOptions:!0,getOptions:e=>(k.current||(k.current=(0,m.kz_)({tenant:x,servicesPath:C})),k.current.then((0,s.pipe)((0,s.prop)("array"),(0,s.pluck)("username"),(e=>t=>e?t.filter((t=>m.P6Y.strings.search(t,e))):t)(e),y))),TextFieldProps:{InputProps:{disableUnderline:c},className:g.dropDownInput},components:{DropdownIndicator:h.Z},styles:E,classes:g,menuPortalTarget:document.body}))}},31537:(e,t,n)=>{let r;n.d(t,{I:()=>r}),function(e){e.MODEL_UPDATED="MODEL_UPDATED",e.ENTITY_REMOVED="ENTITY_REMOVED",e.ENTITY_CREATED="ENTITY_CREATED",e.ENTITY_CHANGED="ENTITY_CHANGED",e.ENTITIES_MERGED="ENTITIES_MERGED",e.ENTITIES_SPLITTED="ENTITIES_SPLITTED",e.ENTITY_LOST_MERGE="ENTITY_LOST_MERGE",e.RELATIONSHIP_CREATED="RELATIONSHIP_CREATED",e.RELATIONSHIP_REMOVED="RELATIONSHIP_REMOVED",e.RELATIONSHIP_CHANGED="RELATIONSHIP_CHANGED",e.POTENTIAL_MATCHES_FOUND="POTENTIAL_MATCHES_FOUND",e.NOT_MATCHES_SET="NOT_MATCHES_SET",e.NOT_MATCHES_RESET="NOT_MATCHES_RESET",e.PERIODIC_TASK_SCHEDULED="PERIODIC_TASK_SCHEDULED",e.ENTITIES_MERGED_MANUALLY="ENTITIES_MERGED_MANUALLY",e.POTENTIAL_MATCHES_REMOVED="POTENTIAL_MATCHES_REMOVED",e.ENTITIES_MERGED_ON_THE_FLY="ENTITIES_MERGED_ON_THE_FLY",e.USER_LOGIN="USER_LOGIN",e.USER_LOGOUT="USER_LOGOUT",e.USER_SEARCH="USER_SEARCH",e.USER_PROFILE_VIEW="USER_PROFILE_VIEW",e.COMMENT_ADDED="COMMENT_ADDED",e.COMMENT_UPDATED="COMMENT_UPDATED",e.COMMENT_DELETED="COMMENT_DELETED",e.ANALYTICS_ATTRIBUTES_CHANGED="ANALYTICS_ATTRIBUTES_CHANGED",e.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE="SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE",e.GROUP_CREATED="GROUP_CREATED",e.GROUP_REMOVED="GROUP_REMOVED",e.GROUP_CHANGED="GROUP_CHANGED"}(r||(r={}))},34606:(e,t,n)=>{n.d(t,{te:()=>c,VV:()=>u,rx:()=>d,_V:()=>p,Xr:()=>h});var r=n(17440),o=n(87918),l=n.n(o),a=n(31537);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}const s=(0,r.path)(["data","type"]),c=e=>{const{items:t,label:n}=e,[r]=t||[];return s(r)||n},u=(0,r.pipe)(c,(e=>(0,r.pipe)(r.values,(0,r.includes)(e))(a.I))),d=e=>(0,r.pipe)((0,r.propOr)([],"items"),(0,r.groupBy)(s),r.values,(0,r.ifElse)((e=>{let{length:t}=e;return t>1}),(0,r.map)((t=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}({},e,{items:t,itemsTotal:t.length}))),(()=>[e])))(e),p=e=>(0,r.isNil)(e)?"":"string"==typeof e?e:Array.isArray(e)?e.map(p).join(", "):(0,r.is)(Object,e)?p("value"in e?e.value:Object.values(e)):e.toString(),h=e=>({[a.I.COMMENT_ADDED]:l().text("Comment added"),[a.I.COMMENT_DELETED]:l().text("Comment deleted"),[a.I.COMMENT_UPDATED]:l().text("Comment updated"),[a.I.ENTITIES_MERGED]:l().text("Profile merged"),[a.I.ENTITIES_MERGED_MANUALLY]:l().text("Profile merged manually"),[a.I.ENTITIES_MERGED_ON_THE_FLY]:l().text("Profile merged on the fly"),[a.I.ENTITIES_SPLITTED]:l().text("Profile un-merged"),[a.I.ENTITY_CHANGED]:l().text("Profile updated"),[a.I.ENTITY_CREATED]:l().text("Profile created"),[a.I.ENTITY_LOST_MERGE]:l().text("Profile lost merge"),[a.I.ENTITY_REMOVED]:l().text("Profile removed"),[a.I.GROUP_CHANGED]:l().text("Group updated"),[a.I.GROUP_CREATED]:l().text("Group created"),[a.I.GROUP_REMOVED]:l().text("Group removed"),[a.I.MODEL_UPDATED]:l().text("Model was updated"),[a.I.NOT_MATCHES_RESET]:l().text("Not matches reset"),[a.I.NOT_MATCHES_SET]:l().text("Not matches set"),[a.I.PERIODIC_TASK_SCHEDULED]:l().text("Periodic task was scheduled"),[a.I.POTENTIAL_MATCHES_FOUND]:l().text("Potential matches found"),[a.I.POTENTIAL_MATCHES_REMOVED]:l().text("Potential matches removed"),[a.I.RELATIONSHIP_CHANGED]:l().text("Relationship updated"),[a.I.RELATIONSHIP_CREATED]:l().text("Relationship created"),[a.I.RELATIONSHIP_REMOVED]:l().text("Relationship removed"),[a.I.USER_LOGIN]:l().text("Logged in"),[a.I.USER_LOGOUT]:l().text("Logged out"),[a.I.USER_PROFILE_VIEW]:l().text("Profile viewed"),[a.I.USER_SEARCH]:l().text("Searched"),[a.I.ANALYTICS_ATTRIBUTES_CHANGED]:l().text("Analytics attribute changed"),[a.I.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE]:l().text("SFDC connector synchronization issue")}[e]||"")},51843:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),o=n.n(r),l=n(95038),a=n.n(l),i=n(87918),s=n.n(i),c=n(17440),u=n(81667),d=n(94079),p=n(96808),h=n(37699);const m=(0,n(79692).Z)({root:{flex:1},dropdownIndicator:{transition:"transform .15s ease"},inputRoot:{fontSize:"14px",height:46},input:{padding:"0 12px 0"},dateOptionLabel:{minWidth:"100px"},paper:{minWidth:"112px"}}),f=a().localeData().longDateFormat("L"),g=e=>{let{values:t,onChange:n,onFocus:l}=e;const a=f,i=(0,r.useRef)(null),[g,b]=(0,r.useState)(!1),y=m(),E=(0,r.useCallback)((()=>{b((e=>!e)),l()}),[l]),v=()=>{b(!1)};return o().createElement("div",{className:y.root},o().createElement(d.TextField,{fullWidth:!0,value:t.map((e=>((e,t)=>(0,c.isNil)(e)?`${t}`:`${(0,u.mB6)({dataTypeDefinition:{type:u.oS0.TYPE_ACTIVENESS_DATE}},e)}`)(e,a))).join(" — "),onClick:E,variant:"filled",ref:i,InputProps:{endAdornment:o().createElement(p.Z,{selectProps:{classes:y,menuIsOpen:g},innerProps:{}}),disableUnderline:(0,c.isNil)(t),readOnly:!0,classes:{root:y.inputRoot,input:y.input}},InputLabelProps:{shrink:!1},placeholder:s().text(`${a} — ${a}`)}),o().createElement(d.Menu,{variant:"menu",open:g,autoFocus:!1,classes:{paper:y.paper},anchorEl:i.current,onClose:v,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},elevation:2,getContentAnchorEl:null,MenuListProps:{autoFocusItem:g,style:{width:"100%"}}},o().createElement(h.Z,{values:t,onCancel:v,onApply:e=>{n(e),b(!1)},type:u.oS0.TYPE_ACTIVENESS_DATE})))}},2804:(e,t,n)=>{n.d(t,{a:()=>o});var r=n(24328);const o=e=>{const[t,n]=(0,r.useState)(!1),[o,l]=(0,r.useState)({});return(0,r.useEffect)((()=>{e().then((e=>{l(e||{})})).then((e=>n(!0))).catch((e=>n(!0)))}),[]),{isLoaded:t,savedState:o}}},24605:(e,t,n)=>{n.d(t,{D:()=>c});var r=n(24328),o=n.n(r),l=n(87918),a=n.n(l),i=n(94079),s=n(37265);const c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{anchorOrigin:t,showDismiss:n}=e,[l,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)(""),p=(0,r.useCallback)((()=>{c(!1),d("")}),[]),h=(0,r.useCallback)((e=>{c(!0),d(e)}),[]),m=(0,r.useCallback)((()=>o().createElement(i.Portal,{container:document.body},o().createElement(s.Z,{open:l,anchorOrigin:t,autoHideDuration:5e3,onClose:p,message:u,action:n?o().createElement(i.Button,{color:"primary",onClick:p},a().text("Dismiss")):void 0}))),[l,p,u]);return{SnackbarRenderer:m,showSnackbarMessage:h}}},67885:(e,t,n)=>{let r,o;n.d(t,{K:()=>r,o:()=>o}),function(e){e.WITHIN="within",e.AGO="ago",e.BETWEEN="between"}(r||(r={})),function(e){e.INIT="init",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(o||(o={}))},23352:(e,t,n)=>{n.r(t),n.d(t,{default:()=>st});var r=n(24328),o=n.n(r),l=n(52730),a=n(8598),i=n(36138),s=n(44443),c=n(22664),u=n(39450),d=n(585),p=n(87918),h=n.n(p),m=n(59431),f=n(81667),g=n(71820),b=n(57730),y=n(20562),E=n(24605),v=n(2804),x=n(85965),C=n(85890),k=n(91515),O=n(54362),T=n(6674),w=n(63149),S=n(48017),I=n(96955),P=n(57304),N=n(3409),D=n(93873),R=n(66095),M=n(20982),L=n(39827),_=n(94079),A=n(80147),U=n(87685),Z=n(22385),j=n(79692);const H=(0,j.Z)({header:{display:"flex",flexDirection:"row",alignItems:"center",padding:"16px 12px",borderBottom:"1px solid rgba(0, 0, 0, 0.12);"},closeButton:{marginRight:"12px"}}),F=e=>{let{title:t,className:n,onClose:r,children:l}=e;const a=H();return o().createElement("div",{className:n},o().createElement("div",{className:a.header},o().createElement(Z.Z,{className:a.closeButton,icon:U.default,onClick:r}),t),l)};var z=n(99144),B=n(17440),G=n(31276),V=n(83401);let W;!function(e){e.Crosswalk="crosswalks",e.Source="source",e.Contributor="contributor"}(W||(W={}));const $=e=>(0,B.pipe)((0,B.map)((0,B.prop)("value")),B.sum)(e);function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){q(e,t,n[t])}))}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const X=e=>{let{data:t,width:n,height:o}=e;return(0,r.useMemo)((()=>{if(!n||!o)return{nodes:[],links:[]};const e=function(){let e=24,t=15,n=10,r=8,o=[1,1];function l(l){let{nodes:i,links:s}=l;const c={nodes:i,links:s};return function(e){let{nodes:t,links:n}=e;t.forEach((e=>{e.sourceLinks=[],e.targetLinks=[]})),n.forEach((e=>{e.source.sourceLinks.push(e),e.target.targetLinks.push(e)}))}(c),function(e){let{nodes:t}=e;t.forEach((e=>{e.value=Math.max($(e.sourceLinks),$(e.targetLinks))}))}(c),function(t){let{nodes:n}=t;if(!n.length)return;let r,l=[n[0]],a=0;for(;l.length;)r=[],l.forEach((t=>{t.x=a,t.dx=e,t.targetLinks.forEach((e=>{r.indexOf(e.source)<0&&r.push(e.source)}))})),l=r,++a;if(n.forEach((e=>{e.x=a-1-e.x})),a>2){const t=(o[0]-2*e-22)/(a-2);n.forEach((n=>{n.sourceLinks&&0!=n.sourceLinks.length?n.x*=t:n.x=o[0]-e}))}else n[0].x=o[0]-e,n[1].x=n[0].x-22-e}(c),function(e){let{nodes:l,links:a}=e;const i=(0,B.pipe)((0,B.groupBy)((0,B.prop)("x")),B.toPairs,(0,B.sort)(((e,t)=>e[0]-t[0])),(0,B.map)((0,B.nth)(1)))(l);(function(){let e=(0,B.pipe)((0,B.map)((e=>(o[1]-(e.length-1)*r)/$(e))),(0,B.reduce)(Math.min,1/0))(i);const s=(0,B.pipe)((0,B.map)((e=>{var t;return e.value/((null===(t=e.targetLinks)||void 0===t?void 0:t.length)||1)})),(0,B.reduce)(Math.min,1/0))(l);e=Math.max(Math.min(e,t/s),n/s),i.forEach((t=>{t.forEach(((t,n)=>{t.y=n,t.dy=t.value*e}))})),a.forEach((t=>{t.dy=t.value*e}))})(),i.forEach((e=>{let t,n,l,a=0;const i=e.length;for(e.sort(((e,t)=>e.y-t.y)),l=0;l<i;++l)t=e[l],n=a-t.y,n>0&&(t.y+=n),a=t.y+t.dy+r;if(n=a-r-o[1],n>0)for(a=t.y-=n,l=i-2;l>=0;--l)t=e[l],n=t.y+t.dy+r-a,n>0&&(t.y-=n),a=t.y}));const s=(0,B.pipe)((0,B.map)((e=>(e.length-1)*r+(0,B.sum)((0,B.map)((e=>e.dy),e)))),(0,B.reduce)(Math.max,0))(i),c=(o[1]-s)/2;i.forEach((e=>{const{y:t,dy:n}=(0,B.last)(e),r=o[1]-(t+n);e.forEach((e=>{e.y+=r,c>0&&(e.y-=c)}))}))}(c),a(c),function(e){let{nodes:t}=e;(0,B.pipe)((0,B.groupBy)((0,B.prop)("x")),B.toPairs,(0,B.sort)(((e,t)=>t[0]-e[0])),(0,B.map)((0,B.nth)(1)))(t).forEach((e=>{(e=e.concat().sort(((e,t)=>e.y-t.y))).forEach(((t,n)=>{var o;if(null!==(o=t.sourceLinks)&&void 0!==o&&o.length){var l,a,i;const{target:o,ty:s,dy:c}=(0,B.last)(t.sourceLinks);let u=o.y+s+c-t.dy;(null===(l=e[n-1])||void 0===l?void 0:l.x)==t.x&&u<(null===(a=e[n-1])||void 0===a?void 0:a.y)+(null===(i=e[n-1])||void 0===i?void 0:i.dy)+r&&(u=e[n-1].y+e[n-1].dy+r),t.y>u&&(t.y=u)}}))}))}(c),c}function a(e){let{nodes:t}=e;(0,B.pipe)((0,B.groupBy)((0,B.prop)("x")),B.toPairs,(0,B.sort)(((e,t)=>e[0]-t[0])),(0,B.map)((0,B.nth)(1)))(t).forEach((e=>{e.forEach((e=>{var t,n;if(null!==(t=e.targetLinks)&&void 0!==t&&t.length){const t=[],n=e.targetLinks.map((e=>e.crosswalk.uuid)),r=[];e.targetLinks.forEach((function(e){-1==this.indexOf(e.source)&&this.push(e.source)}),r);for(let o=0;o<r.length;o++)for(let l=0;l<r[o].sourceLinks.length;l++){const a=n.indexOf(r[o].sourceLinks[l].crosswalk.uuid);-1!=a&&t.push(e.targetLinks[a])}e.targetLinks=t}if(null!==(n=e.sourceLinks)&&void 0!==n&&n.length){var r;const t=[];if(null!==(r=e.targetLinks)&&void 0!==r&&r.length){const n=e.sourceLinks.map((e=>e.crosswalk.uuid));for(let r=0;r<e.targetLinks.length;r++){const o=n.indexOf(e.targetLinks[r].crosswalk.uuid);-1!=o&&t.push(e.sourceLinks[o])}}const n=t.map((e=>e.crosswalk.uuid)),o=e.sourceLinks.filter((function(e){return-1==this.indexOf(e.crosswalk.uuid)}),n);if(e.sourceLinks=o.concat(t),t.length>0){let t=0;for(let e=0;e<o.length;e++)t+=o[e].dy;e.sizeForNewSources=t}}}))})),t.forEach((e=>{let t=0,n=e.sizeForNewSources||0;delete e.sizeForNewSources,e.sourceLinks.forEach((e=>{e.sy=t,t+=e.dy})),e.targetLinks.forEach((e=>{e.ty=n,n+=e.dy}))}))}return l.nodeWidth=()=>e,l.setNodeWidth=t=>(e=+t,l),l.nodePadding=()=>r,l.setNodePadding=e=>(r=+e,l),l.smallestNodeMaxHeight=()=>t,l.setSmallestNodeMaxHeight=e=>(t=+e,l),l.smallestNodeMinHeight=()=>n,l.setSmallestNodeMinHeight=e=>(n=+e,l),l.size=()=>o,l.setSize=e=>(o=e,l),l.update=e=>(a(e),e),l.link=()=>{let t=.5;function n(n){const r=!n.target.sourceLinks||0==n.target.sourceLinks.length,o=n.source.x+n.source.dx,l=n.target.x,a=(d=+(d=o),p=+(p=l),e=>d*(1-e)+p*e),i=a(t),s=a(1-t),c=n.source.y+n.sy-.13,u=n.target.y+n.ty-.13;var d,p;const h=r?"":`L${l+e},${u} L${l+e},${u+n.dy+.26}`;return c===u?`M${o},${c} \n L${l},${u}${h} \n L${l},${u+n.dy+.26} \n L${o},${c+n.dy+.26} Z`:`M${o},${c}\n C${i},${c} ${s},${u} ${l},${u}${h} \n L${l},${u+n.dy+.26} \n C${s},${u+n.dy+.26} ${i},${c+n.dy+.26} \n ${o},${c+n.dy+.26} Z`}return n.curvature=function(e){return arguments.length?(t=+e,n):t},n},l}().setNodeWidth(14).setNodePadding(20).setSize([o-2,n-2]),r=e.nodeWidth(),l=e.link(),a=(e=>{const t=e.nodes.map((e=>Y({},e))),n=n=>{const r=e.nodes.indexOf(n);return t[r]},r=e.links.map((e=>Y({},e,{source:n(e.source),target:n(e.target)})));return{nodes:t,links:r}})(t),{nodes:i,links:s}=e(a);return{nodes:i,links:s,nodeWidth:r,path:l}}),[t,o,n])};var K=n(94111),Q=n(12147),J=n(98685);const ee=(0,j.Z)({tooltipTitle:{fontWeight:500,fontSize:"16px",lineHeight:"24px",letterSpacing:"0.15px",marginBottom:"8px",userSelect:"none"},tooltipRow:{display:"flex",alignItems:"center",fontSize:"13px",lineHeight:"15px",fontWeight:"normal","&:not(:last-child)":{marginBottom:"4px"}},tooltipIcon:{fontSize:"18px",color:"rgba(0, 0, 0, 0.54)",marginRight:"8px"},node:{stroke:"#000000",strokeWidth:1,strokeOpacity:.38},rootNode:{transform:"rotate(90deg)",userSelect:"none",fontSize:"13px"}}),te=e=>{let{user:t,time:n,children:r}=e;const l=ee(),a=o().createElement("div",null,o().createElement("span",{className:l.tooltipTitle},h().text("Merge details")),o().createElement("div",{className:l.tooltipRow},o().createElement(Q.Z,{className:l.tooltipIcon}),h().date(n,"L LTS")),o().createElement("div",{className:l.tooltipRow},o().createElement(J.Z,{className:l.tooltipIcon}),t));return o().createElement(K.Z,{title:a,placement:"top"},r)},ne=e=>{let{node:t,nodeWidth:n,highlightEnabled:l,isColored:a}=e;const i=ee(),[s,c]=(0,r.useState)(0),u=(0,r.useRef)(null),{x:d,y:p,name:h,label:m,targetLinks:f,sourceLinks:g,entity:{crosswalks:b=[],merges:y}}=t,[E]=b,{isDimmed:v,highlightCrosswalk:x,removeHighlight:C}=(0,w.pu)(E),k=(0,w.nX)(E),O=null!=b&&b.length?g[b.length-1].sy+g[b.length-1].dy:0;return(0,r.useEffect)((()=>{var e;const n=t.dy,r=(null==u||null===(e=u.current)||void 0===e?void 0:e.clientWidth)||0;n<r&&c(n/2-r/2)}),[]),o().createElement("g",{transform:`translate(${d},${p})`},"ROOT"===h?o().createElement("text",{dy:-5,dx:s,ref:u,className:i.rootNode},m||""):o().createElement(o().Fragment,null,o().createElement("rect",{height:O,width:14,className:i.node,fill:a?k:"#F0F0F0",key:"node-main",opacity:l&&v?.19:1,onMouseEnter:()=>{l&&x()},onMouseLeave:()=>{l&&C()}}),!(null==f||!f.length)&&(()=>{const e=(0,B.pipe)((0,B.map)((0,B.prop)("source")),(0,B.groupBy)((0,B.prop)("time")))(f);return null==y?void 0:y.map(((t,r)=>{let{time:a,user:s}=t;const c=e[a];if(!c)return;const[u,d]=c.reduce(((e,t)=>{let{sourceLinks:n}=t;return[(0,B.min)((0,B.head)(n).ty,e[0]),(0,B.max)((0,B.last)(n).ty+(0,B.last)(n).dy,e[1])]}),[1/0,0]);return o().createElement(te,{user:s,time:a,key:"node-"+r},o().createElement("rect",{transform:`translate(0,${u})`,height:d-u,width:n,className:i.node,fillOpacity:.54,fill:"#F0F0F0",opacity:l&&v?.38:1}))}))})()))},re=e=>{let{link:t,path:n,highlightEnabled:r,isColored:l}=e;const{crosswalk:a}=t,i=(0,w.nX)(a),{isDimmed:s,highlightCrosswalk:c,removeHighlight:u}=(0,w.pu)(a);return o().createElement("path",{d:n,fill:l?i:"#F0F0F0",opacity:r&&s?.1:1,onMouseEnter:()=>{r&&c()},onMouseLeave:()=>{r&&u()}})},oe=e=>{let{width:t,height:n,data:l,accentContributors:a}=e;const[i,s]=(0,r.useState)(!1),[c,u]=(0,r.useState)(0),[d,p]=(0,r.useState)(0),{links:h,nodes:m,nodeWidth:f,path:g}=X({data:l,width:t,height:n});(0,r.useEffect)((()=>{p(0),u(0)}),[t,n]);const b=(0,r.useMemo)((()=>m.map(((e,t)=>o().createElement(ne,{highlightEnabled:a,isColored:a,node:e,nodeWidth:f,key:`SankeyNode-${t}`})))),[m,a,f,t,n]),y=(0,r.useMemo)((()=>h.map(((e,t)=>o().createElement(re,{highlightEnabled:!a,isColored:!a,link:e,path:g(e),key:`SankeyLink-${t}`})))),[a,h,g]),E=e=>{const t=e.pageX,n=t-c;return u(t),n},v=()=>s(!1),x=i?"none":"auto",C=i?"move":"default";return o().createElement("svg",{width:t,height:n,cursor:C,onPointerDown:e=>{e.preventDefault(),s(!0),E(e)},onPointerMove:e=>{if(!i)return;const t=E(e);p(d+t)},onPointerUp:v,onPointerLeave:v},o().createElement("g",{transform:`translate(${d},${n-1}) rotate(-90)`,pointerEvents:x},o().createElement("g",null,y),o().createElement("g",null,b)))};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 ae=(0,B.curry)(((e,t)=>!e||e.some((0,f.aFF)(t)))),ie=(0,B.curry)(((e,t)=>(0,B.evolve)({crosswalks:(0,B.filter)(ae(e)),merges:(0,B.map)((0,B.evolve)({losers:(0,B.map)(ie(e))}))},t))),se=e=>{let t=1;const n=(0,B.pipe)((0,B.evolve)({crosswalks:(0,B.map)((e=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){le(e,t,n[t])}))}return e}({},e,{uuid:t++})))}),(0,B.evolve)({merges:(0,B.map)((0,B.evolve)({losers:(0,B.map)((e=>n(e)))}))}));return n(e)},ce=e=>{const t=[],n=[],r=(e,o,l)=>{const{crosswalks:a=[],merges:i=[],uri:s="",label:c}=e;t.push({entity:e,name:s,time:l,label:c});const u=t.length-1,d=(0,B.pipe)((0,B.chain)((e=>{let{losers:t,time:n}=e;return(0,B.pipe)((0,B.filter)((e=>{var t,n;return(null===(t=e.crosswalks)||void 0===t?void 0:t.length)||(null===(n=e.merges)||void 0===n?void 0:n.length)})),(0,B.chain)((e=>r(e,u,n))))(t)})),(0,B.concat)(a))(i);return-1!=o&&d.forEach((e=>n.push({source:t[u],target:t[o],value:10,crosswalk:e}))),d};r(e,-1,Date.now());const o=(0,B.pipe)((0,B.chain)((e=>{let{source:t,target:n}=e;return[t,n]})),B.uniq)(n);return{nodes:t.filter((e=>o.includes(e))),links:n}},ue=(0,j.Z)((()=>({graph:{padding:"8px 0px",boxSizing:"border-box",height:"100%",width:"100%"}}))),de=(0,r.memo)((e=>{let{crosswalkTree:t,entityLabel:n,visibleCrosswalks:r,accentContributors:l}=e;const a=ue(),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;return(0,B.pipe)(ie(n),se,ce)({uri:"ROOT",label:t,crosswalks:[],merges:[{time:Date.now(),losers:[e]}]})}(t,n,r);return o().createElement("div",{className:a.graph},o().createElement(s.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:t=0,height:n=200}=e;return o().createElement(oe,{width:t,height:n,data:i,accentContributors:l})})))}));var pe=n(90186),he=n(77243);function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){fe(e,t,n[t])}))}return e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ge=n(52017),be=n(79769),ye=n(71153),Ee=n.n(ye),ve=n(72753),xe=n(65549);function Ce(){return Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ce.apply(this,arguments)}const ke=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["styles"]);return o().createElement("svg",Ce({width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},n),o().createElement("defs",null,o().createElement("path",{d:"M17 13.138l4.5 4.5-4.5 4.5V18.5h-1.247l-3.488-3.479 1.413-1.414 2.901 2.893H17v-3.362zM17 1.5L21.5 6 17 10.5V7.138h-.421l-11.03 11H2v-2h2.723l11.03-11H17V1.5zm-11.45 4l3.294 3.286-1.414 1.413L4.723 7.5H2v-2h3.55z",id:"svg457070356a"})),o().createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o().createElement("mask",{id:"svg457070356b",fill:"#fff"},o().createElement("use",{xlinkHref:"#svg457070356a"})),o().createElement("path",{fillOpacity:".54",fill:"#000",mask:"url(#svg457070356b)",d:"M0 0h24v24H0z"})))};var Oe=n(22983),Te=n(8818),we=n(51229);const Se=(0,j.Z)((e=>({root:{display:"flex",alignItems:"center",paddingRight:"8px","& button + button":{marginLeft:"4px"}},focusedIcon:e=>{let{isFocused:t}=e;return{width:28,height:28,color:t?"#000":"rgba(0, 0, 0, 0.54)",borderRadius:0}},title:{color:e.palette.text.secondary,paddingLeft:"6px",paddingRight:"2px"},uri:{lineHeight:"15px",color:e.palette.text.primary}}))),Ie=e=>{let{contributorUri:t,focusable:n,disableAdd:r,disableUnmerge:l,onAdd:a,onUnmerge:i,onToggleFocus:s,onUnsubscribe:c,isFocused:u}=e;const d=Se({isFocused:u});return o().createElement("div",{className:d.root},o().createElement(Te.k,{size:"XXS",onClick:()=>s(),className:d.focusedIcon,icon:n&&ve.Z,disabled:!n,tooltipTitle:n&&h().text("Focus")}),o().createElement(_.Typography,{variant:"body2",className:d.uri},o().createElement("span",{className:d.title},h().text("Entity ID:")),(0,f.nIW)(t)),o().createElement(we.Z,null),a&&o().createElement(Te.k,{size:"XS",icon:xe.Z,disabled:r,tooltipTitle:h().text("Add crosswalk"),showForDisabled:!0,onClick:()=>a()}),o().createElement(Te.k,{size:"XS",icon:ke,disabled:l,tooltipTitle:h().text("Unmerge"),showForDisabled:!0,onClick:()=>i()}),c&&o().createElement(Te.k,{size:"XS",icon:Oe.Z,disabled:l,tooltipTitle:h().text("Unsubscribe"),showForDisabled:!0,onClick:()=>c()}))},Pe=(0,j.Z)((()=>({root:e=>{let{contributorColor:t}=e;return{fontSize:"13px",position:"relative",display:"flex",flexDirection:"column",alignItems:"stretch",border:"1px solid rgba(0, 0, 0, 0.05)",paddingLeft:"8px","&:before":{content:'" "',borderLeft:`8px solid ${t}`,position:"absolute",top:-1,left:0,bottom:-1},"& > div + div":{marginTop:"1px"}}},editor:{padding:"0px 30px 0px 25px"}}))),Ne=e=>{let{className:t,contributorUri:n,accentContributor:a,crosswalksBySources:i,expandedSources:s,disableAddCrosswalk:c,disableEditCrosswalk:u,disableDeleteCrosswalk:d,disableUnmergeContributor:p,onUnmerge:h,onEdit:g,onDelete:b,onAdd:y,onToggleSourceExpanded:E,onUnsubscribeContributor:v}=e;const x=a?(0,f.GtP)(n):"rgba(0, 0, 0, 0.38)",C=Pe({contributorColor:x}),k=(0,l.useSelector)(m.ZP.selectors.getDataTenants),O=(0,r.useRef)(null),[T]=(0,w.RT)();(0,r.useEffect)((()=>{var e;a&&T&&((0,B.pipe)((0,B.find)((e=>{let{source:t}=e;return t===T.type})),(0,B.propOr)({},"crosswalksByTypes"),B.values,B.flatten)(i).some((e=>(0,f.aFF)(T,e)&&e!==T))&&(null==O||null===(e=O.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})))}),[T]);const[S,I]=(0,r.useState)(!1),P=(0,B.pipe)((0,B.pluck)("crosswalksByTypes"),(0,B.find)((e=>e[he.Y.Simple].length||e[he.Y.Empty].length)),(0,B.props)([he.Y.Simple,he.Y.Empty]),B.flatten,B.head)(i),{toggleCrosswalkFocus:N,isFocused:D}=(0,w.BF)(P),R=(0,B.pipe)((0,B.pluck)("crosswalksByTypes"),(0,B.chain)(B.values),B.flatten)(i),M=(0,f.KMQ)(R,k);return o().createElement("div",{ref:O,className:Ee()(C.root,t)},o().createElement(Ie,{contributorUri:n,focusable:a&&!!P,disableAdd:c,disableUnmerge:p,isFocused:a&&D,onToggleFocus:N,onAdd:P&&(()=>I(!0)),onUnmerge:h,onUnsubscribe:M&&(()=>v({contributorUri:n,dataTenant:M,crosswalk:P}))}),i.map((e=>{let{source:t,crosswalksByTypes:n}=e;return o().createElement(ge.Z,{key:t,source:t,crosswalksByTypes:n,showCrosswalkColors:!a,crosswalksFocusEnabled:!a,expanded:null==s?void 0:s.includes(t),disableEditCrosswalk:u,disableDeleteCrosswalk:d,onEdit:g,onDelete:b,onToggleExpanded:()=>E(t)})})),S&&o().createElement(be.Z,{className:C.editor,onAdd:e=>y({contributorCrosswalk:P,crosswalk:e}),onClose:()=>I(!1)}))},De=(0,j.Z)((()=>({table:{overflowY:"auto",overflowX:"hidden",paddingLeft:"16px",paddingRight:"6px"},tableRow:{"& + &":{marginTop:"10px"},margin:"auto",maxWidth:"448px"}})));function Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Me(e,t,n[t])}))}return e}function Me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Le=(0,r.memo)((e=>{let{accentContributors:t,entity:n,contributors:a,selectedAttributeTypes:i,onChangeVisibleCrosswalks:s,readOnly:c,onAddCrosswalk:u=G.ZT,onEditCrosswalk:d=G.ZT,onDeleteCrosswalk:p=G.ZT,onUnmergeContributor:h=G.ZT,onUnsubscribeContributor:g=G.ZT}=e;const b=(0,l.useSelector)(m.ZP.selectors.getMetadata),y=(0,f.nt9)(b,n.type),E=De(),v=(0,r.useMemo)((()=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=e.crosswalks,o=(0,f.HQx)(e);return t.filter((e=>!(0,f.O27)(e.crosswalks))).map((t=>{let{uri:l,crosswalks:a}=t;return{contributorUri:l,crosswalksBySources:(0,B.pipe)((0,B.map)((e=>{if("relation"===e.ownerType){const t=o.find((0,f.aFF)(e));return t&&me({ownerType:"relation"},t)}{const t=r.find((0,f.aFF)(e));return t&&me({ownerType:"entity"},t)}})),(0,B.filter)((e=>!!e)),(0,pe.o)(e.type,n))(a)}})).filter((e=>{let{crosswalksBySources:t}=e;return t.length>0}))}(n,a,i)),[n,a,i]),[x,C]=(0,r.useState)({}),k=(0,r.useMemo)((()=>((e,t)=>e.reduce(((e,n)=>{let{contributorUri:r,crosswalksBySources:o}=n;const l=(0,B.chain)((e=>{var n;let{source:o,crosswalksByTypes:l}=e;const a=null===(n=t[r])||void 0===n?void 0:n.includes(o);return l[he.Y.Simple].concat(l[he.Y.Empty]).concat(a?l[he.Y.Dependent]:[])}),o);return e.concat(l)}),[]))(v,x)),[v,x]);(0,r.useEffect)((()=>{s(k)}),[k]);const O=(0,r.useCallback)((e=>{p({entityUri:null==n?void 0:n.uri,crosswalkId:e})}),[null==n?void 0:n.uri,p]),T=(0,r.useCallback)((e=>{d(Re({},e,{entityUri:null==n?void 0:n.uri}))}),[null==n?void 0:n.uri,d]);return o().createElement("div",{className:E.table},v.map((e=>{let{contributorUri:r,crosswalksBySources:l}=e;return o().createElement(Ne,{key:r,className:E.tableRow,contributorUri:r,accentContributor:t,crosswalksBySources:l,disableAddCrosswalk:c||!(0,f.mkC)(y),disableEditCrosswalk:c||!(0,f.Zm0)(y),disableDeleteCrosswalk:c||!(0,f.a14)(y),disableUnmergeContributor:c||!(0,f.uGe)(f.BDP.UNMERGE,y),onAdd:e=>u(Re({},e,{entity:n})),onDelete:O,onEdit:T,onUnmerge:()=>h(r),onUnsubscribeContributor:g,expandedSources:x[r],onToggleSourceExpanded:e=>{C((0,B.pipe)((0,B.unless)((0,B.has)(r),(0,B.assoc)(r,[])),(0,B.evolve)({[r]:(0,B.ifElse)((0,B.includes)(e),(0,B.without)([e]),(0,B.append)(e))})))}})})))}));var _e=n(81556);const Ae=(0,j.Z)((e=>({container:{display:"flex",flexDirection:"column","& + &":{marginLeft:"16px"}},title:{fontSize:"13px",lineHeight:"15px",color:"#666666",marginBottom:"7px"},hintIcon:{width:"16px",height:"16px",verticalAlign:"middle"},graph:{width:"400px",height:"300px",borderRadius:"8px",background:"rgba(0, 0, 0, 0.03)",border:"1px solid rgba(0, 0, 0, 0.03)",position:"relative"},checkedIcon:{position:"absolute",height:"20px",width:"20px",right:"10px",top:"10px",color:e.palette.primary.main},selectedTree:{border:`1px solid ${e.palette.primary.main}`,background:"rgba(0, 114, 206, 0.05)"}}))),Ue=e=>{let{coloredCrosswalks:t,crosswalkTree:n,selected:l,title:a,onSelect:i=G.ZT}=e;const s=Ae(),c=(0,r.useCallback)((e=>t.includes(e.uri)?(0,f.CJp)((0,f.uKF)(e)):"#CACCD1"),[t]);return o().createElement(w.hR,{getCrosswalkColor:c},o().createElement("div",{className:s.container,onClick:i},o().createElement("span",{className:s.title},a," ",o().createElement(z.Z,{className:s.hintIcon})),o().createElement("div",{className:Ee()(s.graph,{[`${s.selectedTree}`]:l})},l&&o().createElement(_e.Z,{className:s.checkedIcon}),o().createElement(de,{crosswalkTree:n}))))},Ze=(0,j.Z)((e=>({dialogContainer:{maxWidth:"unset"},dialogTitle:{padding:"13px 16px 0 16px",fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px"},dialogContent:{display:"flex",flexDirection:"column",padding:"13px 16px 0 16px"},trees:{display:"flex"},uri:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.primary,marginBottom:"15px"},title:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.secondary,paddingRight:"2px"}}))),je=e=>{let{canUnmerge:t,contributor:n,crosswalkTree:l,onClose:a,onUnmergeContributor:i}=e;const s=Ze(),[c,u]=(0,r.useState)(f.MBD.Unmerge),d=(0,r.useCallback)((e=>(0,f.keo)(n,e).map((e=>{let{uri:t}=e;return t}))),[n]);return o().createElement(_.Dialog,{open:!0,onClose:a,classes:{paper:s.dialogContainer}},o().createElement(_.DialogTitle,{classes:{root:s.dialogTitle}},h().text("Unmerge")),o().createElement(_.DialogContent,{classes:{root:s.dialogContent}},o().createElement(_.Typography,{variant:"body2",className:s.uri},o().createElement("span",{className:s.title},h().text("Entity URI:")),(0,f.nIW)(n.uri).toUpperCase()),o().createElement("div",{className:s.trees},o().createElement(Ue,{onSelect:()=>u(f.MBD.Unmerge),selected:c===f.MBD.Unmerge,title:h().text("Unmerge"),crosswalkTree:l,coloredCrosswalks:d(!0)}),n.merges&&n.uri!==l.uri&&o().createElement(Ue,{onSelect:()=>u(f.MBD.TreeUnmerge),selected:c===f.MBD.TreeUnmerge,title:h().text("Tree unmerge"),crosswalkTree:l,coloredCrosswalks:d(!1)}))),o().createElement(_.DialogActions,null,o().createElement(_.Button,{onClick:a},h().text("Cancel")),o().createElement(_.Button,{disabled:!t,onClick:()=>{i(c),a()},color:"primary"},h().text("Unmerge"))))},He=(0,j.Z)((e=>({dialogContainer:{maxWidth:"unset"},dialogTitle:{padding:"13px 16px 0 16px",fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px"},dialogContent:{display:"flex",flexDirection:"column",padding:"13px 16px 0 16px"},uri:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.primary,marginBottom:"15px"},title:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.secondary,paddingRight:"2px"}}))),Fe=e=>{let{canUnsubscribe:t,contributor:n,crosswalkTree:l,onClose:a,onUnsubscribeContributor:i}=e;const s=He(),c=(0,r.useMemo)((()=>(0,f.keo)(n,!0).map((e=>{let{uri:t}=e;return t}))),[n]);return o().createElement(_.Dialog,{open:!0,onClose:a,classes:{paper:s.dialogContainer}},o().createElement(_.DialogTitle,{classes:{root:s.dialogTitle}},h().text("Unsubscribe")),o().createElement(_.DialogContent,{classes:{root:s.dialogContent}},o().createElement(_.Typography,{variant:"body2",className:s.uri},o().createElement("span",{className:s.title},h().text("Entity URI:")),(0,f.nIW)(n.uri).toUpperCase()),o().createElement(Ue,{selected:!0,title:h().text("Unsubscribe"),crosswalkTree:l,coloredCrosswalks:c})),o().createElement(_.DialogActions,null,o().createElement(_.Button,{onClick:a},h().text("Cancel")),o().createElement(_.Button,{disabled:!t,onClick:()=>{i(),a()},color:"primary"},h().text("Unsubscribe"))))},ze=(0,j.Z)((e=>({root:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%"},modeSwitcher:{backgroundColor:e.palette.background.paper,marginTop:"8px"},infoIcon:{fontSize:"18px",marginRight:"8px"},hint:{color:e.palette.text.secondary,display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"flex-start",margin:"5px 12px 10px 12px"},hintText:{fontSize:"12px",lineHeight:"16px"},crosswalksList:{height:"100%",width:"calc(100% - 24px)",margin:"8px 12px",background:e.palette.divider,opacity:.2},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"},resizablePanesWrapper:{flexGrow:1,width:"100%"}})));function Be(){return Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Be.apply(this,arguments)}const Ge=(0,r.memo)((e=>{let{activeMode:t,contributors:n,crosswalkTree:l,entity:a,onChangeMode:i,onUnmergeContributor:s=G.ZT,onUnsubscribeContributor:c=G.ZT}=e,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["activeMode","contributors","crosswalkTree","entity","onChangeMode","onUnmergeContributor","onUnsubscribeContributor"]);const d=ze(),p=(0,r.useRef)(),[m,g]=(0,r.useState)(170),b=(0,r.useCallback)((e=>{let{percentageSize:t}=e;return g(t)}),[]),[y,E]=(0,r.useState)(),[v,x]=(0,r.useState)(),C=(0,r.useMemo)((()=>(0,f.Qbq)(l)),[l]),k=C>1;(0,r.useEffect)((()=>{var e;const t=Math.max(170,60*C),n=(null===(e=p.current)||void 0===e?void 0:e.clientHeight)-170;g(Math.min(n,t))}),[C]);const O=(0,r.useMemo)((()=>[{id:W.Crosswalk,title:h().text("Crosswalk")},{id:W.Source,title:h().text("Source")},{id:W.Contributor,title:h().text("Contributor")}]),[]),[T,w]=(0,r.useState)(),S=t===W.Contributor;return o().createElement("div",{className:d.root,ref:p},y&&o().createElement(je,{canUnmerge:k,onClose:()=>E(null),onUnmergeContributor:e=>{s({entityUri:a.uri,contributorUri:y,operationType:e})},crosswalkTree:l,contributor:n.find((e=>{let{uri:t}=e;return t===y}))}),v&&o().createElement(Fe,{canUnsubscribe:k,onClose:()=>x(null),onUnsubscribeContributor:()=>c({dataTenant:v.dataTenant,crosswalk:v.crosswalk}),crosswalkTree:l,contributor:n.find((e=>{let{uri:t}=e;return t===v.contributorUri}))}),o().createElement(V.Z,{modes:O,modeId:t,className:d.modeSwitcher,onChange:i}),o().createElement(I.Z,{className:d.resizablePanesWrapper,orientation:"horizontal",size:m,minSize:170,maxSize:-170,allowResize:!0,onChange:b},o().createElement("div",{className:d.pane},l&&!(0,B.isEmpty)(T)&&o().createElement(de,{entityLabel:(0,f.idV)(null==a?void 0:a.label),crosswalkTree:l,visibleCrosswalks:T,accentContributors:S})),o().createElement("div",{className:d.pane},o().createElement("div",{className:d.hint},o().createElement(z.Z,{className:d.infoIcon}),o().createElement("span",{className:d.hintText},h().text("You can drag a crosswalk to add values to attributes swimlanes"))),a&&o().createElement(Le,Be({onUnmergeContributor:E,onUnsubscribeContributor:x,accentContributors:S,contributors:n,entity:a,onChangeVisibleCrosswalks:w},u)))))}));var Ve=n(67218);function We(){return We=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},We.apply(this,arguments)}const $e=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["styles"]);return o().createElement("svg",We({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),o().createElement("mask",{id:"svg4041339336a",masktype:"alpha",maskUnits:"userSpaceOnUse",x:"2",y:"3",width:"19",height:"17"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S4.83 6.5 4 6.5 2.5 5.83 2.5 5zM21 20H8v-2h13v2zM8 10h13V8H8v2zm0-4V4h13v2H8zm0 10h13v-2H8v2zm-2.5.5v-3h-3v3h3z",fill:"#fff"})),o().createElement("g",{mask:"url(#svg4041339336a)"},o().createElement("path",{fillOpacity:".54",fill:"#000",d:"M0 0h24v24H0z"})))},Ye=e=>{console.error(e),d.Z.addError({title:h().text("Error"),message:(0,f.xU7)(e,h().text("Something went wrong"))})};var qe=n(39417),Xe=n(58651),Ke=n(13896);function Qe(){return Qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qe.apply(this,arguments)}const Je=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["styles"]);return o().createElement("svg",Qe({width:"90",height:"90",viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),o().createElement("circle",{cx:"45",cy:"45",r:"45",fill:"#0072CE",fillOpacity:".1"}),o().createElement("mask",{id:"svg985456408a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"90",height:"90"},o().createElement("circle",{cx:"45",cy:"45",r:"45",fill:"#fff"})),o().createElement("g",{mask:"url(#svg985456408a)"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.625 3.164h90V90h-90V3.164z",fill:"url(#paint0_linear)"}),o().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M66.01 19.992l20.615 20.615v52.337H32.83L18.281 79.131V19.99H66.01z",fill:"url(#paint1_linear)"}),o().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.523 20.39H87.54A2.46 2.46 0 0190 22.853v55.195a2.46 2.46 0 01-2.46 2.46H16.522a2.46 2.46 0 01-2.46-2.46V22.852a2.46 2.46 0 012.46-2.461z",fill:"#000"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.578 19.688h70.664c.971 0 1.758.787 1.758 1.757v55.196c0 .97-.787 1.757-1.758 1.757H17.578c-.97 0-1.758-.787-1.758-1.757V21.445c0-.97.787-1.758 1.758-1.758z",fill:"#fff"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M37.046 25.536c0-.583.472-1.055 1.055-1.055h14.633a1.055 1.055 0 110 2.11H38.101a1.055 1.055 0 01-1.055-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.914 29.754c0-.582.472-1.054 1.055-1.054H60.54a1.055 1.055 0 110 2.11H37.969a1.055 1.055 0 01-1.055-1.056z",fill:"#979797"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M37.046 57.305c0-.583.472-1.055 1.055-1.055h14.633a1.055 1.055 0 110 2.11H38.101a1.055 1.055 0 01-1.055-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.914 61.523c0-.582.472-1.054 1.055-1.054H60.54a1.055 1.055 0 110 2.11H37.969a1.055 1.055 0 01-1.055-1.056z",fill:"#979797"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M37.046 67.852c0-.583.472-1.055 1.055-1.055h28.696a1.055 1.055 0 110 2.11H38.1a1.055 1.055 0 01-1.055-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.914 72.07c0-.582.472-1.054 1.055-1.054h26.087a1.055 1.055 0 110 2.109H37.97a1.055 1.055 0 01-1.055-1.055z",fill:"#979797"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M48.648 36.21c0-.582.472-1.054 1.054-1.054h28.696a1.055 1.055 0 110 2.11H49.702a1.055 1.055 0 01-1.054-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M48.516 40.43c0-.583.472-1.055 1.054-1.055h22.572a1.055 1.055 0 110 2.11H49.57a1.055 1.055 0 01-1.054-1.055z",fill:"#979797"}),o().createElement("circle",{cx:"23.555",cy:"27.773",r:"3.164",fill:"#B6C7DB"}),o().createElement("circle",{cx:"23.555",cy:"27.773",r:"3.164",fill:"#B6C7DB"}),o().createElement("circle",{cx:"42.188",cy:"37.266",r:"2.109",fill:"#B6C7DB"}),o().createElement("circle",{cx:"42.188",cy:"47.813",r:"2.109",fill:"#B6C7DB"}),o().createElement("circle",{cx:"23.555",cy:"59.414",r:"3.164",fill:"#B6C7DB"}),o().createElement("circle",{cx:"23.555",cy:"69.961",r:"3.164",fill:"#B6C7DB"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M48.648 46.758c0-.583.472-1.055 1.054-1.055h28.696a1.055 1.055 0 110 2.11H49.702a1.055 1.055 0 01-1.054-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M48.516 50.977c0-.583.472-1.055 1.054-1.055h26.088a1.055 1.055 0 110 2.11H49.57a1.055 1.055 0 01-1.054-1.055z",fill:"#979797"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M32.524 37.969v-2.813h-.703v14.191h3.93v-.703h-3.227v-9.972h3.227v-.703h-3.227z",fill:"#2B98F0"}),o().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M33.423 27.07l-1.242 1.243-1.243-1.243h2.485z",fill:"#000"}),o().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.578 7.734h65.39a2.11 2.11 0 012.11 2.11v6.328a2.11 2.11 0 01-2.11 2.11h-65.39a2.11 2.11 0 01-2.11-2.11V9.844a2.11 2.11 0 012.11-2.11z",fill:"#fff"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M20.39 13.008a2.11 2.11 0 012.11-2.11h24.61a2.11 2.11 0 110 4.22H22.5a2.11 2.11 0 01-2.11-2.11zM52.031 13.008a2.11 2.11 0 012.11-2.11h3.515a2.11 2.11 0 110 4.22h-3.515a2.11 2.11 0 01-2.11-2.11z",fill:"#979797"})),o().createElement("defs",null,o().createElement("linearGradient",{id:"paint0_linear",x1:"-5.625",y1:"3.164",x2:"-5.625",y2:"90",gradientUnits:"userSpaceOnUse"},o().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),o().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),o().createElement("linearGradient",{id:"paint1_linear",x1:"93.557",y1:"63.672",x2:"54.451",y2:"27.31",gradientUnits:"userSpaceOnUse"},o().createElement("stop",{stopOpacity:".01"}),o().createElement("stop",{offset:"1"}))))},et=(0,j.Z)((e=>({root:{height:"100%",overflow:"hidden",background:e.palette.background.default,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"115px"},info:{color:e.palette.text.secondary,fontSize:"16px",lineHeight:"24px",marginTop:"16px"}}))),tt=()=>{const e=et();return o().createElement("div",{className:e.root},o().createElement(Je,null),o().createElement("span",{className:e.info},h().text("Please persist your profile to be able to edit crosswalks")))},nt=(0,j.Z)({snackbarMessage:{display:"flex",alignItems:"center"},snackbarIcon:{paddingRight:16}}),rt=e=>{let{entity:t,message:n}=e;const r=nt(),a=(0,l.useSelector)(m.ZP.selectors.getUIPath),i=(0,f.ChB)({uiPath:a,uri:t.uri});return o().createElement("div",{className:r.snackbarMessage},o().createElement(z.Z,{className:r.snackbarIcon}),o().createElement(_.Typography,null,(0,f.idV)(t.label)," ",o().createElement(_.Link,{href:i,target:"_blank"},h().text("lookup profile"))," ",n))},ot=(0,j.Z)({sourcesView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},resizablePanesWrapper:{flexGrow:1,height:"100%"},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"},tabs:{marginLeft:"1px"}});var lt;!function(e){e[e.Legend=0]="Legend",e[e.History=1]="History"}(lt||(lt={}));const at=(0,l.connect)((e=>({entity:m.ZP.selectors.getEntity(e),metadata:m.ZP.selectors.getMetadata(e),historyEvent:m.ZP.selectors.getHistoryEvent(e)})))((e=>{var t,n;let{config:a,entity:i,metadata:s,getSavedState:c,saveState:u,dispatch:d,historyEvent:p}=e;const U=ot(),[Z,j]=(0,r.useState)(W.Crosswalk),[H,z]=(0,r.useState)(0),V=e=>z((t=>t===e?null:e)),$=null!==H,Y=H===lt.History,{isHistoryEnabled:q,isProfilePersisted:X}=(0,g.C)({isHistoryTabActive:Y,entity:i}),K=X?i:null,Q=null==K?void 0:K.uri,J=(0,f.nt9)(s,null==i?void 0:i.type),{historySlice:ee}=(0,b.a)({entity:K,historyEvent:p}),[te,ne]=(0,r.useState)();(0,y.D)((()=>{ne(void 0)}),[ee]),(0,y.D)((()=>{ne(void 0)}),[Q]);const[re,oe]=(0,r.useState)(-480),le=(0,r.useCallback)((e=>{let{percentageSize:t}=e;return oe(t)}),[]),{SnackbarRenderer:ae,showSnackbarMessage:ie}=(0,E.D)({anchorOrigin:{vertical:"top",horizontal:"center"},showDismiss:!0}),{isLoaded:se,savedState:ce}=(0,v.a)(c),[ue,de]=(0,r.useState)();(0,r.useEffect)((()=>{se&&de(ce.visibleColumns)}),[se]),(0,r.useEffect)((()=>{const e=!(0,B.equals)(ue,ce.visibleColumns);se&&e&&u({visibleColumns:ue})}),[ue]);const{crosswalkTree:pe,reload:he}=(e=>{const[t,n]=(0,r.useState)(null),[o,l]=(0,r.useState)(!1),a=(0,Ve._)(),i=e=>{console.warn("Failed to load crosswalk tree",e),n(null)},s=(0,r.useCallback)((()=>{e?(l(!0),a((0,f.wo0)({entityUri:e})).then((e=>{n(e)})).catch(i).finally((()=>{l(!1)}))):n(null)}),[e]);return(0,r.useEffect)((()=>{s()}),[s]),{isLoading:o,crosswalkTree:t,reload:s}})((null==ee?void 0:ee.aEntity.uri)||Q),me=(0,r.useMemo)((()=>(0,f.b7X)(pe)),[pe]),fe=(0,r.useCallback)((()=>{Q&&d(m.N5.entity.actions.loadEntity({viewId:a.id,uri:Q}))}),[Q,a,d]),ge=(0,r.useCallback)((0,B.pipe)(fe,he),[fe,he]),be=(0,r.useCallback)(((e,t)=>{ie(t?o().createElement(rt,{entity:t,message:e}):e)}),[]),{modifiedEntity:ye,crosswalksMap:Ee,newlyCreatedAttributes:ve,onDeleteAttribute:xe,onPinAttribute:Ce,onIgnoreAttribute:ke,onEditAttribute:Oe,onAddAttribute:Te}=(0,x.Q)({entity:(null==ee?void 0:ee.aEntity)||K,onModify:ge,onError:Ye}),{addCrosswalk:we,deleteCrosswalk:Se,editCrosswalk:Ie,unmergeContributor:Pe,unsubscribeContributor:Ne}=(e=>{let{onLoad:t=G.ZT,onSuccess:n=G.ZT,onError:o=G.ZT,onShowMessage:a=G.ZT}=e;const{addCrosswalk:i,editCrosswalk:s,deleteCrosswalk:c}=(0,qe.P)({onLoad:t,onSuccess:n,onError:o}),u=(0,l.useSelector)(m.ZP.selectors.getDtssPath),d=(0,l.useSelector)(m.ZP.selectors.getTenant),p=(0,r.useCallback)((e=>{t(),e.then((()=>{n()})).catch(o)}),[t,o,n]);return{addCrosswalk:i,editCrosswalk:s,deleteCrosswalk:c,unmergeContributor:(0,r.useCallback)((e=>(0,B.pipe)(f.L8n,(0,B.andThen)((e=>(a(h().text("has been unmerged"),e.b),e))),p)(e)),[p,a]),unsubscribeContributor:(0,r.useCallback)((e=>{let{crosswalk:t,dataTenant:n}=e;return(0,B.pipe)(f.R9X,(0,B.andThen)((e=>{if(!e.successful)throw new Error(h().text("Failed to unsubscribe contributor"));return e})),p)({dtssPath:u,value:t.value,type:t.type,sourceTable:t.sourceTable,dataTenant:n.id,customerTenant:d})}),[p,u,d])}})({onShowMessage:be,onSuccess:ge,onError:(0,r.useCallback)((e=>{Ye(e),e.errorCode===f.Xt7.CROSSWALK_NOT_FOUND&&ge()}),[ge])}),{historyFilter:De,onApplyFilter:Re,isLoading:Me,historicUris:Le,historyWithTotal:_e,canLoadMore:Ae,onLoadMore:Ue}=(0,C.k6)({entity:K,enabled:q}),Ze=(e=>{let{activeMode:t,contributors:n}=e;const o=(0,r.useCallback)((e=>{var r;switch(t){case W.Source:return(0,f.kW2)(e.type);case W.Contributor:return(0,f.GtP)((null===(r=(0,f.A1W)(n,e))||void 0===r?void 0:r.uri)||"");case W.Crosswalk:return(0,f.CJp)((0,f.uKF)(e))}}),[t,n]),[l,a]=(0,r.useState)([]),i=(0,r.useRef)([]),s=(0,r.useCallback)((0,f.DsO)((()=>{a([...i.current])}),50),[]),c=(0,r.useCallback)((e=>{i.current=e,s(e)}),[s]),u=(0,r.useCallback)(((e,r)=>{if(e)if(r)if(t===W.Contributor){const t=(0,f.A1W)(n,e);c([e,...(null==t?void 0:t.crosswalks)||[]])}else c([e]);else c([])}),[t,c,n]),[d,p]=(0,r.useState)([]),h=(0,r.useCallback)(((e,t)=>(0,B.concat)(e.filter((e=>!(0,B.any)((0,f.aFF)(e),t))),t.filter((t=>!(0,B.any)((0,f.aFF)(t),e))))),[]),m=(0,r.useCallback)((e=>{if(e)if(t===W.Contributor){const t=(0,f.A1W)(n,e);p((n=>h([e,...(null==t?void 0:t.crosswalks)||[]],n)))}else p((t=>h([e],t)))}),[t,h,n]);return(0,r.useEffect)((()=>{p([])}),[t]),{getCrosswalkColor:o,highlightedCrosswalks:(0,r.useMemo)((()=>[...l,...d]),[l,d]),focusedCrosswalks:d,toggleCrosswalkFocus:m,setCrosswalkHighlighted:u}})({activeMode:Z,contributors:me}),je=[{buttonProps:{id:lt.Legend,icon:$e,tooltipTitle:h().text("Legend")},title:o().createElement(_.Typography,{variant:"h6"},h().text("Legend")),content:o().createElement(Ge,{activeMode:Z,onChangeMode:j,entity:(null==ee?void 0:ee.aEntity)||K,crosswalkTree:pe,contributors:me,selectedAttributeTypes:te,readOnly:!!ee,onAddCrosswalk:we,onUnmergeContributor:Pe,onUnsubscribeContributor:Ne,onEditCrosswalk:Ie,onDeleteCrosswalk:Se})},{buttonProps:{id:lt.History,icon:A.Z,tooltipTitle:h().text("History")},title:o().createElement(k.Z,{total:((null==Le?void 0:Le.length)||0)+1,entityType:J,filter:De,onApplyFilter:Re}),content:X?o().createElement(O.Z,{isLoading:Me,historyWithTotal:_e,contributorsUris:Le,entityUri:Q,historyEvent:p,onLoadMore:Ue,canLoadMore:Ae}):o().createElement(T.Z,null)}];return o().createElement("div",{className:U.sourcesView},o().createElement(w.hR,Ze,o().createElement(Ke.DndProvider,{backend:Xe.default},o().createElement(S.Z,null),o().createElement(I.Z,{className:U.resizablePanesWrapper,orientation:"vertical",size:$?re:"100%",minSize:480,maxSize:-480,allowResize:$,onChange:le},o().createElement("div",{className:U.pane},o().createElement(P.Z,{entity:(null==ee?void 0:ee.aEntity)||i},ee?o().createElement(N.Z,null):o().createElement(D.a,null)),X?o().createElement(R.R,{attributeUris:ve},o().createElement(M.Z,{visibleColumns:ue,onChangeVisibleColumns:de,entity:ye,crosswalksMap:Ee,selectedAttributeTypes:te,onSelectAttributeTypes:ne,readOnly:!!ee,onDelete:xe,onPin:Ce,onIgnore:ke,onEdit:Oe,onAdd:Te})):o().createElement(tt,null)),o().createElement(F,{className:U.pane,title:null===(t=je[H])||void 0===t?void 0:t.title,onClose:()=>V(H)},null===(n=je[H])||void 0===n?void 0:n.content)))),o().createElement(L.G,{className:U.tabs,buttonsProps:(0,B.pipe)((0,B.reject)((0,B.propEq)("hidden",!0)),(0,B.pluck)("buttonProps"))(je),onButtonClick:V,activeIndexId:H}),o().createElement(ae,null))})),it=(0,i.createGenerateClassName)({productionPrefix:"sourcesPerspective",disableGlobal:!0}),st=e=>{let{config:t,store:n,onResize:p,saveState:h,getSavedState:m}=e;const g=(0,r.useCallback)((0,f.aYu)(m),[m]);return o().createElement(l.Provider,{store:n},o().createElement(u.m.Provider,{value:t.id},o().createElement(i.StylesProvider,{generateClassName:it},o().createElement(c.MuiPickersUtilsProvider,{utils:a.Z},o().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>null==p?void 0:p(Math.floor(e),Math.floor(t))}),t&&o().createElement(at,{config:t,saveState:h,getSavedState:g}),o().createElement(d.Z,null)))))}}}]);
2
+ //# sourceMappingURL=9062.js.map