@reltio/remotes 1.4.1104 → 1.4.1105

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 (2) hide show
  1. package/9497.js +1 -1
  2. package/package.json +1 -1
package/9497.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9497],{48852:(e,t,l)=>{l.d(t,{l:()=>i});var a=l(24328),r=l.n(a);function n(){return n=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},n.apply(this,arguments)}const i=(e,t,l)=>{if(e&&t){const i=(0,a.memo)(l);return l=>r().createElement(e.Consumer,null,(e=>r().createElement(i,n({},l,t(e,l)))))}return l}},97991:(e,t,l)=>{l.d(t,{Z:()=>p});var a,r=l(94079),n=l(71153),i=l.n(n),o=l(24328),c=l.n(o);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(e){e[e.ICON_MODE=0]="ICON_MODE",e[e.TEXT_MODE=1]="TEXT_MODE",e[e.ERROR_MODE=2]="ERROR_MODE"}(a||(a={}));const p=e=>{let{className:t,icon:l,avatarText:n,rootClasses:p}=e,d=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","icon","avatarText","rootClasses"]);const[u,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{f(l?a.ICON_MODE:a.TEXT_MODE)}),[l,n]);const m=()=>{f(a.ERROR_MODE)};switch(u){case a.ICON_MODE:return c().createElement(r.Avatar,s({className:i()(t,null==p?void 0:p.iconRoot),src:l,onError:m},d));case a.TEXT_MODE:case a.ERROR_MODE:return c().createElement(r.Avatar,s({className:i()(t,null==p?void 0:p.textRoot)},d),n);default:return null}}},32528:(e,t,l)=>{l.d(t,{Z:()=>n});var a=l(13688),r=l(48852);const n=e=>t=>(0,r.l)(a.X,e,t)},10237:(e,t,l)=>{l.d(t,{Z:()=>f});var a=l(27556),r=l(13980),n=l.n(r),i=l(24328),o=l.n(i);function c(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){s(e,t,l[t])}))}return e}function s(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const p=(0,l(79692).Z)((e=>({"basic-view__paper":c({display:"flex",flexDirection:"column"},e.basicView)})));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)}const u=(0,i.forwardRef)(((e,t)=>{let{children:l,className:r}=e,n=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["children","className"]);const i=p();return o().createElement(a.Z,d({ref:t,className:r,classes:{root:i["basic-view__paper"]}},n),l)}));u.displayName="BasicView",u.propTypes={children:n().node,className:n().string};const f=u},4094:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n);const o=(0,l(79692).Z)({"basic-view-content":{flex:"1 1 auto",padding:"0 24px 24px","&:first-child":{paddingTop:"24px"}}});function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{children:t,className:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["children","className"]);const n=o();return r().createElement("div",c({className:i()(n["basic-view-content"],l)},a),t)}},92778:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(15223),i=l(94079);const o=(0,l(79692).Z)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{title:t,children:l=null,classes:a={}}=e,s=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["title","children","classes"]);const p=o();return r().createElement(n.Z,c({className:a.root,classes:{root:p.toolbar}},s),r().createElement(i.Typography,{className:a.title,classes:{root:p.title},variant:"h6"},t),l)}},43290:(e,t,l)=>{l.d(t,{Z:()=>p});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(17440);const c=(0,l(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),s=e=>(0,o.is)(Number,e),p=e=>{let{className:t,width:l=0,maxWidth:n}=e;const o=c(),p=(0,a.useCallback)((e=>(n?100*e/n:0)+"%"),[n]);return l?r().createElement("div",{className:i()(o.bar,t),style:{width:s(l)?p(l):l}}):null}},21077:(e,t,l)=>{l.d(t,{B9:()=>f,tC:()=>u,ZP:()=>m});var a=l(24328),r=l.n(a),n=l(17440),i=l(94079);function o(){return o=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},o.apply(this,arguments)}function c(){return c=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},c.apply(this,arguments)}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)}const d=(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","& $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"}},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 u;!function(e){e.full="full",e.embedded="embedded"}(u||(u={}));const f={SEARCH_RESULTS:e=>r().createElement("svg",o({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",c({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",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("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",p({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}))))},m=e=>{let{variant:t=u.full,LogoRenderer:l=f.SEARCH_RESULTS,text:a,secondaryText:o,buttonTitle:c,onClick:s=n.identity,access:p}=e;const m=d(),h=p&&c;return r().createElement("div",{className:m.root},r().createElement(l,{className:m[`${t}`]}),r().createElement("div",{className:m.textBox},r().createElement(i.Typography,{variant:"h5",classes:{h5:m.text}},a),o&&r().createElement(i.Typography,{variant:"subtitle1",classes:{subtitle1:m.secondaryText}},o)),h&&r().createElement(i.Button,{className:m.button,variant:"contained",color:"primary",onClick:s},c))}},2256:(e,t,l)=>{l.d(t,{Z:()=>n});var a=l(24328),r=l.n(a);class n extends r().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}}},67268:(e,t,l)=>{l.d(t,{Z:()=>T});var a=l(13980),r=l.n(a),n=l(24328),i=l.n(n),o=l(66244),c=l.n(o),s=l(44443),p=l(17440),d=l(71153),u=l.n(d);function f(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}const m=e=>{let{x:t,y:l,width:a,height:r,id:n,minWidth:i,minHeight:o,maxWidth:c,maxHeight:s,isStatic:p}=e;return{x:t,y:l,w:a,h:r,minW:i,minH:o,maxW:c,maxH:s,i:n,static:p}},h=e=>{let{x:t,y:l,w:a,h:r,maxW:n,minW:i,minH:o,maxH:c,i:s}=e;return{x:t,y:l,width:a,height:r,minWidth:i,minHeight:o,maxWidth:n,maxHeight:c,id:s,isStatic:f(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},y=e=>(e||[]).map(h),g=(0,p.curry)(((e,t)=>(e||[]).find((0,p.propEq)("id",t)))),v=(0,p.curry)(((e,t,l)=>(0,p.mergeAll)([l,(0,p.pick)(e,t)]))),E=(0,p.curry)(((e,t,l)=>(l||[]).map((l=>(0,p.pipe)((0,p.prop)("id"),g(t),(0,p.defaultTo)({}),v(e,p.__,l))(l)))));var b=l(79692),x=l(99493);const O=(0,b.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 w(){return w=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},w.apply(this,arguments)}function S(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const R=e=>{let{views:t,layout:l,layoutOptions:a,onLayoutChanged:r,draggableHandle:o,LayoutItem:d,onRemove:f,onDrop:v,droppingItem:b,isDroppable:x,classes:R}=e;const T=(0,n.useRef)(),N=O(),[C,A]=(0,n.useState)(null),[_,I]=(0,n.useState)(0),{cols:D,rowHeight:M,margin:L}=a,B=(0,n.useMemo)((()=>(e=>(e||[]).map(m))(l)),[l]),k=(0,p.pipe)(y,E(["autosizing"],l),r),z=(0,n.useCallback)((e=>A((t=>t?null:e))),[]),F=null!==C,j=(0,n.useCallback)(((e,t)=>{let n=!1;const i=l.map((l=>{if(l.id===t&&e){const t=((e,t)=>{const{margin:l,rowHeight:a}=t;return Math.ceil((e+l[1])/(a+l[1]))})(e,a);if(l.height!==t)return n=!0,function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){S(e,t,l[t])}))}return e}({},l,{minHeight:t,maxHeight:t,height:t})}return l}));n&&r(i)}),[l,a,r]);return i().createElement(i().Fragment,null,i().createElement(s.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>I(e)}),i().createElement(c(),{innerRef:T,layout:B,cols:D,draggableHandle:o,autoSize:!0,rowHeight:M,width:_,margin:L,onLayoutChange:k,isResizable:!F,isDraggable:!F,className:u()(N.gridLayout,{[N.gridFullscreen]:F}),onDrop:(e,t,l)=>{v&&v(y(e),h(t),l)},droppingItem:b,isDroppable:x},B.map((e=>{const a=C===e.i,r=(g(l,e.i)||{}).autosizing?{AutosizeComponent:(n=e.i,i().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>{j(t,n)}}))}:{};var n;return i().createElement(d,w({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:z,onRemove:f,className:u()({fullscreen:a},R.item),isFullscreen:a},r))}))))};R.defaultProps={layoutOptions:{cols:4,rowHeight:30,margin:[15,15]},onConfigChanged:p.identity,onLayoutChanged:p.identity,classes:{}},R.propTypes={views:r().array,layout:r().array,layoutOptions:r().object,onConfigChanged:r().func,onLayoutChanged:r().func,onDrop:r().func,onRemove:r().func,LayoutItem:r().elementType,draggableHandle:r().string,isDroppable:r().bool,droppingItem:r().object,classes:r().shape({item:r().string})};const T=(0,n.memo)(R)},32431:(e,t,l)=>{l.d(t,{Z:()=>p});var a=l(24328),r=l.n(a),n=l(99152),i=l(6487),o=l(88611);const c=(0,l(79692).Z)({tabsRoot:{width:"100%"},tabsScrollButton:{flex:"0 0 24px"},tabRoot:{fontSize:"0.875rem",padding:"7px 18px 5px","@media (min-width: 960px)":{minWidth:"inherit"}},labelWrapper:{whiteSpace:"nowrap",letterSpacing:"normal",display:"flex",flexDirection:"row",width:"100%"},label:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500}});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)}const p=e=>{let{value:t,tabs:l=[],onChange:a,tabClasses:p}=e,d=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["value","tabs","onChange","tabClasses"]);const u=c(),f=(e,t)=>r().createElement("span",{className:u.labelWrapper},r().createElement(o.C,{value:e},r().createElement("span",{className:u.label},e)),t);return r().createElement(n.Z,s({value:t,onChange:(e,t)=>a(t),classes:{root:u.tabsRoot,scrollButtons:u.tabsScrollButton},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"on"},d),l.map((e=>{let{label:t,value:l,additionalLabel:a,dataReltioId:n}=e;return r().createElement(i.Z,{classes:p||{root:u.tabRoot},key:l,value:l,label:f(t,a),"data-reltio-id":n})})))}},94175:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(87638),r=l(99493),n=l(24328),i=l.n(n),o=l(52730),c=l(97991);const s=e=>{let{sourceType:t,className:l,classes:n}=e;const s=(0,o.useSelector)(a.ZP.selectors.getMetadata),{uri:p,icon:d}=(0,r.PWK)(s,t),u=(0,r.tH7)(s,p)[0];return i().createElement(c.Z,{className:l,avatarText:u,icon:d?(0,r.vPL)("https://s3.amazonaws.com/reltio.images/api",d):null,variant:"square",rootClasses:n})}},84900:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(99493),i=l(17440);function o(){return o=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},o.apply(this,arguments)}function c(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const s=e=>{const t=t=>{let{data:l}=t,s=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(t,["data"]);const p=(0,a.useMemo)((()=>l&&(e=>{const t=(0,n.QK6)((0,i.pluck)("value",e),1);return e.map(((e,l)=>function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){c(e,t,l[t])}))}return e}({},e,{percent:t[l]})))})(l)),[l]);return r().createElement(e,o({data:p},s))};return t.displayName="WithPercents",t}},99256:(e,t,l)=>{l.d(t,{d:()=>r});const a=(0,l(79692).Z)({clickable:{cursor:"pointer"}}),r=e=>{const t=a();return e?t.clickable:void 0}},2804:(e,t,l)=>{l.d(t,{a:()=>r});var a=l(24328);const r=e=>{const[t,l]=(0,a.useState)(!1),[r,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{e().then((e=>{n(e||{})})).then((e=>l(!0))).catch((e=>l(!0)))}),[]),{isLoaded:t,savedState:r}}},67885:(e,t,l)=>{let a,r;l.d(t,{K:()=>a,o:()=>r}),function(e){e.WITHIN="within",e.AGO="ago",e.BETWEEN="between"}(a||(a={})),function(e){e.INIT="init",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(r||(r={}))},32944:(e,t,l)=>{l.d(t,{Z:()=>o});var a=l(24328),r=l.n(a),n=l(94079);const i=(0,l(79692).Z)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),o=()=>{const e=i();return r().createElement(n.LinearProgress,{color:"secondary",className:e.loader})}},58141:(e,t,l)=>{l.d(t,{Z:()=>c});var a=l(24328),r=l.n(a),n=l(10237),i=l(92316);const o=(0,l(79692).Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),c=e=>{let{id:t,children:l}=e;const a=o();return r().createElement(i.H.Provider,{value:t},r().createElement(n.Z,{className:a.view},l))}},92316:(e,t,l)=>{l.d(t,{H:()=>r});var a=l(24328);const r=l.n(a)().createContext(null);r.displayName="DashboardViewIdContext"},59497:(e,t,l)=>{l.r(t),l.d(t,{default:()=>ei});var a,r=l(24328),n=l.n(r),i=l(52730),o=l(33016),c=l(36138),s=l(99493),p=l(71153),d=l.n(p),u=l(17440),f=l(87918),m=l.n(f),h=l(2804),y=l(32431),g=l(21077),v=l(87638);function E(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}!function(e){e.UNSUPPORTED="unsupported",e.SUMMARY="summary",e.MONTH_DISTRIBUTION="monthDistribution",e.DAY_OF_WEEK_DISTRIBUTION="dayOfWeekDistribution",e.DAY_OF_MONTH_DISTRIBUTION="dayOfMonthDistribution"}(a||(a={}));const b=function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){E(e,t,l[t])}))}return e}({},s.N0y,a);let x;!function(e){e.STRING="string",e.FLOAT="float",e.INTEGER="integer",e.BOOLEAN="boolean",e.DATE="date",e.SSN="SSN",e.UNKNOWN="unknown"}(x||(x={}));const O={[s.yn8.ATTRIBUTE_TYPE]:[{id:"FillRateView",type:b.FILL_RATE,title:m().text("Fill rate")},{id:"UniquenessAnalysisView",type:b.UNIQUENESS,title:m().text("Uniqueness analysis")},{id:"SummaryView",type:b.SUMMARY,title:m().text("Summary")},{id:"ValidationView",type:b.DATA_VALIDATION,title:m().text("Profiles with invalid data")},{id:"FrequencyAnalysis",type:b.FREQUENCY,title:m().text("Frequency analysis")},{id:"LengthStatistics",type:b.LENGTH_STATISTIC,title:m().text("Length statistics")},{id:"PatternAnalysis",type:b.PATTERN,title:m().text("Pattern analysis")},{id:"CrosswalkAnalysis",type:b.CROSSWALK_ANALYSIS,title:m().text("Source system analysis")},{id:"MonthDistribution",type:b.MONTH_DISTRIBUTION,title:m().text("Month distribution")},{id:"DayOfWeekDistribution",type:b.DAY_OF_WEEK_DISTRIBUTION,title:m().text("Day of week distribution")},{id:"DayOfMonthDistribution",type:b.DAY_OF_MONTH_DISTRIBUTION,title:m().text("Day of month distribution")},{id:"ValueDistribution",type:b.VALUE_DISTRIBUTION,title:m().text("Value distribution")},{id:"UnsupportedDataType",type:b.UNSUPPORTED,title:m().text("Unsupported Data Type")}],[s.yn8.ENTITY_TYPE]:[{id:"SummaryView",type:b.SUMMARY,title:m().text("Summary")},{id:"ValidationView",type:b.DATA_VALIDATION,title:m().text("Profiles with invalid data")},{id:"ConsolidationRate",type:b.CONSOLIDATION_RATE,title:m().text("Consolidation rate")}]},w={[s.yn8.ATTRIBUTE_TYPE]:{default:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"LengthStatistics"}],[x.SSN]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:2,height:19,id:"PatternAnalysis"}],[x.BOOLEAN]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"FrequencyAnalysis"},{x:0,y:19,width:2,height:19,id:"CrosswalkAnalysis"}],[x.DATE]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}],[x.INTEGER]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}],[x.FLOAT]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}]},[s.yn8.ENTITY_TYPE]:[{x:0,y:0,width:6,height:6,id:"SummaryView"},{x:0,y:6,width:6,height:18,id:"ConsolidationRate"},{x:0,y:24,width:4,height:12,id:"ValidationView"}]},S=n().createContext(null);S.displayName="ChartsDataContext";const R=n().createContext(null);R.displayName="DetailedAttributeTypeContext";const T=n().createContext(null);T.displayName="DVFContext";const N=n().createContext(null);N.displayName="EntityTypeContext";var C=l(67885),A=l(67218);function _(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const I=e=>{let{entityType:t,detailedAttributeType:l,dataLevel:a,metrics:n}=e;const[i,o]=(0,r.useState)(C.o.INIT),[c,p]=(0,r.useState)({}),[d,f]=(0,r.useState)(null),m=null==l?void 0:l.fieldName,h=null==t?void 0:t.uri,y=(0,A._)(),g=e=>{console.error(e),o(C.o.ERROR),p({})},v=e=>{p(e),o(C.o.LOADED)},E=(0,r.useCallback)((async()=>{if(h)if(f(Date.now()),o(C.o.LOADING),p({}),a===s.yn8.ENTITY_TYPE){const e=(0,s.Uqd)()([{fieldName:"type",filter:s.j5E.EQUALS,values:[h]}]),t=(0,s.FK9)({query:(0,s.ECL)({activeness:s.YJ7.ACTIVE_ONLY,filter:e}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}),l=(0,s.FK9)({query:(0,s.ECL)({activeness:s.YJ7.INACTIVE_ONLY,filter:e}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}),r=(0,s.TTx)({entityTypeUri:h,dataLevel:a,metrics:n});y(Promise.all([t,l,r])).then((e=>{var t,l;let[a,r,n]=e;const i=(0,u.pipe)((0,u.path)(["consolidationRate","totalCrosswalksBySource"]),(0,u.omit)(["ReltioCleanser"]),u.keys,u.length)(n);v(function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){_(e,t,l[t])}))}return e}({},n,{summary:{inactiveProfiles:null===(t=r.type)||void 0===t?void 0:t[(0,s.nIW)(h)],activeProfiles:null===(l=a.type)||void 0===l?void 0:l[(0,s.nIW)(h)],sourceSystems:i}}))})).catch(g)}else{if(!m)return;y((0,s.TTx)({entityTypeUri:h,attributes:[m],dataLevel:a,metrics:n})).then((0,u.pipe)((0,u.pathOr)({},["statistic",m]),v)).catch(g)}}),[o,p,y,m,h,a,n]);(0,r.useEffect)((()=>{const e=!!d&&Date.now()-d>18e4;a===s.yn8.ENTITY_TYPE&&e&&b()}));const b=(0,r.useCallback)((()=>{try{E()}catch(e){g(e)}}),[E]);return(0,r.useEffect)((()=>{b()}),[b]),(0,r.useMemo)((()=>({data:c,state:i,reload:b})),[c,i,b])},D=e=>{const[t,l]=(0,r.useState)(null),a=(0,A._)();return(0,r.useEffect)((()=>{const t=(0,s.Uqd)()([{fieldName:"type",filter:s.j5E.EQUALS,values:(0,u.pluck)("uri",e)}]);a((0,s.FK9)({query:(0,s.ECL)({activeness:"active",filter:t}),body:[{fieldName:"type",pageSize:101,pageNo:1}]})).then((e=>{let{type:t}=e;return l(t)})).catch((()=>l(null)))}),[e]),e=>Number((null==t?void 0:t[(0,s.nIW)(e)])||0)},M=(e,t,l)=>({attributes:(t||[]).map(((t,a)=>{let{filter:r,fieldName:n,values:i,uri:o}=t;return{data:{uri:o||(null==l?void 0:l.uri),entityTypeUri:e,fieldName:n},filter:r,id:`attribute_${a}`,operator:s.tJI.and,values:i}})),entityTypes:[e],id:"group",operator:s.tJI.or});function L(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){B(e,t,l[t])}))}return e}function B(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const k=(0,u.map)((e=>L({},e,{localizedValue:m().number(e.value)}))),z=e=>(0,u.isNil)(e)?"":`(${e}%)`,F=e=>(0,u.isEmpty)(e)||!e.find((e=>{let{value:t}=e;return t>0})),j=(0,u.curry)(((e,t,l)=>({advanced:[M(t,l.map((0,u.when)((()=>(0,s.Lt4)(null==e?void 0:e.type)),(0,u.evolve)({values:(0,u.map)((0,s.mOr)(s.ZBU))}))),e)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}))),P=e=>t=>{let{detailedAttributeType:l,entityTypeUri:a}=t;return(0,u.pipe)(e({fieldName:null==l?void 0:l.fieldName,entityTypeUri:a}),j(l,a))},U=e=>{switch(e){case s.oS0.TYPE_BLOB:case s.oS0.TYPE_BLOG_URL:case s.oS0.TYPE_CIK_ID:case s.oS0.TYPE_ENTITY_ID:case s.oS0.TYPE_IMAGE_URL:case s.oS0.TYPE_STRING:case s.oS0.TYPE_TEXT:case s.oS0.TYPE_URL:return x.STRING;case s.oS0.TYPE_COUNT:case s.oS0.TYPE_DOLLAR:case s.oS0.TYPE_INT:case s.oS0.TYPE_LONG:return x.INTEGER;case s.oS0.TYPE_FLOAT:case s.oS0.TYPE_DOUBLE:case s.oS0.TYPE_NUMBER:return x.FLOAT;case s.oS0.TYPE_BOOLEAN:case s.oS0.TYPE_RDM_LOOKUPS_NOT_RESOLVED:return x.BOOLEAN;case s.oS0.TYPE_ACTIVENESS_DATE:case s.oS0.TYPE_DATE:case s.oS0.TYPE_LOCAL_DATE:case s.oS0.TYPE_TIMESTAMP:return x.DATE;case s.oS0.TYPE_SSN:return x.SSN;default:return x.UNKNOWN}},H=e=>{let{views:t,supportedViews:l,layout:a}=e;return a.reduce(((e,a)=>{const r=(0,u.prop)("type",t.find((0,u.propEq)("id",a.id))),n=t.findIndex((0,u.propEq)("id",a.id));return-1!==n?l.includes(r)?e.concat(t[n]):e.concat((0,u.assoc)("type",b.UNSUPPORTED,t[n])):e.concat({id:a.id,type:b.UNSUPPORTED,title:m().text("Unsupported")})}),[])},V=(0,u.pipe)((0,u.defaultTo)([]),(0,u.pluck)("type"),(0,u.filter)((e=>Object.values(s.N0y).includes(e)))),W=e=>{let{percent:t,value:l}=e;return L({width:`${t}%`},l>0&&{minWidth:"3px"})},Y=((0,u.pipe)((0,u.pluck)("percent"),(e=>Math.max(...e))),(0,u.pipe)((0,u.pluck)("value"),(e=>Math.max(...e))),(0,u.curry)(((e,t)=>t.map((t=>(0,u.assoc)("label",(0,s.tH7)(e,t.group)||t.label,t)))))),G=(e,t)=>(e||[]).some((0,u.allPass)([(0,u.propEq)("attribute",t),(0,u.propEq)("status",s.lVm.ACTIVE)])),Z=e=>[s.oS0.TYPE_FLOAT,s.oS0.TYPE_DOUBLE,s.oS0.TYPE_NUMBER].includes(e),$=e=>(0,s.idV)(e.label||e.name);let q;function Q(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){X(e,t,l[t])}))}return e}function X(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}!function(e){e.INCLUDED_IN_MATCHING="includedInMatching",e.CONTAIN_VF="containVF",e.REQUIRED="required",e.REFERENCE="reference",e.RDM_LOOKUP="RDMLookup"}(q||(q={}));const K=(0,u.curry)(((e,t)=>e.some((e=>t.details[e.value])))),J=(0,u.curry)(((e,t)=>{var l;return 0===e.length||K(e,t)||(null===(l=t.children)||void 0===l?void 0:l.some((t=>J(e,t))))})),ee=(0,u.curry)(((e,t)=>{var l;const a=e[t.fieldName];return null==a||null===(l=a.find((0,u.propEq)("group",s.s9T.EXISTS)))||void 0===l?void 0:l.value})),te=(0,u.curry)(((e,t)=>{var l;const a=e[t.fieldName];return!(null!=a&&null!==(l=a.find((0,u.propEq)("group",s.s9T.EXISTS)))&&void 0!==l&&l.value)})),le=(0,u.curry)((function(e,t){var l;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=t.fieldName||(0,s.Tde)(t.uri,a);return te(e,Q({},t,{fieldName:r}))||(null===(l=t.children)||void 0===l?void 0:l.some((l=>le(e,l,a.concat({name:t.name,label:t.label})))))})),ae=(0,u.curry)(((e,t)=>t.reduce(((t,l)=>{const a=((e,t)=>{var l;return null===(l=e.label||e.name)||void 0===l?void 0:l.toLowerCase().includes(t.toLowerCase())})(l,e),r=a?l.children||[]:ae(e,l.children||[]);return(a||r.length)&&t.push(Object.assign({},l,r.length&&{children:r})),t}),[])));function re(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){ne(e,t,l[t])}))}return e}function ne(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const ie=e=>{let{attrTypeItem:t,dvf:l=[],matchAttributes:a=[]}=e;const{uri:r,required:n,isAttributeReference:i}=t;return{[q.INCLUDED_IN_MATCHING]:a.includes(r),[q.CONTAIN_VF]:G(l,r),[q.REQUIRED]:!!n,[q.REFERENCE]:i,[q.RDM_LOOKUP]:(0,s.lS4)(t)}},oe=e=>({[q.INCLUDED_IN_MATCHING]:m().text("Included in match rule"),[q.CONTAIN_VF]:m().text("Has validation functions"),[q.REQUIRED]:m().text("Required"),[q.REFERENCE]:m().text("Reference attribute"),[q.RDM_LOOKUP]:m().text("RDM")}[e]||e),ce=(0,u.curry)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return(0,u.pipe)((0,u.chain)((e=>{const r=e.children?ce(e.children,t.concat({name:e.name,label:e.label}),l||(0,s.YkG)(e),a+1):[];return[{attributeItem:re({},e,{fieldName:(0,s.Tde)(e.uri,t),isAttributeReference:(0,s.YkG)(e)||l}),level:a},...r]})))(e)})),se=(0,u.prop)("isAttributeReference");let pe;!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(pe||(pe={}));const de=n().createContext(null);de.displayName="DataLevelContext";var ue=l(67268),fe=l(2899),me=l(83348),he=l(84900),ye=l(79692);const ge=(0,ye.Z)({wrapper:{width:"100%",display:"flex",justifyContent:"center",margin:"auto",flexWrap:"wrap",flexDirection:"column",marginBottom:2},item:{display:"flex",alignItems:"center",height:19},itemColor:{width:12,height:12,marginRight:9,flexShrink:0}}),ve=e=>{let{payload:t}=e;const l=ge();return n().createElement("div",{className:d()(l.wrapper)},t.map((e=>n().createElement("div",{key:e.id,className:l.item},n().createElement("div",{style:{background:e.color},className:l.itemColor}),e.value))))},Ee=(0,ye.Z)({root:{display:"flex",flexDirection:"column",height:"100%"},stackedBar:{width:"100%",display:"flex",flexWrap:"nowrap",marginTop:"13px"},bar:{height:"24px",flexGrow:1,position:"relative",width:"50%",transition:"width 0.7s","&:hover":{"&:after":{content:'""',background:"rgba(0, 0, 0, 0.1)"}},"&:after":{position:"absolute",top:"-3px",bottom:"-5px",left:"-5px",right:"-5px",transition:"background 0.3s",zIndex:1,pointerEvents:"none"}},inactivePart:{background:"#EFEFEF"},tooltipTitle:{fontSize:"11px"},tooltipFillRate:{marginTop:"4px"},tooltip:{background:"#fff",filter:"drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.12)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2))",padding:"5px 8px"},legendWrapper:{position:"relative",flexGrow:1},legendLabel:{fontSize:"13px",lineHeight:"18px",color:"rgba(0, 0, 0, 0.54)",paddingRight:"8px"},legendValue:{fontSize:"13px",lineHeight:"18px",color:"rgba(0, 0, 0, 0.87)"},clickable:{cursor:"pointer"}});function be(){return be=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},be.apply(this,arguments)}const xe=(0,r.forwardRef)(((e,t)=>{let{className:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className"]);const r=Ee();return n().createElement("div",be({className:d()(r.bar,l)},a,{ref:t}))}));xe.displayName="Bar";const Oe=xe,we=(0,ye.Z)({label:{whiteSpace:"nowrap",paddingRight:"9px"},infoDataLabel:{fontWeight:700},chartDataLabel:{color:"rgba(255, 255, 255, 0.75)"}}),Se=e=>{let{label:t,value:l}=e;const a=we();return n().createElement(n().Fragment,null,t&&n().createElement("span",{className:d()(a.label,a.chartDataLabel)},t),l)},Re=(0,ye.Z)({tooltipWrapper:{fontSize:"10px",fontWeight:400,lineHeight:"12px",color:"#FFFFFF"},title:{padding:"2px 0"},row:{padding:"2px 0"}}),Te=e=>{let{data:t,title:l,DataRenderer:a=Se}=e;const r=Re();return n().createElement("div",{className:r.tooltipWrapper},l&&n().createElement("div",{className:r.title},l),t.map(((e,t)=>n().createElement("div",{key:t,className:r.row},n().createElement(a,e)))))};function Ne(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Ce(e,t,l[t])}))}return e}function Ce(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ae=(0,me.Z)(Oe),_e=e=>{let{label:t,value:l,percent:a}=e;return[{label:t,value:`${m().number(l)} ${z(a)}`}]},Ie=(0,he.Z)((e=>{let{data:t,colors:l,onItemClick:a}=e;const r=Ee(),i=a&&(e=>a(e)),o=!!a;return n().createElement("div",{className:r.root},n().createElement("div",{className:r.stackedBar},t.map(((e,t)=>n().createElement(Ae,{className:o&&r.clickable,key:e.label,tooltipTitle:n().createElement(Te,{data:_e(e)}),style:Ne({},W(e),{background:l[t]}),onClick:()=>i(e.group)})))),n().createElement("div",{className:r.legendWrapper},n().createElement(fe.De,{layout:"vertical",align:"left",verticalAlign:"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"100%",maxWidth:"100%"},content:n().createElement(ve,null),payload:(t||[]).map(((e,t)=>{let{group:a,label:i,value:o,percent:c}=e;return{id:a,type:"square",color:l[t],value:n().createElement(n().Fragment,null,n().createElement("span",{className:r.legendLabel},i),n().createElement("span",{className:r.legendValue},`${(0,s.k7L)(o,999)} ${z(c)}`))}}))})))}));var De=l(92778),Me=l(8818),Le=l(82726);const Be=(0,ye.Z)((()=>({root:{padding:"0px 16px"},title:{fontSize:"16px",marginRight:"5px",lineHeight:"24px"},infoIcon:{position:"relative"}}))),ke=e=>{let{title:t,infoTooltipTitle:l,children:a}=e;const r=Be(!!a),i=!!l;return n().createElement(De.Z,{title:t,className:r.root,classes:{title:r.title}},i&&n().createElement(Me.k,{icon:Le.Z,size:"XXS",tooltipTitle:l,className:r.infoIcon}),a)};var ze=l(44443),Fe=l(2256),je=l(4094),Pe=l(32944),Ue=l(94079),He=l(43266);const Ve=(0,ye.Z)((e=>({container:e=>{let{height:t}=e;return{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",margin:"0 auto",paddingBottom:t>239?"30px":0,boxSizing:"border-box"}},small:{"& $icon":{maxHeight:"88px"},"& $message":{fontSize:"12px"},"& $title":{fontSize:"13px",fontWeight:400,marginBottom:0},"& $refreshButton":{marginTop:"2px",padding:0}},medium:{"& $icon":{maxHeight:"190px",marginBottom:"24px"}},large:{"& $icon":{height:"256px",width:"256px",marginBottom:"24px"}},icon:e=>{let{height:t}=e;return{paddingTop:0,marginBottom:t>170?"16px":"4px"}},message:{padding:"0 24px",fontSize:"14px",textAlign:"center",whiteSpace:"pre-wrap"},title:{padding:"0 24px",fontSize:"20px",textAlign:"center",color:"rgba(0,0,0,0.87)",fontWeight:500,marginBottom:"8px"},refreshButton:{color:e.palette.primary.main,marginTop:"12px",padding:"6px 8px"},refreshIcon:{width:"24px",height:"24px"}}))),We=g.B9.ERROR,Ye=e=>{let{onRefresh:t,height:l,errorData:a={},variant:r=pe.SMALL}=e;const{Icon:i=We,message:o,title:c}=a,s=Ve({height:l});return n().createElement("div",{className:d()(s.container,s[`${r}`])},n().createElement(i,{className:s.icon}),c&&n().createElement(Ue.Typography,{className:s.title},c),o&&n().createElement(Ue.Typography,{className:s.message},o),!!t&&n().createElement(Ue.Button,{className:s.refreshButton,startIcon:n().createElement(He.Z,{color:"primary",className:s.refreshIcon}),onClick:t,"data-reltio-id":"reltio-dq-dashboard-chart-refresh-button"},n().createElement(Ue.Typography,{variant:"button"},m().text("Refresh"))))},Ge=(0,ye.Z)({container:e=>{let{height:t}=e;return{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",margin:"0 auto",paddingBottom:t>239?"30px":0,boxSizing:"border-box"}},small:{"& $icon":{maxHeight:"88px"},"& $message":{fontSize:"12px"},"& $title":{fontSize:"13px",fontWeight:400,marginBottom:0}},medium:{"& $icon":{maxHeight:"190px",marginBottom:"24px"}},large:{"& $icon":{maxHeight:"256px",marginBottom:"24px"}},icon:e=>{let{height:t}=e;return{paddingTop:0,marginBottom:t>170?"16px":"4px"}},message:{padding:"0 24px",fontSize:"14px",textAlign:"center",whiteSpace:"pre-wrap"},title:{padding:"0 24px",fontSize:"20px",textAlign:"center",color:"rgba(0,0,0,0.87)",fontWeight:500,marginBottom:"8px",whiteSpace:"pre-wrap"}}),Ze=g.B9.NO_DATA,$e=e=>{let{height:t,data:l={},variant:a=pe.SMALL}=e;const{Icon:r=Ze,message:i,title:o}=l,c=Ge({height:t});return n().createElement("div",{className:d()(c.container,c[`${a}`])},n().createElement(r,{className:c.icon}),o&&n().createElement(Ue.Typography,{className:c.title},o),i&&n().createElement(Ue.Typography,{className:c.message},i))},qe=(0,ye.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}}))),Qe=e=>{let{loadingState:t,onRefresh:l,children:a,data:r,className:i}=e;const o=qe();return n().createElement(je.Z,{className:d()(o.viewContent,i)},n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:i,height:o}=e;switch(t){case C.o.LOADED:return r&&0!==r.length?n().createElement(Fe.Z,{error:n().createElement(Ye,{errorData:{message:m().text("Something went wrong")},height:o,variant:pe.SMALL})},a({data:r,width:i,height:o})):n().createElement($e,{height:o,data:{Icon:g.B9.NO_DATA,message:m().text("Go ahead and load some data. We’ll put it on the scales and let you know here if it measures up."),title:m().text("Give us something to go on!")},variant:pe.SMALL});case C.o.LOADING:return n().createElement(Pe.Z,null);case C.o.ERROR:return n().createElement(Ye,{errorData:{Icon:g.B9.ERROR,message:m().text("No need to fret - just refresh and it will work itself out."),title:m().text("Oops! We ran into a problem.")},height:o,onRefresh:l,variant:pe.SMALL});default:return n().createElement("div",null,"Loading...")}})))};var Xe=l(10237);const Ke=(0,ye.Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),Je=e=>{let{config:t,children:l}=e;const a=Ke(),{type:i}=t,o=(0,r.useContext)(de);return n().createElement(Xe.Z,{className:a.view,"data-reltio-id":`reltio-dq-dashboard-chart-${i}-${o}`},l)},et=e=>{let{label:t,value:l}=e;const a=we();return n().createElement(n().Fragment,null,t&&n().createElement("span",{className:d()(a.label,a.infoDataLabel)},t),l)},tt={[s.s9T.MISSING]:"#CE5C00",[s.s9T.EXISTS]:"#C4CE00"},lt=(0,u.map)((e=>{let{group:t}=e;return tt[t]||(0,s.f4_)(t)})),at=e=>({[s.s9T.MISSING]:m().text("Missing"),[s.s9T.EXISTS]:m().text("Exists")}[e]||e),rt=(0,u.pipe)(Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:at(t),group:t,value:l}})),(0,u.sortBy)((e=>Object.values(s.s9T).indexOf(e.group))),k),nt=(0,u.pipe)((0,u.propOr)({},"statistic"),u.toPairs,(0,u.reduce)(((e,t)=>{let[l,a]=t;return null!=a&&a.fillRate&&(e[l]=rt(a.fillRate)),e}),{})),it=(0,u.propOr)({},"fillRate"),ot=(0,u.pipe)(it,rt,(0,u.when)(F,(0,u.always)([])),(0,u.converge)(((e,t)=>({chartData:e,colors:t})),[u.identity,lt])),ct=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:t===s.s9T.EXISTS?s.j5E.EXISTS:s.j5E.MISSING_VALUE,fieldName:l}]})),st=P(ct),pt=e=>{const{data:t,state:l,reload:a}=(0,r.useContext)(S),n=(0,r.useMemo)((()=>e(t)),[t,e]);return(0,r.useMemo)((()=>({data:n,state:l,reload:a})),[n,l,a])},dt=e=>{let{keyword:t,entityTypeUri:l}=e;return{keyword:{value:t,isRawFilter:!0},advanced:[M(l)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}},ut=e=>{let{fieldName:t,value:l,entityTypeUri:a}=e;return dt({keyword:`${s.j5E.EQUALS}(${t}, ${l})`,entityTypeUri:a})},ft=(0,u.curry)(((e,t,l)=>{var a;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.length>0?`(${s.NlI.NOT_LIST_EQUALS}(type, ${e.join(",")}))`:""}((0,s.k3T)(e,t)),n=null==l||null===(a=l.keyword)||void 0===a?void 0:a.value;if(r){const e=n?`(${n}) and ${r}`:r;return(0,u.assoc)("keyword",{value:e,isRawFilter:!0},l)}return l})),mt=e=>{const t=(0,i.useDispatch)(),l=(0,i.useSelector)(v.ZP.selectors.getMetadata),a=(0,r.useContext)(R),n=(0,r.useContext)(N);return(0,u.pipe)(e({detailedAttributeType:a,entityTypeUri:n.uri}),ft(l,n.uri),v.ui.actions.openSearch,t)},ht=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:r,reload:i}=pt(ot),{chartData:o,colors:c}=a,s=mt(st),p=n().createElement(Te,{title:m().text("Fill rate"),data:[{label:`${m().text("Exists")}:`,value:m().text("Profiles with data")},{label:`${m().text("Missing")}:`,value:m().text("Profiles without data")}],DataRenderer:et});return n().createElement(Je,{config:t},n().createElement(ke,{title:l,infoTooltipTitle:p}),n().createElement(Qe,{data:o,loadingState:r,onRefresh:i},(e=>{let{data:t}=e;return n().createElement(Ie,{data:t,colors:c,onItemClick:s})})))},yt={[s.dC6.UNIQUE]:"#4BAFFF",[s.dC6.NOT_UNIQUE]:"#C34980"},gt=(0,u.map)((e=>{let{group:t}=e;return yt[t]||(0,s.f4_)(t)})),vt=e=>({[s.dC6.UNIQUE]:m().text("Unique"),[s.dC6.NOT_UNIQUE]:m().text("Not unique")}[e]||e),Et=(0,u.pipe)(Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:vt(t),group:t,value:l}})),(0,u.sortBy)((e=>Object.values(s.dC6).indexOf(e.group))),k),bt=(0,u.propOr)({},"uniqueness"),xt=(0,u.pipe)(bt,Et,(0,u.when)(F,(0,u.always)([])),(0,u.converge)(((e,t)=>({chartData:e,colors:t})),[u.identity,gt])),Ot=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:r,reload:i}=pt(xt),{chartData:o,colors:c}=a,s=n().createElement(Te,{title:m().text("Uniqueness analysis"),data:[{label:`${m().text("Unique")}:`,value:m().text("Number of values that only appear once and have no duplicates")},{label:`${m().text("Not unique")}:`,value:m().text("Number of values that have at least one duplicate in the list")}],DataRenderer:et});return n().createElement(Je,{config:t},n().createElement(ke,{title:l,infoTooltipTitle:s}),n().createElement(Qe,{data:o,loadingState:r,onRefresh:i},(e=>{let{data:t}=e;return n().createElement(Ie,{data:t,colors:c})})))};var wt=l(7089);function St(){return St=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},St.apply(this,arguments)}const Rt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",St({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#6663F6"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4 14.4h2.411c.016-.205.047-.405.093-.6H8.4v-1.2h3.012c.137-.215.296-.416.472-.6H8.4v-1.2h6v.011a3.896 3.896 0 011.8.287V8.4c0-.66-.54-1.2-1.2-1.2H7.8c-.66 0-1.2.54-1.2 1.2v7.8c0 .66.54 1.2 1.2 1.2h4.083a3.892 3.892 0 01-.979-1.8H8.4v-1.2zm6-4.2h-6V9h6v1.2zm2.58 5.934L18.852 18l-.852.852-1.872-1.872a2.66 2.66 0 01-1.434.42A2.695 2.695 0 0112 14.7c0-1.494 1.206-2.7 2.7-2.7 1.494 0 2.7 1.206 2.7 2.7 0 .528-.156 1.014-.42 1.434zm-2.28.066a1.5 1.5 0 10-.001-3.001A1.5 1.5 0 0014.7 16.2z",fill:"#fff"}))};function Tt(){return Tt=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},Tt.apply(this,arguments)}const Nt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Tt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#1DACF5"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4 9.6H9.3L12 6.9l2.7 2.7h-2.1v3.846l-3.6 3.6-.846-.846 3.246-3.246V9.6zm4.446 6.6l-.846.846L12.954 15l.846-.846 2.046 2.046z",fill:"#fff"}))};function Ct(){return Ct=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},Ct.apply(this,arguments)}const At=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Ct({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#7F22FD"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4 9v1.2h1.2V9H8.4zm0 2.4v1.2h1.2v-1.2H8.4zm0 2.4V15h1.2v-1.2H8.4zM10.8 9v1.2h4.8V9h-4.8zm0 2.4v1.2h4.8v-1.2h-4.8zm0 2.4V15h4.8v-1.2h-4.8zm6-6v8.4H7.2V7.8h9.6zm1.2 9V6.6H6V17.4h12v-.6z",fill:"#fff"}))};function _t(){return _t=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},_t.apply(this,arguments)}const It=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",_t({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#4B31E9"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 15.6h1.8V15a.6.6 0 01.6-.6h2.4a.6.6 0 01.6.6v2.4a.6.6 0 01-.6.6h-2.4a.6.6 0 01-.6-.6v-.6h-3V9.6H8.4a.6.6 0 01-.6-.6V6.6a.6.6 0 01.6-.6H12a.6.6 0 01.6.6V9a.6.6 0 01-.6.6h-1.2v1.8h1.8v-.6a.6.6 0 01.6-.6h2.4a.6.6 0 01.6.6v2.4a.6.6 0 01-.6.6h-2.4a.6.6 0 01-.6-.6v-.6h-1.8v3z",fill:"#fff"}))};function Dt(){return Dt=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},Dt.apply(this,arguments)}const Mt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Dt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#80D2FC"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6c-3.312 0-6 2.688-6 6s2.688 6 6 6 6-2.688 6-6-2.688-6-6-6zm-.6 4.96V9h1.2v1.96l1.698-.98.6 1.04L13.2 12l1.698.98-.6 1.04-1.698-.98V15h-1.2v-1.96l-1.698.98-.6-1.04L10.8 12l-1.698-.98.6-1.04 1.698.98zM7.2 12c0 2.646 2.154 4.8 4.8 4.8s4.8-2.154 4.8-4.8-2.154-4.8-4.8-4.8A4.806 4.806 0 007.2 12z",fill:"#fff"}))},Lt=(0,ye.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}},loading:{"& circle":{fill:"#AAAAAA"}},badQuality:{"& circle":{fill:"#FF1744"}}}),Bt={SMALL:{width:22,height:22},NORMAL:{width:24,height:24}};let kt;!function(e){e.LOADING="loading",e.BAD_QUALITY="badQuality",e.NORMAL="normal"}(kt||(kt={}));const zt=e=>{let{detailType:t,size:l=Bt.NORMAL,variant:a=kt.NORMAL}=e;const r=Lt(l),i=d()(r.icon,r[a]);switch(t){case q.RDM_LOOKUP:return n().createElement(At,{className:i});case q.CONTAIN_VF:return n().createElement(Rt,{className:i});case q.INCLUDED_IN_MATCHING:return n().createElement(Nt,{className:i});case q.REFERENCE:return n().createElement(It,{className:i});case q.REQUIRED:return n().createElement(Mt,{className:i});default:return null}},Ft=(0,ye.Z)({root:{height:"24px",maxWidth:"calc(100% - 8px)",margin:"0 4px 4px 0",borderRadius:"12px"},label:{fontSize:"12px",paddingLeft:"8px",paddingRight:"9px"},badQuality:{backgroundColor:"rgba(255, 23, 68, 0.12)"}});function jt(){return jt=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},jt.apply(this,arguments)}function Pt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Ut(e,t,l[t])}))}return e}function Ut(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ht=e=>{let{detailType:t,classes:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["detailType","classes"]);const i=Ft(),{data:o,state:c}=(0,r.useContext)(S);let p=kt.NORMAL;const u=c===C.o.LOADING,f=(e=>{var t;return 0===(null==e||null===(t=e.fillRate)||void 0===t?void 0:t[s.s9T.MISSING])})(o);return t===q.REQUIRED&&(u&&(p=kt.LOADING),u||f||(p=kt.BAD_QUALITY)),n().createElement(wt.Z,jt({classes:Pt({root:d()(i.root,{[i.badQuality]:t===q.REQUIRED&&!u&&c!==C.o.INIT&&!f}),label:i.label},l),label:oe(t),icon:n().createElement(zt,{detailType:t,variant:p})},a))},Vt=(0,ye.Z)({root:{display:"flex",flexWrap:"wrap",flexGrow:1}}),Wt=e=>{let{details:t,chipClasses:l={}}=e;const a=Vt();return n().createElement("div",{className:a.root},Object.entries(t||{}).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return n().createElement(Ht,{key:t,detailType:t,classes:l})})))},Yt=(0,ye.Z)({header:{display:"flex",paddingBottom:"16px"},info:{display:"flex",flexDirection:"column","&:not(:last-child)":{borderRight:"1px solid rgba(0,0,0,0.12)"}},entitySummary:{"&:not(:last-child)":{paddingRight:"48px",marginRight:"16px"}},attributeTypeSummary:{"&:not(:last-child)":{paddingRight:"24px",marginRight:"24px"}},infoTitle:{color:"rgba(0,0,0,0.54)",fontSize:"12px",lineHeight:"16px"},infoContent:{fontSize:"30px",lineHeight:"35px",padding:"4px 0 0",display:"flex",alignItems:"center"},attributeTypeIconWrapper:{width:"32px",height:"33px",background:"rgba(0, 0, 0, 0.05)",borderRadius:"4px",position:"relative",marginRight:"12px",flexShrink:0,"& svg":{position:"absolute",transform:"translate(-50%, -50%)",top:"50%",left:"50%"}},totalLoading:{padding:"4px 8px"}}),Gt=e=>{let{title:t,children:l,className:a}=e;const r=Yt();return n().createElement("div",{className:d()(r.info,a)},n().createElement("div",{className:r.infoTitle},t),n().createElement("div",{className:r.infoContent},l))};function Zt(){return Zt=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},Zt.apply(this,arguments)}const $t=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Zt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg1279746712a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"15",height:"8"},n().createElement("path",{d:"M11.667 4H5C2.793 4 1 5.793 1 8s1.793 4 4 4h6.667c2.206 0 4-1.793 4-4s-1.794-4-4-4zm0 6.667H5a2.666 2.666 0 110-5.334h6.667a2.666 2.666 0 110 5.334zm0-4.667c-1.107 0-2 .893-2 2s.893 2 2 2c1.106 0 2-.893 2-2s-.894-2-2-2z",fill:"#000"})),n().createElement("g",{mask:"url(#svg1279746712a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function qt(){return qt=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},qt.apply(this,arguments)}const Qt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",qt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg208732808a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"14",height:"14"},n().createElement("path",{d:"M7.992 1.333A6.663 6.663 0 001.332 8c0 3.68 2.98 6.667 6.66 6.667A6.67 6.67 0 0014.665 8a6.67 6.67 0 00-6.673-6.667zm.007 12A5.332 5.332 0 012.665 8 5.332 5.332 0 018 2.667 5.332 5.332 0 0113.332 8a5.332 5.332 0 01-5.333 5.333zm.333-8.666h-1v4l3.5 2.1.5-.82-3-1.78v-3.5z",fill:"#000"})),n().createElement("g",{mask:"url(#svg208732808a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Xt(){return Xt=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},Xt.apply(this,arguments)}const Kt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Xt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg1638934380a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"4",width:"13",height:"8"},n().createElement("path",{d:"M5.948 10.02V12h-.88v-1.98h-.88V12h-.88v-1.98h-.77v-.825h.77v-2.2h-.77V6.17h.77V4.3h.88v1.87h.88V4.3h.88v1.87h.77v.825h-.77v2.2h.77v.825h-.77zm-.88-3.025h-.88v2.2h.88v-2.2zM7.947 12v-1.1h1.1V12h-1.1zM13.65 10.02V12h-.88v-1.98h-.88V12h-.88v-1.98h-.77v-.825h.77v-2.2h-.77V6.17h.77V4.3h.88v1.87h.88V4.3h.88v1.87h.77v.825h-.77v2.2h.77v.825h-.77zm-.88-3.025h-.88v2.2h.88v-2.2z",fill:"#000"})),n().createElement("g",{mask:"url(#svg1638934380a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Jt(){return Jt=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},Jt.apply(this,arguments)}const el=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Jt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("path",{d:"M2.11 12v-.825h1.331V5.169L2 5.741v-.89L3.331 4.3h1.045v6.875h1.089V12H2.11zM5.968 11.032l1.65-2.508c.242-.367.403-.62.484-.759.08-.147.136-.29.165-.429.03-.14.044-.341.044-.605v-.77a.778.778 0 00-.253-.583c-.169-.161-.389-.242-.66-.242h-1.21V4.3h1.1c.638 0 1.126.158 1.463.473.345.308.517.774.517 1.397v.462c0 .367-.018.645-.055.836-.037.19-.103.37-.198.539-.088.169-.264.455-.528.858l-1.518 2.299h2.519V12h-3.52v-.968zM13.544 10.262c0 .609-.147 1.052-.44 1.331-.293.271-.77.407-1.43.407h-1.298v-.825h1.397c.279 0 .484-.062.616-.187.132-.132.198-.337.198-.616V9.239c0-.242-.073-.433-.22-.572-.147-.147-.341-.22-.583-.22h-1.067v-.825h.957a.797.797 0 00.572-.22.768.768 0 00.231-.583v-.902c0-.279-.066-.48-.198-.605-.125-.125-.326-.187-.605-.187h-1.298V4.3h1.166c.623 0 1.093.14 1.408.418.323.271.484.704.484 1.298v.693c0 .565-.202.99-.605 1.276.477.264.715.715.715 1.353v.924z",fill:"#000",fillOpacity:".541"}))};function tl(){return tl=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},tl.apply(this,arguments)}const ll=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",tl({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg924767730a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"13",height:"8"},n().createElement("path",{d:"M5.463 10.13c0 .623-.173 1.093-.517 1.408-.338.308-.825.462-1.463.462H2.03v-.836h1.562c.271 0 .491-.08.66-.242a.778.778 0 00.253-.583V9.195c0-.22-.059-.396-.176-.528-.11-.14-.279-.209-.506-.209h-.22c-.543 0-.972-.158-1.287-.473-.316-.323-.473-.788-.473-1.397V6.17c0-.623.168-1.089.506-1.397.344-.315.836-.473 1.474-.473h1.463v.836H3.714c-.272 0-.492.08-.66.242a.778.778 0 00-.253.583v.836c0 .227.073.418.22.572.146.147.337.22.572.22h.22c.52 0 .924.15 1.21.451.293.3.44.755.44 1.364v.726zM9.136 10.13c0 .623-.173 1.093-.517 1.408-.338.308-.825.462-1.463.462H5.704v-.836h1.562c.27 0 .49-.08.66-.242a.778.778 0 00.253-.583V9.195c0-.22-.06-.396-.176-.528-.11-.14-.28-.209-.506-.209h-.22c-.543 0-.972-.158-1.287-.473-.316-.323-.473-.788-.473-1.397V6.17c0-.623.168-1.089.506-1.397.344-.315.836-.473 1.474-.473H8.96v.836H7.387c-.272 0-.492.08-.66.242a.778.778 0 00-.253.583v.836c0 .227.073.418.22.572.146.147.337.22.572.22h.22c.52 0 .924.15 1.21.451.293.3.44.755.44 1.364v.726zM12.255 12l-1.683-6.886V12H9.68V4.3h1.562l1.694 6.886V4.3h.89V12h-1.572z",fill:"#000"})),n().createElement("g",{mask:"url(#svg924767730a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function al(){return al=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},al.apply(this,arguments)}const rl=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",al({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg3578961193a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"14",height:"8"},n().createElement("path",{d:"M5.345 12l-.418-1.947H2.782L2.353 12h-.979l1.86-7.7h1.264L6.324 12h-.979zM3.85 5.026l-.89 4.202H4.75L3.85 5.026zM10.494 10.262c0 .63-.146 1.078-.44 1.342-.286.264-.763.396-1.43.396h-2.09V4.3h1.958c.653 0 1.13.132 1.43.396.308.264.462.704.462 1.32v.627c0 .565-.202.99-.605 1.276.477.264.715.715.715 1.353v.99zM9.427 5.917c0-.279-.066-.48-.198-.605-.125-.125-.326-.187-.605-.187H7.491v2.431h1.133a.797.797 0 00.572-.22.768.768 0 00.231-.583v-.836zm.11 3.256c0-.242-.073-.433-.22-.572-.147-.147-.34-.22-.583-.22H7.491v2.794h1.232c.279 0 .484-.062.616-.187.132-.132.198-.337.198-.616V9.173zM13.119 12c-.638 0-1.13-.154-1.474-.462-.337-.315-.506-.785-.506-1.408V6.17c0-.623.169-1.089.506-1.397.345-.315.836-.473 1.474-.473h1.342v.836h-1.452c-.271 0-.491.08-.66.242a.778.778 0 00-.253.583v4.378c0 .227.084.422.253.583.169.161.389.242.66.242h1.452V12h-1.342z",fill:"#000"})),n().createElement("g",{mask:"url(#svg3578961193a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))},nl=(0,ye.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}}}),il={SMALL:{width:16,height:16},NORMAL:{width:24,height:24}},ol=e=>{let{type:t,size:l=il.SMALL}=e;const a=nl(l);switch(U(t)){case x.STRING:return n().createElement(rl,{className:a.icon});case x.FLOAT:return n().createElement(Kt,{className:a.icon});case x.INTEGER:return n().createElement(el,{className:a.icon});case x.BOOLEAN:return n().createElement($t,{className:a.icon});case x.DATE:return n().createElement(Qt,{className:a.icon});case x.SSN:return n().createElement(ll,{className:a.icon});default:return n().createElement(rl,{className:a.icon})}},cl=e=>{let{detailedAttributeType:t}=e;const l=Yt(),a=(e=>{const[t,l]=(0,r.useState)(null),a=(0,r.useContext)(N),n=(0,A._)();return(0,r.useEffect)((()=>{if(a.uri&&e){const t={filter:s.j5E.EXISTS,fieldName:e},r={filter:s.j5E.EQUALS,fieldName:"type",values:[a.uri]},i={searchOptions:"strictTypeSearch"};l(null),n((0,s.j_Q)([t,r],i)).then((e=>{let{total:t}=e;return l(t)})).catch(console.error)}}),[a.uri,e]),t})(t.fieldName),i=null===a?n().createElement(Ue.CircularProgress,{size:"24",className:l.totalLoading}):(0,s.k7L)(a);return n().createElement("div",null,n().createElement("div",{className:l.header},n().createElement(Gt,{title:m().text("Profiles"),className:l.attributeTypeSummary},n().createElement(Ue.Tooltip,{title:n().createElement(Te,{data:[{label:m().text("Entities with exists attribute"),value:m().number(a)}]})},n().createElement("div",null,i))),n().createElement(Gt,{title:m().text("Data type"),className:l.attributeTypeSummary},(o=t.type,n().createElement(n().Fragment,null,n().createElement("div",{className:l.attributeTypeIconWrapper},n().createElement(ol,{type:o,size:il.NORMAL})),m().text(o))))),n().createElement(Wt,{details:t.details}));var o},sl=e=>{let{entityType:t}=e;const{data:l,state:a}=(0,r.useContext)(S),o=((e,t)=>{const l=t.attributes||[],a=t=>t.filter(s.Uty).filter((0,u.either)((0,u.prop)("label"),(0,u.prop)("name"))).reduce(((t,l)=>{const r=(0,s.EUG)(e,l);return null!=r&&r.length?[...t,l,...a(r)]:[...t,l]}),[]);return a(l).length})((0,i.useSelector)(v.ZP.selectors.getMetadata),t),{activeProfiles:c=0,inactiveProfiles:p=0,sourceSystems:d=0}=(null==l?void 0:l.summary)||{},f=e=>a===C.o.LOADING?n().createElement(Ue.CircularProgress,{size:"24",className:h.totalLoading}):m().number(e),h=Yt();return n().createElement("div",{className:h.header},n().createElement(Gt,{title:m().text("Active profiles"),className:h.entitySummary},f(c)),n().createElement(Gt,{title:m().text("Inactive profiles"),className:h.entitySummary},f(p)),n().createElement(Gt,{title:m().text("Attributes"),className:h.entitySummary},m().number(o)),n().createElement(Gt,{title:m().text("Source systems"),className:h.entitySummary},f(d)))},pl=(0,ye.Z)({content:{padding:"0 16px",marginTop:"4px"}}),dl=e=>{let{config:t}=e;const l=pl(),a=(0,r.useContext)(R),i=(0,r.useContext)(de),o=(0,r.useContext)(N),c=i===s.yn8.ATTRIBUTE_TYPE,p=c?(0,s.idV)(a.label):`${m().text("Entity")}: ${(0,s.idV)(o.label)}`;return n().createElement(Je,{config:t},n().createElement(ke,{title:p}),n().createElement(je.Z,{className:l.content},c?n().createElement(cl,{detailedAttributeType:a}):n().createElement(sl,{entityType:o})))};var ul=l(58141);const fl=(0,ye.Z)({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}});function ml(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){hl(e,t,l[t])}))}return e}function hl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const yl=g.B9.ERROR,gl=e=>{let{config:t,errorData:l,titleChildren:a,infoTooltipTitle:r,onRefresh:i}=e;const{id:o,title:c}=t,s=fl();return n().createElement(ul.Z,{id:o},n().createElement(ke,{title:c,infoTooltipTitle:r},a),n().createElement(je.Z,{className:s.viewContent},n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},n().createElement(Ye,{errorData:ml({Icon:yl},l),onRefresh:i,variant:pe.SMALL}))))};function vl(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){El(e,t,l[t])}))}return e}function El(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const bl=e=>(0,u.pipe)((0,u.propOr)({},e),Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),k),xl=e=>{let{sortDirection:t,sortField:l}=e;return(e,a)=>"asc"===t?e[l]>a[l]?1:-1:e[l]<a[l]?1:-1},Ol=(e,t)=>t.filter((t=>e.find((0,u.propEq)("uri",t.group)))),wl=(e,t)=>e.find((0,u.propEq)("uri",t)),Sl=(0,u.curry)(((e,t)=>(0,u.pipe)(Ol,(0,u.map)((t=>{var l;return vl({},t,{label:null===(l=wl(e,t.group))||void 0===l?void 0:l.name})})))(e,t))),Rl=(0,u.pipe)((0,u.map)($),(0,u.slice)(1,1/0),(0,u.join)(" / ")),Tl=(0,u.curry)(((e,t,l)=>(0,u.pipe)(Ol,(0,u.map)((l=>{const{name:a,attribute:r}=wl(e,l.group),n=(0,s.X3M)(t,r);return vl({},l,{label:a,attributeLabel:Rl(n)})})))(e,l))),Nl=bl("frequency"),Cl=bl("pattern"),Al=(e,t)=>`${e}/analyticsAttributes/AttributeValidations/analyticsAttributes/${t}`,_l=(e,t)=>{let{name:l,uri:a}=e;return[{filter:s.j5E.EQUALS,values:[[l]],fieldName:"analyticsAttributes.AttributeValidations.FunctionName",uri:Al(t,"FunctionName")},{filter:s.j5E.EQUALS,values:[[a]],fieldName:"analyticsAttributes.AttributeValidations.FunctionURI",uri:Al(t,"FunctionURI")}]},Il=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}`,value:t,entityTypeUri:a})})),Dl=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:s.j5E.ON,values:[t],fieldName:l}]})),Ml=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:s.j5E.EQUALS,values:[[t]],fieldName:l}]})),Ll=e=>{let{detailedAttributeType:t,entityTypeUri:l}=e;return(0,u.cond)([[s.j5n,(0,u.always)(Il)],[s.Lt4,(0,u.always)(P(Dl))],[u.identity,(0,u.always)(P(Ml))]])(t.type)({detailedAttributeType:t,entityTypeUri:l})},Bl=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.pattern`,value:`"${t}"`,entityTypeUri:a})})),kl=e=>`(${e.length>=100?m().text("top")+" 100":e.length})`;var zl=l(31276),Fl=l(85709),jl=l(88611),Pl=l(92332);const Ul=(0,u.pipe)((0,u.split)("|"),(e=>{let[t,l]=e;return{label:t,maxValue:l}}));function Hl(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Vl(e,t,l[t])}))}return e}function Vl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Wl={content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"},Yl={content:'""',position:"absolute",background:"rgba(0, 0, 0, 0.38)",width:"1px",height:"3px",bottom:0,left:0},Gl=(0,ye.Z)((e=>({colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",padding:"5px 0 6px",height:"100%",boxSizing:"border-box","&>span":{display:"block"},"&>span>div":{opacity:1,zIndex:1}},number:{fontSize:"13px",lineHeight:"15px",fontWeight:"normal",color:e.palette.text.primary,flexShrink:0,width:"90px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},numberContainer:{display:"flex",flexDirection:"row",alignItems:"center",padding:"0 10px 0 16px",height:"100%"},bar:{borderRadius:"0 !important",minHeight:"16px !important",position:"initial !important","&:hover":{"&:after":{background:"rgba(0, 0, 0, 0.1)"}},"&:after":{content:'""',position:"absolute",top:"2px",left:"-3px",right:"-2px",bottom:"3px",transition:"background 0.3s"}},tooltipTitle:{color:"rgba(255, 255, 255, 0.6)"},headCell:{height:"100%",lineHeight:"47px","&>div":{padding:"0 10px 0 16px",display:"flex"},"&>div>span":{width:"100%",flexGrow:1,justifyContent:e=>e?"flex-start":"flex-end",flexDirection:e=>e?"row":"row-reverse",marginLeft:e=>e&&"auto!important"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"47px",whiteSpace:"nowrap",overflow:"hidden","&:after":Wl},labelPercantageWrapper:{display:"flex",flexGrow:1},labelWrapper:{minWidth:"90px",position:"relative"},rangeWrapper:{marginLeft:"16px",display:"flex",width:"100%",lineHeight:"24px",alignItems:"flex-end",position:"relative","&:before":Yl,"&:after":Hl({},Yl,{right:0,left:"initial"})},rangeWrapperSortable:{marginLeft:"12px"},rangeLabel:{color:e.palette.text.secondary,fontSize:"12px","&:first-child":{flexGrow:1}},attribute:{color:e.palette.text.primary,fontSize:"13px",fontWeight:"normal",lineHeight:"15px",whiteSpace:"pre",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":Wl},tooltipValue:{whiteSpace:"pre-wrap"}})));function Zl(){return Zl=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},Zl.apply(this,arguments)}function $l(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){ql(e,t,l[t])}))}return e}function ql(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ql=e=>{let{className:t,headCellData:l,headIndex:a}=e,r=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","headCellData","headIndex"]);const i=Gl(!a),{label:o,maxValue:c}=Ul(l.label),p=(0,s.k7L)(Number(c),999),u=!!c,f=n().createElement(jl.C,{value:o},n().createElement("div",{className:i.headLabel},o));return n().createElement("div",{className:d()(i.headCell,t)},n().createElement(Pl.default,Zl({},r,{headCellData:$l({},l,{label:u?n().createElement("div",{className:i.labelPercantageWrapper},n().createElement("div",{className:i.labelWrapper},f),n().createElement("div",{className:d()(i.rangeWrapper,{[i.rangeWrapperSortable]:l.sortable})},n().createElement("span",{className:i.rangeLabel},"0"),n().createElement("span",{className:i.rangeLabel},p))):f})})))};var Xl=l(99256),Kl=l(32528);const Jl=(0,Kl.Z)(((e,t)=>{let{onItemClick:l}=e,{rowValue:{group:a}}=t;return{onClick:l&&(()=>{l(a)})}}))((e=>{let{value:t="",columnData:l,rowValue:a,onClick:r}=e;const{cellClassName:i,labelRenderer:o}=l,c=Gl(),p=(0,Xl.d)(r),u=n().createElement("div",{className:c.tooltipValue},t),f=!!o;return n().createElement(jl.C,{value:u},n().createElement("div",{className:d()(c.attribute,p,i),onClick:r},f?n().createElement(o,{chartData:a}):s.P6Y.strings.removeLineBreaks(t)))}));var ea=l(43290);const ta=(0,me.Z)((e=>{let{value:t,maxValue:l,className:a}=e;return n().createElement(ea.Z,{width:t,maxWidth:l,className:a})})),la=(0,Kl.Z)(((e,t)=>{let{onItemClick:l,columnsHeaders:a}=e,{rowValue:{group:r}}=t;return{onClick:l&&(()=>{l(r)}),columnsHeaders:a}}))((e=>{let{value:t,columnData:{maxValue:l},rowValue:a,columnsHeaders:r,onClick:i}=e;const o=Gl(),c=(0,Xl.d)(i),p=0===t?"0":(0,s.k7L)(t,999),f=e=>"value"===e?m().number(t):a[e],h=n().createElement(Te,{data:r.map((e=>{let{label:t,id:l}=e;return{label:n().createElement("span",{className:o.tooltipValue},t),value:f(l)}}))});return n().createElement("div",{className:d()(o.numberContainer,c),onClick:i},n().createElement(Ue.Typography,{className:o.number},p),!(0,u.isNil)(l)&&n().createElement("div",{className:o.colorBarContainer},n().createElement(ta,{value:t,maxValue:l,tooltipTitle:h,className:o.bar,showForDisabled:!0})))})),aa=(0,ye.Z)({tableContainer:e=>{let{width:t,height:l}=e;return{height:l,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none!important"}});function ra(){return ra=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},ra.apply(this,arguments)}function na(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const ia=(e,t)=>t?`${e} ${t}`:e,oa=e=>{let{width:t,height:l,data:a,columnsOptions:i,basicTableRef:o,onItemClick:c}=e,s=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["width","height","data","columnsOptions","basicTableRef","onItemClick"]);const p=aa({width:t,height:l}),d=(0,r.useMemo)((()=>({cellBorder:p.cellBorder})),[p]),f=(0,r.useMemo)((()=>Math.max(...(0,u.pluck)("value",a))),[a]),m=(0,r.useMemo)((()=>i.map((e=>function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){na(e,t,l[t])}))}return e}({resizable:!1,sortable:!1,headCellRenderer:Ql,rowCellValueRenderer:Jl,label:ia(e.label,e.secondLabel),initialWidth:t*e.width},"value"===e.id?{label:ia(e.label,e.secondLabel).concat(`|${f}`),maxValue:f,rowCellValueRenderer:la}:{},(0,u.omit)(["label","width"],e))))),[i,f,t]),h=(0,r.useMemo)((()=>i.map((0,u.pick)(["id","label"]))),[i]),y=(0,r.useMemo)((()=>({onItemClick:c,columnsHeaders:h})),[c,h]);return n().createElement("div",{className:p.tableContainer},n().createElement(Fl.Z,ra({columnsData:m,rowsData:a,headRowHeight:48,getRowCellHeight:()=>28,classes:d,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:o,context:y},s)))},ca=(0,ye.Z)((()=>({layoutItemContent:{padding:"0 0 10px"}}))),sa=(0,he.Z)((e=>{let{config:t,data:l,title:a,columnsOptions:i,infoTooltipTitle:o,customComparator:c,onItemClick:s,titleChildren:p,state:d,onRefresh:u}=e;const f=ca(),[m,h]=(0,r.useState)("desc"),[y,g]=(0,r.useState)("value"),v=(0,r.useCallback)(((e,t)=>c?c({sortDirection:m,sortField:y})(e,t):xl({sortDirection:m,sortField:y})(e,t)),[m,y,c]),E=e=>{h((()=>y===e?(0,zl.Dh)(m):m)),g(e)},b=(0,r.useMemo)((()=>[...l.sort(v)]),[v,l]);return n().createElement(Je,{config:t},n().createElement(ke,{title:a,infoTooltipTitle:o},p),n().createElement(Qe,{className:f.layoutItemContent,data:b,loadingState:d,onRefresh:u},(e=>{let{data:t,width:l=0,height:a=0}=e;return n().createElement(oa,{data:t,width:l,height:a,columnsOptions:i,sorting:{field:y,order:m},onSort:E,onItemClick:s})})))}));function pa(){return pa=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},pa.apply(this,arguments)}const da=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",pa({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),n().createElement("mask",{id:"svg1830866123a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),n().createElement("g",{mask:"url(#svg1830866123a)"},n().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},n().createElement("path",{d:"M12.375 18.688a7 7 0 017-7h75.742a7 7 0 017 7v49.02a7 7 0 01-7 7H19.375a7 7 0 01-7-7v-49.02z"}),n().createElement("path",{opacity:".4",d:"M16.844 22.813a7 7 0 017-7h75.741a7 7 0 017 7v49.02a7 7 0 01-7 7H23.844a7 7 0 01-7-7v-49.02z"})),n().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"29.318",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 31.381a3.562 3.562 0 013.552-3.563 3.562 3.562 0 013.552 3.563 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),n().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 29.052c0-.726.588-1.313 1.313-1.313h23.983a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),n().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 33.553c0-.518.42-.938.938-.938h43.37a.938.938 0 010 1.876h-43.37a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 36.554c0-.31.252-.563.563-.563h13.993a.563.563 0 110 1.126H31.26a.563.563 0 01-.563-.563z",fill:"#B1AABD"}),n().createElement("rect",{opacity:".5",x:"19.854",y:"17.689",width:"29.914",height:"4.126",rx:"2.063",fill:"#645F6D"}),n().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"43.573",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),n().createElement("rect",{x:"19.854",y:"42.072",width:"7.105",height:"7.127",rx:"3.552",fill:"#E3EBF4"}),n().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 43.306c0-.725.588-1.313 1.313-1.313h28.41a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),n().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 47.808c0-.518.42-.938.938-.938h48.23a.938.938 0 110 1.876h-48.23a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 50.809c0-.31.252-.563.563-.563h38.884a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),n().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"57.828",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 59.891a3.562 3.562 0 013.552-3.564 3.562 3.562 0 013.552 3.564 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),n().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 57.561c0-.725.588-1.313 1.313-1.313h38.132a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),n().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 62.063c0-.518.42-.938.938-.938h31.778a.938.938 0 110 1.875H31.635a.938.938 0 01-.938-.937z",fill:"#B1AABD"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 65.064c0-.311.252-.563.563-.563h13.993a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.094h88V88H0V3.094z",fill:"url(#paint0_linear_3200_4362)"}),n().createElement("path",{d:"M79.893 76.85H21.308v14.184h58.585V76.85z",fill:"#F5C056"}),n().createElement("path",{d:"M79.893 76.85H74.6v14.184h5.293V76.85z",fill:"#E99B00"}),n().createElement("path",{d:"M48.73 76.893H26.283v14.184H48.73V76.893z",fill:"#FFEA5A"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.894 57.829c-1.687-4.26 13.113-4.043 11.413 0-1.353 3.218-1.353 7.53 0 12.934H44.894C46 64.93 46 60.618 44.894 57.83z",fill:"#FFD264"}),n().createElement("path",{d:"M61.253 70.383H39.949v2.663h21.304v-2.663z",fill:"#FFD264"}),n().createElement("path",{d:"M47.938 70.383h-4.185v2.663h4.185v-2.663z",fill:"#FFEA5A"}),n().createElement("path",{d:"M64.676 73.046h-28.15v3.804h28.15v-3.804z",fill:"#795D1A"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.764 16.363v5.325H15.602v.143c0 13.634 8.992 24.714 20.162 24.961v2.994c-14-.986-25.108-15.488-25.108-33.233v-.19h25.108z",fill:"#FFCB64"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.677 16.363v5.325h20.161v.143c0 13.634-8.991 24.714-20.161 24.961v2.994c13.999-.986 25.107-15.488 25.107-33.233v-.19H64.677z",fill:"#ED985C"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.307 57.829c-1.353 3.218-1.353 7.53 0 12.934h-5.706V54.715c3.278.026 6.556 1.091 5.706 3.114z",fill:"#F4B046"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.676 73.046v3.804H50.601v-3.804h14.075z",fill:"#4F350B"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.253 70.383v2.663H50.6v-2.663h10.652z",fill:"#F4B046"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.933 10.656a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-11.43 0-23.311-20.1-24.449-45.65h2.194l-.38-3.044h-1.898a91.212 91.212 0 01.01-2.663h49.045z",fill:"#FFCE66"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.937 10.656c.006.569.01 1.14.01 1.712v.952h-.044l-.241 3.043h.294c.126 24.948 1.435 39.335 3.123 45.65-8.89-3.2-15.661-20.403-16.308-45.65h1.465l-.241-3.044h-1.271a158.252 158.252 0 01.006-2.663h13.207z",fill:"#FFEA5A"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M70.284 16.363h-3.91l.422-3.044h3.581a81.301 81.301 0 00-.01-2.663h4.566a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-.414 0-.828-.026-1.241-.078 11.92-1.382 19.899-20.946 21.114-45.572zm.083-5.707h-44.48 44.48z",fill:"#F4B046"}),n().createElement("path",{opacity:".519",d:"M72.665 13.32h-44.51v3.043h44.51v-3.044z",fill:"#F4B046"}),n().createElement("path",{d:"M48.318 73.046h-5.706v3.804h5.706v-3.804z",fill:"#96691F"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M65.526 10.656h4.235L58.973 35.935h-4.235l10.788-25.279z",fill:"url(#paint1_linear_3200_4362)"}),n().createElement("g",{filter:"url(#filter0_d_3200_4362)"},n().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#000"})),n().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#DD612C"}),n().createElement("path",{d:"M56.909 54.302a8.681 8.681 0 100-17.362 8.681 8.681 0 000 17.362z",fill:"#FFCE66"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.909 36.94a8.685 8.685 0 018.347 6.291c-5.74.351-10.312 5.02-10.51 10.8a8.699 8.699 0 01-6.008-5.47A11.212 11.212 0 0054.9 37.174a8.684 8.684 0 012.008-.234z",fill:"#FFF18C"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.202 10.656l10.862 25.341H54.83L43.646 10.705l4.556-.049z",fill:"#F83D3D"})),n().createElement("defs",null,n().createElement("linearGradient",{id:"paint0_linear_3200_4362",x1:"0",y1:"3.094",x2:"0",y2:"88",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),n().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),n().createElement("linearGradient",{id:"paint1_linear_3200_4362",x1:"62.25",y1:"10.656",x2:"62.25",y2:"35.935",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#B93131"}),n().createElement("stop",{offset:"1",stopColor:"#831616"})),n().createElement("filter",{id:"filter0_d_3200_4362",x:"40.057",y:"30.77",width:"33.702",height:"33.703",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"3"}),n().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0335613 0 0 0 0 0.334579 0 0 0 0 0.412601 0 0 0 0.5 0"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3200_4362"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3200_4362",result:"shape"}))))};function ua(){return ua=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},ua.apply(this,arguments)}const fa=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",ua({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),n().createElement("mask",{id:"svg355575424a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),n().createElement("g",{mask:"url(#svg355575424a)"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.5 3.094h88V88h-88V3.094z",fill:"url(#paint0_linear_3488_11934)"}),n().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M64.543 19.547L84.7 39.704V90.88H32.1L17.875 77.372V19.547h46.668z",fill:"url(#paint1_linear_3488_11934)"}),n().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.156 19.938h69.438A2.406 2.406 0 0188 22.343v53.968a2.406 2.406 0 01-2.406 2.407H16.156a2.406 2.406 0 01-2.406-2.406v-53.97a2.406 2.406 0 012.406-2.405z",fill:"#000"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 19.25H86.28c.95 0 1.719.77 1.719 1.719v53.968c0 .95-.77 1.72-1.719 1.72H17.187c-.949 0-1.718-.77-1.718-1.72V20.97c0-.95.77-1.719 1.719-1.719z",fill:"#fff"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 24.968c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 29.093c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 56.031c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 60.156c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 66.344c0-.57.462-1.031 1.031-1.031h28.059a1.031 1.031 0 010 2.062H37.254c-.57 0-1.031-.462-1.031-1.031z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 70.469c0-.57.462-1.031 1.031-1.031h25.508a1.031 1.031 0 010 2.062H37.125c-.57 0-1.031-.462-1.031-1.031z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 35.406c0-.57.461-1.031 1.03-1.031h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 39.531c0-.57.461-1.031 1.03-1.031H70.54a1.031 1.031 0 010 2.063H48.47c-.57 0-1.032-.462-1.032-1.032z",fill:"#979797"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"36.438",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"46.75",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"58.094",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"68.406",r:"3.094",fill:"#B6C7DB"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 45.719c0-.57.461-1.032 1.03-1.032h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.031z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 49.844c0-.57.461-1.032 1.03-1.032h25.509a1.031 1.031 0 010 2.063H48.469c-.57 0-1.032-.462-1.032-1.031z",fill:"#979797"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M31.802 37.125v-2.75h-.688V48.251h3.843v-.688h-3.155v-9.75h3.155v-.688h-3.155z",fill:"#2B98F0"}),n().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M32.68 26.469l-1.215 1.215-1.215-1.215h2.43z",fill:"#000"}),n().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 7.563h63.937c1.14 0 2.063.923 2.063 2.062v6.188c0 1.139-.924 2.062-2.063 2.062H17.187a2.062 2.062 0 01-2.062-2.063V9.625c0-1.14.923-2.063 2.063-2.063z",fill:"#fff"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M19.938 12.719c0-1.14.923-2.063 2.062-2.063h24.063a2.063 2.063 0 010 4.125H22a2.062 2.062 0 01-2.063-2.062zM50.875 12.719c0-1.14.923-2.063 2.063-2.063h3.437a2.063 2.063 0 010 4.125h-3.438a2.062 2.062 0 01-2.062-2.062z",fill:"#979797"}),n().createElement("path",{opacity:".2",d:"M37.687 66.48l8.942 8.309v.958l19.925 19.702 31.064-.552 7.006-25.47-34.487-34.144-11.2.567c-3.238-1.86-5.34-3.02-6.306-3.48-.54-.258-.383 5.565-2.755 7.725-1.243 1.133-3.462 4.104-6.657 8.914l-5.532 17.47z",fill:"url(#paint2_linear_3488_11934)"}),n().createElement("g",{filter:"url(#filter0_d_3488_11934)",fillRule:"evenodd",clipRule:"evenodd"},n().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312a18.719 18.719 0 014.236 4.554l4.28-.699a23.425 23.425 0 012.392 6.47l-3.639 2.443c.262 2.058.2 4.18-.216 6.285l3.466 2.572a24.254 24.254 0 01-2.838 6.375l-4.231-.855a19.61 19.61 0 01-4.526 4.366l.62 4.34a23.426 23.426 0 01-6.409 2.551l-2.345-3.649a18.72 18.72 0 01-6.219-.1l-2.593 3.564a22.7 22.7 0 01-6.224-2.757l.912-4.304a18.715 18.715 0 01-4.281-4.567l-4.285.7a23.424 23.424 0 01-2.4-6.438l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14zM60.075 49.74c-2.804-1.248-6.112.064-7.388 2.93-1.276 2.867-.038 6.203 2.766 7.452 2.804 1.248 6.112-.064 7.388-2.93 1.276-2.867.038-6.203-2.766-7.452z",fill:"#6B93AC"}),n().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312c.779.597 1.503 1.25 2.168 1.95l-10.07 9.392a5.444 5.444 0 00-1.491-.983c-2.804-1.248-6.112.064-7.388 2.93a5.7 5.7 0 00.626 5.749l-10.071 9.39c-.502-.585-.965-1.2-1.39-1.84l-4.284.7a23.424 23.424 0 01-2.4-6.437l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14z",fill:"#7CA6BF"}),n().createElement("path",{d:"M62.886 42.644c6.409 2.854 9.24 10.479 6.322 17.03-2.917 6.553-10.478 9.552-16.887 6.698-6.409-2.853-9.24-10.478-6.322-17.03 2.917-6.553 10.478-9.551 16.887-6.698zm-1.32 2.966c-4.808-2.14-10.478.109-12.666 5.023-2.188 4.914-.065 10.633 4.742 12.773 4.806 2.14 10.477-.108 12.665-5.023 2.188-4.914.065-10.633-4.742-12.773z",fill:"#AAC4D5"}),n().createElement("path",{d:"M62.886 42.644a12.424 12.424 0 014.22 3.075l-2.366 2.207a9.317 9.317 0 00-3.175-2.316c-4.807-2.14-10.477.109-12.665 5.023-1.635 3.673-.863 7.795 1.638 10.536l-2.367 2.208c-3.325-3.656-4.35-9.145-2.172-14.035 2.917-6.553 10.478-9.551 16.887-6.698z",fill:"#CBDDE9"}))),n().createElement("defs",null,n().createElement("linearGradient",{id:"paint0_linear_3488_11934",x1:"-5.5",y1:"3.094",x2:"-5.5",y2:"88",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),n().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),n().createElement("linearGradient",{id:"paint1_linear_3488_11934",x1:"91.478",y1:"62.257",x2:"53.241",y2:"26.703",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopOpacity:".01"}),n().createElement("stop",{offset:"1"})),n().createElement("linearGradient",{id:"paint2_linear_3488_11934",x1:"86.975",y1:"77.519",x2:"49.809",y2:"46.968",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#90A4AE",stopOpacity:"0"}),n().createElement("stop",{offset:"1",stopOpacity:".75"})),n().createElement("filter",{id:"filter0_d_3488_11934",x:"32.168",y:"30.067",width:"53.209",height:"53.716",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dx:"1",dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3488_11934"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3488_11934",result:"shape"}))))};function ma(){return ma=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},ma.apply(this,arguments)}const ha=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",ma({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),n().createElement("mask",{id:"svg1954152798a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),n().createElement("g",{mask:"url(#svg1954152798a)"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.5 3.094h88V88h-88V3.094z",fill:"url(#paint0_linear_4523_4542)"}),n().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M64.543 19.547L84.7 39.704V90.88H32.1L17.875 77.372V19.547h46.668z",fill:"url(#paint1_linear_4523_4542)"}),n().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.156 19.938h69.438A2.406 2.406 0 0188 22.343v53.968a2.406 2.406 0 01-2.406 2.407H16.156a2.406 2.406 0 01-2.406-2.406v-53.97a2.406 2.406 0 012.406-2.405z",fill:"#000"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 19.25H86.28c.95 0 1.719.77 1.719 1.719v53.968c0 .95-.77 1.72-1.719 1.72H17.187c-.949 0-1.718-.77-1.718-1.72V20.97c0-.95.77-1.719 1.719-1.719z",fill:"#fff"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 24.968c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 29.093c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 110 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 56.031c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 60.156c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 110 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 66.344c0-.57.462-1.031 1.031-1.031h28.059a1.031 1.031 0 010 2.063H37.254c-.57-.001-1.031-.463-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 70.469c0-.57.462-1.031 1.031-1.031h25.508a1.031 1.031 0 010 2.063H37.125c-.57-.001-1.031-.463-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 35.406c0-.57.461-1.031 1.03-1.031h28.06a1.031 1.031 0 010 2.063h-28.06c-.569 0-1.03-.462-1.03-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 39.531c0-.57.461-1.031 1.03-1.031H70.54a1.031 1.031 0 010 2.063H48.47c-.57 0-1.032-.462-1.032-1.032z",fill:"#979797"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"36.438",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"46.75",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"58.094",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"68.406",r:"3.094",fill:"#B6C7DB"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 45.719c0-.57.461-1.032 1.03-1.032h28.06a1.031 1.031 0 010 2.063h-28.06c-.569 0-1.03-.462-1.03-1.031z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 49.844c0-.57.461-1.032 1.03-1.032h25.509a1.031 1.031 0 010 2.063H48.469c-.57 0-1.032-.462-1.032-1.031z",fill:"#979797"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M31.802 37.125v-2.75h-.688V48.251h3.843v-.688h-3.155v-9.75h3.155v-.688h-3.155z",fill:"#2B98F0"}),n().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M32.68 26.469l-1.215 1.215-1.215-1.215h2.43z",fill:"#000"}),n().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 7.563h63.937c1.14 0 2.063.923 2.063 2.062v6.188c0 1.139-.924 2.062-2.063 2.062H17.187a2.062 2.062 0 01-2.062-2.063V9.625c0-1.14.923-2.063 2.063-2.063z",fill:"#fff"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M19.938 12.719c0-1.14.923-2.063 2.062-2.063h24.063a2.062 2.062 0 010 4.125H22a2.062 2.062 0 01-2.063-2.062zM50.875 12.719c0-1.14.923-2.063 2.063-2.063h3.437a2.062 2.062 0 110 4.125h-3.438a2.062 2.062 0 01-2.062-2.062z",fill:"#979797"}),n().createElement("g",{filter:"url(#filter0_d_4523_4542)"},n().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"})),n().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:"#4A90E2"}),n().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:"#4A90E2"}),n().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:"#4A90E2"}),n().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:"#4A90E2"}),n().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:"#61A3F1"}),n().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.33 66.066 75.41h-2.029l-7.582-7.582 1.006-3.178.837-18.201z",fill:"url(#paint2_linear_4523_4542)"}),n().createElement("g",{filter:"url(#filter1_d_4523_4542)"},n().createElement("circle",{cx:"57.406",cy:"47.781",r:"1.719",fill:"#fff"})),n().createElement("g",{filter:"url(#filter2_d_4523_4542)"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.688 53.969a1.719 1.719 0 113.438 0v12.375a1.719 1.719 0 11-3.438 0V53.969z",fill:"#fff"}))),n().createElement("defs",null,n().createElement("linearGradient",{id:"paint0_linear_4523_4542",x1:"-5.5",y1:"3.094",x2:"-5.5",y2:"88",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),n().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),n().createElement("linearGradient",{id:"paint1_linear_4523_4542",x1:"91.478",y1:"62.257",x2:"53.241",y2:"26.703",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopOpacity:".01"}),n().createElement("stop",{offset:"1"})),n().createElement("linearGradient",{id:"paint2_linear_4523_4542",x1:"77.079",y1:"63.788",x2:"62.929",y2:"54.707",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopOpacity:".01"}),n().createElement("stop",{offset:"1"})),n().createElement("filter",{id:"filter0_d_4523_4542",x:"36.219",y:"37.875",width:"42.375",height:"42.375",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4523_4542"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4523_4542",result:"shape"})),n().createElement("filter",{id:"filter1_d_4523_4542",x:"51.688",y:"44.063",width:"11.438",height:"11.438",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4523_4542"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4523_4542",result:"shape"})),n().createElement("filter",{id:"filter2_d_4523_4542",x:"51.688",y:"50.25",width:"11.438",height:"23.813",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4523_4542"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4523_4542",result:"shape"}))))},ya=(0,ye.Z)((e=>({title:{whiteSpace:"nowrap",height:"24px",display:"flex",alignItems:"center",overflow:"hidden",textOverflow:"ellipsis"},titleCount:{color:e.palette.text.secondary,borderLeft:"1px solid rgba(0, 0, 0, 0.12)",marginLeft:"16px",paddingLeft:"16px",overflow:"hidden",lineHeight:"24px",textOverflow:"ellipsis",fontSize:"14px"},viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"},countProfiles:{color:e.palette.text.primary}})));let ga;!function(e){e.DVF_NOT_SUPPORTED="dvfNotSupported",e.DVF_NOT_CONFIGURE="dvfNotConfigured",e.DATA_VALID="dataValid",e.PERMISSION_DENIED="permissionDenied"}(ga||(ga={}));const va=e=>{let{chartType:t,dataLevel:l,title:a,infoTooltipTitle:r,titleChildren:i,dvfConfigLink:o,config:c}=e;const p=ya();let d,u,f;const h=l===s.yn8.ATTRIBUTE_TYPE?m().text("attribute type"):m().text("entity type");switch(t){case ga.DVF_NOT_SUPPORTED:d=ha,f=m().text("Data validation functions are not supported for\nReference attributes at this time.");break;case ga.DVF_NOT_CONFIGURE:d=fa,u=m().text("If we spot any validation issues, we’ll display them here."),f=n().createElement(n().Fragment,null,n().createElement(Ue.Link,{href:o,target:"_blank",component:o?"a":"span",color:o?"primary":"inherit",underline:o?"hover":"none","data-reltio-id":"reltio-dq-dashboard-define-dvf-link"},`${m().text("Define some data validation functions")} `),m().text("for this ${dataSourceLabel} (or ask your Tenant Admin).",{dataSourceLabel:h}));break;case ga.DATA_VALID:d=da,u=m().text("We didn’t spot any validation issues for this ${dataSourceLabel}.\nYou can kick back and enjoy a cold one.",{dataSourceLabel:h}),f=m().text("Nice one!");break;case ga.PERMISSION_DENIED:d=g.B9.ERROR,u=m().text("Please contact your Tenant Admin to change permissions"),f=m().text("You don’t currently have permission to view this chart")}return n().createElement(Je,{config:c},n().createElement(ke,{title:a,infoTooltipTitle:r},i),n().createElement(je.Z,{className:p.viewContent},n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=0}=e;return n().createElement($e,{height:t,data:{Icon:d,title:f,message:u}})}))))},Ea=e=>{let{isDataValid:t,totalProfiles:l,invalidProfiles:a,tooltipTitle:r}=e;const i=ya();return n().createElement(jl.C,{value:r},n().createElement(Ue.Typography,{className:i.titleCount},t?m().text("0 profiles"):(0,u.isNil)(a)?null:n().createElement(n().Fragment,null,n().createElement("span",{className:i.countProfiles},(0,s.k7L)(a)),` (${Math.round(a/l*100)}% ${m().text("out of")} ${(0,s.k7L)(l)}) ${1!==a?m().text("profiles"):m().text("profile")}`)))},ba=e=>{const{config:t}=e,l=(0,i.useSelector)(v.ZP.selectors.getMetadata),a=(0,r.useContext)(de),o=a===s.yn8.ATTRIBUTE_TYPE,{dvfs:c,dvfConfigLink:p}=(0,r.useContext)(T),{data:d,state:f,reload:h,errorCode:y}=c,g=(0,r.useContext)(R),E=(0,r.useContext)(N),b=E.uri,x=(o?((e,t)=>(e||[]).filter((0,u.propEq)("attribute",t)))(d,null==g?void 0:g.uri):d)||[],O=x.filter((0,u.propEq)("status",s.lVm.ACTIVE)),{data:w,state:S,reload:_}=pt(o?(e=>(0,u.pipe)(bl("dataValidationFunctions"),Sl(e)))(O):((e,t)=>(0,u.pipe)(bl("dataValidationFunctions"),Tl(e,t)))(O,l)),I=(0,r.useMemo)((()=>[E]),[E]),M=(e=>{let{entityTypeUri:t,dvfUris:l}=e;const[a,n]=(0,r.useState)(null),i=(0,A._)();return(0,r.useEffect)((()=>{const e=[{fieldName:"type",filter:s.j5E.EQUALS,values:[t]},{fieldName:"analyticsAttributes.AttributeValidations.FunctionURI",filter:s.j5E.EQUALS,values:l}];i((0,s.j_Q)(e)).then((e=>{let{total:t}=e;return n(t)})).catch((()=>n(null)))}),[t,l]),a})({entityTypeUri:b,dvfUris:(0,r.useMemo)((()=>(0,u.pluck)("uri",O)),[O])}),L=D(I)(b),B=mt((e=>t=>{let{entityTypeUri:l}=t;return t=>{const a=wl(e,t);return(0,u.pipe)(_l,j(null,l))(a,l)}})(O)),k=(0,r.useMemo)((()=>f===C.o.LOADED&&S===C.o.LOADED?C.o.LOADED:f===C.o.ERROR||S===C.o.ERROR?C.o.ERROR:C.o.LOADING),[S,f]),z=(0,r.useMemo)((()=>()=>{f===C.o.ERROR&&h(),S===C.o.ERROR&&_()}),[S,f,h,_]),F=y===s.Xt7.ACCESS_DENIED,P=o&&se(g),U=y===s.Xt7.DVF_NOT_CONFIGURED||0===(null==O?void 0:O.length)&&k!==C.o.ERROR&&f===C.o.LOADED,H=k===C.o.LOADED&&(null==O?void 0:O.length)>0&&0===w.length,V=!(k===C.o.ERROR&&y!==s.Xt7.DVF_NOT_CONFIGURED)&&!U&&k!==C.o.LOADING&&n().createElement(Ea,{isDataValid:H,totalProfiles:L,invalidProfiles:M,tooltipTitle:t.title}),W=n().createElement(Te,{title:m().text("Profiles with invalid data"),data:[{value:m().text("Shows the number of profiles that violate active validation functions")}],DataRenderer:et}),Y=((e,t)=>{return e===s.yn8.ATTRIBUTE_TYPE?(l=t.length,[{id:"label",label:m().text("Validation function"),secondLabel:`(${l})`,width:.4,sortable:!0},{id:"value",label:m().text("Profiles"),width:.6,sortable:!0}]):(e=>[{id:"attributeLabel",label:m().text("Attribute"),width:.23,sortable:!0},{id:"label",label:m().text("Name"),secondLabel:`(${e})`,width:.37,sortable:!0},{id:"value",label:m().text("Count"),secondLabel:"(%)",width:.4,sortable:!0}])(t.length);var l})(a,w);return U||H||F?n().createElement(va,{config:t,chartType:P?ga.DVF_NOT_SUPPORTED:U?ga.DVF_NOT_CONFIGURE:H?ga.DATA_VALID:F?ga.PERMISSION_DENIED:void 0,title:m().text(t.title),infoTooltipTitle:W,titleChildren:V,dvfConfigLink:p,dataLevel:a}):n().createElement(sa,{config:t,title:m().text(t.title),data:w,onItemClick:B,titleChildren:V,state:k,onRefresh:z,customComparator:xl,infoTooltipTitle:W,columnsOptions:Y})},xa=(0,ye.Z)({monoFontCell:{fontFamily:'"Roboto Mono", monospace'}}),Oa=e=>{let{config:t}=e;const l=xa(),{data:a,state:i,reload:o}=pt(Nl),c=(0,r.useContext)(R).type,p=(0,s.Lt4)(c)?((e,t)=>e.map((e=>L({},e,{label:(0,s.mB6)({dataTypeDefinition:{type:t}},Number(e.label))}))))(a,c):a,u=mt(Ll),f=n().createElement(Te,{title:m().text("Frequency analysis"),data:[{value:m().text("Shows the number of times each value occurs")}],DataRenderer:et}),h=[{id:"label",label:m().text("Value"),secondLabel:kl(a),width:.4,cellClassName:d()({[l.monoFontCell]:(0,s.m6e)(c)})},{id:"value",label:m().text("Count"),width:.6}];return n().createElement(sa,{config:t,data:p,title:t.title,infoTooltipTitle:f,onItemClick:u,state:i,onRefresh:o,columnsOptions:h})};function wa(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Sa(e,t,l[t])}))}return e}function Sa(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var Ra,Ta;!function(e){e[e.sun=0]="sun",e[e.mon=1]="mon",e[e.tue=2]="tue",e[e.wed=3]="wed",e[e.thu=4]="thu",e[e.fri=5]="fri",e[e.sat=6]="sat"}(Ra||(Ra={})),function(e){e[e.jan=0]="jan",e[e.feb=1]="feb",e[e.mar=2]="mar",e[e.apr=3]="apr",e[e.may=4]="may",e[e.jun=5]="jun",e[e.jul=6]="jul",e[e.aug=7]="aug",e[e.sep=8]="sep",e[e.oct=9]="oct",e[e.nov=10]="nov",e[e.dec=11]="dec"}(Ta||(Ta={}));const Na=e=>(0,u.pipe)((0,u.pathOr)({},[e,"data"]),Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),k),Ca="Reltio profiles",Aa="Source profiles",_a=(0,u.pipe)((0,u.pathOr)({},["consolidationRate"]),(0,u.converge)(u.concat,[(0,u.pipe)((0,u.prop)("totalCrosswalksBySource"),(0,u.omit)(["ReltioCleanser"]),(e=>[wa({},e,{label:Aa,group:Aa})])),(0,u.pipe)((0,u.prop)("totalEntities"),(e=>[(0,u.assoc)(Ca,e,{label:Ca,group:Ca})]))]));var Ia;!function(e){e.AVERAGE="avg",e.MININMUN="min",e.MAXIMUM="max",e.MEDIAN="median",e.NUMBER_OF_SOURCES="numberOfSources",e.MIN_NUMBER_OF_PROFILES="minNumberOfProfiles",e.MAX_NUMBER_OF_PROFILES="maxNumberOfProfiles",e.AVG_NUMBER_OF_PROFILES="avgNumberOfProfiles"}(Ia||(Ia={}));const Da=(e,t)=>{const l={lengthStatistics:{[Ia.MEDIAN]:m().text("Median"),[Ia.AVERAGE]:m().text("Average"),[Ia.MININMUN]:m().text("Minimum"),[Ia.MAXIMUM]:m().text("Maximum")},valueDistribution:{[Ia.MEDIAN]:m().text("Median"),[Ia.AVERAGE]:m().text("Average"),[Ia.MININMUN]:m().text("Minimum"),[Ia.MAXIMUM]:m().text("Maximum")},crosswalkAnalysis:{[Ia.NUMBER_OF_SOURCES]:m().text("No. of source systems"),[Ia.AVG_NUMBER_OF_PROFILES]:m().text("Avg no. of profiles"),[Ia.MIN_NUMBER_OF_PROFILES]:m().text("Min no. of profiles"),[Ia.MAX_NUMBER_OF_PROFILES]:m().text("Max no. of profiles")}};return(0,u.pathOr)(null,[t,e],l)},Ma=e=>(0,u.pipe)((0,u.propOr)({},e),Object.entries,(0,u.map)((t=>{let[l,a]=t;return{label:Da(l,e),value:a}})),(0,u.filter)((e=>{let{label:t}=e;return t})),k),La=e=>t=>({chartData:Na(e)(t),infoPanelData:Ma(e)(t)}),Ba=(e,t)=>(0,s.Lt4)(t)?(0,s.mB6)({dataTypeDefinition:{type:t}},Number(e)):m().number(e),ka=(0,u.curry)(((e,t)=>{const l=(0,u.pipe)((0,u.prop)("group"),(0,u.split)(" "),u.head,Number),a=t.chartData.sort((0,u.ascend)(l)).map(((l,a)=>{const[r,n=r]=l.group.split(" ").map(Number),i=a===t.chartData.length-1,o=r!==n?((e,t,l)=>Z(t)?`[${e}${l?"]":")"}`:e)(`${Ba(r,e)} - ${Ba(n,e)}`,e,i):Ba(r,e);return wa({},l,{label:o,group:[r,n,i?"last":""].toString()})}));return{infoPanelData:t.infoPanelData.map((t=>{const l=(0,s.Lt4)(e)?(0,s.mB6)({dataTypeDefinition:{type:e}},Number(t.value)):(0,s.k7L)(t.value,999);return wa({},t,{value:l,localizedValue:(0,s.Lt4)(e)?l:t.localizedValue})})),chartData:a}})),za=(0,u.pipe)(La("lengthStatistics"),ka("")),Fa=La("monthDistribution"),ja=La("dayOfWeekDistribution"),Pa=La("dayOfMonthDistribution"),Ua=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.day_of_week`,value:Ra[t.toLowerCase()],entityTypeUri:a})})),Ha=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.month`,value:Ta[t.toLowerCase()],entityTypeUri:a})})),Va=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.day_of_month`,value:t,entityTypeUri:a})})),Wa=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;const[r,n]=t.split(",");return r===n?ut({fieldName:`${l.fieldName}.length`,value:r,entityTypeUri:a}):(e=>{let{fieldName:t,startRange:l,endRange:a,entityTypeUri:r}=e;return dt({keyword:`${s.j5E.IN_RANGE}(${t}, ${l}, ${a})`,entityTypeUri:r})})({fieldName:`${l.fieldName}.length`,startRange:r,endRange:n,entityTypeUri:a})})),Ya=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.crosswalk_sources`,value:t,entityTypeUri:a})})),Ga=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[{filter:s.j5E.AFTER,values:[a],fieldName:l},{filter:s.j5E.BEFORE,values:[r],fieldName:l}]})),Za=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[a===r?{filter:s.j5E.EQUALS,values:[[a]],fieldName:l}:{filter:s.j5E.IN_RANGE,values:[[a,r]],fieldName:l}]})),$a=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r,n]=t.split(","),i=a===r,o=i?[{filter:s.j5E.EQUALS,values:[[a]],fieldName:l}]:[{filter:s.j5E.IN_RANGE,values:[[a,r]],fieldName:l}];return!n&&!i&&o.push({filter:s.j5E.NOT_EQUALS,values:[[r]],fieldName:l}),o})),qa=(0,u.cond)([[s.Lt4,(0,u.always)(P(Ga))],[Z,(0,u.always)(P($a))],[u.identity,(0,u.always)(P(Za))]]),Qa=(0,u.curry)(((e,t)=>{let{entityTypeUri:l}=e;return t===Ca?j(void 0,l,[]):(e=>{let{fieldName:t,value:l,entityTypeUri:a}=e;return dt({keyword:`${s.j5E.GT}(${t},${l})`,entityTypeUri:a})})({fieldName:`crosswalk_sources_count.${t}`,value:"'0'",entityTypeUri:l})})),Xa=(0,u.curry)(((e,t)=>!e||(0,u.propEq)("key",t,e)||t==Ca?1:.12)),Ka=e=>e>999?m().number(e,"0,0.0a").toUpperCase():e;function Ja(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){er(e,t,l[t])}))}return e}function er(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const tr=(0,ye.Z)((e=>({tooltipWrapper:Ja({},e.tooltip,{padding:"4px 8px"})}))),lr=e=>{var t;let{payload:l,active:a,name:r}=e;const i=null==l||null===(t=l[0])||void 0===t?void 0:t.payload,o=null==i?void 0:i.value,c=null==i?void 0:i.label,s=r?`${r}`:"",p=tr();return a&&n().createElement("div",{className:p.tooltipWrapper},n().createElement(Te,{data:[{label:s,value:c},{label:m().text("No of profiles"),value:m().number(o)}]}))},ar=(0,ye.Z)((()=>({chartInfoLabel:{fontSize:"13px",lineHeight:"15px",color:"rgba(0, 0, 0, 0.54)",paddingRight:"8px"},chartInfoValue:{fontSize:"13px",lineHeight:"15px",color:"rgba(0, 0, 0, 0.87)"},chartInfoWrapper:{display:"flex",backgroundColor:"rgba(0, 0, 0, 0.05)",margin:"0 12px 12px",padding:"9px 12px 8px"},chartInfoItem:{marginRight:"16px"},clickable:{cursor:"pointer"},title:{marginRight:"50px",fontSize:"16px"},root:{padding:"0 0 0 16px",minHeight:"auto",marginTop:"12px",marginBottom:"12px"}}))),rr=e=>{let{data:t}=e;const l=ar();return n().createElement("div",{className:l.chartInfoWrapper},t.map((e=>{let{label:t,value:a,localizedValue:r}=e;return n().createElement("div",{key:t,className:l.chartInfoItem},n().createElement("span",{className:l.chartInfoLabel},t,": "),a!==r?n().createElement(Ue.Tooltip,{title:r},n().createElement("span",{className:l.chartInfoValue},a)):n().createElement("span",{className:l.chartInfoValue},a))})))},nr=(0,ye.Z)((()=>({labelWrapper:e=>{let{width:t}=e;return{overflow:"hidden",width:`${t}px`,marginTop:"-3px"}},xAxisLabel:{textAlign:"center",whiteSpace:"nowrap",fontSize:"12px","&::first-letter":{textTransform:"capitalize"},"&:after":{top:"0",right:"0",width:"10px",height:"100%",content:'""',position:"absolute",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"}}}))),ir=e=>{let{width:t,height:l,label:a,x:r,y:i}=e;const o=nr({width:t}),c=r-t/2;return n().createElement("foreignObject",{x:c,y:i,width:t,height:l},n().createElement("div",{className:o.labelWrapper},n().createElement(jl.C,{value:a},n().createElement("div",{className:o.xAxisLabel},a))))},or=e=>{const{x:t,y:l,width:a,height:r,payload:i,visibleTicksCount:o}=e,{value:c}=i,s=a/o-4;return n().createElement(ir,{width:s,height:r,label:c,x:t,y:l})},cr=e=>{let{showCategories:t=!1,interval:l,barCategoryGap:a,maxBarSize:r,yTickRenderer:n,tickCount:i}=e;return{barChart:{barCategoryGap:a||"10%"},bar:{dataKey:"value",fill:"#0072CE",minPointSize:3,maxBarSize:r||50},xAxis:{tick:t&&or,tickLine:!1,interval:l||0,dataKey:"label"},yAxis:{axisLine:!1,tickLine:!1,tick:n||{fill:"#000",fontSize:12},width:60,tickFormatter:Ka,tickCount:i||5},cartesianGrid:{stroke:"#000",strokeOpacity:"0.05",vertical:!1},labelForX:{position:"insideBottom",style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"},offset:t?-3:3},labelForY:{angle:270,position:"left",offset:-3,style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"}}}};function sr(){return sr=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},sr.apply(this,arguments)}const pr=e=>{let{isClickable:t}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["isClickable"]);const a=ar(),r=t?a.clickable:void 0;return n().createElement(fe.Ae,sr({},l,{className:r,fill:"#000",opacity:"0.1",pointerEvents:"visibleFill"}))},dr=e=>{const{value:t}=e;return t>0?n().createElement(fe.Ae,e):null};function ur(){return ur=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},ur.apply(this,arguments)}const fr=e=>{let{data:t,config:l,xAxisLabel:a,yAxisLabel:r,barTooltipTitle:i,infoPanelData:o,infoTooltipTitle:c,onItemClick:s,options:p={},state:d,onRefresh:u}=e;const f=ar(),{title:m}=l,{cartesianGrid:h,bar:y,xAxis:g,yAxis:v,labelForX:E,labelForY:b,barChart:x}=cr(p),O=s&&(e=>{let{activePayload:t}=e;return s(t[0].payload.group)}),w=O?f.clickable:void 0,S=d===C.o.LOADED&&o.length>0;return n().createElement(Je,{config:l},n().createElement(ke,{title:m,infoTooltipTitle:c}),S&&n().createElement(rr,{data:o}),n().createElement(Qe,{data:t,loadingState:d,onRefresh:u},(e=>{let{data:t,width:l=0,height:o=0}=e;return n().createElement("div",null,n().createElement(fe.vz,ur({width:l,height:o,data:t,onClick:O},x),n().createElement(fe.q3,h),n().createElement(fe.u,{content:n().createElement(lr,{name:i}),cursor:n().createElement(pr,{isClickable:!!O})}),n().createElement(fe.$Q,ur({},y,{shape:n().createElement(dr,{className:w})})),n().createElement(fe.B2,v,n().createElement(fe.__,ur({},b,{value:r}))),n().createElement(fe.Kc,g,n().createElement(fe.__,ur({},E,{value:a})))))})))},mr=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(za),{chartData:i,infoPanelData:o}=l,c=mt(Wa),s=n().createElement(Te,{title:m().text("Length statistics"),data:[{value:m().text("Measures the string length of values")}],DataRenderer:et});return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Length of values"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Length"),infoTooltipTitle:s,onItemClick:c,state:a,onRefresh:r})};var hr=l(94175);const yr=(0,ye.Z)({icon:{width:"20px",height:"20px",borderRadius:"4px",fontSize:"14px",marginRight:"8px"},text:e=>{let{color:t}=e;return{backgroundColor:t}}}),gr=e=>{let{chartData:t}=e;const{group:l,label:a}=t,r=yr({color:(0,s.kW2)(l)});return n().createElement(n().Fragment,null,n().createElement(hr.Z,{sourceType:l,className:r.icon,classes:{textRoot:r.text}}),a)};function vr(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Er(e,t,l[t])}))}return e}function Er(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const br=e=>{let{config:t}=e;const l=(0,i.useSelector)(v.ZP.selectors.getMetadata),{data:a,state:r,reload:o}=pt((e=>(0,u.pipe)(La("crosswalkAnalysis"),(0,u.applySpec)({chartData:(0,u.pipe)((0,u.prop)("chartData"),Y(e)),infoPanelData:(0,u.pipe)((0,u.prop)("infoPanelData"),(0,u.map)((e=>(0,u.assoc)("value",(0,s.k7L)(e.value,999),e))))})))(l)),{chartData:c}=a,p=mt(Ya),d=n().createElement(Te,{title:m().text("Source system analysis"),data:[{value:m().text("Distribution of source systems contributing to profiles")}],DataRenderer:et}),f=[{id:"label",label:m().text("Source system"),secondLabel:`(${c.length})`,width:.4,sortable:!0,labelRenderer:gr},{id:"value",label:m().text("Profiles"),width:.6,sortable:!0}];return n().createElement(sa,{config:vr({},t),data:c,title:t.title,infoTooltipTitle:d,onItemClick:p,state:r,onRefresh:o,customComparator:xl,columnsOptions:f})},xr=e=>{let{config:t}=e;const l=(0,r.useContext)(R).type,{data:a,state:i,reload:o}=pt((e=>(0,u.pipe)(La("valueDistribution"),ka(e)))(l)),{chartData:c,infoPanelData:s}=a,p=mt(qa(l));return n().createElement(fr,{config:t,data:c,xAxisLabel:m().text("Value"),yAxisLabel:m().text("No. of profiles"),infoPanelData:s,barTooltipTitle:m().text("Value"),onItemClick:p,state:i,onRefresh:o})},Or=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(Fa),{chartData:i,infoPanelData:o}=l,c=mt(Ha);return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Months of the year"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Months of the year"),options:{showCategories:!0,barCategoryGap:"20%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:r})},wr=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(ja),{chartData:i,infoPanelData:o}=l,c=mt(Ua);return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Days of the week"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Days of the week"),options:{showCategories:!0,barCategoryGap:"25%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:r})},Sr=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(Pa),{chartData:i,infoPanelData:o}=l,c=mt(Va);return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Days of the month"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Days of the month"),options:{showCategories:!0,interval:1},onItemClick:c,state:a,onRefresh:r})},Rr=e=>{let{config:t}=e;const l=xa(),{data:a,state:r,reload:i}=pt(Cl),o=mt(Bl),c=n().createElement(Te,{title:m().text("Pattern analysis"),data:[]}),s=[{id:"label",label:m().text("Value"),secondLabel:kl(a),width:.4,cellClassName:l.monoFontCell},{id:"value",label:m().text("Count"),width:.6}];return n().createElement(sa,{config:t,data:a,title:t.title,infoTooltipTitle:c,onItemClick:o,state:r,onRefresh:i,columnsOptions:s})};function Tr(){return Tr=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},Tr.apply(this,arguments)}const Nr=e=>{let{xAxisLabel:t,yAxisLabel:l,data:a,getTooltip:r,getBarOpacity:i,barSelectHandler:o,width:c,height:p,showTopLabel:d=!1,options:f={},onItemClick:m,getBarColor:h,dataReltioId:y}=e;const g=ar(),{cartesianGrid:v,xAxis:E,yAxis:b,labelForX:x,labelForY:O,barChart:w,bar:S}=cr(f),R=(0,u.curry)(((e,t)=>m&&m(e,t.group))),T=m?g.clickable:void 0;return n().createElement("div",{"data-reltio-id":y},n().createElement(fe.vz,Tr({width:c,height:p,data:a},w,{margin:{top:15}}),n().createElement(fe.q3,v),n().createElement(fe.u,{content:r,cursor:null}),(e=>{const t=(0,u.pipe)(u.mergeAll,(0,u.omit)(["label","group"]),u.keys)(e),l=(0,u.curry)(((e,l)=>{let{x:a,y:r,width:i,value:o}=l;return d&&e===t.length-1?n().createElement("text",{x:a+i/2,textAnchor:"middle",y:r-5,fontSize:"12px"},(0,s.k7L)(o,999)):null}));return t.map(((e,t)=>n().createElement(fe.$Q,{stackId:"all",dataKey:e,opacity:i?i(e):1,fill:h(e),onMouseOver:o(e),onMouseLeave:o(null),key:e,label:l(t),maxBarSize:S.maxBarSize,onClick:R(e),className:T})))})(a),n().createElement(fe.B2,b,n().createElement(fe.__,Tr({},O,{value:l}))),n().createElement(fe.Kc,E,n().createElement(fe.__,Tr({},x,{value:t})))))};function Cr(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Ar(e,t,l[t])}))}return e}function Ar(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const _r={background:"rgba(0, 0, 0, 0.38)",bottom:0,content:'""',height:"3px",left:0,position:"absolute",width:"1px"},Ir=(0,ye.Z)({icon:e=>{let{color:t}=e;return{backgroundColor:t,flexShrink:0,fontSize:"14px",height:"12px",margin:" 0 8px 0 16px",width:"12px"}}}),Dr=(0,ye.Z)((e=>({headCell:{"&>div":{display:"flex",padding:"0 10px 0 0",justifyContent:e=>e?"flex-end":"flex-start"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"47px",overflow:"hidden",whiteSpace:"nowrap",marginLeft:e=>e?"16px":0,"&::after":{content:'""',position:"absolute",right:0,top:0,width:"25px",height:"100%",background:e=>e?"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)":"transparent",pointerEvents:"none"}},labelPercantageWrapper:{display:"flex",flexGrow:1,paddingLeft:"16px"},labelWrapper:{minWidth:"90px",position:"relative","& div":{textAlign:"right"}},percentLabel:{"&:first-child":{flexGrow:1},color:e.palette.text.secondary,fontSize:"12px"},percentsWrapper:{"&:after":Cr({},_r,{left:"initial",right:0}),"&:before":_r,alignItems:"flex-end",display:"flex",lineHeight:"24px",marginLeft:"32px",position:"relative",width:"100%"}}))),Mr=(0,ye.Z)((e=>({cellValue:{alignItems:"center",color:e.palette.text.primary,display:"flex",fontSize:"13px",fontWeight:"normal",height:"100%",lineHeight:"15px",overflow:"hidden",padding:"0 10px 0 0",whiteSpace:"pre",justifyContent:e=>e?"flex-start":"flex-end","&::after":{content:'""',position:"absolute",right:0,top:0,width:"25px",height:"100%",background:e=>e?"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)":"transparent",pointerEvents:"none"}},tooltip:{padding:0}}))),Lr=(0,ye.Z)((e=>({bar:{borderRadius:"0 !important",minHeight:"16px !important",opacity:1,position:"initial !important"},numberCellContainer:{alignItems:"center",display:"flex",flexDirection:"row",height:"100%",padding:"0 10px 0 16px"},numberCellValue:{color:e.palette.text.primary,flexShrink:0,fontSize:"13px",fontWeight:"normal",lineHeight:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"90px",textAlign:"right"},colorBarContainer:{"&>span":{display:"block"},"&>span>div":{opacity:1,zIndex:1},boxSizing:"border-box",height:"100%",marginLeft:"32px",padding:"6px 0 6px",position:"relative",width:"100%"}}))),Br=(0,ye.Z)((e=>({cellBorder:{borderLeft:"none",borderRight:"none!important"},consolidationRateWrapper:{"& .hoveredRow div::after":{background:"none"},"&>div:nth-of-type(2)":{marginBottom:"13px"},display:"flex"},ratePercent:{borderLeft:"1px solid rgba(0, 0, 0, 0.12)",fontWeight:700,lineHeight:"24px",marginLeft:"16px",overflow:"hidden",paddingLeft:"16px",textOverflow:"ellipsis"},tableContainer:{"& .hoveredRow div::after":{background:"none"}},tableWithSelectedRow:{"& .Table__grid__cell_wrapper_EWDDh":{opacity:.12},"& .Table__grid__cell_wrapper_EWDDh.hoveredRow":{opacity:1}},tooltipWrapper:Cr({},e.tooltip,{padding:"4px 8px"})}))),kr=(0,ye.Z)({tooltip:{padding:"0!important"}});function zr(){return zr=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},zr.apply(this,arguments)}function Fr(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){jr(e,t,l[t])}))}return e}function jr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Pr=e=>{let{className:t,headCellData:l,headIndex:a}=e,r=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","headCellData","headIndex"]);const i=Dr(0===a),[o,c]=l.label.split("|"),p=!!c,u=n().createElement(jl.C,{value:o},n().createElement("div",{className:i.headLabel},o));return n().createElement("div",{className:d()(i.headCell,t)},n().createElement(Pl.default,zr({},r,{headCellData:Fr({},l,{label:p?n().createElement("div",{className:i.labelPercantageWrapper},n().createElement("div",{className:i.labelWrapper},u),n().createElement("div",{className:i.percentsWrapper},n().createElement("span",{className:i.percentLabel},"0"),n().createElement("span",{className:i.percentLabel},(0,s.k7L)(Number(c),999)))):u})})))},Ur=(0,Kl.Z)(((e,t)=>{let{onItemClick:l,tooltipData:a}=e,{rowValue:{group:r,clickData:n}}=t;return{onClick:l&&(()=>{l(n||r)}),tooltipData:a}}))((e=>{let{value:t="",columnData:l,tooltipData:a,columnIndex:r,rowValue:i,onClick:o}=e;const c=0===r,{labelRenderer:p}=l,f=Mr(c),m=(0,Xl.d)(o),h=kr(),y=!!p,g=(0,u.is)(Number,t)?(0,s.k7L)(t,999):s.P6Y.strings.removeLineBreaks(t);return n().createElement(Ue.Tooltip,{title:a,classes:{tooltip:h.tooltip}},n().createElement("div",{className:d()(f.cellValue,m),onClick:o},y?n().createElement(p,{chartData:i}):g))})),Hr=(0,Kl.Z)(((e,t)=>{let{onItemClick:l,tooltipData:a}=e,{rowValue:{group:r,clickData:n}}=t;return{onClick:l&&(()=>{l(n||r)}),tooltipData:a}}))((e=>{let{value:t,columnData:{maxValue:l},tooltipData:a,onClick:r}=e;const i=Lr(),o=(0,Xl.d)(r),c=0===t?"0":`${(0,s.k7L)(t,999)}`,p=kr();return n().createElement(Ue.Tooltip,{title:a,classes:p},n().createElement("div",{className:d()(i.numberCellContainer,o),onClick:r},n().createElement(Ue.Typography,{className:i.numberCellValue},c),!(0,u.isNil)(l)&&n().createElement("div",{className:i.colorBarContainer},n().createElement(ea.Z,{width:t,maxWidth:l,className:i.bar}))))})),Vr=e=>{let{chartData:t}=e;const{group:l,label:a}=t,r=Ir({color:(0,s.kW2)(l)});return n().createElement(n().Fragment,null,n().createElement("div",{className:r.icon}),a)},Wr=e=>{let{data:t}=e;const l=Br(),{totalCrosswalks:a,totalEntities:r}=t.consolidationRate,i=t.consolidationRate.totalCrosswalksBySource.ReltioCleanser||0,o=(100*(1-r/(a-i))).toFixed(1),c="0"==o.split(".")[1]?o.split(".")[0]:m().number(Number(o)),p=n().createElement(n().Fragment,null,n().createElement("span",{className:l.ratePercent},c,"% "),n().createElement("span",null,`(${(0,s.k7L)(a-i,999)} ${m().text("to")} ${(0,s.k7L)(r,999)} ${m().text("profiles")})`));return n().createElement(jl.C,{value:p},n().createElement(Ue.Typography,null,p))},Yr=e=>{const{x:t,y:l,payload:{value:a},index:r}=e;return r%2==0?n().createElement("text",{fill:"#000",x:t,y:l,textAnchor:"middle",fontSize:"12px"},Ka(Number(a))):null},Gr=e=>"Reltio profiles"===e?"#0072CE":(0,s.kW2)(e),Zr=n().createElement(Te,{title:m().text("Consolidation rate"),data:[{value:m().text("Consolidation rate is the measurement of the total number source profiles versus the number of Reltio profiles after removing duplicates.")},{value:m().text("Consolidation rate helps to understand the data reduction achieved by matching.")}]}),$r=e=>{let{config:t}=e;const l=(0,i.useSelector)(v.ZP.selectors.getMetadata),a=Br(),{title:o}=t,[c,p]=(0,r.useState)(),{data:f,state:h,reload:y}=pt(_a),{data:g}=pt((e=>(0,u.pipe)((0,u.pathOr)({},["consolidationRate"]),(e=>Object.keys((null==e?void 0:e.totalCrosswalksBySource)||[]).reduce(((t,l)=>"ReltioCleanser"!==l?t.concat({label:l,group:l,sourceProfiles:e.totalCrosswalksBySource[l],value:e.totalEntitiesBySource[l]}):t),[])),Y(e),(0,u.sort)((0,u.descend)((0,u.prop)("value")))))(l)),{data:E}=(0,r.useContext)(S),b=mt(Qa),x=(0,r.useMemo)((()=>{const e=(0,u.pick)(["group","label"],f[0]);for(let t=g.length-1;t>=0;t--)e[g[t].group]=f[0][g[t].group];return[e,f[1]]}),[g,f]),O=(0,r.useMemo)((()=>Math.max(...(0,u.pluck)("value",g))),[g]),w=(0,r.useCallback)((e=>{let{active:t}=e;if(!c||!t)return"";let r=[];return r="Reltio profiles"===(null==c?void 0:c.key)?[{label:m().text("Reltio profiles"),value:m().number(E.consolidationRate.totalEntities)}]:[{label:m().text("Source system"),value:(0,s.tH7)(l,c.key)},{label:m().text("Source profiles"),value:m().number(E.consolidationRate.totalCrosswalksBySource[c.key])},{label:m().text("Reltio profiles"),value:m().number(E.consolidationRate.totalEntitiesBySource[c.key])}],n().createElement("div",{className:a.tooltipWrapper},n().createElement(Te,{data:r}))}),[c,E,l]),R=(0,r.useCallback)((e=>()=>{if(e){const t=g.findIndex((0,u.propEq)("group",e));p({rowIndex:t,key:e})}else p(null)}),[p,g]),T=(0,r.useCallback)((e=>{if((0,u.isNil)(e))p(null);else{var t;const l=null===(t=g[e])||void 0===t?void 0:t.group;p({rowIndex:e,key:l})}}),[p,g]),N=e=>{if(!(0,u.isNil)(e)){var t;const l=null===(t=g[e])||void 0===t?void 0:t.group;b(l)}},C=(0,r.useMemo)((()=>({onItemClick:N,tooltipData:w({active:!0})})),[N,w]);return n().createElement(Je,{config:t},n().createElement(ke,{title:o,infoTooltipTitle:Zr},E.consolidationRate&&n().createElement(Wr,{data:E})),n().createElement(Qe,{data:g,loadingState:h,onRefresh:y},(e=>{let{height:t=0,width:l=0}=e;const r=[{id:"label",label:`${m().text("Source system")} (${m().number(g.length)})`,resizable:!1,labelRenderer:Vr,headCellRenderer:Pr,rowCellValueRenderer:Ur,initialWidth:.26*l},{id:"sourceProfiles",resizable:!1,label:m().text("Source profiles"),headCellRenderer:Pr,rowCellValueRenderer:Ur,initialWidth:.12*l},{id:"value",resizable:!1,label:`${m().text("Reltio profiles")}|${O}`,headCellRenderer:Pr,rowCellValueRenderer:Hr,initialWidth:.62*l,maxValue:O}];return n().createElement("div",{className:d()(a.consolidationRateWrapper,{[a.tableWithSelectedRow]:!(0,u.isNil)(null==c?void 0:c.rowIndex)&&-1!==(null==c?void 0:c.rowIndex)})},n().createElement(Nr,{yAxisLabel:m().text("No. of profiles"),data:x,getTooltip:w,getBarOpacity:Xa(c),getBarColor:Gr,barSelectHandler:R,width:256,height:t,options:{showCategories:!0,maxBarSize:40,yTickRenderer:Yr,tickCount:8},onItemClick:b,dataReltioId:"reltio-dq-dashboard-consolidation-rate-barchart",showTopLabel:!0}),n().createElement(Fl.Z,{columnsData:r,rowsData:g,headRowHeight:48,getRowCellHeight:()=>28,classes:{tableContainer:d()(a.tableContainer,{[a.tableWithSelectedRow]:!(0,u.isNil)(null==c?void 0:c.rowIndex)&&-1!==(null==c?void 0:c.rowIndex)}),cellBorder:a.cellBorder},defaultColumnWidth:50,defaultColumnMinWidth:50,context:C,width:l-256,height:t,hoverRowIndex:null==c?void 0:c.rowIndex,onRowClick:N,onRowHover:T,hoverStateEnabled:!0}))})))};function qr(){return qr=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},qr.apply(this,arguments)}class Qr{}Qr.getComponent=e=>{let{type:t,config:l,isFullscreen:a,onToggleFullscreen:r}=e;const i={config:l,isFullscreen:a,onToggleFullscreen:r};switch(t){case b.FILL_RATE:return n().createElement(ht,i);case b.UNIQUENESS:return n().createElement(Ot,i);case b.SUMMARY:return n().createElement(dl,i);case b.DATA_VALIDATION:return n().createElement(ba,i);case b.FREQUENCY:return n().createElement(Oa,i);case b.LENGTH_STATISTIC:return n().createElement(mr,i);case b.CROSSWALK_ANALYSIS:return n().createElement(br,i);case b.VALUE_DISTRIBUTION:return n().createElement(xr,i);case b.MONTH_DISTRIBUTION:return n().createElement(Or,i);case b.DAY_OF_WEEK_DISTRIBUTION:return n().createElement(wr,i);case b.DAY_OF_MONTH_DISTRIBUTION:return n().createElement(Sr,i);case b.PATTERN:return n().createElement(Rr,i);case b.CONSOLIDATION_RATE:return n().createElement($r,i);default:return n().createElement(gl,qr({},i,{errorData:{message:m().text("Chart isn't supported for this data type")}}))}};const Xr=Qr,Kr=e=>{let{layoutItemConfig:t,views:l,onToggleFullscreen:a,isFullscreen:r,className:i,children:o,style:c}=e;const s=l.find((e=>{let{id:l}=e;return t.i===l}));if(!s)return null;const{type:p}=s;return n().createElement("div",{style:c,className:i},Xr.getComponent({type:p,config:s,onToggleFullscreen:a,isFullscreen:r}),o)},Jr=(0,ye.Z)({root:{overflow:"auto",backgroundColor:"#F9F9F9",height:"100%",flexGrow:1,padding:"4px",boxSizing:"border-box"}}),en=(0,u.map)((0,u.assoc)("isStatic",!0)),tn={cols:4,rowHeight:10,margin:[12,12]},ln=(0,r.memo)((e=>{let{views:t,layout:l,layoutOptions:a=tn}=e;const i=Jr(),o=(0,r.useMemo)((()=>en(l)),[l]);return n().createElement("div",{className:i.root},n().createElement(ue.Z,{LayoutItem:Kr,views:t,layout:o,layoutOptions:a}))})),an=e=>{let{dataLevel:t,views:l,layout:a,isSliding:r=!1}=e;return(t===s.yn8.ATTRIBUTE_TYPE||r)&&n().createElement(de.Provider,{value:s.yn8.ATTRIBUTE_TYPE},n().createElement(ln,{views:l,layout:a}))};var rn=l(50166),nn=l(83543),on=l(98989),cn=l(31269),sn=l(22385);const pn=(0,ye.Z)({root:{paddingRight:"12px",paddingLeft:"20px",display:"flex",flexDirection:"row-reverse"},detailIcon:{marginLeft:"-5px",borderRadius:"50%",padding:"2px",width:"26px",height:"26px",boxSizing:"border-box"},activeIcon:{background:"white"}}),dn=e=>{let{details:t,classes:l,fillRateData:a,fillRateState:r}=e;const i=pn(),o=(0,u.prop)("iconRoot",l);return n().createElement("div",{className:i.root},Object.entries(t||{}).reverse().map((e=>{let[t,l]=e,c=kt.NORMAL;if(t===q.REQUIRED){const e=r===C.o.LOADING,t=0===(null==(p=a)||null===(f=p.find((0,u.propEq)("group",s.s9T.MISSING)))||void 0===f?void 0:f.value);e&&(c=kt.LOADING),e||t||(c=kt.BAD_QUALITY)}var p,f;return n().createElement("div",{key:t,className:d()(l&&(o||i.activeIcon),i.detailIcon)},l&&n().createElement(Ue.Tooltip,{title:oe(t)},n().createElement("span",null,n().createElement(zt,{detailType:t,variant:c,size:Bt.SMALL}))))})))},un=(0,ye.Z)({bar:{width:"100%",display:"flex",flexWrap:"nowrap"},barPart:{height:"8px",flexGrow:1},fillRateSquare:{height:"8px",width:"8px",display:"inline-block",marginRight:"5px",verticalAlign:"middle"},inactiveBarPart:{background:"#EFEFEF"}});function fn(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){mn(e,t,l[t])}))}return e}function mn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const hn=(0,he.Z)((e=>{let{data:t}=e;const l=un(),a=lt(t),r=t.map(((e,t)=>{let{label:r,percent:i,value:o}=e;return{label:n().createElement("span",null,n().createElement("div",{className:l.fillRateSquare,style:{background:a[t]}}),r),value:`${m().number(o)} ${z(i)}`}}));return F(t)?n().createElement("div",{className:l.bar},n().createElement("div",{className:d()(l.barPart,l.inactiveBarPart)})):n().createElement(Ue.Tooltip,{title:n().createElement(Te,{title:m().text("Fill rate"),data:r})},n().createElement("div",{className:l.bar},t.map(((e,t)=>n().createElement("div",{key:e.group,className:l.barPart,style:fn({},W(e),{background:a[t]})})))))})),yn="rgba(0, 114, 206, 0.12)",gn=(0,ye.Z)({linesWrapper:{position:"absolute",left:"9px",top:0,bottom:0},line:{position:"absolute",width:"2px",background:yn,bottom:0,zIndex:2,left:0,top:0},horizontalLine:{"&:after":{content:'""',position:"absolute",left:"2px",top:"15px",width:"3px",height:"2px",background:yn}},parentLine:{left:"20px",top:"34px"},lastLevel:{bottom:"31px"}}),vn=e=>{let{level:t,margin:l,hasChildren:a,isLastLevelItem:r,isCollapsed:i}=e;const o=gn(),c=!i&&(t>0||a);return n().createElement("div",{className:o.linesWrapper},((e,t)=>t>0&&e?(0,u.range)(1,t+1):t>1?(0,u.range)(1,t):[])(a,t).map((e=>n().createElement(cn.Z,{key:e,margin:l,level:e,className:o.line}))),c&&n().createElement(cn.Z,{margin:l,level:t,className:d()(o.line,!a&&t>0&&o.horizontalLine,a&&o.parentLine,r&&o.lastLevel)}))},En=(0,ye.Z)({listItem:{padding:"0 0 0 15px","&:after":{content:'""',left:0,right:0,position:"absolute",bottom:0,height:"1px",background:"rgba(0, 0, 0, 0.05)"}},selectedItem:{background:"#F0F7FC !important"},pointerCursor:{cursor:"pointer"},content:{display:"flex",alignItems:"center",width:"100%",height:"100%",position:"relative"},attribute:{paddingLeft:"9px",boxSizing:"border-box",width:"100%",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",height:"100%",position:"relative",fontSize:"13px"},marginWrapper:{display:"inline-block",height:"100%",position:"relative",width:"100%"},attributeType:{position:"absolute",left:0,top:"8px"},fillRate:{position:"absolute",bottom:"8px",left:0,right:0,zIndex:1},attributeLabel:{padding:"8px 0 0 15px",position:"relative","&:after":{content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"}},selectedAttributeLabel:{"&:after":{background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #F0F7FC 100%)"}},parentAttributeLabel:{padding:"14px 0 0 13px"},detailsIconSelected:{background:"#F0F7FC"},detailsIcon:{background:"white"},collapseIcon:{marginRight:"6px"},iconLoader:{width:"22px",height:"22px",border:"2px solid white",background:"rgba(196, 196, 196, 0.4)",borderRadius:"50%"},selectedIconLoader:{border:"2px solid #F0F7FC"},iconsLoaderWrapper:{paddingRight:"23px",paddingLeft:"28px",display:"flex"},iconLoaderWrapper:{width:"24px",height:"24px",backgroundColor:"white",borderRadius:"50%",marginRight:"-3px"},fillRateLineLoader:{height:"8px",width:"100%",background:"rgba(196, 196, 196, 0.4)",left:0,right:0,bottom:"8px",zIndex:1,position:"absolute"}}),bn=e=>{let{detailedAttributeType:t,fillRateData:l,fillRateState:a,style:r,level:i,selected:o=!1,onClick:c,onCollapse:s=zl.ZT,isCollapsed:p=!1,isLastLevelItem:f=!1,isLoading:m}=e;const h=En(),y=!!t.children,g=!!l,v=$(t),E=p?on.Z:nn.Z,b=o?h.detailsIconSelected:h.detailsIcon;return n().createElement(Ue.ListItem,{style:r,selected:o,classes:{selected:h.selectedItem},onClick:y?void 0:()=>{c(t)},component:"div",className:d()(h.listItem,!y&&h.pointerCursor)},n().createElement("div",{className:h.content},!y&&n().createElement("div",{className:h.attributeType},n().createElement(ol,{type:t.type})),n().createElement("div",{className:h.attribute},n().createElement(vn,{level:i,margin:20,hasChildren:y,isLastLevelItem:f,isCollapsed:p}),n().createElement(cn.Z,{margin:20,level:i,className:h.marginWrapper},n().createElement(jl.C,{value:v},n().createElement("div",{className:d()(h.attributeLabel,o&&h.selectedAttributeLabel,y&&h.parentAttributeLabel)},y&&n().createElement(sn.Z,{size:"XXS",icon:E,onClick:s,className:h.collapseIcon}),v))),!m&&g&&!y&&n().createElement("div",{className:h.fillRate},n().createElement(hn,{data:l})),m&&!y&&n().createElement("div",{className:h.fillRateLineLoader})),m?n().createElement("div",{className:h.iconsLoaderWrapper},(0,u.times)((e=>n().createElement("div",{className:h.iconLoaderWrapper,key:`unloadedIcon-${e}`},n().createElement("div",{className:d()(h.iconLoader,{[h.selectedIconLoader]:o})}))),5)):n().createElement(dn,{details:t.details,classes:{iconRoot:b},fillRateData:l,fillRateState:a})))},xn=(0,u.propOr)({},"attributeItem"),On=(0,u.pipe)((0,u.find)((0,u.pipe)(xn,(0,u.either)(s.YkM,s.Or$),u.not)),xn),wn=e=>(0,u.pipe)(xn,(0,u.propEq)("fieldName",e)),Sn=e=>(0,u.filter)((0,u.propEq)("group",e));let Rn;!function(e){e.SHOW_EMPTY="showEmpty"}(Rn||(Rn={}));const Tn=(0,u.curry)(((e,t,l)=>{const a=(0,u.head)(Sn("emptiness")(e));return(null==a?void 0:a.value)===Rn.SHOW_EMPTY?l:l.filter((0,u.pipe)(xn,ee(t)))})),Nn=e=>{const t=Object.values(q);return e.filter((0,u.pipe)((0,u.prop)("value"),(0,u.includes)(u.__,t)))},Cn=(0,u.pipe)(xn,(0,u.prop)("fieldName")),An=(0,u.curry)(((e,t)=>{const l=(0,u.pipe)(Sn("details"),Nn)(e),a=(e=>(0,u.pipe)((0,u.filter)((0,u.pipe)(xn,(0,u.both)((0,u.prop)("children"),K(e)))),(0,u.map)(Cn)))(l)(t);return t.filter((e=>{let{attributeItem:t}=e;return a.some((e=>t.fieldName.startsWith(e)))||J(l,t)}))})),_n=(0,u.pipe)((0,u.map)(xn),(0,u.pluck)("fieldName"),u.identity);function In(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var Dn=l(36444),Mn=l(15115);const Ln=(0,ye.Z)((e=>({searchWrapper:{padding:"8px 0px 8px 16px",alignItems:"center",display:"flex",flexGrow:1,justifyContent:"flex-end",marginLeft:"-105px"},filterByDetails:{width:"32px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"9px"},searchInput:{borderRadius:"4px",width:"202px",minHeight:"32px!important",justifyContent:"flex-end",alignItems:"center",padding:"0 2px",boxSizing:"border-box","& input":{fontSize:"13px"},"& button":{padding:"2px"}},filledInput:{"& button:last-child":{backgroundColor:"rgba(0, 0, 0, 0.0509804)"}},menu:{width:"300px",paddingTop:"8px"},filterIcon:{color:e.palette.text.secondary},filterIconFilterApplied:{color:"#0072CE"},filterIconWrapper:{width:"32px",height:"32px",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",position:"relative","&:after":{position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"4px",background:"rgba(0, 0, 0, 0.04)"},"&:hover":{"&:after":{content:'""'}}},filterIconWrapperActive:{background:"rgba(0, 0, 0, 0.04)","&:after":{content:'""',background:"rgba(0, 0, 0, 0.04)"}},filterIconWrapperSelected:{background:"rgba(0, 114, 206, 0.12)"},dropdownMenuTitle:{lineHeight:"48px",height:"48px",paddingLeft:"16px"},option:{paddingLeft:"5px",fontSize:"13px",height:"28px",lineHeight:"16px",letterSpacing:"normal",paddingRight:"19px",filter:e=>e?"grayscale(0)":"grayscale(1)",opacity:e=>e?1:.5},typeIconWrapper:{width:"28px",marginLeft:"1px","& svg":{width:"20px",height:"20px"}},valueContainer:{marginLeft:0},counter:{marginLeft:"5px"},optionLabel:{flexGrow:1},groupLabel:{textTransform:"uppercase",margin:"15px 16px 5px",letterSpacing:"0.1px",display:"block"},actionsContainer:{display:"flex",padding:"12px 5px 8px 12px"},clearAllButton:{marginRight:"auto"}}))),Bn=e=>{let{isSelected:t,data:l,onChange:a}=e;const{count:r,label:i,value:o}=l,c=!(0,u.isNil)(r),p=Ln(!c||r>0);return n().createElement(Ue.MenuItem,{className:p.option,component:"div",onClick:()=>a(l),"data-reltio-id":`reltio-dq-dashboard-option-${l.value}`},n().createElement(Ue.Checkbox,{color:"primary",checked:t}),n().createElement("span",{className:p.typeIconWrapper},n().createElement(zt,{detailType:o})),n().createElement(jl.C,{value:i},n().createElement("div",{className:p.optionLabel},i)),c&&n().createElement("span",{className:p.counter},(0,s.k7L)(r,999)))},kn=(0,u.curry)(((e,t)=>!!t.find((0,u.propEq)("value",e.value)))),zn=(0,u.curry)(((e,t)=>{const l=t.findIndex((0,u.propEq)("value",e.value));return-1!==l?(0,u.remove)(l,1,t):t})),Fn=e=>{let{defaultFilterOptions:t=[],filterOptions:l,defaultFilterText:a,onChangeFilterText:i,onChangeFilterOptions:o}=e;const c=Ln(),[s,p]=(0,r.useState)(null),[f,h]=(0,r.useState)([]),[y,g]=(0,r.useState)(a||null);(0,r.useEffect)((()=>{h(((e,t)=>{const l=(0,u.pipe)((0,u.pluck)("options"),u.flatten)(t);return e.filter((e=>{let{value:t}=e;return l.find((0,u.propEq)("value",t))}))})(t,l))}),[t,l]);const v=()=>p(null),E=e=>{h((0,u.ifElse)(kn(e),zn(e),(0,u.concat)([e])))},b=!!f.length,x=!!s,O=d()(c.filterIconWrapper,{[c.filterIconWrapperActive]:x,[c.filterIconWrapperSelected]:b}),w=b?c.filterIconFilterApplied:c.filterIcon;return n().createElement("div",{className:c.searchWrapper},n().createElement("div",{"data-reltio-id":"reltio-dq-dashboard-attributes-search-input"},n().createElement(Mn.Z,{autofocus:!0,onChange:e=>{g(e),i(e||"")},initialValue:a||null,height:40,placeholder:m().text("Search attribute name"),classes:{root:d()(c.searchInput,{[c.filledInput]:!!y})}})),n().createElement("div",{className:c.filterByDetails,"data-reltio-id":"reltio-dq-dashboard-attributes-filter"},n().createElement("div",{className:O,onClick:e=>p(e.currentTarget)},n().createElement(Dn.Z,{className:w})),n().createElement(Ue.Popover,{open:!!s,anchorEl:s,onClose:()=>{h((0,u.always)(t)),v()},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{"data-reltio-id":"reltio-dq-dashboard-attributes-filter-popup"}},n().createElement("div",{className:c.menu},n().createElement(Ue.Typography,{variant:"h6",className:c.dropdownMenuTitle},m().text("Filter")),n().createElement("div",{className:c.valueContainer},l.map((e=>{let{label:t,options:l}=e;return n().createElement("div",{key:t},t&&n().createElement(Ue.Typography,{variant:"caption",className:c.groupLabel},t),l.map((e=>{const t=kn(e,f);return n().createElement(Bn,{key:e.label,data:e,isSelected:t,onChange:E})})))})))),n().createElement("div",{className:c.actionsContainer},n().createElement(Ue.Button,{onClick:()=>{h([])},className:c.clearAllButton,disabled:!b,"data-reltio-id":"reltio-dq-dashboard-filter-clear-all-button"},m().text("Clear all")),n().createElement(Ue.Button,{onClick:()=>{h(t),v()},"data-reltio-id":"reltio-dq-dashboard-filter-cancel-button"},m().text("Cancel")),n().createElement(Ue.Button,{color:"primary",onClick:()=>{o(f),v()},"data-reltio-id":"reltio-dq-dashboard-filter-apply-button"},m().text("Apply"))))))},jn=(0,ye.Z)((e=>({root:{width:"360px",minWidth:"360px",maxWidth:"360px",display:"flex",flexDirection:"column",background:"#fff",zIndex:1,margin:"16px 0 8px",borderRadius:"4px",boxShadow:"0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.2)"},title:{height:"24px",margin:"16px",display:"flex",alignItems:"center",fontSize:"16px",lineHeight:"24px",color:e.palette.text.primary},itemCount:{color:e.palette.text.primary,borderLeft:"1px solid rgba(0, 0, 0, 0.12)",marginLeft:"16px",paddingLeft:"16px"},listWrapper:{flexGrow:1,overflow:"hidden",position:"relative"},loadingAnimation:{"&:before":{position:"absolute",top:0,right:0,bottom:0,left:"50%",zIndex:1,width:"500%",marginLeft:"-250%",background:"linear-gradient(to right, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 54%) 50% 50%;",animation:"$loaderAnimation 0.8s linear infinite",content:'""',pointerEvents:"none"}},columnsTitle:{height:"48px",display:"grid",gridGap:"32px",gridTemplateColumns:"308px 108px",alignItems:"center",padding:"0 16px",background:"rgba(0, 0, 0, 0.06)",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",fontWeight:500,fontSize:"12px",lineHeight:"16px",color:e.palette.text.secondary},loaderWrapper:{position:"absolute",top:"0",left:"0",width:"100%",height:"4px",zIndex:1},"@keyframes loaderAnimation":{"0%":{transform:"translate(-30%, 0)"},"100%":{transform:"translate(30%, 0)"}}}))),Pn=e=>{var t,l;let{entityType:a,onAttributesListChange:o,defaultFieldName:c,defaultFilterOptions:p,defaultFilterText:f,disableAttributeSelection:h}=e;const y=jn(),E=(0,r.useRef)(),b=(0,r.useRef)(),[x,O]=(0,r.useState)(f||""),[w,R]=(0,r.useState)([]),[N,_]=(0,r.useState)(p||[]),[I,D]=(0,r.useState)({fieldName:c}),[M,L]=(0,r.useState)({}),{data:B}=(0,r.useContext)(S),k=null===(t=(0,r.useContext)(T))||void 0===t||null===(l=t.dvfs)||void 0===l?void 0:l.state,z=((e,t)=>{var l,a;const n=(0,i.useSelector)(v.ZP.selectors.getMetadata),o=(0,r.useMemo)((()=>(e=>(0,u.pipe)(s.WN0,ae(e),ce))(t)(n,e)),[n,e,t]),[c,p]=(0,r.useState)([]),d=e.uri,f=(0,r.useMemo)((()=>(0,s.qhs)(n,d)),[n,d]),m=null===(l=(0,r.useContext)(T))||void 0===l||null===(a=l.dvfs)||void 0===a?void 0:a.data;return(0,r.useEffect)((()=>{p([]),m&&p(o.map((0,u.evolve)({attributeItem:e=>function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){In(e,t,l[t])}))}return e}({},e,{details:ie({attrTypeItem:e,dvf:m,matchAttributes:f})},e.children&&{children:e.children.map((t=>(t.details=ie({attrTypeItem:t,dvf:m,matchAttributes:f}),t.details.reference=e.isAttributeReference,t)))})})))}),[o,f,m]),c})(a,x),F=_n(z),j=(0,r.useMemo)((()=>F),[F.toString()]),{data:P,state:U}=((e,t)=>{const[l,a]=(0,r.useState)(C.o.INIT),[n,i]=(0,r.useState)({}),o=(0,A._)(),c=e=>{console.error(e),a(C.o.ERROR),i({})},p=(0,r.useCallback)((()=>{if(t.length)return a(C.o.LOADING),i({}),o((0,s.TTx)({entityTypeUri:e,attributes:t,dataLevel:s.yn8.ATTRIBUTE_TYPE,metrics:[s.N0y.FILL_RATE]})).then(nt).then((e=>{i(e),a(C.o.LOADED)})).catch(c)}),[o,a,i,t]),d=(0,r.useCallback)((()=>{try{p()}catch(e){c(e)}}),[p]);return(0,r.useEffect)((()=>{d()}),[d]),{data:n,state:l,reload:d}})(a.uri,j);(0,r.useEffect)((()=>L(P)),[P]),(0,r.useEffect)((()=>{const e=(null==B?void 0:B.fillRate)&&rt(null==B?void 0:B.fillRate),t=M[I.fieldName];L((l=>!e||(0,u.equals)(t,e)?l:(0,u.assoc)(I.fieldName,e,l)))}),[null==B?void 0:B.fillRate]);const H=U===C.o.LOADING||k===C.o.LOADING||U===C.o.INIT||k===C.o.INIT,{filteredItems:V,filterOptions:W}=(0,r.useMemo)((()=>{const e=U===C.o.INIT||U===C.o.LOADING?z:Tn(N,M,z),t=(e=>{const t=Object.values(q).map((e=>({value:e,label:oe(e),group:"details"}))).map((t=>(0,u.assoc)("count",((e,t)=>e.filter((e=>K([t],e.attributeItem))).length)(e,t),t)));return{label:m().text("Attribute properties"),options:t}})(e);return{filteredItems:An(N,e),filterOptions:[{label:"",options:[{label:m().text("Show attributes with no data"),value:Rn.SHOW_EMPTY,group:"emptiness"}]},t]}}),[z,N,M,U]),Y=(0,r.useMemo)((()=>((e,t)=>e.filter((e=>{let{attributeItem:l}=e;return!t.some((e=>l.fieldName.startsWith(e)&&l.fieldName!==e))})))(V,w)),[V,w]),G=V.length,Z=e=>{o({selectedDetailedAttributeType:e,filterText:x,filterOptions:N}),D({fieldName:e.fieldName})},$=()=>{const e=((e,t)=>(0,u.pipe)((0,u.find)(wn(t)),(0,u.propOr)(null,"attributeItem"))(e))(V,I.fieldName)||On(V);return(0,u.isEmpty)(e)||h?null:e};(0,r.useEffect)((()=>{var e,t,l;if(h)return void(null===(l=E.current)||void 0===l||l.scrollTo(0));if(V.length){const e=$();D({fieldName:(null==e?void 0:e.fieldName)||I.fieldName})}const a=((e,t)=>(0,u.findIndex)(wn(t))(e))(V,I.fieldName);a>-1?null===(e=E.current)||void 0===e||e.scrollToItem(a,"center"):null===(t=E.current)||void 0===t||t.scrollTo(0)}),[V]),(0,r.useEffect)((()=>{const e=$();o({selectedDetailedAttributeType:e,filterText:x,filterOptions:N})}),[x,N,I]),(0,r.useEffect)((()=>{D((e=>{let{fieldName:t}=e;return h?{fieldName:null}:{fieldName:t}}))}),[h]);const Q=e=>{let{scrollOffset:t}=e;if(b.current){var l,a;const e=null===(l=b.current)||void 0===l||null===(a=l.style)||void 0===a?void 0:a.borderTop;0===t&&(b.current.style.borderTop=""),t>0&&""===e&&(b.current.style.borderTop="1px solid rgba(0, 0, 0, 0.05)")}},X=e=>{let{data:t,index:l,style:a}=e;const{attributeItem:r,level:i=0}=t[l],o=I.fieldName===r.fieldName,c=((e,t)=>e[t.fieldName])(M,r),s=l>0&&i>(0,u.pathOr)(-1,[l+1,"level"],Y);return n().createElement(bn,{fillRateData:c,fillRateState:U,isLoading:H,style:a,detailedAttributeType:r,level:i,onClick:Z,selected:o,onCollapse:(p=r.fieldName,()=>{R((e=>e.includes(p)?e.filter((e=>e!==p)):e.concat(p)))}),isCollapsed:w.includes(r.fieldName),isLastLevelItem:s});var p},J=Y.length,ee=!!J;return n().createElement("div",{className:y.root},n().createElement("div",{className:y.title},m().text("Attributes"),n().createElement("span",{className:y.itemCount},`${G} ${te=G,1===te?m().text("item"):m().text("items")}`),n().createElement(Fn,{defaultFilterText:f,defaultFilterOptions:N,onChangeFilterOptions:_,onChangeFilterText:O,filterOptions:W})),n().createElement("div",{ref:b,className:d()(y.listWrapper,{[y.loadingAnimation]:H}),"data-reltio-id":"reltio-dq-dashboard-attributes-list"},ee?n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=250}=e;return n().createElement(rn.FixedSizeList,{ref:E,itemCount:J,width:"100%",height:t,itemData:Y,itemSize:48,onScroll:Q},X)})):!H&&n().createElement($e,{height:349,data:{Icon:g.B9.SEARCH_RESULTS,title:m().text("No results found"),message:m().text("Try adjusting your search or filter to find\nwhat you’re looking for")},variant:pe.MEDIUM})));var te},Un=(0,ye.Z)({root:{display:"flex",alignItems:"center",width:"100%",borderBottom:"solid 1px rgba(0, 0, 0, 0.12)"},title:{fontSize:"18px",flexShrink:0,padding:"0 20px"},content:{overflow:"hidden",flexGrow:1},updateButton:{height:36,width:36,padding:"0 20px"}}),Hn=e=>{let{title:t,children:l}=e;const a=Un();return n().createElement("div",{className:a.root},n().createElement(Ue.Typography,{variant:"body2",className:a.title},t),n().createElement("div",{className:a.content},l))};var Vn=l(51209);const Wn=(0,ye.Z)((e=>({entityLevelBarWrapper:e=>{let{attributeListWidth:t}=e;return{width:`calc(100% - ${t}px)`,height:"100%",verticalAlign:"top",position:"relative",boxSizing:"border-box"}},entityLevelBar:t=>{let{transitionTimeout:l}=t;return{position:"absolute",top:0,bottom:0,right:"16px",width:"28px",background:"linear-gradient(0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), #FFFFFF",boxShadow:"0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.2)",color:e.palette.text.secondary,fontWeight:500,fontSize:"14px",writingMode:"vertical-rl",textTransform:"uppercase",cursor:"pointer",transition:`opacity ${l}s`,padding:"52px 0",margin:"16px 0 8px",lineHeight:"28px"}},entityLevelBarHidden:()=>({opacity:0}),entityLevelLayout:e=>{let{transitionTimeout:t}=e;return{width:"100%",height:"100%",position:"relative",left:0,transition:`left ${t}s`}},entityLevelLayoutSliding:e=>{let{entityLevelBarWidth:t}=e;return{left:`-${t}px`}},expandButton:{position:"absolute",top:"15px",left:"6px",writingMode:"initial",textTransform:"none",maxWidth:"24px",height:"24px",borderRadius:"12px",background:"#fff",boxShadow:"0px 2px 2px rgba(0, 0, 0, 0.14), 0px 3px 1px rgba(0, 0, 0, 0.12), 0px 1px 5px rgba(0, 0, 0, 0.2)",transition:"max-width 0.3s linear",zIndex:2,overflow:"hidden",display:"flex",lineHeight:"28px","&:hover":{maxWidth:"500px"}},expandButtonText:{paddingRight:"8px",fontSize:"12px",lineHeight:"24px"}}))),Yn=e=>{let{showEntityLevel:t,dataLevel:l,views:a,layout:r,entityType:i,isSliding:o=!1}=e;const c=Wn({transitionTimeout:.3,attributeListWidth:360,entityLevelBarWidth:62}),p=`${m().text("Entity")}: ${(0,s.idV)(i.label)} ${m().text("overview")}`;return n().createElement("div",{className:c.entityLevelBarWrapper,onClick:t},n().createElement("div",{className:d()(c.entityLevelBar,{[c.entityLevelBarHidden]:l===s.yn8.ENTITY_TYPE}),"data-reltio-id":"reltio-dq-dashboard-entity-level-bar-button"},n().createElement("div",{className:c.expandButton},n().createElement(Vn.Z,null),n().createElement("span",{className:c.expandButtonText},p)),m().text("Entity")),n().createElement("div",{className:d()(c.entityLevelLayout,{[c.entityLevelLayoutSliding]:l!==s.yn8.ENTITY_TYPE})},(l===s.yn8.ENTITY_TYPE||o)&&n().createElement(de.Provider,{value:s.yn8.ENTITY_TYPE},n().createElement(ln,{views:a,layout:r}))))},Gn=(0,ye.Z)((e=>({perspectiveView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column",background:"#F9F9F9"},content:()=>({display:"flex",height:"100%",whiteSpace:"nowrap",marginLeft:"12px"}),contentWithEntityLevel:e=>{let{attributeListWidth:t,entityLevelBarWidth:l}=e;return{width:`calc(200% - ${t+l}px)`,marginLeft:"0"}},additionalLabel:{color:e.palette.text.secondary,marginLeft:"10px"},contentWrapper:e=>{let{attributeListWidth:t,entityLevelBarWidth:l,transitionTimeout:a}=e;return{flexGrow:1,position:"absolute",top:"50px",bottom:0,left:`calc(-100% + ${t+l}px)`,width:"100%",height:"calc(100% - 50px)",transition:`left ${a}s`}},contentWrapperOneSlide:()=>({left:0,transition:"none"}),contentWrapperEntityLevel:()=>({left:0}),attributeLevelWrapper:()=>({verticalAlign:"top",width:"auto",height:"100%",flexGrow:1}),attributeLevelWithEntityLevel:e=>{let{attributeListWidth:t,entityLevelBarWidth:l}=e;return{width:`calc(100% - ${t+l}px)`}}})));function Zn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const $n=(0,u.path)([0,"uri"]),qn=e=>{var t,l,a,o,c;let{config:p,saveState:f,getSavedState:E}=e;const _=Gn({transitionTimeout:.3,attributeListWidth:360,entityLevelBarWidth:62}),M=(()=>{const e=(0,i.useSelector)(v.ZP.selectors.getMetadata);return(0,r.useMemo)((()=>e.entityTypes.filter(s.oDv)),[e.entityTypes])})(),[L,B]=(0,r.useState)(),[k,z]=(0,r.useState)(!1),F=M&&L?(0,s.nt9)({entityTypes:M},L):null,j=D(M),[P,W]=(0,r.useState)(null),{isLoaded:Y,savedState:G}=(0,h.a)(E),Z=(0,i.useSelector)(v.ZP.selectors.getCanUserGetDQStatistic),[$,q]=(0,r.useState)(),Q=(e=>{const[t,l]=(0,r.useState)(null),[a,n]=(0,r.useState)(null),o=(0,A._)(),c=(0,i.useSelector)(v.ZP.selectors.getServicesPath),p=(0,i.useSelector)(v.ZP.selectors.getEnvironment),d=(0,i.useSelector)(v.ZP.selectors.getTenant);return(0,r.useEffect)((()=>{o((0,s.JUW)({servicesPath:c,tenant:d,environment:p})).then((e=>{var t;const a=null==e||null===(t=e.data)||void 0===t?void 0:t.apps.find((0,u.propEq)("name","Console")).uri;l(a)})).catch((()=>l(null)))}),[p,d,c]),(0,r.useEffect)((()=>{const l=t&&null!=e&&e.uri?(0,u.pipe)((0,u.split)("?"),(0,u.insert)(1,`datamodeler/entityDetails/${(0,s.nIW)(e.uri)}/validation?`),(0,u.join)(""))(t):null;n(l)}),[e,t]),a})(F),X=(e=>{const[t,l]=(0,r.useState)(null),[a,n]=(0,r.useState)(C.o.INIT),[o,c]=(0,r.useState)(),p=(0,i.useSelector)(v.ZP.selectors.getTenant),d=(0,i.useSelector)(v.ZP.selectors.getDVFPath),u=(0,A._)(),f=(0,i.useSelector)(v.ZP.selectors.getEnvironment),m=(0,i.useSelector)(v.ZP.selectors.getCanUserReadDVF),h=e=>{console.error(e),n(C.o.ERROR),l([]),c(null==e?void 0:e.errorCode)},y=e=>{l(e.functions),c(void 0),n(C.o.LOADED)},g=(0,r.useCallback)((()=>{if(m)return e&&f?(c(void 0),n(C.o.LOADING),u((0,s.HaQ)({dvfPath:d,tenant:p,entityTypeUri:e,env:f})).then(y).catch(h)):void 0;h({errorCode:s.Xt7.ACCESS_DENIED})}),[d,p,e,f]);return(0,r.useEffect)((()=>{g()}),[g]),(0,r.useMemo)((()=>({data:t,state:a,reload:g,errorCode:o})),[t,a,g,o])})(null==F?void 0:F.uri),K=(0,r.useMemo)((()=>({dvfs:X,dvfConfigLink:Q})),[X,Q]),J=(0,r.useRef)();(0,r.useEffect)((()=>{J.current=G}),[G]);const ee=(0,u.pipe)((0,u.map)((e=>(0,u.assoc)("entityCount",j(e.uri))(e))),(0,u.sortWith)([(e,t)=>{let{entityCount:l}=e,{entityCount:a}=t;return l===a||l>0&&a>0?0:0===l?1:-1},(0,u.ascend)((0,u.prop)("label"))]),(0,u.map)(((e,t)=>{let{label:l,uri:a,entityCount:r}=e;return{label:l,value:a,additionalLabel:n().createElement("span",{className:_.additionalLabel},"(",(0,s.k7L)(r,999),")"),dataReltioId:`reltio-dq-dashboard-entity-tab-${t}`}})))(M),te=(0,r.useCallback)((e=>{if((null==F?void 0:F.uri)!==e){W(null),B(e);const t=function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Zn(e,t,l[t])}))}return e}({dataLevel:s.yn8.ENTITY_TYPE,entityTypeUri:e},J.current&&{filterOptions:J.current.filterOptions,filterText:J.current.filterText,fieldName:J.current.fieldName});q(s.yn8.ENTITY_TYPE),f(t),J.current=t}}),[null==F?void 0:F.uri]),le=(null===(t=p.layoutsByDataLevel)||void 0===t?void 0:t[s.yn8.ENTITY_TYPE])||w[s.yn8.ENTITY_TYPE],ae=null===(l=p.layoutsByDataLevel)||void 0===l?void 0:l[s.yn8.ATTRIBUTE_TYPE],re=(0,r.useMemo)((()=>((e,t)=>{const l=U(t),a=(0,u.mergeLeft)(e,w[s.yn8.ATTRIBUTE_TYPE]);return a[l]||a.default||[]})(ae,null==P?void 0:P.type)),[null==P?void 0:P.type,ae]),ne=(0,r.useMemo)((()=>le?((e,t)=>{const l=(0,u.uniqBy)((0,u.prop)("id"),(0,u.concat)((null==e?void 0:e[s.yn8.ENTITY_TYPE])||[],O[s.yn8.ENTITY_TYPE]||[])),a=[b.SUMMARY,b.CONSOLIDATION_RATE,b.DATA_VALIDATION];return H({views:l,supportedViews:a,layout:t})})(p.viewsByDataLevel,le):[]),[p.viewsByDataLevel,le]),ie=(0,r.useMemo)((()=>V(ne)),[ne]),oe=I({entityType:F,dataLevel:s.yn8.ENTITY_TYPE,metrics:ie}),ce=(0,r.useMemo)((()=>((e,t,l)=>{const a=(0,u.uniqBy)((0,u.prop)("id"),(0,u.concat)((null==e?void 0:e[s.yn8.ATTRIBUTE_TYPE])||[],O[s.yn8.ATTRIBUTE_TYPE]||[])),r=(e=>{switch(e){case x.INTEGER:case x.FLOAT:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.VALUE_DISTRIBUTION];case x.BOOLEAN:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY];case x.STRING:return[b.LENGTH_STATISTIC,b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS];case x.DATE:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.VALUE_DISTRIBUTION,b.MONTH_DISTRIBUTION,b.DAY_OF_MONTH_DISTRIBUTION,b.DAY_OF_WEEK_DISTRIBUTION];case x.SSN:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.PATTERN];case x.UNKNOWN:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.LENGTH_STATISTIC];default:return[]}})(U(t));return H({views:a,supportedViews:r,layout:l})})(p.viewsByDataLevel,null==P?void 0:P.type,re)),[p.viewsByDataLevel,null==P?void 0:P.type,re]),de=(0,r.useMemo)((()=>(0,u.pipe)(V,(e=>se(P)?(0,u.reject)((0,u.equals)(s.N0y.DATA_VALIDATION))(e):e))(ce)),[ce,P]),ue=I({entityType:F,detailedAttributeType:P,dataLevel:s.yn8.ATTRIBUTE_TYPE,metrics:de});(0,r.useEffect)((()=>{Y&&(B(G.entityTypeUri||$n(M)),q(le?G.dataLevel||s.yn8.ENTITY_TYPE:s.yn8.ATTRIBUTE_TYPE))}),[Y]);const fe=F&&Z&&Y&&!!j(L);(0,r.useEffect)((()=>{z(!0),$===s.yn8.ENTITY_TYPE&&setTimeout((()=>{W(null)}),300),setTimeout((()=>{z(!1)}),300)}),[$]);const me=!!le;return n().createElement("div",{className:_.perspectiveView},n().createElement(Hn,{title:m().text("Data Quality")},F&&n().createElement(y.Z,{value:F.uri,tabs:ee,onChange:te,scrollButtons:"auto"})),n().createElement("div",{className:d()(_.contentWrapper,{[_.contentWrapperEntityLevel]:$===s.yn8.ENTITY_TYPE,[_.contentWrapperOneSlide]:!fe||!me})},fe&&n().createElement("div",{className:d()(_.content,{[_.contentWithEntityLevel]:me})},n().createElement(T.Provider,{value:K},n().createElement(N.Provider,{value:F},me&&n().createElement(S.Provider,{value:oe},n().createElement(Yn,{showEntityLevel:()=>{q(s.yn8.ENTITY_TYPE)},dataLevel:$,views:ne,layout:le,entityType:F,isSliding:k})),n().createElement(S.Provider,{value:ue},n().createElement(Pn,{entityType:F,onAttributesListChange:e=>{let{selectedDetailedAttributeType:t,filterText:l,filterOptions:a}=e;const r=null==t?void 0:t.fieldName,n={entityTypeUri:F.uri,fieldName:r,filterOptions:a,filterText:l,dataLevel:$};(0,u.equals)(J.current,n)||(f(n),J.current=n),r&&q(s.yn8.ATTRIBUTE_TYPE),W(t)},defaultFieldName:null===(a=J.current)||void 0===a?void 0:a.fieldName,defaultFilterText:null===(o=J.current)||void 0===o?void 0:o.filterText,defaultFilterOptions:null===(c=J.current)||void 0===c?void 0:c.filterOptions,disableAttributeSelection:$===s.yn8.ENTITY_TYPE}),n().createElement("div",{className:d()(_.attributeLevelWrapper,{[_.attributeLevelWithEntityLevel]:me})},P&&n().createElement(R.Provider,{value:P},n().createElement(an,{dataLevel:$,views:ce,layout:re,isSliding:k}))))))),!Z&&n().createElement(Ye,{height:359,errorData:{title:m().text("You don’t currently have permission to view this page"),message:m().text(" Please contact your Tenant Admin to change permissions")},variant:pe.LARGE}),Y&&F&&!j(L)&&Z&&n().createElement($e,{height:359,data:{Icon:g.B9.NO_DATA,title:m().text("Give us something to go on!"),message:m().text("Go ahead and load some data. We’ll put it on the scales and\nlet you know here if it measures up.")},variant:pe.LARGE})))};function Qn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Xn=function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Qn(e,t,l[t])}))}return e}({},s.rSc,{tooltip:{borderRadius:"4px",backgroundColor:"rgba(96, 96, 96, 0.9)",maxWidth:"300px"}}),Kn=(0,o.Z)(Xn),Jn=(0,c.createGenerateClassName)({productionPrefix:"DQDashboardPerspective",disableGlobal:!0}),ei=e=>{let{store:t,config:l,saveState:a,getSavedState:o}=e;const p=(0,r.useCallback)((0,s.aYu)(o),[o]);return n().createElement(i.Provider,{store:t},n().createElement(c.ThemeProvider,{theme:Kn},n().createElement(c.StylesProvider,{generateClassName:Jn},n().createElement(qn,{config:l,saveState:a,getSavedState:p}))))}}}]);
1
+ "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9497],{48852:(e,t,l)=>{l.d(t,{l:()=>i});var a=l(24328),r=l.n(a);function n(){return n=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},n.apply(this,arguments)}const i=(e,t,l)=>{if(e&&t){const i=(0,a.memo)(l);return l=>r().createElement(e.Consumer,null,(e=>r().createElement(i,n({},l,t(e,l)))))}return l}},97991:(e,t,l)=>{l.d(t,{Z:()=>p});var a,r=l(94079),n=l(71153),i=l.n(n),o=l(24328),c=l.n(o);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(e){e[e.ICON_MODE=0]="ICON_MODE",e[e.TEXT_MODE=1]="TEXT_MODE",e[e.ERROR_MODE=2]="ERROR_MODE"}(a||(a={}));const p=e=>{let{className:t,icon:l,avatarText:n,rootClasses:p}=e,d=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","icon","avatarText","rootClasses"]);const[u,f]=(0,o.useState)(null);(0,o.useEffect)((()=>{f(l?a.ICON_MODE:a.TEXT_MODE)}),[l,n]);const m=()=>{f(a.ERROR_MODE)};switch(u){case a.ICON_MODE:return c().createElement(r.Avatar,s({className:i()(t,null==p?void 0:p.iconRoot),src:l,onError:m},d));case a.TEXT_MODE:case a.ERROR_MODE:return c().createElement(r.Avatar,s({className:i()(t,null==p?void 0:p.textRoot)},d),n);default:return null}}},32528:(e,t,l)=>{l.d(t,{Z:()=>n});var a=l(13688),r=l(48852);const n=e=>t=>(0,r.l)(a.X,e,t)},10237:(e,t,l)=>{l.d(t,{Z:()=>f});var a=l(27556),r=l(13980),n=l.n(r),i=l(24328),o=l.n(i);function c(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){s(e,t,l[t])}))}return e}function s(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const p=(0,l(79692).Z)((e=>({"basic-view__paper":c({display:"flex",flexDirection:"column"},e.basicView)})));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)}const u=(0,i.forwardRef)(((e,t)=>{let{children:l,className:r}=e,n=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["children","className"]);const i=p();return o().createElement(a.Z,d({ref:t,className:r,classes:{root:i["basic-view__paper"]}},n),l)}));u.displayName="BasicView",u.propTypes={children:n().node,className:n().string};const f=u},4094:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n);const o=(0,l(79692).Z)({"basic-view-content":{flex:"1 1 auto",padding:"0 24px 24px","&:first-child":{paddingTop:"24px"}}});function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{children:t,className:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["children","className"]);const n=o();return r().createElement("div",c({className:i()(n["basic-view-content"],l)},a),t)}},92778:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(15223),i=l(94079);const o=(0,l(79692).Z)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function c(){return c=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},c.apply(this,arguments)}const s=e=>{let{title:t,children:l=null,classes:a={}}=e,s=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["title","children","classes"]);const p=o();return r().createElement(n.Z,c({className:a.root,classes:{root:p.toolbar}},s),r().createElement(i.Typography,{className:a.title,classes:{root:p.title},variant:"h6"},t),l)}},43290:(e,t,l)=>{l.d(t,{Z:()=>p});var a=l(24328),r=l.n(a),n=l(71153),i=l.n(n),o=l(17440);const c=(0,l(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),s=e=>(0,o.is)(Number,e),p=e=>{let{className:t,width:l=0,maxWidth:n}=e;const o=c(),p=(0,a.useCallback)((e=>(n?100*e/n:0)+"%"),[n]);return l?r().createElement("div",{className:i()(o.bar,t),style:{width:s(l)?p(l):l}}):null}},21077:(e,t,l)=>{l.d(t,{B9:()=>f,tC:()=>u,ZP:()=>m});var a=l(24328),r=l.n(a),n=l(17440),i=l(94079);function o(){return o=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},o.apply(this,arguments)}function c(){return c=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},c.apply(this,arguments)}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)}const d=(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","& $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"}},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 u;!function(e){e.full="full",e.embedded="embedded"}(u||(u={}));const f={SEARCH_RESULTS:e=>r().createElement("svg",o({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",c({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",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("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",p({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}))))},m=e=>{let{variant:t=u.full,LogoRenderer:l=f.SEARCH_RESULTS,text:a,secondaryText:o,buttonTitle:c,onClick:s=n.identity,access:p}=e;const m=d(),h=p&&c;return r().createElement("div",{className:m.root},r().createElement(l,{className:m[`${t}`]}),r().createElement("div",{className:m.textBox},r().createElement(i.Typography,{variant:"h5",classes:{h5:m.text}},a),o&&r().createElement(i.Typography,{variant:"subtitle1",classes:{subtitle1:m.secondaryText}},o)),h&&r().createElement(i.Button,{className:m.button,variant:"contained",color:"primary",onClick:s},c))}},2256:(e,t,l)=>{l.d(t,{Z:()=>n});var a=l(24328),r=l.n(a);class n extends r().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}}},67268:(e,t,l)=>{l.d(t,{Z:()=>T});var a=l(13980),r=l.n(a),n=l(24328),i=l.n(n),o=l(66244),c=l.n(o),s=l(44443),p=l(17440),d=l(71153),u=l.n(d);function f(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}const m=e=>{let{x:t,y:l,width:a,height:r,id:n,minWidth:i,minHeight:o,maxWidth:c,maxHeight:s,isStatic:p}=e;return{x:t,y:l,w:a,h:r,minW:i,minH:o,maxW:c,maxH:s,i:n,static:p}},h=e=>{let{x:t,y:l,w:a,h:r,maxW:n,minW:i,minH:o,maxH:c,i:s}=e;return{x:t,y:l,width:a,height:r,minWidth:i,minHeight:o,maxWidth:n,maxHeight:c,id:s,isStatic:f(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},y=e=>(e||[]).map(h),g=(0,p.curry)(((e,t)=>(e||[]).find((0,p.propEq)("id",t)))),v=(0,p.curry)(((e,t,l)=>(0,p.mergeAll)([l,(0,p.pick)(e,t)]))),E=(0,p.curry)(((e,t,l)=>(l||[]).map((l=>(0,p.pipe)((0,p.prop)("id"),g(t),(0,p.defaultTo)({}),v(e,p.__,l))(l)))));var b=l(79692),x=l(99493);const O=(0,b.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 w(){return w=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},w.apply(this,arguments)}function S(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const R=e=>{let{views:t,layout:l,layoutOptions:a,onLayoutChanged:r,draggableHandle:o,LayoutItem:d,onRemove:f,onDrop:v,droppingItem:b,isDroppable:x,classes:R}=e;const T=(0,n.useRef)(),N=O(),[C,A]=(0,n.useState)(null),[_,I]=(0,n.useState)(0),{cols:D,rowHeight:M,margin:L}=a,B=(0,n.useMemo)((()=>(e=>(e||[]).map(m))(l)),[l]),k=(0,p.pipe)(y,E(["autosizing"],l),r),z=(0,n.useCallback)((e=>A((t=>t?null:e))),[]),F=null!==C,j=(0,n.useCallback)(((e,t)=>{let n=!1;const i=l.map((l=>{if(l.id===t&&e){const t=((e,t)=>{const{margin:l,rowHeight:a}=t;return Math.ceil((e+l[1])/(a+l[1]))})(e,a);if(l.height!==t)return n=!0,function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){S(e,t,l[t])}))}return e}({},l,{minHeight:t,maxHeight:t,height:t})}return l}));n&&r(i)}),[l,a,r]);return i().createElement(i().Fragment,null,i().createElement(s.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>I(e)}),i().createElement(c(),{innerRef:T,layout:B,cols:D,draggableHandle:o,autoSize:!0,rowHeight:M,width:_,margin:L,onLayoutChange:k,isResizable:!F,isDraggable:!F,className:u()(N.gridLayout,{[N.gridFullscreen]:F}),onDrop:(e,t,l)=>{v&&v(y(e),h(t),l)},droppingItem:b,isDroppable:x},B.map((e=>{const a=C===e.i,r=(g(l,e.i)||{}).autosizing?{AutosizeComponent:(n=e.i,i().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>{j(t,n)}}))}:{};var n;return i().createElement(d,w({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:z,onRemove:f,className:u()({fullscreen:a},R.item),isFullscreen:a},r))}))))};R.defaultProps={layoutOptions:{cols:4,rowHeight:30,margin:[15,15]},onConfigChanged:p.identity,onLayoutChanged:p.identity,classes:{}},R.propTypes={views:r().array,layout:r().array,layoutOptions:r().object,onConfigChanged:r().func,onLayoutChanged:r().func,onDrop:r().func,onRemove:r().func,LayoutItem:r().elementType,draggableHandle:r().string,isDroppable:r().bool,droppingItem:r().object,classes:r().shape({item:r().string})};const T=(0,n.memo)(R)},32431:(e,t,l)=>{l.d(t,{Z:()=>p});var a=l(24328),r=l.n(a),n=l(99152),i=l(6487),o=l(88611);const c=(0,l(79692).Z)({tabsRoot:{width:"100%"},tabsScrollButton:{flex:"0 0 24px"},tabRoot:{fontSize:"0.875rem",padding:"7px 18px 5px","@media (min-width: 960px)":{minWidth:"inherit"}},labelWrapper:{whiteSpace:"nowrap",letterSpacing:"normal",display:"flex",flexDirection:"row",width:"100%"},label:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500}});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)}const p=e=>{let{value:t,tabs:l=[],onChange:a,tabClasses:p}=e,d=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["value","tabs","onChange","tabClasses"]);const u=c(),f=(e,t)=>r().createElement("span",{className:u.labelWrapper},r().createElement(o.C,{value:e},r().createElement("span",{className:u.label},e)),t);return r().createElement(n.Z,s({value:t,onChange:(e,t)=>a(t),classes:{root:u.tabsRoot,scrollButtons:u.tabsScrollButton},indicatorColor:"primary",textColor:"primary",variant:"scrollable",scrollButtons:"on"},d),l.map((e=>{let{label:t,value:l,additionalLabel:a,dataReltioId:n}=e;return r().createElement(i.Z,{classes:p||{root:u.tabRoot},key:l,value:l,label:f(t,a),"data-reltio-id":n})})))}},94175:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(87638),r=l(99493),n=l(24328),i=l.n(n),o=l(52730),c=l(97991);const s=e=>{let{sourceType:t,className:l,classes:n}=e;const s=(0,o.useSelector)(a.ZP.selectors.getMetadata),{uri:p,icon:d}=(0,r.PWK)(s,t),u=(0,r.tH7)(s,p)[0];return i().createElement(c.Z,{className:l,avatarText:u,icon:d?(0,r.vPL)("https://s3.amazonaws.com/reltio.images/api",d):null,variant:"square",rootClasses:n})}},84900:(e,t,l)=>{l.d(t,{Z:()=>s});var a=l(24328),r=l.n(a),n=l(99493),i=l(17440);function o(){return o=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},o.apply(this,arguments)}function c(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const s=e=>{const t=t=>{let{data:l}=t,s=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(t,["data"]);const p=(0,a.useMemo)((()=>l&&(e=>{const t=(0,n.QK6)((0,i.pluck)("value",e),1);return e.map(((e,l)=>function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){c(e,t,l[t])}))}return e}({},e,{percent:t[l]})))})(l)),[l]);return r().createElement(e,o({data:p},s))};return t.displayName="WithPercents",t}},99256:(e,t,l)=>{l.d(t,{d:()=>r});const a=(0,l(79692).Z)({clickable:{cursor:"pointer"}}),r=e=>{const t=a();return e?t.clickable:void 0}},2804:(e,t,l)=>{l.d(t,{a:()=>r});var a=l(24328);const r=e=>{const[t,l]=(0,a.useState)(!1),[r,n]=(0,a.useState)({});return(0,a.useEffect)((()=>{e().then((e=>{n(e||{})})).then((e=>l(!0))).catch((e=>l(!0)))}),[]),{isLoaded:t,savedState:r}}},67885:(e,t,l)=>{let a,r;l.d(t,{K:()=>a,o:()=>r}),function(e){e.WITHIN="within",e.AGO="ago",e.BETWEEN="between"}(a||(a={})),function(e){e.INIT="init",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(r||(r={}))},32944:(e,t,l)=>{l.d(t,{Z:()=>o});var a=l(24328),r=l.n(a),n=l(94079);const i=(0,l(79692).Z)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),o=()=>{const e=i();return r().createElement(n.LinearProgress,{color:"secondary",className:e.loader})}},58141:(e,t,l)=>{l.d(t,{Z:()=>c});var a=l(24328),r=l.n(a),n=l(10237),i=l(92316);const o=(0,l(79692).Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),c=e=>{let{id:t,children:l}=e;const a=o();return r().createElement(i.H.Provider,{value:t},r().createElement(n.Z,{className:a.view},l))}},92316:(e,t,l)=>{l.d(t,{H:()=>r});var a=l(24328);const r=l.n(a)().createContext(null);r.displayName="DashboardViewIdContext"},59497:(e,t,l)=>{l.r(t),l.d(t,{default:()=>ei});var a,r=l(24328),n=l.n(r),i=l(52730),o=l(33016),c=l(36138),s=l(99493),p=l(71153),d=l.n(p),u=l(17440),f=l(87918),m=l.n(f),h=l(2804),y=l(32431),g=l(21077),v=l(87638);function E(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}!function(e){e.UNSUPPORTED="unsupported",e.SUMMARY="summary",e.MONTH_DISTRIBUTION="monthDistribution",e.DAY_OF_WEEK_DISTRIBUTION="dayOfWeekDistribution",e.DAY_OF_MONTH_DISTRIBUTION="dayOfMonthDistribution"}(a||(a={}));const b=function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){E(e,t,l[t])}))}return e}({},s.N0y,a);let x;!function(e){e.STRING="string",e.FLOAT="float",e.INTEGER="integer",e.BOOLEAN="boolean",e.DATE="date",e.SSN="SSN",e.UNKNOWN="unknown"}(x||(x={}));const O={[s.yn8.ATTRIBUTE_TYPE]:[{id:"FillRateView",type:b.FILL_RATE,title:m().text("Fill rate")},{id:"UniquenessAnalysisView",type:b.UNIQUENESS,title:m().text("Uniqueness analysis")},{id:"SummaryView",type:b.SUMMARY,title:m().text("Summary")},{id:"ValidationView",type:b.DATA_VALIDATION,title:m().text("Profiles with invalid data")},{id:"FrequencyAnalysis",type:b.FREQUENCY,title:m().text("Frequency analysis")},{id:"LengthStatistics",type:b.LENGTH_STATISTIC,title:m().text("Length statistics")},{id:"PatternAnalysis",type:b.PATTERN,title:m().text("Pattern analysis")},{id:"CrosswalkAnalysis",type:b.CROSSWALK_ANALYSIS,title:m().text("Source system analysis")},{id:"MonthDistribution",type:b.MONTH_DISTRIBUTION,title:m().text("Month distribution")},{id:"DayOfWeekDistribution",type:b.DAY_OF_WEEK_DISTRIBUTION,title:m().text("Day of week distribution")},{id:"DayOfMonthDistribution",type:b.DAY_OF_MONTH_DISTRIBUTION,title:m().text("Day of month distribution")},{id:"ValueDistribution",type:b.VALUE_DISTRIBUTION,title:m().text("Value distribution")},{id:"UnsupportedDataType",type:b.UNSUPPORTED,title:m().text("Unsupported Data Type")}],[s.yn8.ENTITY_TYPE]:[{id:"SummaryView",type:b.SUMMARY,title:m().text("Summary")},{id:"ValidationView",type:b.DATA_VALIDATION,title:m().text("Profiles with invalid data")},{id:"ConsolidationRate",type:b.CONSOLIDATION_RATE,title:m().text("Consolidation rate")}]},w={[s.yn8.ATTRIBUTE_TYPE]:{default:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"LengthStatistics"}],[x.SSN]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:2,height:19,id:"PatternAnalysis"}],[x.BOOLEAN]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"FrequencyAnalysis"},{x:0,y:19,width:2,height:19,id:"CrosswalkAnalysis"}],[x.DATE]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}],[x.INTEGER]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}],[x.FLOAT]:[{x:0,y:0,width:2,height:11,id:"SummaryView"},{x:2,y:0,width:2,height:11,id:"ValidationView"},{x:0,y:11,width:2,height:8,id:"FillRateView"},{x:2,y:11,width:2,height:8,id:"UniquenessAnalysisView"},{x:0,y:19,width:2,height:19,id:"FrequencyAnalysis"},{x:2,y:19,width:2,height:19,id:"CrosswalkAnalysis"},{x:0,y:38,width:4,height:19,id:"ValueDistribution"}]},[s.yn8.ENTITY_TYPE]:[{x:0,y:0,width:6,height:6,id:"SummaryView"},{x:0,y:6,width:6,height:18,id:"ConsolidationRate"},{x:0,y:24,width:4,height:12,id:"ValidationView"}]},S=n().createContext(null);S.displayName="ChartsDataContext";const R=n().createContext(null);R.displayName="DetailedAttributeTypeContext";const T=n().createContext(null);T.displayName="DVFContext";const N=n().createContext(null);N.displayName="EntityTypeContext";var C=l(67885),A=l(67218);function _(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const I=e=>{let{entityType:t,detailedAttributeType:l,dataLevel:a,metrics:n}=e;const[i,o]=(0,r.useState)(C.o.INIT),[c,p]=(0,r.useState)({}),[d,f]=(0,r.useState)(null),m=null==l?void 0:l.fieldName,h=null==t?void 0:t.uri,y=(0,A._)(),g=e=>{console.error(e),o(C.o.ERROR),p({})},v=e=>{p(e),o(C.o.LOADED)},E=(0,r.useCallback)((async()=>{if(h)if(f(Date.now()),o(C.o.LOADING),p({}),a===s.yn8.ENTITY_TYPE){const e=(0,s.Uqd)()([{fieldName:"type",filter:s.j5E.EQUALS,values:[h]}]),t=(0,s.FK9)({query:(0,s.ECL)({activeness:s.YJ7.ACTIVE_ONLY,filter:e}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}),l=(0,s.FK9)({query:(0,s.ECL)({activeness:s.YJ7.INACTIVE_ONLY,filter:e}),body:[{fieldName:"type",pageSize:101,pageNo:1}]}),r=(0,s.TTx)({entityTypeUri:h,dataLevel:a,metrics:n});y(Promise.all([t,l,r])).then((e=>{var t,l;let[a,r,n]=e;const i=(0,u.pipe)((0,u.path)(["consolidationRate","totalCrosswalksBySource"]),(0,u.omit)(["ReltioCleanser"]),u.keys,u.length)(n);v(function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){_(e,t,l[t])}))}return e}({},n,{summary:{inactiveProfiles:null===(t=r.type)||void 0===t?void 0:t[(0,s.nIW)(h)],activeProfiles:null===(l=a.type)||void 0===l?void 0:l[(0,s.nIW)(h)],sourceSystems:i}}))})).catch(g)}else{if(!m)return;y((0,s.TTx)({entityTypeUri:h,attributes:[m],dataLevel:a,metrics:n})).then((0,u.pipe)((0,u.pathOr)({},["statistic",m]),v)).catch(g)}}),[o,p,y,m,h,a,n]);(0,r.useEffect)((()=>{const e=!!d&&Date.now()-d>18e4;a===s.yn8.ENTITY_TYPE&&e&&b()}));const b=(0,r.useCallback)((()=>{try{E()}catch(e){g(e)}}),[E]);return(0,r.useEffect)((()=>{b()}),[b]),(0,r.useMemo)((()=>({data:c,state:i,reload:b})),[c,i,b])},D=e=>{const[t,l]=(0,r.useState)(null),a=(0,A._)();return(0,r.useEffect)((()=>{const t=(0,s.Uqd)()([{fieldName:"type",filter:s.j5E.EQUALS,values:(0,u.pluck)("uri",e)}]);a((0,s.FK9)({query:(0,s.ECL)({activeness:"active",filter:t}),body:[{fieldName:"type",pageSize:101,pageNo:1}]})).then((e=>{let{type:t}=e;return l(t)})).catch((()=>l(null)))}),[e]),e=>Number((null==t?void 0:t[(0,s.nIW)(e)])||0)},M=(e,t,l)=>({attributes:(t||[]).map(((t,a)=>{let{filter:r,fieldName:n,values:i,uri:o}=t;return{data:{uri:o||(null==l?void 0:l.uri),entityTypeUri:e,fieldName:n},filter:r,id:`attribute_${a}`,operator:s.tJI.and,values:i}})),entityTypes:[e],id:"group",operator:s.tJI.or});function L(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){B(e,t,l[t])}))}return e}function B(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const k=(0,u.map)((e=>L({},e,{localizedValue:m().number(e.value)}))),z=e=>(0,u.isNil)(e)?"":`(${e}%)`,F=e=>(0,u.isEmpty)(e)||!e.find((e=>{let{value:t}=e;return t>0})),j=(0,u.curry)(((e,t,l)=>({advanced:[M(t,l.map((0,u.when)((()=>(0,s.Lt4)(null==e?void 0:e.type)),(0,u.evolve)({values:(0,u.map)((0,s.mOr)(s.ZBU))}))),e)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}))),P=e=>t=>{let{detailedAttributeType:l,entityTypeUri:a}=t;return(0,u.pipe)(e({fieldName:null==l?void 0:l.fieldName,entityTypeUri:a}),j(l,a))},U=e=>{switch(e){case s.oS0.TYPE_BLOB:case s.oS0.TYPE_BLOG_URL:case s.oS0.TYPE_CIK_ID:case s.oS0.TYPE_ENTITY_ID:case s.oS0.TYPE_IMAGE_URL:case s.oS0.TYPE_STRING:case s.oS0.TYPE_TEXT:case s.oS0.TYPE_URL:return x.STRING;case s.oS0.TYPE_COUNT:case s.oS0.TYPE_DOLLAR:case s.oS0.TYPE_INT:case s.oS0.TYPE_LONG:return x.INTEGER;case s.oS0.TYPE_FLOAT:case s.oS0.TYPE_DOUBLE:case s.oS0.TYPE_NUMBER:return x.FLOAT;case s.oS0.TYPE_BOOLEAN:case s.oS0.TYPE_RDM_LOOKUPS_NOT_RESOLVED:return x.BOOLEAN;case s.oS0.TYPE_ACTIVENESS_DATE:case s.oS0.TYPE_DATE:case s.oS0.TYPE_LOCAL_DATE:case s.oS0.TYPE_TIMESTAMP:return x.DATE;case s.oS0.TYPE_SSN:return x.SSN;default:return x.UNKNOWN}},H=e=>{let{views:t,supportedViews:l,layout:a}=e;return a.reduce(((e,a)=>{const r=(0,u.prop)("type",t.find((0,u.propEq)("id",a.id))),n=t.findIndex((0,u.propEq)("id",a.id));return-1!==n?l.includes(r)?e.concat(t[n]):e.concat((0,u.assoc)("type",b.UNSUPPORTED,t[n])):e.concat({id:a.id,type:b.UNSUPPORTED,title:m().text("Unsupported")})}),[])},V=(0,u.pipe)((0,u.defaultTo)([]),(0,u.pluck)("type"),(0,u.filter)((e=>Object.values(s.N0y).includes(e)))),W=e=>{let{percent:t,value:l}=e;return L({width:`${t}%`},l>0&&{minWidth:"3px"})},Y=((0,u.pipe)((0,u.pluck)("percent"),(e=>Math.max(...e))),(0,u.pipe)((0,u.pluck)("value"),(e=>Math.max(...e))),(0,u.curry)(((e,t)=>t.map((t=>(0,u.assoc)("label",(0,s.tH7)(e,t.group)||t.label,t)))))),G=(e,t)=>(e||[]).some((0,u.allPass)([(0,u.propEq)("attribute",t),(0,u.propEq)("status",s.lVm.ACTIVE)])),Z=e=>[s.oS0.TYPE_FLOAT,s.oS0.TYPE_DOUBLE,s.oS0.TYPE_NUMBER].includes(e),$=e=>(0,s.idV)(e.label||e.name);let q;function Q(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){X(e,t,l[t])}))}return e}function X(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}!function(e){e.INCLUDED_IN_MATCHING="includedInMatching",e.CONTAIN_VF="containVF",e.REQUIRED="required",e.REFERENCE="reference",e.RDM_LOOKUP="RDMLookup"}(q||(q={}));const K=(0,u.curry)(((e,t)=>e.some((e=>t.details[e.value])))),J=(0,u.curry)(((e,t)=>{var l;return 0===e.length||K(e,t)||(null===(l=t.children)||void 0===l?void 0:l.some((t=>J(e,t))))})),ee=(0,u.curry)(((e,t)=>{var l;const a=e[t.fieldName];return null==a||null===(l=a.find((0,u.propEq)("group",s.s9T.EXISTS)))||void 0===l?void 0:l.value})),te=(0,u.curry)(((e,t)=>{var l;const a=e[t.fieldName];return!(null!=a&&null!==(l=a.find((0,u.propEq)("group",s.s9T.EXISTS)))&&void 0!==l&&l.value)})),le=(0,u.curry)((function(e,t){var l;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=t.fieldName||(0,s.Tde)(t.uri,a);return te(e,Q({},t,{fieldName:r}))||(null===(l=t.children)||void 0===l?void 0:l.some((l=>le(e,l,a.concat({name:t.name,label:t.label})))))})),ae=(0,u.curry)(((e,t)=>t.reduce(((t,l)=>{const a=((e,t)=>{var l;return null===(l=e.label||e.name)||void 0===l?void 0:l.toLowerCase().includes(t.toLowerCase())})(l,e),r=a?l.children||[]:ae(e,l.children||[]);return(a||r.length)&&t.push(Object.assign({},l,r.length&&{children:r})),t}),[])));function re(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){ne(e,t,l[t])}))}return e}function ne(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const ie=e=>{let{attrTypeItem:t,dvf:l=[],matchAttributes:a=[]}=e;const{uri:r,required:n,isAttributeReference:i}=t;return{[q.INCLUDED_IN_MATCHING]:a.includes(r),[q.CONTAIN_VF]:G(l,r),[q.REQUIRED]:!!n,[q.REFERENCE]:i,[q.RDM_LOOKUP]:(0,s.lS4)(t)}},oe=e=>({[q.INCLUDED_IN_MATCHING]:m().text("Included in match rule"),[q.CONTAIN_VF]:m().text("Has validation functions"),[q.REQUIRED]:m().text("Required"),[q.REFERENCE]:m().text("Reference attribute"),[q.RDM_LOOKUP]:m().text("RDM")}[e]||e),ce=(0,u.curry)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return(0,u.pipe)((0,u.chain)((e=>{const r=e.children?ce(e.children,t.concat({name:e.name,label:e.label}),l||(0,s.YkG)(e),a+1):[];return[{attributeItem:re({},e,{fieldName:(0,s.Tde)(e.uri,t),isAttributeReference:(0,s.YkG)(e)||l}),level:a},...r]})))(e)})),se=(0,u.prop)("isAttributeReference");let pe;!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large"}(pe||(pe={}));const de=n().createContext(null);de.displayName="DataLevelContext";var ue=l(67268),fe=l(2899),me=l(83348),he=l(84900),ye=l(79692);const ge=(0,ye.Z)({wrapper:{width:"100%",display:"flex",justifyContent:"center",margin:"auto",flexWrap:"wrap",flexDirection:"column",marginBottom:2},item:{display:"flex",alignItems:"center",height:19},itemColor:{width:12,height:12,marginRight:9,flexShrink:0}}),ve=e=>{let{payload:t}=e;const l=ge();return n().createElement("div",{className:d()(l.wrapper)},t.map((e=>n().createElement("div",{key:e.id,className:l.item},n().createElement("div",{style:{background:e.color},className:l.itemColor}),e.value))))},Ee=(0,ye.Z)({root:{display:"flex",flexDirection:"column",height:"100%"},stackedBar:{width:"100%",display:"flex",flexWrap:"nowrap",marginTop:"13px"},bar:{height:"24px",flexGrow:1,position:"relative",width:"50%",transition:"width 0.7s","&:hover":{"&:after":{content:'""',background:"rgba(0, 0, 0, 0.1)"}},"&:after":{position:"absolute",top:"-3px",bottom:"-5px",left:"-5px",right:"-5px",transition:"background 0.3s",zIndex:1,pointerEvents:"none"}},inactivePart:{background:"#EFEFEF"},tooltipTitle:{fontSize:"11px"},tooltipFillRate:{marginTop:"4px"},tooltip:{background:"#fff",filter:"drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.12)) drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2))",padding:"5px 8px"},legendWrapper:{position:"relative",flexGrow:1},legendLabel:{fontSize:"13px",lineHeight:"18px",color:"rgba(0, 0, 0, 0.54)",paddingRight:"8px"},legendValue:{fontSize:"13px",lineHeight:"18px",color:"rgba(0, 0, 0, 0.87)"},clickable:{cursor:"pointer"}});function be(){return be=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},be.apply(this,arguments)}const xe=(0,r.forwardRef)(((e,t)=>{let{className:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className"]);const r=Ee();return n().createElement("div",be({className:d()(r.bar,l)},a,{ref:t}))}));xe.displayName="Bar";const Oe=xe,we=(0,ye.Z)({label:{whiteSpace:"nowrap",paddingRight:"9px"},infoDataLabel:{fontWeight:700},chartDataLabel:{color:"rgba(255, 255, 255, 0.75)"}}),Se=e=>{let{label:t,value:l}=e;const a=we();return n().createElement(n().Fragment,null,t&&n().createElement("span",{className:d()(a.label,a.chartDataLabel)},t),l)},Re=(0,ye.Z)({tooltipWrapper:{fontSize:"10px",fontWeight:400,lineHeight:"12px",color:"#FFFFFF"},title:{padding:"2px 0"},row:{padding:"2px 0"}}),Te=e=>{let{data:t,title:l,DataRenderer:a=Se}=e;const r=Re();return n().createElement("div",{className:r.tooltipWrapper},l&&n().createElement("div",{className:r.title},l),t.map(((e,t)=>n().createElement("div",{key:t,className:r.row},n().createElement(a,e)))))};function Ne(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Ce(e,t,l[t])}))}return e}function Ce(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ae=(0,me.Z)(Oe),_e=e=>{let{label:t,value:l,percent:a}=e;return[{label:t,value:`${m().number(l)} ${z(a)}`}]},Ie=(0,he.Z)((e=>{let{data:t,colors:l,onItemClick:a}=e;const r=Ee(),i=a&&(e=>a(e)),o=!!a;return n().createElement("div",{className:r.root},n().createElement("div",{className:r.stackedBar},t.map(((e,t)=>n().createElement(Ae,{className:o&&r.clickable,key:e.label,tooltipTitle:n().createElement(Te,{data:_e(e)}),style:Ne({},W(e),{background:l[t]}),onClick:()=>i(e.group)})))),n().createElement("div",{className:r.legendWrapper},n().createElement(fe.De,{layout:"vertical",align:"left",verticalAlign:"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"100%",maxWidth:"100%"},content:n().createElement(ve,null),payload:(t||[]).map(((e,t)=>{let{group:a,label:i,value:o,percent:c}=e;return{id:a,type:"square",color:l[t],value:n().createElement(n().Fragment,null,n().createElement("span",{className:r.legendLabel},i),n().createElement("span",{className:r.legendValue},`${(0,s.k7L)(o,999)} ${z(c)}`))}}))})))}));var De=l(92778),Me=l(8818),Le=l(82726);const Be=(0,ye.Z)((()=>({root:{padding:"0px 16px"},title:{fontSize:"16px",marginRight:"5px",lineHeight:"24px"},infoIcon:{position:"relative"}}))),ke=e=>{let{title:t,infoTooltipTitle:l,children:a}=e;const r=Be(!!a),i=!!l;return n().createElement(De.Z,{title:t,className:r.root,classes:{title:r.title}},i&&n().createElement(Me.k,{icon:Le.Z,size:"XXS",tooltipTitle:l,className:r.infoIcon}),a)};var ze=l(44443),Fe=l(2256),je=l(4094),Pe=l(32944),Ue=l(94079),He=l(43266);const Ve=(0,ye.Z)((e=>({container:e=>{let{height:t}=e;return{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",margin:"0 auto",paddingBottom:t>239?"30px":0,boxSizing:"border-box"}},small:{"& $icon":{maxHeight:"88px"},"& $message":{fontSize:"12px"},"& $title":{fontSize:"13px",fontWeight:400,marginBottom:0},"& $refreshButton":{marginTop:"2px",padding:0}},medium:{"& $icon":{maxHeight:"190px",marginBottom:"24px"}},large:{"& $icon":{height:"256px",width:"256px",marginBottom:"24px"}},icon:e=>{let{height:t}=e;return{paddingTop:0,marginBottom:t>170?"16px":"4px"}},message:{padding:"0 24px",fontSize:"14px",textAlign:"center",whiteSpace:"pre-wrap"},title:{padding:"0 24px",fontSize:"20px",textAlign:"center",color:"rgba(0,0,0,0.87)",fontWeight:500,marginBottom:"8px"},refreshButton:{color:e.palette.primary.main,marginTop:"12px",padding:"6px 8px"},refreshIcon:{width:"24px",height:"24px"}}))),We=g.B9.ERROR,Ye=e=>{let{onRefresh:t,height:l,errorData:a={},variant:r=pe.SMALL}=e;const{Icon:i=We,message:o,title:c}=a,s=Ve({height:l});return n().createElement("div",{className:d()(s.container,s[`${r}`])},n().createElement(i,{className:s.icon}),c&&n().createElement(Ue.Typography,{className:s.title},c),o&&n().createElement(Ue.Typography,{className:s.message},o),!!t&&n().createElement(Ue.Button,{className:s.refreshButton,startIcon:n().createElement(He.Z,{color:"primary",className:s.refreshIcon}),onClick:t,"data-reltio-id":"reltio-dq-dashboard-chart-refresh-button"},n().createElement(Ue.Typography,{variant:"button"},m().text("Refresh"))))},Ge=(0,ye.Z)({container:e=>{let{height:t}=e;return{height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",margin:"0 auto",paddingBottom:t>239?"30px":0,boxSizing:"border-box"}},small:{"& $icon":{maxHeight:"88px"},"& $message":{fontSize:"12px"},"& $title":{fontSize:"13px",fontWeight:400,marginBottom:0}},medium:{"& $icon":{maxHeight:"190px",marginBottom:"24px"}},large:{"& $icon":{maxHeight:"256px",marginBottom:"24px"}},icon:e=>{let{height:t}=e;return{paddingTop:0,marginBottom:t>170?"16px":"4px"}},message:{padding:"0 24px",fontSize:"14px",textAlign:"center",whiteSpace:"pre-wrap"},title:{padding:"0 24px",fontSize:"20px",textAlign:"center",color:"rgba(0,0,0,0.87)",fontWeight:500,marginBottom:"8px",whiteSpace:"pre-wrap"}}),Ze=g.B9.NO_DATA,$e=e=>{let{height:t,data:l={},variant:a=pe.SMALL}=e;const{Icon:r=Ze,message:i,title:o}=l,c=Ge({height:t});return n().createElement("div",{className:d()(c.container,c[`${a}`])},n().createElement(r,{className:c.icon}),o&&n().createElement(Ue.Typography,{className:c.title},o),i&&n().createElement(Ue.Typography,{className:c.message},i))},qe=(0,ye.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}}))),Qe=e=>{let{loadingState:t,onRefresh:l,children:a,data:r,className:i}=e;const o=qe();return n().createElement(je.Z,{className:d()(o.viewContent,i)},n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:i,height:o}=e;switch(t){case C.o.LOADED:return r&&0!==r.length?n().createElement(Fe.Z,{error:n().createElement(Ye,{errorData:{message:m().text("Something went wrong")},height:o,variant:pe.SMALL})},a({data:r,width:i,height:o})):n().createElement($e,{height:o,data:{Icon:g.B9.NO_DATA,message:m().text("Go ahead and load some data. We’ll put it on the scales and let you know here if it measures up."),title:m().text("Give us something to go on!")},variant:pe.SMALL});case C.o.LOADING:return n().createElement(Pe.Z,null);case C.o.ERROR:return n().createElement(Ye,{errorData:{Icon:g.B9.ERROR,message:m().text("No need to fret - just refresh and it will work itself out."),title:m().text("Oops! We ran into a problem.")},height:o,onRefresh:l,variant:pe.SMALL});default:return n().createElement("div",null,"Loading...")}})))};var Xe=l(10237);const Ke=(0,ye.Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),Je=e=>{let{config:t,children:l}=e;const a=Ke(),{type:i}=t,o=(0,r.useContext)(de);return n().createElement(Xe.Z,{className:a.view,"data-reltio-id":`reltio-dq-dashboard-chart-${i}-${o}`},l)},et=e=>{let{label:t,value:l}=e;const a=we();return n().createElement(n().Fragment,null,t&&n().createElement("span",{className:d()(a.label,a.infoDataLabel)},t),l)},tt={[s.s9T.MISSING]:"#CE5C00",[s.s9T.EXISTS]:"#C4CE00"},lt=(0,u.map)((e=>{let{group:t}=e;return tt[t]||(0,s.f4_)(t)})),at=e=>({[s.s9T.MISSING]:m().text("Missing"),[s.s9T.EXISTS]:m().text("Exists")}[e]||e),rt=(0,u.pipe)(Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:at(t),group:t,value:l}})),(0,u.sortBy)((e=>Object.values(s.s9T).indexOf(e.group))),k),nt=(0,u.pipe)((0,u.propOr)({},"statistic"),u.toPairs,(0,u.reduce)(((e,t)=>{let[l,a]=t;return null!=a&&a.fillRate&&(e[l]=rt(a.fillRate)),e}),{})),it=(0,u.propOr)({},"fillRate"),ot=(0,u.pipe)(it,rt,(0,u.when)(F,(0,u.always)([])),(0,u.converge)(((e,t)=>({chartData:e,colors:t})),[u.identity,lt])),ct=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:t===s.s9T.EXISTS?s.j5E.EXISTS:s.j5E.MISSING_VALUE,fieldName:l}]})),st=P(ct),pt=e=>{const{data:t,state:l,reload:a}=(0,r.useContext)(S),n=(0,r.useMemo)((()=>e(t)),[t,e]);return(0,r.useMemo)((()=>({data:n,state:l,reload:a})),[n,l,a])},dt=e=>{let{keyword:t,entityTypeUri:l}=e;return{keyword:{value:t,isRawFilter:!0},advanced:[M(l)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}},ut=e=>{let{fieldName:t,value:l,entityTypeUri:a}=e;return dt({keyword:`${s.j5E.EQUALS}(${t}, ${l})`,entityTypeUri:a})},ft=(0,u.curry)(((e,t,l)=>{var a;const r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.length>0?`(${s.NlI.NOT_LIST_EQUALS}(type, ${e.join(",")}))`:""}((0,s.k3T)(e,t)),n=null==l||null===(a=l.keyword)||void 0===a?void 0:a.value;if(r){const e=n?`(${n}) and ${r}`:r;return(0,u.assoc)("keyword",{value:e,isRawFilter:!0},l)}return l})),mt=e=>{const t=(0,i.useDispatch)(),l=(0,i.useSelector)(v.ZP.selectors.getMetadata),a=(0,r.useContext)(R),n=(0,r.useContext)(N);return(0,u.pipe)(e({detailedAttributeType:a,entityTypeUri:n.uri}),ft(l,n.uri),v.ui.actions.openSearch,t)},ht=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:r,reload:i}=pt(ot),{chartData:o,colors:c}=a,s=mt(st),p=n().createElement(Te,{title:m().text("Fill rate"),data:[{label:`${m().text("Exists")}:`,value:m().text("Profiles with data")},{label:`${m().text("Missing")}:`,value:m().text("Profiles without data")}],DataRenderer:et});return n().createElement(Je,{config:t},n().createElement(ke,{title:l,infoTooltipTitle:p}),n().createElement(Qe,{data:o,loadingState:r,onRefresh:i},(e=>{let{data:t}=e;return n().createElement(Ie,{data:t,colors:c,onItemClick:s})})))},yt={[s.dC6.UNIQUE]:"#4BAFFF",[s.dC6.NOT_UNIQUE]:"#C34980"},gt=(0,u.map)((e=>{let{group:t}=e;return yt[t]||(0,s.f4_)(t)})),vt=e=>({[s.dC6.UNIQUE]:m().text("Unique"),[s.dC6.NOT_UNIQUE]:m().text("Not unique")}[e]||e),Et=(0,u.pipe)(Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:vt(t),group:t,value:l}})),(0,u.sortBy)((e=>Object.values(s.dC6).indexOf(e.group))),k),bt=(0,u.propOr)({},"uniqueness"),xt=(0,u.pipe)(bt,Et,(0,u.when)(F,(0,u.always)([])),(0,u.converge)(((e,t)=>({chartData:e,colors:t})),[u.identity,gt])),Ot=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:r,reload:i}=pt(xt),{chartData:o,colors:c}=a,s=n().createElement(Te,{title:m().text("Uniqueness analysis"),data:[{label:`${m().text("Unique")}:`,value:m().text("Number of values that only appear once and have no duplicates")},{label:`${m().text("Not unique")}:`,value:m().text("Number of values that have at least one duplicate in the list")}],DataRenderer:et});return n().createElement(Je,{config:t},n().createElement(ke,{title:l,infoTooltipTitle:s}),n().createElement(Qe,{data:o,loadingState:r,onRefresh:i},(e=>{let{data:t}=e;return n().createElement(Ie,{data:t,colors:c})})))};var wt=l(7089);function St(){return St=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},St.apply(this,arguments)}const Rt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",St({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#6663F6"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4 14.4h2.411c.016-.205.047-.405.093-.6H8.4v-1.2h3.012c.137-.215.296-.416.472-.6H8.4v-1.2h6v.011a3.896 3.896 0 011.8.287V8.4c0-.66-.54-1.2-1.2-1.2H7.8c-.66 0-1.2.54-1.2 1.2v7.8c0 .66.54 1.2 1.2 1.2h4.083a3.892 3.892 0 01-.979-1.8H8.4v-1.2zm6-4.2h-6V9h6v1.2zm2.58 5.934L18.852 18l-.852.852-1.872-1.872a2.66 2.66 0 01-1.434.42A2.695 2.695 0 0112 14.7c0-1.494 1.206-2.7 2.7-2.7 1.494 0 2.7 1.206 2.7 2.7 0 .528-.156 1.014-.42 1.434zm-2.28.066a1.5 1.5 0 10-.001-3.001A1.5 1.5 0 0014.7 16.2z",fill:"#fff"}))};function Tt(){return Tt=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},Tt.apply(this,arguments)}const Nt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Tt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#1DACF5"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4 9.6H9.3L12 6.9l2.7 2.7h-2.1v3.846l-3.6 3.6-.846-.846 3.246-3.246V9.6zm4.446 6.6l-.846.846L12.954 15l.846-.846 2.046 2.046z",fill:"#fff"}))};function Ct(){return Ct=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},Ct.apply(this,arguments)}const At=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Ct({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#7F22FD"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.4 9v1.2h1.2V9H8.4zm0 2.4v1.2h1.2v-1.2H8.4zm0 2.4V15h1.2v-1.2H8.4zM10.8 9v1.2h4.8V9h-4.8zm0 2.4v1.2h4.8v-1.2h-4.8zm0 2.4V15h4.8v-1.2h-4.8zm6-6v8.4H7.2V7.8h9.6zm1.2 9V6.6H6V17.4h12v-.6z",fill:"#fff"}))};function _t(){return _t=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},_t.apply(this,arguments)}const It=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",_t({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#4B31E9"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.8 15.6h1.8V15a.6.6 0 01.6-.6h2.4a.6.6 0 01.6.6v2.4a.6.6 0 01-.6.6h-2.4a.6.6 0 01-.6-.6v-.6h-3V9.6H8.4a.6.6 0 01-.6-.6V6.6a.6.6 0 01.6-.6H12a.6.6 0 01.6.6V9a.6.6 0 01-.6.6h-1.2v1.8h1.8v-.6a.6.6 0 01.6-.6h2.4a.6.6 0 01.6.6v2.4a.6.6 0 01-.6.6h-2.4a.6.6 0 01-.6-.6v-.6h-1.8v3z",fill:"#fff"}))};function Dt(){return Dt=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},Dt.apply(this,arguments)}const Mt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Dt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#80D2FC"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6c-3.312 0-6 2.688-6 6s2.688 6 6 6 6-2.688 6-6-2.688-6-6-6zm-.6 4.96V9h1.2v1.96l1.698-.98.6 1.04L13.2 12l1.698.98-.6 1.04-1.698-.98V15h-1.2v-1.96l-1.698.98-.6-1.04L10.8 12l-1.698-.98.6-1.04 1.698.98zM7.2 12c0 2.646 2.154 4.8 4.8 4.8s4.8-2.154 4.8-4.8-2.154-4.8-4.8-4.8A4.806 4.806 0 007.2 12z",fill:"#fff"}))},Lt=(0,ye.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}},loading:{"& circle":{fill:"#AAAAAA"}},badQuality:{"& circle":{fill:"#FF1744"}}}),Bt={SMALL:{width:22,height:22},NORMAL:{width:24,height:24}};let kt;!function(e){e.LOADING="loading",e.BAD_QUALITY="badQuality",e.NORMAL="normal"}(kt||(kt={}));const zt=e=>{let{detailType:t,size:l=Bt.NORMAL,variant:a=kt.NORMAL}=e;const r=Lt(l),i=d()(r.icon,r[a]);switch(t){case q.RDM_LOOKUP:return n().createElement(At,{className:i});case q.CONTAIN_VF:return n().createElement(Rt,{className:i});case q.INCLUDED_IN_MATCHING:return n().createElement(Nt,{className:i});case q.REFERENCE:return n().createElement(It,{className:i});case q.REQUIRED:return n().createElement(Mt,{className:i});default:return null}},Ft=(0,ye.Z)({root:{height:"24px",maxWidth:"calc(100% - 8px)",margin:"0 4px 4px 0",borderRadius:"12px"},label:{fontSize:"12px",paddingLeft:"8px",paddingRight:"9px"},badQuality:{backgroundColor:"rgba(255, 23, 68, 0.12)"}});function jt(){return jt=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},jt.apply(this,arguments)}function Pt(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Ut(e,t,l[t])}))}return e}function Ut(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ht=e=>{let{detailType:t,classes:l}=e,a=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["detailType","classes"]);const i=Ft(),{data:o,state:c}=(0,r.useContext)(S);let p=kt.NORMAL;const u=c===C.o.LOADING,f=(e=>{var t;return 0===(null==e||null===(t=e.fillRate)||void 0===t?void 0:t[s.s9T.MISSING])})(o);return t===q.REQUIRED&&(u&&(p=kt.LOADING),u||f||(p=kt.BAD_QUALITY)),n().createElement(wt.Z,jt({classes:Pt({root:d()(i.root,{[i.badQuality]:t===q.REQUIRED&&!u&&c!==C.o.INIT&&!f}),label:i.label},l),label:oe(t),icon:n().createElement(zt,{detailType:t,variant:p})},a))},Vt=(0,ye.Z)({root:{display:"flex",flexWrap:"wrap",flexGrow:1}}),Wt=e=>{let{details:t,chipClasses:l={}}=e;const a=Vt();return n().createElement("div",{className:a.root},Object.entries(t||{}).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return n().createElement(Ht,{key:t,detailType:t,classes:l})})))},Yt=(0,ye.Z)({header:{display:"flex",paddingBottom:"16px"},info:{display:"flex",flexDirection:"column","&:not(:last-child)":{borderRight:"1px solid rgba(0,0,0,0.12)"}},entitySummary:{"&:not(:last-child)":{paddingRight:"48px",marginRight:"16px"}},attributeTypeSummary:{"&:not(:last-child)":{paddingRight:"24px",marginRight:"24px"}},infoTitle:{color:"rgba(0,0,0,0.54)",fontSize:"12px",lineHeight:"16px"},infoContent:{fontSize:"30px",lineHeight:"35px",padding:"4px 0 0",display:"flex",alignItems:"center"},attributeTypeIconWrapper:{width:"32px",height:"33px",background:"rgba(0, 0, 0, 0.05)",borderRadius:"4px",position:"relative",marginRight:"12px",flexShrink:0,"& svg":{position:"absolute",transform:"translate(-50%, -50%)",top:"50%",left:"50%"}},totalLoading:{padding:"4px 8px"}}),Gt=e=>{let{title:t,children:l,className:a}=e;const r=Yt();return n().createElement("div",{className:d()(r.info,a)},n().createElement("div",{className:r.infoTitle},t),n().createElement("div",{className:r.infoContent},l))};function Zt(){return Zt=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},Zt.apply(this,arguments)}const $t=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Zt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg1279746712a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"15",height:"8"},n().createElement("path",{d:"M11.667 4H5C2.793 4 1 5.793 1 8s1.793 4 4 4h6.667c2.206 0 4-1.793 4-4s-1.794-4-4-4zm0 6.667H5a2.666 2.666 0 110-5.334h6.667a2.666 2.666 0 110 5.334zm0-4.667c-1.107 0-2 .893-2 2s.893 2 2 2c1.106 0 2-.893 2-2s-.894-2-2-2z",fill:"#000"})),n().createElement("g",{mask:"url(#svg1279746712a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function qt(){return qt=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},qt.apply(this,arguments)}const Qt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",qt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg208732808a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"14",height:"14"},n().createElement("path",{d:"M7.992 1.333A6.663 6.663 0 001.332 8c0 3.68 2.98 6.667 6.66 6.667A6.67 6.67 0 0014.665 8a6.67 6.67 0 00-6.673-6.667zm.007 12A5.332 5.332 0 012.665 8 5.332 5.332 0 018 2.667 5.332 5.332 0 0113.332 8a5.332 5.332 0 01-5.333 5.333zm.333-8.666h-1v4l3.5 2.1.5-.82-3-1.78v-3.5z",fill:"#000"})),n().createElement("g",{mask:"url(#svg208732808a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Xt(){return Xt=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},Xt.apply(this,arguments)}const Kt=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Xt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg1638934380a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"4",width:"13",height:"8"},n().createElement("path",{d:"M5.948 10.02V12h-.88v-1.98h-.88V12h-.88v-1.98h-.77v-.825h.77v-2.2h-.77V6.17h.77V4.3h.88v1.87h.88V4.3h.88v1.87h.77v.825h-.77v2.2h.77v.825h-.77zm-.88-3.025h-.88v2.2h.88v-2.2zM7.947 12v-1.1h1.1V12h-1.1zM13.65 10.02V12h-.88v-1.98h-.88V12h-.88v-1.98h-.77v-.825h.77v-2.2h-.77V6.17h.77V4.3h.88v1.87h.88V4.3h.88v1.87h.77v.825h-.77v2.2h.77v.825h-.77zm-.88-3.025h-.88v2.2h.88v-2.2z",fill:"#000"})),n().createElement("g",{mask:"url(#svg1638934380a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Jt(){return Jt=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},Jt.apply(this,arguments)}const el=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",Jt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("path",{d:"M2.11 12v-.825h1.331V5.169L2 5.741v-.89L3.331 4.3h1.045v6.875h1.089V12H2.11zM5.968 11.032l1.65-2.508c.242-.367.403-.62.484-.759.08-.147.136-.29.165-.429.03-.14.044-.341.044-.605v-.77a.778.778 0 00-.253-.583c-.169-.161-.389-.242-.66-.242h-1.21V4.3h1.1c.638 0 1.126.158 1.463.473.345.308.517.774.517 1.397v.462c0 .367-.018.645-.055.836-.037.19-.103.37-.198.539-.088.169-.264.455-.528.858l-1.518 2.299h2.519V12h-3.52v-.968zM13.544 10.262c0 .609-.147 1.052-.44 1.331-.293.271-.77.407-1.43.407h-1.298v-.825h1.397c.279 0 .484-.062.616-.187.132-.132.198-.337.198-.616V9.239c0-.242-.073-.433-.22-.572-.147-.147-.341-.22-.583-.22h-1.067v-.825h.957a.797.797 0 00.572-.22.768.768 0 00.231-.583v-.902c0-.279-.066-.48-.198-.605-.125-.125-.326-.187-.605-.187h-1.298V4.3h1.166c.623 0 1.093.14 1.408.418.323.271.484.704.484 1.298v.693c0 .565-.202.99-.605 1.276.477.264.715.715.715 1.353v.924z",fill:"#000",fillOpacity:".541"}))};function tl(){return tl=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},tl.apply(this,arguments)}const ll=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",tl({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg924767730a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"13",height:"8"},n().createElement("path",{d:"M5.463 10.13c0 .623-.173 1.093-.517 1.408-.338.308-.825.462-1.463.462H2.03v-.836h1.562c.271 0 .491-.08.66-.242a.778.778 0 00.253-.583V9.195c0-.22-.059-.396-.176-.528-.11-.14-.279-.209-.506-.209h-.22c-.543 0-.972-.158-1.287-.473-.316-.323-.473-.788-.473-1.397V6.17c0-.623.168-1.089.506-1.397.344-.315.836-.473 1.474-.473h1.463v.836H3.714c-.272 0-.492.08-.66.242a.778.778 0 00-.253.583v.836c0 .227.073.418.22.572.146.147.337.22.572.22h.22c.52 0 .924.15 1.21.451.293.3.44.755.44 1.364v.726zM9.136 10.13c0 .623-.173 1.093-.517 1.408-.338.308-.825.462-1.463.462H5.704v-.836h1.562c.27 0 .49-.08.66-.242a.778.778 0 00.253-.583V9.195c0-.22-.06-.396-.176-.528-.11-.14-.28-.209-.506-.209h-.22c-.543 0-.972-.158-1.287-.473-.316-.323-.473-.788-.473-1.397V6.17c0-.623.168-1.089.506-1.397.344-.315.836-.473 1.474-.473H8.96v.836H7.387c-.272 0-.492.08-.66.242a.778.778 0 00-.253.583v.836c0 .227.073.418.22.572.146.147.337.22.572.22h.22c.52 0 .924.15 1.21.451.293.3.44.755.44 1.364v.726zM12.255 12l-1.683-6.886V12H9.68V4.3h1.562l1.694 6.886V4.3h.89V12h-1.572z",fill:"#000"})),n().createElement("g",{mask:"url(#svg924767730a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function al(){return al=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},al.apply(this,arguments)}const rl=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",al({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("mask",{id:"svg3578961193a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"14",height:"8"},n().createElement("path",{d:"M5.345 12l-.418-1.947H2.782L2.353 12h-.979l1.86-7.7h1.264L6.324 12h-.979zM3.85 5.026l-.89 4.202H4.75L3.85 5.026zM10.494 10.262c0 .63-.146 1.078-.44 1.342-.286.264-.763.396-1.43.396h-2.09V4.3h1.958c.653 0 1.13.132 1.43.396.308.264.462.704.462 1.32v.627c0 .565-.202.99-.605 1.276.477.264.715.715.715 1.353v.99zM9.427 5.917c0-.279-.066-.48-.198-.605-.125-.125-.326-.187-.605-.187H7.491v2.431h1.133a.797.797 0 00.572-.22.768.768 0 00.231-.583v-.836zm.11 3.256c0-.242-.073-.433-.22-.572-.147-.147-.34-.22-.583-.22H7.491v2.794h1.232c.279 0 .484-.062.616-.187.132-.132.198-.337.198-.616V9.173zM13.119 12c-.638 0-1.13-.154-1.474-.462-.337-.315-.506-.785-.506-1.408V6.17c0-.623.169-1.089.506-1.397.345-.315.836-.473 1.474-.473h1.342v.836h-1.452c-.271 0-.491.08-.66.242a.778.778 0 00-.253.583v4.378c0 .227.084.422.253.583.169.161.389.242.66.242h1.452V12h-1.342z",fill:"#000"})),n().createElement("g",{mask:"url(#svg3578961193a)"},n().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))},nl=(0,ye.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}}}),il={SMALL:{width:16,height:16},NORMAL:{width:24,height:24}},ol=e=>{let{type:t,size:l=il.SMALL}=e;const a=nl(l);switch(U(t)){case x.STRING:return n().createElement(rl,{className:a.icon});case x.FLOAT:return n().createElement(Kt,{className:a.icon});case x.INTEGER:return n().createElement(el,{className:a.icon});case x.BOOLEAN:return n().createElement($t,{className:a.icon});case x.DATE:return n().createElement(Qt,{className:a.icon});case x.SSN:return n().createElement(ll,{className:a.icon});default:return n().createElement(rl,{className:a.icon})}},cl=e=>{let{detailedAttributeType:t}=e;const l=Yt(),a=(e=>{const[t,l]=(0,r.useState)(null),a=(0,r.useContext)(N),n=(0,A._)();return(0,r.useEffect)((()=>{if(a.uri&&e){const t={filter:s.j5E.EXISTS,fieldName:e},r={filter:s.j5E.EQUALS,fieldName:"type",values:[a.uri]},i={searchOptions:"strictTypeSearch"};l(null),n((0,s.j_Q)([t,r],i)).then((e=>{let{total:t}=e;return l(t)})).catch(console.error)}}),[a.uri,e]),t})(t.fieldName),i=null===a?n().createElement(Ue.CircularProgress,{size:"24",className:l.totalLoading}):(0,s.k7L)(a);return n().createElement("div",null,n().createElement("div",{className:l.header},n().createElement(Gt,{title:m().text("Profiles"),className:l.attributeTypeSummary},n().createElement(Ue.Tooltip,{title:n().createElement(Te,{data:[{label:m().text("Entities with exists attribute"),value:m().number(a)}]})},n().createElement("div",null,i))),n().createElement(Gt,{title:m().text("Data type"),className:l.attributeTypeSummary},(o=t.type,n().createElement(n().Fragment,null,n().createElement("div",{className:l.attributeTypeIconWrapper},n().createElement(ol,{type:o,size:il.NORMAL})),m().text(o))))),n().createElement(Wt,{details:t.details}));var o},sl=e=>{let{entityType:t}=e;const{data:l,state:a}=(0,r.useContext)(S),o=((e,t)=>{const l=t.attributes||[],a=t=>t.filter(s.Uty).filter((0,u.either)((0,u.prop)("label"),(0,u.prop)("name"))).reduce(((t,l)=>{const r=(0,s.EUG)(e,l);return null!=r&&r.length?[...t,l,...a(r)]:[...t,l]}),[]);return a(l).length})((0,i.useSelector)(v.ZP.selectors.getMetadata),t),{activeProfiles:c=0,inactiveProfiles:p=0,sourceSystems:d=0}=(null==l?void 0:l.summary)||{},f=e=>a===C.o.LOADING?n().createElement(Ue.CircularProgress,{size:"24",className:h.totalLoading}):m().number(e),h=Yt();return n().createElement("div",{className:h.header},n().createElement(Gt,{title:m().text("Active profiles"),className:h.entitySummary},f(c)),n().createElement(Gt,{title:m().text("Inactive profiles"),className:h.entitySummary},f(p)),n().createElement(Gt,{title:m().text("Attributes"),className:h.entitySummary},m().number(o)),n().createElement(Gt,{title:m().text("Source systems"),className:h.entitySummary},f(d)))},pl=(0,ye.Z)({content:{padding:"0 16px",marginTop:"4px"}}),dl=e=>{let{config:t}=e;const l=pl(),a=(0,r.useContext)(R),i=(0,r.useContext)(de),o=(0,r.useContext)(N),c=i===s.yn8.ATTRIBUTE_TYPE,p=c?(0,s.idV)(a.label):`${m().text("Entity")}: ${(0,s.idV)(o.label)}`;return n().createElement(Je,{config:t},n().createElement(ke,{title:p}),n().createElement(je.Z,{className:l.content},c?n().createElement(cl,{detailedAttributeType:a}):n().createElement(sl,{entityType:o})))};var ul=l(58141);const fl=(0,ye.Z)({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}});function ml(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){hl(e,t,l[t])}))}return e}function hl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const yl=g.B9.ERROR,gl=e=>{let{config:t,errorData:l,titleChildren:a,infoTooltipTitle:r,onRefresh:i}=e;const{id:o,title:c}=t,s=fl();return n().createElement(ul.Z,{id:o},n().createElement(ke,{title:c,infoTooltipTitle:r},a),n().createElement(je.Z,{className:s.viewContent},n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},n().createElement(Ye,{errorData:ml({Icon:yl},l),onRefresh:i,variant:pe.SMALL}))))};function vl(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){El(e,t,l[t])}))}return e}function El(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const bl=e=>(0,u.pipe)((0,u.propOr)({},e),Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),k),xl=e=>{let{sortDirection:t,sortField:l}=e;return(e,a)=>"asc"===t?e[l]>a[l]?1:-1:e[l]<a[l]?1:-1},Ol=(e,t)=>t.filter((t=>e.find((0,u.propEq)("uri",t.group)))),wl=(e,t)=>e.find((0,u.propEq)("uri",t)),Sl=(0,u.curry)(((e,t)=>(0,u.pipe)(Ol,(0,u.map)((t=>{var l;return vl({},t,{label:null===(l=wl(e,t.group))||void 0===l?void 0:l.name})})))(e,t))),Rl=(0,u.pipe)((0,u.map)($),(0,u.slice)(1,1/0),(0,u.join)(" / ")),Tl=(0,u.curry)(((e,t,l)=>(0,u.pipe)(Ol,(0,u.map)((l=>{const{name:a,attribute:r}=wl(e,l.group),n=(0,s.X3M)(t,r);return vl({},l,{label:a,attributeLabel:Rl(n)})})))(e,l))),Nl=bl("frequency"),Cl=bl("pattern"),Al=(e,t)=>`${e}/analyticsAttributes/AttributeValidations/analyticsAttributes/${t}`,_l=(e,t)=>{let{name:l,uri:a}=e;return[{filter:s.j5E.EQUALS,values:[[l]],fieldName:"analyticsAttributes.AttributeValidations.FunctionName",uri:Al(t,"FunctionName")},{filter:s.j5E.EQUALS,values:[[a]],fieldName:"analyticsAttributes.AttributeValidations.FunctionURI",uri:Al(t,"FunctionURI")}]},Il=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}`,value:t,entityTypeUri:a})})),Dl=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:s.j5E.ON,values:[t],fieldName:l}]})),Ml=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:s.j5E.EQUALS,values:[[t]],fieldName:l}]})),Ll=e=>{let{detailedAttributeType:t,entityTypeUri:l}=e;return(0,u.cond)([[s.j5n,(0,u.always)(Il)],[s.Lt4,(0,u.always)(P(Dl))],[u.identity,(0,u.always)(P(Ml))]])(t.type)({detailedAttributeType:t,entityTypeUri:l})},Bl=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.pattern`,value:`"${t}"`,entityTypeUri:a})})),kl=e=>`(${e.length>=100?m().text("top")+" 100":e.length})`;var zl=l(31276),Fl=l(85709),jl=l(88611),Pl=l(92332);const Ul=(0,u.pipe)((0,u.split)("|"),(e=>{let[t,l]=e;return{label:t,maxValue:l}}));function Hl(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Vl(e,t,l[t])}))}return e}function Vl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Wl={content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"},Yl={content:'""',position:"absolute",background:"rgba(0, 0, 0, 0.38)",width:"1px",height:"3px",bottom:0,left:0},Gl=(0,ye.Z)((e=>({colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",padding:"5px 0 6px",height:"100%",boxSizing:"border-box","&>span":{display:"block"},"&>span>div":{opacity:1,zIndex:1}},number:{fontSize:"13px",lineHeight:"15px",fontWeight:"normal",color:e.palette.text.primary,flexShrink:0,width:"90px",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},numberContainer:{display:"flex",flexDirection:"row",alignItems:"center",padding:"0 10px 0 16px",height:"100%"},bar:{borderRadius:"0 !important",minHeight:"16px !important",position:"initial !important","&:hover":{"&:after":{background:"rgba(0, 0, 0, 0.1)"}},"&:after":{content:'""',position:"absolute",top:"2px",left:"-3px",right:"-2px",bottom:"3px",transition:"background 0.3s"}},tooltipTitle:{color:"rgba(255, 255, 255, 0.6)"},headCell:{height:"100%",lineHeight:"47px","&>div":{padding:"0 10px 0 16px",display:"flex"},"&>div>span":{width:"100%",flexGrow:1,justifyContent:e=>e?"flex-start":"flex-end",flexDirection:e=>e?"row":"row-reverse",marginLeft:e=>e&&"auto!important"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"47px",whiteSpace:"nowrap",overflow:"hidden","&:after":Wl},labelPercantageWrapper:{display:"flex",flexGrow:1},labelWrapper:{minWidth:"90px",position:"relative"},rangeWrapper:{marginLeft:"16px",display:"flex",width:"100%",lineHeight:"24px",alignItems:"flex-end",position:"relative","&:before":Yl,"&:after":Hl({},Yl,{right:0,left:"initial"})},rangeWrapperSortable:{marginLeft:"12px"},rangeLabel:{color:e.palette.text.secondary,fontSize:"12px","&:first-child":{flexGrow:1}},attribute:{color:e.palette.text.primary,fontSize:"13px",fontWeight:"normal",lineHeight:"15px",whiteSpace:"pre",overflow:"hidden",display:"flex",alignItems:"center",height:"100%",padding:"0 16px","&:after":Wl},tooltipValue:{whiteSpace:"pre-wrap"}})));function Zl(){return Zl=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},Zl.apply(this,arguments)}function $l(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){ql(e,t,l[t])}))}return e}function ql(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ql=e=>{let{className:t,headCellData:l,headIndex:a}=e,r=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","headCellData","headIndex"]);const i=Gl(!a),{label:o,maxValue:c}=Ul(l.label),p=(0,s.k7L)(Number(c),999),u=!!c,f=n().createElement(jl.C,{value:o},n().createElement("div",{className:i.headLabel},o));return n().createElement("div",{className:d()(i.headCell,t)},n().createElement(Pl.default,Zl({},r,{headCellData:$l({},l,{label:u?n().createElement("div",{className:i.labelPercantageWrapper},n().createElement("div",{className:i.labelWrapper},f),n().createElement("div",{className:d()(i.rangeWrapper,{[i.rangeWrapperSortable]:l.sortable})},n().createElement("span",{className:i.rangeLabel},"0"),n().createElement("span",{className:i.rangeLabel},p))):f})})))};var Xl=l(99256),Kl=l(32528);const Jl=(0,Kl.Z)(((e,t)=>{let{onItemClick:l}=e,{rowValue:{group:a}}=t;return{onClick:l&&(()=>{l(a)})}}))((e=>{let{value:t="",columnData:l,rowValue:a,onClick:r}=e;const{cellClassName:i,labelRenderer:o}=l,c=Gl(),p=(0,Xl.d)(r),u=n().createElement("div",{className:c.tooltipValue},t),f=!!o;return n().createElement(jl.C,{value:u},n().createElement("div",{className:d()(c.attribute,p,i),onClick:r},f?n().createElement(o,{chartData:a}):s.P6Y.strings.removeLineBreaks(t)))}));var ea=l(43290);const ta=(0,me.Z)((e=>{let{value:t,maxValue:l,className:a}=e;return n().createElement(ea.Z,{width:t,maxWidth:l,className:a})})),la=(0,Kl.Z)(((e,t)=>{let{onItemClick:l,columnsHeaders:a}=e,{rowValue:{group:r}}=t;return{onClick:l&&(()=>{l(r)}),columnsHeaders:a}}))((e=>{let{value:t,columnData:{maxValue:l},rowValue:a,columnsHeaders:r,onClick:i}=e;const o=Gl(),c=(0,Xl.d)(i),p=0===t?"0":(0,s.k7L)(t,999),f=e=>"value"===e?m().number(t):a[e],h=n().createElement(Te,{data:r.map((e=>{let{label:t,id:l}=e;return{label:n().createElement("span",{className:o.tooltipValue},t),value:f(l)}}))});return n().createElement("div",{className:d()(o.numberContainer,c),onClick:i},n().createElement(Ue.Typography,{className:o.number},p),!(0,u.isNil)(l)&&n().createElement("div",{className:o.colorBarContainer},n().createElement(ta,{value:t,maxValue:l,tooltipTitle:h,className:o.bar,showForDisabled:!0})))})),aa=(0,ye.Z)({tableContainer:e=>{let{width:t,height:l}=e;return{height:l,width:t,display:"flex",flexDirection:"column"}},cellBorder:{borderLeft:"none",borderRight:"none!important"}});function ra(){return ra=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},ra.apply(this,arguments)}function na(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const ia=(e,t)=>t?`${e} ${t}`:e,oa=e=>{let{width:t,height:l,data:a,columnsOptions:i,basicTableRef:o,onItemClick:c}=e,s=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["width","height","data","columnsOptions","basicTableRef","onItemClick"]);const p=aa({width:t,height:l}),d=(0,r.useMemo)((()=>({cellBorder:p.cellBorder})),[p]),f=(0,r.useMemo)((()=>Math.max(...(0,u.pluck)("value",a))),[a]),m=(0,r.useMemo)((()=>i.map((e=>function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){na(e,t,l[t])}))}return e}({resizable:!1,sortable:!1,headCellRenderer:Ql,rowCellValueRenderer:Jl,label:ia(e.label,e.secondLabel),initialWidth:t*e.width},"value"===e.id?{label:ia(e.label,e.secondLabel).concat(`|${f}`),maxValue:f,rowCellValueRenderer:la}:{},(0,u.omit)(["label","width"],e))))),[i,f,t]),h=(0,r.useMemo)((()=>i.map((0,u.pick)(["id","label"]))),[i]),y=(0,r.useMemo)((()=>({onItemClick:c,columnsHeaders:h})),[c,h]);return n().createElement("div",{className:p.tableContainer},n().createElement(Fl.Z,ra({columnsData:m,rowsData:a,headRowHeight:48,getRowCellHeight:()=>28,classes:d,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:o,context:y},s)))},ca=(0,ye.Z)((()=>({layoutItemContent:{padding:"0 0 10px"}}))),sa=(0,he.Z)((e=>{let{config:t,data:l,title:a,columnsOptions:i,infoTooltipTitle:o,customComparator:c,onItemClick:s,titleChildren:p,state:d,onRefresh:u}=e;const f=ca(),[m,h]=(0,r.useState)("desc"),[y,g]=(0,r.useState)("value"),v=(0,r.useCallback)(((e,t)=>c?c({sortDirection:m,sortField:y})(e,t):xl({sortDirection:m,sortField:y})(e,t)),[m,y,c]),E=e=>{h((()=>y===e?(0,zl.Dh)(m):m)),g(e)},b=(0,r.useMemo)((()=>[...l.sort(v)]),[v,l]);return n().createElement(Je,{config:t},n().createElement(ke,{title:a,infoTooltipTitle:o},p),n().createElement(Qe,{className:f.layoutItemContent,data:b,loadingState:d,onRefresh:u},(e=>{let{data:t,width:l=0,height:a=0}=e;return n().createElement(oa,{data:t,width:l,height:a,columnsOptions:i,sorting:{field:y,order:m},onSort:E,onItemClick:s})})))}));function pa(){return pa=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},pa.apply(this,arguments)}const da=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",pa({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),n().createElement("mask",{id:"svg1830866123a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),n().createElement("g",{mask:"url(#svg1830866123a)"},n().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},n().createElement("path",{d:"M12.375 18.688a7 7 0 017-7h75.742a7 7 0 017 7v49.02a7 7 0 01-7 7H19.375a7 7 0 01-7-7v-49.02z"}),n().createElement("path",{opacity:".4",d:"M16.844 22.813a7 7 0 017-7h75.741a7 7 0 017 7v49.02a7 7 0 01-7 7H23.844a7 7 0 01-7-7v-49.02z"})),n().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"29.318",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 31.381a3.562 3.562 0 013.552-3.563 3.562 3.562 0 013.552 3.563 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),n().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 29.052c0-.726.588-1.313 1.313-1.313h23.983a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),n().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 33.553c0-.518.42-.938.938-.938h43.37a.938.938 0 010 1.876h-43.37a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 36.554c0-.31.252-.563.563-.563h13.993a.563.563 0 110 1.126H31.26a.563.563 0 01-.563-.563z",fill:"#B1AABD"}),n().createElement("rect",{opacity:".5",x:"19.854",y:"17.689",width:"29.914",height:"4.126",rx:"2.063",fill:"#645F6D"}),n().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"43.573",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),n().createElement("rect",{x:"19.854",y:"42.072",width:"7.105",height:"7.127",rx:"3.552",fill:"#E3EBF4"}),n().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 43.306c0-.725.588-1.313 1.313-1.313h28.41a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),n().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 47.808c0-.518.42-.938.938-.938h48.23a.938.938 0 110 1.876h-48.23a.938.938 0 01-.938-.938z",fill:"#B1AABD"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 50.809c0-.31.252-.563.563-.563h38.884a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),n().createElement("ellipse",{opacity:".5",cx:"87.908",cy:"57.828",rx:"1.496",ry:"1.5",fill:"#6DBCFF"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.854 59.891a3.562 3.562 0 013.552-3.564 3.562 3.562 0 013.552 3.564 3.562 3.562 0 01-3.552 3.564 3.562 3.562 0 01-3.552-3.564z",fill:"#E3EBF4"}),n().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 57.561c0-.725.588-1.313 1.313-1.313h38.132a1.313 1.313 0 110 2.626H32.01a1.313 1.313 0 01-1.313-1.313z",fill:"#B1AABD"}),n().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 62.063c0-.518.42-.938.938-.938h31.778a.938.938 0 110 1.875H31.635a.938.938 0 01-.938-.937z",fill:"#B1AABD"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M30.697 65.064c0-.311.252-.563.563-.563h13.993a.563.563 0 110 1.125H31.26a.563.563 0 01-.563-.562z",fill:"#B1AABD"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.094h88V88H0V3.094z",fill:"url(#paint0_linear_3200_4362)"}),n().createElement("path",{d:"M79.893 76.85H21.308v14.184h58.585V76.85z",fill:"#F5C056"}),n().createElement("path",{d:"M79.893 76.85H74.6v14.184h5.293V76.85z",fill:"#E99B00"}),n().createElement("path",{d:"M48.73 76.893H26.283v14.184H48.73V76.893z",fill:"#FFEA5A"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M44.894 57.829c-1.687-4.26 13.113-4.043 11.413 0-1.353 3.218-1.353 7.53 0 12.934H44.894C46 64.93 46 60.618 44.894 57.83z",fill:"#FFD264"}),n().createElement("path",{d:"M61.253 70.383H39.949v2.663h21.304v-2.663z",fill:"#FFD264"}),n().createElement("path",{d:"M47.938 70.383h-4.185v2.663h4.185v-2.663z",fill:"#FFEA5A"}),n().createElement("path",{d:"M64.676 73.046h-28.15v3.804h28.15v-3.804z",fill:"#795D1A"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.764 16.363v5.325H15.602v.143c0 13.634 8.992 24.714 20.162 24.961v2.994c-14-.986-25.108-15.488-25.108-33.233v-.19h25.108z",fill:"#FFCB64"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.677 16.363v5.325h20.161v.143c0 13.634-8.991 24.714-20.161 24.961v2.994c13.999-.986 25.107-15.488 25.107-33.233v-.19H64.677z",fill:"#ED985C"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.307 57.829c-1.353 3.218-1.353 7.53 0 12.934h-5.706V54.715c3.278.026 6.556 1.091 5.706 3.114z",fill:"#F4B046"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M64.676 73.046v3.804H50.601v-3.804h14.075z",fill:"#4F350B"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M61.253 70.383v2.663H50.6v-2.663h10.652z",fill:"#F4B046"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M74.933 10.656a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-11.43 0-23.311-20.1-24.449-45.65h2.194l-.38-3.044h-1.898a91.212 91.212 0 01.01-2.663h49.045z",fill:"#FFCE66"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45.937 10.656c.006.569.01 1.14.01 1.712v.952h-.044l-.241 3.043h.294c.126 24.948 1.435 39.335 3.123 45.65-8.89-3.2-15.661-20.403-16.308-45.65h1.465l-.241-3.044h-1.271a158.252 158.252 0 01.006-2.663h13.207z",fill:"#FFEA5A"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M70.284 16.363h-3.91l.422-3.044h3.581a81.301 81.301 0 00-.01-2.663h4.566a102.429 102.429 0 01.01 2.663h-1.897l-.38 3.044h2.193c-1.138 25.55-13.019 45.65-24.448 45.65-.414 0-.828-.026-1.241-.078 11.92-1.382 19.899-20.946 21.114-45.572zm.083-5.707h-44.48 44.48z",fill:"#F4B046"}),n().createElement("path",{opacity:".519",d:"M72.665 13.32h-44.51v3.043h44.51v-3.044z",fill:"#F4B046"}),n().createElement("path",{d:"M48.318 73.046h-5.706v3.804h5.706v-3.804z",fill:"#96691F"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M65.526 10.656h4.235L58.973 35.935h-4.235l10.788-25.279z",fill:"url(#paint1_linear_3200_4362)"}),n().createElement("g",{filter:"url(#filter0_d_3200_4362)"},n().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#000"})),n().createElement("path",{d:"M56.909 56.472c5.993 0 10.85-4.858 10.85-10.85 0-5.994-4.857-10.852-10.85-10.852-5.993 0-10.852 4.858-10.852 10.851 0 5.993 4.859 10.851 10.852 10.851z",fill:"#DD612C"}),n().createElement("path",{d:"M56.909 54.302a8.681 8.681 0 100-17.362 8.681 8.681 0 000 17.362z",fill:"#FFCE66"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.909 36.94a8.685 8.685 0 018.347 6.291c-5.74.351-10.312 5.02-10.51 10.8a8.699 8.699 0 01-6.008-5.47A11.212 11.212 0 0054.9 37.174a8.684 8.684 0 012.008-.234z",fill:"#FFF18C"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.202 10.656l10.862 25.341H54.83L43.646 10.705l4.556-.049z",fill:"#F83D3D"})),n().createElement("defs",null,n().createElement("linearGradient",{id:"paint0_linear_3200_4362",x1:"0",y1:"3.094",x2:"0",y2:"88",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),n().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),n().createElement("linearGradient",{id:"paint1_linear_3200_4362",x1:"62.25",y1:"10.656",x2:"62.25",y2:"35.935",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#B93131"}),n().createElement("stop",{offset:"1",stopColor:"#831616"})),n().createElement("filter",{id:"filter0_d_3200_4362",x:"40.057",y:"30.77",width:"33.702",height:"33.703",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"3"}),n().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0.0335613 0 0 0 0 0.334579 0 0 0 0 0.412601 0 0 0 0.5 0"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3200_4362"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3200_4362",result:"shape"}))))};function ua(){return ua=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},ua.apply(this,arguments)}const fa=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",ua({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),n().createElement("mask",{id:"svg355575424a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),n().createElement("g",{mask:"url(#svg355575424a)"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.5 3.094h88V88h-88V3.094z",fill:"url(#paint0_linear_3488_11934)"}),n().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M64.543 19.547L84.7 39.704V90.88H32.1L17.875 77.372V19.547h46.668z",fill:"url(#paint1_linear_3488_11934)"}),n().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.156 19.938h69.438A2.406 2.406 0 0188 22.343v53.968a2.406 2.406 0 01-2.406 2.407H16.156a2.406 2.406 0 01-2.406-2.406v-53.97a2.406 2.406 0 012.406-2.405z",fill:"#000"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 19.25H86.28c.95 0 1.719.77 1.719 1.719v53.968c0 .95-.77 1.72-1.719 1.72H17.187c-.949 0-1.718-.77-1.718-1.72V20.97c0-.95.77-1.719 1.719-1.719z",fill:"#fff"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 24.968c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 29.093c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 56.031c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 60.156c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 010 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 66.344c0-.57.462-1.031 1.031-1.031h28.059a1.031 1.031 0 010 2.062H37.254c-.57 0-1.031-.462-1.031-1.031z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 70.469c0-.57.462-1.031 1.031-1.031h25.508a1.031 1.031 0 010 2.062H37.125c-.57 0-1.031-.462-1.031-1.031z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 35.406c0-.57.461-1.031 1.03-1.031h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 39.531c0-.57.461-1.031 1.03-1.031H70.54a1.031 1.031 0 010 2.063H48.47c-.57 0-1.032-.462-1.032-1.032z",fill:"#979797"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"36.438",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"46.75",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"58.094",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"68.406",r:"3.094",fill:"#B6C7DB"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 45.719c0-.57.461-1.032 1.03-1.032h28.06a1.031 1.031 0 110 2.063h-28.06c-.569 0-1.03-.462-1.03-1.031z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 49.844c0-.57.461-1.032 1.03-1.032h25.509a1.031 1.031 0 010 2.063H48.469c-.57 0-1.032-.462-1.032-1.031z",fill:"#979797"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M31.802 37.125v-2.75h-.688V48.251h3.843v-.688h-3.155v-9.75h3.155v-.688h-3.155z",fill:"#2B98F0"}),n().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M32.68 26.469l-1.215 1.215-1.215-1.215h2.43z",fill:"#000"}),n().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 7.563h63.937c1.14 0 2.063.923 2.063 2.062v6.188c0 1.139-.924 2.062-2.063 2.062H17.187a2.062 2.062 0 01-2.062-2.063V9.625c0-1.14.923-2.063 2.063-2.063z",fill:"#fff"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M19.938 12.719c0-1.14.923-2.063 2.062-2.063h24.063a2.063 2.063 0 010 4.125H22a2.062 2.062 0 01-2.063-2.062zM50.875 12.719c0-1.14.923-2.063 2.063-2.063h3.437a2.063 2.063 0 010 4.125h-3.438a2.062 2.062 0 01-2.062-2.062z",fill:"#979797"}),n().createElement("path",{opacity:".2",d:"M37.687 66.48l8.942 8.309v.958l19.925 19.702 31.064-.552 7.006-25.47-34.487-34.144-11.2.567c-3.238-1.86-5.34-3.02-6.306-3.48-.54-.258-.383 5.565-2.755 7.725-1.243 1.133-3.462 4.104-6.657 8.914l-5.532 17.47z",fill:"url(#paint2_linear_3488_11934)"}),n().createElement("g",{filter:"url(#filter0_d_3488_11934)",fillRule:"evenodd",clipRule:"evenodd"},n().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312a18.719 18.719 0 014.236 4.554l4.28-.699a23.425 23.425 0 012.392 6.47l-3.639 2.443c.262 2.058.2 4.18-.216 6.285l3.466 2.572a24.254 24.254 0 01-2.838 6.375l-4.231-.855a19.61 19.61 0 01-4.526 4.366l.62 4.34a23.426 23.426 0 01-6.409 2.551l-2.345-3.649a18.72 18.72 0 01-6.219-.1l-2.593 3.564a22.7 22.7 0 01-6.224-2.757l.912-4.304a18.715 18.715 0 01-4.281-4.567l-4.285.7a23.424 23.424 0 01-2.4-6.438l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14zM60.075 49.74c-2.804-1.248-6.112.064-7.388 2.93-1.276 2.867-.038 6.203 2.766 7.452 2.804 1.248 6.112-.064 7.388-2.93 1.276-2.867.038-6.203-2.766-7.452z",fill:"#6B93AC"}),n().createElement("path",{d:"M67.338 33.427a22.7 22.7 0 013.043 1.642l-.913 4.312c.779.597 1.503 1.25 2.168 1.95l-10.07 9.392a5.444 5.444 0 00-1.491-.983c-2.804-1.248-6.112.064-7.388 2.93a5.7 5.7 0 00.626 5.749l-10.071 9.39c-.502-.585-.965-1.2-1.39-1.84l-4.284.7a23.424 23.424 0 01-2.4-6.437l3.633-2.44a19.607 19.607 0 01.21-6.384l-3.465-2.57a24.263 24.263 0 012.823-6.34l4.229.855a19.605 19.605 0 014.604-4.429l-.618-4.332c2-1.154 4.155-2.005 6.39-2.524l2.347 3.652a18.713 18.713 0 016.259.125l2.588-3.557c1.069.296 2.128.675 3.17 1.14z",fill:"#7CA6BF"}),n().createElement("path",{d:"M62.886 42.644c6.409 2.854 9.24 10.479 6.322 17.03-2.917 6.553-10.478 9.552-16.887 6.698-6.409-2.853-9.24-10.478-6.322-17.03 2.917-6.553 10.478-9.551 16.887-6.698zm-1.32 2.966c-4.808-2.14-10.478.109-12.666 5.023-2.188 4.914-.065 10.633 4.742 12.773 4.806 2.14 10.477-.108 12.665-5.023 2.188-4.914.065-10.633-4.742-12.773z",fill:"#AAC4D5"}),n().createElement("path",{d:"M62.886 42.644a12.424 12.424 0 014.22 3.075l-2.366 2.207a9.317 9.317 0 00-3.175-2.316c-4.807-2.14-10.477.109-12.665 5.023-1.635 3.673-.863 7.795 1.638 10.536l-2.367 2.208c-3.325-3.656-4.35-9.145-2.172-14.035 2.917-6.553 10.478-9.551 16.887-6.698z",fill:"#CBDDE9"}))),n().createElement("defs",null,n().createElement("linearGradient",{id:"paint0_linear_3488_11934",x1:"-5.5",y1:"3.094",x2:"-5.5",y2:"88",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),n().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),n().createElement("linearGradient",{id:"paint1_linear_3488_11934",x1:"91.478",y1:"62.257",x2:"53.241",y2:"26.703",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopOpacity:".01"}),n().createElement("stop",{offset:"1"})),n().createElement("linearGradient",{id:"paint2_linear_3488_11934",x1:"86.975",y1:"77.519",x2:"49.809",y2:"46.968",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#90A4AE",stopOpacity:"0"}),n().createElement("stop",{offset:"1",stopOpacity:".75"})),n().createElement("filter",{id:"filter0_d_3488_11934",x:"32.168",y:"30.067",width:"53.209",height:"53.716",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dx:"1",dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_3488_11934"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_3488_11934",result:"shape"}))))};function ma(){return ma=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},ma.apply(this,arguments)}const ha=e=>{let{styles:t={}}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["styles"]);return n().createElement("svg",ma({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#0072CE",fillOpacity:".1"}),n().createElement("mask",{id:"svg1954152798a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"88",height:"88"},n().createElement("circle",{cx:"44",cy:"44",r:"44",fill:"#fff"})),n().createElement("g",{mask:"url(#svg1954152798a)"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.5 3.094h88V88h-88V3.094z",fill:"url(#paint0_linear_4523_4542)"}),n().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M64.543 19.547L84.7 39.704V90.88H32.1L17.875 77.372V19.547h46.668z",fill:"url(#paint1_linear_4523_4542)"}),n().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.156 19.938h69.438A2.406 2.406 0 0188 22.343v53.968a2.406 2.406 0 01-2.406 2.407H16.156a2.406 2.406 0 01-2.406-2.406v-53.97a2.406 2.406 0 012.406-2.405z",fill:"#000"}),n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 19.25H86.28c.95 0 1.719.77 1.719 1.719v53.968c0 .95-.77 1.72-1.719 1.72H17.187c-.949 0-1.718-.77-1.718-1.72V20.97c0-.95.77-1.719 1.719-1.719z",fill:"#fff"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 24.968c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 29.093c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 110 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 56.031c0-.57.462-1.031 1.031-1.031h14.309a1.031 1.031 0 010 2.063H37.254c-.57 0-1.031-.462-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 60.156c0-.57.462-1.031 1.031-1.031h22.07a1.031 1.031 0 110 2.063h-22.07c-.57 0-1.031-.462-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M36.223 66.344c0-.57.462-1.031 1.031-1.031h28.059a1.031 1.031 0 010 2.063H37.254c-.57-.001-1.031-.463-1.031-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.094 70.469c0-.57.462-1.031 1.031-1.031h25.508a1.031 1.031 0 010 2.063H37.125c-.57-.001-1.031-.463-1.031-1.032z",fill:"#979797"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 35.406c0-.57.461-1.031 1.03-1.031h28.06a1.031 1.031 0 010 2.063h-28.06c-.569 0-1.03-.462-1.03-1.032z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 39.531c0-.57.461-1.031 1.03-1.031H70.54a1.031 1.031 0 010 2.063H48.47c-.57 0-1.032-.462-1.032-1.032z",fill:"#979797"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"27.156",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"36.438",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"41.25",cy:"46.75",r:"2.063",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"58.094",r:"3.094",fill:"#B6C7DB"}),n().createElement("circle",{cx:"23.031",cy:"68.406",r:"3.094",fill:"#B6C7DB"}),n().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M47.567 45.719c0-.57.461-1.032 1.03-1.032h28.06a1.031 1.031 0 010 2.063h-28.06c-.569 0-1.03-.462-1.03-1.031z",fill:"#B6C7DB"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M47.438 49.844c0-.57.461-1.032 1.03-1.032h25.509a1.031 1.031 0 010 2.063H48.469c-.57 0-1.032-.462-1.032-1.031z",fill:"#979797"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M31.802 37.125v-2.75h-.688V48.251h3.843v-.688h-3.155v-9.75h3.155v-.688h-3.155z",fill:"#2B98F0"}),n().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M32.68 26.469l-1.215 1.215-1.215-1.215h2.43z",fill:"#000"}),n().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.188 7.563h63.937c1.14 0 2.063.923 2.063 2.062v6.188c0 1.139-.924 2.062-2.063 2.062H17.187a2.062 2.062 0 01-2.062-2.063V9.625c0-1.14.923-2.063 2.063-2.063z",fill:"#fff"}),n().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M19.938 12.719c0-1.14.923-2.063 2.062-2.063h24.063a2.062 2.062 0 010 4.125H22a2.062 2.062 0 01-2.063-2.062zM50.875 12.719c0-1.14.923-2.063 2.063-2.063h3.437a2.062 2.062 0 110 4.125h-3.438a2.062 2.062 0 01-2.062-2.062z",fill:"#979797"}),n().createElement("g",{filter:"url(#filter0_d_4523_4542)"},n().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"})),n().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:"#4A90E2"}),n().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:"#4A90E2"}),n().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:"#4A90E2"}),n().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:"#4A90E2"}),n().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:"#61A3F1"}),n().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M58.298 46.448L75.18 63.33 66.066 75.41h-2.029l-7.582-7.582 1.006-3.178.837-18.201z",fill:"url(#paint2_linear_4523_4542)"}),n().createElement("g",{filter:"url(#filter1_d_4523_4542)"},n().createElement("circle",{cx:"57.406",cy:"47.781",r:"1.719",fill:"#fff"})),n().createElement("g",{filter:"url(#filter2_d_4523_4542)"},n().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.688 53.969a1.719 1.719 0 113.438 0v12.375a1.719 1.719 0 11-3.438 0V53.969z",fill:"#fff"}))),n().createElement("defs",null,n().createElement("linearGradient",{id:"paint0_linear_4523_4542",x1:"-5.5",y1:"3.094",x2:"-5.5",y2:"88",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),n().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),n().createElement("linearGradient",{id:"paint1_linear_4523_4542",x1:"91.478",y1:"62.257",x2:"53.241",y2:"26.703",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopOpacity:".01"}),n().createElement("stop",{offset:"1"})),n().createElement("linearGradient",{id:"paint2_linear_4523_4542",x1:"77.079",y1:"63.788",x2:"62.929",y2:"54.707",gradientUnits:"userSpaceOnUse"},n().createElement("stop",{stopOpacity:".01"}),n().createElement("stop",{offset:"1"})),n().createElement("filter",{id:"filter0_d_4523_4542",x:"36.219",y:"37.875",width:"42.375",height:"42.375",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4523_4542"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4523_4542",result:"shape"})),n().createElement("filter",{id:"filter1_d_4523_4542",x:"51.688",y:"44.063",width:"11.438",height:"11.438",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4523_4542"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4523_4542",result:"shape"})),n().createElement("filter",{id:"filter2_d_4523_4542",x:"51.688",y:"50.25",width:"11.438",height:"23.813",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},n().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),n().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",result:"hardAlpha"}),n().createElement("feOffset",{dy:"2"}),n().createElement("feGaussianBlur",{stdDeviation:"2"}),n().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"}),n().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_4523_4542"}),n().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_4523_4542",result:"shape"}))))},ya=(0,ye.Z)((e=>({title:{whiteSpace:"nowrap",height:"24px",display:"flex",alignItems:"center",overflow:"hidden",textOverflow:"ellipsis"},titleCount:{color:e.palette.text.secondary,borderLeft:"1px solid rgba(0, 0, 0, 0.12)",marginLeft:"16px",paddingLeft:"16px",overflow:"hidden",lineHeight:"24px",textOverflow:"ellipsis",fontSize:"14px"},viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"},countProfiles:{color:e.palette.text.primary}})));let ga;!function(e){e.DVF_NOT_SUPPORTED="dvfNotSupported",e.DVF_NOT_CONFIGURE="dvfNotConfigured",e.DATA_VALID="dataValid",e.PERMISSION_DENIED="permissionDenied"}(ga||(ga={}));const va=e=>{let{chartType:t,dataLevel:l,title:a,infoTooltipTitle:r,titleChildren:i,dvfConfigLink:o,config:c}=e;const p=ya();let d,u,f;const h=l===s.yn8.ATTRIBUTE_TYPE?m().text("attribute type"):m().text("entity type");switch(t){case ga.DVF_NOT_SUPPORTED:d=ha,f=m().text("Data validation functions are not supported for\nReference attributes at this time.");break;case ga.DVF_NOT_CONFIGURE:d=fa,u=m().text("If we spot any validation issues, we’ll display them here."),f=n().createElement(n().Fragment,null,n().createElement(Ue.Link,{href:o,target:"_blank",component:o?"a":"span",color:o?"primary":"inherit",underline:o?"hover":"none","data-reltio-id":"reltio-dq-dashboard-define-dvf-link"},`${m().text("Define some data validation functions")} `),m().text("for this ${dataSourceLabel} (or ask your Tenant Admin).",{dataSourceLabel:h}));break;case ga.DATA_VALID:d=da,u=m().text("We didn’t spot any validation issues for this ${dataSourceLabel}.\nYou can kick back and enjoy a cold one.",{dataSourceLabel:h}),f=m().text("Nice one!");break;case ga.PERMISSION_DENIED:d=g.B9.ERROR,u=m().text("Please contact your Tenant Admin to change permissions"),f=m().text("You don’t currently have permission to view this chart")}return n().createElement(Je,{config:c},n().createElement(ke,{title:a,infoTooltipTitle:r},i),n().createElement(je.Z,{className:p.viewContent},n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=0}=e;return n().createElement($e,{height:t,data:{Icon:d,title:f,message:u}})}))))},Ea=e=>{let{isDataValid:t,totalProfiles:l,invalidProfiles:a,tooltipTitle:r}=e;const i=ya();return n().createElement(jl.C,{value:r},n().createElement(Ue.Typography,{className:i.titleCount},t?m().text("0 profiles"):(0,u.isNil)(a)?null:n().createElement(n().Fragment,null,n().createElement("span",{className:i.countProfiles},(0,s.k7L)(a)),` (${Math.round(a/l*100)}% ${m().text("out of")} ${(0,s.k7L)(l)}) ${1!==a?m().text("profiles"):m().text("profile")}`)))},ba=e=>{const{config:t}=e,l=(0,i.useSelector)(v.ZP.selectors.getMetadata),a=(0,r.useContext)(de),o=a===s.yn8.ATTRIBUTE_TYPE,{dvfs:c,dvfConfigLink:p}=(0,r.useContext)(T),{data:d,state:f,reload:h,errorCode:y}=c,g=(0,r.useContext)(R),E=(0,r.useContext)(N),b=E.uri,x=(o?((e,t)=>(e||[]).filter((0,u.propEq)("attribute",t)))(d,null==g?void 0:g.uri):d)||[],O=x.filter((0,u.propEq)("status",s.lVm.ACTIVE)),{data:w,state:S,reload:_}=pt(o?(e=>(0,u.pipe)(bl("dataValidationFunctions"),Sl(e)))(O):((e,t)=>(0,u.pipe)(bl("dataValidationFunctions"),Tl(e,t)))(O,l)),I=(0,r.useMemo)((()=>[E]),[E]),M=(e=>{let{entityTypeUri:t,dvfUris:l}=e;const[a,n]=(0,r.useState)(null),i=(0,A._)();return(0,r.useEffect)((()=>{const e=[{fieldName:"type",filter:s.j5E.EQUALS,values:[t]},{fieldName:"analyticsAttributes.AttributeValidations.FunctionURI",filter:s.j5E.EQUALS,values:l}];i((0,s.j_Q)(e)).then((e=>{let{total:t}=e;return n(t)})).catch((()=>n(null)))}),[t,l]),a})({entityTypeUri:b,dvfUris:(0,r.useMemo)((()=>(0,u.pluck)("uri",O)),[O])}),L=D(I)(b),B=mt((e=>t=>{let{entityTypeUri:l}=t;return t=>{const a=wl(e,t);return(0,u.pipe)(_l,j(null,l))(a,l)}})(O)),k=(0,r.useMemo)((()=>f===C.o.LOADED&&S===C.o.LOADED?C.o.LOADED:f===C.o.ERROR||S===C.o.ERROR?C.o.ERROR:C.o.LOADING),[S,f]),z=(0,r.useMemo)((()=>()=>{f===C.o.ERROR&&h(),S===C.o.ERROR&&_()}),[S,f,h,_]),F=y===s.Xt7.ACCESS_DENIED,P=o&&se(g),U=y===s.Xt7.DVF_NOT_CONFIGURED||0===(null==O?void 0:O.length)&&k!==C.o.ERROR&&f===C.o.LOADED,H=k===C.o.LOADED&&(null==O?void 0:O.length)>0&&0===w.length,V=!(k===C.o.ERROR&&y!==s.Xt7.DVF_NOT_CONFIGURED)&&!U&&k!==C.o.LOADING&&n().createElement(Ea,{isDataValid:H,totalProfiles:L,invalidProfiles:M,tooltipTitle:t.title}),W=n().createElement(Te,{title:m().text("Profiles with invalid data"),data:[{value:m().text("Shows the number of profiles that violate active validation functions")}],DataRenderer:et}),Y=((e,t)=>{return e===s.yn8.ATTRIBUTE_TYPE?(l=t.length,[{id:"label",label:m().text("Validation function"),secondLabel:`(${l})`,width:.4,sortable:!0},{id:"value",label:m().text("Profiles"),width:.6,sortable:!0}]):(e=>[{id:"attributeLabel",label:m().text("Attribute"),width:.23,sortable:!0},{id:"label",label:m().text("Name"),secondLabel:`(${e})`,width:.37,sortable:!0},{id:"value",label:m().text("Count"),secondLabel:"(%)",width:.4,sortable:!0}])(t.length);var l})(a,w);return U||H||F?n().createElement(va,{config:t,chartType:P?ga.DVF_NOT_SUPPORTED:U?ga.DVF_NOT_CONFIGURE:H?ga.DATA_VALID:F?ga.PERMISSION_DENIED:void 0,title:m().text(t.title),infoTooltipTitle:W,titleChildren:V,dvfConfigLink:p,dataLevel:a}):n().createElement(sa,{config:t,title:m().text(t.title),data:w,onItemClick:B,titleChildren:V,state:k,onRefresh:z,customComparator:xl,infoTooltipTitle:W,columnsOptions:Y})},xa=(0,ye.Z)({monoFontCell:{fontFamily:'"Roboto Mono", monospace'}}),Oa=e=>{let{config:t}=e;const l=xa(),{data:a,state:i,reload:o}=pt(Nl),c=(0,r.useContext)(R).type,p=(0,s.Lt4)(c)?((e,t)=>e.map((e=>L({},e,{label:(0,s.mB6)({dataTypeDefinition:{type:t}},Number(e.label))}))))(a,c):a,u=mt(Ll),f=n().createElement(Te,{title:m().text("Frequency analysis"),data:[{value:m().text("Shows the number of times each value occurs")}],DataRenderer:et}),h=[{id:"label",label:m().text("Value"),secondLabel:kl(a),width:.4,cellClassName:d()({[l.monoFontCell]:(0,s.m6e)(c)})},{id:"value",label:m().text("Count"),width:.6}];return n().createElement(sa,{config:t,data:p,title:t.title,infoTooltipTitle:f,onItemClick:u,state:i,onRefresh:o,columnsOptions:h})};function wa(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Sa(e,t,l[t])}))}return e}function Sa(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var Ra,Ta;!function(e){e[e.sun=0]="sun",e[e.mon=1]="mon",e[e.tue=2]="tue",e[e.wed=3]="wed",e[e.thu=4]="thu",e[e.fri=5]="fri",e[e.sat=6]="sat"}(Ra||(Ra={})),function(e){e[e.jan=0]="jan",e[e.feb=1]="feb",e[e.mar=2]="mar",e[e.apr=3]="apr",e[e.may=4]="may",e[e.jun=5]="jun",e[e.jul=6]="jul",e[e.aug=7]="aug",e[e.sep=8]="sep",e[e.oct=9]="oct",e[e.nov=10]="nov",e[e.dec=11]="dec"}(Ta||(Ta={}));const Na=e=>(0,u.pipe)((0,u.pathOr)({},[e,"data"]),Object.entries,(0,u.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),k),Ca="Reltio profiles",Aa="Source profiles",_a=(0,u.pipe)((0,u.pathOr)({},["consolidationRate"]),(0,u.converge)(u.concat,[(0,u.pipe)((0,u.prop)("totalCrosswalksBySource"),(0,u.omit)(["ReltioCleanser"]),(e=>[wa({},e,{label:Aa,group:Aa})])),(0,u.pipe)((0,u.prop)("totalEntities"),(e=>[(0,u.assoc)(Ca,e,{label:Ca,group:Ca})]))]));var Ia;!function(e){e.AVERAGE="avg",e.MININMUN="min",e.MAXIMUM="max",e.MEDIAN="median",e.NUMBER_OF_SOURCES="numberOfSources",e.MIN_NUMBER_OF_PROFILES="minNumberOfProfiles",e.MAX_NUMBER_OF_PROFILES="maxNumberOfProfiles",e.AVG_NUMBER_OF_PROFILES="avgNumberOfProfiles"}(Ia||(Ia={}));const Da=(e,t)=>{const l={lengthStatistics:{[Ia.MEDIAN]:m().text("Median"),[Ia.AVERAGE]:m().text("Average"),[Ia.MININMUN]:m().text("Minimum"),[Ia.MAXIMUM]:m().text("Maximum")},valueDistribution:{[Ia.MEDIAN]:m().text("Median"),[Ia.AVERAGE]:m().text("Average"),[Ia.MININMUN]:m().text("Minimum"),[Ia.MAXIMUM]:m().text("Maximum")},crosswalkAnalysis:{[Ia.NUMBER_OF_SOURCES]:m().text("No. of source systems"),[Ia.AVG_NUMBER_OF_PROFILES]:m().text("Avg no. of profiles"),[Ia.MIN_NUMBER_OF_PROFILES]:m().text("Min no. of profiles"),[Ia.MAX_NUMBER_OF_PROFILES]:m().text("Max no. of profiles")}};return(0,u.pathOr)(null,[t,e],l)},Ma=e=>(0,u.pipe)((0,u.propOr)({},e),Object.entries,(0,u.map)((t=>{let[l,a]=t;return{label:Da(l,e),value:a}})),(0,u.filter)((e=>{let{label:t}=e;return t})),k),La=e=>t=>({chartData:Na(e)(t),infoPanelData:Ma(e)(t)}),Ba=(e,t)=>(0,s.Lt4)(t)?(0,s.mB6)({dataTypeDefinition:{type:t}},Number(e)):m().number(e),ka=(0,u.curry)(((e,t)=>{const l=(0,u.pipe)((0,u.prop)("group"),(0,u.split)(" "),u.head,Number),a=t.chartData.sort((0,u.ascend)(l)).map(((l,a)=>{const[r,n=r]=l.group.split(" ").map(Number),i=a===t.chartData.length-1,o=r!==n?((e,t,l)=>Z(t)?`[${e}${l?"]":")"}`:e)(`${Ba(r,e)} - ${Ba(n,e)}`,e,i):Ba(r,e);return wa({},l,{label:o,group:[r,n,i?"last":""].toString()})}));return{infoPanelData:t.infoPanelData.map((t=>{const l=(0,s.Lt4)(e)?(0,s.mB6)({dataTypeDefinition:{type:e}},Number(t.value)):(0,s.k7L)(t.value,999);return wa({},t,{value:l,localizedValue:(0,s.Lt4)(e)?l:t.localizedValue})})),chartData:a}})),za=(0,u.pipe)(La("lengthStatistics"),ka("")),Fa=La("monthDistribution"),ja=La("dayOfWeekDistribution"),Pa=La("dayOfMonthDistribution"),Ua=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.day_of_week`,value:Ra[t.toLowerCase()],entityTypeUri:a})})),Ha=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.month`,value:Ta[t.toLowerCase()],entityTypeUri:a})})),Va=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.day_of_month`,value:t,entityTypeUri:a})})),Wa=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;const[r,n]=t.split(",");return r===n?ut({fieldName:`${l.fieldName}.length`,value:r,entityTypeUri:a}):(e=>{let{fieldName:t,startRange:l,endRange:a,entityTypeUri:r}=e;return dt({keyword:`${s.j5E.IN_RANGE}(${t}, ${l}, ${a})`,entityTypeUri:r})})({fieldName:`${l.fieldName}.length`,startRange:r,endRange:n,entityTypeUri:a})})),Ya=(0,u.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return ut({fieldName:`${l.fieldName}.crosswalk_sources`,value:t,entityTypeUri:a})})),Ga=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[{filter:s.j5E.AFTER,values:[a],fieldName:l},{filter:s.j5E.BEFORE,values:[r],fieldName:l}]})),Za=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[a===r?{filter:s.j5E.EQUALS,values:[[a]],fieldName:l}:{filter:s.j5E.IN_RANGE,values:[[a,r]],fieldName:l}]})),$a=(0,u.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r,n]=t.split(","),i=a===r,o=i?[{filter:s.j5E.EQUALS,values:[[a]],fieldName:l}]:[{filter:s.j5E.IN_RANGE,values:[[a,r]],fieldName:l}];return!n&&!i&&o.push({filter:s.j5E.NOT_EQUALS,values:[[r]],fieldName:l}),o})),qa=(0,u.cond)([[s.Lt4,(0,u.always)(P(Ga))],[Z,(0,u.always)(P($a))],[u.identity,(0,u.always)(P(Za))]]),Qa=(0,u.curry)(((e,t)=>{let{entityTypeUri:l}=e;return t===Ca?j(void 0,l,[]):(e=>{let{fieldName:t,value:l,entityTypeUri:a}=e;return dt({keyword:`${s.j5E.GT}(${t},${l})`,entityTypeUri:a})})({fieldName:`crosswalk_sources_count.${t}`,value:"'0'",entityTypeUri:l})})),Xa=(0,u.curry)(((e,t)=>!e||(0,u.propEq)("key",t,e)||t==Ca?1:.12)),Ka=e=>e>999?m().number(e,"0,0.0a").toUpperCase():e;function Ja(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){er(e,t,l[t])}))}return e}function er(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const tr=(0,ye.Z)((e=>({tooltipWrapper:Ja({},e.tooltip,{padding:"4px 8px"})}))),lr=e=>{var t;let{payload:l,active:a,name:r}=e;const i=null==l||null===(t=l[0])||void 0===t?void 0:t.payload,o=null==i?void 0:i.value,c=null==i?void 0:i.label,s=r?`${r}`:"",p=tr();return a&&n().createElement("div",{className:p.tooltipWrapper},n().createElement(Te,{data:[{label:s,value:c},{label:m().text("No of profiles"),value:m().number(o)}]}))},ar=(0,ye.Z)((()=>({chartInfoLabel:{fontSize:"13px",lineHeight:"15px",color:"rgba(0, 0, 0, 0.54)",paddingRight:"8px"},chartInfoValue:{fontSize:"13px",lineHeight:"15px",color:"rgba(0, 0, 0, 0.87)"},chartInfoWrapper:{display:"flex",backgroundColor:"rgba(0, 0, 0, 0.05)",margin:"0 12px 12px",padding:"9px 12px 8px"},chartInfoItem:{marginRight:"16px"},clickable:{cursor:"pointer"},title:{marginRight:"50px",fontSize:"16px"},root:{padding:"0 0 0 16px",minHeight:"auto",marginTop:"12px",marginBottom:"12px"}}))),rr=e=>{let{data:t}=e;const l=ar();return n().createElement("div",{className:l.chartInfoWrapper},t.map((e=>{let{label:t,value:a,localizedValue:r}=e;return n().createElement("div",{key:t,className:l.chartInfoItem},n().createElement("span",{className:l.chartInfoLabel},t,": "),a!==r?n().createElement(Ue.Tooltip,{title:r},n().createElement("span",{className:l.chartInfoValue},a)):n().createElement("span",{className:l.chartInfoValue},a))})))},nr=(0,ye.Z)((()=>({labelWrapper:e=>{let{width:t}=e;return{overflow:"hidden",width:`${t}px`,marginTop:"-3px"}},xAxisLabel:{textAlign:"center",whiteSpace:"nowrap",fontSize:"12px","&::first-letter":{textTransform:"capitalize"},"&:after":{top:"0",right:"0",width:"10px",height:"100%",content:'""',position:"absolute",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"}}}))),ir=e=>{let{width:t,height:l,label:a,x:r,y:i}=e;const o=nr({width:t}),c=r-t/2;return n().createElement("foreignObject",{x:c,y:i,width:t,height:l},n().createElement("div",{className:o.labelWrapper},n().createElement(jl.C,{value:a},n().createElement("div",{className:o.xAxisLabel},a))))},or=e=>{const{x:t,y:l,width:a,height:r,payload:i,visibleTicksCount:o}=e,{value:c}=i,s=a/o-4;return n().createElement(ir,{width:s,height:r,label:c,x:t,y:l})},cr=e=>{let{showCategories:t=!1,interval:l,barCategoryGap:a,maxBarSize:r,yTickRenderer:n,tickCount:i}=e;return{barChart:{barCategoryGap:a||"10%"},bar:{dataKey:"value",fill:"#0072CE",minPointSize:3,maxBarSize:r||50},xAxis:{tick:t&&or,tickLine:!1,interval:l||0,dataKey:"label"},yAxis:{axisLine:!1,tickLine:!1,tick:n||{fill:"#000",fontSize:12},width:60,tickFormatter:Ka,tickCount:i||5},cartesianGrid:{stroke:"#000",strokeOpacity:"0.05",vertical:!1},labelForX:{position:"insideBottom",style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"},offset:t?-3:3},labelForY:{angle:270,position:"left",offset:-3,style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"}}}};function sr(){return sr=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},sr.apply(this,arguments)}const pr=e=>{let{isClickable:t}=e,l=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["isClickable"]);const a=ar(),r=t?a.clickable:void 0;return n().createElement(fe.Ae,sr({},l,{className:r,fill:"#000",opacity:"0.1",pointerEvents:"visibleFill"}))},dr=e=>{const{value:t}=e;return t>0?n().createElement(fe.Ae,e):null};function ur(){return ur=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},ur.apply(this,arguments)}const fr=e=>{let{data:t,config:l,xAxisLabel:a,yAxisLabel:r,barTooltipTitle:i,infoPanelData:o,infoTooltipTitle:c,onItemClick:s,options:p={},state:d,onRefresh:u}=e;const f=ar(),{title:m}=l,{cartesianGrid:h,bar:y,xAxis:g,yAxis:v,labelForX:E,labelForY:b,barChart:x}=cr(p),O=s&&(e=>{let{activePayload:t}=e;return s(t[0].payload.group)}),w=O?f.clickable:void 0,S=d===C.o.LOADED&&o.length>0;return n().createElement(Je,{config:l},n().createElement(ke,{title:m,infoTooltipTitle:c}),S&&n().createElement(rr,{data:o}),n().createElement(Qe,{data:t,loadingState:d,onRefresh:u},(e=>{let{data:t,width:l=0,height:o=0}=e;return n().createElement("div",null,n().createElement(fe.vz,ur({width:l,height:o,data:t,onClick:O},x),n().createElement(fe.q3,h),n().createElement(fe.u,{content:n().createElement(lr,{name:i}),cursor:n().createElement(pr,{isClickable:!!O})}),n().createElement(fe.$Q,ur({},y,{shape:n().createElement(dr,{className:w})})),n().createElement(fe.B2,v,n().createElement(fe.__,ur({},b,{value:r}))),n().createElement(fe.Kc,g,n().createElement(fe.__,ur({},E,{value:a})))))})))},mr=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(za),{chartData:i,infoPanelData:o}=l,c=mt(Wa),s=n().createElement(Te,{title:m().text("Length statistics"),data:[{value:m().text("Measures the string length of values")}],DataRenderer:et});return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Length of values"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Length"),infoTooltipTitle:s,onItemClick:c,state:a,onRefresh:r})};var hr=l(94175);const yr=(0,ye.Z)({icon:{width:"20px",height:"20px",borderRadius:"4px",fontSize:"14px",marginRight:"8px"},text:e=>{let{color:t}=e;return{backgroundColor:t}}}),gr=e=>{let{chartData:t}=e;const{group:l,label:a}=t,r=yr({color:(0,s.kW2)(l)});return n().createElement(n().Fragment,null,n().createElement(hr.Z,{sourceType:l,className:r.icon,classes:{textRoot:r.text}}),a)};function vr(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Er(e,t,l[t])}))}return e}function Er(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const br=e=>{let{config:t}=e;const l=(0,i.useSelector)(v.ZP.selectors.getMetadata),{data:a,state:r,reload:o}=pt((e=>(0,u.pipe)(La("crosswalkAnalysis"),(0,u.applySpec)({chartData:(0,u.pipe)((0,u.prop)("chartData"),Y(e)),infoPanelData:(0,u.pipe)((0,u.prop)("infoPanelData"),(0,u.map)((e=>(0,u.assoc)("value",(0,s.k7L)(e.value,999),e))))})))(l)),{chartData:c}=a,p=mt(Ya),d=n().createElement(Te,{title:m().text("Source system analysis"),data:[{value:m().text("Distribution of source systems contributing to profiles")}],DataRenderer:et}),f=[{id:"label",label:m().text("Source system"),secondLabel:`(${c.length})`,width:.4,sortable:!0,labelRenderer:gr},{id:"value",label:m().text("Profiles"),width:.6,sortable:!0}];return n().createElement(sa,{config:vr({},t),data:c,title:t.title,infoTooltipTitle:d,onItemClick:p,state:r,onRefresh:o,customComparator:xl,columnsOptions:f})},xr=e=>{let{config:t}=e;const l=(0,r.useContext)(R).type,{data:a,state:i,reload:o}=pt((e=>(0,u.pipe)(La("valueDistribution"),ka(e)))(l)),{chartData:c,infoPanelData:s}=a,p=mt(qa(l));return n().createElement(fr,{config:t,data:c,xAxisLabel:m().text("Value"),yAxisLabel:m().text("No. of profiles"),infoPanelData:s,barTooltipTitle:m().text("Value"),onItemClick:p,state:i,onRefresh:o})},Or=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(Fa),{chartData:i,infoPanelData:o}=l,c=mt(Ha);return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Months of the year"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Months of the year"),options:{showCategories:!0,barCategoryGap:"20%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:r})},wr=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(ja),{chartData:i,infoPanelData:o}=l,c=mt(Ua);return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Days of the week"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Days of the week"),options:{showCategories:!0,barCategoryGap:"25%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:r})},Sr=e=>{let{config:t}=e;const{data:l,state:a,reload:r}=pt(Pa),{chartData:i,infoPanelData:o}=l,c=mt(Va);return n().createElement(fr,{config:t,data:i,xAxisLabel:m().text("Days of the month"),yAxisLabel:m().text("No. of profiles"),infoPanelData:o,barTooltipTitle:m().text("Days of the month"),options:{showCategories:!0,interval:1},onItemClick:c,state:a,onRefresh:r})},Rr=e=>{let{config:t}=e;const l=xa(),{data:a,state:r,reload:i}=pt(Cl),o=mt(Bl),c=n().createElement(Te,{title:m().text("Pattern analysis"),data:[]}),s=[{id:"label",label:m().text("Value"),secondLabel:kl(a),width:.4,cellClassName:l.monoFontCell},{id:"value",label:m().text("Count"),width:.6}];return n().createElement(sa,{config:t,data:a,title:t.title,infoTooltipTitle:c,onItemClick:o,state:r,onRefresh:i,columnsOptions:s})};function Tr(){return Tr=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},Tr.apply(this,arguments)}const Nr=e=>{let{xAxisLabel:t,yAxisLabel:l,data:a,getTooltip:r,getBarOpacity:i,barSelectHandler:o,width:c,height:p,showTopLabel:d=!1,options:f={},onItemClick:m,getBarColor:h,dataReltioId:y}=e;const g=ar(),{cartesianGrid:v,xAxis:E,yAxis:b,labelForX:x,labelForY:O,barChart:w,bar:S}=cr(f),R=(0,u.curry)(((e,t)=>m&&m(e,t.group))),T=m?g.clickable:void 0;return n().createElement("div",{"data-reltio-id":y},n().createElement(fe.vz,Tr({width:c,height:p,data:a},w,{margin:{top:15}}),n().createElement(fe.q3,v),n().createElement(fe.u,{content:r,cursor:null}),(e=>{const t=(0,u.pipe)(u.mergeAll,(0,u.omit)(["label","group"]),u.keys)(e),l=(0,u.curry)(((e,l)=>{let{x:a,y:r,width:i,value:o}=l;return d&&e===t.length-1?n().createElement("text",{x:a+i/2,textAnchor:"middle",y:r-5,fontSize:"12px"},(0,s.k7L)(o,999)):null}));return t.map(((e,t)=>n().createElement(fe.$Q,{stackId:"all",dataKey:e,opacity:i?i(e):1,fill:h(e),onMouseOver:o(e),onMouseLeave:o(null),key:e,label:l(t),maxBarSize:S.maxBarSize,onClick:R(e),className:T})))})(a),n().createElement(fe.B2,b,n().createElement(fe.__,Tr({},O,{value:l}))),n().createElement(fe.Kc,E,n().createElement(fe.__,Tr({},x,{value:t})))))};function Cr(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Ar(e,t,l[t])}))}return e}function Ar(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const _r={background:"rgba(0, 0, 0, 0.38)",bottom:0,content:'""',height:"3px",left:0,position:"absolute",width:"1px"},Ir=(0,ye.Z)({icon:e=>{let{color:t}=e;return{backgroundColor:t,flexShrink:0,fontSize:"14px",height:"12px",margin:" 0 8px 0 16px",width:"12px"}}}),Dr=(0,ye.Z)((e=>({headCell:{"&>div":{display:"flex",padding:"0 10px 0 0",justifyContent:e=>e?"flex-end":"flex-start"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"47px",overflow:"hidden",whiteSpace:"nowrap",marginLeft:e=>e?"16px":0,"&::after":{content:'""',position:"absolute",right:0,top:0,width:"25px",height:"100%",background:e=>e?"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)":"transparent",pointerEvents:"none"}},labelPercantageWrapper:{display:"flex",flexGrow:1,paddingLeft:"16px"},labelWrapper:{minWidth:"90px",position:"relative","& div":{textAlign:"right"}},percentLabel:{"&:first-child":{flexGrow:1},color:e.palette.text.secondary,fontSize:"12px"},percentsWrapper:{"&:after":Cr({},_r,{left:"initial",right:0}),"&:before":_r,alignItems:"flex-end",display:"flex",lineHeight:"24px",marginLeft:"32px",position:"relative",width:"100%"}}))),Mr=(0,ye.Z)((e=>({cellValue:{alignItems:"center",color:e.palette.text.primary,display:"flex",fontSize:"13px",fontWeight:"normal",height:"100%",lineHeight:"15px",overflow:"hidden",padding:"0 10px 0 0",whiteSpace:"pre",justifyContent:e=>e?"flex-start":"flex-end","&::after":{content:'""',position:"absolute",right:0,top:0,width:"25px",height:"100%",background:e=>e?"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)":"transparent",pointerEvents:"none"}},tooltip:{padding:0}}))),Lr=(0,ye.Z)((e=>({bar:{borderRadius:"0 !important",minHeight:"16px !important",opacity:1,position:"initial !important"},numberCellContainer:{alignItems:"center",display:"flex",flexDirection:"row",height:"100%",padding:"0 10px 0 16px"},numberCellValue:{color:e.palette.text.primary,flexShrink:0,fontSize:"13px",fontWeight:"normal",lineHeight:"15px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"90px",textAlign:"right"},colorBarContainer:{"&>span":{display:"block"},"&>span>div":{opacity:1,zIndex:1},boxSizing:"border-box",height:"100%",marginLeft:"32px",padding:"6px 0 6px",position:"relative",width:"100%"}}))),Br=(0,ye.Z)((e=>({cellBorder:{borderLeft:"none",borderRight:"none!important"},consolidationRateWrapper:{"& .hoveredRow div::after":{background:"none"},"&>div:nth-of-type(2)":{marginBottom:"13px"},display:"flex"},ratePercent:{borderLeft:"1px solid rgba(0, 0, 0, 0.12)",fontWeight:700,lineHeight:"24px",marginLeft:"16px",overflow:"hidden",paddingLeft:"16px",textOverflow:"ellipsis"},tableContainer:{"& .hoveredRow div::after":{background:"none"}},tableWithSelectedRow:{"& .Table__grid__cell_wrapper_EWDDh":{opacity:.12},"& .Table__grid__cell_wrapper_EWDDh.hoveredRow":{opacity:1}},tooltipWrapper:Cr({},e.tooltip,{padding:"4px 8px"})}))),kr=(0,ye.Z)({tooltip:{padding:"0!important"}});function zr(){return zr=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},zr.apply(this,arguments)}function Fr(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){jr(e,t,l[t])}))}return e}function jr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Pr=e=>{let{className:t,headCellData:l,headIndex:a}=e,r=function(e,t){if(null==e)return{};var l,a,r=function(e,t){if(null==e)return{};var l,a,r={},n=Object.keys(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||(r[l]=e[l]);return r}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)l=n[a],t.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(r[l]=e[l])}return r}(e,["className","headCellData","headIndex"]);const i=Dr(0===a),[o,c]=l.label.split("|"),p=!!c,u=n().createElement(jl.C,{value:o},n().createElement("div",{className:i.headLabel},o));return n().createElement("div",{className:d()(i.headCell,t)},n().createElement(Pl.default,zr({},r,{headCellData:Fr({},l,{label:p?n().createElement("div",{className:i.labelPercantageWrapper},n().createElement("div",{className:i.labelWrapper},u),n().createElement("div",{className:i.percentsWrapper},n().createElement("span",{className:i.percentLabel},"0"),n().createElement("span",{className:i.percentLabel},(0,s.k7L)(Number(c),999)))):u})})))},Ur=(0,Kl.Z)(((e,t)=>{let{onItemClick:l,tooltipData:a}=e,{rowValue:{group:r,clickData:n}}=t;return{onClick:l&&(()=>{l(n||r)}),tooltipData:a}}))((e=>{let{value:t="",columnData:l,tooltipData:a,columnIndex:r,rowValue:i,onClick:o}=e;const c=0===r,{labelRenderer:p}=l,f=Mr(c),m=(0,Xl.d)(o),h=kr(),y=!!p,g=(0,u.is)(Number,t)?(0,s.k7L)(t,999):s.P6Y.strings.removeLineBreaks(t);return n().createElement(Ue.Tooltip,{title:a,classes:{tooltip:h.tooltip}},n().createElement("div",{className:d()(f.cellValue,m),onClick:o},y?n().createElement(p,{chartData:i}):g))})),Hr=(0,Kl.Z)(((e,t)=>{let{onItemClick:l,tooltipData:a}=e,{rowValue:{group:r,clickData:n}}=t;return{onClick:l&&(()=>{l(n||r)}),tooltipData:a}}))((e=>{let{value:t,columnData:{maxValue:l},tooltipData:a,onClick:r}=e;const i=Lr(),o=(0,Xl.d)(r),c=0===t?"0":`${(0,s.k7L)(t,999)}`,p=kr();return n().createElement(Ue.Tooltip,{title:a,classes:p},n().createElement("div",{className:d()(i.numberCellContainer,o),onClick:r},n().createElement(Ue.Typography,{className:i.numberCellValue},c),!(0,u.isNil)(l)&&n().createElement("div",{className:i.colorBarContainer},n().createElement(ea.Z,{width:t,maxWidth:l,className:i.bar}))))})),Vr=e=>{let{chartData:t}=e;const{group:l,label:a}=t,r=Ir({color:(0,s.kW2)(l)});return n().createElement(n().Fragment,null,n().createElement("div",{className:r.icon}),a)},Wr=e=>{let{data:t}=e;const l=Br(),{totalCrosswalks:a,totalEntities:r}=t.consolidationRate,i=t.consolidationRate.totalCrosswalksBySource.ReltioCleanser||0,o=(100*(1-r/(a-i))).toFixed(1),c="0"==o.split(".")[1]?o.split(".")[0]:m().number(Number(o)),p=n().createElement(n().Fragment,null,n().createElement("span",{className:l.ratePercent},c,"% "),n().createElement("span",null,`(${(0,s.k7L)(a-i,999)} ${m().text("to")} ${(0,s.k7L)(r,999)} ${m().text("profiles")})`));return n().createElement(jl.C,{value:p},n().createElement(Ue.Typography,null,p))},Yr=e=>{const{x:t,y:l,payload:{value:a},index:r}=e;return r%2==0?n().createElement("text",{fill:"#000",x:t,y:l,textAnchor:"middle",fontSize:"12px"},Ka(Number(a))):null},Gr=e=>"Reltio profiles"===e?"#0072CE":(0,s.kW2)(e),Zr=n().createElement(Te,{title:m().text("Consolidation rate"),data:[{value:m().text("Consolidation rate is the measurement of the total number source profiles versus the number of Reltio profiles after removing duplicates.")},{value:m().text("Consolidation rate helps to understand the data reduction achieved by matching.")}]}),$r=e=>{let{config:t}=e;const l=(0,i.useSelector)(v.ZP.selectors.getMetadata),a=Br(),{title:o}=t,[c,p]=(0,r.useState)(),{data:f,state:h,reload:y}=pt(_a),{data:g}=pt((e=>(0,u.pipe)((0,u.pathOr)({},["consolidationRate"]),(e=>Object.keys((null==e?void 0:e.totalCrosswalksBySource)||[]).reduce(((t,l)=>"ReltioCleanser"!==l?t.concat({label:l,group:l,value:e.totalCrosswalksBySource[l]}):t),[])),Y(e),(0,u.sort)((0,u.descend)((0,u.prop)("value")))))(l)),{data:E}=(0,r.useContext)(S),b=mt(Qa),x=(0,r.useMemo)((()=>{const e=(0,u.pick)(["group","label"],f[0]);for(let t=g.length-1;t>=0;t--)e[g[t].group]=f[0][g[t].group];return[e,f[1]]}),[g,f]),O=(0,r.useMemo)((()=>Math.max(...(0,u.pluck)("value",g))),[g]),w=(0,r.useCallback)((e=>{let{active:t}=e;if(!c||!t)return"";let r=[];return r="Reltio profiles"===(null==c?void 0:c.key)?[{label:m().text("Reltio profiles"),value:m().number(E.consolidationRate.totalEntities)}]:[{label:m().text("Source system"),value:(0,s.tH7)(l,c.key)},{label:m().text("Source profiles"),value:m().number(E.consolidationRate.totalCrosswalksBySource[c.key])},{label:m().text("Reltio profiles"),value:m().number(E.consolidationRate.totalEntitiesBySource[c.key])}],n().createElement("div",{className:a.tooltipWrapper},n().createElement(Te,{data:r}))}),[c,E,l]),R=(0,r.useCallback)((e=>()=>{if(e){const t=g.findIndex((0,u.propEq)("group",e));p({rowIndex:t,key:e})}else p(null)}),[p,g]),T=(0,r.useCallback)((e=>{if((0,u.isNil)(e))p(null);else{var t;const l=null===(t=g[e])||void 0===t?void 0:t.group;p({rowIndex:e,key:l})}}),[p,g]),N=e=>{if(!(0,u.isNil)(e)){var t;const l=null===(t=g[e])||void 0===t?void 0:t.group;b(l)}},C=(0,r.useMemo)((()=>({onItemClick:N,tooltipData:w({active:!0})})),[N,w]);return n().createElement(Je,{config:t},n().createElement(ke,{title:o,infoTooltipTitle:Zr},E.consolidationRate&&n().createElement(Wr,{data:E})),n().createElement(Qe,{data:g,loadingState:h,onRefresh:y},(e=>{let{height:t=0,width:l=0}=e;const r=[{id:"label",label:`${m().text("Source system")} (${m().number(g.length)})`,resizable:!1,labelRenderer:Vr,headCellRenderer:Pr,rowCellValueRenderer:Ur,initialWidth:.26*l},{id:"value",resizable:!1,label:`${m().text("Source profiles")}|${O}`,headCellRenderer:Pr,rowCellValueRenderer:Hr,initialWidth:.74*l,maxValue:O}];return n().createElement("div",{className:d()(a.consolidationRateWrapper,{[a.tableWithSelectedRow]:!(0,u.isNil)(null==c?void 0:c.rowIndex)&&-1!==(null==c?void 0:c.rowIndex)})},n().createElement(Nr,{yAxisLabel:m().text("No. of profiles"),data:x,getTooltip:w,getBarOpacity:Xa(c),getBarColor:Gr,barSelectHandler:R,width:256,height:t,options:{showCategories:!0,maxBarSize:40,yTickRenderer:Yr,tickCount:8},onItemClick:b,dataReltioId:"reltio-dq-dashboard-consolidation-rate-barchart",showTopLabel:!0}),n().createElement(Fl.Z,{columnsData:r,rowsData:g,headRowHeight:48,getRowCellHeight:()=>28,classes:{tableContainer:d()(a.tableContainer,{[a.tableWithSelectedRow]:!(0,u.isNil)(null==c?void 0:c.rowIndex)&&-1!==(null==c?void 0:c.rowIndex)}),cellBorder:a.cellBorder},defaultColumnWidth:50,defaultColumnMinWidth:50,context:C,width:l-256,height:t,hoverRowIndex:null==c?void 0:c.rowIndex,onRowClick:N,onRowHover:T,hoverStateEnabled:!0}))})))};function qr(){return qr=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},qr.apply(this,arguments)}class Qr{}Qr.getComponent=e=>{let{type:t,config:l,isFullscreen:a,onToggleFullscreen:r}=e;const i={config:l,isFullscreen:a,onToggleFullscreen:r};switch(t){case b.FILL_RATE:return n().createElement(ht,i);case b.UNIQUENESS:return n().createElement(Ot,i);case b.SUMMARY:return n().createElement(dl,i);case b.DATA_VALIDATION:return n().createElement(ba,i);case b.FREQUENCY:return n().createElement(Oa,i);case b.LENGTH_STATISTIC:return n().createElement(mr,i);case b.CROSSWALK_ANALYSIS:return n().createElement(br,i);case b.VALUE_DISTRIBUTION:return n().createElement(xr,i);case b.MONTH_DISTRIBUTION:return n().createElement(Or,i);case b.DAY_OF_WEEK_DISTRIBUTION:return n().createElement(wr,i);case b.DAY_OF_MONTH_DISTRIBUTION:return n().createElement(Sr,i);case b.PATTERN:return n().createElement(Rr,i);case b.CONSOLIDATION_RATE:return n().createElement($r,i);default:return n().createElement(gl,qr({},i,{errorData:{message:m().text("Chart isn't supported for this data type")}}))}};const Xr=Qr,Kr=e=>{let{layoutItemConfig:t,views:l,onToggleFullscreen:a,isFullscreen:r,className:i,children:o,style:c}=e;const s=l.find((e=>{let{id:l}=e;return t.i===l}));if(!s)return null;const{type:p}=s;return n().createElement("div",{style:c,className:i},Xr.getComponent({type:p,config:s,onToggleFullscreen:a,isFullscreen:r}),o)},Jr=(0,ye.Z)({root:{overflow:"auto",backgroundColor:"#F9F9F9",height:"100%",flexGrow:1,padding:"4px",boxSizing:"border-box"}}),en=(0,u.map)((0,u.assoc)("isStatic",!0)),tn={cols:4,rowHeight:10,margin:[12,12]},ln=(0,r.memo)((e=>{let{views:t,layout:l,layoutOptions:a=tn}=e;const i=Jr(),o=(0,r.useMemo)((()=>en(l)),[l]);return n().createElement("div",{className:i.root},n().createElement(ue.Z,{LayoutItem:Kr,views:t,layout:o,layoutOptions:a}))})),an=e=>{let{dataLevel:t,views:l,layout:a,isSliding:r=!1}=e;return(t===s.yn8.ATTRIBUTE_TYPE||r)&&n().createElement(de.Provider,{value:s.yn8.ATTRIBUTE_TYPE},n().createElement(ln,{views:l,layout:a}))};var rn=l(50166),nn=l(83543),on=l(98989),cn=l(31269),sn=l(22385);const pn=(0,ye.Z)({root:{paddingRight:"12px",paddingLeft:"20px",display:"flex",flexDirection:"row-reverse"},detailIcon:{marginLeft:"-5px",borderRadius:"50%",padding:"2px",width:"26px",height:"26px",boxSizing:"border-box"},activeIcon:{background:"white"}}),dn=e=>{let{details:t,classes:l,fillRateData:a,fillRateState:r}=e;const i=pn(),o=(0,u.prop)("iconRoot",l);return n().createElement("div",{className:i.root},Object.entries(t||{}).reverse().map((e=>{let[t,l]=e,c=kt.NORMAL;if(t===q.REQUIRED){const e=r===C.o.LOADING,t=0===(null==(p=a)||null===(f=p.find((0,u.propEq)("group",s.s9T.MISSING)))||void 0===f?void 0:f.value);e&&(c=kt.LOADING),e||t||(c=kt.BAD_QUALITY)}var p,f;return n().createElement("div",{key:t,className:d()(l&&(o||i.activeIcon),i.detailIcon)},l&&n().createElement(Ue.Tooltip,{title:oe(t)},n().createElement("span",null,n().createElement(zt,{detailType:t,variant:c,size:Bt.SMALL}))))})))},un=(0,ye.Z)({bar:{width:"100%",display:"flex",flexWrap:"nowrap"},barPart:{height:"8px",flexGrow:1},fillRateSquare:{height:"8px",width:"8px",display:"inline-block",marginRight:"5px",verticalAlign:"middle"},inactiveBarPart:{background:"#EFEFEF"}});function fn(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){mn(e,t,l[t])}))}return e}function mn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const hn=(0,he.Z)((e=>{let{data:t}=e;const l=un(),a=lt(t),r=t.map(((e,t)=>{let{label:r,percent:i,value:o}=e;return{label:n().createElement("span",null,n().createElement("div",{className:l.fillRateSquare,style:{background:a[t]}}),r),value:`${m().number(o)} ${z(i)}`}}));return F(t)?n().createElement("div",{className:l.bar},n().createElement("div",{className:d()(l.barPart,l.inactiveBarPart)})):n().createElement(Ue.Tooltip,{title:n().createElement(Te,{title:m().text("Fill rate"),data:r})},n().createElement("div",{className:l.bar},t.map(((e,t)=>n().createElement("div",{key:e.group,className:l.barPart,style:fn({},W(e),{background:a[t]})})))))})),yn="rgba(0, 114, 206, 0.12)",gn=(0,ye.Z)({linesWrapper:{position:"absolute",left:"9px",top:0,bottom:0},line:{position:"absolute",width:"2px",background:yn,bottom:0,zIndex:2,left:0,top:0},horizontalLine:{"&:after":{content:'""',position:"absolute",left:"2px",top:"15px",width:"3px",height:"2px",background:yn}},parentLine:{left:"20px",top:"34px"},lastLevel:{bottom:"31px"}}),vn=e=>{let{level:t,margin:l,hasChildren:a,isLastLevelItem:r,isCollapsed:i}=e;const o=gn(),c=!i&&(t>0||a);return n().createElement("div",{className:o.linesWrapper},((e,t)=>t>0&&e?(0,u.range)(1,t+1):t>1?(0,u.range)(1,t):[])(a,t).map((e=>n().createElement(cn.Z,{key:e,margin:l,level:e,className:o.line}))),c&&n().createElement(cn.Z,{margin:l,level:t,className:d()(o.line,!a&&t>0&&o.horizontalLine,a&&o.parentLine,r&&o.lastLevel)}))},En=(0,ye.Z)({listItem:{padding:"0 0 0 15px","&:after":{content:'""',left:0,right:0,position:"absolute",bottom:0,height:"1px",background:"rgba(0, 0, 0, 0.05)"}},selectedItem:{background:"#F0F7FC !important"},pointerCursor:{cursor:"pointer"},content:{display:"flex",alignItems:"center",width:"100%",height:"100%",position:"relative"},attribute:{paddingLeft:"9px",boxSizing:"border-box",width:"100%",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",height:"100%",position:"relative",fontSize:"13px"},marginWrapper:{display:"inline-block",height:"100%",position:"relative",width:"100%"},attributeType:{position:"absolute",left:0,top:"8px"},fillRate:{position:"absolute",bottom:"8px",left:0,right:0,zIndex:1},attributeLabel:{padding:"8px 0 0 15px",position:"relative","&:after":{content:'""',position:"absolute",right:0,top:0,width:"40px",height:"100%",background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #fff 100%)",pointerEvents:"none"}},selectedAttributeLabel:{"&:after":{background:"linear-gradient(to right, rgba(255, 255, 255, 0.2), #F0F7FC 100%)"}},parentAttributeLabel:{padding:"14px 0 0 13px"},detailsIconSelected:{background:"#F0F7FC"},detailsIcon:{background:"white"},collapseIcon:{marginRight:"6px"},iconLoader:{width:"22px",height:"22px",border:"2px solid white",background:"rgba(196, 196, 196, 0.4)",borderRadius:"50%"},selectedIconLoader:{border:"2px solid #F0F7FC"},iconsLoaderWrapper:{paddingRight:"23px",paddingLeft:"28px",display:"flex"},iconLoaderWrapper:{width:"24px",height:"24px",backgroundColor:"white",borderRadius:"50%",marginRight:"-3px"},fillRateLineLoader:{height:"8px",width:"100%",background:"rgba(196, 196, 196, 0.4)",left:0,right:0,bottom:"8px",zIndex:1,position:"absolute"}}),bn=e=>{let{detailedAttributeType:t,fillRateData:l,fillRateState:a,style:r,level:i,selected:o=!1,onClick:c,onCollapse:s=zl.ZT,isCollapsed:p=!1,isLastLevelItem:f=!1,isLoading:m}=e;const h=En(),y=!!t.children,g=!!l,v=$(t),E=p?on.Z:nn.Z,b=o?h.detailsIconSelected:h.detailsIcon;return n().createElement(Ue.ListItem,{style:r,selected:o,classes:{selected:h.selectedItem},onClick:y?void 0:()=>{c(t)},component:"div",className:d()(h.listItem,!y&&h.pointerCursor)},n().createElement("div",{className:h.content},!y&&n().createElement("div",{className:h.attributeType},n().createElement(ol,{type:t.type})),n().createElement("div",{className:h.attribute},n().createElement(vn,{level:i,margin:20,hasChildren:y,isLastLevelItem:f,isCollapsed:p}),n().createElement(cn.Z,{margin:20,level:i,className:h.marginWrapper},n().createElement(jl.C,{value:v},n().createElement("div",{className:d()(h.attributeLabel,o&&h.selectedAttributeLabel,y&&h.parentAttributeLabel)},y&&n().createElement(sn.Z,{size:"XXS",icon:E,onClick:s,className:h.collapseIcon}),v))),!m&&g&&!y&&n().createElement("div",{className:h.fillRate},n().createElement(hn,{data:l})),m&&!y&&n().createElement("div",{className:h.fillRateLineLoader})),m?n().createElement("div",{className:h.iconsLoaderWrapper},(0,u.times)((e=>n().createElement("div",{className:h.iconLoaderWrapper,key:`unloadedIcon-${e}`},n().createElement("div",{className:d()(h.iconLoader,{[h.selectedIconLoader]:o})}))),5)):n().createElement(dn,{details:t.details,classes:{iconRoot:b},fillRateData:l,fillRateState:a})))},xn=(0,u.propOr)({},"attributeItem"),On=(0,u.pipe)((0,u.find)((0,u.pipe)(xn,(0,u.either)(s.YkM,s.Or$),u.not)),xn),wn=e=>(0,u.pipe)(xn,(0,u.propEq)("fieldName",e)),Sn=e=>(0,u.filter)((0,u.propEq)("group",e));let Rn;!function(e){e.SHOW_EMPTY="showEmpty"}(Rn||(Rn={}));const Tn=(0,u.curry)(((e,t,l)=>{const a=(0,u.head)(Sn("emptiness")(e));return(null==a?void 0:a.value)===Rn.SHOW_EMPTY?l:l.filter((0,u.pipe)(xn,ee(t)))})),Nn=e=>{const t=Object.values(q);return e.filter((0,u.pipe)((0,u.prop)("value"),(0,u.includes)(u.__,t)))},Cn=(0,u.pipe)(xn,(0,u.prop)("fieldName")),An=(0,u.curry)(((e,t)=>{const l=(0,u.pipe)(Sn("details"),Nn)(e),a=(e=>(0,u.pipe)((0,u.filter)((0,u.pipe)(xn,(0,u.both)((0,u.prop)("children"),K(e)))),(0,u.map)(Cn)))(l)(t);return t.filter((e=>{let{attributeItem:t}=e;return a.some((e=>t.fieldName.startsWith(e)))||J(l,t)}))})),_n=(0,u.pipe)((0,u.map)(xn),(0,u.pluck)("fieldName"),u.identity);function In(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var Dn=l(36444),Mn=l(15115);const Ln=(0,ye.Z)((e=>({searchWrapper:{padding:"8px 0px 8px 16px",alignItems:"center",display:"flex",flexGrow:1,justifyContent:"flex-end",marginLeft:"-105px"},filterByDetails:{width:"32px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"9px"},searchInput:{borderRadius:"4px",width:"202px",minHeight:"32px!important",justifyContent:"flex-end",alignItems:"center",padding:"0 2px",boxSizing:"border-box","& input":{fontSize:"13px"},"& button":{padding:"2px"}},filledInput:{"& button:last-child":{backgroundColor:"rgba(0, 0, 0, 0.0509804)"}},menu:{width:"300px",paddingTop:"8px"},filterIcon:{color:e.palette.text.secondary},filterIconFilterApplied:{color:"#0072CE"},filterIconWrapper:{width:"32px",height:"32px",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",position:"relative","&:after":{position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"4px",background:"rgba(0, 0, 0, 0.04)"},"&:hover":{"&:after":{content:'""'}}},filterIconWrapperActive:{background:"rgba(0, 0, 0, 0.04)","&:after":{content:'""',background:"rgba(0, 0, 0, 0.04)"}},filterIconWrapperSelected:{background:"rgba(0, 114, 206, 0.12)"},dropdownMenuTitle:{lineHeight:"48px",height:"48px",paddingLeft:"16px"},option:{paddingLeft:"5px",fontSize:"13px",height:"28px",lineHeight:"16px",letterSpacing:"normal",paddingRight:"19px",filter:e=>e?"grayscale(0)":"grayscale(1)",opacity:e=>e?1:.5},typeIconWrapper:{width:"28px",marginLeft:"1px","& svg":{width:"20px",height:"20px"}},valueContainer:{marginLeft:0},counter:{marginLeft:"5px"},optionLabel:{flexGrow:1},groupLabel:{textTransform:"uppercase",margin:"15px 16px 5px",letterSpacing:"0.1px",display:"block"},actionsContainer:{display:"flex",padding:"12px 5px 8px 12px"},clearAllButton:{marginRight:"auto"}}))),Bn=e=>{let{isSelected:t,data:l,onChange:a}=e;const{count:r,label:i,value:o}=l,c=!(0,u.isNil)(r),p=Ln(!c||r>0);return n().createElement(Ue.MenuItem,{className:p.option,component:"div",onClick:()=>a(l),"data-reltio-id":`reltio-dq-dashboard-option-${l.value}`},n().createElement(Ue.Checkbox,{color:"primary",checked:t}),n().createElement("span",{className:p.typeIconWrapper},n().createElement(zt,{detailType:o})),n().createElement(jl.C,{value:i},n().createElement("div",{className:p.optionLabel},i)),c&&n().createElement("span",{className:p.counter},(0,s.k7L)(r,999)))},kn=(0,u.curry)(((e,t)=>!!t.find((0,u.propEq)("value",e.value)))),zn=(0,u.curry)(((e,t)=>{const l=t.findIndex((0,u.propEq)("value",e.value));return-1!==l?(0,u.remove)(l,1,t):t})),Fn=e=>{let{defaultFilterOptions:t=[],filterOptions:l,defaultFilterText:a,onChangeFilterText:i,onChangeFilterOptions:o}=e;const c=Ln(),[s,p]=(0,r.useState)(null),[f,h]=(0,r.useState)([]),[y,g]=(0,r.useState)(a||null);(0,r.useEffect)((()=>{h(((e,t)=>{const l=(0,u.pipe)((0,u.pluck)("options"),u.flatten)(t);return e.filter((e=>{let{value:t}=e;return l.find((0,u.propEq)("value",t))}))})(t,l))}),[t,l]);const v=()=>p(null),E=e=>{h((0,u.ifElse)(kn(e),zn(e),(0,u.concat)([e])))},b=!!f.length,x=!!s,O=d()(c.filterIconWrapper,{[c.filterIconWrapperActive]:x,[c.filterIconWrapperSelected]:b}),w=b?c.filterIconFilterApplied:c.filterIcon;return n().createElement("div",{className:c.searchWrapper},n().createElement("div",{"data-reltio-id":"reltio-dq-dashboard-attributes-search-input"},n().createElement(Mn.Z,{autofocus:!0,onChange:e=>{g(e),i(e||"")},initialValue:a||null,height:40,placeholder:m().text("Search attribute name"),classes:{root:d()(c.searchInput,{[c.filledInput]:!!y})}})),n().createElement("div",{className:c.filterByDetails,"data-reltio-id":"reltio-dq-dashboard-attributes-filter"},n().createElement("div",{className:O,onClick:e=>p(e.currentTarget)},n().createElement(Dn.Z,{className:w})),n().createElement(Ue.Popover,{open:!!s,anchorEl:s,onClose:()=>{h((0,u.always)(t)),v()},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{"data-reltio-id":"reltio-dq-dashboard-attributes-filter-popup"}},n().createElement("div",{className:c.menu},n().createElement(Ue.Typography,{variant:"h6",className:c.dropdownMenuTitle},m().text("Filter")),n().createElement("div",{className:c.valueContainer},l.map((e=>{let{label:t,options:l}=e;return n().createElement("div",{key:t},t&&n().createElement(Ue.Typography,{variant:"caption",className:c.groupLabel},t),l.map((e=>{const t=kn(e,f);return n().createElement(Bn,{key:e.label,data:e,isSelected:t,onChange:E})})))})))),n().createElement("div",{className:c.actionsContainer},n().createElement(Ue.Button,{onClick:()=>{h([])},className:c.clearAllButton,disabled:!b,"data-reltio-id":"reltio-dq-dashboard-filter-clear-all-button"},m().text("Clear all")),n().createElement(Ue.Button,{onClick:()=>{h(t),v()},"data-reltio-id":"reltio-dq-dashboard-filter-cancel-button"},m().text("Cancel")),n().createElement(Ue.Button,{color:"primary",onClick:()=>{o(f),v()},"data-reltio-id":"reltio-dq-dashboard-filter-apply-button"},m().text("Apply"))))))},jn=(0,ye.Z)((e=>({root:{width:"360px",minWidth:"360px",maxWidth:"360px",display:"flex",flexDirection:"column",background:"#fff",zIndex:1,margin:"16px 0 8px",borderRadius:"4px",boxShadow:"0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.2)"},title:{height:"24px",margin:"16px",display:"flex",alignItems:"center",fontSize:"16px",lineHeight:"24px",color:e.palette.text.primary},itemCount:{color:e.palette.text.primary,borderLeft:"1px solid rgba(0, 0, 0, 0.12)",marginLeft:"16px",paddingLeft:"16px"},listWrapper:{flexGrow:1,overflow:"hidden",position:"relative"},loadingAnimation:{"&:before":{position:"absolute",top:0,right:0,bottom:0,left:"50%",zIndex:1,width:"500%",marginLeft:"-250%",background:"linear-gradient(to right, rgba(255, 255, 255, 0) 46%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 54%) 50% 50%;",animation:"$loaderAnimation 0.8s linear infinite",content:'""',pointerEvents:"none"}},columnsTitle:{height:"48px",display:"grid",gridGap:"32px",gridTemplateColumns:"308px 108px",alignItems:"center",padding:"0 16px",background:"rgba(0, 0, 0, 0.06)",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",fontWeight:500,fontSize:"12px",lineHeight:"16px",color:e.palette.text.secondary},loaderWrapper:{position:"absolute",top:"0",left:"0",width:"100%",height:"4px",zIndex:1},"@keyframes loaderAnimation":{"0%":{transform:"translate(-30%, 0)"},"100%":{transform:"translate(30%, 0)"}}}))),Pn=e=>{var t,l;let{entityType:a,onAttributesListChange:o,defaultFieldName:c,defaultFilterOptions:p,defaultFilterText:f,disableAttributeSelection:h}=e;const y=jn(),E=(0,r.useRef)(),b=(0,r.useRef)(),[x,O]=(0,r.useState)(f||""),[w,R]=(0,r.useState)([]),[N,_]=(0,r.useState)(p||[]),[I,D]=(0,r.useState)({fieldName:c}),[M,L]=(0,r.useState)({}),{data:B}=(0,r.useContext)(S),k=null===(t=(0,r.useContext)(T))||void 0===t||null===(l=t.dvfs)||void 0===l?void 0:l.state,z=((e,t)=>{var l,a;const n=(0,i.useSelector)(v.ZP.selectors.getMetadata),o=(0,r.useMemo)((()=>(e=>(0,u.pipe)(s.WN0,ae(e),ce))(t)(n,e)),[n,e,t]),[c,p]=(0,r.useState)([]),d=e.uri,f=(0,r.useMemo)((()=>(0,s.qhs)(n,d)),[n,d]),m=null===(l=(0,r.useContext)(T))||void 0===l||null===(a=l.dvfs)||void 0===a?void 0:a.data;return(0,r.useEffect)((()=>{p([]),m&&p(o.map((0,u.evolve)({attributeItem:e=>function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){In(e,t,l[t])}))}return e}({},e,{details:ie({attrTypeItem:e,dvf:m,matchAttributes:f})},e.children&&{children:e.children.map((t=>(t.details=ie({attrTypeItem:t,dvf:m,matchAttributes:f}),t.details.reference=e.isAttributeReference,t)))})})))}),[o,f,m]),c})(a,x),F=_n(z),j=(0,r.useMemo)((()=>F),[F.toString()]),{data:P,state:U}=((e,t)=>{const[l,a]=(0,r.useState)(C.o.INIT),[n,i]=(0,r.useState)({}),o=(0,A._)(),c=e=>{console.error(e),a(C.o.ERROR),i({})},p=(0,r.useCallback)((()=>{if(t.length)return a(C.o.LOADING),i({}),o((0,s.TTx)({entityTypeUri:e,attributes:t,dataLevel:s.yn8.ATTRIBUTE_TYPE,metrics:[s.N0y.FILL_RATE]})).then(nt).then((e=>{i(e),a(C.o.LOADED)})).catch(c)}),[o,a,i,t]),d=(0,r.useCallback)((()=>{try{p()}catch(e){c(e)}}),[p]);return(0,r.useEffect)((()=>{d()}),[d]),{data:n,state:l,reload:d}})(a.uri,j);(0,r.useEffect)((()=>L(P)),[P]),(0,r.useEffect)((()=>{const e=(null==B?void 0:B.fillRate)&&rt(null==B?void 0:B.fillRate),t=M[I.fieldName];L((l=>!e||(0,u.equals)(t,e)?l:(0,u.assoc)(I.fieldName,e,l)))}),[null==B?void 0:B.fillRate]);const H=U===C.o.LOADING||k===C.o.LOADING||U===C.o.INIT||k===C.o.INIT,{filteredItems:V,filterOptions:W}=(0,r.useMemo)((()=>{const e=U===C.o.INIT||U===C.o.LOADING?z:Tn(N,M,z),t=(e=>{const t=Object.values(q).map((e=>({value:e,label:oe(e),group:"details"}))).map((t=>(0,u.assoc)("count",((e,t)=>e.filter((e=>K([t],e.attributeItem))).length)(e,t),t)));return{label:m().text("Attribute properties"),options:t}})(e);return{filteredItems:An(N,e),filterOptions:[{label:"",options:[{label:m().text("Show attributes with no data"),value:Rn.SHOW_EMPTY,group:"emptiness"}]},t]}}),[z,N,M,U]),Y=(0,r.useMemo)((()=>((e,t)=>e.filter((e=>{let{attributeItem:l}=e;return!t.some((e=>l.fieldName.startsWith(e)&&l.fieldName!==e))})))(V,w)),[V,w]),G=V.length,Z=e=>{o({selectedDetailedAttributeType:e,filterText:x,filterOptions:N}),D({fieldName:e.fieldName})},$=()=>{const e=((e,t)=>(0,u.pipe)((0,u.find)(wn(t)),(0,u.propOr)(null,"attributeItem"))(e))(V,I.fieldName)||On(V);return(0,u.isEmpty)(e)||h?null:e};(0,r.useEffect)((()=>{var e,t,l;if(h)return void(null===(l=E.current)||void 0===l||l.scrollTo(0));if(V.length){const e=$();D({fieldName:(null==e?void 0:e.fieldName)||I.fieldName})}const a=((e,t)=>(0,u.findIndex)(wn(t))(e))(V,I.fieldName);a>-1?null===(e=E.current)||void 0===e||e.scrollToItem(a,"center"):null===(t=E.current)||void 0===t||t.scrollTo(0)}),[V]),(0,r.useEffect)((()=>{const e=$();o({selectedDetailedAttributeType:e,filterText:x,filterOptions:N})}),[x,N,I]),(0,r.useEffect)((()=>{D((e=>{let{fieldName:t}=e;return h?{fieldName:null}:{fieldName:t}}))}),[h]);const Q=e=>{let{scrollOffset:t}=e;if(b.current){var l,a;const e=null===(l=b.current)||void 0===l||null===(a=l.style)||void 0===a?void 0:a.borderTop;0===t&&(b.current.style.borderTop=""),t>0&&""===e&&(b.current.style.borderTop="1px solid rgba(0, 0, 0, 0.05)")}},X=e=>{let{data:t,index:l,style:a}=e;const{attributeItem:r,level:i=0}=t[l],o=I.fieldName===r.fieldName,c=((e,t)=>e[t.fieldName])(M,r),s=l>0&&i>(0,u.pathOr)(-1,[l+1,"level"],Y);return n().createElement(bn,{fillRateData:c,fillRateState:U,isLoading:H,style:a,detailedAttributeType:r,level:i,onClick:Z,selected:o,onCollapse:(p=r.fieldName,()=>{R((e=>e.includes(p)?e.filter((e=>e!==p)):e.concat(p)))}),isCollapsed:w.includes(r.fieldName),isLastLevelItem:s});var p},J=Y.length,ee=!!J;return n().createElement("div",{className:y.root},n().createElement("div",{className:y.title},m().text("Attributes"),n().createElement("span",{className:y.itemCount},`${G} ${te=G,1===te?m().text("item"):m().text("items")}`),n().createElement(Fn,{defaultFilterText:f,defaultFilterOptions:N,onChangeFilterOptions:_,onChangeFilterText:O,filterOptions:W})),n().createElement("div",{ref:b,className:d()(y.listWrapper,{[y.loadingAnimation]:H}),"data-reltio-id":"reltio-dq-dashboard-attributes-list"},ee?n().createElement(ze.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=250}=e;return n().createElement(rn.FixedSizeList,{ref:E,itemCount:J,width:"100%",height:t,itemData:Y,itemSize:48,onScroll:Q},X)})):!H&&n().createElement($e,{height:349,data:{Icon:g.B9.SEARCH_RESULTS,title:m().text("No results found"),message:m().text("Try adjusting your search or filter to find\nwhat you’re looking for")},variant:pe.MEDIUM})));var te},Un=(0,ye.Z)({root:{display:"flex",alignItems:"center",width:"100%",borderBottom:"solid 1px rgba(0, 0, 0, 0.12)"},title:{fontSize:"18px",flexShrink:0,padding:"0 20px"},content:{overflow:"hidden",flexGrow:1},updateButton:{height:36,width:36,padding:"0 20px"}}),Hn=e=>{let{title:t,children:l}=e;const a=Un();return n().createElement("div",{className:a.root},n().createElement(Ue.Typography,{variant:"body2",className:a.title},t),n().createElement("div",{className:a.content},l))};var Vn=l(51209);const Wn=(0,ye.Z)((e=>({entityLevelBarWrapper:e=>{let{attributeListWidth:t}=e;return{width:`calc(100% - ${t}px)`,height:"100%",verticalAlign:"top",position:"relative",boxSizing:"border-box"}},entityLevelBar:t=>{let{transitionTimeout:l}=t;return{position:"absolute",top:0,bottom:0,right:"16px",width:"28px",background:"linear-gradient(0deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05)), #FFFFFF",boxShadow:"0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.12), 0px 1px 3px rgba(0, 0, 0, 0.2)",color:e.palette.text.secondary,fontWeight:500,fontSize:"14px",writingMode:"vertical-rl",textTransform:"uppercase",cursor:"pointer",transition:`opacity ${l}s`,padding:"52px 0",margin:"16px 0 8px",lineHeight:"28px"}},entityLevelBarHidden:()=>({opacity:0}),entityLevelLayout:e=>{let{transitionTimeout:t}=e;return{width:"100%",height:"100%",position:"relative",left:0,transition:`left ${t}s`}},entityLevelLayoutSliding:e=>{let{entityLevelBarWidth:t}=e;return{left:`-${t}px`}},expandButton:{position:"absolute",top:"15px",left:"6px",writingMode:"initial",textTransform:"none",maxWidth:"24px",height:"24px",borderRadius:"12px",background:"#fff",boxShadow:"0px 2px 2px rgba(0, 0, 0, 0.14), 0px 3px 1px rgba(0, 0, 0, 0.12), 0px 1px 5px rgba(0, 0, 0, 0.2)",transition:"max-width 0.3s linear",zIndex:2,overflow:"hidden",display:"flex",lineHeight:"28px","&:hover":{maxWidth:"500px"}},expandButtonText:{paddingRight:"8px",fontSize:"12px",lineHeight:"24px"}}))),Yn=e=>{let{showEntityLevel:t,dataLevel:l,views:a,layout:r,entityType:i,isSliding:o=!1}=e;const c=Wn({transitionTimeout:.3,attributeListWidth:360,entityLevelBarWidth:62}),p=`${m().text("Entity")}: ${(0,s.idV)(i.label)} ${m().text("overview")}`;return n().createElement("div",{className:c.entityLevelBarWrapper,onClick:t},n().createElement("div",{className:d()(c.entityLevelBar,{[c.entityLevelBarHidden]:l===s.yn8.ENTITY_TYPE}),"data-reltio-id":"reltio-dq-dashboard-entity-level-bar-button"},n().createElement("div",{className:c.expandButton},n().createElement(Vn.Z,null),n().createElement("span",{className:c.expandButtonText},p)),m().text("Entity")),n().createElement("div",{className:d()(c.entityLevelLayout,{[c.entityLevelLayoutSliding]:l!==s.yn8.ENTITY_TYPE})},(l===s.yn8.ENTITY_TYPE||o)&&n().createElement(de.Provider,{value:s.yn8.ENTITY_TYPE},n().createElement(ln,{views:a,layout:r}))))},Gn=(0,ye.Z)((e=>({perspectiveView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex",flexDirection:"column",background:"#F9F9F9"},content:()=>({display:"flex",height:"100%",whiteSpace:"nowrap",marginLeft:"12px"}),contentWithEntityLevel:e=>{let{attributeListWidth:t,entityLevelBarWidth:l}=e;return{width:`calc(200% - ${t+l}px)`,marginLeft:"0"}},additionalLabel:{color:e.palette.text.secondary,marginLeft:"10px"},contentWrapper:e=>{let{attributeListWidth:t,entityLevelBarWidth:l,transitionTimeout:a}=e;return{flexGrow:1,position:"absolute",top:"50px",bottom:0,left:`calc(-100% + ${t+l}px)`,width:"100%",height:"calc(100% - 50px)",transition:`left ${a}s`}},contentWrapperOneSlide:()=>({left:0,transition:"none"}),contentWrapperEntityLevel:()=>({left:0}),attributeLevelWrapper:()=>({verticalAlign:"top",width:"auto",height:"100%",flexGrow:1}),attributeLevelWithEntityLevel:e=>{let{attributeListWidth:t,entityLevelBarWidth:l}=e;return{width:`calc(100% - ${t+l}px)`}}})));function Zn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const $n=(0,u.path)([0,"uri"]),qn=e=>{var t,l,a,o,c;let{config:p,saveState:f,getSavedState:E}=e;const _=Gn({transitionTimeout:.3,attributeListWidth:360,entityLevelBarWidth:62}),M=(()=>{const e=(0,i.useSelector)(v.ZP.selectors.getMetadata);return(0,r.useMemo)((()=>e.entityTypes.filter(s.oDv)),[e.entityTypes])})(),[L,B]=(0,r.useState)(),[k,z]=(0,r.useState)(!1),F=M&&L?(0,s.nt9)({entityTypes:M},L):null,j=D(M),[P,W]=(0,r.useState)(null),{isLoaded:Y,savedState:G}=(0,h.a)(E),Z=(0,i.useSelector)(v.ZP.selectors.getCanUserGetDQStatistic),[$,q]=(0,r.useState)(),Q=(e=>{const[t,l]=(0,r.useState)(null),[a,n]=(0,r.useState)(null),o=(0,A._)(),c=(0,i.useSelector)(v.ZP.selectors.getServicesPath),p=(0,i.useSelector)(v.ZP.selectors.getEnvironment),d=(0,i.useSelector)(v.ZP.selectors.getTenant);return(0,r.useEffect)((()=>{o((0,s.JUW)({servicesPath:c,tenant:d,environment:p})).then((e=>{var t;const a=null==e||null===(t=e.data)||void 0===t?void 0:t.apps.find((0,u.propEq)("name","Console")).uri;l(a)})).catch((()=>l(null)))}),[p,d,c]),(0,r.useEffect)((()=>{const l=t&&null!=e&&e.uri?(0,u.pipe)((0,u.split)("?"),(0,u.insert)(1,`datamodeler/entityDetails/${(0,s.nIW)(e.uri)}/validation?`),(0,u.join)(""))(t):null;n(l)}),[e,t]),a})(F),X=(e=>{const[t,l]=(0,r.useState)(null),[a,n]=(0,r.useState)(C.o.INIT),[o,c]=(0,r.useState)(),p=(0,i.useSelector)(v.ZP.selectors.getTenant),d=(0,i.useSelector)(v.ZP.selectors.getDVFPath),u=(0,A._)(),f=(0,i.useSelector)(v.ZP.selectors.getEnvironment),m=(0,i.useSelector)(v.ZP.selectors.getCanUserReadDVF),h=e=>{console.error(e),n(C.o.ERROR),l([]),c(null==e?void 0:e.errorCode)},y=e=>{l(e.functions),c(void 0),n(C.o.LOADED)},g=(0,r.useCallback)((()=>{if(m)return e&&f?(c(void 0),n(C.o.LOADING),u((0,s.HaQ)({dvfPath:d,tenant:p,entityTypeUri:e,env:f})).then(y).catch(h)):void 0;h({errorCode:s.Xt7.ACCESS_DENIED})}),[d,p,e,f]);return(0,r.useEffect)((()=>{g()}),[g]),(0,r.useMemo)((()=>({data:t,state:a,reload:g,errorCode:o})),[t,a,g,o])})(null==F?void 0:F.uri),K=(0,r.useMemo)((()=>({dvfs:X,dvfConfigLink:Q})),[X,Q]),J=(0,r.useRef)();(0,r.useEffect)((()=>{J.current=G}),[G]);const ee=(0,u.pipe)((0,u.map)((e=>(0,u.assoc)("entityCount",j(e.uri))(e))),(0,u.sortWith)([(e,t)=>{let{entityCount:l}=e,{entityCount:a}=t;return l===a||l>0&&a>0?0:0===l?1:-1},(0,u.ascend)((0,u.prop)("label"))]),(0,u.map)(((e,t)=>{let{label:l,uri:a,entityCount:r}=e;return{label:l,value:a,additionalLabel:n().createElement("span",{className:_.additionalLabel},"(",(0,s.k7L)(r,999),")"),dataReltioId:`reltio-dq-dashboard-entity-tab-${t}`}})))(M),te=(0,r.useCallback)((e=>{if((null==F?void 0:F.uri)!==e){W(null),B(e);const t=function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Zn(e,t,l[t])}))}return e}({dataLevel:s.yn8.ENTITY_TYPE,entityTypeUri:e},J.current&&{filterOptions:J.current.filterOptions,filterText:J.current.filterText,fieldName:J.current.fieldName});q(s.yn8.ENTITY_TYPE),f(t),J.current=t}}),[null==F?void 0:F.uri]),le=(null===(t=p.layoutsByDataLevel)||void 0===t?void 0:t[s.yn8.ENTITY_TYPE])||w[s.yn8.ENTITY_TYPE],ae=null===(l=p.layoutsByDataLevel)||void 0===l?void 0:l[s.yn8.ATTRIBUTE_TYPE],re=(0,r.useMemo)((()=>((e,t)=>{const l=U(t),a=(0,u.mergeLeft)(e,w[s.yn8.ATTRIBUTE_TYPE]);return a[l]||a.default||[]})(ae,null==P?void 0:P.type)),[null==P?void 0:P.type,ae]),ne=(0,r.useMemo)((()=>le?((e,t)=>{const l=(0,u.uniqBy)((0,u.prop)("id"),(0,u.concat)((null==e?void 0:e[s.yn8.ENTITY_TYPE])||[],O[s.yn8.ENTITY_TYPE]||[])),a=[b.SUMMARY,b.CONSOLIDATION_RATE,b.DATA_VALIDATION];return H({views:l,supportedViews:a,layout:t})})(p.viewsByDataLevel,le):[]),[p.viewsByDataLevel,le]),ie=(0,r.useMemo)((()=>V(ne)),[ne]),oe=I({entityType:F,dataLevel:s.yn8.ENTITY_TYPE,metrics:ie}),ce=(0,r.useMemo)((()=>((e,t,l)=>{const a=(0,u.uniqBy)((0,u.prop)("id"),(0,u.concat)((null==e?void 0:e[s.yn8.ATTRIBUTE_TYPE])||[],O[s.yn8.ATTRIBUTE_TYPE]||[])),r=(e=>{switch(e){case x.INTEGER:case x.FLOAT:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.VALUE_DISTRIBUTION];case x.BOOLEAN:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY];case x.STRING:return[b.LENGTH_STATISTIC,b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS];case x.DATE:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.VALUE_DISTRIBUTION,b.MONTH_DISTRIBUTION,b.DAY_OF_MONTH_DISTRIBUTION,b.DAY_OF_WEEK_DISTRIBUTION];case x.SSN:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.PATTERN];case x.UNKNOWN:return[b.SUMMARY,b.CROSSWALK_ANALYSIS,b.DATA_VALIDATION,b.FILL_RATE,b.FREQUENCY,b.UNIQUENESS,b.LENGTH_STATISTIC];default:return[]}})(U(t));return H({views:a,supportedViews:r,layout:l})})(p.viewsByDataLevel,null==P?void 0:P.type,re)),[p.viewsByDataLevel,null==P?void 0:P.type,re]),de=(0,r.useMemo)((()=>(0,u.pipe)(V,(e=>se(P)?(0,u.reject)((0,u.equals)(s.N0y.DATA_VALIDATION))(e):e))(ce)),[ce,P]),ue=I({entityType:F,detailedAttributeType:P,dataLevel:s.yn8.ATTRIBUTE_TYPE,metrics:de});(0,r.useEffect)((()=>{Y&&(B(G.entityTypeUri||$n(M)),q(le?G.dataLevel||s.yn8.ENTITY_TYPE:s.yn8.ATTRIBUTE_TYPE))}),[Y]);const fe=F&&Z&&Y&&!!j(L);(0,r.useEffect)((()=>{z(!0),$===s.yn8.ENTITY_TYPE&&setTimeout((()=>{W(null)}),300),setTimeout((()=>{z(!1)}),300)}),[$]);const me=!!le;return n().createElement("div",{className:_.perspectiveView},n().createElement(Hn,{title:m().text("Data Quality")},F&&n().createElement(y.Z,{value:F.uri,tabs:ee,onChange:te,scrollButtons:"auto"})),n().createElement("div",{className:d()(_.contentWrapper,{[_.contentWrapperEntityLevel]:$===s.yn8.ENTITY_TYPE,[_.contentWrapperOneSlide]:!fe||!me})},fe&&n().createElement("div",{className:d()(_.content,{[_.contentWithEntityLevel]:me})},n().createElement(T.Provider,{value:K},n().createElement(N.Provider,{value:F},me&&n().createElement(S.Provider,{value:oe},n().createElement(Yn,{showEntityLevel:()=>{q(s.yn8.ENTITY_TYPE)},dataLevel:$,views:ne,layout:le,entityType:F,isSliding:k})),n().createElement(S.Provider,{value:ue},n().createElement(Pn,{entityType:F,onAttributesListChange:e=>{let{selectedDetailedAttributeType:t,filterText:l,filterOptions:a}=e;const r=null==t?void 0:t.fieldName,n={entityTypeUri:F.uri,fieldName:r,filterOptions:a,filterText:l,dataLevel:$};(0,u.equals)(J.current,n)||(f(n),J.current=n),r&&q(s.yn8.ATTRIBUTE_TYPE),W(t)},defaultFieldName:null===(a=J.current)||void 0===a?void 0:a.fieldName,defaultFilterText:null===(o=J.current)||void 0===o?void 0:o.filterText,defaultFilterOptions:null===(c=J.current)||void 0===c?void 0:c.filterOptions,disableAttributeSelection:$===s.yn8.ENTITY_TYPE}),n().createElement("div",{className:d()(_.attributeLevelWrapper,{[_.attributeLevelWithEntityLevel]:me})},P&&n().createElement(R.Provider,{value:P},n().createElement(an,{dataLevel:$,views:ce,layout:re,isSliding:k}))))))),!Z&&n().createElement(Ye,{height:359,errorData:{title:m().text("You don’t currently have permission to view this page"),message:m().text(" Please contact your Tenant Admin to change permissions")},variant:pe.LARGE}),Y&&F&&!j(L)&&Z&&n().createElement($e,{height:359,data:{Icon:g.B9.NO_DATA,title:m().text("Give us something to go on!"),message:m().text("Go ahead and load some data. We’ll put it on the scales and\nlet you know here if it measures up.")},variant:pe.LARGE})))};function Qn(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Xn=function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?Object(arguments[t]):{},a=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(l).filter((function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable})))),a.forEach((function(t){Qn(e,t,l[t])}))}return e}({},s.rSc,{tooltip:{borderRadius:"4px",backgroundColor:"rgba(96, 96, 96, 0.9)",maxWidth:"300px"}}),Kn=(0,o.Z)(Xn),Jn=(0,c.createGenerateClassName)({productionPrefix:"DQDashboardPerspective",disableGlobal:!0}),ei=e=>{let{store:t,config:l,saveState:a,getSavedState:o}=e;const p=(0,r.useCallback)((0,s.aYu)(o),[o]);return n().createElement(i.Provider,{store:t},n().createElement(c.ThemeProvider,{theme:Kn},n().createElement(c.StylesProvider,{generateClassName:Jn},n().createElement(qn,{config:l,saveState:a,getSavedState:p}))))}}}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reltio/remotes",
3
- "version": "1.4.1104",
3
+ "version": "1.4.1105",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "main.js",
6
6
  "publishConfig": {