@reltio/remotes 1.4.1639 → 1.4.1640

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 (87) hide show
  1. package/1039.js +1 -1
  2. package/1088.js +1 -1
  3. package/1146.js +1 -1
  4. package/1148.js +1 -1
  5. package/1334.js +1 -1
  6. package/1425.js +1 -1
  7. package/1554.js +1 -1
  8. package/1572.js +1 -1
  9. package/1664.js +1 -1
  10. package/1707.js +1 -1
  11. package/1790.js +1 -1
  12. package/2066.js +1 -1
  13. package/2400.js +1 -1
  14. package/3096.js +1 -1
  15. package/3348.js +1 -1
  16. package/3358.js +1 -1
  17. package/3373.js +1 -1
  18. package/3381.js +1 -1
  19. package/3383.js +1 -1
  20. package/3463.js +1 -1
  21. package/3469.js +1 -1
  22. package/3538.js +1 -1
  23. package/356.js +1 -1
  24. package/3785.js +1 -1
  25. package/3854.js +1 -1
  26. package/3902.js +1 -1
  27. package/3912.js +1 -1
  28. package/3926.js +1 -1
  29. package/415.js +1 -1
  30. package/4212.js +1 -1
  31. package/446.js +1 -1
  32. package/4481.js +1 -1
  33. package/4609.js +1 -1
  34. package/4610.js +1 -1
  35. package/4703.js +1 -1
  36. package/4806.js +1 -1
  37. package/4838.js +1 -1
  38. package/50.js +1 -1
  39. package/5039.js +1 -1
  40. package/5053.js +1 -1
  41. package/5108.js +1 -1
  42. package/5163.js +1 -1
  43. package/5292.js +1 -1
  44. package/5383.js +1 -1
  45. package/5617.js +1 -1
  46. package/6020.js +1 -1
  47. package/6287.js +1 -1
  48. package/636.js +1 -1
  49. package/6606.js +1 -1
  50. package/672.js +1 -1
  51. package/6844.js +1 -1
  52. package/6903.js +1 -1
  53. package/6945.js +1 -1
  54. package/7128.js +1 -1
  55. package/7303.js +1 -1
  56. package/7340.js +1 -1
  57. package/735.js +1 -1
  58. package/7422.js +1 -1
  59. package/7744.js +1 -1
  60. package/7896.js +1 -1
  61. package/7963.js +1 -1
  62. package/820.js +1 -1
  63. package/8207.js +1 -1
  64. package/829.js +1 -1
  65. package/8344.js +1 -1
  66. package/8565.js +1 -1
  67. package/8741.js +1 -1
  68. package/8893.js +1 -1
  69. package/9016.js +1 -1
  70. package/9050.js +1 -1
  71. package/9109.js +1 -1
  72. package/9283.js +1 -1
  73. package/9309.js +1 -1
  74. package/9328.js +1 -1
  75. package/938.js +1 -1
  76. package/9387.js +1 -1
  77. package/9464.js +1 -1
  78. package/9612.js +1 -1
  79. package/9652.js +1 -1
  80. package/9736.js +1 -1
  81. package/987.js +1 -1
  82. package/9952.js +1 -1
  83. package/9960.js +1 -1
  84. package/9990.js +1 -1
  85. package/main.js +1 -1
  86. package/package.json +1 -1
  87. package/remoteEntry.js +1 -1
package/3902.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a2050908-d597-4fc8-90ca-e19d6d09c877",e._sentryDebugIdIdentifier="sentry-dbid-a2050908-d597-4fc8-90ca-e19d6d09c877")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1640"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3902],{55234:(e,t,n)=>{n.d(t,{Z:()=>I});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(71153),s=n.n(a),c=n(50914),u=n(31421),d=n(79312),p=n(15793),E=n(19602),f=n(59952),m=n(33117),h=n(14596),b=n(72342);function g(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 v={input:e=>g({},e,{fontSize:"14px"}),menuPortal:e=>g({},e,{zIndex:1300})},T=(0,b.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"},noOptionsMessage:{fontSize:"14px"}});const I=e=>{let{entityType:t,selectedAttributes:n,className:o,onChange:a,title:b,disableUnderline:g,menuPlacement:y="bottom"}=e;const I=T(),O=(0,h.AH)(),x=(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 l=`${n&&n+" / "}${r.label}`;e.push({label:r.label,value:r.uri,attrType:r,chipLabel:l,level:t});const o=(0,u.EUG)(O,r);return e.concat(o?x(o,t+1,l):[])}),[])}),[O]),S=(0,r.useMemo)((()=>x((null==t?void 0:t.attributes)||[])),[t,x]);return l().createElement("div",{className:s()(I.root,o),"data-reltio-id":"attribute-selector"},l().createElement(d.Z,{className:I.title,variant:"subtitle1"},b||i().text("Attribute")),l().createElement(p.Z,{value:n,options:S,TextFieldProps:{InputProps:{disableUnderline:g},classes:{root:I.dropDownInput}},components:{DropdownIndicator:f.Z,MultiValue:e=>{let{data:t}=e,n=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,["data"]);return l().createElement(E.Z,n,t.chipLabel)},Option:e=>{let{isFocused:t,isSelected:n,data:r,label:o,innerProps:i}=e;return l().createElement("div",i,l().createElement(m.Z,{checked:n,level:r.level,data:r,label:o,labelInText:o,isFocused:t}))}},onChange:(0,c.pipe)((0,c.defaultTo)([]),a),styles:v,classes:I,menuPlacement:y,menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},77875:(e,t,n)=>{n.d(t,{Z:()=>E});var r=n(24328),l=n.n(r),o=n(50914),i=n(31421),a=n(53242),s=n(90590),c=n(79573);const u=(0,n(72342).makeStyles)({root:{display:"flex",flex:1},input:{height:"100%",paddingLeft:"12px",paddingRight:"8px",fontSize:"14px"},inputNumber:{minWidth:"60px",marginRight:10,height:"100%",backgroundColor:"rgba(0, 0, 0, 0.03)"},inputUnit:{width:"100%"}});var d=n(7342);const p=["minutes","hours","days","weeks","months","years"],E=e=>{let{interval:[t,n],onChange:r,onFocus:E}=e;const f=u(),m=(0,o.pipe)(c.NA,parseInt,(e=>[e,n]),r),h=(0,o.pipe)((e=>{let{value:n}=e;return[t,n]}),r);return l().createElement("div",{className:f.root},l().createElement(a.Z,{variant:"standard",type:"number",value:t||"",onChange:m,inputProps:{min:1,onFocus:E},InputProps:{classes:{root:f.input}},className:f.inputNumber}),l().createElement(s.Z,{label:"",placeholder:(0,d.Z)(n),className:f.inputUnit,value:{value:n,label:(0,d.Z)((0,i.wsP)(n))},options:p.map((e=>({value:e,label:(0,d.Z)((0,i.wsP)(e))}))),onChange:h,TextFieldProps:{inputProps:{onFocus:E},InputProps:{classes:{root:f.input}}}}))}},15793:(e,t,n)=>{n.d(t,{Z:()=>C});var r=n(24328),l=n.n(r),o=n(13980),i=n.n(o),a=n(50914),s=n(70347);const c=(0,n(4515).Z)(s.ZP);var u=n(49861),d=n(12350),p=n(95341),E=n(80852),f=n(71153),m=n.n(f),h=n(40007);function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function g(e){const{innerProps:t,innerRef:n,children:r,isFocused:o,isSelected:i,selectProps:{classes:a},label:s}=e;return l().createElement(p.Z,b({className:m()(a.option,{[a["option--selected"]]:i}),ref:n,selected:o,component:"div"},t),l().createElement(E.Z,{color:"primary",checked:i}),l().createElement(h.Z,{value:s},l().createElement("div",{className:a["option--item"]},r)))}g.propTypes={children:i().node,innerProps:i().shape({id:i().string.isRequired,key:i().string,onClick:i().func.isRequired,onMouseMove:i().func.isRequired,onMouseOver:i().func.isRequired,tabIndex:i().number.isRequired}).isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]),isFocused:i().bool.isRequired,isSelected:i().bool.isRequired,label:i().string,selectProps:i().shape({classes:i().shape({option:i().string})})};const y={Option:g};var v=n(72342),T=n(79573);function I(){return I=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},I.apply(this,arguments)}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){x(e,t,n[t])}))}return e}function x(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,v.makeStyles)((e=>({label:{top:6,left:16},placeholder:e=>({display:!e.placeholder||e.label?"none":void 0}),"option--selected":{fontWeight:400},clearIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)},dropdownIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)}})));let N=0;function _(e){const{label:t,creatable:n,getOptions:o,loadingIndicator:i,components:s,classes:p,styles:E,onChange:f,onInputChange:m,menuPlacement:h="auto"}=e,b=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),g=n?c:o?d.Z:u.Z,[v,x]=(0,r.useState)(""),_=S((0,a.omit)(["classes"],e)),C="custom-select-"+N++,R=O({},y,s),D=(0,T.ze)(_,p),P=O({indicatorSeparator:e=>O({},e,{margin:"10px 0"}),loadingIndicator:e=>O({},e,{display:i?e.display:"none"}),loadingMessage:e=>O({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},E),M=t?{inputId:C,TextFieldProps:O({label:t,InputLabelProps:{htmlFor:C,shrink:!(!e.value||!e.value.length)||void 0,className:D.label}},e.TextFieldProps)}:{};return l().createElement(g,I({isMulti:!0,inputId:C,inputValue:v,onChange:function(e,t){f(e,t),"create-option"===t.action&&(x(""),m("",{action:"input-change"}))},onInputChange:function(e,t){let{action:n}=t;m(e,{action:n}),"set-value"!==n&&x(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:D,components:R,styles:P,menuPlacement:h,loadOptions:o},M,b))}_.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},_.propTypes={creatable:i().bool,cacheOptions:i().bool,defaultOptions:i().bool,value:i().arrayOf(i().shape({label:i().string.isRequired,value:i().any})),options:i().arrayOf(i().shape({label:i().string.isRequired,value:i().any})),onChange:i().func,onInputChange:i().func,placeholder:i().string,label:i().string,loadingIndicator:i().bool,components:i().shape({ClearIndicator:i().func,Control:i().func,DropdownIndicator:i().func,DownChevron:i().func,CrossIcon:i().func,Group:i().func,GroupHeading:i().func,IndicatorsContainer:i().func,IndicatorSeparator:i().func,Input:i().func,LoadingIndicator:i().func,Menu:i().func,MenuList:i().func,MenuPortal:i().func,LoadingMessage:i().func,NoOptionsMessage:i().func,MultiValue:i().func,MultiValueContainer:i().func,MultiValueLabel:i().func,MultiValueRemove:i().func,Option:i().func,Placeholder:i().func,SelectContainer:i().func,SingleValue:i().func,ValueContainer:i().func}),classes:i().shape({control:i().string,valueContainer:i().string,multiValue:i().string,noOptionsMessage:i().string,singleValue:i().string,placeholder:i().string,menu:i().string,clearIndicator:i().string,dropdownIndicator:i().string,option:i().string,"option--selected":i().string,label:i().string}),styles:i().shape({clearIndicator:i().func,container:i().func,control:i().func,dropdownIndicator:i().func,group:i().func,groupHeading:i().func,indicatorsContainer:i().func,indicatorSeparator:i().func,input:i().func,loadingIndicator:i().func,loadingMessage:i().func,menu:i().func,menuList:i().func,menuPortal:i().func,multiValue:i().func,multiValueLabel:i().func,multiValueRemove:i().func,noOptionsMessage:i().func,option:i().func,placeholder:i().func,singleValue:i().func,valueContainer:i().func}),TextFieldProps:i().object,getOptions:i().func,menuPlacement:i().string,menuPortalTarget:i().object,menuShouldBlockScroll:i().bool,captureMenuScroll:i().bool,getOptionValue:i().func,isSearchable:i().bool,inputRef:i().shape({current:i().object})};const C=_},15422:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),l=n.n(r),o=n(79312);function i(){return i=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},i.apply(this,arguments)}const a=e=>l().createElement("svg",i({width:256,height:256,viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l().createElement("circle",{cx:128,cy:128,r:128,fill:"#0072CE",fillOpacity:.1}),l().createElement("mask",{id:"AttributesList_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:256,height:256},l().createElement("circle",{cx:128,cy:128,r:128,fill:"#fff"})),l().createElement("g",{mask:"url(#AttributesList_svg__a)"},l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-16 9h256v247H-16V9z",fill:"url(#AttributesList_svg__b)"}),l().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z",fill:"url(#AttributesList_svg__c)"}),l().createElement("path",{opacity:.06,fillRule:"evenodd",clipRule:"evenodd",d:"M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000"}),l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#fff"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:106,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:136,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:169,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:199,r:9,fill:"#B6C7DB"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M92.514 108v-8h-2v40.365h11.178v-2h-9.178V110h9.178v-2h-9.178z",fill:"#2B98F0"}),l().createElement("path",{opacity:.54,fillRule:"evenodd",clipRule:"evenodd",d:"M95.071 77l-3.535 3.535L88 77h7.071z",fill:"#000"}),l().createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#fff"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zm90 0a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z",fill:"#979797"})),l().createElement("defs",null,l().createElement("linearGradient",{id:"AttributesList_svg__b",x1:-16,y1:9,x2:-16,y2:256,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:.01}),l().createElement("stop",{offset:1,stopColor:"#F4F4F4"})),l().createElement("linearGradient",{id:"AttributesList_svg__c",x1:266.117,y1:181.111,x2:154.882,y2:77.681,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopOpacity:.01}),l().createElement("stop",{offset:1})))),s=(0,n(72342).makeStyles)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box",padding:"40px"},logo:{width:"190px",height:"190px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:400,marginTop:"24px"},text:{color:e.palette.text.primary,fontSize:"20px",fontWeight:500,lineHeight:"23px",textAlign:"center"},secondaryText:{color:e.palette.text.primary,fontSize:"14px",fontWeight:"normal",lineHeight:"16px",letterSpacing:"0.24px",textAlign:"center",paddingTop:"8px"}}))),c=e=>{let{IconRenderer:t=a,text:n,secondaryText:r}=e;const i=s();return l().createElement("div",{className:i.root},l().createElement(t,{className:i.logo}),l().createElement("div",{className:i.textBox},l().createElement(o.Z,{className:i.text},n),r&&l().createElement(o.Z,{className:i.secondaryText},r)))}},15791:(e,t,n)=>{n.d(t,{Z:()=>v});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(50914),s=n(71153),c=n.n(s),u=n(79312),d=n(15793),p=n(59952),E=n(31421),f=n(14596),m=n(72342);function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){b(e,t,n[t])}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g={input:e=>h({},e,{fontSize:"14px"}),loadingMessage:e=>h({},e,{fontSize:"14px"}),menuPortal:e=>h({},e,{zIndex:1300})},y=(0,m.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"}}),v=e=>{let{selectedUsers:t,onChange:n,className:o,disableUnderline:s}=e;const m=y(),h=(0,f.Uv)(),b=(0,f.au)(),v=e=>({value:e,label:e}),T=e=>e.map(v),I=(0,r.useRef)();return l().createElement("div",{className:c()(m.root,o),"data-reltio-id":"user-selector"},l().createElement(u.Z,{className:m.title,variant:"subtitle1"},i().text("User")),l().createElement(d.Z,{value:T(t),onChange:(0,a.pipe)((0,a.defaultTo)([]),(0,a.pluck)("value"),n),defaultOptions:!0,getOptions:e=>(I.current||(I.current=(0,E.kz_)({tenant:h,servicesPath:b})),I.current.then((0,a.pipe)((0,a.pluck)("username"),(e=>t=>e?t.filter((t=>E.P6Y.strings.search(t,e))):t)(e),T))),TextFieldProps:{InputProps:{disableUnderline:s},className:m.dropDownInput},components:{DropdownIndicator:p.Z},styles:g,classes:m,menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},20414:(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={}))},57312:(e,t,n)=>{n.d(t,{te:()=>d,Io:()=>p,rx:()=>E,_V:()=>f,Xr:()=>m});var r=n(31421),l=n(50914),o=n(2507),i=n.n(o),a=n(20414);function s(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}const u=(0,l.path)(["data","type"]),d=e=>{const{items:t,label:n}=e,[r]=t||[];return u(r)||n},p=e=>{const{items:t=[],label:n}=e,r=e=>{return t=u(e)||n,(0,l.pipe)(l.values,(0,l.includes)(t))(a.I);var t},o=(0,l.filter)(r)(t);return t.length!==o.length&&console.error("Activities not implemented:",(0,l.reject)(r)(t)),s({},e,{items:o,itemsTotal:o.length})},E=e=>(0,l.pipe)((0,l.propOr)([],"items"),(0,l.groupBy)(u),l.values,(0,l.ifElse)((e=>{let{length:t}=e;return t>1}),(0,l.map)((t=>s({},e,{items:t,itemsTotal:t.length}))),(()=>[e])))(e),f=(e,t,n,o)=>{const i=(0,r.zeJ)(n,t),a=(0,r.PFL)(i),s=(0,r.mB6)({attributePresentations:o,dataTypeDefinition:a});return(0,l.isNil)(e)?"":"string"==typeof e?i?s(e):e:Object.entries(e).flatMap((e=>{let[l,i]=e;return i.map((e=>f(e.value,(0,r.tCm)(t,l),n,o)))})).join(", ")},m=e=>({[a.I.COMMENT_ADDED]:i().text("Comment added"),[a.I.COMMENT_DELETED]:i().text("Comment deleted"),[a.I.COMMENT_UPDATED]:i().text("Comment updated"),[a.I.ENTITIES_MERGED]:i().text("Profile merged"),[a.I.ENTITIES_MERGED_MANUALLY]:i().text("Profile merged manually"),[a.I.ENTITIES_MERGED_ON_THE_FLY]:i().text("Profile merged on the fly"),[a.I.ENTITIES_SPLITTED]:i().text("Profile un-merged"),[a.I.ENTITY_CHANGED]:i().text("Profile updated"),[a.I.ENTITY_CREATED]:i().text("Profile created"),[a.I.ENTITY_LOST_MERGE]:i().text("Profile lost merge"),[a.I.ENTITY_REMOVED]:i().text("Profile removed"),[a.I.GROUP_CHANGED]:i().text("Group updated"),[a.I.GROUP_CREATED]:i().text("Group created"),[a.I.GROUP_REMOVED]:i().text("Group removed"),[a.I.MODEL_UPDATED]:i().text("Model was updated"),[a.I.NOT_MATCHES_RESET]:i().text("Not matches reset"),[a.I.NOT_MATCHES_SET]:i().text("Not matches set"),[a.I.PERIODIC_TASK_SCHEDULED]:i().text("Periodic task was scheduled"),[a.I.POTENTIAL_MATCHES_FOUND]:i().text("Potential matches found"),[a.I.POTENTIAL_MATCHES_REMOVED]:i().text("Potential matches removed"),[a.I.RELATIONSHIP_CHANGED]:i().text("Relationship updated"),[a.I.RELATIONSHIP_CREATED]:i().text("Relationship created"),[a.I.RELATIONSHIP_REMOVED]:i().text("Relationship removed"),[a.I.USER_LOGIN]:i().text("Logged in"),[a.I.USER_LOGOUT]:i().text("Logged out"),[a.I.USER_PROFILE_VIEW]:i().text("Profile viewed"),[a.I.USER_SEARCH]:i().text("Searched"),[a.I.ANALYTICS_ATTRIBUTES_CHANGED]:i().text("Analytics attribute changed"),[a.I.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE]:i().text("SFDC connector synchronization issue")}[e]||"")},27446:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),l=n.n(r),o=n(95038),i=n.n(o),a=n(2507),s=n.n(a),c=n(50914),u=n(31421),d=n(79573),p=n(53242),E=n(47019),f=n(59952),m=n(98192);const h=(0,n(72342).makeStyles)({root:{flex:1},dropdownIndicator:{transition:"transform .15s ease"},inputRoot:{fontSize:"14px",height:46},input:{padding:"0 12px 0"},dateOptionLabel:{minWidth:"100px"},paper:{minWidth:"112px"}}),b=i().localeData().longDateFormat("L"),g=e=>{let{values:t,onChange:n,onFocus:o=d.ZT}=e;const i=b,a=(0,r.useRef)(null),[g,y]=(0,r.useState)(!1),v=h(),T=(0,r.useCallback)((()=>{y((e=>!e)),o()}),[o]);return l().createElement("div",{className:v.root},l().createElement(p.Z,{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,i))).join(" — "),onClick:T,variant:"filled",ref:a,InputProps:{endAdornment:l().createElement(f.Z,{selectProps:{classes:v,menuIsOpen:g},innerProps:{}}),disableUnderline:(0,c.isNil)(t),readOnly:!0,classes:{root:v.inputRoot,input:v.input}},InputLabelProps:{shrink:!1},placeholder:s().text(`${i} — ${i}`)}),l().createElement(E.ZP,{open:g,anchorEl:a.current,onClose:()=>{y(!1)},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2},l().createElement(m.Z,{values:t,onApply:e=>{n(e),y(!1)},type:u.oS0.TYPE_ACTIVENESS_DATE})))}},70675:(e,t,n)=>{n.d(t,{Z:()=>oe});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(56961),s=n(79312),c=n(50914),u=n(79935),d=n(80653),p=n(38677),E=n(47019),f=n(79811),m=n(290),h=n(35936),b=n(31421),g=n(40435),y=n(15791),v=n(55234),T=n(71153),I=n.n(T),O=n(90590);const x=[b.KfU.WITHIN,b.KfU.AGO,b.KfU.BETWEEN],S=e=>({[b.KfU.WITHIN]:i().text("Within the last"),[b.KfU.AGO]:i().text("More than"),[b.KfU.BETWEEN]:i().text("Date range")}[e]||"");var N=n(77875),_=n(55962),C=n(27446),R=n(72342);const D=(0,R.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},intervalContainer:{display:"flex",justifyContent:"space-between"},typeInput:{width:160,marginRight:10}}),P=[null,null],M=[null,"hours"],w=e=>{let{value:t,onChange:n,className:o}=e;const a=D(),c=e=>e===b.KfU.WITHIN||e===b.KfU.AGO,u=e=>e===b.KfU.BETWEEN,d=u(null==t?void 0:t.type)?t.period:P,p=c(null==t?void 0:t.type)?t.period:M,[E,f]=(0,r.useState)(d),[m,h]=(0,r.useState)(p),g=(null==t?void 0:t.type)||b.KfU.WITHIN,y=e=>c(e)?m:u(e)?E:void 0,v=e=>{n({type:g,period:e})};return(0,_.D)((()=>{t?c(t.type)?h(t.period):u(t.type)&&f(t.period):(f(P),h(M))}),[t]),l().createElement("div",{className:I()(a.root,o),"data-reltio-id":"date-range-selector"},l().createElement(s.Z,{className:a.title,variant:"subtitle1"},i().text("Date")),l().createElement("div",{className:a.intervalContainer},l().createElement(O.Z,{label:"",className:a.typeInput,value:{value:g,label:S(g)},options:x.map((e=>({value:e,label:S(e)}))),onChange:e=>{let{value:r}=e;(null==t?void 0:t.type)!==r&&n({period:y(r),type:r})}}),c(g)?l().createElement(N.Z,{interval:m,onChange:v}):l().createElement(C.Z,{values:E,onChange:v})))};var A=n(15793),L=n(59952),k=n(38323);const U=[k.M.UPDATE,k.M.MERGE,k.M.UNMERGE];function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){G(e,t,n[t])}))}return e}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const j={input:e=>H({},e,{fontSize:"14px"}),menuPortal:e=>H({},e,{zIndex:1300})},Z=(0,R.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},valueContainer:{overflowY:"auto",height:44},option:{fontSize:"14px",height:"32px"}}),F=e=>{let{selectedHistoryActivityTypes:t,onChange:n,className:r,disableUnderline:o}=e;const a=Z(),u=e=>{return{value:e,label:(t=e,{[k.M.UPDATE]:i().text("Update"),[k.M.MERGE]:i().text("Merge"),[k.M.UNMERGE]:i().text("Unmerge")}[t]||"")};var t},d=e=>e.map(u),p=d(U);return l().createElement("div",{className:I()(a.root,r),"data-reltio-id":"history-activity-selector"},l().createElement(s.Z,{className:a.title,variant:"subtitle1"},i().text("Activity")),l().createElement(A.Z,{value:d(t),onChange:(0,c.pipe)((0,c.defaultTo)([]),(0,c.pluck)("value"),n),options:p,TextFieldProps:{InputProps:{disableUnderline:o},classes:{root:a.dropDownInput}},components:{DropdownIndicator:L.Z},styles:j,classes:a,menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))};var z=n(7108);const B=(0,R.makeStyles)({popup:{width:500,minHeight:500,overflowY:"hidden",display:"flex",flexDirection:"column"},filterContainer:{maxHeight:"400px",borderColor:"rgba(0,0,0,0.12)"},filterItem:{"&:not(:last-child)":{marginBottom:12}},clearButton:{marginRight:"auto"},input:{height:"100%",paddingLeft:"12px",paddingRight:"8px"},divider:{marginBottom:12}});function V(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=>{let{className:t,filter:n,onApplyFilter:o,entityType:s}=e;const u=B(),T=(0,r.useRef)(),[I,O]=(0,r.useState)(!1),[x,S]=(0,r.useState)(n),{activities:N=[],attributes:_=[],dateRange:C=null,users:R=[]}=x||{},D=(0,z.FE)(n)?"inherit":"primary";(0,r.useEffect)((()=>{I&&S(n)}),[n,I]);const P=(0,c.curry)(((e,t)=>{S((n=>V({},n,{[e]:t})))})),M=(0,r.useCallback)((()=>{O((e=>!e))}),[]),A=(0,r.useCallback)((()=>{C&&(0,b.RZp)(C)?o(x):o((0,c.dissoc)("dateRange",x)),M()}),[x,C,o,M]),L=(0,r.useCallback)((()=>{S(V({},z.tO))}),[]);return l().createElement(l().Fragment,null,l().createElement(g.Z,{ref:T,color:D,icon:d.Z,size:"L",onClick:M,className:t}),l().createElement(E.ZP,{classes:{paper:u.popup},open:I,anchorEl:T.current,onClose:M,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},l().createElement(h.Z,null,i().text("Filter")),l().createElement(m.Z,{dividers:!0,className:u.filterContainer},l().createElement(w,{value:C,onChange:P("dateRange"),className:u.filterItem}),l().createElement(a.Z,{light:!0,className:u.divider}),l().createElement(y.Z,{selectedUsers:R,onChange:P("users"),className:u.filterItem,disableUnderline:!0}),l().createElement(a.Z,{light:!0,className:u.divider}),l().createElement(F,{selectedHistoryActivityTypes:N,onChange:P("activities"),className:u.filterItem,disableUnderline:!0}),l().createElement(a.Z,{light:!0,className:u.divider}),l().createElement(v.Z,{selectedAttributes:_,entityType:s,onChange:P("attributes"),className:u.filterItem,title:i().text("Attribute updated"),disableUnderline:!0})),l().createElement(f.Z,null,l().createElement(p.Z,{onClick:L,className:u.clearButton},i().text("Clear all")),l().createElement(p.Z,{onClick:M},i().text("Cancel")),l().createElement(p.Z,{color:"primary",onClick:A},i().text("Apply")))))};var W=n(50985),K=n(98538),q=n(95341),X=n(42713),J=n(79573);const Q=(0,R.makeStyles)({menuItem:{minHeight:"32px"},menuText:{fontSize:"13px",lineHeight:"15px",letterSpacing:0,marginLeft:"30px"},checkIcon:{position:"absolute",color:"rgba(0, 0, 0, 0.54)"}}),ee=(0,r.forwardRef)(((e,t)=>{let{item:n,onMenuClose:r=J.ZT}=e;const o=Q(),{text:i,selected:a,onClick:c}=n;return l().createElement(q.Z,{classes:{root:o.menuItem},onClick:e=>{r(),c(e)},ref:t},a&&l().createElement(X.Z,{className:o.checkIcon}),l().createElement(s.Z,{classes:{root:o.menuText}},i))}));ee.displayName="MenuItemRenderer";const te=ee;var ne=n(14596);const re=()=>{const e=(0,ne.ax)("setHistoryMode"),t=(0,ne.bn)(),n=[{text:i().text("Compare to Current view"),selected:t===b.Z9$.Current,onClick:()=>e(b.Z9$.Current)},{text:i().text("Compare to Previous view"),selected:t===b.Z9$.Previous,onClick:()=>e(b.Z9$.Previous)}];return l().createElement(K.Z,{MenuItemRenderer:te,buttonComponent:g.Z,buttonProps:{icon:W.Z,size:"L"},menuId:"history-menu",menuItems:n})},le=(0,R.makeStyles)({root:{display:"flex",flex:1,alignItems:"center"},icon:{margin:4},divider:{borderColor:"rgba(0,0,0,0.12)",margin:"3px 19px"},count:{fontSize:14},filterButton:{marginRight:"-4px"}}),oe=e=>{let{total:t,entityType:n,filter:r,onApplyFilter:o}=e;const d=le();return l().createElement("div",{className:d.root},l().createElement(s.Z,{variant:"h6"},i().text("History")),!(0,c.isNil)(t)&&l().createElement(l().Fragment,null,l().createElement(a.Z,{orientation:"vertical",flexItem:!0,className:d.divider}),l().createElement(s.Z,{variant:"body1",color:"textSecondary",className:d.count},1===t?i().text("${count} contributing profile",{count:t}):i().text("${count} contributing profiles",{count:t}))),l().createElement(u.Z,null),l().createElement($,{className:d.filterButton,entityType:n,filter:r,onApplyFilter:o}),l().createElement(re,null))}},95085:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(15422);const s=()=>l().createElement(a.Z,{text:i().text("History in the making"),secondaryText:i().text("When you create an event or perform an activity, it will show up here.")})},32158:(e,t,n)=>{n.d(t,{Z:()=>H});var r=n(24328),l=n.n(r),o=n(44443),i=n(2507),a=n.n(i),s=n(50914),c=n(71153),u=n.n(c),d=n(31421),p=n(38677),E=n(79312),f=n(57312),m=n(72342);const h=(0,m.makeStyles)((()=>({historyRow:{position:"relative",padding:"8px 12px 16px",cursor:"pointer"},selected:{background:"rgba(0,0,0,0.05)","&:before":{content:'""',background:"rgba(0,0,0,0.05)",width:"100%",height:"100%",position:"absolute",left:"-100%",top:0}},rowHeader:{display:"flex",position:"relative"},badge:e=>{let{color:t}=e;return{position:"absolute",width:"2px",height:"100%",left:"-9px",pointerEvents:"none",background:t,"&:before":{height:"100%",width:"3px",content:'""',left:"-3px",background:t,position:"absolute",opacity:.06}}},title:{color:"rgba(0,0,0,0.87)",fontSize:"13px",letterSpacing:0,lineHeight:"16px",fontWeight:400,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&.bold":{fontWeight:500}},date:{marginLeft:"auto",color:"rgba(0,0,0,0.54)",fontSize:"11px",letterSpacing:0,lineHeight:"16px",flexShrink:0},user:{color:"rgba(0,0,0,0.38)",fontSize:"12px",letterSpacing:0,lineHeight:"14px"}}))),b=e=>{let{change:t,isCurrent:n,isSelected:r,onClick:o}=e;const{uri:i,type:s,matchGroups:c,user:p,timestamp:m}=t,b=(0,d.GtP)(i),g=h({color:b});return l().createElement("div",{className:u()(g.historyRow,{[g.selected]:r}),onClick:o},l().createElement("div",{className:g.rowHeader},l().createElement("div",{className:g.badge}),l().createElement(E.Z,{className:u()(g.title,{bold:n})},n?a().text("Current view"):(0,f.Xr)(s)),!n&&l().createElement(E.Z,{className:g.date},a().date(m,"L LT"))),c&&l().createElement(E.Z,{className:g.title},a().text("Match rule:")," ",c.join(", ")),l().createElement(E.Z,{className:g.user},p))};var g=n(21256);const y=e=>e===g.b.FAKE_FILTERED_INCOMING||e===g.b.FAKE_FILTERED_OUTGOING,v=e=>{let{x:t,y:n,toX:r,toY:o,color:i,isDashed:a}=e;const s=((e,t,n,r)=>{const l=t>r,o=e<n,i=l?-6:6;return`M${e} ${t} L${o?n-12:n+12} ${t} ${o?`c 6 0 12 ${i} 12`:`c -6 0 -12 ${i} -12`} ${l?-12:12} L${n} ${r}`})(t,n,r,o);return l().createElement("path",{d:s,stroke:i,strokeWidth:2,fill:"none",strokeDasharray:a?"3,3":void 0})};function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}const I=(0,r.forwardRef)(((e,t)=>{let{x:n,y:r,color:o,isDashed:i,isCollapsed:a,showCollapseIcon:s,showLine:c}=e,u=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,["x","y","color","isDashed","isCollapsed","showCollapseIcon","showLine"]);const d=s?6:3;return l().createElement("g",T({},u,{ref:t}),c&&l().createElement("rect",{id:"line",x:n-d-4,y:r-d-4,width:2*d+8,height:2,fill:o}),l().createElement("circle",{cx:n,cy:r,r:d,fill:i?"#fff":o,stroke:o,strokeDasharray:i?"1,1":void 0,strokeWidth:2}),s&&l().createElement("g",{id:"icon"},l().createElement("rect",{x:n-4,y:r-1,width:8,height:2,fill:"#fff"}),a&&l().createElement("rect",{x:n-1,y:r-4,width:2,height:8,fill:"#fff"})))}));const O=(0,n(78223).Z)(I),x=(0,r.memo)((e=>{let{graphData:t,onHistoryCircleMouseOver:n}=e;const{historyLanes:r,rows:o}=t,i=[16],{links:a,rowLines:s,circles:c}=o.reduce(((e,t,a)=>{let{uri:s,height:c,uris:u,type:p,fakeType:E,index:f,timestamp:m,label:h}=t;const b=16*r[s].index+24,T=i[a];i.push(T+c);const I=y(E),x=I?u[0]:s,S=!(null!=u&&u.some((e=>r[e])));e.circles.push(l().createElement(O,{tooltipTitle:h,tooltipPlacement:"top",onMouseOver:n?()=>n(s,m,f):void 0,key:`circle-${x}-${a}`,x:b,y:T,color:(0,d.GtP)(x),isDashed:I,isCollapsed:S,showCollapseIcon:!!u,showLine:E===g.b.FAKE_NAVIGATE_PROFILE})),e.rowLines.push(l().createElement("rect",{key:`${x}-${f}`,x:b,y:T-8,width:"100%",height:16,fill:(0,d.GtP)(x),opacity:.06}));const N=p===g.b.ENTITIES_SPLITTED;return null==u||u.forEach((t=>{const n=r[t];if(!n)return;const i=o[a].height,s=16*n.index+24,c=N?T-i:T+i;b!==s&&e.links.push(l().createElement(v,{key:`link-${t}-${f}`,x:b,y:T,toX:s,toY:c,isDashed:y(E),color:(0,d.GtP)(t)}))})),e}),{links:[],circles:[],rowLines:[]}),u=16*Object.keys(r).length+24,p=i[i.length-1]-16;return Object.entries(r).forEach((e=>{let[t,n]=e;const r=16*n.index+24;n.lifeTime.forEach(((e,s)=>{var u;let{start:p,end:E}=e;if((null===(u=o[null==E?void 0:E.index])||void 0===u?void 0:u.type)===g.b.ENTITIES_SPLITTED)return;const f=(null==p?void 0:p.type)===g.b.ENTITIES_SPLITTED?(null==p?void 0:p.index)-1:null==p?void 0:p.index,m=(null==E?void 0:E.type)===g.b.ENTITIES_MERGED_MANUALLY||(null==E?void 0:E.type)===g.b.ENTITIES_MERGED?(null==E?void 0:E.index)+1:null==E?void 0:E.index,h=i[f]||i[i.length-2],b=i[m]||16;if(h<=b)return;const y=(0,d.GtP)(t);!E&&n.index>0&&c.push(l().createElement(I,{key:`initCircle-${t}-${s}`,x:r,y:b,color:y,showLine:!0})),a.unshift(l().createElement("path",{key:`line-${t}-${s}`,d:`M${r} ${h} L${r} ${b}`,stroke:y,strokeWidth:2}))}))})),l().createElement("svg",{className:"chart",width:u,height:p},l().createElement("g",{id:"rowLines"},s),l().createElement("g",{id:"links"},a),l().createElement("g",{id:"circles"},c))}));var S=n(87378),N=n(14596);const _=(0,m.makeStyles)({historyTree:{display:"grid",gridTemplateColumns:"auto 1fr",overflowY:"auto"},graph:{overflowX:"auto",overflowY:"hidden"},history:{minWidth:"260px"},buttonContainer:{gridColumnStart:1,gridColumnEnd:3,padding:"8px 16px"},shadow:{boxShadow:"inset -8px 0px 5px -5px rgba(0,0,0,0.1)"}});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){R(e,t,n[t])}))}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const D=e=>{let{historyData:t,isLoading:n,canLoadMore:i,onLoadMore:c,entityUri:E,historyEvent:f,findPreviousChange:m}=e;const h=_(),[g,y]=(0,r.useState)({historyLanes:{},rows:[]}),[v,T]=(0,r.useState)(!1),[I,O]=(0,r.useState)(-1),R=(0,N.ax)("setHistoryEvent"),D=(0,N.ax)("clearHistoryEvent"),P=(0,N.ax)("modeUpdated"),M=(0,N.AH)(),w=(0,N.o_)();(0,r.useEffect)((()=>{if((0,s.isNil)(f))return void O(0);const e=e=>(null==e?void 0:e.uri)===((null==f?void 0:f.overrideUri)||E)&&(null==e?void 0:e.timestamp)===(null==f?void 0:f.aStamp),n=-1!==I?t.rows[I]:null,r=t.rows.findIndex((t=>e(t)));O(e(n)?I:r)}),[t.rows,f]);const A=(0,r.useRef)(null),L=(0,r.useCallback)((e=>{if(!(0,s.isNil)(e)){var n;const r=null===(n=t.rows)||void 0===n?void 0:n.map(((t,n)=>{var r;return C({},t,{height:null===(r=e.childNodes[n])||void 0===r?void 0:r.clientHeight})}));y({historyLanes:t.historyLanes,rows:r})}}),[t]),k=()=>{const{scrollWidth:e,clientWidth:t,scrollLeft:n}=(null==A?void 0:A.current)||{};T(n<e-t)};return l().createElement("div",{className:h.historyTree},n&&l().createElement(S.Z,null),l().createElement("div",{className:u()(h.graph,{[h.shadow]:v}),onScroll:k,ref:A},l().createElement(x,{onHistoryCircleMouseOver:(e,t,n)=>{if((0,s.isNil)(g.rows[n].label)){const r={time:t,select:"crosswalks"};(0,d.HvW)(e,r).then((e=>{let{crosswalks:t}=e;const r=t?(0,s.uniqBy)((0,s.prop)("type"),t).map((e=>{const t=(0,d.s5)(M,e.type);return t?t.label:null})).filter(s.identity).join(", "):a().text("No data");y((e=>C({},e,{rows:e.rows.map((e=>e.index===n?C({},e,{label:r}):e))})))}))}},graphData:g}),l().createElement(o.Z,{handleWidth:!0,onResize:k})),l().createElement("div",{ref:L,className:h.history},t.rows.map(((e,t)=>{const n=t===I,r=0===t;return l().createElement(b,{key:`row-${t}`,change:e,isCurrent:r,isSelected:n,onClick:()=>((e,t,n,r)=>{if(w){if(!window.confirm(a().text("Are you sure you want to go in history mode? All your changes will be lost.")))return;P(d.ARY.Viewing)}if(r&&!n||!r&&n)D(),O(0);else if(!r&&!n){const n=m(e-1,t.uri||E),r=m(e,t.uri||E),l=null==n?void 0:n.timestamp,o=null==r?void 0:r.timestamp,i=(null==t?void 0:t.uri)===E?null:null==t?void 0:t.uri;R({aStamp:l,bStamp:o,overrideUri:i}),O(e)}})(t,e,n,r)})}))),i&&l().createElement("div",{className:h.buttonContainer},l().createElement(p.Z,{color:"primary",onClick:()=>c()},a().text("Show more"))))},P=(0,m.makeStyles)({root:{display:"flex",flexWrap:"wrap",padding:"10px 15px"}}),M=(0,m.makeStyles)({icon:e=>{let{color:t}=e;return{boxSizing:"border-box",borderWidth:2,borderStyle:"solid",borderColor:t,height:12,width:12,borderRadius:30,transition:"opacity 0.3s",margin:4}},active:e=>{let{color:t}=e;return{backgroundColor:t}},inactive:{backgroundColor:"white"},clickable:{cursor:"pointer"}}),w=e=>{let{value:t,isSelected:n=!0,onClick:r}=e;const o=(0,d.GtP)(t),i=M({color:o});return l().createElement("div",{className:u()(i.icon,{[i.inactive]:!n,[i.active]:n,[i.clickable]:!!r}),onClick:r})},A=e=>{let{values:t,selectedValues:n,entityUri:r,onSelectValues:o,className:i}=e;const a=P();return l().createElement("div",{className:u()(a.root,i)},l().createElement(w,{value:r}),(null==t?void 0:t.length)>0&&t.map((e=>l().createElement(w,{key:e,value:e,isSelected:null==n?void 0:n.includes(e),onClick:()=>(e=>{null!=n&&n.includes(e)?o((0,s.without)([e],n)):o([...n||[],e])})(e)}))))};function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k=(e,t)=>e.reduce(((e,n,r)=>{let{start:l,end:o}=n;if(l){const n=t-l.timestamp;((0,s.isNil)(e.startDistance)||Math.abs(e.startDistance)>Math.abs(n)&&n>0)&&(e.startIndex=r,e.startDistance=n)}if(o){const n=t-o.timestamp;((0,s.isNil)(e.endDistance)||Math.abs(e.endDistance)>Math.abs(n)&&n<0)&&(e.endIndex=r,e.endDistance=n)}return e}),{startIndex:null,endIndex:null,startDistance:null,endDistance:null}),U=(0,m.makeStyles)({root:{display:"flex",flexDirection:"column",overflow:"hidden",position:"relative",height:"100%"},borderBottom:{borderBottom:"1px solid rgba(0, 0, 0, 0.12)"}}),H=(0,r.memo)((e=>{let{isLoading:t,historyWithTotal:n,contributorsUris:o,entityUri:i,canLoadMore:a,onLoadMore:c,historyEvent:u}=e;const d=U(),[p,E]=(0,r.useState)(null);(0,r.useEffect)((()=>{E(o)}),[o]);const{historyData:f,findPreviousChange:m}=(e=>{let{entityUri:t,historyChanges:n,selectedUris:l}=e;return(0,r.useMemo)((()=>{const e={[t]:{index:0,lifeTime:[]}},r=[{user:"",timestamp:0,uri:t}],o=(0,s.curry)(((e,n,r)=>{const l=r.uri||t;if(e)if(Array.isArray(e)){if(r.type!==g.b.ENTITY_LOST_MERGE)return null;if(e.includes(l))return r;if(n&&r.uris)return e.some((e=>r.uris.includes(e)))?r:null}else{var o;if(l===e||n&&null!==(o=r.uris)&&void 0!==o&&o.includes(e))return r}return null})),i=(e,t,r)=>(0,s.pipe)((0,s.drop)(e+1),(0,s.find)(o(t,r)))(n),a=t=>(e[t]||l&&!l.includes(t)||(e[t]={index:Object.keys(e).length,lifeTime:[]}),e[t]),c=(e,t)=>{const n=e[e.length-1];!n||n.start&&(n.start.type!==g.b.ENTITY_CREATED||t.type!==g.b.ENTITIES_SPLITTED)?e.push({start:t,end:null}):n.start=t},u=(e,t)=>{let n=!0;if(e.length){const r=e[e.length-1];n=!((!r.start||r.start.timestamp<t.timestamp)&&(!r.end||r.end.timestamp>t.timestamp))}n&&e.push({start:null,end:null})},d=(e,t)=>{if(e.length){const n=e[e.length-1];n.start||(n.start=t)}e.push({start:null,end:t})},p=[];return null==n||n.forEach(((n,l)=>{var o;switch(n.type){case g.b.ENTITIES_SPLITTED:if(!i(l,n.uri||t,!1))return;{const e=n.uri,t=n.uris?[n.uris,e]:[e],r=i(l,t,!0);if(r&&(!e||e===r.uri))return}break;case g.b.ENTITY_LOST_MERGE:case g.b.RELATIONSHIP_CREATED:case g.b.RELATIONSHIP_REMOVED:case g.b.RELATIONSHIP_CHANGED:return}let s=!1;null===(o=n.uris)||void 0===o||o.forEach((e=>{a(e)||(s=!0)}));const E=a(n.uri||t);if(!E)return;const f=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){L(e,t,n[t])}))}return e}({},n);((t,n)=>{var l,o;switch(n.type){case g.b.ENTITY_CREATED:c(t,n);break;case g.b.ENTITIES_MERGED_ON_THE_FLY:case g.b.ENTITY_CHANGED:u(t,n);break;case g.b.ENTITY_LOST_MERGE:case g.b.ENTITY_REMOVED:d(t,n);break;case g.b.ENTITIES_SPLITTED:u(t,n),null===(l=n.uris)||void 0===l||l.forEach((t=>{const l=e[t];if(!l)return;const o=l.lifeTime.length;o?c(l.lifeTime,n):d(l.lifeTime,n),r.push({uri:t,user:n.user,type:n.type,fakeType:o?g.b.FAKE_UPDATE:g.b.FAKE_NAVIGATE_PROFILE,timestamp:n.timestamp})}));break;case g.b.ENTITIES_MERGED:case g.b.ENTITIES_MERGED_MANUALLY:u(t,n),null===(o=n.uris)||void 0===o||o.forEach((t=>{const r=e[t];r&&d(r.lifeTime,n)}))}})(E.lifeTime,f),s&&p.push(f),r.push(f)})),p.forEach((t=>{t.uris.forEach((l=>{e[l]||n.forEach((n=>{let{uri:o,uris:i,timestamp:a,user:c,type:u}=n;o===l&&(null==i||i.forEach((n=>{const l=e[n];if(!l)return;let o=null;switch(u){case g.b.ENTITIES_MERGED:case g.b.ENTITIES_MERGED_MANUALLY:o=g.b.FAKE_FILTERED_INCOMING;break;case g.b.ENTITIES_SPLITTED:o=g.b.FAKE_FILTERED_OUTGOING;break;default:return}const i={fakeType:o,uri:t.uri,uris:[n],type:u,user:c,timestamp:a},d=k(l.lifeTime,t.timestamp);o===g.b.FAKE_FILTERED_INCOMING?(0,s.isNil)(d.endIndex)||(l.lifeTime[d.endIndex].end=i):(0,s.isNil)(d.startIndex)||(l.lifeTime[d.startIndex].start=i),r.splice(r.indexOf(t),0,i)})))}))}))})),r.forEach(((e,n)=>{e.index=n,e.uri=e.uri||t})),{historyData:{historyLanes:e,rows:r},findPreviousChange:(e,t)=>(0,s.pipe)((0,s.slice)(e+1,1/0),(0,s.find)(o(t,!1)))(r)}}),[t,n,l])})({entityUri:i,historyChanges:null==n?void 0:n.changes,selectedUris:p});return l().createElement("div",{className:d.root},l().createElement(A,{values:o,selectedValues:p,onSelectValues:E,entityUri:i,className:d.borderBottom}),l().createElement(D,{historyData:f,isLoading:t,onLoadMore:c,canLoadMore:a,entityUri:i,historyEvent:u,findPreviousChange:m}))}))},7108:(e,t,n)=>{n.d(t,{tO:()=>f,FE:()=>m,k6:()=>h});var r=n(24328),l=n(31421),o=n(50914),i=n(38323),a=n(20414);const s=(0,o.chain)((0,o.cond)([[(0,o.equals)(i.M.MERGE),()=>[a.I.ENTITIES_MERGED,a.I.ENTITIES_MERGED_MANUALLY,a.I.ENTITIES_MERGED_ON_THE_FLY]],[(0,o.equals)(i.M.UNMERGE),()=>[a.I.ENTITIES_SPLITTED]],[(0,o.equals)(i.M.UPDATE),()=>[a.I.ENTITY_CHANGED]]])),c=(0,o.pipe)((0,o.defaultTo)([]),s,(0,o.concat)([a.I.ENTITY_CREATED,a.I.ENTITY_REMOVED,a.I.ENTITY_LOST_MERGE]),(0,l.NPd)((e=>`equals(type, '${e}')`))),u=(0,o.pipe)((0,o.defaultTo)({}),(0,o.reject)(l.O27),(0,o.evolve)({users:(0,l.NPd)(l.F$g),attributes:(0,l.NPd)((e=>`changes(${(0,l.HRH)(e.value)})`)),dateRange:l.lPZ}),(0,o.over)((0,o.lensProp)("activities"),c),o.values,(0,o.reject)(l.O27),(0,o.append)("not equals(user, 'collaboration-service')"),(0,o.map)(l.tM8),(0,o.join)(" and "));var d=n(19701);function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){E(e,t,n[t])}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f={activities:[i.M.MERGE,i.M.UNMERGE,i.M.UPDATE]},m=e=>(0,o.pipe)((0,o.evolve)({activities:(0,o.difference)(f.activities)}),(0,o.reject)((0,o.either)(o.isNil,o.isEmpty)),o.isEmpty)(e||{}),h=e=>{let{entity:t,enabled:n}=e;const[o,i]=(0,r.useState)(f),[a,s]=(0,r.useState)(0),c=(0,r.useMemo)((()=>u(o)),[o]),[E,m]=(0,r.useState)(null),[h,b]=(0,r.useState)(null),[g,y]=(0,r.useState)(!1),v=(0,d._)(),T=null==t?void 0:t.uri,I={max:32,order:"desc"},O=(0,l.O27)(null==o?void 0:o.attributes)||void 0;(0,r.useEffect)((()=>{T&&n&&(y(!0),v((0,l.kgP)(p({entityUri:T,historicUris:E,filter:c,showAll:O},I))).then(b).catch((e=>{console.warn("Failed to load history data",e),b(null)})).finally((()=>{y(!1)})))}),[c,O,E]),(0,r.useEffect)((()=>{T&&n&&(y(!0),v((0,l.wdF)({entityUri:T})).then((e=>{m(e)})).catch((e=>{console.warn("Failed to load history data",e),m(null)})).finally((()=>{y(!1)})),s(0))}),[T,null==t?void 0:t.updatedTime,n]);const x=(0,r.useCallback)((e=>{T&&E&&n&&(y(!0),v((0,l.kgP)(p({entityUri:T,historicUris:E,filter:c,showAll:O,offset:e},I))).then((e=>{b((t=>p({},t,{changes:[...null==t?void 0:t.changes,...e.changes]})))})).catch((e=>{console.warn("Failed to load history data",e)})).finally((()=>{y(!1)})))}),[E,c,n]),S=(0,r.useMemo)((()=>32*(a+1)<(null==h?void 0:h.total)),[h,a]),N=(0,r.useCallback)((e=>{s(0),i(e)}),[]),_=(0,r.useCallback)((()=>{N(p({},f))}),[]),C=(0,r.useCallback)((()=>{S&&(x(32*(a+1)),s(a+1))}),[x,a,S]);return{isLoading:g,canLoadMore:S,onLoadMore:C,onApplyFilter:N,onClearFilter:_,historicUris:E,historyWithTotal:h,historyFilter:o}}},69409:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(24328),l=n(31421),o=n(14201);const i=e=>{let{perspectiveId:t,entity:n,historyButtonId:i}=e;const{perspectiveSettings:a}=(0,o._)(t),{active:s}=a||{},c=s===i,[u,d]=(0,r.useState)(!1),p=null==n?void 0:n.uri;(0,r.useEffect)((()=>{c||d(!1)}),[p]),(0,r.useEffect)((()=>{c&&d(!0)}),[c]);const E=p&&!(0,l.ZiX)(p)&&!(0,l.biM)(n);return{isHistoryEnabled:u&&E,isProfilePersisted:E}}},35722:(e,t,n)=>{n.d(t,{a:()=>a});var r=n(24328),l=n(31421),o=n(19701),i=n(14596);const a=e=>{let{entity:t,historyEvent:n}=e;const[a,s]=(0,r.useState)(!1),c=(0,i.ax)("setHistorySlice"),u=(0,i.cV)(),d=(0,o._)(),{aStamp:p,bStamp:E,overrideUri:f}=n||{},m=f||(null==t?void 0:t.uri);return(0,r.useEffect)((()=>{n&&m&&(s(!0),d(Promise.all([(0,l.lrH)(m,p),E&&1!==E?(0,l.lrH)(m,E):Promise.resolve(null)])).then((e=>{let[t,n]=e;c({aEntity:t,bEntity:n})})).catch((e=>{console.warn("Failed to load entity slice",e)})).finally((()=>{s(!1)})))}),[p,E,m]),{isLoading:a,historySlice:u}}},21256:(e,t,n)=>{n.d(t,{b:()=>i});var r,l=n(20414);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.FAKE_NAVIGATE_PROFILE="FAKE_NAVIGATE_PROFILE",e.FAKE_FILTERED_INCOMING="FAKE_FILTERED_INCOMING",e.FAKE_FILTERED_OUTGOING="FAKE_FILTERED_OUTGOING",e.FAKE_UPDATE="FAKE_UPDATE"}(r||(r={}));const i=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){o(e,t,n[t])}))}return e}({},l.I,r)},38323:(e,t,n)=>{let r;n.d(t,{M:()=>r}),function(e){e.UPDATE="UPDATE",e.MERGE="MERGE",e.UNMERGE="UNMERGE"}(r||(r={}))},18408:(e,t,n)=>{n.d(t,{D:()=>E});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(50914),s=n(83820),c=n(38677),u=n(10050),d=n(79573);const p=3e5,E=function(){let{anchorOrigin:e={vertical:"bottom",horizontal:"center"},showDismiss:t,dismissTitle:n=i().text("Dismiss"),autoHideDuration:o=p,onDismissClick:E=d.ZT}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[f,m]=(0,r.useState)(!1),[h,b]=(0,r.useState)(""),g=(0,r.useCallback)((()=>{m(!1),b("")}),[]),y=(0,r.useCallback)(((e,t)=>{"clickaway"!==t&&g()}),[g]),v=(0,r.useCallback)((e=>{m(!0),b(e)}),[]),T=(0,r.useCallback)((()=>l().createElement(s.Z,{container:document.body},l().createElement(u.Z,{open:f,anchorOrigin:e,autoHideDuration:o,onClose:y,message:h,style:{maxWidth:500},action:t?l().createElement(c.Z,{color:"primary",onClick:(0,a.pipe)(g,E)},n):void 0}))),[f,g,h]);return{SnackbarRenderer:T,showSnackbarMessage:v}}}}]);
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a2050908-d597-4fc8-90ca-e19d6d09c877",e._sentryDebugIdIdentifier="sentry-dbid-a2050908-d597-4fc8-90ca-e19d6d09c877")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1641"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3902],{55234:(e,t,n)=>{n.d(t,{Z:()=>I});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(71153),s=n.n(a),c=n(50914),u=n(31421),d=n(79312),p=n(15793),E=n(19602),f=n(59952),m=n(33117),h=n(14596),b=n(72342);function g(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 v={input:e=>g({},e,{fontSize:"14px"}),menuPortal:e=>g({},e,{zIndex:1300})},T=(0,b.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"},noOptionsMessage:{fontSize:"14px"}});const I=e=>{let{entityType:t,selectedAttributes:n,className:o,onChange:a,title:b,disableUnderline:g,menuPlacement:y="bottom"}=e;const I=T(),O=(0,h.AH)(),x=(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 l=`${n&&n+" / "}${r.label}`;e.push({label:r.label,value:r.uri,attrType:r,chipLabel:l,level:t});const o=(0,u.EUG)(O,r);return e.concat(o?x(o,t+1,l):[])}),[])}),[O]),S=(0,r.useMemo)((()=>x((null==t?void 0:t.attributes)||[])),[t,x]);return l().createElement("div",{className:s()(I.root,o),"data-reltio-id":"attribute-selector"},l().createElement(d.Z,{className:I.title,variant:"subtitle1"},b||i().text("Attribute")),l().createElement(p.Z,{value:n,options:S,TextFieldProps:{InputProps:{disableUnderline:g},classes:{root:I.dropDownInput}},components:{DropdownIndicator:f.Z,MultiValue:e=>{let{data:t}=e,n=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,["data"]);return l().createElement(E.Z,n,t.chipLabel)},Option:e=>{let{isFocused:t,isSelected:n,data:r,label:o,innerProps:i}=e;return l().createElement("div",i,l().createElement(m.Z,{checked:n,level:r.level,data:r,label:o,labelInText:o,isFocused:t}))}},onChange:(0,c.pipe)((0,c.defaultTo)([]),a),styles:v,classes:I,menuPlacement:y,menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},77875:(e,t,n)=>{n.d(t,{Z:()=>E});var r=n(24328),l=n.n(r),o=n(50914),i=n(31421),a=n(53242),s=n(90590),c=n(79573);const u=(0,n(72342).makeStyles)({root:{display:"flex",flex:1},input:{height:"100%",paddingLeft:"12px",paddingRight:"8px",fontSize:"14px"},inputNumber:{minWidth:"60px",marginRight:10,height:"100%",backgroundColor:"rgba(0, 0, 0, 0.03)"},inputUnit:{width:"100%"}});var d=n(7342);const p=["minutes","hours","days","weeks","months","years"],E=e=>{let{interval:[t,n],onChange:r,onFocus:E}=e;const f=u(),m=(0,o.pipe)(c.NA,parseInt,(e=>[e,n]),r),h=(0,o.pipe)((e=>{let{value:n}=e;return[t,n]}),r);return l().createElement("div",{className:f.root},l().createElement(a.Z,{variant:"standard",type:"number",value:t||"",onChange:m,inputProps:{min:1,onFocus:E},InputProps:{classes:{root:f.input}},className:f.inputNumber}),l().createElement(s.Z,{label:"",placeholder:(0,d.Z)(n),className:f.inputUnit,value:{value:n,label:(0,d.Z)((0,i.wsP)(n))},options:p.map((e=>({value:e,label:(0,d.Z)((0,i.wsP)(e))}))),onChange:h,TextFieldProps:{inputProps:{onFocus:E},InputProps:{classes:{root:f.input}}}}))}},15793:(e,t,n)=>{n.d(t,{Z:()=>C});var r=n(24328),l=n.n(r),o=n(13980),i=n.n(o),a=n(50914),s=n(70347);const c=(0,n(4515).Z)(s.ZP);var u=n(49861),d=n(12350),p=n(95341),E=n(80852),f=n(71153),m=n.n(f),h=n(40007);function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}function g(e){const{innerProps:t,innerRef:n,children:r,isFocused:o,isSelected:i,selectProps:{classes:a},label:s}=e;return l().createElement(p.Z,b({className:m()(a.option,{[a["option--selected"]]:i}),ref:n,selected:o,component:"div"},t),l().createElement(E.Z,{color:"primary",checked:i}),l().createElement(h.Z,{value:s},l().createElement("div",{className:a["option--item"]},r)))}g.propTypes={children:i().node,innerProps:i().shape({id:i().string.isRequired,key:i().string,onClick:i().func.isRequired,onMouseMove:i().func.isRequired,onMouseOver:i().func.isRequired,tabIndex:i().number.isRequired}).isRequired,innerRef:i().oneOfType([i().oneOf([null]),i().func,i().shape({current:i().any.isRequired})]),isFocused:i().bool.isRequired,isSelected:i().bool.isRequired,label:i().string,selectProps:i().shape({classes:i().shape({option:i().string})})};const y={Option:g};var v=n(72342),T=n(79573);function I(){return I=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},I.apply(this,arguments)}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){x(e,t,n[t])}))}return e}function x(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,v.makeStyles)((e=>({label:{top:6,left:16},placeholder:e=>({display:!e.placeholder||e.label?"none":void 0}),"option--selected":{fontWeight:400},clearIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)},dropdownIndicator:{padding:e.spacing(1),margin:e.spacing(.25,.5)}})));let N=0;function _(e){const{label:t,creatable:n,getOptions:o,loadingIndicator:i,components:s,classes:p,styles:E,onChange:f,onInputChange:m,menuPlacement:h="auto"}=e,b=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,["label","creatable","getOptions","loadingIndicator","components","classes","styles","onChange","onInputChange","menuPlacement"]),g=n?c:o?d.Z:u.Z,[v,x]=(0,r.useState)(""),_=S((0,a.omit)(["classes"],e)),C="custom-select-"+N++,R=O({},y,s),D=(0,T.ze)(_,p),P=O({indicatorSeparator:e=>O({},e,{margin:"10px 0"}),loadingIndicator:e=>O({},e,{display:i?e.display:"none"}),loadingMessage:e=>O({},e,{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'})},E),M=t?{inputId:C,TextFieldProps:O({label:t,InputLabelProps:{htmlFor:C,shrink:!(!e.value||!e.value.length)||void 0,className:D.label}},e.TextFieldProps)}:{};return l().createElement(g,I({isMulti:!0,inputId:C,inputValue:v,onChange:function(e,t){f(e,t),"create-option"===t.action&&(x(""),m("",{action:"input-change"}))},onInputChange:function(e,t){let{action:n}=t;m(e,{action:n}),"set-value"!==n&&x(e)},closeMenuOnSelect:!1,hideSelectedOptions:!1,classes:D,components:R,styles:P,menuPlacement:h,loadOptions:o},M,b))}_.defaultProps={creatable:!1,cacheOptions:!0,components:{},classes:{},placeholder:"",loadingIndicator:!1,onInputChange:()=>{},onChange:()=>{}},_.propTypes={creatable:i().bool,cacheOptions:i().bool,defaultOptions:i().bool,value:i().arrayOf(i().shape({label:i().string.isRequired,value:i().any})),options:i().arrayOf(i().shape({label:i().string.isRequired,value:i().any})),onChange:i().func,onInputChange:i().func,placeholder:i().string,label:i().string,loadingIndicator:i().bool,components:i().shape({ClearIndicator:i().func,Control:i().func,DropdownIndicator:i().func,DownChevron:i().func,CrossIcon:i().func,Group:i().func,GroupHeading:i().func,IndicatorsContainer:i().func,IndicatorSeparator:i().func,Input:i().func,LoadingIndicator:i().func,Menu:i().func,MenuList:i().func,MenuPortal:i().func,LoadingMessage:i().func,NoOptionsMessage:i().func,MultiValue:i().func,MultiValueContainer:i().func,MultiValueLabel:i().func,MultiValueRemove:i().func,Option:i().func,Placeholder:i().func,SelectContainer:i().func,SingleValue:i().func,ValueContainer:i().func}),classes:i().shape({control:i().string,valueContainer:i().string,multiValue:i().string,noOptionsMessage:i().string,singleValue:i().string,placeholder:i().string,menu:i().string,clearIndicator:i().string,dropdownIndicator:i().string,option:i().string,"option--selected":i().string,label:i().string}),styles:i().shape({clearIndicator:i().func,container:i().func,control:i().func,dropdownIndicator:i().func,group:i().func,groupHeading:i().func,indicatorsContainer:i().func,indicatorSeparator:i().func,input:i().func,loadingIndicator:i().func,loadingMessage:i().func,menu:i().func,menuList:i().func,menuPortal:i().func,multiValue:i().func,multiValueLabel:i().func,multiValueRemove:i().func,noOptionsMessage:i().func,option:i().func,placeholder:i().func,singleValue:i().func,valueContainer:i().func}),TextFieldProps:i().object,getOptions:i().func,menuPlacement:i().string,menuPortalTarget:i().object,menuShouldBlockScroll:i().bool,captureMenuScroll:i().bool,getOptionValue:i().func,isSearchable:i().bool,inputRef:i().shape({current:i().object})};const C=_},15422:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(24328),l=n.n(r),o=n(79312);function i(){return i=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},i.apply(this,arguments)}const a=e=>l().createElement("svg",i({width:256,height:256,viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),l().createElement("circle",{cx:128,cy:128,r:128,fill:"#0072CE",fillOpacity:.1}),l().createElement("mask",{id:"AttributesList_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:256,height:256},l().createElement("circle",{cx:128,cy:128,r:128,fill:"#fff"})),l().createElement("g",{mask:"url(#AttributesList_svg__a)"},l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-16 9h256v247H-16V9z",fill:"url(#AttributesList_svg__b)"}),l().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z",fill:"url(#AttributesList_svg__c)"}),l().createElement("path",{opacity:.06,fillRule:"evenodd",clipRule:"evenodd",d:"M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000"}),l().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#fff"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:106,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:120,cy:136,r:6,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:169,r:9,fill:"#B6C7DB"}),l().createElement("circle",{cx:67,cy:199,r:9,fill:"#B6C7DB"}),l().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M92.514 108v-8h-2v40.365h11.178v-2h-9.178V110h9.178v-2h-9.178z",fill:"#2B98F0"}),l().createElement("path",{opacity:.54,fillRule:"evenodd",clipRule:"evenodd",d:"M95.071 77l-3.535 3.535L88 77h7.071z",fill:"#000"}),l().createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#fff"}),l().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zm90 0a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z",fill:"#979797"})),l().createElement("defs",null,l().createElement("linearGradient",{id:"AttributesList_svg__b",x1:-16,y1:9,x2:-16,y2:256,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:.01}),l().createElement("stop",{offset:1,stopColor:"#F4F4F4"})),l().createElement("linearGradient",{id:"AttributesList_svg__c",x1:266.117,y1:181.111,x2:154.882,y2:77.681,gradientUnits:"userSpaceOnUse"},l().createElement("stop",{stopOpacity:.01}),l().createElement("stop",{offset:1})))),s=(0,n(72342).makeStyles)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box",padding:"40px"},logo:{width:"190px",height:"190px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:400,marginTop:"24px"},text:{color:e.palette.text.primary,fontSize:"20px",fontWeight:500,lineHeight:"23px",textAlign:"center"},secondaryText:{color:e.palette.text.primary,fontSize:"14px",fontWeight:"normal",lineHeight:"16px",letterSpacing:"0.24px",textAlign:"center",paddingTop:"8px"}}))),c=e=>{let{IconRenderer:t=a,text:n,secondaryText:r}=e;const i=s();return l().createElement("div",{className:i.root},l().createElement(t,{className:i.logo}),l().createElement("div",{className:i.textBox},l().createElement(o.Z,{className:i.text},n),r&&l().createElement(o.Z,{className:i.secondaryText},r)))}},15791:(e,t,n)=>{n.d(t,{Z:()=>v});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(50914),s=n(71153),c=n.n(s),u=n(79312),d=n(15793),p=n(59952),E=n(31421),f=n(14596),m=n(72342);function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){b(e,t,n[t])}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const g={input:e=>h({},e,{fontSize:"14px"}),loadingMessage:e=>h({},e,{fontSize:"14px"}),menuPortal:e=>h({},e,{zIndex:1300})},y=(0,m.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},option:{fontSize:"14px",height:"32px"}}),v=e=>{let{selectedUsers:t,onChange:n,className:o,disableUnderline:s}=e;const m=y(),h=(0,f.Uv)(),b=(0,f.au)(),v=e=>({value:e,label:e}),T=e=>e.map(v),I=(0,r.useRef)();return l().createElement("div",{className:c()(m.root,o),"data-reltio-id":"user-selector"},l().createElement(u.Z,{className:m.title,variant:"subtitle1"},i().text("User")),l().createElement(d.Z,{value:T(t),onChange:(0,a.pipe)((0,a.defaultTo)([]),(0,a.pluck)("value"),n),defaultOptions:!0,getOptions:e=>(I.current||(I.current=(0,E.kz_)({tenant:h,servicesPath:b})),I.current.then((0,a.pipe)((0,a.pluck)("username"),(e=>t=>e?t.filter((t=>E.P6Y.strings.search(t,e))):t)(e),T))),TextFieldProps:{InputProps:{disableUnderline:s},className:m.dropDownInput},components:{DropdownIndicator:p.Z},styles:g,classes:m,menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))}},20414:(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={}))},57312:(e,t,n)=>{n.d(t,{te:()=>d,Io:()=>p,rx:()=>E,_V:()=>f,Xr:()=>m});var r=n(31421),l=n(50914),o=n(2507),i=n.n(o),a=n(20414);function s(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}const u=(0,l.path)(["data","type"]),d=e=>{const{items:t,label:n}=e,[r]=t||[];return u(r)||n},p=e=>{const{items:t=[],label:n}=e,r=e=>{return t=u(e)||n,(0,l.pipe)(l.values,(0,l.includes)(t))(a.I);var t},o=(0,l.filter)(r)(t);return t.length!==o.length&&console.error("Activities not implemented:",(0,l.reject)(r)(t)),s({},e,{items:o,itemsTotal:o.length})},E=e=>(0,l.pipe)((0,l.propOr)([],"items"),(0,l.groupBy)(u),l.values,(0,l.ifElse)((e=>{let{length:t}=e;return t>1}),(0,l.map)((t=>s({},e,{items:t,itemsTotal:t.length}))),(()=>[e])))(e),f=(e,t,n,o)=>{const i=(0,r.zeJ)(n,t),a=(0,r.PFL)(i),s=(0,r.mB6)({attributePresentations:o,dataTypeDefinition:a});return(0,l.isNil)(e)?"":"string"==typeof e?i?s(e):e:Object.entries(e).flatMap((e=>{let[l,i]=e;return i.map((e=>f(e.value,(0,r.tCm)(t,l),n,o)))})).join(", ")},m=e=>({[a.I.COMMENT_ADDED]:i().text("Comment added"),[a.I.COMMENT_DELETED]:i().text("Comment deleted"),[a.I.COMMENT_UPDATED]:i().text("Comment updated"),[a.I.ENTITIES_MERGED]:i().text("Profile merged"),[a.I.ENTITIES_MERGED_MANUALLY]:i().text("Profile merged manually"),[a.I.ENTITIES_MERGED_ON_THE_FLY]:i().text("Profile merged on the fly"),[a.I.ENTITIES_SPLITTED]:i().text("Profile un-merged"),[a.I.ENTITY_CHANGED]:i().text("Profile updated"),[a.I.ENTITY_CREATED]:i().text("Profile created"),[a.I.ENTITY_LOST_MERGE]:i().text("Profile lost merge"),[a.I.ENTITY_REMOVED]:i().text("Profile removed"),[a.I.GROUP_CHANGED]:i().text("Group updated"),[a.I.GROUP_CREATED]:i().text("Group created"),[a.I.GROUP_REMOVED]:i().text("Group removed"),[a.I.MODEL_UPDATED]:i().text("Model was updated"),[a.I.NOT_MATCHES_RESET]:i().text("Not matches reset"),[a.I.NOT_MATCHES_SET]:i().text("Not matches set"),[a.I.PERIODIC_TASK_SCHEDULED]:i().text("Periodic task was scheduled"),[a.I.POTENTIAL_MATCHES_FOUND]:i().text("Potential matches found"),[a.I.POTENTIAL_MATCHES_REMOVED]:i().text("Potential matches removed"),[a.I.RELATIONSHIP_CHANGED]:i().text("Relationship updated"),[a.I.RELATIONSHIP_CREATED]:i().text("Relationship created"),[a.I.RELATIONSHIP_REMOVED]:i().text("Relationship removed"),[a.I.USER_LOGIN]:i().text("Logged in"),[a.I.USER_LOGOUT]:i().text("Logged out"),[a.I.USER_PROFILE_VIEW]:i().text("Profile viewed"),[a.I.USER_SEARCH]:i().text("Searched"),[a.I.ANALYTICS_ATTRIBUTES_CHANGED]:i().text("Analytics attribute changed"),[a.I.SFDC_CONNECTOR_SYNCHRONIZATION_ISSUE]:i().text("SFDC connector synchronization issue")}[e]||"")},27446:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),l=n.n(r),o=n(95038),i=n.n(o),a=n(2507),s=n.n(a),c=n(50914),u=n(31421),d=n(79573),p=n(53242),E=n(47019),f=n(59952),m=n(98192);const h=(0,n(72342).makeStyles)({root:{flex:1},dropdownIndicator:{transition:"transform .15s ease"},inputRoot:{fontSize:"14px",height:46},input:{padding:"0 12px 0"},dateOptionLabel:{minWidth:"100px"},paper:{minWidth:"112px"}}),b=i().localeData().longDateFormat("L"),g=e=>{let{values:t,onChange:n,onFocus:o=d.ZT}=e;const i=b,a=(0,r.useRef)(null),[g,y]=(0,r.useState)(!1),v=h(),T=(0,r.useCallback)((()=>{y((e=>!e)),o()}),[o]);return l().createElement("div",{className:v.root},l().createElement(p.Z,{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,i))).join(" — "),onClick:T,variant:"filled",ref:a,InputProps:{endAdornment:l().createElement(f.Z,{selectProps:{classes:v,menuIsOpen:g},innerProps:{}}),disableUnderline:(0,c.isNil)(t),readOnly:!0,classes:{root:v.inputRoot,input:v.input}},InputLabelProps:{shrink:!1},placeholder:s().text(`${i} — ${i}`)}),l().createElement(E.ZP,{open:g,anchorEl:a.current,onClose:()=>{y(!1)},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2},l().createElement(m.Z,{values:t,onApply:e=>{n(e),y(!1)},type:u.oS0.TYPE_ACTIVENESS_DATE})))}},70675:(e,t,n)=>{n.d(t,{Z:()=>oe});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(56961),s=n(79312),c=n(50914),u=n(79935),d=n(80653),p=n(38677),E=n(47019),f=n(79811),m=n(290),h=n(35936),b=n(31421),g=n(40435),y=n(15791),v=n(55234),T=n(71153),I=n.n(T),O=n(90590);const x=[b.KfU.WITHIN,b.KfU.AGO,b.KfU.BETWEEN],S=e=>({[b.KfU.WITHIN]:i().text("Within the last"),[b.KfU.AGO]:i().text("More than"),[b.KfU.BETWEEN]:i().text("Date range")}[e]||"");var N=n(77875),_=n(55962),C=n(27446),R=n(72342);const D=(0,R.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},intervalContainer:{display:"flex",justifyContent:"space-between"},typeInput:{width:160,marginRight:10}}),P=[null,null],M=[null,"hours"],w=e=>{let{value:t,onChange:n,className:o}=e;const a=D(),c=e=>e===b.KfU.WITHIN||e===b.KfU.AGO,u=e=>e===b.KfU.BETWEEN,d=u(null==t?void 0:t.type)?t.period:P,p=c(null==t?void 0:t.type)?t.period:M,[E,f]=(0,r.useState)(d),[m,h]=(0,r.useState)(p),g=(null==t?void 0:t.type)||b.KfU.WITHIN,y=e=>c(e)?m:u(e)?E:void 0,v=e=>{n({type:g,period:e})};return(0,_.D)((()=>{t?c(t.type)?h(t.period):u(t.type)&&f(t.period):(f(P),h(M))}),[t]),l().createElement("div",{className:I()(a.root,o),"data-reltio-id":"date-range-selector"},l().createElement(s.Z,{className:a.title,variant:"subtitle1"},i().text("Date")),l().createElement("div",{className:a.intervalContainer},l().createElement(O.Z,{label:"",className:a.typeInput,value:{value:g,label:S(g)},options:x.map((e=>({value:e,label:S(e)}))),onChange:e=>{let{value:r}=e;(null==t?void 0:t.type)!==r&&n({period:y(r),type:r})}}),c(g)?l().createElement(N.Z,{interval:m,onChange:v}):l().createElement(C.Z,{values:E,onChange:v})))};var A=n(15793),L=n(59952),k=n(38323);const U=[k.M.UPDATE,k.M.MERGE,k.M.UNMERGE];function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){G(e,t,n[t])}))}return e}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const j={input:e=>H({},e,{fontSize:"14px"}),menuPortal:e=>H({},e,{zIndex:1300})},Z=(0,R.makeStyles)({root:{flex:1},title:{paddingBottom:"10px",paddingLeft:"5px",fontSize:"14px"},dropDownInput:{width:"100%",justifyContent:"center",backgroundColor:"rgba(0, 0, 0, 0.03)",borderTop:"4px"},valueContainer:{overflowY:"auto",height:44},option:{fontSize:"14px",height:"32px"}}),F=e=>{let{selectedHistoryActivityTypes:t,onChange:n,className:r,disableUnderline:o}=e;const a=Z(),u=e=>{return{value:e,label:(t=e,{[k.M.UPDATE]:i().text("Update"),[k.M.MERGE]:i().text("Merge"),[k.M.UNMERGE]:i().text("Unmerge")}[t]||"")};var t},d=e=>e.map(u),p=d(U);return l().createElement("div",{className:I()(a.root,r),"data-reltio-id":"history-activity-selector"},l().createElement(s.Z,{className:a.title,variant:"subtitle1"},i().text("Activity")),l().createElement(A.Z,{value:d(t),onChange:(0,c.pipe)((0,c.defaultTo)([]),(0,c.pluck)("value"),n),options:p,TextFieldProps:{InputProps:{disableUnderline:o},classes:{root:a.dropDownInput}},components:{DropdownIndicator:L.Z},styles:j,classes:a,menuPlacement:"bottom",menuPortalTarget:document.body,menuShouldBlockScroll:!0,captureMenuScroll:!1}))};var z=n(7108);const B=(0,R.makeStyles)({popup:{width:500,minHeight:500,overflowY:"hidden",display:"flex",flexDirection:"column"},filterContainer:{maxHeight:"400px",borderColor:"rgba(0,0,0,0.12)"},filterItem:{"&:not(:last-child)":{marginBottom:12}},clearButton:{marginRight:"auto"},input:{height:"100%",paddingLeft:"12px",paddingRight:"8px"},divider:{marginBottom:12}});function V(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=>{let{className:t,filter:n,onApplyFilter:o,entityType:s}=e;const u=B(),T=(0,r.useRef)(),[I,O]=(0,r.useState)(!1),[x,S]=(0,r.useState)(n),{activities:N=[],attributes:_=[],dateRange:C=null,users:R=[]}=x||{},D=(0,z.FE)(n)?"inherit":"primary";(0,r.useEffect)((()=>{I&&S(n)}),[n,I]);const P=(0,c.curry)(((e,t)=>{S((n=>V({},n,{[e]:t})))})),M=(0,r.useCallback)((()=>{O((e=>!e))}),[]),A=(0,r.useCallback)((()=>{C&&(0,b.RZp)(C)?o(x):o((0,c.dissoc)("dateRange",x)),M()}),[x,C,o,M]),L=(0,r.useCallback)((()=>{S(V({},z.tO))}),[]);return l().createElement(l().Fragment,null,l().createElement(g.Z,{ref:T,color:D,icon:d.Z,size:"L",onClick:M,className:t}),l().createElement(E.ZP,{classes:{paper:u.popup},open:I,anchorEl:T.current,onClose:M,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}},l().createElement(h.Z,null,i().text("Filter")),l().createElement(m.Z,{dividers:!0,className:u.filterContainer},l().createElement(w,{value:C,onChange:P("dateRange"),className:u.filterItem}),l().createElement(a.Z,{light:!0,className:u.divider}),l().createElement(y.Z,{selectedUsers:R,onChange:P("users"),className:u.filterItem,disableUnderline:!0}),l().createElement(a.Z,{light:!0,className:u.divider}),l().createElement(F,{selectedHistoryActivityTypes:N,onChange:P("activities"),className:u.filterItem,disableUnderline:!0}),l().createElement(a.Z,{light:!0,className:u.divider}),l().createElement(v.Z,{selectedAttributes:_,entityType:s,onChange:P("attributes"),className:u.filterItem,title:i().text("Attribute updated"),disableUnderline:!0})),l().createElement(f.Z,null,l().createElement(p.Z,{onClick:L,className:u.clearButton},i().text("Clear all")),l().createElement(p.Z,{onClick:M},i().text("Cancel")),l().createElement(p.Z,{color:"primary",onClick:A},i().text("Apply")))))};var W=n(50985),K=n(98538),q=n(95341),X=n(42713),J=n(79573);const Q=(0,R.makeStyles)({menuItem:{minHeight:"32px"},menuText:{fontSize:"13px",lineHeight:"15px",letterSpacing:0,marginLeft:"30px"},checkIcon:{position:"absolute",color:"rgba(0, 0, 0, 0.54)"}}),ee=(0,r.forwardRef)(((e,t)=>{let{item:n,onMenuClose:r=J.ZT}=e;const o=Q(),{text:i,selected:a,onClick:c}=n;return l().createElement(q.Z,{classes:{root:o.menuItem},onClick:e=>{r(),c(e)},ref:t},a&&l().createElement(X.Z,{className:o.checkIcon}),l().createElement(s.Z,{classes:{root:o.menuText}},i))}));ee.displayName="MenuItemRenderer";const te=ee;var ne=n(14596);const re=()=>{const e=(0,ne.ax)("setHistoryMode"),t=(0,ne.bn)(),n=[{text:i().text("Compare to Current view"),selected:t===b.Z9$.Current,onClick:()=>e(b.Z9$.Current)},{text:i().text("Compare to Previous view"),selected:t===b.Z9$.Previous,onClick:()=>e(b.Z9$.Previous)}];return l().createElement(K.Z,{MenuItemRenderer:te,buttonComponent:g.Z,buttonProps:{icon:W.Z,size:"L"},menuId:"history-menu",menuItems:n})},le=(0,R.makeStyles)({root:{display:"flex",flex:1,alignItems:"center"},icon:{margin:4},divider:{borderColor:"rgba(0,0,0,0.12)",margin:"3px 19px"},count:{fontSize:14},filterButton:{marginRight:"-4px"}}),oe=e=>{let{total:t,entityType:n,filter:r,onApplyFilter:o}=e;const d=le();return l().createElement("div",{className:d.root},l().createElement(s.Z,{variant:"h6"},i().text("History")),!(0,c.isNil)(t)&&l().createElement(l().Fragment,null,l().createElement(a.Z,{orientation:"vertical",flexItem:!0,className:d.divider}),l().createElement(s.Z,{variant:"body1",color:"textSecondary",className:d.count},1===t?i().text("${count} contributing profile",{count:t}):i().text("${count} contributing profiles",{count:t}))),l().createElement(u.Z,null),l().createElement($,{className:d.filterButton,entityType:n,filter:r,onApplyFilter:o}),l().createElement(re,null))}},95085:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(15422);const s=()=>l().createElement(a.Z,{text:i().text("History in the making"),secondaryText:i().text("When you create an event or perform an activity, it will show up here.")})},32158:(e,t,n)=>{n.d(t,{Z:()=>H});var r=n(24328),l=n.n(r),o=n(44443),i=n(2507),a=n.n(i),s=n(50914),c=n(71153),u=n.n(c),d=n(31421),p=n(38677),E=n(79312),f=n(57312),m=n(72342);const h=(0,m.makeStyles)((()=>({historyRow:{position:"relative",padding:"8px 12px 16px",cursor:"pointer"},selected:{background:"rgba(0,0,0,0.05)","&:before":{content:'""',background:"rgba(0,0,0,0.05)",width:"100%",height:"100%",position:"absolute",left:"-100%",top:0}},rowHeader:{display:"flex",position:"relative"},badge:e=>{let{color:t}=e;return{position:"absolute",width:"2px",height:"100%",left:"-9px",pointerEvents:"none",background:t,"&:before":{height:"100%",width:"3px",content:'""',left:"-3px",background:t,position:"absolute",opacity:.06}}},title:{color:"rgba(0,0,0,0.87)",fontSize:"13px",letterSpacing:0,lineHeight:"16px",fontWeight:400,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","&.bold":{fontWeight:500}},date:{marginLeft:"auto",color:"rgba(0,0,0,0.54)",fontSize:"11px",letterSpacing:0,lineHeight:"16px",flexShrink:0},user:{color:"rgba(0,0,0,0.38)",fontSize:"12px",letterSpacing:0,lineHeight:"14px"}}))),b=e=>{let{change:t,isCurrent:n,isSelected:r,onClick:o}=e;const{uri:i,type:s,matchGroups:c,user:p,timestamp:m}=t,b=(0,d.GtP)(i),g=h({color:b});return l().createElement("div",{className:u()(g.historyRow,{[g.selected]:r}),onClick:o},l().createElement("div",{className:g.rowHeader},l().createElement("div",{className:g.badge}),l().createElement(E.Z,{className:u()(g.title,{bold:n})},n?a().text("Current view"):(0,f.Xr)(s)),!n&&l().createElement(E.Z,{className:g.date},a().date(m,"L LT"))),c&&l().createElement(E.Z,{className:g.title},a().text("Match rule:")," ",c.join(", ")),l().createElement(E.Z,{className:g.user},p))};var g=n(21256);const y=e=>e===g.b.FAKE_FILTERED_INCOMING||e===g.b.FAKE_FILTERED_OUTGOING,v=e=>{let{x:t,y:n,toX:r,toY:o,color:i,isDashed:a}=e;const s=((e,t,n,r)=>{const l=t>r,o=e<n,i=l?-6:6;return`M${e} ${t} L${o?n-12:n+12} ${t} ${o?`c 6 0 12 ${i} 12`:`c -6 0 -12 ${i} -12`} ${l?-12:12} L${n} ${r}`})(t,n,r,o);return l().createElement("path",{d:s,stroke:i,strokeWidth:2,fill:"none",strokeDasharray:a?"3,3":void 0})};function T(){return T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}const I=(0,r.forwardRef)(((e,t)=>{let{x:n,y:r,color:o,isDashed:i,isCollapsed:a,showCollapseIcon:s,showLine:c}=e,u=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,["x","y","color","isDashed","isCollapsed","showCollapseIcon","showLine"]);const d=s?6:3;return l().createElement("g",T({},u,{ref:t}),c&&l().createElement("rect",{id:"line",x:n-d-4,y:r-d-4,width:2*d+8,height:2,fill:o}),l().createElement("circle",{cx:n,cy:r,r:d,fill:i?"#fff":o,stroke:o,strokeDasharray:i?"1,1":void 0,strokeWidth:2}),s&&l().createElement("g",{id:"icon"},l().createElement("rect",{x:n-4,y:r-1,width:8,height:2,fill:"#fff"}),a&&l().createElement("rect",{x:n-1,y:r-4,width:2,height:8,fill:"#fff"})))}));const O=(0,n(78223).Z)(I),x=(0,r.memo)((e=>{let{graphData:t,onHistoryCircleMouseOver:n}=e;const{historyLanes:r,rows:o}=t,i=[16],{links:a,rowLines:s,circles:c}=o.reduce(((e,t,a)=>{let{uri:s,height:c,uris:u,type:p,fakeType:E,index:f,timestamp:m,label:h}=t;const b=16*r[s].index+24,T=i[a];i.push(T+c);const I=y(E),x=I?u[0]:s,S=!(null!=u&&u.some((e=>r[e])));e.circles.push(l().createElement(O,{tooltipTitle:h,tooltipPlacement:"top",onMouseOver:n?()=>n(s,m,f):void 0,key:`circle-${x}-${a}`,x:b,y:T,color:(0,d.GtP)(x),isDashed:I,isCollapsed:S,showCollapseIcon:!!u,showLine:E===g.b.FAKE_NAVIGATE_PROFILE})),e.rowLines.push(l().createElement("rect",{key:`${x}-${f}`,x:b,y:T-8,width:"100%",height:16,fill:(0,d.GtP)(x),opacity:.06}));const N=p===g.b.ENTITIES_SPLITTED;return null==u||u.forEach((t=>{const n=r[t];if(!n)return;const i=o[a].height,s=16*n.index+24,c=N?T-i:T+i;b!==s&&e.links.push(l().createElement(v,{key:`link-${t}-${f}`,x:b,y:T,toX:s,toY:c,isDashed:y(E),color:(0,d.GtP)(t)}))})),e}),{links:[],circles:[],rowLines:[]}),u=16*Object.keys(r).length+24,p=i[i.length-1]-16;return Object.entries(r).forEach((e=>{let[t,n]=e;const r=16*n.index+24;n.lifeTime.forEach(((e,s)=>{var u;let{start:p,end:E}=e;if((null===(u=o[null==E?void 0:E.index])||void 0===u?void 0:u.type)===g.b.ENTITIES_SPLITTED)return;const f=(null==p?void 0:p.type)===g.b.ENTITIES_SPLITTED?(null==p?void 0:p.index)-1:null==p?void 0:p.index,m=(null==E?void 0:E.type)===g.b.ENTITIES_MERGED_MANUALLY||(null==E?void 0:E.type)===g.b.ENTITIES_MERGED?(null==E?void 0:E.index)+1:null==E?void 0:E.index,h=i[f]||i[i.length-2],b=i[m]||16;if(h<=b)return;const y=(0,d.GtP)(t);!E&&n.index>0&&c.push(l().createElement(I,{key:`initCircle-${t}-${s}`,x:r,y:b,color:y,showLine:!0})),a.unshift(l().createElement("path",{key:`line-${t}-${s}`,d:`M${r} ${h} L${r} ${b}`,stroke:y,strokeWidth:2}))}))})),l().createElement("svg",{className:"chart",width:u,height:p},l().createElement("g",{id:"rowLines"},s),l().createElement("g",{id:"links"},a),l().createElement("g",{id:"circles"},c))}));var S=n(87378),N=n(14596);const _=(0,m.makeStyles)({historyTree:{display:"grid",gridTemplateColumns:"auto 1fr",overflowY:"auto"},graph:{overflowX:"auto",overflowY:"hidden"},history:{minWidth:"260px"},buttonContainer:{gridColumnStart:1,gridColumnEnd:3,padding:"8px 16px"},shadow:{boxShadow:"inset -8px 0px 5px -5px rgba(0,0,0,0.1)"}});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){R(e,t,n[t])}))}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const D=e=>{let{historyData:t,isLoading:n,canLoadMore:i,onLoadMore:c,entityUri:E,historyEvent:f,findPreviousChange:m}=e;const h=_(),[g,y]=(0,r.useState)({historyLanes:{},rows:[]}),[v,T]=(0,r.useState)(!1),[I,O]=(0,r.useState)(-1),R=(0,N.ax)("setHistoryEvent"),D=(0,N.ax)("clearHistoryEvent"),P=(0,N.ax)("modeUpdated"),M=(0,N.AH)(),w=(0,N.o_)();(0,r.useEffect)((()=>{if((0,s.isNil)(f))return void O(0);const e=e=>(null==e?void 0:e.uri)===((null==f?void 0:f.overrideUri)||E)&&(null==e?void 0:e.timestamp)===(null==f?void 0:f.aStamp),n=-1!==I?t.rows[I]:null,r=t.rows.findIndex((t=>e(t)));O(e(n)?I:r)}),[t.rows,f]);const A=(0,r.useRef)(null),L=(0,r.useCallback)((e=>{if(!(0,s.isNil)(e)){var n;const r=null===(n=t.rows)||void 0===n?void 0:n.map(((t,n)=>{var r;return C({},t,{height:null===(r=e.childNodes[n])||void 0===r?void 0:r.clientHeight})}));y({historyLanes:t.historyLanes,rows:r})}}),[t]),k=()=>{const{scrollWidth:e,clientWidth:t,scrollLeft:n}=(null==A?void 0:A.current)||{};T(n<e-t)};return l().createElement("div",{className:h.historyTree},n&&l().createElement(S.Z,null),l().createElement("div",{className:u()(h.graph,{[h.shadow]:v}),onScroll:k,ref:A},l().createElement(x,{onHistoryCircleMouseOver:(e,t,n)=>{if((0,s.isNil)(g.rows[n].label)){const r={time:t,select:"crosswalks"};(0,d.HvW)(e,r).then((e=>{let{crosswalks:t}=e;const r=t?(0,s.uniqBy)((0,s.prop)("type"),t).map((e=>{const t=(0,d.s5)(M,e.type);return t?t.label:null})).filter(s.identity).join(", "):a().text("No data");y((e=>C({},e,{rows:e.rows.map((e=>e.index===n?C({},e,{label:r}):e))})))}))}},graphData:g}),l().createElement(o.Z,{handleWidth:!0,onResize:k})),l().createElement("div",{ref:L,className:h.history},t.rows.map(((e,t)=>{const n=t===I,r=0===t;return l().createElement(b,{key:`row-${t}`,change:e,isCurrent:r,isSelected:n,onClick:()=>((e,t,n,r)=>{if(w){if(!window.confirm(a().text("Are you sure you want to go in history mode? All your changes will be lost.")))return;P(d.ARY.Viewing)}if(r&&!n||!r&&n)D(),O(0);else if(!r&&!n){const n=m(e-1,t.uri||E),r=m(e,t.uri||E),l=null==n?void 0:n.timestamp,o=null==r?void 0:r.timestamp,i=(null==t?void 0:t.uri)===E?null:null==t?void 0:t.uri;R({aStamp:l,bStamp:o,overrideUri:i}),O(e)}})(t,e,n,r)})}))),i&&l().createElement("div",{className:h.buttonContainer},l().createElement(p.Z,{color:"primary",onClick:()=>c()},a().text("Show more"))))},P=(0,m.makeStyles)({root:{display:"flex",flexWrap:"wrap",padding:"10px 15px"}}),M=(0,m.makeStyles)({icon:e=>{let{color:t}=e;return{boxSizing:"border-box",borderWidth:2,borderStyle:"solid",borderColor:t,height:12,width:12,borderRadius:30,transition:"opacity 0.3s",margin:4}},active:e=>{let{color:t}=e;return{backgroundColor:t}},inactive:{backgroundColor:"white"},clickable:{cursor:"pointer"}}),w=e=>{let{value:t,isSelected:n=!0,onClick:r}=e;const o=(0,d.GtP)(t),i=M({color:o});return l().createElement("div",{className:u()(i.icon,{[i.inactive]:!n,[i.active]:n,[i.clickable]:!!r}),onClick:r})},A=e=>{let{values:t,selectedValues:n,entityUri:r,onSelectValues:o,className:i}=e;const a=P();return l().createElement("div",{className:u()(a.root,i)},l().createElement(w,{value:r}),(null==t?void 0:t.length)>0&&t.map((e=>l().createElement(w,{key:e,value:e,isSelected:null==n?void 0:n.includes(e),onClick:()=>(e=>{null!=n&&n.includes(e)?o((0,s.without)([e],n)):o([...n||[],e])})(e)}))))};function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k=(e,t)=>e.reduce(((e,n,r)=>{let{start:l,end:o}=n;if(l){const n=t-l.timestamp;((0,s.isNil)(e.startDistance)||Math.abs(e.startDistance)>Math.abs(n)&&n>0)&&(e.startIndex=r,e.startDistance=n)}if(o){const n=t-o.timestamp;((0,s.isNil)(e.endDistance)||Math.abs(e.endDistance)>Math.abs(n)&&n<0)&&(e.endIndex=r,e.endDistance=n)}return e}),{startIndex:null,endIndex:null,startDistance:null,endDistance:null}),U=(0,m.makeStyles)({root:{display:"flex",flexDirection:"column",overflow:"hidden",position:"relative",height:"100%"},borderBottom:{borderBottom:"1px solid rgba(0, 0, 0, 0.12)"}}),H=(0,r.memo)((e=>{let{isLoading:t,historyWithTotal:n,contributorsUris:o,entityUri:i,canLoadMore:a,onLoadMore:c,historyEvent:u}=e;const d=U(),[p,E]=(0,r.useState)(null);(0,r.useEffect)((()=>{E(o)}),[o]);const{historyData:f,findPreviousChange:m}=(e=>{let{entityUri:t,historyChanges:n,selectedUris:l}=e;return(0,r.useMemo)((()=>{const e={[t]:{index:0,lifeTime:[]}},r=[{user:"",timestamp:0,uri:t}],o=(0,s.curry)(((e,n,r)=>{const l=r.uri||t;if(e)if(Array.isArray(e)){if(r.type!==g.b.ENTITY_LOST_MERGE)return null;if(e.includes(l))return r;if(n&&r.uris)return e.some((e=>r.uris.includes(e)))?r:null}else{var o;if(l===e||n&&null!==(o=r.uris)&&void 0!==o&&o.includes(e))return r}return null})),i=(e,t,r)=>(0,s.pipe)((0,s.drop)(e+1),(0,s.find)(o(t,r)))(n),a=t=>(e[t]||l&&!l.includes(t)||(e[t]={index:Object.keys(e).length,lifeTime:[]}),e[t]),c=(e,t)=>{const n=e[e.length-1];!n||n.start&&(n.start.type!==g.b.ENTITY_CREATED||t.type!==g.b.ENTITIES_SPLITTED)?e.push({start:t,end:null}):n.start=t},u=(e,t)=>{let n=!0;if(e.length){const r=e[e.length-1];n=!((!r.start||r.start.timestamp<t.timestamp)&&(!r.end||r.end.timestamp>t.timestamp))}n&&e.push({start:null,end:null})},d=(e,t)=>{if(e.length){const n=e[e.length-1];n.start||(n.start=t)}e.push({start:null,end:t})},p=[];return null==n||n.forEach(((n,l)=>{var o;switch(n.type){case g.b.ENTITIES_SPLITTED:if(!i(l,n.uri||t,!1))return;{const e=n.uri,t=n.uris?[n.uris,e]:[e],r=i(l,t,!0);if(r&&(!e||e===r.uri))return}break;case g.b.ENTITY_LOST_MERGE:case g.b.RELATIONSHIP_CREATED:case g.b.RELATIONSHIP_REMOVED:case g.b.RELATIONSHIP_CHANGED:return}let s=!1;null===(o=n.uris)||void 0===o||o.forEach((e=>{a(e)||(s=!0)}));const E=a(n.uri||t);if(!E)return;const f=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){L(e,t,n[t])}))}return e}({},n);((t,n)=>{var l,o;switch(n.type){case g.b.ENTITY_CREATED:c(t,n);break;case g.b.ENTITIES_MERGED_ON_THE_FLY:case g.b.ENTITY_CHANGED:u(t,n);break;case g.b.ENTITY_LOST_MERGE:case g.b.ENTITY_REMOVED:d(t,n);break;case g.b.ENTITIES_SPLITTED:u(t,n),null===(l=n.uris)||void 0===l||l.forEach((t=>{const l=e[t];if(!l)return;const o=l.lifeTime.length;o?c(l.lifeTime,n):d(l.lifeTime,n),r.push({uri:t,user:n.user,type:n.type,fakeType:o?g.b.FAKE_UPDATE:g.b.FAKE_NAVIGATE_PROFILE,timestamp:n.timestamp})}));break;case g.b.ENTITIES_MERGED:case g.b.ENTITIES_MERGED_MANUALLY:u(t,n),null===(o=n.uris)||void 0===o||o.forEach((t=>{const r=e[t];r&&d(r.lifeTime,n)}))}})(E.lifeTime,f),s&&p.push(f),r.push(f)})),p.forEach((t=>{t.uris.forEach((l=>{e[l]||n.forEach((n=>{let{uri:o,uris:i,timestamp:a,user:c,type:u}=n;o===l&&(null==i||i.forEach((n=>{const l=e[n];if(!l)return;let o=null;switch(u){case g.b.ENTITIES_MERGED:case g.b.ENTITIES_MERGED_MANUALLY:o=g.b.FAKE_FILTERED_INCOMING;break;case g.b.ENTITIES_SPLITTED:o=g.b.FAKE_FILTERED_OUTGOING;break;default:return}const i={fakeType:o,uri:t.uri,uris:[n],type:u,user:c,timestamp:a},d=k(l.lifeTime,t.timestamp);o===g.b.FAKE_FILTERED_INCOMING?(0,s.isNil)(d.endIndex)||(l.lifeTime[d.endIndex].end=i):(0,s.isNil)(d.startIndex)||(l.lifeTime[d.startIndex].start=i),r.splice(r.indexOf(t),0,i)})))}))}))})),r.forEach(((e,n)=>{e.index=n,e.uri=e.uri||t})),{historyData:{historyLanes:e,rows:r},findPreviousChange:(e,t)=>(0,s.pipe)((0,s.slice)(e+1,1/0),(0,s.find)(o(t,!1)))(r)}}),[t,n,l])})({entityUri:i,historyChanges:null==n?void 0:n.changes,selectedUris:p});return l().createElement("div",{className:d.root},l().createElement(A,{values:o,selectedValues:p,onSelectValues:E,entityUri:i,className:d.borderBottom}),l().createElement(D,{historyData:f,isLoading:t,onLoadMore:c,canLoadMore:a,entityUri:i,historyEvent:u,findPreviousChange:m}))}))},7108:(e,t,n)=>{n.d(t,{tO:()=>f,FE:()=>m,k6:()=>h});var r=n(24328),l=n(31421),o=n(50914),i=n(38323),a=n(20414);const s=(0,o.chain)((0,o.cond)([[(0,o.equals)(i.M.MERGE),()=>[a.I.ENTITIES_MERGED,a.I.ENTITIES_MERGED_MANUALLY,a.I.ENTITIES_MERGED_ON_THE_FLY]],[(0,o.equals)(i.M.UNMERGE),()=>[a.I.ENTITIES_SPLITTED]],[(0,o.equals)(i.M.UPDATE),()=>[a.I.ENTITY_CHANGED]]])),c=(0,o.pipe)((0,o.defaultTo)([]),s,(0,o.concat)([a.I.ENTITY_CREATED,a.I.ENTITY_REMOVED,a.I.ENTITY_LOST_MERGE]),(0,l.NPd)((e=>`equals(type, '${e}')`))),u=(0,o.pipe)((0,o.defaultTo)({}),(0,o.reject)(l.O27),(0,o.evolve)({users:(0,l.NPd)(l.F$g),attributes:(0,l.NPd)((e=>`changes(${(0,l.HRH)(e.value)})`)),dateRange:l.lPZ}),(0,o.over)((0,o.lensProp)("activities"),c),o.values,(0,o.reject)(l.O27),(0,o.append)("not equals(user, 'collaboration-service')"),(0,o.map)(l.tM8),(0,o.join)(" and "));var d=n(19701);function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){E(e,t,n[t])}))}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const f={activities:[i.M.MERGE,i.M.UNMERGE,i.M.UPDATE]},m=e=>(0,o.pipe)((0,o.evolve)({activities:(0,o.difference)(f.activities)}),(0,o.reject)((0,o.either)(o.isNil,o.isEmpty)),o.isEmpty)(e||{}),h=e=>{let{entity:t,enabled:n}=e;const[o,i]=(0,r.useState)(f),[a,s]=(0,r.useState)(0),c=(0,r.useMemo)((()=>u(o)),[o]),[E,m]=(0,r.useState)(null),[h,b]=(0,r.useState)(null),[g,y]=(0,r.useState)(!1),v=(0,d._)(),T=null==t?void 0:t.uri,I={max:32,order:"desc"},O=(0,l.O27)(null==o?void 0:o.attributes)||void 0;(0,r.useEffect)((()=>{T&&n&&(y(!0),v((0,l.kgP)(p({entityUri:T,historicUris:E,filter:c,showAll:O},I))).then(b).catch((e=>{console.warn("Failed to load history data",e),b(null)})).finally((()=>{y(!1)})))}),[c,O,E]),(0,r.useEffect)((()=>{T&&n&&(y(!0),v((0,l.wdF)({entityUri:T})).then((e=>{m(e)})).catch((e=>{console.warn("Failed to load history data",e),m(null)})).finally((()=>{y(!1)})),s(0))}),[T,null==t?void 0:t.updatedTime,n]);const x=(0,r.useCallback)((e=>{T&&E&&n&&(y(!0),v((0,l.kgP)(p({entityUri:T,historicUris:E,filter:c,showAll:O,offset:e},I))).then((e=>{b((t=>p({},t,{changes:[...null==t?void 0:t.changes,...e.changes]})))})).catch((e=>{console.warn("Failed to load history data",e)})).finally((()=>{y(!1)})))}),[E,c,n]),S=(0,r.useMemo)((()=>32*(a+1)<(null==h?void 0:h.total)),[h,a]),N=(0,r.useCallback)((e=>{s(0),i(e)}),[]),_=(0,r.useCallback)((()=>{N(p({},f))}),[]),C=(0,r.useCallback)((()=>{S&&(x(32*(a+1)),s(a+1))}),[x,a,S]);return{isLoading:g,canLoadMore:S,onLoadMore:C,onApplyFilter:N,onClearFilter:_,historicUris:E,historyWithTotal:h,historyFilter:o}}},69409:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(24328),l=n(31421),o=n(14201);const i=e=>{let{perspectiveId:t,entity:n,historyButtonId:i}=e;const{perspectiveSettings:a}=(0,o._)(t),{active:s}=a||{},c=s===i,[u,d]=(0,r.useState)(!1),p=null==n?void 0:n.uri;(0,r.useEffect)((()=>{c||d(!1)}),[p]),(0,r.useEffect)((()=>{c&&d(!0)}),[c]);const E=p&&!(0,l.ZiX)(p)&&!(0,l.biM)(n);return{isHistoryEnabled:u&&E,isProfilePersisted:E}}},35722:(e,t,n)=>{n.d(t,{a:()=>a});var r=n(24328),l=n(31421),o=n(19701),i=n(14596);const a=e=>{let{entity:t,historyEvent:n}=e;const[a,s]=(0,r.useState)(!1),c=(0,i.ax)("setHistorySlice"),u=(0,i.cV)(),d=(0,o._)(),{aStamp:p,bStamp:E,overrideUri:f}=n||{},m=f||(null==t?void 0:t.uri);return(0,r.useEffect)((()=>{n&&m&&(s(!0),d(Promise.all([(0,l.lrH)(m,p),E&&1!==E?(0,l.lrH)(m,E):Promise.resolve(null)])).then((e=>{let[t,n]=e;c({aEntity:t,bEntity:n})})).catch((e=>{console.warn("Failed to load entity slice",e)})).finally((()=>{s(!1)})))}),[p,E,m]),{isLoading:a,historySlice:u}}},21256:(e,t,n)=>{n.d(t,{b:()=>i});var r,l=n(20414);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.FAKE_NAVIGATE_PROFILE="FAKE_NAVIGATE_PROFILE",e.FAKE_FILTERED_INCOMING="FAKE_FILTERED_INCOMING",e.FAKE_FILTERED_OUTGOING="FAKE_FILTERED_OUTGOING",e.FAKE_UPDATE="FAKE_UPDATE"}(r||(r={}));const i=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){o(e,t,n[t])}))}return e}({},l.I,r)},38323:(e,t,n)=>{let r;n.d(t,{M:()=>r}),function(e){e.UPDATE="UPDATE",e.MERGE="MERGE",e.UNMERGE="UNMERGE"}(r||(r={}))},18408:(e,t,n)=>{n.d(t,{D:()=>E});var r=n(24328),l=n.n(r),o=n(2507),i=n.n(o),a=n(50914),s=n(83820),c=n(38677),u=n(10050),d=n(79573);const p=3e5,E=function(){let{anchorOrigin:e={vertical:"bottom",horizontal:"center"},showDismiss:t,dismissTitle:n=i().text("Dismiss"),autoHideDuration:o=p,onDismissClick:E=d.ZT}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[f,m]=(0,r.useState)(!1),[h,b]=(0,r.useState)(""),g=(0,r.useCallback)((()=>{m(!1),b("")}),[]),y=(0,r.useCallback)(((e,t)=>{"clickaway"!==t&&g()}),[g]),v=(0,r.useCallback)((e=>{m(!0),b(e)}),[]),T=(0,r.useCallback)((()=>l().createElement(s.Z,{container:document.body},l().createElement(u.Z,{open:f,anchorOrigin:e,autoHideDuration:o,onClose:y,message:h,style:{maxWidth:500},action:t?l().createElement(c.Z,{color:"primary",onClick:(0,a.pipe)(g,E)},n):void 0}))),[f,g,h]);return{SnackbarRenderer:T,showSnackbarMessage:v}}}}]);
2
2
  //# sourceMappingURL=3902.js.map
package/3912.js CHANGED
@@ -1,2 +1,2 @@
1
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="341c94f9-8c54-4e27-b17f-782025371f51",e._sentryDebugIdIdentifier="sentry-dbid-341c94f9-8c54-4e27-b17f-782025371f51")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1640"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3912],{33945:(e,t,l)=>{l.d(t,{Z:()=>u});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(2507),c=l.n(o),s=l(79573),p=l(50914),d=l(76799);const f=(0,l(72342).makeStyles)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",flexShrink:0,borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none",boxSizing:"border-box",overflowY:"hidden",containerType:"inline-size","& .MuiInputBase-root":{display:"none","@container (min-width: 420px)":{display:"inline-flex"}}},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",display:"none","@container (min-width: 420px)":{display:"block"}},displayedRows:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px!important"}});function m(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){h(e,t,l[t])}))}return e}function h(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const E=e=>{let{classes:t={},count:l,rowsPerPageOptions:n,page:o,onChangePage:h,rowsPerPage:E,onChangeRowsPerPage:u,basicTableRef:y,labelRowsPerPage:g}=e;const v=f(),x=(0,a.useCallback)((()=>{(0,p.pathOr)(p.identity,["current","resetScrollbarPosition"],y)()}),[y]),_=(0,a.useCallback)((e=>{h(e),x()}),[h,x]),z=(0,a.useCallback)((e=>{h(0),u(e),x()}),[h,u,x]);return r().createElement(d.Z,{classes:m({},t,{root:i()(v.pagination,t.root),select:i()(v.select,t.select),selectLabel:i()(v.caption,t.selectLabel),displayedRows:i()(v.displayedRows,t.displayedRows),input:i()(v.selectRoot,t.selectRoot),actions:v.actions}),backIconButtonProps:{size:"large"},nextIconButtonProps:{size:"large"},component:"div",labelRowsPerPage:g||c().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:l,count:a}=e;return c().text("${fromRow}-${toRow} of ${countRows}",{fromRow:c().number(t,"0,0"),toRow:c().number(l,"0,0"),countRows:c().number(a,"0,0")})},count:l,rowsPerPageOptions:n,page:o,onPageChange:(0,p.pipe)((0,p.nthArg)(1),_),rowsPerPage:E,onRowsPerPageChange:(0,p.pipe)(s.NA,z)})};E.displayName="BasicTablePagination";const u=(0,a.memo)(E)},28831:(e,t,l)=>{l.d(t,{Z:()=>d});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(39475),c=l(63655);const s=(0,l(72342).makeStyles)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}const d=e=>{let{isOpen:t=!1,tooltipTitle:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["isOpen","tooltipTitle"]);const n=s(),d={icon:c.Z,className:n.collapseButton,iconClassName:i()({[n.expandLess]:t})},f={tooltipTitle:l};return r().createElement(o.k,p({"data-reltio-id":"collapse-button"},d,f,a))}},79002:(e,t,l)=>{l.d(t,{B9:()=>u,tC:()=>E,ZP:()=>y});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(50914),c=l(79312),s=l(38677);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},d.apply(this,arguments)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},f.apply(this,arguments)}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},m.apply(this,arguments)}const h=(0,l(72342).makeStyles)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"10px",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box","&$root_small":{minHeight:"160px"},"& $text":{color:e.palette.text.primary,fontSize:"20px",fontWeight:500,lineHeight:"24px",letterSpacing:"0.25px",textAlign:"center"},"& $secondaryText":{color:e.palette.text.secondary,fontSize:"15px",fontWeight:300,lineHeight:"18px",letterSpacing:"0.11px",textAlign:"center",paddingTop:"3px"}},root_small:{},embedded:{flexShrink:0,width:"190px",height:"190px",padding:"8px"},full:{width:"256px",height:"256px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:500,marginTop:"16px"},text:{},secondaryText:{},button:{minHeight:36,minWidth:64,maxWidth:500,padding:"10px 16px",borderRadius:"2px",boxShadow:"0 0 2px 0 rgba(0,0,0,0.12), 0 2px 2px 0 rgba(0,0,0,0.24), 0 0 8px 0 rgba(0,0,0,0.12), 0 8px 8px 0 rgba(0,0,0,0.24)",fontSize:"14px",fontWeight:500,lineHeight:"16px",marginTop:"24px"}})));let E;!function(e){e.full="full",e.embedded="embedded",e.small="small"}(E||(E={}));const u={SEARCH_RESULTS:e=>r().createElement("svg",p({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("radialGradient",{cx:"50%",cy:"100%",fx:"50%",fy:"100%",r:"81.681%",gradientTransform:"matrix(.98998 0 0 .612 .005 .388)",id:"EmptySearchResults_svg__c"},r().createElement("stop",{stopColor:"#00BFFF",stopOpacity:.5,offset:"0%"}),r().createElement("stop",{stopColor:"#9EE8FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"111.651%",fx:"50%",fy:"111.651%",r:"87.693%",gradientTransform:"matrix(0 -.97693 .7263 0 -.31 1.605)",id:"EmptySearchResults_svg__f"},r().createElement("stop",{stopColor:"#91F8E5",stopOpacity:.6,offset:"0%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"103.659%",fx:"50%",fy:"103.659%",r:"90.207%",gradientTransform:"matrix(0 -1 2.23905 0 -1.821 1.537)",id:"EmptySearchResults_svg__g"},r().createElement("stop",{stopColor:"#FFF",offset:"0%"}),r().createElement("stop",{stopColor:"#73FAFF",stopOpacity:.21,offset:"59.38%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"170.771%",x2:"50%",y2:"10.303%",id:"EmptySearchResults_svg__e"},r().createElement("stop",{stopColor:"#91F8E5",offset:"0%"}),r().createElement("stop",{stopColor:"#99FCFF",stopOpacity:0,offset:"100%"})),r().createElement("filter",{x:"-25.9%",y:"-26.2%",width:"151.8%",height:"152.3%",filterUnits:"objectBoundingBox",id:"EmptySearchResults_svg__d"},r().createElement("feGaussianBlur",{stdDeviation:15,in:"SourceGraphic"})),r().createElement("circle",{id:"EmptySearchResults_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"EmptySearchResults_svg__b",fill:"#fff"},r().createElement("use",{xlinkHref:"#EmptySearchResults_svg__a"})),r().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#EmptySearchResults_svg__a"}),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("g",{transform:"translate(56 34)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{d:"M0 6.99C0 3.13 3.137 0 7 0h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H7c-3.866 0-7-3.143-7-6.99V6.99z"}),r().createElement("path",{d:"M13 25.99c0-3.86 3.137-6.99 7-6.99h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H20c-3.866 0-7-3.143-7-6.99V25.99z",opacity:.4})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 45.833)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h69.768a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h126.164a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:21.756,y:17.46,width:87.022,height:12.004,rx:6.002}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 87.302)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.091,width:20.668,height:20.734,rx:10.334}),r().createElement("path",{d:"M35.365.861h82.647a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048H174.58a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869h113.119a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 128.77)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h110.929a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h92.443a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("path",{fill:"#446275",d:"M72.246 84.033l8.66 5-35.5 61.488-8.66-5-12.556-24.729-51.307-29.622 20.431-35.388 50.648 29.242z"}),r().createElement("path",{d:"M62.906 120.21l-80.091-46.24 10.5-18.188 50.647 29.242 28.284-.99 8.66 5-18 31.176z",fillOpacity:.2,fill:"#FFF"}),r().createElement("path",{d:"M27.566 75.558L3.877 109.065l-5.013-2.895 26.045-32.146 2.657 1.534zm9.467 5.466L13.345 114.53l-5.014-2.895L34.377 79.49l2.656 1.534zm8.158 4.71l-22.32 34.297-5.013-2.895L43.903 84.99l1.288.744z",fill:"#527585"}),r().createElement("path",{d:"M11.524 90.544l13.385-16.52 2.657 1.534-12.174 17.22-3.868-2.234zm9.467 5.467L34.377 79.49l2.656 1.534-12.174 17.22-3.868-2.233zm9.527 5.5L43.903 84.99l1.288.744-11.47 17.626-3.203-1.85z",fill:"#76A2B5",opacity:.6}),r().createElement("path",{d:"M.355 59.848l-23.689 33.507-5.013-2.895 26.045-32.146 2.657 1.534zm9.468 5.466L-13.866 98.82l-5.013-2.895L7.166 63.78l2.657 1.534zm8.158 4.71L-4.34 104.32l-5.014-2.895L16.692 69.28l1.289.744z",fillOpacity:.1,fill:"#000"}),r().createElement("g",null,r().createElement("path",{fill:"url(#EmptySearchResults_svg__c)",opacity:.993,filter:"url(#EmptySearchResults_svg__d)",d:"M.63 0h173.74L123 172H52z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__e)",opacity:.3,d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__f)",opacity:.3,d:"M4 2h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__g)",d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"#FFF",opacity:.196,d:"M212.363 205.344l-1 1.732L60.418 124.52l4.977-8.62z"})),r().createElement("path",{fill:"#76A2B5",d:"M73.112 84.533l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#F3F3F3",d:"M80.906 89.033l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#538196",d:"M55.112 115.71l-17.5 30.311-.866-.5 17.5-30.31z"})))),SELECT_ATTRIBUTES:e=>r().createElement("svg",d({width:256,height:256,viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("circle",{cx:128,cy:128,r:128,fill:"#0072CE",fillOpacity:.1}),r().createElement("mask",{id:"SelectAttributes_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:256,height:256},r().createElement("circle",{cx:128,cy:128,r:128,fill:"#fff"})),r().createElement("g",{mask:"url(#SelectAttributes_svg__a)"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-16 9h256v247H-16V9z",fill:"url(#SelectAttributes_svg__paint0_linear_0_19219)"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z",fill:"url(#SelectAttributes_svg__paint1_linear_0_19219)"}),r().createElement("path",{opacity:.06,fillRule:"evenodd",clipRule:"evenodd",d:"M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#fff"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),r().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),r().createElement("circle",{cx:120,cy:106,r:6,fill:"#B6C7DB"}),r().createElement("circle",{cx:120,cy:136,r:6,fill:"#B6C7DB"}),r().createElement("circle",{cx:67,cy:169,r:9,fill:"#B6C7DB"}),r().createElement("circle",{cx:67,cy:199,r:9,fill:"#B6C7DB"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M92.514 108v-8h-2V140.365h11.178v-2h-9.178V110h9.178v-2h-9.178z",fill:"#2B98F0"}),r().createElement("path",{opacity:.54,fillRule:"evenodd",clipRule:"evenodd",d:"M95.071 77l-3.535 3.535L88 77h7.071z",fill:"#000"}),r().createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#fff"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zM148 37a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z",fill:"#979797"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"SelectAttributes_svg__paint0_linear_0_19219",x1:-16,y1:9,x2:-16,y2:256,gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:.01}),r().createElement("stop",{offset:1,stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"SelectAttributes_svg__paint1_linear_0_19219",x1:266.117,y1:181.111,x2:154.882,y2:77.681,gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:.01}),r().createElement("stop",{offset:1})))),NO_DATA:e=>r().createElement("svg",f({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__b"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#F4F4F4",offset:"100%"})),r().createElement("linearGradient",{x1:"69.573%",y1:"86.747%",x2:"38.144%",y2:"33.403%",id:"NoData_svg__d"},r().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#000",offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__e"},r().createElement("stop",{stopColor:"#EEFBFF",offset:"0%"}),r().createElement("stop",{stopColor:"#0072CE",offset:"100%"})),r().createElement("filter",{x:"-7.7%",y:"-7.5%",width:"115.3%",height:"115%",filterUnits:"objectBoundingBox",id:"NoData_svg__f"},r().createElement("feOffset",{dx:0,dy:2,in:"SourceAlpha",result:"shadowOffsetOuter1"}),r().createElement("feGaussianBlur",{stdDeviation:2,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),r().createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0",type:"matrix",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),r().createElement("feMerge",null,r().createElement("feMergeNode",{in:"shadowMatrixOuter1"}),r().createElement("feMergeNode",{in:"SourceGraphic"}))),r().createElement("circle",{id:"NoData_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"NoData_svg__c",fill:"#fff"},r().createElement("use",{xlinkHref:"#NoData_svg__a"})),r().createElement("use",{fillOpacity:.1,fill:"#0072CE",xlinkHref:"#NoData_svg__a"}),r().createElement("path",{fill:"url(#NoData_svg__b)",mask:"url(#NoData_svg__c)",d:"M0 9h256v247H0z"}),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("g",{transform:"translate(29 37)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{fillOpacity:.8,opacity:.5,d:"M14.565 8h228.144v176.476H14.565z"}),r().createElement("path",{d:"M0 8.01C0 3.586 3.576 0 7.997 0h223.838a7.997 7.997 0 017.997 8.01v152.401c0 4.424-3.577 8.01-7.997 8.01H7.997A7.997 7.997 0 010 160.411V8.01z"})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 42.105)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h64.093a3.509 3.509 0 110 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h115.902a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:19.986,y:16.04,width:79.944,height:11.028,rx:5.514}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 80.2)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.003,width:18.987,height:19.048,rx:9.493}),r().createElement("path",{d:"M32.488.791h75.925a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h128.893a2.506 2.506 0 110 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846h103.918a1.504 1.504 0 010 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 118.296)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h101.906a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h84.924a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("path",{d:"M154.445 45.134v154.072H36.625V45.134h.811C35.508 62.52 41.07 80.609 54.12 93.944c22.74 23.235 59.61 23.235 82.352 0 13.05-13.335 18.612-31.424 16.683-48.81h1.29z",fill:"url(#NoData_svg__d)",opacity:.1,transform:"rotate(-30 291.014 34.548)"}),r().createElement("path",{d:"M27.473 93.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"url(#NoData_svg__e)",opacity:.2,transform:"translate(70 86)"}),r().createElement("g",{filter:"url(#NoData_svg__f)",strokeWidth:1,fill:"none",transform:"translate(70 86)"},r().createElement("path",{d:"M59.697 0c32.97 0 59.697 26.746 59.697 59.738 0 15.185-5.662 29.047-14.988 39.587l51.204 51.24a89.336 89.336 0 01-10.097 9.392l-51.38-51.416c-9.73 6.888-21.61 10.936-34.436 10.936C26.727 119.477 0 92.73 0 59.738 0 26.746 26.727 0 59.697 0zm0 17.756c-23.17 0-41.953 18.796-41.953 41.982s18.783 41.982 41.953 41.982 41.953-18.796 41.953-41.982-18.783-41.982-41.953-41.982z",fill:"#B5C8C9"}),r().createElement("path",{d:"M21.508 105.656C8.365 94.698 0 78.196 0 59.738 0 26.746 26.727 0 59.697 0c18.444 0 34.935 8.37 45.885 21.523l-9.794 9.8c-8.408-10.68-21.45-17.537-36.091-17.537-25.361 0-45.92 20.573-45.92 45.952 0 14.652 6.852 27.702 17.525 36.117l-9.794 9.8z",fillOpacity:.4,fill:"#FFF"})),r().createElement("path",{d:"M97.473 179.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"#D9F5FF",opacity:.4,style:{mixBlendMode:"soft-light"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.87,fill:"#000",style:{mixBlendMode:"overlay"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.38,fill:"#3C74B4"})))),ERROR:e=>r().createElement("svg",m({width:88,height:88,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("mask",{id:"Error_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:88,height:88},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#fff"})),r().createElement("g",{mask:"url(#Error_svg__a)"},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#CAC4D5",fillOpacity:.3}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M19.987 6.73l49.449 6.072a.687.687 0 01.596.767l-7.845 63.888a.688.688 0 01-.766.6L7.214 71.4a.688.688 0 01-.599-.763l.408-3.326L19.987 6.73z",fill:"#fff"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M1.267 25.921l45.86-19.466a.687.687 0 01.9.366l25.15 59.251a.61.61 0 01-.386.84L22.34 82.765a.719.719 0 01-.887-.445l-20.185-56.4z",fill:"#fff"}),r().createElement("path",{d:"M65.631 9.23H11.017a.688.688 0 00-.687.687v64.37c0 .38.307.687.687.687h54.614c.38 0 .688-.308.688-.687V9.917a.688.688 0 00-.688-.688z",fill:"#F9F9F9"}),r().createElement("path",{opacity:.1,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.95l3.105-1.666 7.31-4.025 8.852 3.472 7.89-5.223 8.036-2.628 8.113 5.193 3.352-10.255v16.967H14.935l-.05-1.835z",fill:"#9C6CF0"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 32.331l3.105-3.761 7.31 4.31 8.852 1.656 7.89-2.205 8.036 1.827 8.113-12.643 3.352.742V36.36H14.935l-.05-4.029z",fill:"#FA82AA"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.946l3.105.432 7.31 1.01 8.852-5.117 7.89 3.675 8.036 1.839 8.113-1.839 3.352.811v1.028H14.935l-.05-1.839z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.1,fillRule:"evenodd",clipRule:"evenodd",d:"M61.543 35.288l-.05 1.497H14.885v-5.239l3.352-.276 8.114 4.697 8.036-.679 7.889.82 8.852-.616 7.31-1.601 3.105 1.397z",fill:"#4DBEE9"}),r().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM25.914 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM39.91 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM21.248 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM35.245 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM30.58 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM44.577 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272z",fill:"#BDBDBD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.272-1.273zM25.914 62.658c.702 0 1.272.57 1.272 1.273v5.09a1.272 1.272 0 11-2.545 0v-5.09c0-.703.57-1.273 1.273-1.273zM39.91 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.273-1.273zM21.248 66.477c.702 0 1.272.57 1.272 1.272v1.273a1.273 1.273 0 01-2.545 0v-1.273c0-.703.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M36.518 65.628a1.272 1.272 0 00-2.545 0v3.393a1.272 1.272 0 102.545 0v-3.393zM31.852 62.234a1.272 1.272 0 10-2.545 0v6.787a1.272 1.272 0 102.545 0v-6.787z",fill:"#4DBEE9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.577 60.962c.702 0 1.272.57 1.272 1.272v6.787a1.273 1.273 0 01-2.545 0v-6.787c0-.702.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),r().createElement("path",{opacity:.5,d:"M34.185 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.3,d:"M49.454 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.8,d:"M26.55 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#FB6597"}),r().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.2,d:"M57.09 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM31.851 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 110-.849zM47.121 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 010-.849zM24.217 19.818h4.665a.424.424 0 010 .849h-4.665a.424.424 0 010-.849zM39.486 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM54.756 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.946 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM15.946 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM15.946 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM23.58 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM23.58 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM23.58 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM49.454 43.571h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 46.116h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 48.661h11.028a.636.636 0 010 1.273H49.454a.636.636 0 110-1.273zM31.215 43.571h15.27a.636.636 0 110 1.273h-15.27a.636.636 0 010-1.273zM31.215 46.116h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM31.215 48.661h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM15.946 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM23.58 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM49.454 51.206h11.028a.636.636 0 010 1.272H49.454a.636.636 0 110-1.272zM31.215 51.206h15.27a.636.636 0 110 1.272h-15.27a.636.636 0 010-1.272z",fill:"#E9E9E9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 55.872h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 110-1.273z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 59.69h11.029a.636.636 0 010 1.272H49.878a.636.636 0 110-1.273zM49.878 62.234h11.029a.636.636 0 010 1.273H49.878a.636.636 0 010-1.273zM49.878 64.78h11.029a.636.636 0 010 1.272H49.878a.636.636 0 010-1.273z",fill:"#E9E9E9"}),r().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),r().createElement("g",{filter:"url(#Error_svg__filter0_d)"},r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#000"})),r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#F25252"}),r().createElement("path",{opacity:.15,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 34.719c12.34 0 22.344 10.003 22.344 22.343S69.746 79.406 57.406 79.406c-12.34 0-22.343-10.003-22.343-22.344 0-12.34 10.003-22.343 22.343-22.343zm-.172 2.406c-10.916 0-19.765 8.85-19.765 19.766 0 10.916 8.85 19.765 19.765 19.765C68.151 76.656 77 67.806 77 56.891c0-10.917-8.85-19.766-19.766-19.766z",fill:"#F25252"}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 38.844c10.062 0 18.219 8.157 18.219 18.218 0 10.062-8.157 18.22-18.219 18.22-10.062 0-18.218-8.158-18.218-18.22 0-10.061 8.156-18.218 18.218-18.218zm0 2.043c-8.933 0-16.175 7.242-16.175 16.175 0 8.934 7.242 16.176 16.175 16.176 8.934 0 16.176-7.242 16.176-16.175 0-8.934-7.242-16.176-16.176-16.176z",fill:"#F25252"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 26.469C74.303 26.469 88 40.166 88 57.062c0 16.897-13.697 30.594-30.594 30.594-16.896 0-30.593-13.697-30.593-30.594 0-16.896 13.697-30.593 30.593-30.593zm-.172 3.437c-14.903 0-26.984 12.082-26.984 26.985 0 14.903 12.081 26.984 26.984 26.984 14.903 0 26.985-12.081 26.985-26.984 0-14.903-12.082-26.985-26.985-26.985z",fill:"#F25252"}),r().createElement("path",{d:"M57.406 71.844c8.164 0 14.782-6.618 14.782-14.781 0-8.164-6.618-14.782-14.782-14.782-8.163 0-14.781 6.618-14.781 14.782 0 8.163 6.618 14.78 14.781 14.78z",fill:"#FF6A6A"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#Error_svg__paint0_linear)"}),r().createElement("g",{filter:"url(#Error_svg__filter1_d)"},r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),r().createElement("g",{filter:"url(#Error_svg__filter2_d)"},r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#000"})),r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#fff"})),r().createElement("defs",null,r().createElement("filter",{id:"Error_svg__filter0_d",x:36.219,y:37.875,width:42.375,height:42.375,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"Error_svg__filter1_d",x:51.688,y:62.625,width:11.438,height:11.438,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"Error_svg__filter2_d",x:51.688,y:44.063,width:11.438,height:23.813,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("linearGradient",{id:"Error_svg__paint0_linear",x1:68.438,y1:71.571,x2:60.119,y2:58.801,gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:0}),r().createElement("stop",{offset:1}))))},y=e=>{let{variant:t=E.full,LogoRenderer:l=u.SEARCH_RESULTS,text:a,secondaryText:n,buttonTitle:p,onClick:d=o.identity,access:f}=e;const m=h(),y=f&&p;return r().createElement("div",{className:i()(m.root,m[`root_${t}`])},r().createElement(l,{className:m[`${t}`]}),r().createElement("div",{className:m.textBox},r().createElement(c.Z,{variant:"h5",classes:{h5:m.text}},a),n&&r().createElement(c.Z,{variant:"subtitle1",classes:{subtitle1:m.secondaryText}},n)),y&&r().createElement(s.Z,{className:m.button,variant:"contained",color:"primary",onClick:d},p))}},76283:(e,t,l)=>{l.d(t,{E:()=>m,Z:()=>h});var a=l(24328),r=l.n(a),n=l(90838),i=l(39475),o=l(76981),c=l(711),s=l(79573),p=l(71153),d=l.n(p);const f=(0,l(72342).makeStyles)({root:{display:"flex",alignItems:"center",justifyContent:"center",width:"24px",height:"24px"},check:{color:"#8CC152"}});let m;!function(e){e[e.INIT=1]="INIT",e[e.PROGRESS=2]="PROGRESS",e[e.SUCCESS=3]="SUCCESS",e[e.DONE=4]="DONE"}(m||(m={}));const h=e=>{let{classes:t={},tooltip:l="",onClick:a=s.ZT,mode:p=m.INIT}=e;const h=f();return r().createElement("div",{className:d()(h.root,t.root)},(()=>{switch(p){case m.INIT:return r().createElement(i.k,{className:t.button,size:"M",tooltipTitle:l,icon:o.Z,onClick:a});case m.PROGRESS:return r().createElement(n.Z,{className:t.spinner,size:24});case m.SUCCESS:return r().createElement(c.Z,{className:d()(h.check,t.check)});default:return null}})())}},5050:(e,t,l)=>{l.d(t,{Z:()=>x});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(50914),c=l(31421),s=l(20146),p=l(18527),d=l(37573),f=l(76283);const m=e=>e&&e.scrollIntoView({block:"end",behavior:"smooth"}),h=e=>{e&&clearTimeout(e)},E=(e,t)=>{if(e&&t){const l=e.offsetTop,a=e.offsetTop+e.clientHeight,{clientHeight:r,scrollTop:n}=t;return l>=0&&a>n&&a<n+r}};var u=l(55962),y=l(14596),g=l(47591);const v=(0,l(72342).makeStyles)((e=>({"@keyframes animate":{from:{background:"transparent"},"66%":{background:"#f2e68e"},"100%":{background:"transparent"}},highlighted:{animationName:"$animate",animationDuration:"3s",animationIterationCount:1},item:{display:"flex",minHeight:"40px",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",flexDirection:"row","&:after":{content:"",minHeight:"inherit",fontSize:0},"&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"}},clickable:{cursor:"pointer"},selected:{background:(0,g.Fq)(e.palette.primary.main,.12),"&:hover":{background:(0,g.Fq)(e.palette.primary.main,.24)}},inactive:{background:e.inactiveBackground,"&:hover":{background:e.inactiveHoverBackground},"&$selected":{background:e.inactiveSelectedBackground,"&:hover":{background:e.inactiveSelectedHoverBackground}}},justImported:{backgroundColor:"#FFFBEB !important"},avatar:{marginLeft:"20px"},image:{height:"32px",width:"32px",marginTop:"8px",marginBottom:"7px"},info:{marginLeft:"20px",flexGrow:1,display:"flex",flexDirection:"column",justifyContent:"center",fontSize:"13px",width:"100%",overflow:"hidden",overflowWrap:"break-word",wordWrap:"break-word"},label:{fontSize:"13px",lineHeight:"15px",fontWeight:500,color:e.palette.primary.main,marginRight:"17px",textDecoration:"none"},secondaryLabel:{marginRight:"12px"},businessCard:{color:"rgba(0, 0, 0, 0.54)"},secondRow:{display:"flex",marginTop:"2px",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",fontSize:"12px"}}))),x=e=>{let{entities:t,entityToHighlight:l,selectedEntityUri:n,onEntityClick:g,onEntityHover:x,entitiesImportStatus:_,entityButtonsRenderer:z}=e;const M=v(),B=(0,a.useRef)(null),R=(0,a.useRef)(null),b=(0,y.AH)();return(0,u.D)((()=>{if(l){var e;const a=null===(e=B.current)||void 0===e?void 0:e.querySelectorAll(`[data-entity-uri='${l}']`);if(h(R.current),(null==a?void 0:a.length)>0){var t;const e=null===(t=B.current)||void 0===t?void 0:t.parentElement;E(a[0],e)||(m(a[0]),R.current=setTimeout((()=>{E(a[0],e)||m(a[0])}),1e3))}}return()=>{h(R.current)}}),[l]),r().createElement("div",{ref:B},(t||[]).map((e=>{const t=(0,c.idV)(e.label),a=e.secondaryLabel,m=(0,c.ptG)(b,e),h=(0,c.Fn9)(e),E=e.uri,u=(0,c.wwR)(e),y=(0,o.prop)(E,_);return r().createElement("div",{key:E,className:i()(M.item,{[M.clickable]:!!g,[M.selected]:E===n,[M.highlighted]:E===l,[M.inactive]:!h,[M.justImported]:y===f.E.SUCCESS}),onClick:g?()=>g(E):void 0,onMouseEnter:x?()=>x(E):void 0,onMouseLeave:x?()=>x(null):void 0,"data-entity-uri":E},r().createElement(d.Z,{entity:e,avatarClassName:M.avatar,imageClassName:M.image}),r().createElement("div",{className:M.info},r().createElement("div",null,r().createElement(p.Z,{value:u,className:M.label},t),a&&r().createElement("span",{className:M.secondaryLabel},a," "),m&&r().createElement("span",{className:M.businessCard},m)),r().createElement("div",{className:M.secondRow},r().createElement(s.Z,{entity:e}),r().createElement("div",null,(0,c.BTI)(e)))),z&&z(e))})))}}}]);
1
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="341c94f9-8c54-4e27-b17f-782025371f51",e._sentryDebugIdIdentifier="sentry-dbid-341c94f9-8c54-4e27-b17f-782025371f51")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1641"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3912],{33945:(e,t,l)=>{l.d(t,{Z:()=>u});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(2507),c=l.n(o),s=l(79573),p=l(50914),d=l(76799);const f=(0,l(72342).makeStyles)({pagination:{display:"flex",alignItems:"center",justifyContent:"flex-end",height:"56px",flexShrink:0,borderTop:"1px solid rgba(0,0,0,0.12)",boxShadow:"none",boxSizing:"border-box",overflowY:"hidden",containerType:"inline-size","& .MuiInputBase-root":{display:"none","@container (min-width: 420px)":{display:"inline-flex"}}},caption:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",display:"none","@container (min-width: 420px)":{display:"block"}},displayedRows:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px"},selectRoot:{marginLeft:"5px",marginRight:"36px"},select:{color:"rgba(0,0,0,0.6)",fontSize:"12px",lineHeight:"16px",textAlign:"right"},actions:{marginLeft:"32px!important"}});function m(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){h(e,t,l[t])}))}return e}function h(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const E=e=>{let{classes:t={},count:l,rowsPerPageOptions:n,page:o,onChangePage:h,rowsPerPage:E,onChangeRowsPerPage:u,basicTableRef:y,labelRowsPerPage:g}=e;const v=f(),x=(0,a.useCallback)((()=>{(0,p.pathOr)(p.identity,["current","resetScrollbarPosition"],y)()}),[y]),_=(0,a.useCallback)((e=>{h(e),x()}),[h,x]),z=(0,a.useCallback)((e=>{h(0),u(e),x()}),[h,u,x]);return r().createElement(d.Z,{classes:m({},t,{root:i()(v.pagination,t.root),select:i()(v.select,t.select),selectLabel:i()(v.caption,t.selectLabel),displayedRows:i()(v.displayedRows,t.displayedRows),input:i()(v.selectRoot,t.selectRoot),actions:v.actions}),backIconButtonProps:{size:"large"},nextIconButtonProps:{size:"large"},component:"div",labelRowsPerPage:g||c().text("Rows per page:"),labelDisplayedRows:e=>{let{from:t,to:l,count:a}=e;return c().text("${fromRow}-${toRow} of ${countRows}",{fromRow:c().number(t,"0,0"),toRow:c().number(l,"0,0"),countRows:c().number(a,"0,0")})},count:l,rowsPerPageOptions:n,page:o,onPageChange:(0,p.pipe)((0,p.nthArg)(1),_),rowsPerPage:E,onRowsPerPageChange:(0,p.pipe)(s.NA,z)})};E.displayName="BasicTablePagination";const u=(0,a.memo)(E)},28831:(e,t,l)=>{l.d(t,{Z:()=>d});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(39475),c=l(63655);const s=(0,l(72342).makeStyles)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}const d=e=>{let{isOpen:t=!1,tooltipTitle:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["isOpen","tooltipTitle"]);const n=s(),d={icon:c.Z,className:n.collapseButton,iconClassName:i()({[n.expandLess]:t})},f={tooltipTitle:l};return r().createElement(o.k,p({"data-reltio-id":"collapse-button"},d,f,a))}},79002:(e,t,l)=>{l.d(t,{B9:()=>u,tC:()=>E,ZP:()=>y});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(50914),c=l(79312),s=l(38677);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},p.apply(this,arguments)}function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},d.apply(this,arguments)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},f.apply(this,arguments)}function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a])}return e},m.apply(this,arguments)}const h=(0,l(72342).makeStyles)((e=>({root:{display:"flex",flex:"1 1 auto",flexWrap:"nowrap",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"10px",overflow:"auto",height:"100%",minHeight:"350px",boxSizing:"border-box","&$root_small":{minHeight:"160px"},"& $text":{color:e.palette.text.primary,fontSize:"20px",fontWeight:500,lineHeight:"24px",letterSpacing:"0.25px",textAlign:"center"},"& $secondaryText":{color:e.palette.text.secondary,fontSize:"15px",fontWeight:300,lineHeight:"18px",letterSpacing:"0.11px",textAlign:"center",paddingTop:"3px"}},root_small:{},embedded:{flexShrink:0,width:"190px",height:"190px",padding:"8px"},full:{width:"256px",height:"256px"},textBox:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:500,marginTop:"16px"},text:{},secondaryText:{},button:{minHeight:36,minWidth:64,maxWidth:500,padding:"10px 16px",borderRadius:"2px",boxShadow:"0 0 2px 0 rgba(0,0,0,0.12), 0 2px 2px 0 rgba(0,0,0,0.24), 0 0 8px 0 rgba(0,0,0,0.12), 0 8px 8px 0 rgba(0,0,0,0.24)",fontSize:"14px",fontWeight:500,lineHeight:"16px",marginTop:"24px"}})));let E;!function(e){e.full="full",e.embedded="embedded",e.small="small"}(E||(E={}));const u={SEARCH_RESULTS:e=>r().createElement("svg",p({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("radialGradient",{cx:"50%",cy:"100%",fx:"50%",fy:"100%",r:"81.681%",gradientTransform:"matrix(.98998 0 0 .612 .005 .388)",id:"EmptySearchResults_svg__c"},r().createElement("stop",{stopColor:"#00BFFF",stopOpacity:.5,offset:"0%"}),r().createElement("stop",{stopColor:"#9EE8FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"111.651%",fx:"50%",fy:"111.651%",r:"87.693%",gradientTransform:"matrix(0 -.97693 .7263 0 -.31 1.605)",id:"EmptySearchResults_svg__f"},r().createElement("stop",{stopColor:"#91F8E5",stopOpacity:.6,offset:"0%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("radialGradient",{cx:"50%",cy:"103.659%",fx:"50%",fy:"103.659%",r:"90.207%",gradientTransform:"matrix(0 -1 2.23905 0 -1.821 1.537)",id:"EmptySearchResults_svg__g"},r().createElement("stop",{stopColor:"#FFF",offset:"0%"}),r().createElement("stop",{stopColor:"#73FAFF",stopOpacity:.21,offset:"59.38%"}),r().createElement("stop",{stopColor:"#14F7FF",stopOpacity:0,offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"170.771%",x2:"50%",y2:"10.303%",id:"EmptySearchResults_svg__e"},r().createElement("stop",{stopColor:"#91F8E5",offset:"0%"}),r().createElement("stop",{stopColor:"#99FCFF",stopOpacity:0,offset:"100%"})),r().createElement("filter",{x:"-25.9%",y:"-26.2%",width:"151.8%",height:"152.3%",filterUnits:"objectBoundingBox",id:"EmptySearchResults_svg__d"},r().createElement("feGaussianBlur",{stdDeviation:15,in:"SourceGraphic"})),r().createElement("circle",{id:"EmptySearchResults_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"EmptySearchResults_svg__b",fill:"#fff"},r().createElement("use",{xlinkHref:"#EmptySearchResults_svg__a"})),r().createElement("use",{fillOpacity:.2,fill:"#A792CD",xlinkHref:"#EmptySearchResults_svg__a"}),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("g",{transform:"translate(56 34)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{d:"M0 6.99C0 3.13 3.137 0 7 0h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H7c-3.866 0-7-3.143-7-6.99V6.99z"}),r().createElement("path",{d:"M13 25.99c0-3.86 3.137-6.99 7-6.99h247.067c3.866 0 7 3.144 7 6.99v169.353c0 3.86-3.137 6.99-7 6.99H20c-3.866 0-7-3.143-7-6.99V25.99z",opacity:.4})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 45.833)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h69.768a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h126.164a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:21.756,y:17.46,width:87.022,height:12.004,rx:6.002}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 87.302)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.091,width:20.668,height:20.734,rx:10.334}),r().createElement("path",{d:"M35.365.861h82.647a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048H174.58a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869h113.119a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(21.756 128.77)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:213.204,cy:5.456,rx:4.351,ry:4.365}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:197.976,cy:5.456,rx:4.351,ry:4.365}),r().createElement("path",{d:"M10.334 1.091c5.707 0 10.334 4.627 10.334 10.334v.067c0 5.707-4.627 10.333-10.334 10.333S0 17.2 0 11.492v-.067C0 5.718 4.627 1.091 10.334 1.091z",fill:"#E3EBF4"}),r().createElement("path",{d:"M35.365.861h110.929a3.82 3.82 0 010 7.639H35.365a3.82 3.82 0 010-7.639z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M34.274 15.048h92.443a2.728 2.728 0 010 5.456H34.274a2.728 2.728 0 110-5.456z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M33.182 24.869H73.89a1.637 1.637 0 110 3.274H33.182a1.637 1.637 0 010-3.274z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#EmptySearchResults_svg__b)"},r().createElement("path",{fill:"#446275",d:"M72.246 84.033l8.66 5-35.5 61.488-8.66-5-12.556-24.729-51.307-29.622 20.431-35.388 50.648 29.242z"}),r().createElement("path",{d:"M62.906 120.21l-80.091-46.24 10.5-18.188 50.647 29.242 28.284-.99 8.66 5-18 31.176z",fillOpacity:.2,fill:"#FFF"}),r().createElement("path",{d:"M27.566 75.558L3.877 109.065l-5.013-2.895 26.045-32.146 2.657 1.534zm9.467 5.466L13.345 114.53l-5.014-2.895L34.377 79.49l2.656 1.534zm8.158 4.71l-22.32 34.297-5.013-2.895L43.903 84.99l1.288.744z",fill:"#527585"}),r().createElement("path",{d:"M11.524 90.544l13.385-16.52 2.657 1.534-12.174 17.22-3.868-2.234zm9.467 5.467L34.377 79.49l2.656 1.534-12.174 17.22-3.868-2.233zm9.527 5.5L43.903 84.99l1.288.744-11.47 17.626-3.203-1.85z",fill:"#76A2B5",opacity:.6}),r().createElement("path",{d:"M.355 59.848l-23.689 33.507-5.013-2.895 26.045-32.146 2.657 1.534zm9.468 5.466L-13.866 98.82l-5.013-2.895L7.166 63.78l2.657 1.534zm8.158 4.71L-4.34 104.32l-5.014-2.895L16.692 69.28l1.289.744z",fillOpacity:.1,fill:"#000"}),r().createElement("g",null,r().createElement("path",{fill:"url(#EmptySearchResults_svg__c)",opacity:.993,filter:"url(#EmptySearchResults_svg__d)",d:"M.63 0h173.74L123 172H52z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__e)",opacity:.3,d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__f)",opacity:.3,d:"M4 2h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"url(#EmptySearchResults_svg__g)",d:"M4 9h166.37L120.73 172.299H53.64z",transform:"rotate(120 90.404 138.861)"}),r().createElement("path",{fill:"#FFF",opacity:.196,d:"M212.363 205.344l-1 1.732L60.418 124.52l4.977-8.62z"})),r().createElement("path",{fill:"#76A2B5",d:"M73.112 84.533l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#F3F3F3",d:"M80.906 89.033l-35.5 61.488-.866-.5 35.5-61.488z"}),r().createElement("path",{fill:"#538196",d:"M55.112 115.71l-17.5 30.311-.866-.5 17.5-30.31z"})))),SELECT_ATTRIBUTES:e=>r().createElement("svg",d({width:256,height:256,viewBox:"0 0 256 256",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("circle",{cx:128,cy:128,r:128,fill:"#0072CE",fillOpacity:.1}),r().createElement("mask",{id:"SelectAttributes_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:256,height:256},r().createElement("circle",{cx:128,cy:128,r:128,fill:"#fff"})),r().createElement("g",{mask:"url(#SelectAttributes_svg__a)"},r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-16 9h256v247H-16V9z",fill:"url(#SelectAttributes_svg__paint0_linear_0_19219)"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M187.761 56.865l58.639 58.639v148.871H93.383L52 225.083V56.865h135.761z",fill:"url(#SelectAttributes_svg__paint1_linear_0_19219)"}),r().createElement("path",{opacity:.06,fillRule:"evenodd",clipRule:"evenodd",d:"M47 58h202a7 7 0 017 7v157a7 7 0 01-7 7H47a7 7 0 01-7-7V65a7 7 0 017-7z",fill:"#000"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M50 56h201a5 5 0 015 5v157a5 5 0 01-5 5H50a5 5 0 01-5-5V61a5 5 0 015-5z",fill:"#fff"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 72.635a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 84.635a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 163a3 3 0 013-3H150a3 3 0 110 6h-41.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 175a3 3 0 013-3h64.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M105.376 193a3 3 0 013-3H190a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M105 205a3 3 0 013-3h74.205a3 3 0 110 6H108a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 103a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 115a3 3 0 013-3h64.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),r().createElement("circle",{cx:67,cy:79,r:9,fill:"#B6C7DB"}),r().createElement("circle",{cx:120,cy:106,r:6,fill:"#B6C7DB"}),r().createElement("circle",{cx:120,cy:136,r:6,fill:"#B6C7DB"}),r().createElement("circle",{cx:67,cy:169,r:9,fill:"#B6C7DB"}),r().createElement("circle",{cx:67,cy:199,r:9,fill:"#B6C7DB"}),r().createElement("path",{opacity:.8,fillRule:"evenodd",clipRule:"evenodd",d:"M138.376 133a3 3 0 013-3H223a3 3 0 110 6h-81.624a3 3 0 01-3-3z",fill:"#B6C7DB"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M138 145a3 3 0 013-3h74.205a3 3 0 110 6H141a3 3 0 01-3-3z",fill:"#979797"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M92.514 108v-8h-2V140.365h11.178v-2h-9.178V110h9.178v-2h-9.178z",fill:"#2B98F0"}),r().createElement("path",{opacity:.54,fillRule:"evenodd",clipRule:"evenodd",d:"M95.071 77l-3.535 3.535L88 77h7.071z",fill:"#000"}),r().createElement("path",{opacity:.6,fillRule:"evenodd",clipRule:"evenodd",d:"M50 22h186a6 6 0 016 6v18a6 6 0 01-6 6H50a6 6 0 01-6-6V28a6 6 0 016-6z",fill:"#fff"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M58 37a6 6 0 016-6h70a6 6 0 110 12H64a6 6 0 01-6-6zM148 37a6 6 0 016-6h10a6 6 0 110 12h-10a6 6 0 01-6-6z",fill:"#979797"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"SelectAttributes_svg__paint0_linear_0_19219",x1:-16,y1:9,x2:-16,y2:256,gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:.01}),r().createElement("stop",{offset:1,stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"SelectAttributes_svg__paint1_linear_0_19219",x1:266.117,y1:181.111,x2:154.882,y2:77.681,gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:.01}),r().createElement("stop",{offset:1})))),NO_DATA:e=>r().createElement("svg",f({width:256,height:256,viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),r().createElement("defs",null,r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__b"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#F4F4F4",offset:"100%"})),r().createElement("linearGradient",{x1:"69.573%",y1:"86.747%",x2:"38.144%",y2:"33.403%",id:"NoData_svg__d"},r().createElement("stop",{stopColor:"#000",stopOpacity:0,offset:"0%"}),r().createElement("stop",{stopColor:"#000",offset:"100%"})),r().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"100%",id:"NoData_svg__e"},r().createElement("stop",{stopColor:"#EEFBFF",offset:"0%"}),r().createElement("stop",{stopColor:"#0072CE",offset:"100%"})),r().createElement("filter",{x:"-7.7%",y:"-7.5%",width:"115.3%",height:"115%",filterUnits:"objectBoundingBox",id:"NoData_svg__f"},r().createElement("feOffset",{dx:0,dy:2,in:"SourceAlpha",result:"shadowOffsetOuter1"}),r().createElement("feGaussianBlur",{stdDeviation:2,in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),r().createElement("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0",type:"matrix",in:"shadowBlurOuter1",result:"shadowMatrixOuter1"}),r().createElement("feMerge",null,r().createElement("feMergeNode",{in:"shadowMatrixOuter1"}),r().createElement("feMergeNode",{in:"SourceGraphic"}))),r().createElement("circle",{id:"NoData_svg__a",cx:128,cy:128,r:128})),r().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},r().createElement("mask",{id:"NoData_svg__c",fill:"#fff"},r().createElement("use",{xlinkHref:"#NoData_svg__a"})),r().createElement("use",{fillOpacity:.1,fill:"#0072CE",xlinkHref:"#NoData_svg__a"}),r().createElement("path",{fill:"url(#NoData_svg__b)",mask:"url(#NoData_svg__c)",d:"M0 9h256v247H0z"}),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("g",{transform:"translate(29 37)"},r().createElement("g",{opacity:.9,strokeWidth:1,fill:"#FFF"},r().createElement("path",{fillOpacity:.8,opacity:.5,d:"M14.565 8h228.144v176.476H14.565z"}),r().createElement("path",{d:"M0 8.01C0 3.586 3.576 0 7.997 0h223.838a7.997 7.997 0 017.997 8.01v152.401c0 4.424-3.577 8.01-7.997 8.01H7.997A7.997 7.997 0 010 160.411V8.01z"})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 42.105)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h64.093a3.509 3.509 0 110 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h115.902a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("rect",{fill:"#645F6D",opacity:.5,x:19.986,y:16.04,width:79.944,height:11.028,rx:5.514}),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 80.2)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("rect",{fill:"#E3EBF4",x:0,y:1.003,width:18.987,height:19.048,rx:9.493}),r().createElement("path",{d:"M32.488.791h75.925a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h128.893a2.506 2.506 0 110 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846h103.918a1.504 1.504 0 010 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})),r().createElement("g",{strokeWidth:1,fill:"none",transform:"translate(19.986 118.296)"},r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:195.862,cy:5.013,rx:3.997,ry:4.01}),r().createElement("ellipse",{fill:"#6DBCFF",opacity:.5,cx:181.872,cy:5.013,rx:3.997,ry:4.01}),r().createElement("path",{d:"M9.493 1.003a9.493 9.493 0 019.494 9.493v.06a9.493 9.493 0 01-18.987 0v-.06a9.493 9.493 0 019.493-9.493z",fill:"#E3EBF4"}),r().createElement("path",{d:"M32.488.791h101.906a3.509 3.509 0 010 7.018H32.488a3.509 3.509 0 110-7.018z",fill:"#B1AABD",opacity:.5}),r().createElement("path",{d:"M31.486 13.824h84.924a2.506 2.506 0 010 5.012H31.486a2.506 2.506 0 010-5.012z",fill:"#B1AABD",opacity:.43}),r().createElement("path",{d:"M30.483 22.846H67.88a1.504 1.504 0 110 3.008H30.483a1.504 1.504 0 110-3.008z",fill:"#B1AABD",opacity:.2})))),r().createElement("g",{mask:"url(#NoData_svg__c)"},r().createElement("path",{d:"M154.445 45.134v154.072H36.625V45.134h.811C35.508 62.52 41.07 80.609 54.12 93.944c22.74 23.235 59.61 23.235 82.352 0 13.05-13.335 18.612-31.424 16.683-48.81h1.29z",fill:"url(#NoData_svg__d)",opacity:.1,transform:"rotate(-30 291.014 34.548)"}),r().createElement("path",{d:"M27.473 93.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"url(#NoData_svg__e)",opacity:.2,transform:"translate(70 86)"}),r().createElement("g",{filter:"url(#NoData_svg__f)",strokeWidth:1,fill:"none",transform:"translate(70 86)"},r().createElement("path",{d:"M59.697 0c32.97 0 59.697 26.746 59.697 59.738 0 15.185-5.662 29.047-14.988 39.587l51.204 51.24a89.336 89.336 0 01-10.097 9.392l-51.38-51.416c-9.73 6.888-21.61 10.936-34.436 10.936C26.727 119.477 0 92.73 0 59.738 0 26.746 26.727 0 59.697 0zm0 17.756c-23.17 0-41.953 18.796-41.953 41.982s18.783 41.982 41.953 41.982 41.953-18.796 41.953-41.982-18.783-41.982-41.953-41.982z",fill:"#B5C8C9"}),r().createElement("path",{d:"M21.508 105.656C8.365 94.698 0 78.196 0 59.738 0 26.746 26.727 0 59.697 0c18.444 0 34.935 8.37 45.885 21.523l-9.794 9.8c-8.408-10.68-21.45-17.537-36.091-17.537-25.361 0-45.92 20.573-45.92 45.952 0 14.652 6.852 27.702 17.525 36.117l-9.794 9.8z",fillOpacity:.4,fill:"#FFF"})),r().createElement("path",{d:"M97.473 179.234c17.964 18.355 47.09 18.355 65.054 0s17.964-48.113 0-66.468c-17.964-18.355-47.09-18.355-65.054 0s-17.964 48.113 0 66.468z",fill:"#D9F5FF",opacity:.4,style:{mixBlendMode:"soft-light"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.87,fill:"#000",style:{mixBlendMode:"overlay"}}),r().createElement("path",{d:"M123.885 158.736c0-3.929.444-7.03 1.332-9.304.888-2.274 2.328-4.245 4.32-5.914 1.99-1.668 3.504-3.195 4.54-4.581 1.037-1.386 1.555-2.913 1.555-4.581 0-4.064-1.75-6.095-5.248-6.095-1.614 0-2.92.592-3.915 1.776-.996 1.184-1.52 2.785-1.574 4.803H111.25c.054-5.382 1.75-9.573 5.086-12.574 3.337-3 8.02-4.5 14.047-4.5 6.001 0 10.65 1.386 13.946 4.157 3.297 2.772 4.945 6.714 4.945 11.827 0 2.234-.444 4.265-1.332 6.095-.888 1.83-2.315 3.7-4.279 5.61l-4.642 4.32c-1.318 1.265-2.233 2.563-2.745 3.895-.51 1.332-.793 3.02-.847 5.066h-11.545zm-1.655 12.27c0-1.99.72-3.625 2.16-4.904 1.44-1.278 3.236-1.917 5.389-1.917 2.152 0 3.949.64 5.388 1.917 1.44 1.279 2.16 2.913 2.16 4.905 0 1.991-.72 3.626-2.16 4.904-1.44 1.278-3.236 1.917-5.388 1.917-2.153 0-3.95-.639-5.389-1.917-1.44-1.278-2.16-2.913-2.16-4.904z",fillOpacity:.38,fill:"#3C74B4"})))),ERROR:e=>r().createElement("svg",m({width:88,height:88,viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("mask",{id:"Error_svg__a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:0,width:88,height:88},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#fff"})),r().createElement("g",{mask:"url(#Error_svg__a)"},r().createElement("path",{d:"M44 88c24.3 0 44-19.7 44-44S68.3 0 44 0 0 19.7 0 44s19.7 44 44 44z",fill:"#CAC4D5",fillOpacity:.3}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M19.987 6.73l49.449 6.072a.687.687 0 01.596.767l-7.845 63.888a.688.688 0 01-.766.6L7.214 71.4a.688.688 0 01-.599-.763l.408-3.326L19.987 6.73z",fill:"#fff"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M1.267 25.921l45.86-19.466a.687.687 0 01.9.366l25.15 59.251a.61.61 0 01-.386.84L22.34 82.765a.719.719 0 01-.887-.445l-20.185-56.4z",fill:"#fff"}),r().createElement("path",{d:"M65.631 9.23H11.017a.688.688 0 00-.687.687v64.37c0 .38.307.687.687.687h54.614c.38 0 .688-.308.688-.687V9.917a.688.688 0 00-.688-.688z",fill:"#F9F9F9"}),r().createElement("path",{opacity:.1,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.95l3.105-1.666 7.31-4.025 8.852 3.472 7.89-5.223 8.036-2.628 8.113 5.193 3.352-10.255v16.967H14.935l-.05-1.835z",fill:"#9C6CF0"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 32.331l3.105-3.761 7.31 4.31 8.852 1.656 7.89-2.205 8.036 1.827 8.113-12.643 3.352.742V36.36H14.935l-.05-4.029z",fill:"#FA82AA"}),r().createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M14.885 34.946l3.105.432 7.31 1.01 8.852-5.117 7.89 3.675 8.036 1.839 8.113-1.839 3.352.811v1.028H14.935l-.05-1.839z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.1,fillRule:"evenodd",clipRule:"evenodd",d:"M61.543 35.288l-.05 1.497H14.885v-5.239l3.352-.276 8.114 4.697 8.036-.679 7.889.82 8.852-.616 7.31-1.601 3.105 1.397z",fill:"#4DBEE9"}),r().createElement("path",{d:"M21.036 40.178h-5.09a.636.636 0 000 1.272h5.09a.636.636 0 100-1.272z",fill:"#ACACAC"}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM25.914 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM39.91 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM21.248 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272zM35.245 55.872c.703 0 1.273.57 1.273 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM30.58 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.272 1.272 0 11-2.545 0V57.144c0-.702.57-1.272 1.272-1.272zM44.577 55.872c.702 0 1.272.57 1.272 1.273V69.02a1.273 1.273 0 01-2.545 0V57.144c0-.702.57-1.272 1.273-1.272z",fill:"#BDBDBD"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.272-1.273zM25.914 62.658c.702 0 1.272.57 1.272 1.273v5.09a1.272 1.272 0 11-2.545 0v-5.09c0-.703.57-1.273 1.273-1.273zM39.91 65.628c.703 0 1.273.57 1.273 1.272v2.121a1.272 1.272 0 11-2.545 0v-2.12c0-.703.57-1.273 1.273-1.273zM21.248 66.477c.702 0 1.272.57 1.272 1.272v1.273a1.273 1.273 0 01-2.545 0v-1.273c0-.703.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M36.518 65.628a1.272 1.272 0 00-2.545 0v3.393a1.272 1.272 0 102.545 0v-3.393zM31.852 62.234a1.272 1.272 0 10-2.545 0v6.787a1.272 1.272 0 102.545 0v-6.787z",fill:"#4DBEE9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.577 60.962c.702 0 1.272.57 1.272 1.272v6.787a1.273 1.273 0 01-2.545 0v-6.787c0-.702.57-1.272 1.273-1.272z",fill:"#4DBEE9"}),r().createElement("path",{d:"M18.915 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#9C6CF0"}),r().createElement("path",{opacity:.5,d:"M34.185 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.3,d:"M49.454 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.8,d:"M26.55 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#FB6597"}),r().createElement("path",{d:"M41.82 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.2,d:"M57.09 18.546a1.909 1.909 0 100-3.817 1.909 1.909 0 000 3.817z",fill:"#4DBEE9"}),r().createElement("path",{opacity:.5,fillRule:"evenodd",clipRule:"evenodd",d:"M16.582 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM31.851 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 110-.849zM47.121 19.818h4.666a.424.424 0 010 .849h-4.666a.424.424 0 010-.849zM24.217 19.818h4.665a.424.424 0 010 .849h-4.665a.424.424 0 010-.849zM39.486 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849zM54.756 19.818h4.666a.424.424 0 110 .849h-4.666a.424.424 0 110-.849z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.946 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM15.946 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM15.946 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM23.58 43.571h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 010-1.273zM23.58 46.116h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 010-1.273zM23.58 48.661h5.09a.636.636 0 010 1.273h-5.09a.636.636 0 110-1.273zM49.454 43.571h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 46.116h11.028a.636.636 0 010 1.273H49.454a.636.636 0 010-1.273zM49.454 48.661h11.028a.636.636 0 010 1.273H49.454a.636.636 0 110-1.273zM31.215 43.571h15.27a.636.636 0 110 1.273h-15.27a.636.636 0 010-1.273zM31.215 46.116h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM31.215 48.661h15.27a.636.636 0 010 1.273h-15.27a.636.636 0 010-1.273zM15.946 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM23.58 51.206h5.09a.636.636 0 110 1.272h-5.09a.636.636 0 110-1.272zM49.454 51.206h11.028a.636.636 0 010 1.272H49.454a.636.636 0 110-1.272zM31.215 51.206h15.27a.636.636 0 110 1.272h-15.27a.636.636 0 010-1.272z",fill:"#E9E9E9"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 55.872h5.09a.636.636 0 110 1.273h-5.09a.636.636 0 110-1.273z",fill:"#ACACAC"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M49.878 59.69h11.029a.636.636 0 010 1.272H49.878a.636.636 0 110-1.273zM49.878 62.234h11.029a.636.636 0 010 1.273H49.878a.636.636 0 010-1.273zM49.878 64.78h11.029a.636.636 0 010 1.272H49.878a.636.636 0 010-1.273z",fill:"#E9E9E9"}),r().createElement("path",{d:"M54.968 67.324h-5.09a.636.636 0 000 1.273h5.09a.636.636 0 000-1.273z",fill:"#E9E9E9"}),r().createElement("g",{filter:"url(#Error_svg__filter0_d)"},r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#000"})),r().createElement("path",{d:"M57.406 74.25c9.493 0 17.188-7.695 17.188-17.188 0-9.492-7.695-17.187-17.188-17.187-9.492 0-17.187 7.695-17.187 17.188 0 9.492 7.695 17.187 17.187 17.187z",fill:"#F25252"}),r().createElement("path",{opacity:.15,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 34.719c12.34 0 22.344 10.003 22.344 22.343S69.746 79.406 57.406 79.406c-12.34 0-22.343-10.003-22.343-22.344 0-12.34 10.003-22.343 22.343-22.343zm-.172 2.406c-10.916 0-19.765 8.85-19.765 19.766 0 10.916 8.85 19.765 19.765 19.765C68.151 76.656 77 67.806 77 56.891c0-10.917-8.85-19.766-19.766-19.766z",fill:"#F25252"}),r().createElement("path",{opacity:.3,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 38.844c10.062 0 18.219 8.157 18.219 18.218 0 10.062-8.157 18.22-18.219 18.22-10.062 0-18.218-8.158-18.218-18.22 0-10.061 8.156-18.218 18.218-18.218zm0 2.043c-8.933 0-16.175 7.242-16.175 16.175 0 8.934 7.242 16.176 16.175 16.176 8.934 0 16.176-7.242 16.176-16.175 0-8.934-7.242-16.176-16.176-16.176z",fill:"#F25252"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M57.406 26.469C74.303 26.469 88 40.166 88 57.062c0 16.897-13.697 30.594-30.594 30.594-16.896 0-30.593-13.697-30.593-30.594 0-16.896 13.697-30.593 30.593-30.593zm-.172 3.437c-14.903 0-26.984 12.082-26.984 26.985 0 14.903 12.081 26.984 26.984 26.984 14.903 0 26.985-12.081 26.985-26.984 0-14.903-12.082-26.985-26.985-26.985z",fill:"#F25252"}),r().createElement("path",{d:"M57.406 71.844c8.164 0 14.782-6.618 14.782-14.781 0-8.164-6.618-14.782-14.782-14.782-8.163 0-14.781 6.618-14.781 14.782 0 8.163 6.618 14.78 14.781 14.78z",fill:"#FF6A6A"}),r().createElement("path",{opacity:.05,fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.331l-9.114 12.078h-2.029l-7.582-7.582 1.006-3.178.837-18.2z",fill:"url(#Error_svg__paint0_linear)"}),r().createElement("g",{filter:"url(#Error_svg__filter1_d)"},r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#000"})),r().createElement("path",{d:"M57.406 68.063a1.719 1.719 0 100-3.438 1.719 1.719 0 000 3.438z",fill:"#fff"}),r().createElement("g",{filter:"url(#Error_svg__filter2_d)"},r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#000"})),r().createElement("path",{d:"M57.406 46.063c.95 0 1.719.769 1.719 1.718v12.375a1.719 1.719 0 11-3.438 0V47.781c0-.949.77-1.718 1.72-1.718z",fill:"#fff"})),r().createElement("defs",null,r().createElement("filter",{id:"Error_svg__filter0_d",x:36.219,y:37.875,width:42.375,height:42.375,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"Error_svg__filter1_d",x:51.688,y:62.625,width:11.438,height:11.438,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("filter",{id:"Error_svg__filter2_d",x:51.688,y:44.063,width:11.438,height:23.813,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:2}),r().createElement("feGaussianBlur",{stdDeviation:2}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})),r().createElement("linearGradient",{id:"Error_svg__paint0_linear",x1:68.438,y1:71.571,x2:60.119,y2:58.801,gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:0}),r().createElement("stop",{offset:1}))))},y=e=>{let{variant:t=E.full,LogoRenderer:l=u.SEARCH_RESULTS,text:a,secondaryText:n,buttonTitle:p,onClick:d=o.identity,access:f}=e;const m=h(),y=f&&p;return r().createElement("div",{className:i()(m.root,m[`root_${t}`])},r().createElement(l,{className:m[`${t}`]}),r().createElement("div",{className:m.textBox},r().createElement(c.Z,{variant:"h5",classes:{h5:m.text}},a),n&&r().createElement(c.Z,{variant:"subtitle1",classes:{subtitle1:m.secondaryText}},n)),y&&r().createElement(s.Z,{className:m.button,variant:"contained",color:"primary",onClick:d},p))}},76283:(e,t,l)=>{l.d(t,{E:()=>m,Z:()=>h});var a=l(24328),r=l.n(a),n=l(90838),i=l(39475),o=l(76981),c=l(711),s=l(79573),p=l(71153),d=l.n(p);const f=(0,l(72342).makeStyles)({root:{display:"flex",alignItems:"center",justifyContent:"center",width:"24px",height:"24px"},check:{color:"#8CC152"}});let m;!function(e){e[e.INIT=1]="INIT",e[e.PROGRESS=2]="PROGRESS",e[e.SUCCESS=3]="SUCCESS",e[e.DONE=4]="DONE"}(m||(m={}));const h=e=>{let{classes:t={},tooltip:l="",onClick:a=s.ZT,mode:p=m.INIT}=e;const h=f();return r().createElement("div",{className:d()(h.root,t.root)},(()=>{switch(p){case m.INIT:return r().createElement(i.k,{className:t.button,size:"M",tooltipTitle:l,icon:o.Z,onClick:a});case m.PROGRESS:return r().createElement(n.Z,{className:t.spinner,size:24});case m.SUCCESS:return r().createElement(c.Z,{className:d()(h.check,t.check)});default:return null}})())}},5050:(e,t,l)=>{l.d(t,{Z:()=>x});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(50914),c=l(31421),s=l(20146),p=l(18527),d=l(37573),f=l(76283);const m=e=>e&&e.scrollIntoView({block:"end",behavior:"smooth"}),h=e=>{e&&clearTimeout(e)},E=(e,t)=>{if(e&&t){const l=e.offsetTop,a=e.offsetTop+e.clientHeight,{clientHeight:r,scrollTop:n}=t;return l>=0&&a>n&&a<n+r}};var u=l(55962),y=l(14596),g=l(47591);const v=(0,l(72342).makeStyles)((e=>({"@keyframes animate":{from:{background:"transparent"},"66%":{background:"#f2e68e"},"100%":{background:"transparent"}},highlighted:{animationName:"$animate",animationDuration:"3s",animationIterationCount:1},item:{display:"flex",minHeight:"40px",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",flexDirection:"row","&:after":{content:"",minHeight:"inherit",fontSize:0},"&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"}},clickable:{cursor:"pointer"},selected:{background:(0,g.Fq)(e.palette.primary.main,.12),"&:hover":{background:(0,g.Fq)(e.palette.primary.main,.24)}},inactive:{background:e.inactiveBackground,"&:hover":{background:e.inactiveHoverBackground},"&$selected":{background:e.inactiveSelectedBackground,"&:hover":{background:e.inactiveSelectedHoverBackground}}},justImported:{backgroundColor:"#FFFBEB !important"},avatar:{marginLeft:"20px"},image:{height:"32px",width:"32px",marginTop:"8px",marginBottom:"7px"},info:{marginLeft:"20px",flexGrow:1,display:"flex",flexDirection:"column",justifyContent:"center",fontSize:"13px",width:"100%",overflow:"hidden",overflowWrap:"break-word",wordWrap:"break-word"},label:{fontSize:"13px",lineHeight:"15px",fontWeight:500,color:e.palette.primary.main,marginRight:"17px",textDecoration:"none"},secondaryLabel:{marginRight:"12px"},businessCard:{color:"rgba(0, 0, 0, 0.54)"},secondRow:{display:"flex",marginTop:"2px",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",fontSize:"12px"}}))),x=e=>{let{entities:t,entityToHighlight:l,selectedEntityUri:n,onEntityClick:g,onEntityHover:x,entitiesImportStatus:_,entityButtonsRenderer:z}=e;const M=v(),B=(0,a.useRef)(null),R=(0,a.useRef)(null),b=(0,y.AH)();return(0,u.D)((()=>{if(l){var e;const a=null===(e=B.current)||void 0===e?void 0:e.querySelectorAll(`[data-entity-uri='${l}']`);if(h(R.current),(null==a?void 0:a.length)>0){var t;const e=null===(t=B.current)||void 0===t?void 0:t.parentElement;E(a[0],e)||(m(a[0]),R.current=setTimeout((()=>{E(a[0],e)||m(a[0])}),1e3))}}return()=>{h(R.current)}}),[l]),r().createElement("div",{ref:B},(t||[]).map((e=>{const t=(0,c.idV)(e.label),a=e.secondaryLabel,m=(0,c.ptG)(b,e),h=(0,c.Fn9)(e),E=e.uri,u=(0,c.wwR)(e),y=(0,o.prop)(E,_);return r().createElement("div",{key:E,className:i()(M.item,{[M.clickable]:!!g,[M.selected]:E===n,[M.highlighted]:E===l,[M.inactive]:!h,[M.justImported]:y===f.E.SUCCESS}),onClick:g?()=>g(E):void 0,onMouseEnter:x?()=>x(E):void 0,onMouseLeave:x?()=>x(null):void 0,"data-entity-uri":E},r().createElement(d.Z,{entity:e,avatarClassName:M.avatar,imageClassName:M.image}),r().createElement("div",{className:M.info},r().createElement("div",null,r().createElement(p.Z,{value:u,className:M.label},t),a&&r().createElement("span",{className:M.secondaryLabel},a," "),m&&r().createElement("span",{className:M.businessCard},m)),r().createElement("div",{className:M.secondRow},r().createElement(s.Z,{entity:e}),r().createElement("div",null,(0,c.BTI)(e)))),z&&z(e))})))}}}]);
2
2
  //# sourceMappingURL=3912.js.map