@reltio/remotes 1.4.1409 → 1.4.1411

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 (76) hide show
  1. package/1268.js +1 -1
  2. package/1268.js.map +1 -1
  3. package/1375.js +1 -1
  4. package/2114.js +1 -1
  5. package/2491.js +2 -0
  6. package/2491.js.map +1 -0
  7. package/2890.js +1 -1
  8. package/3273.js +1 -1
  9. package/3540.js +1 -1
  10. package/3575.js +2 -0
  11. package/3575.js.map +1 -0
  12. package/4015.js +1 -1
  13. package/4407.js +1 -1
  14. package/447.js +1 -1
  15. package/4571.css +635 -0
  16. package/4571.css.map +1 -0
  17. package/4571.js +2 -0
  18. package/4571.js.map +1 -0
  19. package/461.js +1 -1
  20. package/4843.js +1 -1
  21. package/4881.js +1 -1
  22. package/4889.js +1 -1
  23. package/5400.js +1 -1
  24. package/5706.js +2 -0
  25. package/5706.js.map +1 -0
  26. package/5709.js +1 -1
  27. package/5720.js +1 -1
  28. package/5937.js +1 -1
  29. package/5937.js.map +1 -1
  30. package/6103.js +1 -1
  31. package/6119.js +2 -0
  32. package/6119.js.map +1 -0
  33. package/6138.js +2 -0
  34. package/6138.js.map +1 -0
  35. package/6233.js +2 -0
  36. package/6233.js.map +1 -0
  37. package/6312.js +1 -1
  38. package/6617.js +1 -1
  39. package/6669.js +1 -1
  40. package/8051.js +1 -1
  41. package/8183.js +1 -1
  42. package/8225.js +2 -0
  43. package/8225.js.map +1 -0
  44. package/84.js +1 -1
  45. package/84.js.map +1 -1
  46. package/8443.js +1 -1
  47. package/8448.js +2 -0
  48. package/8448.js.map +1 -0
  49. package/8684.js +1 -1
  50. package/8684.js.map +1 -1
  51. package/8847.js +1 -1
  52. package/9043.js +1 -1
  53. package/9258.js +2 -0
  54. package/9258.js.map +1 -0
  55. package/9630.js +1 -1
  56. package/package.json +1 -1
  57. package/remoteEntry.js +1 -1
  58. package/remoteEntry.js.map +1 -1
  59. package/1219.js +0 -2
  60. package/1219.js.map +0 -1
  61. package/3149.js +0 -2
  62. package/3149.js.map +0 -1
  63. package/3602.js +0 -2
  64. package/3602.js.map +0 -1
  65. package/6495.js +0 -2
  66. package/6495.js.map +0 -1
  67. package/6710.js +0 -2
  68. package/6710.js.map +0 -1
  69. package/6913.js +0 -2
  70. package/6913.js.map +0 -1
  71. package/7937.js +0 -2
  72. package/7937.js.map +0 -1
  73. package/8420.js +0 -2
  74. package/8420.js.map +0 -1
  75. package/99.js +0 -2
  76. package/99.js.map +0 -1
package/8443.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8443],{32528:(e,t,l)=>{l.d(t,{Z:()=>i});var a=l(13688),r=l(48852);const i=e=>t=>(0,r.l)(a.X,e,t)},58241:(e,t,l)=>{l.d(t,{Z:()=>d});var a=l(24328),r=l.n(a),i=l(71153),n=l.n(i),c=l(8818),o=l(38016);const s=(0,l(79692).Z)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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={},i=Object.keys(e);for(a=0;a<i.length;a++)l=i[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["isOpen","tooltipTitle"]);const i=s(),d={icon:o.Z,className:i.collapseButton,iconClassName:n()({[i.expandLess]:t})},f={tooltipTitle:l};return r().createElement(c.k,p({},d,f,a))}},21077:(e,t,l)=>{l.d(t,{B9:()=>E,tC:()=>h,ZP:()=>u});var a=l(24328),r=l.n(a),i=l(71153),n=l.n(i),c=l(17440),o=l(94079);function s(){return s=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},s.apply(this,arguments)}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)}const m=(0,l(79692).Z)((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 h;!function(e){e.full="full",e.embedded="embedded",e.small="small"}(h||(h={}));const E={SEARCH_RESULTS:e=>r().createElement("svg",s({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",p({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",d({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",f({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}))))},u=e=>{let{variant:t=h.full,LogoRenderer:l=E.SEARCH_RESULTS,text:a,secondaryText:i,buttonTitle:s,onClick:p=c.identity,access:d}=e;const f=m(),u=d&&s;return r().createElement("div",{className:n()(f.root,f[`root_${t}`])},r().createElement(l,{className:f[`${t}`]}),r().createElement("div",{className:f.textBox},r().createElement(o.Typography,{variant:"h5",classes:{h5:f.text}},a),i&&r().createElement(o.Typography,{variant:"subtitle1",classes:{subtitle1:f.secondaryText}},i)),u&&r().createElement(o.Button,{className:f.button,variant:"contained",color:"primary",onClick:p},s))}},81727:(e,t,l)=>{l.d(t,{E:()=>m,Z:()=>h});var a=l(24328),r=l.n(a),i=l(94079),n=l(8818),c=l(61932),o=l(27291),s=l(31276),p=l(71153),d=l.n(p);const f=(0,l(79692).Z)({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(n.k,{className:t.button,size:"M",tooltipTitle:l,icon:c.Z,onClick:a});case m.PROGRESS:return r().createElement(i.CircularProgress,{className:t.spinner,size:24});case m.SUCCESS:return r().createElement(o.Z,{className:d()(h.check,t.check)});default:return null}})())}},82842:(e,t,l)=>{l.d(t,{Z:()=>z});var a=l(52730),r=l(49885),i=l(24328),n=l.n(i),c=l(71153),o=l.n(c),s=l(17440),p=l(55046),d=l(68439),f=l(31039),m=l(53180),h=l(81727);const E=e=>e&&e.scrollIntoView({block:"end",behavior:"smooth"}),u=e=>{e&&clearTimeout(e)},y=(e,t)=>{if(e&&t){const l=e.offsetTop,a=e.offsetTop+e.clientHeight,{clientHeight:r,scrollTop:i}=t;return l>=0&&a>i&&a<i+r}};var v=l(20562),g=l(79692),x=l(41128);const _=(0,g.Z)((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,x.U1)(e.palette.primary.main,.12),"&:hover":{background:(0,x.U1)(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"}}))),z=(0,a.connect)((e=>({metadata:r.ZP.selectors.getMetadata(e)})))((e=>{let{entities:t,metadata:l,entityToHighlight:a,selectedEntityUri:r,onEntityClick:c,onEntityHover:g,entitiesImportStatus:x,entityButtonsRenderer:z}=e;const M=_(),B=(0,i.useRef)(null),F=(0,i.useRef)(null);return(0,v.D)((()=>{if(a){var e;const l=null===(e=B.current)||void 0===e?void 0:e.querySelectorAll(`[data-entity-uri='${a}']`);if(u(F.current),(null==l?void 0:l.length)>0){var t;const e=null===(t=B.current)||void 0===t?void 0:t.parentElement;y(l[0],e)||(E(l[0]),F.current=setTimeout((()=>{y(l[0],e)||E(l[0])}),1e3))}}return()=>{u(F.current)}}),[a]),n().createElement("div",{ref:B},(t||[]).map((e=>{const t=(0,p.idV)(e.label),i=e.secondaryLabel,E=(0,p.ptG)(l,e),u=(0,p.Fn9)(e),y=e.uri,v=(0,p.wwR)(e),_=(0,s.prop)(y,x);return n().createElement("div",{key:y,className:o()(M.item,{[M.clickable]:!!c,[M.selected]:y===r,[M.highlighted]:y===a,[M.inactive]:!u,[M.justImported]:_===h.E.SUCCESS}),onClick:c?()=>c(y):void 0,onMouseEnter:g?()=>g(y):void 0,onMouseLeave:g?()=>g(null):void 0,"data-entity-uri":y},n().createElement(m.Z,{entity:e,avatarClassName:M.avatar,imageClassName:M.image}),n().createElement("div",{className:M.info},n().createElement("div",null,n().createElement(f.Z,{value:v,className:M.label},t),i&&n().createElement("span",{className:M.secondaryLabel},i," "),E&&n().createElement("span",{className:M.businessCard},E)),n().createElement("div",{className:M.secondRow},n().createElement(d.Z,{entity:e}),n().createElement("div",null,(0,p.BTI)(e)))),z&&z(e))})))}))}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8443],{32528:(e,t,l)=>{l.d(t,{Z:()=>i});var a=l(13688),r=l(48852);const i=e=>t=>(0,r.l)(a.X,e,t)},58241:(e,t,l)=>{l.d(t,{Z:()=>d});var a=l(24328),r=l.n(a),i=l(71153),n=l.n(i),c=l(8818),o=l(38016);const s=(0,l(79692).Z)({collapseButton:{cursor:"pointer"},expandLess:{transform:"rotate( -180deg )"}});function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var 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={},i=Object.keys(e);for(a=0;a<i.length;a++)l=i[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)l=i[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["isOpen","tooltipTitle"]);const i=s(),d={icon:o.Z,className:i.collapseButton,iconClassName:n()({[i.expandLess]:t})},f={tooltipTitle:l};return r().createElement(c.k,p({},d,f,a))}},21077:(e,t,l)=>{l.d(t,{B9:()=>E,tC:()=>h,ZP:()=>u});var a=l(24328),r=l.n(a),i=l(71153),n=l.n(i),c=l(17440),o=l(94079);function s(){return s=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},s.apply(this,arguments)}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)}const m=(0,l(79692).Z)((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 h;!function(e){e.full="full",e.embedded="embedded",e.small="small"}(h||(h={}));const E={SEARCH_RESULTS:e=>r().createElement("svg",s({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",p({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",d({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",f({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}))))},u=e=>{let{variant:t=h.full,LogoRenderer:l=E.SEARCH_RESULTS,text:a,secondaryText:i,buttonTitle:s,onClick:p=c.identity,access:d}=e;const f=m(),u=d&&s;return r().createElement("div",{className:n()(f.root,f[`root_${t}`])},r().createElement(l,{className:f[`${t}`]}),r().createElement("div",{className:f.textBox},r().createElement(o.Typography,{variant:"h5",classes:{h5:f.text}},a),i&&r().createElement(o.Typography,{variant:"subtitle1",classes:{subtitle1:f.secondaryText}},i)),u&&r().createElement(o.Button,{className:f.button,variant:"contained",color:"primary",onClick:p},s))}},81727:(e,t,l)=>{l.d(t,{E:()=>m,Z:()=>h});var a=l(24328),r=l.n(a),i=l(94079),n=l(8818),c=l(61932),o=l(27291),s=l(31276),p=l(71153),d=l.n(p);const f=(0,l(79692).Z)({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(n.k,{className:t.button,size:"M",tooltipTitle:l,icon:c.Z,onClick:a});case m.PROGRESS:return r().createElement(i.CircularProgress,{className:t.spinner,size:24});case m.SUCCESS:return r().createElement(o.Z,{className:d()(h.check,t.check)});default:return null}})())}},82842:(e,t,l)=>{l.d(t,{Z:()=>z});var a=l(52730),r=l(49885),i=l(24328),n=l.n(i),c=l(71153),o=l.n(c),s=l(17440),p=l(57014),d=l(68439),f=l(31039),m=l(53180),h=l(81727);const E=e=>e&&e.scrollIntoView({block:"end",behavior:"smooth"}),u=e=>{e&&clearTimeout(e)},y=(e,t)=>{if(e&&t){const l=e.offsetTop,a=e.offsetTop+e.clientHeight,{clientHeight:r,scrollTop:i}=t;return l>=0&&a>i&&a<i+r}};var v=l(20562),g=l(79692),x=l(41128);const _=(0,g.Z)((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,x.U1)(e.palette.primary.main,.12),"&:hover":{background:(0,x.U1)(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"}}))),z=(0,a.connect)((e=>({metadata:r.ZP.selectors.getMetadata(e)})))((e=>{let{entities:t,metadata:l,entityToHighlight:a,selectedEntityUri:r,onEntityClick:c,onEntityHover:g,entitiesImportStatus:x,entityButtonsRenderer:z}=e;const M=_(),B=(0,i.useRef)(null),F=(0,i.useRef)(null);return(0,v.D)((()=>{if(a){var e;const l=null===(e=B.current)||void 0===e?void 0:e.querySelectorAll(`[data-entity-uri='${a}']`);if(u(F.current),(null==l?void 0:l.length)>0){var t;const e=null===(t=B.current)||void 0===t?void 0:t.parentElement;y(l[0],e)||(E(l[0]),F.current=setTimeout((()=>{y(l[0],e)||E(l[0])}),1e3))}}return()=>{u(F.current)}}),[a]),n().createElement("div",{ref:B},(t||[]).map((e=>{const t=(0,p.idV)(e.label),i=e.secondaryLabel,E=(0,p.ptG)(l,e),u=(0,p.Fn9)(e),y=e.uri,v=(0,p.wwR)(e),_=(0,s.prop)(y,x);return n().createElement("div",{key:y,className:o()(M.item,{[M.clickable]:!!c,[M.selected]:y===r,[M.highlighted]:y===a,[M.inactive]:!u,[M.justImported]:_===h.E.SUCCESS}),onClick:c?()=>c(y):void 0,onMouseEnter:g?()=>g(y):void 0,onMouseLeave:g?()=>g(null):void 0,"data-entity-uri":y},n().createElement(m.Z,{entity:e,avatarClassName:M.avatar,imageClassName:M.image}),n().createElement("div",{className:M.info},n().createElement("div",null,n().createElement(f.Z,{value:v,className:M.label},t),i&&n().createElement("span",{className:M.secondaryLabel},i," "),E&&n().createElement("span",{className:M.businessCard},E)),n().createElement("div",{className:M.secondRow},n().createElement(d.Z,{entity:e}),n().createElement("div",null,(0,p.BTI)(e)))),z&&z(e))})))}))}}]);
2
2
  //# sourceMappingURL=8443.js.map
package/8448.js ADDED
@@ -0,0 +1,2 @@
1
+ (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8448],{1876:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(24328),a=n.n(r),o=n(13980),i=n.n(o),l=n(87918),s=n.n(l),c=n(94079),p=n(87685);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}const d=e=>a().createElement("svg",u({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("path",{d:"M18 2V0H0v2l7 8v8l4-2v-6z",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1})),m=(0,n(79692).Z)((e=>({"filterIcon--enabled":{color:e.palette.primary.main},closeIcon:{position:"absolute",right:"3px",bottom:"3px",transform:"scale(0.5)"},button:{padding:"11px"}}))),g=e=>{let{enabled:t,onClick:n}=e;const r=m();return a().createElement(c.Tooltip,{title:t?s().text("Clear all filters"):s().text("Filter")},a().createElement(c.IconButton,{onClick:n,classes:{root:r.button}},t?a().createElement(a().Fragment,null,a().createElement(d,{className:r["filterIcon--enabled"]}),a().createElement(p.default,{color:"primary",className:r.closeIcon})):a().createElement(d,null)))};g.propTypes={enabled:i().bool,onClick:i().func};const h=g},2256:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(24328),a=n.n(r);class o extends a().Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){this.setState({error:e}),console.error(e)}render(){const{children:e,error:t}=this.props;return this.state.error?t:e}}},32152:(e,t,n)=>{"use strict";n.d(t,{i:()=>g});var r=n(24328),a=n.n(r),o=n(87918),i=n.n(o),l=n(17440),s=n(87685),c=n(94079),p=n(21853),u=n(22385),d=n(31276);const m=(0,n(79692).Z)({searchButton:{marginLeft:"auto !important",marginRight:"-4px",padding:"8px"},input:{flex:"1 0 200px",marginLeft:"70px",fontSize:"14px",background:"rgba(0,0,0,0.03) 2px",padding:"4px 0",marginRight:"4px"},startAdornment:{color:"rgba(0,0,0,0.54)",paddingLeft:"8px"}}),g=e=>{let{query:t,onChange:n}=e;const[o,g]=(0,r.useState)(t),[h,f]=(0,r.useState)(!!t);(0,r.useEffect)((()=>{g(t)}),[t]);const b=m(),y=o&&o.length;return h?a().createElement(c.Input,{className:b.input,value:o,autoFocus:!0,placeholder:i().text("Search"),disableUnderline:!0,onChange:(0,l.pipe)(d.NA,g),startAdornment:a().createElement(c.InputAdornment,{position:"start"},a().createElement(p.default,{className:b.startAdornment})),endAdornment:a().createElement(c.InputAdornment,{position:"end"},y&&a().createElement(u.Z,{size:"S",icon:s.default,onClick:(0,l.pipe)(l.F,f,(0,l.always)(""),(0,l.tap)(n),g)})),onKeyPress:(0,l.when)((0,l.propEq)("key","Enter"),(0,l.pipe)((0,l.always)(o),l.trim,n))}):a().createElement(c.IconButton,{className:b.searchButton,onClick:(0,l.pipe)(l.T,f)},a().createElement(p.default,null))}},75512:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var r=n(13980),a=n.n(r),o=n(24328),i=n.n(o),l=n(44443);const s=()=>i().createElement("div",{style:{display:"none"}}),c=e=>{let{widthToHide:t,children:n}=e;return i().createElement(l.Z,{handleWidth:!0,render:e=>{let{width:r}=e;return r>t?i().createElement(i().Fragment,null,n):i().createElement(s,null)}})};c.propTypes={children:a().node,widthToHide:a().number.isRequired};const p=c},22860:(e,t,n)=>{"use strict";n.d(t,{T:()=>d});var r=n(24328),a=n.n(r),o=n(17440),i=n(71153),l=n.n(i),s=n(94079);const c=(0,n(79692).Z)((e=>({root:{maxWidth:156,paddingTop:"9px",paddingBottom:"9px"},outlined:{paddingRight:32,paddingLeft:12},arrowIcon:{fontSize:"18px",top:"calc(50% - 9px)",right:"12px",color:e.palette.text.secondary},currentValue:{display:"flex",alignItems:"center"},currentValueIcon:{fontSize:"18px",marginRight:"8px",color:e.palette.text.secondary},currentValueText:{fontSize:"14px",lineHeight:"16px",textTransform:"uppercase",fontWeight:500,color:e.palette.text.primary,whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},menuItem:{padding:"9px 12px 7px"},firstMenuItemButton:{borderTop:"1px solid #e4e4e4"},menuItemInner:{display:"flex",alignItems:"flex-start"},menuItemIcon:{fontSize:"18px",color:e.palette.text.secondary,marginRight:"9px"},menuItemLabel:{fontSize:"14px",lineHeight:"16px",fontWeight:500,color:e.palette.text.primary},menuItemDescription:{fontSize:"10px",lineHeight:"16px",color:e.palette.text.secondary}})));function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const u=e=>"onClick"in e,d=e=>{let{optionsGroup:t,buttonsGroup:n,value:r,onChange:i,disabled:d=!1}=e;const m=c();return a().createElement(s.Select,{classes:{root:m.root,icon:m.arrowIcon,outlined:m.outlined},value:r,onChange:e=>{const{value:n}=e.target;t.some((0,o.propEq)("value",n))&&i(n)},variant:"outlined",renderValue:e=>{const{icon:n,label:r=e}=t.find((0,o.propEq)("value",e))||{};return a().createElement(s.Box,{className:m.currentValue},n&&a().createElement(n,{className:m.currentValueIcon}),a().createElement(s.Tooltip,{title:r},a().createElement(s.Typography,{className:m.currentValueText},r)))},MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},getContentAnchorEl:null},disabled:d,"data-reltio-id":"reltio-profile-select-mode"},(e=>{const t=e.findIndex(u);return e.map(((e,n)=>{const{value:r,description:o,icon:i}=e,c={value:r,className:m.menuItem};return u(e)&&(c.onClick=()=>e.onClick(r),c.className=l()(c.className,{[m.firstMenuItemButton]:n===t})),a().createElement(s.MenuItem,p({key:r},c,{"data-reltio-id":`reltio-profile-select-mode-${r}`}),a().createElement(s.Box,{className:m.menuItemInner},a().createElement(i,{className:m.menuItemIcon}),a().createElement(s.Box,null,a().createElement(s.Typography,{className:m.menuItemLabel},r),a().createElement(s.Typography,{className:m.menuItemDescription},o))))}))})([...t,...n]))}},49734:(e,t,n)=>{"use strict";n.d(t,{M:()=>p});var r=n(24328),a=n.n(r);const o=(0,n(79692).Z)({root:{display:"flex",flexDirection:"column",paddingRight:"12px",paddingTop:"8px",paddingBottom:"8px","& + &":{borderTop:"1px solid rgba(0,0,0, 0.12)"}},profileCardWrapper:{display:"flex",flexDirection:"row",alignItems:"center",gap:"4px"},profileCardContainer:{flexGrow:1,paddingBottom:"8px",paddingTop:"8px"},rulesContainer:{paddingLeft:"52px",marginBottom:"8px"}});var i=n(33310),l=n(22071),s=n(71153),c=n.n(s);const p=e=>{let{children:t,entitiesMap:n,entity:r,match:s,metadata:p,className:u}=e;const d=o();return a().createElement("div",{className:c()(d.root,u)},a().createElement("div",{className:d.profileCardWrapper},a().createElement(i.Z,{entity:s.object,classes:{container:d.profileCardContainer}}),t),a().createElement("div",{className:d.rulesContainer},s.matchRules&&a().createElement(l.Z,{match:s,metadata:p,entitiesMap:n,entity:r})))}},11013:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var r=n(24328),a=n.n(r),o=n(87918),i=n.n(o),l=n(13980),s=n.n(l),c=n(71153),p=n.n(c),u=n(17440),d=n(94079),m=n(57014),g=n(49885),h=n(7154),f=n(26579),b=n(81077),y=n(91262),v=n(48852),E=n(47137),x=n(11564);const w=(0,n(79692).Z)({editor:{display:"flex",flexDirection:"column",padding:"0 24px 5px",overflowX:"hidden"},title:{color:"rgba(0, 0, 0, 0.6)",fontSize:"16px",letterSpacing:"0.15px",lineHeight:"24px",margin:"17px 0 24px"},item:{marginBottom:"20px"},dense:{marginBottom:0},actionButtons:{display:"flex",justifyContent:"flex-end",margin:"0 8px 10px","& > button":{fontSize:"14px",lineHeight:"16px",marginLeft:"8px",padding:"10px 8px",backgroundColor:"rgba(98, 2, 238, 0)"}}});function k(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}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}const P=e=>{let{connection:t,modifiedEntity:n,initialConnection:o,initialModifiedEntity:l,allModifiedEntities:s,dispatch:c,config:v,mode:E,metadata:O,globalSearchRequestOptions:P,error:T,highlightedError:C}=e;const{relationUri:I,relationType:S,direction:R}=t.relation,N=t.isNew,L=w(),{ref:M,errorClassName:j}=(0,x.B)({highlightedError:C,isSimple:!0}),{inRelations:D=[],outRelations:A=[]}=(0,r.useMemo)((()=>(0,m.ocC)({content:t.parentEntityUri?v.contentSecondLevel:v.content,direction:R,relationType:S,mode:E,metadata:O})),[v,R,S,E,O,t.parentEntityUri]),V=(0,r.useMemo)((()=>(0,m.xF8)(O,S)),[S,O]),_=(0,r.useMemo)((()=>k({attributes:k({},g.N5.relations.selectors.getRelationAttributesFromConnection(t))},(0,m.p2l)(t.relation))),[t]),U=(0,r.useMemo)((()=>(0,m.SAs)(s,n)),[s,n]),Z=(0,r.useRef)([]),B=(0,r.useCallback)(((e,t)=>{c(g.N5.relations.actions.setInitialInfo(v.id,I,e,t))}),[c]);(0,r.useEffect)((()=>{o||B(n,t)}),[]),(0,r.useEffect)((()=>{Z.current=(0,u.pipe)((0,u.concat)(U.map((0,u.prop)("uri"))),u.uniq)(Z.current)}),[U]);const W=(0,r.useRef)(U),F=(0,m.z7d)(D,A),z=!(0,u.equals)((0,u.pick)(["entity","relation"],o||{}),(0,u.pick)(["entity","relation"],t))||!(0,u.equals)(l,n)||(H=W.current,q=U,H.length!==q.length||H.some(((e,t)=>H[t]!==q[t])))||t.isNew&&!(0,m.O27)((0,u.path)(["relation","object","attributes"],t));var H,q;const $=N?g.N5.relations.actions.addRelation:g.N5.relations.actions.editRelation,G=(0,r.useCallback)((0,u.pipe)(g.N5.relations.actions.setRelationType(v.id,I),c),[v,I,c]),Y=(0,r.useCallback)((()=>(0,u.pipe)(g.N5.relations.actions.closeRelationEditor,c)(v.id,I)),[v,I,c]),Q=(0,r.useCallback)((e=>{if(n){const t=(0,m.nt9)(O,n.type);return(0,m.wx9)(t,n,e)}return e}),[n,O]),X=(0,r.useCallback)((e=>c(g.N5.modifiedEntities.actions.entityCreated(e))),[c]),K=(0,r.useCallback)((e=>c(g.N5.modifiedEntities.actions.entityDeleted(e))),[c]),J=(0,r.useCallback)((e=>{n&&K(n.uri),c(g.N5.relations.actions.setRelationEntity(v.id,I,e)),T&&c(g.N5.errors.actions.errorDeactivated((0,m.iFp)(T)))}),[v.id,I,c,n,K,T]),ee=(0,r.useCallback)((()=>{const e=(0,m.Bd_)(O,s,t);return c(g.N5.errors.actions.errorsSet(e)),0===e.length}),[t,O,s,c]),te=(0,r.useCallback)((()=>c(g.N5.errors.actions.errorsSet([]))),[c]),ne=(0,r.useCallback)((0,u.pipe)((0,u.always)(t),(0,u.when)(ee,(0,u.pipe)(m.zhn,Q,(0,u.omit)(["initial"]),$(v.id),c,(0,u.always)((0,u.differenceWith)(u.equals,Z.current,U.map((0,u.prop)("uri")))),(0,u.forEach)(K),Y))),[t,v,c,Q,ee,U]),re=(0,r.useCallback)((()=>{n!==l&&(l?(X(l),n&&n.uri!==l.uri&&K(n.uri)):K(n.uri));const e=W.current;(0,u.differenceWith)(u.equals,Z.current,e.map((0,u.prop)("uri"))).forEach(K),e.forEach(X),te(),Y()}),[Y,X,K,te,n,l]),ae=(0,r.useCallback)((e=>(0,u.pipe)(g.N5.actions.addAttributes,c)(e.map((e=>k({},e,{viewId:v.id}))))),[v.id,c]),oe=(0,r.useCallback)((e=>(0,u.pipe)(g.N5.actions.modifyAttribute,c)(k({},e,{viewId:v.id}))),[v.id,c]),ie=(0,r.useCallback)((e=>(0,u.pipe)(g.N5.actions.removeAttribute,c)(k({},e,{viewId:v.id}))),[v.id,c]),le=(0,r.useCallback)(((e,t)=>{const n=(0,m.nt9)(O,e),r=(0,u.pipe)(m.wcJ,(0,m._kX)(E))(n),a=(0,m.pBq)({entityTypeUri:e,initValue:t,attributeTypes:r,metadata:O,mode:E});J(a),X(a)}),[X,J,E,O]),se=(0,m.e$p)(T),ce=(0,r.useCallback)((()=>{const{content:e,contentSecondLevel:n}=v;return n&&t.parentEntityUri?n.entityTypes:e.entityTypes}),[v,t.parentEntityUri]);return a().createElement(a().Fragment,null,a().createElement("div",{className:L.editor},a().createElement(d.Typography,{className:L.title},N?i().text("Add new item"):i().text("Edit item")),null===F&&a().createElement(h.Z,{className:L.item,relation:t.relation,inRelationTypes:D,outRelationTypes:A,onChange:G}),Boolean(S)&&a().createElement(a().Fragment,null,a().createElement("div",{ref:M,className:j},a().createElement(f.Z,{errorMessage:se},a().createElement(b.Z,{className:p()(L.item,{[L.dense]:se||t.entity&&(0,m.ZiX)(t.entity.entityUri)}),entity:t.entity||{},entityTypesUris:ce()||[],max:v.max||20,globalSearchRequestOptions:P,mode:E,onChange:J,onCreate:(0,m.fnZ)(E)?void 0:le,metadata:O,attributeTypesSelectionStrategy:m.wcJ}))),a().createElement(y.Z,{className:L.item,attrTypes:V,entity:_,showEmptyEditors:!0,crosswalks:t.crosswalks,mode:E,parentUri:I,onAddAttributes:ae,onChangeAttribute:oe,onDeleteAttribute:ie}))),a().createElement("div",{className:L.actionButtons},a().createElement(d.Button,{onClick:re},i().text("Cancel")),a().createElement(d.Button,{color:"primary",disabled:!z,onClick:ne},i().text("Apply"))),a().createElement(d.Divider,null))};P.propTypes={connection:m.Rjq,modifiedEntity:m.pyR,initialConnection:m.Rjq,initialModifiedEntity:m.pyR,allModifiedEntities:s().object,dispatch:s().func,config:m.PiC,mode:s().string,metadata:m.pGS,globalSearchRequestOptions:s().object,error:m.wfT,parentEntityUri:s().string,highlightedError:s().object};const T=(0,v.l)(E.M,((e,t)=>{let{connection:n}=t;const{error:r={}}=e||{},{relationUri:a,relationType:o}=n.relation;return{highlightedError:(0,u.allPass)([(0,u.pipe)((0,u.prop)("uri"),m.O27),(0,u.propEq)("parentUri",a),(0,u.propEq)("attributeTypeUri",o)])(r)?e:null}}),P);const C=(0,n(52730).connect)(((e,t)=>{const n=(r=t,g.N5.relations.selectors.getEntityUriFromConnection(r.connection));var r;const a=(e=>g.N5.relations.selectors.getRelationUriFromConnection(e.connection))(t),o=(0,m.ZiX)(n);return{initialConnection:g.ZP.selectors.getInitialConnection(e,t.config.id,a),initialModifiedEntity:g.ZP.selectors.getInitialConnectionTempEntity(e,t.config.id,a),modifiedEntity:o?g.ZP.selectors.getModifiedEntity(e,n):null,allModifiedEntities:o?g.ZP.selectors.getModifiedEntities(e):null,globalSearchRequestOptions:g.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]),error:(0,m.ATu)(t.connection,g.ZP.selectors.getProfileErrors(e))}}))(T)},67268:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var r=n(13980),a=n.n(r),o=n(24328),i=n.n(o),l=n(66244),s=n.n(l),c=n(44443),p=n(17440),u=n(71153),d=n.n(u);function m(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(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)&&(a[n]=e[n])}return a}const g=e=>{let{x:t,y:n,width:r,height:a,id:o,minWidth:i,minHeight:l,maxWidth:s,maxHeight:c,isStatic:p}=e;return{x:t,y:n,w:r,h:a,minW:i,minH:l,maxW:s,maxH:c,i:o,static:p}},h=e=>{let{x:t,y:n,w:r,h:a,maxW:o,minW:i,minH:l,maxH:s,i:c}=e;return{x:t,y:n,width:r,height:a,minWidth:i,minHeight:l,maxWidth:o,maxHeight:s,id:c,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},f=e=>(e||[]).map(h),b=(0,p.curry)(((e,t)=>(e||[]).find((0,p.propEq)("id",t)))),y=(0,p.curry)(((e,t,n)=>(0,p.mergeAll)([n,(0,p.pick)(e,t)]))),v=(0,p.curry)(((e,t,n)=>(n||[]).map((n=>(0,p.pipe)((0,p.prop)("id"),b(t),(0,p.defaultTo)({}),y(e,p.__,n))(n)))));var E=n(79692),x=n(57014);const w=(0,E.Z)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.cssTransforms":{transitionProperty:"transform"},"&.resizing":{zIndex:9,willChange:"width, height",pointerEvents:"none"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,x.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}}})));function k(){return k=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},k.apply(this,arguments)}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}const P=e=>{let{views:t,layout:n,layoutOptions:r,onLayoutChanged:a,draggableHandle:l,LayoutItem:u,onRemove:m,onDrop:y,droppingItem:E,isDroppable:x,classes:P}=e;const T=(0,o.useRef)(),C=w(),[I,S]=(0,o.useState)(null),[R,N]=(0,o.useState)(0),{cols:L,rowHeight:M,margin:j}=r,D=(0,o.useMemo)((()=>(e=>(e||[]).map(g))(n)),[n]),A=(0,p.pipe)(f,v(["autosizing"],n),a),V=(0,o.useCallback)((e=>S((t=>t?null:e))),[]),_=null!==I,U=(0,o.useCallback)(((e,t)=>{let o=!1;const i=n.map((n=>{if(n.id===t&&e){const t=((e,t)=>{const{margin:n,rowHeight:r}=t;return Math.ceil((e+n[1])/(r+n[1]))})(e,r);if(n.height!==t)return o=!0,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}({},n,{minHeight:t,maxHeight:t,height:t})}return n}));o&&a(i)}),[n,r,a]);return i().createElement(i().Fragment,null,i().createElement(c.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>N(e)}),i().createElement(s(),{innerRef:T,layout:D,cols:L,draggableHandle:l,autoSize:!0,rowHeight:M,width:R,margin:j,onLayoutChange:A,isResizable:!_,isDraggable:!_,className:d()(P.root,C.gridLayout,{[C.gridFullscreen]:_}),onDrop:(e,t,n)=>{y&&y(f(e),h(t),n)},droppingItem:E,isDroppable:x},D.map((e=>{const r=I===e.i,a=(b(n,e.i)||{}).autosizing?{AutosizeComponent:(o=e.i,i().createElement(c.Z,{handleHeight:!0,onResize:(e,t)=>{U(t,o)}}))}:{};var o;return i().createElement(u,k({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:V,onRemove:m,className:d()({fullscreen:r},P.item),isFullscreen:r},a))}))))};P.defaultProps={layoutOptions:{cols:4,rowHeight:30,margin:[15,15]},onConfigChanged:p.identity,onLayoutChanged:p.identity,classes:{}},P.propTypes={views:a().array,layout:a().array,layoutOptions:a().object,onConfigChanged:a().func,onLayoutChanged:a().func,onDrop:a().func,onRemove:a().func,LayoutItem:a().elementType,draggableHandle:a().string,isDroppable:a().bool,droppingItem:a().object,classes:a().shape({root:a().string,item:a().string})};const T=(0,o.memo)(P)},48747:(e,t,n)=>{"use strict";n.d(t,{Z:()=>W});var r=n(24328),a=n.n(r),o=n(17440),i=n(17871),l=n(75047);const s=e=>{let{children:t,className:n,position:a,map:o}=e;const[i,s]=(0,r.useState)(null);return(0,r.useEffect)((()=>{const e=document.createElement("div"),t=o.controls[a].length;return o.controls[a].push(e),s(e),()=>{o.controls[a].removeAt(t)}}),[o,a]),(0,r.useEffect)((()=>{i&&n&&i.classList.add(n)}),[n,i]),i?(0,l.createPortal)(t,i):null};var c=n(87918),p=n.n(c),u=n(94079),d=n(83348),m=n(41039),g=n(97090);function h(){return h=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},h.apply(this,arguments)}const f=e=>a().createElement("svg",h({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("path",{d:"M10.61 8.568A1.666 1.666 0 119.432 7.39l3.656-3.657a6.668 6.668 0 101.179 1.179L10.61 8.568zm-7.503 6.325A8.333 8.333 0 1114.893 3.107 8.333 8.333 0 013.107 14.893z",fill:"#000",stroke:"none",strokeWidth:1,fillRule:"evenodd",opacity:.54}));function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}const y=e=>a().createElement("svg",b({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),a().createElement("defs",null,a().createElement("path",{d:"M18.29 11.44a1.49 1.49 0 012.12 0l1.15 1.15c.59.58.59 1.53 0 2.12L16.27 20H13v-3.27zM18.174 4c0 1.71-.26 3.285-.932 4.563-.946 1.798-2.609 2.724-4.906 2.46l-.855-.116c-4.382-.544-6.626.53-6.626 3.609 0 1.968 1.105 2.924 3.267 3.304.692.121 1.306.165 2.234.176L11 18v2l-.698-.003c-1.016-.013-1.71-.063-2.526-.206-3.018-.53-4.921-2.176-4.921-5.274 0-4.819 3.71-6.378 9.52-5.505 1.575.237 2.506-.255 3.098-1.38.451-.858.666-2.02.697-3.307L16.174 4h2zM18 13.97l-3.45 3.45v1.03h1.03L19.03 15 18 13.97z",id:"Draw_svg__a"})),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("mask",{id:"Draw_svg__b",fill:"#fff"},a().createElement("use",{xlinkHref:"#Draw_svg__a"})),a().createElement("g",{mask:"url(#Draw_svg__b)",fill:"#000",fillOpacity:.54},a().createElement("path",{d:"M0 0h24v24H0z"}))));var v=n(79692);const E=(0,v.Z)({container:{margin:"2px",display:"flex",alignItems:"center"},button:{color:"rgba(0,0,0,0.54)",padding:0,height:"24px",width:"24px",minWidth:0},icon:{width:"20px",height:"20px"}}),x=(0,d.Z)(u.Button),w=e=>{let{drawingMode:t,drawingModes:n=[],hasActiveOverlay:r,onDrawingModeChanged:o,onClearOverlay:i}=e;const l=E(),s=e=>()=>{o(e)};return a().createElement("div",{className:l.container},t||r?a().createElement(x,{tooltipTitle:p().text("Clear area"),className:l.button,onClick:r?i:s(null)},a().createElement(m.Z,{className:l.icon})):n.map((e=>{const t=(e=>{switch(e){case g.vl.CIRCLE:return f;case g.vl.POLYGON:return y;default:return null}})(e);return a().createElement(x,{tooltipTitle:p().text("Draw area"),key:e,className:l.button,onClick:s(e)},a().createElement(t,{className:l.icon}))})))},k=(0,v.Z)({container:{height:"28px",marginRight:"7px",marginLeft:0},label:{fontSize:"11px",alignSelf:"center",lineHeight:"13px",marginLeft:"2px",letterSpacing:0},checkbox:{width:"20px",height:"20px",padding:"5px","& svg":{width:"16px",height:"16px"}}}),O=e=>{let{isSearchOnMapMove:t,onChangeIsSearchOnMapMove:n}=e;const r=k();return a().createElement(u.FormControlLabel,{classes:{root:r.container,label:r.label},control:a().createElement(u.Checkbox,{checked:t,onChange:e=>{n(e.target.checked)},color:"primary",className:r.checkbox}),label:p().text("Search as I move the map")})},P=e=>{const t=e.getBounds(),n=t.getNorthEast(),r=t.getSouthWest(),a=n.lat(),o=n.lng(),i=r.lat(),l=r.lng(),s=[],c=[];if(!(180===o&&-180===l||-180===o&&180===l)){const e=t.getCenter();s.push([a,e.lng()]),c.push([i,e.lng()])}return[[a,o],...s,[a,l],[i,l],...c,[i,o]]},T=e=>{switch(e){case g.vl.CIRCLE:return window.google.maps.drawing.OverlayType.CIRCLE;case g.vl.POLYGON:return window.google.maps.drawing.OverlayType.POLYGON;default:return null}},C=(e,t,n)=>{if(t.path){const r=n||new window.google.maps.LatLngBounds;t.path.forEach((e=>{let{lat:t,lng:n}=e;return r.extend(new window.google.maps.LatLng(t,n))})),e.fitBounds(r)}};var I=n(33310),S=n(66130),R=n(57014),N=n(91676);const L=(0,v.Z)({popper:{maxWidth:"263px",minWidth:"150px",boxShadow:"0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.2)",backgroundColor:"white",borderRadius:"2px"}});function M(){return M=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},M.apply(this,arguments)}const j=(0,R.m5F)('<?xml version="1.0" encoding="UTF-8"?>\n<svg width="22px" height="32px" viewBox="0 0 22 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>View / Map / Marker / Large (hover)</title>\n <defs>\n <radialGradient cx="50%" cy="50.2950175%" fx="50%" fy="50.2950175%" r="49.7049825%" gradientTransform="translate(0.500000,0.502950),scale(0.777778,1.000000),rotate(90.000000),scale(1.000000,1.293560),translate(-0.500000,-0.502950)" id="radialGradient-1">\n <stop stop-color="#000000" offset="0%"></stop>\n <stop stop-color="#000000" stop-opacity="0" offset="100%"></stop>\n </radialGradient>\n <path d="M21,0 C21.5522847,-1.01453063e-16 22,0.44771525 22,1 L22,21 C22,21.5522847 21.5522847,22 21,22 L15.7283832,22.0012846 C15.5422129,22.2445529 15.3664776,22.4802332 15.1984183,22.7122576 C13.7560833,24.7035592 13,26.2846074 13,27.5 L13,27.5 L12.9945143,27.6492623 C12.9181651,28.6841222 12.0543618,29.5 11,29.5 C9.8954305,29.5 9,28.6045695 9,27.5 L9,27.5 L8.99485006,27.3298651 C8.91582184,26.0024976 7.93016704,24.2171459 6.23940611,22.000704 L1,22 C0.44771525,22 6.76353751e-17,21.5522847 0,21 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L21,0 Z" id="path-2"></path>\n </defs>\n <g id="View-/-Map-/-Marker-/-Large-(hover)" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <ellipse id="Oval" fill="url(#radialGradient-1)" opacity="0.32" cx="11" cy="28.5" rx="6" ry="4.66666667"></ellipse>\n <mask id="mask-3" fill="white">\n <use xlink:href="#path-2"></use>\n </mask>\n <use id="Path-2" fill="#FFFFFF" xlink:href="#path-2"></use>\n <rect id="Entity-type" fill="#24A8E8" mask="url(#mask-3)" x="0" y="0" width="22" height="32"></rect>\n <path d="M20,2 L20,20 L14.755,20 L14.6905172,20.0815309 C14.3562717,20.5012516 14.0578656,20.8886742 13.7817711,21.2616986 L13.5786724,21.5390469 C11.92787,23.8181606 11.079024,25.6311217 11.0052669,27.2674145 L11.0052669,27.2674145 L11,27.5 L10.9968324,27.3203844 C10.9285422,25.3781621 9.75347502,23.1598866 7.22124201,20.0010865 L2,20 L2,2 L20,2 Z" id="Path" fill="#FFFFFF" fill-rule="nonzero" mask="url(#mask-3)"></path>\n </g>\n</svg>'),D=(0,R.m5F)('<?xml version="1.0" encoding="UTF-8"?>\n<svg width="22px" height="32px" viewBox="0 0 22 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>View / Map / Marker / Large</title>\n <defs>\n <radialGradient cx="50%" cy="50.2950175%" fx="50%" fy="50.2950175%" r="49.7049825%" gradientTransform="translate(0.500000,0.502950),scale(0.777778,1.000000),rotate(90.000000),scale(1.000000,1.293560),translate(-0.500000,-0.502950)" id="radialGradient-1">\n <stop stop-color="#000000" offset="0%"></stop>\n <stop stop-color="#000000" stop-opacity="0" offset="100%"></stop>\n </radialGradient>\n <path d="M20,1 C20.5522847,1 21,1.44771525 21,2 L21,20 C21,20.5522847 20.5522847,21 20,21 L15.2374606,21.0021908 C14.9306693,21.3935449 14.6510143,21.7632851 14.3885453,22.1256523 C12.8309725,24.2760522 12,26.0137017 12,27.5 C12,28.0522847 11.5522847,28.5 11,28.5 C10.4477153,28.5 10,28.0522847 10,27.5 C10,25.7886708 8.84033182,23.6810997 6.73798027,21.0014567 L2,21 C1.44771525,21 1,20.5522847 1,20 L1,2 C1,1.44771525 1.44771525,1 2,1 L20,1 Z" id="path-2"></path>\n </defs>\n <g id="View-/-Map-/-Marker-/-Large" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <ellipse id="Oval" fill="url(#radialGradient-1)" opacity="0.12" cx="11" cy="28.5" rx="4.5" ry="3.5"></ellipse>\n <path d="M21,0 C21.5522847,-1.01453063e-16 22,0.44771525 22,1 L22,21 C22,21.5522847 21.5522847,22 21,22 L15.7283832,22.0012846 C15.5422129,22.2445529 15.3664776,22.4802332 15.1984183,22.7122576 C13.7560833,24.7035592 13,26.2846074 13,27.5 L13,27.5 L12.9945143,27.6492623 C12.9181651,28.6841222 12.0543618,29.5 11,29.5 C9.8954305,29.5 9,28.6045695 9,27.5 L9,27.5 L8.99485006,27.3298651 C8.91582184,26.0024976 7.93016704,24.2171459 6.23940611,22.000704 L1,22 C0.44771525,22 6.76353751e-17,21.5522847 0,21 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L21,0 Z" id="Path-3" fill="#FFFFFF"></path>\n <mask id="mask-3" fill="white">\n <use xlink:href="#path-2"></use>\n </mask>\n <use id="Path-2" fill="#FFFFFF" fill-rule="nonzero" xlink:href="#path-2"></use>\n <rect id="Entity-type" fill="#24A8E8" mask="url(#mask-3)" x="0" y="0" width="22" height="32"></rect>\n </g>\n</svg>'),A=(0,r.memo)((e=>{let{marker:t,onClick:n}=e,l=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(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)&&(a[n]=e[n])}return a}(e,["marker","onClick"]);const s=L(),c=(0,r.useRef)(),[p,u]=(0,r.useState)(!1),{activeEntityUri:d}=(0,r.useContext)(N.P),m=(0,o.pathEq)(["entity","uri"],d,t),g={lat:t.point.lat,lng:t.point.lng},h=(0,r.useCallback)((0,R.DsO)(u,50),[]),f=(0,r.useCallback)((()=>h(!0)),[h]),b=(0,r.useCallback)((()=>h(!1)),[h]),y=(0,r.useCallback)((()=>n(t)),[n,t]);return a().createElement(a().Fragment,null,a().createElement(S.Z,{anchorEl:c.current,open:p,className:s.popper,modal:!1,placement:"top"},a().createElement(I.Z,{entity:t.entity,onMouseOver:f,onMouseOut:b})),a().createElement(i.Jx,M({icon:{url:p||m?j:D,scaledSize:new google.maps.Size(22,32)},position:g,onClick:y,visible:!1!==t.visible,onMouseOver:f,onMouseOut:b},l)),a().createElement(i.vD,{options:{alignBottom:!0,pane:"mapPane",pixelOffset:new google.maps.Size(0,-40),closeBoxURL:"",enableEventPropagation:!0,disableAutoPan:!0},position:g},a().createElement("span",{ref:c})))})),V=(0,v.Z)({mapControlContainer:{borderRadius:"2px",backgroundColor:"#FFFFFF",boxShadow:"0 1px 3px 0 rgba(0,0,0,0.15)",margin:"10px"}});var _=n(30634);function U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Z(e,t,n[t])}))}return e}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const B=["drawing"],W=e=>{let{markers:t=[],mapKey:n,defaultZoom:l,defaultCenter:c,loadingElement:p,isSearchOnMapMove:u,isSearchEnabled:d,activeOverlay:m,overlayOptions:h,drawingModes:f=[],markerClusterer:b,markerClustererOptions:y,mapOptions:v,mapContainerClassName:E,onMapBoundsChanged:x,onOverlayUpdated:k,onMarkerClicked:I}=e;const S=V(),{isLoaded:R,loadError:N}=(0,i.Ji)({googleMapsApiKey:n,libraries:B}),L=(0,r.useRef)(null),[M,j]=(0,r.useState)(null),[D,Z]=(0,r.useState)(null),[W,F]=(0,r.useState)(null);(e=>{let{markers:t,activeOverlay:n,isSearchOnMapMove:a,map:o}=e;const i=(0,_.D)(t),l=(0,_.D)(n),s=o&&window.google;(0,r.useEffect)((()=>{s&&!a&&t.length&&t!==i?((e,t,n)=>{const r=new window.google.maps.LatLngBounds;if(e.forEach((e=>r.extend(e.point))),1===e.length){const e=r.getCenter();r.extend(new window.google.maps.LatLng(e.lat()+g.Pi,e.lng()+g.Pi)),r.extend(new window.google.maps.LatLng(e.lat()-g.Pi,e.lng()-g.Pi))}t.fitBounds(r),n&&C(t,n,r)})(t,o,n):s&&n&&n!==l&&C(o,n)}),[o,t,n])})({markers:t,activeOverlay:m,map:M,isSearchOnMapMove:u});const z=(0,r.useMemo)((()=>U({},g.r,h||{})),[h]),H=(0,r.useMemo)((()=>U({},g.Q3,v||{})),[v]),q=(0,r.useCallback)((e=>{x(e?P(M):null),F(null),clearTimeout(L.current)}),[M,x]),$=(0,r.useCallback)((()=>{clearTimeout(L.current)}),[]),G=(0,r.useCallback)((()=>{u&&x(P(M))}),[u,M,x]),Y=(0,r.useCallback)((()=>{u&&(clearTimeout(L.current),L.current=setTimeout(G,1e3))}),[G,u]),Q=(0,r.useCallback)(((e,t)=>{const n=t||D&&{type:g.vl.POLYGON,overlay:D};if(!(0,o.isEmpty)(n)&&"function"==typeof k){const{overlay:e,type:t}=n,r={[g.vl.POLYGON]:()=>e.getPath().getArray().map((e=>[e.lat(),e.lng()])),[g.vl.CIRCLE]:()=>({radius:e.getRadius()/1e3,center:e.getCenter()})},a=r[t]&&r[t]();a&&k({data:a,type:t})}}),[k,D]),X=(0,r.useCallback)((e=>t=>{Q(null,{type:e,overlay:t}),t.setMap(null),F(null)}),[Q]),K=(0,r.useCallback)((()=>{k(null)}),[k]),J=e=>t.filter((0,o.prop)("point")).map((t=>a().createElement(A,{key:t.id,marker:t,clusterer:e,onClick:I})));return N?null:R?a().createElement(i.b6,{mapTypeId:window.google.maps.MapTypeId.ROADMAP,options:H,onLoad:j,zoom:l,center:c,onZoomChanged:$,onDragStart:$,onIdle:Y,mapContainerClassName:E},M&&d&&Boolean(f.length)&&a().createElement(s,{className:S.mapControlContainer,position:window.google.maps.ControlPosition.TOP_RIGHT,map:M},a().createElement(w,{hasActiveOverlay:!!m,drawingModes:f,drawingMode:W,onDrawingModeChanged:F,onClearOverlay:K})),M&&d&&a().createElement(s,{className:S.mapControlContainer,position:window.google.maps.ControlPosition.TOP_CENTER,map:M},a().createElement(O,{onChangeIsSearchOnMapMove:q,isSearchOnMapMove:u})),b?(ee=y,a().createElement(i.XL,{options:ee},J)):J(),!T(W)&&m&&(0,o.propEq)("type",g.vl.POLYGON,m)&&a().createElement(i.mg,{onLoad:Z,path:m.path,editable:!0,options:z,onMouseUp:Q,onDragEnd:Q}),d&&Boolean(f.length)&&a().createElement(i.j_,{onPolygonComplete:X(g.vl.POLYGON),onCircleComplete:X(g.vl.CIRCLE),drawingMode:T(W),options:{drawingControl:!1,circleOptions:z,polygonOptions:z}})):p;var ee}},30553:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(13980),a=n.n(r),o=n(24328),i=n.n(o);const l=e=>{let{height:t,margin:n}=e;return i().createElement("div",{style:{width:"1px",height:`${t}px`,borderLeft:"1px solid rgba(0,0,0,0.38)",margin:`0 ${n}px`,flexShrink:"0"}})};l.propTypes={height:a().number,margin:a().number};const s=l},76536:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(24328),a=n(52730),o=n(17440),i=n(57014),l=n(49885);const s={appearance:{},attributes:{},roles:[],tags:[]},c=(0,o.evolve)({refEntity:i.VGB,refRelation:i.VGB}),p=e=>e?(0,o.evolve)({attributes:(0,o.map)((0,o.map)(c))})(e):e,u=()=>{const e=(0,a.useDispatch)(),t=(0,a.useSelector)(l.ZP.selectors.getHistorySlice),n=(0,a.useSelector)(l.ZP.selectors.getHistoryDiff),o=(0,a.useSelector)(l.ZP.selectors.getHistoryMode),c=(0,a.useSelector)(l.ZP.selectors.getEntity);return(0,r.useEffect)((()=>{if(t){const{aEntity:n,bEntity:r}=t,a=i.nwO.HistoryManager.createHistoryManager(i.nwO.AttributesDiff).computeEntityHistoryDiff(p(o===l.Z9.Current?c:r),p(n));e(l.N5.history.actions.setHistoryDiff(a))}}),[t,o,e,c]),n||s}},46626:(e,t,n)=>{"use strict";n.d(t,{s:()=>Ye});var r=n(24328),a=n.n(r),o=n(57014),i=n(71153),l=n.n(i),s=n(73272),c=n(87918),p=n.n(c),u=n(94079),d=n(79692);const m=(0,d.Z)((e=>({card:{borderBottom:"1px solid rgba(0,0,0,0.06)"},withBackground:{backgroundColor:"rgba(0, 0, 0, 0.03)"},lineWrapper:{position:"relative"},icon:{position:"absolute",top:"8px",left:"16px",width:"32px",height:"32px",zIndex:1},line:e=>{let{color:t}=e;return{borderLeft:`3px solid ${t}`,position:"absolute",left:0,top:0,bottom:0}},info:{fontSize:"13px",color:e.palette.text.secondary,wordWrap:"break-word",lineHeight:"15px"},commentsInfo:{display:"flex",alignItems:"center",marginBottom:"-4px",marginTop:"7px"},commentsIcon:{width:"11px",height:"11px",marginLeft:"2px",marginRight:"6px",marginTop:"-2px"},infoValue:{color:e.palette.text.primary},infoBlock:{display:"flex",flexDirection:"row",marginBottom:"5px"},header:{display:"flex",flexDirection:"row",paddingBottom:"12px"},flex:{flex:1},caption:{fontSize:"16px",color:e.palette.text.primary},title:{display:"flex",flexDirection:"row",alignItems:"center",marginBottom:"-4px"},flag:{height:"13px",width:"13px",marginTop:"-2px",stroke:"#000000",fill:"none",margin:"2px 5px 0 5px"},date:{fontSize:"13px",color:e.palette.text.primary},mainInfo:{display:"flex",flexDirection:"column",flex:1},controlsBox:{marginRight:"16px",marginBottom:"12px",marginTop:"13px"},controlsInRow:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",marginBottom:"20px"},priority:{width:"162px"},comments:{marginLeft:"11px"}})));var g=n(58241),h=n(30078),f=n(17440);const b=(0,d.Z)({dueDate:{marginTop:0,marginBottom:0},dueDateInput:{height:"40px"},inputLabel:{fontSize:"14px"}});var y=n(8459),v=n(52730),E=n(49885),x=n(85229),w=n(94150),k=n(75813),O=n(22994),P=n(21380);const T=e=>{let{taskId:t,dueDate:n,isTaskOpen:i,className:s}=e;const c=b(),{updateDueDate:u,updateRequestIsInProgress:d,readOnly:m}=(e=>{let{dueDate:t,taskId:n,isOpen:a}=e;const{updateTaskState:i}=(0,r.useContext)(w.O)||{},l=(0,v.useSelector)(E.ZP.selectors.getWorkflowPath),s=(0,v.useSelector)(E.ZP.selectors.getWorkflowEnvironmentUrl),c=(0,v.useSelector)(E.ZP.selectors.getTenant),p=(0,x._)(),[u,d]=(0,r.useState)(!1),m=(0,O.Z)()("UPDATE_TASK")&&(0,P.tg)(a);return{updateDueDate:(0,r.useCallback)((e=>{l&&m&&n&&e&&t!==e&&(d(!0),p((0,o.KF3)({taskId:n,workflowPath:l,environment:s,tenant:c,dueDate:e})).then((()=>{null==i||i(n,{dueDate:e})})).catch(k.R).finally((()=>{d(!1)})))}),[l,n,s,c,i,p,t,m]),updateRequestIsInProgress:u,readOnly:!m}})({dueDate:n,taskId:t,isOpen:i});return a().createElement(y.Z,{className:l()(c.dueDate,s),disabled:d||m,value:n,label:p().text("Due date"),onChange:(0,f.pipe)((e=>e&&e.getTime()),u),margin:"dense",InputProps:{className:c.dueDateInput},InputLabelProps:{classes:{root:c.inputLabel}}})};var C=n(24737);const I=e=>{let{taskId:t,priority:n,isTaskOpen:i,className:l}=e;const{priorities:s,updatePriority:c,updateRequestIsInProgress:u,readOnly:d}=(e=>{let{priority:t,taskId:n,isOpen:a}=e;const{updateTaskState:i}=(0,r.useContext)(w.O)||{},l=(0,v.useSelector)(E.ZP.selectors.getWorkflowPath),s=(0,v.useSelector)(E.ZP.selectors.getWorkflowEnvironmentUrl),c=(0,v.useSelector)(E.ZP.selectors.getTenant),u=(0,x._)(),[d,m]=(0,r.useState)(!1),g=(0,O.Z)()("UPDATE_TASK")&&(0,P.tg)(a),h=(0,r.useCallback)((e=>{const{value:r}=e;l&&g&&n&&t!==r&&(m(!0),u((0,o.ax9)({taskId:n,workflowPath:l,environment:s,tenant:c,priority:r})).then((()=>{null==i||i(n,{priority:r})})).catch(k.R).finally((()=>{m(!1)})))}),[l,n,s,c,i,u,t,g]);return{priorities:(0,r.useMemo)((()=>[{label:p().text("Low"),value:o.NVC.low},{label:p().text("Medium"),value:o.NVC.medium},{label:p().text("High"),value:o.NVC.high},{label:p().text("Urgent"),value:o.NVC.urgent}]),[]),updatePriority:h,updateRequestIsInProgress:d,readOnly:!g}})({taskId:t,priority:n,isOpen:i}),m=u||d;return a().createElement(C.Z,{className:l,isDisabled:m,options:s,onChange:c,hideSelectedOptions:!1,label:p().text("Priority"),value:s.find((0,f.propEq)("value",n)),TextFieldProps:{disabled:m},height:40})};var S=n(89140),R=n(46628);const N=(0,d.Z)({decorator:{display:"flex",alignItems:"stretch"},lineBlock:{width:"56px",flexShrink:0},withLinePadding:{"& $noLine":{height:"10px"},"& $line":{height:"calc(100% - 10px)"}},noLine:{height:"0"},line:{height:"100%",position:"relative",marginLeft:"31px",borderLeft:"2px solid rgba(0,0,0,0.06)","&:before":{position:"absolute",height:6,width:6,borderRadius:"50%",left:-5,top:"15px",background:"#d8d8d8",content:'""',display:"block",border:"1px solid white"},"&$plain":{"&:before":{width:0,border:"none"}},"&$last":{height:"15px"}},content:{flex:1,minWidth:0},plain:{},last:{},rowDivider:{marginLeft:0}}),L=e=>{let{className:t,children:n,plain:r,first:o,last:i,transparent:s,divider:c}=e;const p=N();return a().createElement("div",{className:l()(t,p.decorator)},a().createElement("div",{className:l()(p.lineBlock,{[p.withLinePadding]:o})},!s&&a().createElement(a().Fragment,null,a().createElement("div",{className:p.noLine}),a().createElement("div",{className:l()(p.line,{[p.plain]:r},{[p.last]:i})}))),a().createElement("div",{className:p.content},n,c&&a().createElement(u.Divider,{className:p.rowDivider,light:!0,variant:"inset"})))};let M={};const j=["#DC057B","#5DC003","#FEC92F","#F57F27","#B71137","#056B97","#4499AE","#BD81BE","#5F3577","#A68560","#555962"];let D=0;function A(){return A=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},A.apply(this,arguments)}const V=e=>a().createElement("svg",A({width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),a().createElement("defs",null,a().createElement("path",{d:"M4 17.17L5.17 16H20V4H4v13.17zM20 2c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H6l-4 4V4c0-1.1.9-2 2-2h16zm-3 9H7v2h10v-2zm0-4H7v2h10V7z",id:"CollaborationIcon_svg__a"})),a().createElement("g",{transform:"translate(-2 -2)",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("mask",{id:"CollaborationIcon_svg__b",fill:"#fff"},a().createElement("use",{xlinkHref:"#CollaborationIcon_svg__a"})),a().createElement("path",{fillOpacity:.54,fill:"#000",mask:"url(#CollaborationIcon_svg__b)",d:"M0 0h24v24H0z"}))),_=e=>{let{task:t,children:n,actions:o,Icon:i}=e;const{taskId:c,dueDate:d,priority:f,assignee:b,createdBy:y,createTime:v,displayName:E,processDefinitionDisplayName:x,objectURIs:w,processInstanceComments:k,possibleActions:C,isOpen:N}=t,A=(0,P.Xs)(w),_=(e=>{let{processDefinitionDisplayName:t}=e;const n=t;return M[n]||(M[n]=j[D],D++,D>j.length-1&&(D=0)),M[n]})({processDefinitionDisplayName:x}),U=m({color:_}),[Z,B]=(0,r.useState)(!1),W=(0,O.Z)()("VIEW_PROCESS_INSTANCE_COMMENTS");return a().createElement("div",{className:U.card},a().createElement("div",{className:l()({[U.withBackground]:Z})},a().createElement("div",{className:U.lineWrapper},a().createElement("div",{className:U.line}),i&&a().createElement(i,{className:U.icon}),a().createElement(L,{plain:!0,first:!0,transparent:!Z},a().createElement("div",{className:U.mainInfo},a().createElement("div",{className:U.title},a().createElement("div",{className:l()(U.caption,U.flex)},x),a().createElement(s.Z,{className:U.flag}),a().createElement(u.Tooltip,{title:p().text("Due date")},a().createElement("span",{className:U.date},p().date(d,"L"))),a().createElement(g.Z,{isOpen:Z,size:"L",onClick:()=>{B(!Z)}})),a().createElement("div",{className:U.infoBlock},a().createElement("div",{className:U.flex},A&&a().createElement("div",{className:U.info},p().text("DCR ID"),": ",a().createElement("span",{className:U.infoValue},A)),a().createElement("div",{className:U.info},p().text("Created by"),": ",a().createElement("span",{className:U.infoValue},y)," ",p().text("on")," ",a().createElement("span",{className:U.infoValue},p().date(v,"L"))),a().createElement("div",{className:U.info},p().text("Step"),": ",a().createElement("span",{className:U.infoValue},E)),W&&(null==k?void 0:k.length)>0&&a().createElement("div",{className:U.commentsInfo},a().createElement(V,{className:U.commentsIcon}),a().createElement("div",{className:U.infoValue},k.length))),o||a().createElement(R.Z,{taskId:c,possibleActions:C,assignee:b,isTaskOpen:N}))))),Z&&a().createElement(L,{plain:!0},a().createElement("div",{className:U.controlsBox},a().createElement("div",{className:U.controlsInRow},a().createElement(T,{taskId:c,dueDate:d,isTaskOpen:N}),a().createElement(I,{taskId:c,priority:f,className:U.priority,isTaskOpen:N})),a().createElement(h.Z,{taskId:c,assignee:b,isTaskOpen:N})))),Z&&a().createElement(a().Fragment,null,n,W&&a().createElement("div",{className:U.comments},a().createElement(S.V,{taskId:c,processInstanceComments:k,isTaskOpen:N}))))};function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(this,arguments)}const Z=e=>a().createElement("svg",U({width:28,height:28,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("circle",{fill:"#42A5F5",cx:14,cy:14,r:14}),a().createElement("path",{d:"M16.43 9.87c0 1.59 1.25 2.87 2.79 2.87 1.53 0 2.78-1.28 2.78-2.87C22 8.29 20.75 7 19.22 7c-1.54 0-2.79 1.29-2.79 2.87zm1.4 0c0-.79.62-1.43 1.39-1.43.77 0 1.39.64 1.39 1.43 0 .79-.62 1.44-1.39 1.44-.77 0-1.39-.65-1.39-1.44zm-6.26 8.26c0-1.59-1.25-2.87-2.79-2.87-1.53 0-2.78 1.28-2.78 2.87C6 19.71 7.25 21 8.78 21c1.54 0 2.79-1.29 2.79-2.87zM8.09 9.15v4.31h1.39v-2.87h2.78v2.15l2.78-2.87L12.26 7v2.15H8.09zm11.82 9.7v-4.31h-1.39v2.87h-2.78v-2.15l-2.78 2.87L15.74 21v-2.15h4.17z",fill:"#FFF",opacity:.87})));var B=n(8261);const W=(e,t)=>{switch(e){case o.VI$.CREATE_RELATIONSHIP:case o.VI$.INSERT_ATTRIBUTE:return o.ws7.ADDED;case o.VI$.UPDATE_TAGS:case o.VI$.UPDATE_ROLES:case o.VI$.UPDATE_ATTRIBUTE:return o.ws7.EDITED;case o.VI$.DELETE_ATTRIBUTE:case o.VI$.DELETE_RELATIONSHIP:return o.ws7.DELETED;case o.VI$.PIN_ATTRIBUTE:return null!=t&&t.pin?o.ws7.PIN_DELETED:o.ws7.PINNED;case o.VI$.IGNORE_ATTRIBUTE:return null!=t&&t.ignored?o.ws7.IGNORE_DELETED:o.ws7.IGNORED}},F=e=>({[o.ws7.ADDED]:p().text("added"),[o.ws7.EDITED]:p().text("edited"),[o.ws7.DELETED]:p().text("deleted"),[o.ws7.PINNED]:p().text("pinned"),[o.ws7.PIN_DELETED]:p().text("pin deleted"),[o.ws7.IGNORED]:p().text("ignored"),[o.ws7.IGNORE_DELETED]:p().text("ignore deleted")}[e]||""),z=(e,t)=>(0,f.when)((0,f.allPass)([(0,f.pipe)((0,f.prop)("type"),(0,f.equals)(o.oS0.TYPE_STRING)),()=>(0,o.CBv)(t)]),(0,f.evolve)({type:(0,f.always)(o.oS0.TYPE_URL)}))((0,o.PFL)(e));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){q(e,t,n[t])}))}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const $=(e,t)=>{if("newValue"in e||"oldValue"in e){const{newValue:n,oldValue:r,type:a}=e,o=(0,f.pathOr)([],["value",t.name])(n),i=(0,f.pathOr)([],["value",t.name])(r),l=Math.max(o.length,i.length);return(0,f.times)((e=>[{value:{newValue:o[e],oldValue:i[e],type:a}}]),l)}const n=e[t.name];return n?[n]:[]},G=(0,f.curry)(((e,t,n)=>{const r=(0,B.U)(e,t.type,[],[]);return Q(e,r,n)})),Y=(0,f.curry)(((e,t,n,r)=>{const a=(0,o.V3K)(e,t.type),i=(0,o.xF8)(e,t.type);return(0,f.flatten)([H({level:1,label:(0,f.propOr)("","label",a),attributeType:a,attributeValue:H({},t,n)},((e,t)=>{if(t===o.VI$.CREATE_RELATIONSHIP||(0,o.O27)(e)){const e=W(t);return e?{operation:e}:{}}return{}})(n,r)),Q(e,i,n,2)])})),Q=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return(0,f.flatten)(t.map((t=>$(n,t).map((n=>n.map((n=>X(e,t,n,r))))))).filter((0,f.complement)(f.isEmpty)))},X=(e,t,n,r)=>{switch(t.type){case o.oS0.TYPE_NESTED:case o.oS0.TYPE_IMAGE:return K(e,t,n,r);case o.oS0.TYPE_REFERENCE:return J(e,t,n,r);default:{const e=((e,t)=>{const n=(0,o.kqr)(e)?t:t.value;return(0,f.is)(Object,n)?n:{newValue:t,type:o.VI$.INSERT_ATTRIBUTE}})(t,n);return ee(t,e,r)}}},K=(e,t,n,r)=>{const a=(0,o.EUG)({},t);return[{level:r,label:(0,o.idV)((null==t?void 0:t.label)||(null==t?void 0:t.name)),attributeType:t,attributeValue:n},Q(e,a,n.value,r+1)]},J=(e,t,n,r)=>{const a=(0,o.EUG)(e,t);return[{level:r,label:(null==t?void 0:t.label)||(null==t?void 0:t.name),attributeType:t,attributeValue:n},Q(e,a,n.value,r+1)]},ee=(e,t,n)=>{const{newValue:r,oldValue:a,type:i}=(e=>{let{newValue:t,oldValue:n,type:r}=e;return r===o.VI$.UPDATE_ATTRIBUTE?{type:r,newValue:t,oldValue:n}:{type:r,newValue:n||t}})(t);return{attributeType:e,newValue:r,oldValue:a,operation:W(i,a),label:(null==e?void 0:e.label)||(null==e?void 0:e.name),level:n}};function te(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){ne(e,t,n[t])}))}return e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const re=["defaultProfilePicValue",o.xPW.tags.name,o.xPW.roles.name,o.xPW.startDate.name,o.xPW.endDate.name],ae=e=>{let{newValue:t,oldValue:n}=e;const r=e=>isNaN(e)||(0,o.O27)(e)?e:parseInt(e),a=e=>(null==e?void 0:e.length)&&!(0,o.O27)(e)&&!(0,o.O27)(e[0]),i=a(t),l=a(n);return i&&l?[{type:o.VI$.UPDATE_ATTRIBUTE,oldValue:{value:r(n[0])},newValue:{value:r(t[0])}}]:i?[{type:o.VI$.INSERT_ATTRIBUTE,newValue:{value:r(t[0])}}]:l?[{type:o.VI$.DELETE_ATTRIBUTE,oldValue:{value:r(n[0])}}]:void 0},oe=(e,t)=>{const{newValue:n=[],oldValue:r=[],type:a}=t,i=a===o.VI$.UPDATE_ROLES?(0,o.xqc)(e):f.identity,l=(0,f.difference)(n,r),s=(0,f.difference)(r,n),c=[];return l.length&&c.push({type:o.VI$.INSERT_ATTRIBUTE,newValue:{value:l.map(i).join(", ")}}),s.length&&c.push({type:o.VI$.DELETE_ATTRIBUTE,oldValue:{value:s.map(i).join(", ")}}),c},ie=(e,t)=>{const n=(e=>{const{type:t,attributePath:n,refObjectURI:r,refAttributeType:a}=e,i=t===o.VI$.INSERT_ATTRIBUTE?(0,o.Zmi)(n):n;if(r){const e=a.split("/attributes/"),t=r.split("/")[1];return[e[1],t,i].join("/")}return i})(t),r=n.split("/");let a=e;for(let e=0;e<r.length-1;e+=2){var i;const n=r[e],o=r[e+1],l=(a[n]||[]).find((0,f.propEq)("id",o)),s=r.length===e+2?t:{},c=l||{id:o,value:s},p=(null===(i=t.refObjectURI)||void 0===i?void 0:i.indexOf(o))>=0&&t.refObjectURI;p&&(c.refObjectURI=p),(0,f.isNil)(l)&&(a[n]=(a[n]||[]).concat(c)),a=c.value}return e},le=(e,t)=>{const{attributes:n={},startDate:r,endDate:a}=t,{roles:i,tags:l,defaultProfilePicValue:s}=t,c=te({},n);return s&&(c.defaultProfilePicValue=[s]),i&&(c[o.xPW.roles.name]=[{type:o.VI$.INSERT_ATTRIBUTE,newValue:{value:i.map((0,o.xqc)(e)).join(", ")}}]),l&&(c[o.xPW.tags.name]=[{type:o.VI$.INSERT_ATTRIBUTE,newValue:{value:l.join(", ")}}]),r&&(c[o.xPW.startDate.name]=[{type:o.VI$.INSERT_ATTRIBUTE,newValue:{value:r}}]),a&&(c[o.xPW.endDate.name]=[{type:o.VI$.INSERT_ATTRIBUTE,newValue:{value:a}}]),c},se=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{type:a}=n;switch(a){case o.VI$.UPDATE_PROFILE_PIC_BY_URL:r.defaultProfilePicValue=[n.newValue];break;case o.VI$.UPDATE_TAGS:r[o.xPW.tags.name]=oe(e,n);break;case o.VI$.UPDATE_ROLES:r[o.xPW.roles.name]=oe(e,n);break;case o.VI$.UPDATE_START_DATE:r[o.xPW.startDate.name]=ae(n);break;case o.VI$.UPDATE_END_DATE:r[o.xPW.endDate.name]=ae(n);break;case o.VI$.CREATE_RELATIONSHIP:case o.VI$.CREATE_ENTITY:return te({},r,le(e,n.newValue));case o.VI$.INSERT_ATTRIBUTE:case o.VI$.UPDATE_ATTRIBUTE:case o.VI$.DELETE_ATTRIBUTE:case o.VI$.PIN_ATTRIBUTE:case o.VI$.IGNORE_ATTRIBUTE:ie(r,n)}return r},ce=(0,d.Z)((e=>({linkLabel:{color:e.palette.primary.main,fontSize:"12px",letterSpacing:0,lineHeight:"16px"}}))),pe=e=>{let{suggestionsCount:t,isExpanded:n,onClick:r,className:o}=e;const i=ce();return a().createElement(u.Link,{component:"button",variant:"caption",underline:"none",onClick:r,className:o},a().createElement("span",{className:i.linkLabel},n?p().text("View less suggestions"):p().text("View ${suggestionsCount} more suggestions",{suggestionsCount:t})))};var ue=n(43525);const de=(0,d.Z)((e=>({field:{fontSize:"12px",lineHeight:"20px",color:e.palette.text.primary,marginTop:"6px",overflow:"hidden",wordBreak:"break-word"},fieldName:{color:e.palette.text.secondary,marginRight:"8px"},difference:{marginRight:"8px"},arrow:{margin:"0 4px",fontSize:"12px",color:e.palette.text.primary},chip:{height:"20px",fontSize:"10px",fontWeight:500,lineHeight:"16px",letterSpacing:0,flexShrink:0,textTransform:"capitalize",color:e.palette.primary.main,borderColor:e.palette.primary.main,"&.edited":{color:"#CC7500",borderColor:"#CC7500"},"&.added":{color:"#599E0E",borderColor:"#599E0E"},"&.deleted":{color:"#CF0E26",borderColor:"#CF0E26"}}}))),me=e=>{let{label:t,oldValue:n,newValue:r,operation:o,className:i}=e;const s=de(),c=n||r;return a().createElement("div",{className:l()(s.field,i)},a().createElement("span",{className:s.fieldName},t,":"),!(0,f.isNil)(c)&&a().createElement("span",{className:s.difference},c,r&&n&&a().createElement(a().Fragment,null,a().createElement(ue.Z,{className:s.arrow}),r)),o&&a().createElement(u.Chip,{variant:"outlined",label:F(o),className:l()(s.chip,o)}))},ge=a().createContext(null);ge.displayName="AttributesChangesContext";var he=n(72768),fe=n(31039);const be=(0,d.Z)((e=>({linkContainer:{textDecoration:"none",cursor:"pointer",marginLeft:"4px"},linkLabel:{color:e.palette.primary.main,fontSize:"12px",letterSpacing:0,lineHeight:"16px"},disabledLink:{pointerEvents:"none",cursor:"default"},label:{color:e.palette.text.primary},change:e=>{let{level:t=0}=e;return{marginLeft:16*t+"px"}}}))),ye=e=>{let{label:t,level:n,attributeType:i,attributeValue:s,oldValue:c,newValue:p,operation:u}=e;const d=be({level:n}),m=(0,v.useSelector)(E.ZP.selectors.getEntityUri),g=(0,r.useContext)(ge),h=(0,r.useCallback)((()=>{if((0,o.YkG)(i)){const e=(0,f.when)((0,f.anyPass)([(0,f.hasPath)(["value","newValue"]),(0,f.hasPath)(["value","oldValue"])]),(0,f.ifElse)((0,f.hasPath)(["value","newValue"]),(0,f.path)(["value","newValue"]),(0,f.path)(["value","oldValue"])))(s);return function(e,t,n){let r,a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=o[t.refObjectURI];return i?(a=n===i.startObjectUri?i.endObjectUri:i.startObjectUri,r=n===i.startObjectUri?i.endObjectLabel:i.startObjectLabel):t.refEntity&&(a=t.refEntity.objectURI,r=o[a].label),{objectUri:a,objectLabel:r}}(i,e,m,g)}if("endObject"in i){const{endObjectUri:e,endObjectLabel:t}=s;return{objectUri:e,objectLabel:t}}}),[i,s,m,g]),b=(0,r.useCallback)((()=>{const{objectUri:e,objectLabel:t}=h()||{};if(!(0,f.isNil)(e)&&!(0,f.isNil)(t)){var n;const r=!1===(null===(n=g[e])||void 0===n?void 0:n.isExist);return a().createElement(fe.Z,{value:e,className:l()(d.linkContainer,{[d.disabledLink]:r})},a().createElement("span",{className:l()(d.linkLabel,{[d.label]:r})},(0,o.idV)(t)))}return null}),[h,g,d]),y=(0,r.useMemo)((()=>a().createElement("span",null,t,b())),[t,b]),x=(0,r.useCallback)((e=>{const t=(0,o.kDl)(e);return a().createElement(he.Z,{value:t,dataTypeDefinition:z(i,t)})}),[i]);return a().createElement(me,{className:d.change,label:y,oldValue:c&&x(c),newValue:p&&x(p),operation:u})},ve=(0,d.Z)({title:{fontSize:"12px",letterSpacing:0,lineHeight:"16px",fontWeight:500,marginTop:"8px"}});function Ee(){return Ee=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},Ee.apply(this,arguments)}const xe=e=>{let{changes:t}=e;const n=ve();return a().createElement(a().Fragment,null,t.map(((e,t)=>(0,f.has)("level",e)?a().createElement(ye,Ee({},e,{key:t})):a().createElement("div",{className:n.title,key:t},e.label))))},we=(0,f.pipe)((0,f.filter)((0,f.has)("operation")),f.length);function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Oe(e,t,n[t])}))}return e}function Oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Pe=(0,f.filter)((0,f.pipe)((0,f.prop)("uri"),o.WgC)),Te=(0,f.filter)((0,f.pipe)((0,f.prop)("uri"),o.bC9)),Ce=(e,t)=>(0,f.filter)((0,f.allPass)([(0,f.pipe)((0,f.prop)("uri"),o.bC9),(0,f.pipe)((0,f.prop)("startObjectUri"),(0,f.equals)(t))]))(e),Ie=(0,f.curry)(((e,t)=>({entity:t,relations:Ce(e,t.uri)}))),Se=(0,f.curry)(((e,t)=>{const n=e[t.startObjectUri],r=[t];return n?{entity:ke({},n,{uri:t.startObjectUri}),relations:r}:{relations:r}})),Re=(e,t)=>{const{entity:n,relations:r}=t,{uri:a}=n,o=(0,f.pipe)((0,f.pathOr)([],[a,"relations"]),(0,f.concat)(r),f.uniq)(e);return e[a]={entity:n,relations:o},e},Ne=e=>e.type===o.VI$.CREATE_ENTITY,Le=(0,d.Z)((e=>({container:{boxSizing:"border-box",border:"1px solid rgba(0,0,0,0.03)",borderRadius:"3px",backgroundColor:"rgba(0,0,0,0.03)",padding:"10px",margin:"12px 16px 12px 0"},uri:{color:e.palette.primary.main,textDecoration:"none",cursor:"pointer"},label:{fontSize:"12px",letterSpacing:0,lineHeight:"16px"},showMoreLink:{marginTop:"8px"}}))),Me=e=>{let{changes:t,dcrUri:n,objectsInfo:i,entityInfo:l,relationsInfo:s,max:c}=e;const u=Le(),d=(0,v.useSelector)(E.ZP.selectors.getMetadata),[m,g]=(0,r.useMemo)((()=>((e,t,n,r)=>{const a=t=>(0,f.pipe)((0,f.pick)([t]),G(e,n)),i=(0,f.curry)(((e,t)=>(0,f.reduce)(((e,n)=>(0,f.concat)(e,n(t))),[],e))),l=(0,f.propOr)([],n.uri)(t).reduce(((t,r)=>se(e,n,r,t)),{}),s=r.map((n=>((e,t,n)=>(0,f.propOr)([],n.uri)(t).reduce(((t,r)=>se(e,n,r,t)),{}))(e,t,n)));return[i([(0,f.pipe)((0,f.omit)(re),G(e,n)),a(o.xPW.roles.name),a(o.xPW.tags.name),a(o.xPW.startDate.name),a(o.xPW.endDate.name)],l),(0,f.flatten)(r.map(((n,r)=>{const a=(0,f.path)([n.uri,0,"type"],t);return Y(e,n,s[r],a)})))]})(d,t,l,s)),[d,t,l,s]),h=(0,r.useMemo)((()=>{const e={label:p().text("Relationships")};return g.length>0?(0,f.flatten)([m,e,g]):m}),[m,g]),{isExpanded:b,onToggle:y,itemsToShow:x,collapsedSuggestionsCount:w}=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;const[n,a]=(0,r.useState)(!1),o=(0,r.useCallback)((()=>a((e=>!e))),[]),i=(0,r.useMemo)((()=>e.slice(0,t)),[e,t]),l=(0,r.useMemo)((()=>we(e)),[e]),s=(0,r.useMemo)((()=>we(i)),[i]);return{isExpanded:n,onToggle:o,itemsToShow:n?e:i,collapsedSuggestionsCount:l-s}}(h,c),k=(0,f.ifElse)((0,f.any)(Ne),(0,f.always)(((e,t)=>`${e}/changes/${t}`)(n,l.uri)),(0,f.always)((0,o.wwR)(l)))((0,f.propOr)([],l.uri,t)),O=(0,f.ifElse)((0,f.any)(Ne),(0,f.always)("dcrReview"),(0,f.always)("profile"))((0,f.propOr)([],l.uri,t));return a().createElement(ge.Provider,{value:i},a().createElement("div",{className:u.container},a().createElement(fe.Z,{className:u.uri,value:k,screen:O},a().createElement("div",{className:u.label},(0,o.idV)(l.label))),a().createElement(xe,{changes:x}),w>0&&a().createElement(pe,{onClick:y,suggestionsCount:w,isExpanded:b,className:u.showMoreLink})))};function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const De=e=>{let{task:t}=e;const{objectURIs:n}=t,i=(0,P.rc)(n),{dcr:l,groupedObjects:s}=(e=>{const[t,n]=(0,r.useState)([]),[a,i]=(0,r.useState)(null),l=(0,x._)(),s=(0,r.useCallback)((e=>(0,f.isEmpty)(e)?Promise.resolve([]):l((0,o.DnY)(e,{searchOptions:"ovOnly",defaultMaxValues:1}))),[]);return(0,r.useEffect)((()=>{(0,o.E6I)(e).then((e=>{const{changes:t,objectsInfo:r}=e,a=((e,t)=>(0,f.pipe)(f.keys,(0,f.filter)((t=>(0,f.prop)([t],e))),(0,f.map)((e=>ke({},t[e],{uri:e}))))(t))(t,r),o=(0,f.pipe)(Pe,(0,f.map)(Ie(a)))(a),l=(0,f.pipe)(Te,(0,f.map)(Se(r)))(a),[c,p]=(0,f.partition)((0,f.has)("entity"),l),u=p.map((0,f.path)(["relations",0,"startObjectUri"]));s(u).then((e=>{const t=p.map(((t,n)=>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){je(e,t,n[t])}))}return e}({},t,{entity:e[n]})));(0,f.pipe)(f.flatten,(0,f.reduce)(Re,{}),f.values,n)([o,c,t])})).catch(k.R),i(e)})).catch(k.R)}),[e,s]),{dcr:a,groupedObjects:t}})(i);return a().createElement(_,{task:t,Icon:Z},l&&s.map(((e,t)=>a().createElement(L,{key:t,last:t===s.length-1,divider:!0},a().createElement(Me,{entityInfo:e.entity,relationsInfo:e.relations,changes:l.changes,objectsInfo:l.objectsInfo,dcrUri:i})))))},Ae=(0,d.Z)({pmCard:{marginLeft:"-15px"}});function Ve(){return Ve=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},Ve.apply(this,arguments)}const _e=e=>a().createElement("svg",Ve({width:28,height:28,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("circle",{fill:"#1976D2",cx:14,cy:14,r:14}),a().createElement("path",{d:"M22.5 14L18 9.5V13h-3.5L9 7.5 7.5 9l6.04 6H18v3.5l4.5-4.5zm-11.46 1.46L7.5 19 9 20.5l3.54-3.54-1.5-1.5z",fill:"#FFF",opacity:.87})));var Ue=n(28741),Ze=n(49734);const Be={showTransitiveMatches:!0,showInactiveEntities:!1},We=e=>{let{task:t}=e;const n=Ae(),{objectURIs:r}=t,o=(0,v.useSelector)(E.ZP.selectors.getEntity),i=(0,v.useSelector)(E.ZP.selectors.getMetadata),{matches:l,entitiesMap:s}=(0,Ue.s)({enabled:!!o.uri,entity:o,filter:"",rowsPerPage:Number.MAX_SAFE_INTEGER,page:0,options:Be}),c=null==l?void 0:l.find((e=>{let{object:t}=e;return r.includes(t.uri)}));return a().createElement(_,{task:t,Icon:_e},c&&a().createElement(L,{last:!0},a().createElement("div",{className:n.pmCard},a().createElement(Ze.M,{metadata:i,entity:o,match:c,entitiesMap:s}))))};function Fe(){return Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Fe.apply(this,arguments)}const ze=e=>a().createElement("svg",Fe({width:28,height:28,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("circle",{fill:"#205191",cx:14,cy:14,r:14}),a().createElement("path",{d:"M9.667 20.622c-.92 0-1.667-.744-1.667-1.662V8.99c0-.916.747-1.66 1.667-1.66h2.446A1.993 1.993 0 0114 6l.162.006a1.992 1.992 0 011.725 1.323h2.446c.92 0 1.667.745 1.667 1.662v9.97c0 .917-.747 1.661-1.667 1.661zm9-1.33V8.66h-1.334v1.993h-6.666V8.66H9.333v10.634h9.334zM15.86 14.46v1.302h-5.206V14.46h5.206zm1.494-2v1.302h-6.7V12.46h6.7zM14 7.33c.367 0 .667.298.667.664a.668.668 0 01-1.334 0c0-.366.3-.665.667-.665z",fill:"#FFF",opacity:.87})));function He(){return He=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},He.apply(this,arguments)}const qe=e=>a().createElement("svg",He({width:28,height:28,viewBox:"0 0 28 28",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd",opacity:.87},a().createElement("circle",{fill:"#0D47A1",cx:14,cy:14,r:14}),a().createElement("path",{d:"M8.17 9.824v8.995c0 .886.72 1.606 1.607 1.606h8.352c.192 0 .375-.035.546-.097l1.38 1.382.804-.804-1.32-1.32-1.09-1.089-8.993-8.994-1.092-1.092-1.317-1.317-.803.803L8.17 9.824zm9.316 9.316h-8.03v-8.03l8.03 8.03zM9.777 7.575c-.192 0-.376.033-.55.094L10.42 8.86h.32v.322l1.607 1.606h4.819V8.86h1.284v8.03l1.285 1.286V9.182c0-.887-.72-1.607-1.606-1.607h-2.358a1.931 1.931 0 00-1.818-1.285 1.93 1.93 0 00-1.818 1.285H9.777zm3.533.643c0-.353.29-.643.643-.643.353 0 .642.29.642.643a.644.644 0 01-.642.642.644.644 0 01-.643-.642z",fill:"#FFF"})));class $e{}$e.build=e=>{let{task:t}=e;const{processType:n}=t;switch(n){case o.Yj_.dataChangeRequestReview:return a().createElement(De,{task:t});case o.Yj_.potentialMatchReview:return a().createElement(We,{task:t});case o.Yj_.recommendForDelete:return a().createElement(_,{task:t,Icon:qe});default:return a().createElement(_,{task:t,Icon:ze})}};const Ge=$e,Ye=e=>{let{task:t}=e;return Ge.build({task:t})}},26789:(e,t,n)=>{"use strict";n.d(t,{G:()=>E});var r=n(24328),a=n.n(r),o=n(87918),i=n.n(o),l=n(94079),s=n(65549),c=n(22994),p=n(31517),u=n(49885),d=n(57014),m=n(52730),g=n(94150),h=n(75813),f=n(79692);const b=(0,f.Z)((e=>({popoverPaper:{width:"464px"},title:{fontSize:"20px",fontWeight:500,letterSpacing:"0.25px",lineHeight:"24px",color:e.palette.text.primary,marginBottom:"17px"},content:{display:"flex",flexDirection:"column",padding:"23px 24px 14px 24px"},simpleDropDownSelector:{marginBottom:"20px"},inputRoot:{paddingTop:"0 !important",paddingBottom:"0 !important"},select:{fontSize:"14px"},footer:{display:"flex",justifyContent:"flex-end",padding:"5px 8px 8px",borderTop:"1px solid rgba(0,0,0,0.12)"},cancelButton:{marginRight:"8px"},input:{fontSize:"14px"}}))),y=e=>{let{anchorEl:t,onClose:n}=e;const o=b(),[s,c]=(0,r.useState)(""),[f,y]=(0,r.useState)(null),[v,E]=(0,r.useState)(!1),{definitions:x}=(()=>{const[e,t]=(0,r.useState)([]),n=(0,m.useSelector)(u.ZP.selectors.getWorkflowPath),a=(0,m.useSelector)(u.ZP.selectors.getWorkflowEnvironmentUrl),o=(0,m.useSelector)(u.ZP.selectors.getTenant),i=(0,m.useSelector)(u.ZP.selectors.getEntity).type;return(0,r.useEffect)((()=>{(0,d.IU6)({workflowPath:n,environment:a,tenant:o}).then((e=>{let{data:n}=e;return t(((e,t)=>e.filter((e=>{let{manualStart:n,objectTypes:r}=e;return n&&(!r||(null==r?void 0:r.some((e=>e===t))))})))(n,i))}))}),[i,n,a,o]),{definitions:e}})(),{processInstance:w,loading:k}=(()=>{const{loadTasks:e}=(0,r.useContext)(g.O),t=(0,m.useSelector)(u.ZP.selectors.getWorkflowPath),n=(0,m.useSelector)(u.ZP.selectors.getWorkflowEnvironmentUrl),a=(0,m.useSelector)(u.ZP.selectors.getTenant),o=(0,m.useSelector)(u.ZP.selectors.getEntity).uri,[i,l]=(0,r.useState)(!1);return{processInstance:(0,r.useCallback)(((r,i)=>(l(!0),(0,d.$ju)({workflowPath:t,tenant:a,environment:n,processType:i,comment:r,objectURIs:[o]}).then((()=>{e()})).catch((e=>{throw(0,h.R)(e),e})).finally((()=>{l(!1)})))),[o,n,e,a,t]),loading:i}})(),O=Boolean(t);return a().createElement(a().Fragment,null,a().createElement(l.Popover,{open:O,anchorEl:t,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},classes:{paper:o.popoverPaper}},a().createElement("div",{className:o.content},a().createElement(l.Typography,{className:o.title},i().text("Add new workflow")),a().createElement(p.Z,{className:o.simpleDropDownSelector,variant:"filled",height:40,TextFieldProps:{InputProps:{disableUnderline:!0}},placeholder:i().text("Select task type"),value:f,onChange:e=>{y(e)},label:"",options:x.map((e=>({value:e.type,label:e.displayName})))}),a().createElement(l.TextField,{variant:"filled",hiddenLabel:!0,size:"small",placeholder:"Type a comment",InputProps:{disableUnderline:!0,classes:{input:o.input,root:o.inputRoot}},value:s,onChange:e=>{c(e.target.value)},multiline:!0})),a().createElement("div",{className:o.footer},a().createElement(l.Button,{disabled:k,className:o.cancelButton,onClick:n},i().text("Cancel")),a().createElement(l.Button,{disabled:k,color:"primary",onClick:()=>{w(s,null==f?void 0:f.value).then((()=>{E(!0),c(""),y(null),n()})).catch((()=>{}))}},i().text("Start")))),a().createElement(l.Portal,{container:document.body},a().createElement(l.Snackbar,{open:v,autoHideDuration:5e3,onClose:()=>{E(!1)},message:i().text("A new workflow has started")})))},v=(0,f.Z)({button:{padding:"9px 16px 9px 12px",marginLeft:"auto",marginRight:"8px"},buttonLabel:{fontSize:"14px",fontWeight:500,lineHeight:"16px"},icon:{fontSize:"18px",marginRight:"8px"}}),E=()=>{const e=v(),[t,n]=(0,r.useState)(null),o=(0,c.Z)(),p=o("START_PROCESS_INSTANCE"),u=o("VIEW_PROCESS_DEFINITIONS");return p&&u?a().createElement(a().Fragment,null,a().createElement(l.Button,{color:"primary",className:e.button,onClick:e=>n(e.currentTarget)},a().createElement(s.Z,{className:e.icon}),a().createElement("div",{className:e.buttonLabel},i().text("Add"))),a().createElement(y,{anchorEl:t,onClose:()=>n(null)})):null}},65321:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var r=n(24328),a=n.n(r),o=n(17440),i=n(94079),l=n(10186);const s=e=>{let{task:t}=e;const{taskId:n,possibleActions:r,assignee:s,isOpen:c,preferredAction:p}=t,{actions:u,actionRequestIsInProgress:d}=(0,l.t)({taskId:n,possibleActions:r,assignee:s,isOpen:c}),[m,g]=(0,o.partition)((0,o.propEq)("text",p.label),u);return a().createElement(a().Fragment,null,g.map((e=>a().createElement(i.Button,{variant:"outlined",onClick:e.onClick,key:e.text,disabled:d},e.text))),m.map((e=>a().createElement(i.Button,{variant:"contained",color:"primary",onClick:e.onClick,key:e.text,disabled:d},e.text))))}},61756:(e,t,n)=>{"use strict";n.d(t,{v:()=>p});var r=n(24328),a=n(52730),o=n(17440),i=n(49885),l=n(57014),s=n(85229),c=n(22994);const p=e=>{const{processTypes:t,assignee:n,showClosedTasks:p}=e||{},d=(0,s._)(),m=(0,a.useSelector)(i.ZP.selectors.getWorkflowPath),g=(0,a.useSelector)(i.ZP.selectors.getWorkflowEnvironmentUrl),h=(0,a.useSelector)(i.ZP.selectors.isWorkflowEnabled),f=(0,a.useSelector)(i.ZP.selectors.getTenant),b=(0,a.useSelector)(i.ZP.selectors.getEntityUri),y=(0,a.useSelector)(i.ZP.selectors.getIsEditableMode),v=(0,c.Z)()("VIEW_TASKS"),E=!(!m||!g)&&h&&v,[x,w]=(0,r.useState)(null),[k,O]=(0,r.useState)(0),[P,T]=(0,r.useState)(!1),C=(0,r.useCallback)((()=>{T(!0);const e=!Array.isArray(t)||t.includes("*")?null:t,r=(e||[null]).map((e=>(0,l.uT0)({entityUri:(0,l.FP6)(b)?(0,l.$Rg)(b):b,workflowPath:m,environment:g,tenant:f,filter:{assignee:n,processType:e},includeClosed:!!p})));d(Promise.all(r)).then((t=>{const r=(0,o.pipe)((0,o.map)((0,o.prop)("data")),(0,o.reject)(o.isNil),o.flatten,(0,o.uniqBy)((0,o.prop)("taskId")),(0,o.filter)(u(e,n)))(t);w(r),O(r.length)})).catch((e=>{console.warn("Workflow error",e)})).finally((()=>{T(!1)}))}),[b,g,d,f,m,n,p,t]);return(0,r.useEffect)((()=>{b&&E&&!(0,l.ZiX)(b)?C():(w(null),O(0))}),[E,b,C,y]),{tasks:x,total:k,loading:P,updateTaskState:(0,r.useCallback)(((e,t)=>{w((0,o.map)((0,o.when)((0,o.propEq)("taskId",e),(0,o.mergeLeft)(t))))}),[]),loadTasks:C}},u=(e,t)=>n=>(!e||e.includes(n.processType))&&(!t||t===n.assignee)},97090:(e,t,n)=>{"use strict";n.d(t,{vl:()=>r,r:()=>a,Q3:()=>o,Pi:()=>i});const r={CIRCLE:"circle",POLYGON:"polygon"},a={fillColor:"rgb(242,82,82)",fillOpacity:.1,strokeWeight:2,strokeColor:"#F25252",clickable:!1,editable:!0,zIndex:1},o={mapTypeControl:!1,streetViewControl:!1,fullscreenControl:!1},i=.001},91676:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var r=n(24328);const a=n.n(r)().createContext({});a.displayName="EntityMarkerContext"},47872:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(24328);const a=n.n(r)().createContext({});a.displayName="InterceptHandlersContext"},26481:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var r=n(24328);const a=n.n(r)().createContext(!1);a.displayName="ProfilePerspectiveViewContext"},60115:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var r=n(24328);const a=n.n(r)().createContext({getCurrentPerspectiveId:()=>"",setEntityUri:()=>{},showPerspective:()=>{}})},53607:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var r=n(57014),a=n(26929);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){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=async(e,t)=>{const{accessToken:n}=await(null==t?void 0:t());return n?o({},e.headers,{Authorization:`Bearer ${n}`}):e.headers},s=(e,t)=>{const{url:n}=e;return n?(!(null==t?void 0:t.some((e=>{var t;const r=null===(t=n.match(/^(https?:\/\/[^:/?#]*).*$/))||void 0===t?void 0:t[1],a=new RegExp("^"+e+"$"),o=e.replace(/\/*$/,"");return o===n||r&&r===o||(null==o?void 0:o.startsWith("/"))&&(null==n?void 0:n.startsWith(o))||e&&a.test(n)})))||0===((null==t?void 0:t.length)||0))&&{errorMessage:"Not enough permissions"}:{errorMessage:"URL is empty"}},c=e=>{let{name:t,paramObject:n,permissions:i,worker:c,metadata:p,config:u,apiPath:d,servicesPath:m,user:g,workflowPath:h,entity:f,tenant:b,entityUri:y,query:v,openSearch:E,environment:x,getCurrentPerspectiveId:w,showPerspective:k,workflowCheckPermission:O,setEntityUri:P}=e;const T=e=>{e.then((e=>{c.postMessage(o({action:"response",result:{data:e,headers:n.params.headers,status:200}},n.params))})).catch((e=>{c.postMessage(o({action:"response",result:{data:e,headers:n.params.headers,status:0}},n.params))}))},C=(0,a.D)(m)?()=>(0,r.hPi)({servicesPath:m}):()=>Promise.resolve({accessToken:""});switch(t){case r.MVv.API:{const e=(async(e,t,n)=>{const a=s(e,t);if(a)return a;const o=await l(e,n);return await(0,r.SL_)({url:e.url,method:e.method,data:e.data,headers:o,noRequestProcessor:!0})})(n.params,i,C);T(e);break}case r.MVv.WORKFLOW:{const e=(async(e,t,n,a,o)=>{const{url:i}=e,c=s(e,t);if(c)return c;const p=i.includes("http:")||i.includes("https:");if(!n&&!p)return{errorMessage:"Workflow path is not defined"};const u=await l(e,o);return await(0,r.oUH)({url:i,method:e.method||"GET",data:e.data,tenant:a,headers:u,workflowPath:n})})(n.params,i,h,b,C);T(e);break}case r.MVv.WORKFLOW_START_PROCESS_FROM_QUERY:{const e=((e,t,n,a,i)=>{if(!e.processDefinitionId)return new Promise((e=>e({errorMessage:"processDefinitionId is empty"})));if(!e.searchString)return new Promise((e=>e({errorMessage:"searchString is empty"})));if(!n)return new Promise((e=>e({errorMessage:"Workflow path is not defined"})));const l=s(o({url:"/processInstances/_generateFromQuery"},e),t);return l?new Promise((e=>e(l))):(0,r.FuV)({workflowPath:n,processType:e.processDefinitionId,searchString:e.searchString,tenant:a,environment:i})})(n.params,i,h,b,x);T(e);break}case r.MVv.GET_CONFIGURATION:c.postMessage(o({action:"response",result:p},n.params));break;case r.MVv.GET_UI_CONFIGURATION:{const e=o({},u,{action:o({},u.action)});e.action.permissions&&delete e.action.permissions,c.postMessage(o({action:"response",result:e},n.params));break}case r.MVv.SET_ENTITY_URI:{const e=e=>c.postMessage(o({action:"response",result:e},n.params));P(n.params.entityUri,e);break}case r.MVv.SET_PERSPECTIVE:k(n.params.perspective),c.postMessage(o({action:"response",result:w()},n.params));break;case r.MVv.GET_PERSPECTIVE:w&&c.postMessage(o({action:"response",result:w()},n.params));break;case r.MVv.WORKFLOW_CHECK_PERMISSION:c.postMessage(o({action:"response",result:O(n.params.permission)},n.params));break;case r.MVv.GET_SEARCH_QUERY:c.postMessage(o({action:"response",result:v},n.params));break;case r.MVv.OPEN_SEARCH:E({viewId:u.id,searchState:n.params.searchState||{}});break;case r.MVv.GET_ENTITY_URI:c.postMessage(o({action:"response",result:y},n.params));break;case r.MVv.GET_ENTITY:c.postMessage(o({action:"response",result:f},n.params));break;case r.MVv.GET_API_PATH:c.postMessage(o({action:"response",result:d},n.params));break;case r.MVv.WORKFLOW_GET_WORKFLOW_PATH:c.postMessage(o({action:"response",result:h},n.params));break;case r.MVv.GET_TENANT:c.postMessage(o({action:"response",result:b},n.params));break;case r.MVv.GET_USER:c.postMessage(o({action:"response",result:g},n.params));break;case r.MVv.ALERT:c.postMessage(o({action:"response",result:window.alert(n.params.text)},n.params));break;case r.MVv.CONFIRM:c.postMessage(o({action:"response",result:window.confirm(n.params.text)},n.params));break;case r.MVv.PROMPT:c.postMessage(o({action:"response",result:window.prompt(n.params.text,n.params.defaultText||"")},n.params));break;case r.MVv.OPEN_WINDOW:window.open(n.params.url,"_blank");break;case r.MVv.RELOAD_PAGE:location.reload()}}},26929:(e,t,n)=>{"use strict";n.d(t,{D:()=>l,jm:()=>s,aZ:()=>p,Fx:()=>d,dH:()=>m,R3:()=>g,Yo:()=>h});var r=n(58697),a=n.n(r);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){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const l=e=>null==e?void 0:e.includes("/nui"),s=(e,t)=>l(e)?`${e.replace(`${t}/`,"")}worker_api.js`:`${e}worker_api.js`,c=(e,t,n)=>{let r=[];const a=e.getAttribute("ui-actions"),i=e.getAttribute("ui-tooltip"),l=e.getAttribute("id")||e.getAttribute("name");return a&&(a.split(",").forEach((n=>{const a=e=>{var r;const a=e.target,i=r=>{t.postMessage({action:"event",type:"uiAction",data:{type:n,id:l,event:o({},e,{files:r})}})};null!==(r=a.files)&&void 0!==r&&r.length?(e=>{const t=Array.from(e).map((e=>new Promise(((t,n)=>{const r=new FileReader;r.onload=n=>{const r=n.target.result,{lastModified:a,name:o,size:i,type:l}=e;t({lastModified:a,name:o,size:i,type:l,content:r})},r.onerror=e=>{n(e)},r.readAsArrayBuffer(e)}))));return Promise.all(t)})(a.files).then(i):i()};e.addEventListener(n,a),r.push((()=>{e.removeEventListener(n,a)}))})),e.removeAttribute("ui-actions")),i&&n(i),e.childNodes.forEach((e=>{1===e.nodeType&&(r=r.concat(c(e,t,n)))})),r},p=e=>{let{worker:t,setTooltip:n,innerText:r,html:a,setListenersToReset:o,setHtml:i}=e;const l=document.createElement("div");l.innerHTML=a||r,o(c(l,t,n)),i(l)},u=(e,t)=>(e||[]).some((e=>{const n=new RegExp(`^${e}$`);return e.replace(/\/*$/,"")===t||e&&n.test(t)})),d=e=>{let{workerRef:t,setRequestListeners:n}=e;return{processApiRequest:(e,r,o,i,l)=>{const s=a()();n({url:e,method:r,headers:o,noRequestProcessor:!0},l,s),t.current.postMessage({action:"apiRequest",id:s,url:e,method:r,headers:o,data:i})}}},m=e=>{let{workerRef:t,setResponseListeners:n}=e;return{processApiResponse:(e,r,o,i)=>{const l=a()();n(i,l),t.current.postMessage({action:"apiResponse",id:l,url:e,method:r,data:o})}}},g=e=>{let{apiPath:t,reltioPath:n,tenant:r,processApiRequest:i,workerRef:l,setRequestListeners:s}=e;return e=>{let{options:c={},url:p,next:d}=e;const m=p.startsWith("/")&&!p.startsWith(t)?`${n}/api/${r}${p}`:`${n}${p.replace(t,"")}`;if(u(i,m)){const e=a()();s(c,d,e),l.current.postMessage({action:"apiRequest",id:e,url:m,method:c.method,headers:o({},c.headers,{origin:"ui",requestId:e}),data:c.body})}else d(p,c)}},h=e=>{let{reltioPath:t,apiPath:n,processApiResponse:r,workerRef:o,setResponseListeners:i}=e;return e=>{var l;let{url:s,response:c,next:p,options:d,abort:m}=e;if("ui"===(null==d||null===(l=d.headers)||void 0===l?void 0:l.origin))c.json().then((e=>{var t,n;i(p,d.headers.requestId),o.current.postMessage({action:"response",result:{data:e,status:c.status},id:null==d?void 0:d.id,name:null==d||null===(t=d.task)||void 0===t||null===(n=t.params)||void 0===n?void 0:n.name})})).catch((e=>{m(e)}));else{const e=`${t}${s.replace(n,"")}`;if(u(r,e)){const t=a()();c.json().then((n=>{i(p,t),o.current.postMessage({action:"apiResponse",id:t,url:e,method:d.method,data:n})})).catch((e=>{m(e)}))}else p(c)}}}},9757:(e,t,n)=>{"use strict";n.d(t,{E:()=>w});var r=n(24328),a=n(52730),o=n(49885),i=n(57014),l=n(17440),s=n(22994),c=n(24330),p=n.n(c);const u={attributes:{"*":["accent-height","accumulate","additive","alignment-baseline","allowReorder","alphabetic","amplitude","arabic-form","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baseline-shift","baseProfile","bbox","begin","bias","by","calcMode","cap-height","class","clip","clipPathUnits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominant-baseline","dur","dx","dy","edgeMode","elevation","enable-background","end","exponent","externalResourcesRequired","fill","fill-opacity","fill-rule","filter","filterRes","filterUnits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","format","from","fx","fy","g1","g2","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","glyphRef","gradientTransform","gradientUnits","hanging","height","horiz-adv-x","horiz-origin-x","id","ideographic","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lang","lengthAdjust","letter-spacing","lighting-color","limitingConeAngle","local","marker-end","marker-mid","marker-start","markerHeight","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","max","media","method","min","mode","name","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overline-position","overline-thickness","panose-1","paint-order","path","pathLength","patternContentUnits","patternTransform","patternUnits","pointer-events","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","rendering-intent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","scale","seed","shape-rendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","string","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","style","surfaceScale","systemLanguage","tableValues","target","targetX","targetY","text-anchor","text-decoration","text-rendering","textLength","to","transform","type","u1","u2","underline-position","underline-thickness","unicode","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","values","version","vert-adv-y","vert-origin-x","vert-origin-y","viewBox","viewTarget","visibility","width","widths","word-spacing","writing-mode","x","x-height","x1","x2","xChannelSelector","y","y1","y2","yChannelSelector","z","zoomAndPan","ui-actions","ui-tooltip"],img:["src","srcset","alt","title","loading"],link:["href","rel"],iframe:["src"],a:["href"]},tags:["animate","animateColor","animateMotion","animateTransform","mpath","set","circle","ellipse","line","polygon","polyline","rect","defs","glyph","g","marker","mask","missing-glyph","pattern","svg","switch","symbol","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","hkern","vkern","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","feDistantLight","fePointLight","feSpotLight","circle","ellipse","line","path","polygon","polyline","rect","defs","g","svg","symbol","use","altGlyph","altGlyphDef","altGlyphItem","glyph","glyphRef","textPath","text","tref","tspan","altGlyph","textPath","tref","tspan","clipPath","color-profile","cursor","filter","foreignObject","script","style","view","a","link","input","button","iframe","img"]};function d(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){m(e,t,n[t])}))}return e}function m(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=()=>{const{allowedAttributes:e,allowedTags:t}=p().defaults,{attributes:n,tags:r}=u,a={allowedTags:t.concat(r),allowedAttributes:d({},e,n),allowVulnerableTags:!0};return e=>p()(e,a)};var h=n(97094),f=n(60115),b=n(47872),y=n(53607),v=n(26929);function E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){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 w=function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[c,p]=(0,r.useState)(),[u,d]=(0,r.useState)([]),[m,x]=(0,r.useState)([]),[w,k]=(0,r.useState)(!0),[O,P]=(0,r.useState)(),[T,C]=(0,r.useState)(null),[I,S]=(0,r.useState)({}),R=(0,r.useRef)(),N=(0,r.useRef)({}),L=(0,r.useRef)({}),M=(0,a.useDispatch)(),j=g(),D=(0,a.useSelector)(o.ZP.selectors.getUIPath),A=(0,a.useSelector)(o.ZP.selectors.getTenant),V=(0,v.jm)(D,A),_=(0,r.useContext)(h.S),U=(0,r.useContext)(f.Y),Z=(0,r.useContext)(b.p),B=(0,s.Z)(),W=(0,a.useSelector)(o.ZP.selectors.getMetadata)||{},F=(0,a.useSelector)(o.ZP.selectors.getEntity)||{},z=(0,a.useSelector)(o.ZP.selectors.getApiPath),H=(0,a.useSelector)(o.ZP.selectors.getServicesPath),q=(0,a.useSelector)(o.ZP.selectors.getReltioPath),$=(0,a.useSelector)(o.ZP.selectors.getWorkflowPath),G=(0,a.useSelector)(o.ZP.selectors.getUser),Y=(0,a.useSelector)(o.ZP.selectors.getEntityUri),Q=(0,a.useSelector)(o.ZP.selectors.getIsEditableMode),X=(0,a.useSelector)(o.ZP.selectors.getWorkflowEnvironmentUrl),{type:K,data:J}=(0,a.useSelector)(o.ZP.selectors.getSearchProviderData)||{},ee="search"===K?null==J?void 0:J.query:null,te=!(0,v.D)(H),ne=te?U.interceptors:Z,re=e=>M(o.ui.actions.openSearch(e));let ae="",oe="";const ie=e=>{let{task:t,worker:r}=e;if(t)switch(t.action){case i.W0P.SET_HTML:{const e=j(t.params.html);t.params.id?document.getElementById(t.params.id).innerHTML=e:ae!==e&&(ae=e,(0,v.aZ)({worker:r,setTooltip:C,html:e,innerText:ae,setListenersToReset:d,setHtml:p}));break}case i.W0P.SHOW_POPUP:{const e=j(t.params);oe=e,(0,v.aZ)({worker:r,setTooltip:C,html:e,innerText:oe,setListenersToReset:x,setHtml:P});break}case i.W0P.HIDE_POPUP:oe="",P(null);break;case i.W0P.SET_VISIBILITY:"visible"===t.params?(k(!0),(0,v.aZ)({worker:r,setTooltip:C,innerText:ae,setListenersToReset:d,setHtml:p})):k(!1);break;case i.W0P.SET_TOOLTIP:C(t.params);break;case i.W0P.SET_HEIGHT:S((e=>E({},e,{height:t.params})));break;case i.W0P.SET_WIDTH:S((e=>E({},e,{width:t.params})));break;case i.W0P.SET_ENABLED:S((e=>t.params?(0,l.omit)(["pointer-events"],e):E({},e,{"pointer-events":"none"})));break;case i.W0P.LOG:console.log(t.params);break;case i.W0P.MESSAGE:_(t.params);break;case i.W0P.REQUEST:var a,o;if("ui"!==(null===(a=t.params)||void 0===a||null===(o=a.headers)||void 0===o?void 0:o.origin))(0,y.U)(E({name:t.params.name,paramObject:t,permissions:n.action.permissions,worker:r,metadata:W,config:n,user:G,servicesPath:H,apiPath:te?z:q,tenant:A,workflowPath:$,entity:F,entityUri:Y,environment:X,query:ee,openSearch:re,workflowCheckPermission:B},U));else{const{headers:e,id:n,url:r,method:a,data:o}=t.params,i=r.replace(q,z);N.current[e.requestId]&&(N.current[e.requestId].next(i,{body:o,id:n,task:t,headers:e,method:a}),N.current=(0,l.omit)([e.requestId],N.current))}break;case i.W0P.RETURN_PROCESSED_API_RESPONSE:case i.W0P.RETURN_PROCESSED_API_REQUEST:{const{id:e,data:n}=t.params;L.current[e]&&(L.current[e].next(n),L.current=(0,l.omit)([e],L.current));break}}},le=(e,t,n)=>{N.current=E({},N.current,{[n]:{options:e,next:t,id:n}})},se=(e,t)=>{L.current=E({},L.current,{[t]:{next:e}})},ce=(0,v.Fx)({workerRef:R,setRequestListeners:le}),pe=(0,v.dH)({workerRef:R,setResponseListeners:se}),ue=(0,v.R3)({apiPath:z,reltioPath:q,tenant:A,processApiRequest:null==n||null===(e=n.action)||void 0===e?void 0:e.processApiRequest,workerRef:R,setRequestListeners:le}),de=(0,v.Yo)({reltioPath:q,apiPath:z,processApiResponse:null==n||null===(t=n.action)||void 0===t?void 0:t.processApiResponse,workerRef:R,setResponseListeners:se}),me=(e,t)=>{var n;null===(n=R.current)||void 0===n||n.postMessage({action:"event",type:e,data:t})};(0,r.useEffect)((()=>{(0,i.O27)(n.action)||n.action.platform===i.X1H.CLASSIC||(R.current=(0,i.QWZ)(V,ie,n),me("updateEntity",F))}),[F,n]),(0,r.useEffect)((()=>{me("editMode",Q)}),[Q]),(0,r.useEffect)((()=>{me("changeSearchQuery",ee)}),[ee]),(0,r.useEffect)((()=>{me("changeVisibility",w)}),[w]),(0,r.useEffect)((()=>()=>{u.forEach((e=>e()))}),[u]),(0,r.useEffect)((()=>()=>{m.forEach((e=>e()))}),[m,u]);const ge=(0,r.useCallback)((()=>{me("execute",null)}),[n]);return(0,r.useEffect)((()=>{var e,t;if(!(0,i.O27)(ne)&&(null!=n&&null!==(e=n.action)&&void 0!==e&&e.processApiRequest||null!=n&&null!==(t=n.action)&&void 0!==t&&t.processApiResponse)){const{addInternalRequestInterceptor:e,addInternalResponseInterceptor:t,removeInternalRequestInterceptor:o,removeInternalResponseInterceptor:i}=ne;var r,a;return te?(e(null==n||null===(r=n.action)||void 0===r?void 0:r.processApiRequest,ce),t(null==n||null===(a=n.action)||void 0===a?void 0:a.processApiResponse,pe),()=>{o(ce),i(pe)}):(e(ue),t(de),()=>{o(ue),i(de)})}}),[n]),{html:c,visible:w,tooltip:T,customStyles:I,onClick:ge,popup:O}}},26313:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(24328),a=n(17440),o=n(52730),i=n(49885),l=n(57014),s=n(85229);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){p(e,t,n[t])}))}return e}function p(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=e=>{const t=(0,s._)(),n=(0,o.useSelector)(i.ZP.selectors.getEntityUriWithDataTenant),[p,u]=(0,r.useState)({}),d=(0,r.useCallback)((e=>{const n=[{filter:l.j5E.EQUALS,fieldName:"uri",values:e}],r={max:e.length,activeness:l.YJ7.ALL,select:"uri,label,type"};return t((0,l.ZOr)(n,r))}),[t]),m=e=>(0,l.HvW)(e,{options:"uri,label,type"}).then((t=>c({},t,{uri:e}))).catch((()=>({}))),g=(0,r.useCallback)(((e,n)=>t(Promise.all((e||[]).map(m))).then((e=>(0,a.pipe)((0,a.reject)(a.isEmpty),(0,a.concat)(n))(e)))),[t]);return(0,r.useEffect)((()=>{const t=(0,a.pipe)((0,a.reduce)(((e,t)=>{const{objectType:r,relatedObjectUris:a}=t;return"relation"!==r&&"potentialMatch"!==r||(a||[]).forEach((t=>{t!==n&&(0,l.WgC)(t)&&!p[t]&&e.push(t)})),e}),[]),a.uniq)(e||[]);t.length&&d(t).then((e=>{const n=(0,a.pipe)((0,a.map)((0,a.prop)("uri")),(0,a.difference)(t))(e);return g(n,e)})).then((e=>{u((t=>e.reduce(((e,t)=>(e[t.uri]=t,e)),c({},t))))})).catch((()=>{}))}),[d,g,e,n]),p}},52016:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(52730),a=n(49885),o=n(57014),i=n(24328);const l=[],s=()=>{const e=(0,r.useSelector)(a.ZP.selectors.getUserRoles)||l;return{canCreate:(0,i.useCallback)((0,o.ifj)(o.WVQ.CREATE,e),[e]),canRead:(0,i.useCallback)((0,o.ifj)(o.WVQ.READ,e),[e]),canUpdate:(0,i.useCallback)((0,o.ifj)(o.WVQ.UPDATE,e),[e]),canDelete:(0,i.useCallback)((0,o.ifj)(o.WVQ.DELETE,e),[e])}}},37152:(e,t,n)=>{"use strict";n.d(t,{a:()=>m});var r=n(24328),a=n(52730),o=n(17440),i=n(49885),l=n(57014),s=n(85229),c=n(30634);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){u(e,t,n[t])}))}return e}function u(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=(0,o.when)(o.identity,(0,o.pipe)(l.VGB,o.length,(0,o.times)((e=>e+1)))),m=e=>{let{sorting:t,filter:n,page:u,rowsPerPage:m,config:g,entity:h,relationActivityFilter:f,mode:b,searchByOv:y=!1}=e;const[v,E]=(0,r.useState)(!1),x=(0,a.useDispatch)(),w=(0,a.useSelector)(i.ZP.selectors.getTenant),k=(0,a.useSelector)(i.ZP.selectors.getMetadata),O=(0,a.useSelector)(i.ZP.selectors.getDtssPath),{activityFilter:P,globalFilter:T}=(0,a.useSelector)(i.ZP.selectors.getGlobalSearchRequestOptions)||{},C=(0,s._)(),I=e=>{const t=(0,o.when)(l.Kn2,(0,o.prop)("uri")),n=(0,o.pipe)(t,(0,l.pQZ)(k));return(0,o.evolve)({entityTypes:(0,o.filter)((0,l.kuw)(k)),inRelations:(0,o.filter)(n),outRelations:(0,o.filter)(n),nextEntry:I})(e)},S=g.suggested,R=(0,r.useMemo)((()=>({searchByOv:y})),[y]),N=(0,r.useCallback)((()=>{if(null!=h&&h.uri){const e=p({},I(g.content),{sortBy:null==t?void 0:t.field,order:null==t?void 0:t.order,returnDates:!0,returnObjects:!0,activeness:{relation:f||l.Ng6.ALL,entity:P},max:m,offset:u*m,filter:(0,l.vyX)(T,n)||void 0,suggested:d(S)}),r=[e].concat((0,o.ifElse)(o.identity,(0,o.pipe)(l.VGB,(t=>t.map(((t,n)=>p({},t,{id:e.suggested[n]}))))),(0,o.always)([]))(S)),a=(0,o.cond)([[(0,o.pipe)((0,o.prop)("uri"),l.ZiX),()=>Promise.resolve([{total:0}])],[l.biM,e=>(0,l.n_1)({entityUri:e.uri,configs:r,customerTenant:w,dataTenant:e.dataTenant,dtssPath:O,options:R})],[o.T,e=>(0,l.N6e)(e.uri,r,R)]]);E(!0),C(a(h)).then((e=>{let[{connections:t,total:n}]=e;x(i.N5.relations.actions.relationsLoaded({id:g.id,connections:t,total:n}))})).finally((()=>{E(!1)}))}}),[P,k,g,x,O,null==h?void 0:h.uri,null==h?void 0:h.dataTenant,n,T,u,f,m,C,t,w,R]),L=(0,r.useRef)(!1);L.current=!1,(0,r.useEffect)((()=>{L.current=!0,N()}),[N]);const M=(0,c.D)(b);return(0,r.useEffect)((()=>{b!==l.ARY.Viewing||L.current||M===b||(L.current=!0,N())}),[N,b,M]),{isLoading:v,reload:N}}},76527:()=>{},96969:()=>{},32232:()=>{},24195:()=>{},73443:()=>{}}]);
2
+ //# sourceMappingURL=8448.js.map