@reltio/remotes 1.4.924
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/183.js +1 -0
- package/237.js +1 -0
- package/245.js +1 -0
- package/26.js +2 -0
- package/26.js.LICENSE.txt +14 -0
- package/279.js +1 -0
- package/340.js +1 -0
- package/346.js +2 -0
- package/346.js.LICENSE.txt +13 -0
- package/348.js +2 -0
- package/348.js.LICENSE.txt +8 -0
- package/393.js +2 -0
- package/393.js.LICENSE.txt +7 -0
- package/394.js +1 -0
- package/400.js +1 -0
- package/413.js +1 -0
- package/484.js +1 -0
- package/526.js +1 -0
- package/570.js +2 -0
- package/570.js.LICENSE.txt +8 -0
- package/614.js +1 -0
- package/626.js +1 -0
- package/63.js +2 -0
- package/63.js.LICENSE.txt +5 -0
- package/645.js +1 -0
- package/651.js +1 -0
- package/670.js +1 -0
- package/707.js +1 -0
- package/720.js +2 -0
- package/720.js.LICENSE.txt +23 -0
- package/737.js +2 -0
- package/737.js.LICENSE.txt +8 -0
- package/751.js +2 -0
- package/751.js.LICENSE.txt +29 -0
- package/781.js +1 -0
- package/794.js +1 -0
- package/810.js +1 -0
- package/844.js +1 -0
- package/895.js +1 -0
- package/980.js +1 -0
- package/main.js +1 -0
- package/package.json +9 -0
- package/remoteEntry.js +1 -0
package/895.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[895],{98989:(e,t,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(50175)).default)(r.default.createElement(r.default.Fragment,null,r.default.createElement("path",{d:"M10 17l5-5-5-5v10z"}),r.default.createElement("path",{fill:"none",d:"M0 24V0h24v24H0z"})),"ArrowRight");t.Z=n},82726:(e,t,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(50175)).default)(r.default.createElement("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"}),"InfoOutlined");t.Z=n},43266:(e,t,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(50175)).default)(r.default.createElement("path",{d:"M12 5V1L7 6l5 5V7c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6H4c0 4.42 3.58 8 8 8s8-3.58 8-8-3.58-8-8-8z"}),"Replay");t.Z=n},21853:(e,t,l)=>{var a=l(14859);t.Z=void 0;var r=a(l(24328)),n=(0,a(l(50175)).default)(r.default.createElement("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");t.Z=n},70809:(e,t,l)=>{l.r(t),l.d(t,{default:()=>Zr});var a=l(24328),r=l.n(a),n=l(52730),i=l(36138),o=l(7771),c=l(17440),s=l(87918),p=l.n(s),u=l(11326),d=l(7907),f=l(79002),m=l(89810),h=l(5260);var y=l(90436),v=l(79692);const g=(0,v.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"}}),E=e=>{let{title:t,children:l}=e;const a=g();return r().createElement("div",{className:a.root},r().createElement(y.Z,{variant:"body2",className:a.title},t),r().createElement("div",{className:a.content},l))};var b=l(17822);let x;!function(e){e.FILL_RATE_CHART="fillRate",e.UNIQUENESS_CHART="uniqueness",e.SUMMARY="summary",e.VALIDATION="validation",e.FREQUENCY="frequency",e.LENGTH="length",e.CROSSWALK="crosswalk",e.MONTH_DISTRIBUTION="monthDistribution",e.DAY_OF_WEEK_DISTRIBUTION="dayOfWeekDistribution",e.DAY_OF_MONTH_DISTRIBUTION="dayOfMonthDistribution",e.VALUE_DISTRIBUTION="valueDistribution",e.PATTERN="patternAnalysis",e.UNSUPPORTED="unsupported"}(x||(x={}));var O=l(45644),w=l(78223),N=l(39878);const T=(e,t,l)=>({attributes:(t||[]).map(((t,a)=>{let{filter:r,fieldName:n,values:i}=t;return{data:{uri:null==l?void 0:l.uri,entityTypeUri:e,fieldName:n},filter:r,id:`attribute_${a}`,operator:"and",values:i}})),entityTypes:[e],id:"group",operator:"or"});let S,R;!function(e){e.STRING="string",e.FLOAT="float",e.INTEGER="integer",e.BOOLEAN="boolean",e.DATE="date",e.SSN="SSN",e.UNKNOWN="unknown"}(S||(S={})),function(e){e.ENTITY_TYPE="entityType",e.ATTRIBUTE_TYPE="attributeType"}(R||(R={}));const I={[R.ATTRIBUTE_TYPE]:[{id:"FillRateView",type:x.FILL_RATE_CHART,title:"Fill rate"},{id:"UniquenessAnalysisView",type:x.UNIQUENESS_CHART,title:p().text("Uniqueness analysis")},{id:"SummaryView",type:x.SUMMARY,title:p().text("Summary")},{id:"ValidationView",type:x.VALIDATION,title:p().text("Profiles that violated validation function")},{id:"FrequencyAnalysis",type:x.FREQUENCY,title:p().text("Frequency analysis")},{id:"LengthStatistics",type:x.LENGTH,title:p().text("Length statistics")},{id:"PatternAnalysis",type:x.PATTERN,title:p().text("Pattern analysis")},{id:"CrosswalkAnalysis",type:x.CROSSWALK,title:p().text("Crosswalk analysis")},{id:"MonthDistribution",type:x.MONTH_DISTRIBUTION,title:p().text("Month distribution")},{id:"DayOfWeekDistribution",type:x.DAY_OF_WEEK_DISTRIBUTION,title:p().text("Day of week distribution")},{id:"DayOfMonthDistribution",type:x.DAY_OF_MONTH_DISTRIBUTION,title:p().text("Day of month distribution")},{id:"ValueDistribution",type:x.VALUE_DISTRIBUTION,title:p().text("Value distribution")},{id:"UnsupportedDataType",type:x.UNSUPPORTED,title:p().text("Unsupported Data Type")}],[R.ENTITY_TYPE]:[{id:"SummaryView",type:x.SUMMARY,title:p().text("Summary")}]},A={[R.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:"LengthStatistics"},{x:0,y:38,width:4,height:19,id:"CrosswalkAnalysis"}],[S.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:"PatternAnalysis"},{x:0,y:38,width:4,height:19,id:"CrosswalkAnalysis"}],[S.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:4,height:19,id:"CrosswalkAnalysis"}],[S.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:0,y:38,width:4,height:19,id:"CrosswalkAnalysis"},{x:0,y:57,width:4,height:19,id:"ValueDistribution"},{x:0,y:76,width:2,height:19,id:"MonthDistribution"},{x:2,y:76,width:2,height:19,id:"DayOfWeekDistribution"},{x:0,y:95,width:4,height:19,id:"DayOfMonthDistribution"}],[S.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:"ValueDistribution"},{x:0,y:38,width:4,height:19,id:"CrosswalkAnalysis"}],[S.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:"ValueDistribution"},{x:0,y:38,width:4,height:19,id:"CrosswalkAnalysis"}]}};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){M(e,t,l[t])}))}return e}function M(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const L=(0,c.map)((e=>C({},e,{localizedValue:p().number(e.value)}))),D=e=>(0,c.isNil)(e)?"":`(${e}%)`,P=e=>(0,c.isEmpty)(e)||!e.find((e=>{let{value:t}=e;return t>0})),j=(0,c.curry)(((e,t,l)=>({advanced:[T(t,l.map((0,c.when)((()=>(0,o.Lt4)(e.type)),(0,c.evolve)({values:(0,c.map)((0,o.mOr)(o.ZBU))}))),e)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}))),F=e=>t=>{let{detailedAttributeType:l,entityTypeUri:a,dvfs:r}=t;return(0,c.pipe)(e({fieldName:l.fieldName,entityTypeUri:a,dvfs:r}),j(l,a))},k=e=>{switch(e){case o.oS0.TYPE_BLOB:case o.oS0.TYPE_BLOG_URL:case o.oS0.TYPE_CIK_ID:case o.oS0.TYPE_ENTITY_ID:case o.oS0.TYPE_IMAGE_URL:case o.oS0.TYPE_STRING:case o.oS0.TYPE_TEXT:case o.oS0.TYPE_URL:return S.STRING;case o.oS0.TYPE_COUNT:case o.oS0.TYPE_DOLLAR:case o.oS0.TYPE_INT:case o.oS0.TYPE_LONG:return S.INTEGER;case o.oS0.TYPE_FLOAT:case o.oS0.TYPE_DOUBLE:case o.oS0.TYPE_NUMBER:return S.FLOAT;case o.oS0.TYPE_BOOLEAN:case o.oS0.TYPE_RDM_LOOKUPS_NOT_RESOLVED:return S.BOOLEAN;case o.oS0.TYPE_ACTIVENESS_DATE:case o.oS0.TYPE_DATE:case o.oS0.TYPE_LOCAL_DATE:case o.oS0.TYPE_TIMESTAMP:return S.DATE;case o.oS0.TYPE_SSN:return S.SSN;default:return S.UNKNOWN}},U=e=>{let{percent:t,value:l}=e;return C({width:`${t}%`},l>0&&{minWidth:"3px"})},z=(0,c.pipe)((0,c.pluck)("percent"),(e=>Math.max(...e)));var _=l(71153),V=l.n(_);const B=(0,v.Z)({wrapper:{width:"100%",display:"flex",justifyContent:"center",margin:"auto",flexWrap:"wrap",flexDirection:"column"},item:{display:"flex",alignItems:"baseline"},itemColor:{width:12,height:12,marginRight:10,flexShrink:0}}),H=e=>{let{payload:t}=e;const l=B();return r().createElement("div",{className:V()(l.wrapper)},t.map((e=>r().createElement("div",{key:e.id,className:l.item},r().createElement("div",{style:{background:e.color},className:l.itemColor}),e.value))))},Y=(0,v.Z)({root:{display:"flex",flexDirection:"column",height:"100%"},stackedBar:{width:"100%",display:"flex",flexWrap:"nowrap",marginTop:"11px"},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:"10px"},legendValue:{fontSize:"13px",lineHeight:"18px",color:"rgba(0, 0, 0, 0.87)"},clickable:{cursor:"pointer"}});function Z(){return Z=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},Z.apply(this,arguments)}const G=(0,a.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 n=Y();return r().createElement("div",Z({className:V()(n.bar,l)},a,{ref:t}))}));G.displayName="Bar";const W=G,q=(0,v.Z)({tooltipWrapper:{fontSize:"10px",fontWeight:400,lineHeight:"14px",color:"#FFFFFF"},title:{paddingBottom:"2px"},label:{color:"rgba(255, 255, 255, 0.6)",fontWeight:500,paddingRight:"10px"}}),Q=e=>{let{data:t,title:l}=e;const a=q();return r().createElement("div",{className:a.tooltipWrapper},l&&r().createElement("div",{className:a.title},l),t.map(((e,t)=>{let{label:l,value:n}=e;return r().createElement("div",{key:t},r().createElement("span",{className:a.label},l),r().createElement("span",null,n))})))};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){K(e,t,l[t])}))}return e}function K(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const X=(0,w.Z)(W),J=e=>{let{label:t,value:l,percent:a}=e;return[{label:t,value:`${p().number(l)} ${D(a)}`}]},ee=(0,N.Z)((e=>{let{data:t,colors:l,onItemClick:a}=e;const n=Y(),i=a&&(e=>a(e)),c=!!a;return r().createElement("div",{className:n.root},r().createElement("div",{className:n.stackedBar},t.map(((e,t)=>r().createElement(X,{className:c&&n.clickable,key:e.label,tooltipTitle:r().createElement(Q,{data:J(e)}),style:$({},U(e),{background:l[t]}),onClick:()=>i(e.group)})))),r().createElement("div",{className:n.legendWrapper},r().createElement(O.De,{layout:"vertical",align:"left",verticalAlign:"bottom",wrapperStyle:{display:"flex",overflowY:"auto",maxHeight:"100%",maxWidth:"100%"},content:r().createElement(H,null),payload:(t||[]).map(((e,t)=>{let{group:a,label:i,value:c,percent:s}=e;return{id:a,type:"square",color:l[t],value:r().createElement(r().Fragment,null,r().createElement("span",{className:n.legendLabel},i),r().createElement("span",{className:n.legendValue},`${(0,o.k7L)(c,999)} ${D(s)}`))}}))})))}));var te=l(17998),le=l(39475),ae=l(82726);const re=(0,v.Z)((()=>({root:{padding:"0px 16px 2px"},title:{fontSize:"16px",marginRight:e=>e?0:"5px"},infoIcon:{position:"relative"}}))),ne=e=>{let{title:t,infoTooltipTitle:l,children:a}=e;const n=re(!!a),i=!!l;return r().createElement(te.Z,{title:t,className:n.root,classes:{title:n.title}},i&&r().createElement(le.k,{icon:ae.Z,size:"XXS",tooltipTitle:l,className:n.infoIcon}),a)};var ie=l(54823);const oe=(0,v.Z)((()=>({viewContent:{height:"100%",overflow:"hidden",position:"relative",padding:"0 16px 10px"}})));function ce(){return ce=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},ce.apply(this,arguments)}const se=e=>{let{className: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,["className"]);const a=oe();return r().createElement(ie.Z,ce({},l,{className:V()(a.viewContent,t)}))};var pe=l(1730);const ue=(0,v.Z)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden"}}))),de=e=>{let{config:t,children:l}=e;const a=ue(),{type:n}=t;return r().createElement(pe.Z,{className:a.view,"data-reltio-id":`reltio-dq-dashboard-chart-${n}`},l)},fe={[o.s9T.MISSING]:"#CE5C00",[o.s9T.EXISTS]:"#C4CE00"},me=(0,c.map)((e=>{let{group:t}=e;return fe[t]||(0,o.f4_)(t)})),he=e=>({[o.s9T.MISSING]:p().text("Missing"),[o.s9T.EXISTS]:p().text("Exists")}[e]||e),ye=(0,c.pipe)(Object.entries,(0,c.map)((e=>{let[t,l]=e;return{label:he(t),group:t,value:l}})),(0,c.sortBy)((e=>Object.values(o.s9T).indexOf(e.group))),L),ve=e=>Object.keys(e).reduce(((t,l)=>(t[l]=ye(e[l]),t)),{}),ge=(0,c.propOr)({},"fillRate"),Ee=(0,c.pipe)(ge,ye,(0,c.when)(P,(0,c.always)([])),(0,c.converge)(((e,t)=>({chartData:e,colors:t})),[c.identity,me])),be=(0,c.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:t===o.s9T.EXISTS?o.j5E.EXISTS:o.j5E.MISSING_VALUE,fieldName:l}]})),xe=F(be),Oe=r().createContext(null);Oe.displayName="ChartsDataContext";const we=e=>{const{data:t,state:l,reload:r}=(0,a.useContext)(Oe);return{data:(0,a.useMemo)((()=>e(t)),[t,e]),state:l,reload:r}},Ne=r().createContext(null);Ne.displayName="DVFContext";const Te=r().createContext(null);Te.displayName="DetailedAttributeTypeContext";const Se=r().createContext(null);Se.displayName="EntityTypeContext";const Re=e=>{const t=(0,n.useDispatch)(),l=(0,a.useContext)(Te),r=(0,a.useContext)(Se),i=(0,a.useContext)(Ne).data;return(0,c.pipe)(e({detailedAttributeType:l,entityTypeUri:r.uri,dvfs:i}),m.ui.actions.openSearch,t)},Ie=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:n,reload:i}=we(Ee),{chartData:o,colors:c}=a,s=Re(xe),u=r().createElement(Q,{title:p().text("Fill rate"),data:[{label:p().text("Exists"),value:p().text("Values that have filled strings")},{label:p().text("Missing"),value:p().text("Values that are empty")}]});return r().createElement(de,{config:t},r().createElement(ne,{title:l,infoTooltipTitle:u}),r().createElement(se,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(ee,{data:t,colors:c,onItemClick:s})})))},Ae={[o.dC6.UNIQUE]:"#4BAFFF",[o.dC6.NOT_UNIQUE]:"#C34980"},Ce=(0,c.map)((e=>{let{group:t}=e;return Ae[t]||(0,o.f4_)(t)})),Me=e=>({[o.dC6.UNIQUE]:p().text("Unique"),[o.dC6.NOT_UNIQUE]:p().text("Not unique")}[e]||e),Le=(0,c.pipe)(Object.entries,(0,c.map)((e=>{let[t,l]=e;return{label:Me(t),group:t,value:l}})),(0,c.sortBy)((e=>Object.values(o.dC6).indexOf(e.group))),L),De=(0,c.propOr)({},"uniqueness"),Pe=(0,c.pipe)(De,Le,(0,c.when)(P,(0,c.always)([])),(0,c.converge)(((e,t)=>({chartData:e,colors:t})),[c.identity,Ce])),je=e=>{let{config:t}=e;const{title:l}=t,{data:a,state:n,reload:i}=we(Pe),{chartData:o,colors:c}=a,s=r().createElement(Q,{title:p().text("Uniqueness analysis"),data:[{label:p().text("Unique"),value:p().text("Number of values that only appear once and have no duplications")},{label:p().text("Not unique"),value:p().text("Number of values that have at least one duplicate in the list")}]});return r().createElement(de,{config:t},r().createElement(ne,{title:l,infoTooltipTitle:s}),r().createElement(se,{data:o,loadingState:n,onRefresh:i},(e=>{let{data:t}=e;return r().createElement(ee,{data:t,colors:c})})))};var Fe=l(82068),ke=l(4614),Ue=l(80030),ze=l(7089);const _e=(e,t)=>(e||[]).some((0,c.propEq)("attribute",t)),Ve=e=>[o.oS0.TYPE_FLOAT,o.oS0.TYPE_DOUBLE,o.oS0.TYPE_NUMBER].includes(e);let Be;function He(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){Ye(e,t,l[t])}))}return e}function Ye(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.REQUIRED="required",e.RDM_LOOKUP="RDMLookup",e.CONTAIN_VF="containVF",e.REFERENCE="reference"}(Be||(Be={}));const Ze=(0,c.curry)(((e,t)=>e.every((e=>t.details[e.value])))),Ge=(0,c.curry)(((e,t)=>{var l;return Ze(e,t)||(null===(l=t.children)||void 0===l?void 0:l.some((t=>Ge(e,t))))})),We=(0,c.curry)(((e,t)=>{var l;const a=e[t.fieldName];return null==a||null===(l=a.find((0,c.propEq)("group",o.s9T.EXISTS)))||void 0===l?void 0:l.value})),qe=(0,c.curry)(((e,t)=>{var l;const a=e[t.fieldName];return!(null!=a&&null!==(l=a.find((0,c.propEq)("group",o.s9T.EXISTS)))&&void 0!==l&&l.value)})),Qe=(0,c.curry)((function(e,t){var l;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=t.fieldName||(0,o.Tde)(t.uri,a);return qe(e,He({},t,{fieldName:r}))||(null===(l=t.children)||void 0===l?void 0:l.some((l=>Qe(e,l,a.concat({name:t.name,label:t.label})))))})),$e=(0,c.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||[]:$e(e,l.children||[]);return(a||r.length)&&t.push(Object.assign({},l,r.length&&{children:r})),t}),[])));function Ke(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){Xe(e,t,l[t])}))}return e}function Xe(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Je=e=>{let{attrTypeItem:t,dvf:l=[],matchAttributes:a=[]}=e;const{uri:r,required:n,isAttributeReference:i}=t;return{[Be.INCLUDED_IN_MATCHING]:a.includes(r),[Be.CONTAIN_VF]:_e(l,r),[Be.REQUIRED]:!!n,[Be.RDM_LOOKUP]:(0,o.lS4)(t),[Be.REFERENCE]:i}},et=e=>({[Be.INCLUDED_IN_MATCHING]:p().text("Included in matching"),[Be.CONTAIN_VF]:p().text("Has validation functions"),[Be.REQUIRED]:p().text("Required"),[Be.RDM_LOOKUP]:p().text("RDM"),[Be.REFERENCE]:p().text("Reference attribute")}[e]||e),tt=(0,c.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,c.pipe)((0,c.chain)((e=>{const r=e.children?tt(e.children,t.concat({name:e.name,label:e.label}),l||(0,o.YkG)(e),a+1):[];return[{attributeItem:Ke({},e,{fieldName:(0,o.Tde)(e.uri,t),isAttributeReference:(0,o.YkG)(e)||l}),level:a},...r]})))(e)}));function lt(){return lt=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},lt.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 r().createElement("svg",lt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#6663F6"}),r().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 rt(){return rt=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},rt.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 r().createElement("svg",rt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#1DACF5"}),r().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 it(){return it=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},it.apply(this,arguments)}const ot=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 r().createElement("svg",it({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#7F22FD"}),r().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 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 st=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 r().createElement("svg",ct({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#4B31E9"}),r().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 pt(){return pt=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},pt.apply(this,arguments)}const ut=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 r().createElement("svg",pt({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("circle",{cx:"12",cy:"12",r:"12",fill:"#80D2FC"}),r().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"}))},dt=(0,v.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}},loading:{"& circle":{fill:"#AAAAAA"}},badQuality:{"& circle":{fill:"#FF1744"}}}),ft={SMALL:{width:22,height:22},NORMAL:{width:24,height:24}};let mt;!function(e){e.LOADING="loading",e.BAD_QUALITY="badQuality",e.NORMAL="normal"}(mt||(mt={}));const ht=e=>{let{detailType:t,size:l=ft.NORMAL,variant:a=mt.NORMAL}=e;const n=dt(l),i=V()(n.icon,n[a]);switch(t){case Be.RDM_LOOKUP:return r().createElement(ot,{className:i});case Be.CONTAIN_VF:return r().createElement(at,{className:i});case Be.INCLUDED_IN_MATCHING:return r().createElement(nt,{className:i});case Be.REFERENCE:return r().createElement(st,{className:i});case Be.REQUIRED:return r().createElement(ut,{className:i});default:return null}},yt=(0,v.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 vt(){return vt=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},vt.apply(this,arguments)}function gt(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){Et(e,t,l[t])}))}return e}function Et(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const bt=e=>{let{detailType:t,classes:l}=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,["detailType","classes"]);const i=yt(),{data:c,state:s}=(0,a.useContext)(Oe);let p=mt.NORMAL;const u=s===h.o.LOADING,d=(e=>{var t;return 0===(null==e||null===(t=e.fillRate)||void 0===t?void 0:t[o.s9T.MISSING])})(c);return t===Be.REQUIRED&&(u&&(p=mt.LOADING),u||d||(p=mt.BAD_QUALITY)),r().createElement(ze.Z,vt({classes:gt({root:V()(i.root,{[i.badQuality]:t===Be.REQUIRED&&!u&&s!==h.o.INIT&&!d}),label:i.label},l),label:et(t),icon:r().createElement(ht,{detailType:t,variant:p})},n))},xt=(0,v.Z)({root:{display:"flex",flexWrap:"wrap",flexGrow:1}}),Ot=e=>{let{details:t,chipClasses:l={}}=e;const a=xt();return r().createElement("div",{className:a.root},Object.entries(t||{}).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return r().createElement(bt,{key:t,detailType:t,classes:l})})))},wt=(0,v.Z)({header:{display:"flex",paddingTop:"2px",marginBottom:"18px"},info:{display:"flex",flexDirection:"column","&:first-child":{borderRight:"1px solid rgba(0,0,0,0.12)",paddingRight:"24px",marginRight:"24px"}},infoTitle:{color:"rgba(0,0,0,0.54)",fontSize:"12px",lineHeight:"16px"},infoContent:{fontSize:"30px",lineHeight:"35px",padding:"5px 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"}}),Nt=e=>{let{title:t,children:l}=e;const a=wt();return r().createElement("div",{className:a.info},r().createElement("div",{className:a.infoTitle},t),r().createElement("div",{className:a.infoContent},l))};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 St=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 r().createElement("svg",Tt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg1279746712a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"15",height:"8"},r().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"})),r().createElement("g",{mask:"url(#svg1279746712a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Rt(){return Rt=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},Rt.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 r().createElement("svg",Rt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg208732808a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"1",width:"14",height:"14"},r().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"})),r().createElement("g",{mask:"url(#svg208732808a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function At(){return At=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},At.apply(this,arguments)}const Ct=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 r().createElement("svg",At({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg1638934380a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"2",y:"4",width:"13",height:"8"},r().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"})),r().createElement("g",{mask:"url(#svg1638934380a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))};function Mt(){return Mt=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},Mt.apply(this,arguments)}const Lt=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 r().createElement("svg",Mt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().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 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 Pt=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 r().createElement("svg",Dt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg924767730a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"13",height:"8"},r().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"})),r().createElement("g",{mask:"url(#svg924767730a)"},r().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 Ft=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 r().createElement("svg",jt({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg3578961193a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"1",y:"4",width:"14",height:"8"},r().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"})),r().createElement("g",{mask:"url(#svg3578961193a)"},r().createElement("path",{fill:"#000",fillOpacity:".541",d:"M0 0h16v16H0z"})))},kt=(0,v.Z)({icon:e=>{let{width:t,height:l}=e;return{width:t,height:l}}}),Ut={SMALL:{width:16,height:16},NORMAL:{width:24,height:24}},zt=e=>{let{type:t,size:l=Ut.SMALL}=e;const a=kt(l);switch(k(t)){case S.STRING:return r().createElement(Ft,{className:a.icon});case S.FLOAT:return r().createElement(Ct,{className:a.icon});case S.INTEGER:return r().createElement(Lt,{className:a.icon});case S.BOOLEAN:return r().createElement(St,{className:a.icon});case S.DATE:return r().createElement(It,{className:a.icon});case S.SSN:return r().createElement(Pt,{className:a.icon});default:return r().createElement(Ft,{className:a.icon})}},_t=e=>{let{detailedAttributeType:t}=e;const l=wt(),n=(e=>{const[t,l]=(0,a.useState)(null),r=(0,a.useContext)(Se);return(0,a.useEffect)((()=>{if(r.uri&&e){const t={filter:o.j5E.EXISTS,fieldName:e},a={filter:o.j5E.EQUALS,fieldName:"type",values:[r.uri]};l(null),(0,o.j_Q)([t,a]).then((e=>{let{total:t}=e;l(t)}))}}),[r.uri,e]),t})(t.fieldName),i=null===n?r().createElement(ke.Z,{size:"24",className:l.totalLoading}):(0,o.k7L)(n);return r().createElement("div",null,r().createElement("div",{className:l.header},r().createElement(Nt,{title:p().text("Profiles")},r().createElement(Ue.ZP,{title:r().createElement(Q,{data:[{label:p().text("Entities with exists attribute"),value:p().number(n)}]})},r().createElement("div",null,i))),r().createElement(Nt,{title:p().text("Data type")},(c=t.type,r().createElement(r().Fragment,null,r().createElement("div",{className:l.attributeTypeIconWrapper},r().createElement(zt,{type:c,size:Ut.NORMAL})),p().text(c))))),r().createElement(Ot,{details:t.details}));var c},Vt=(0,v.Z)({content:{padding:"0 16px"}}),Bt=e=>{let{config:t}=e;const l=Vt(),n=(0,a.useContext)(Te);return r().createElement(de,{config:t},r().createElement(ne,{title:(0,o.idV)(n.label)}),r().createElement(Fe.Z,{className:l.content},r().createElement(_t,{detailedAttributeType:n})))};var Ht=l(65298);function Yt(){return Yt=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},Yt.apply(this,arguments)}const Zt=(0,v.Z)({container:{height:"auto",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",color:"rgba(0, 0, 0, 0.54)",padding:0,"& svg":{paddingTop:0,height:"88px",width:"88px",marginBottom:"20px"}},errorMessage:{padding:"0 24px",fontSize:"14px",textAlign:"center"},errorTitle:{padding:"0 24px",fontSize:"16px",textAlign:"center"}}),Gt=r().createElement((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 r().createElement("svg",Yt({width:"88",height:"88",viewBox:"0 0 88 88",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg98386349a",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(#svg98386349a)"},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(#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(#paint0_linear)"}),r().createElement("g",{filter:"url(#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(#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:"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:"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:"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:"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"}))))}),null),Wt=e=>{let{config:t,icon:l=Gt,message:a,title:n}=e;const i=Zt(),{id:o,title:c}=t;return r().createElement(Ht.Z,{id:o},r().createElement(ne,{title:c}),r().createElement(Fe.Z,{className:i.container},l,n&&r().createElement(y.Z,{className:i.errorTitle},n),a&&r().createElement(y.Z,{className:i.errorMessage},a)))},qt=e=>{let{keyword:t,entityTypeUri:l}=e;return{keyword:{value:t,isRawFilter:!0},advanced:[T(l)],searchOptions:{searchByOv:!1,ovOnly:!1},version:"2.0"}},Qt=e=>{let{fieldName:t,value:l,entityTypeUri:a}=e;return qt({keyword:`${o.j5E.EQUALS}(${t}, ${l})`,entityTypeUri:a})};function $t(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Kt=e=>(0,c.pipe)((0,c.propOr)({},e),Object.entries,(0,c.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),L),Xt=(0,c.curry)(((e,t)=>{const l=t.map((t=>{const l=(e||[]).find((0,c.propEq)("uri",t.group));return 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){$t(e,t,l[t])}))}return e}({},t,{label:(null==l?void 0:l.name)||`"uri": "${t.label}"`,group:(null==l?void 0:l.name)||t.group,isActive:!!l&&l.status===o.lVm.ACTIVE})})),a=(e||[]).filter((e=>(0,c.propEq)("status",o.lVm.ACTIVE,e)&&!(0,c.any)((0,c.propEq)("group",e.uri),t))).map((e=>({label:e.name,group:e.name,value:0,isActive:!0})));return[...l,...L(a)]})),Jt=Kt("frequency"),el=Kt("pattern"),tl=(0,c.curry)(((e,t)=>{let{dvfs:l}=e;return[{filter:o.j5E.EQUALS,values:[[t]],fieldName:(0,c.contains)(t,l.map((0,c.prop)("name")))?"analyticsAttributes.AttributeValidations.FunctionName":"analyticsAttributes.AttributeValidations.FunctionURI"}]})),ll=(0,c.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return Qt({fieldName:`${l.fieldName}`,value:t,entityTypeUri:a})})),al=(0,c.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:o.j5E.ON,values:[t],fieldName:l}]})),rl=(0,c.curry)(((e,t)=>{let{fieldName:l}=e;return[{filter:o.j5E.EQUALS,values:[[t]],fieldName:l}]})),nl=e=>{let{detailedAttributeType:t,entityTypeUri:l}=e;return(0,c.cond)([[o.j5n,(0,c.always)(ll)],[o.Lt4,(0,c.always)(F(al))],[c.identity,(0,c.always)(F(rl))]])(t.type)({detailedAttributeType:t,entityTypeUri:l,dvfs:[]})},il=F(tl),ol=(0,c.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return Qt({fieldName:`${l.fieldName}.pattern`,value:`"${t}"`,entityTypeUri:a})}));var cl=l(79573),sl=l(45108),pl=l(92332),ul=l(83088);const dl=(0,c.pipe)((0,c.split)("|"),(e=>{let[t,l]=e;return{label:t,percent:l}})),fl={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"},ml=(0,v.Z)((e=>({colorBarContainer:{position:"relative",width:"100%",marginLeft:"16px",height:"16px","&>span>div":{opacity:1,backgroundColor:t=>t?"#0072CE":e.palette.text.disabled,zIndex:1}},numberWhithPercent:{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 16px",height:"100%"},bar:{borderRadius:"0 !important",minHeight:"16px !important","&:hover":{"&:after":{background:"rgba(0, 0, 0, 0.1)"}},"&:after":{content:'""',position:"absolute",top:"-3px",bottom:"-3px",left:"-5px",right:"-5px",transition:"background 0.3s"}},tooltipTitle:{color:"rgba(255, 255, 255, 0.6)"},headCell:{display:"flex",alignItems:"center",height:"100%","&>div":{padding:"0 16px",width:"100%"},"&>div>span":{width:"100%",justifyContent:"flex-end"}},headLabel:{color:e.palette.text.primary,fontSize:"12px",fontWeight:500,lineHeight:"16px",whiteSpace:"nowrap",overflow:"hidden","&:after":fl},labelPercantageWrapper:{display:"flex"},labelWrapper:{minWidth:"90px",position:"relative"},percentsWrapper:{marginLeft:"16px",display:"flex",width:"100%"},percentLabel:{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":fl},tooltipValue:{whiteSpace:"pre"}})));function hl(){return hl=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},hl.apply(this,arguments)}function yl(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 gl=e=>{let{className:t,headCellData: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","headCellData"]);const n=ml(),{label:i,percent:o}=dl(l.label),c=!!o,s=r().createElement(ul.C,{value:i},r().createElement("div",{className:n.headLabel},i));return r().createElement("div",{className:V()(n.headCell,t)},r().createElement(pl.default,hl({},a,{headCellData:yl({},l,{label:c?r().createElement("div",{className:n.labelPercantageWrapper},r().createElement("div",{className:n.labelWrapper},s),r().createElement("div",{className:n.percentsWrapper},r().createElement("span",{className:n.percentLabel},"0%"),r().createElement("span",{className:n.percentLabel},o,"%"))):s})})))};var El=l(59383),bl=l(30488);const xl=(0,bl.Z)(((e,t)=>{let{onItemClick:l}=e,{rowValue:{group:a}}=t;return{onClick:l&&(()=>{l(a)})}}))((e=>{let{value:t="",columnData:l,onClick:a}=e;const{attributeCellClassName:n}=l,i=ml(),c=(0,El.d)(a),s=r().createElement("div",{className:i.tooltipValue},t);return r().createElement(ul.C,{value:s},r().createElement("div",{className:V()(i.attribute,c,n),onClick:a},o.P6Y.strings.removeLineBreaks(t)))}));var Ol=l(89902);const wl=(0,w.Z)((e=>{let{value:t,maxValue:l,className:a}=e;return r().createElement(Ol.Z,{width:t,maxWidth:l,className:a})})),Nl=(0,bl.Z)(((e,t)=>{let{onItemClick:l,valueHeader:a,labelHeader:r}=e,{rowValue:{group:n}}=t;return{onClick:l&&(()=>{l(n)}),valueHeader:a,labelHeader:r}}))((e=>{let{value:t,columnData:{maxValue:l},rowValue:{percent:a,label:n,isActive:i=!0},labelHeader:s,valueHeader:u,onClick:d}=e;const f=ml(i),m=(0,El.d)(d),h=r().createElement("span",{className:f.tooltipValue},n),v=`${(0,o.k7L)(t,999)} ${D(a)}`,g=r().createElement(Q,{data:[{label:s,value:h},{label:u,value:`${p().number(t)} ${D(a)}`}]});return r().createElement("div",{className:V()(f.numberContainer,m),onClick:d},r().createElement(y.Z,{className:f.numberWhithPercent},v),!(0,c.isNil)(l)&&r().createElement("div",{className:f.colorBarContainer},r().createElement(wl,{value:t,maxValue:l,tooltipTitle:g,className:f.bar,showForDisabled:!0})))})),Tl=(0,v.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 Sl(){return Sl=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},Sl.apply(this,arguments)}const Rl=e=>{let{width:t,height:l,data:n,options:i={},basicTableRef:o,onItemClick:c,labelCellClassName:s}=e,u=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","options","basicTableRef","onItemClick","labelCellClassName"]);const d=Tl({width:t,height:l}),{headers:[f,m]=[],showValues:h=!0,sortable:y=!1}=i,v=(0,a.useMemo)((()=>({cellBorder:d.cellBorder})),[d]),g=(0,a.useMemo)((()=>Math.max(...n.map((e=>e.value)))),[n]),E=(0,a.useMemo)((()=>{const e=z(n),t=m||p().text("No of Profiles");return e?t.concat(`|${e}`):t}),[n,m]),b=(0,a.useMemo)((()=>[{id:"label",label:f||p().text("Attributes"),resizable:!1,headCellRenderer:gl,attributeCellClassName:s,rowCellValueRenderer:xl,initialWidth:.4*t},...h?[{id:"value",label:E,resizable:!1,headCellRenderer:gl,rowCellValueRenderer:Nl,maxValue:g,initialWidth:.6*t,sortable:y}]:[]]),[E,g,t,f,h]),x=(0,a.useMemo)((()=>({onItemClick:c,labelHeader:f,valueHeader:m})),[c,f,m]);return r().createElement("div",{className:d.tableContainer},r().createElement(sl.Z,Sl({columnsData:b,rowsData:n,headRowHeight:48,getRowCellHeight:()=>28,classes:v,defaultColumnWidth:100,defaultColumnMinWidth:100,ref:o,context:x},u)))},Il=(0,v.Z)((()=>({layoutItemContent:{padding:"0 0 10px"}}))),Al=(0,N.Z)((e=>{let{config:t,data:l,title:n,headers:i,infoTooltipTitle:o,customComparator:c,onItemClick:s,titleChildren:p,state:u,onRefresh:d,labelCellClassName:f}=e;const m=Il(),[h,y]=(0,a.useState)("desc"),v=(0,a.useCallback)(((e,t)=>c?c(h)(e,t):(e=>(t,l)=>"asc"===e?t.value-l.value:l.value-t.value)(h)(e,t)),[h]),g=()=>{y(cl.Dh)},E=(0,a.useMemo)((()=>[...l.sort(v)]),[v,l]);return r().createElement("div",null,r().createElement(de,{config:t},r().createElement(ne,{title:n,infoTooltipTitle:o},p),r().createElement(se,{className:m.layoutItemContent,data:E,loadingState:u,onRefresh:d},(e=>{let{data:t,width:l=0,height:a=0}=e;return r().createElement(Rl,{data:t,width:l,height:a,options:{headers:i,sortable:!!c},sorting:{field:"value",order:h},onSort:g,onItemClick:s,labelCellClassName:f})}))))}));var Cl=l(86689);function Ml(){return Ml=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},Ml.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 r().createElement("svg",Ml({width:"148",height:"148",viewBox:"0 0 148 148",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l),r().createElement("mask",{id:"svg3012965951a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"148",height:"148"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#fff"})),r().createElement("g",{mask:"url(#svg3012965951a)"},r().createElement("path",{d:"M74 148c40.869 0 74-33.131 74-74 0-40.87-33.131-74-74-74C33.13 0 0 33.13 0 74c0 40.869 33.13 74 74 74z",fill:"#0072CE",fillOpacity:".1"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5.203h148V148H0V5.203z",fill:"url(#paint0_linear)"}),r().createElement("g",{opacity:".9",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"},r().createElement("path",{opacity:".5",d:"M25.186 26.016h131.896V128.04H25.186V26.016z",fillOpacity:".8"}),r().createElement("path",{opacity:".9",d:"M16.766 26.021a4.626 4.626 0 014.623-4.63h129.406a4.623 4.623 0 014.623 4.63v88.107a4.625 4.625 0 01-4.623 4.631H21.389a4.623 4.623 0 01-4.623-4.631V26.021z"})),r().createElement("path",{opacity:".5",d:"M141.553 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 50.95a2.315 2.315 0 002.311-2.32 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 46.313a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 01-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 46.19h37.054a2.029 2.029 0 010 4.057H47.102a2.028 2.028 0 110-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 53.725h67.006a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 58.941h21.62a.87.87 0 010 1.74h-21.62a.87.87 0 110-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M71.35 30.664H31.508a3.188 3.188 0 100 6.375H71.35a3.188 3.188 0 000-6.375z",fill:"#645F6D"}),r().createElement("path",{opacity:".5",d:"M141.553 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.315 2.315 0 00-2.311 2.318 2.315 2.315 0 002.311 2.319zM133.465 72.972a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.318 2.314 2.314 0 00-2.311 2.318 2.314 2.314 0 002.311 2.319z",fill:"#6DBCFF"}),r().createElement("path",{d:"M39.297 73.824a5.488 5.488 0 10-10.977 0v.035a5.488 5.488 0 0010.977 0v-.035z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 68.214h43.894a2.029 2.029 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 75.748h74.516a1.45 1.45 0 010 2.898H46.523a1.449 1.449 0 110-2.898z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 80.965h60.077a.87.87 0 010 1.739H45.943a.87.87 0 010-1.74z",fill:"#B1AABD"}),r().createElement("path",{opacity:".5",d:"M141.553 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.315 2.315 0 00-2.311 2.319 2.315 2.315 0 002.311 2.318zM133.465 94.996a2.315 2.315 0 002.311-2.318 2.315 2.315 0 00-2.311-2.319 2.314 2.314 0 00-2.311 2.319 2.314 2.314 0 002.311 2.318z",fill:"#6DBCFF"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.808 90.36a5.488 5.488 0 015.489 5.488v.035a5.488 5.488 0 11-10.977 0v-.035a5.488 5.488 0 015.488-5.489z",fill:"#E3EBF4"}),r().createElement("path",{opacity:".5",fillRule:"evenodd",clipRule:"evenodd",d:"M47.102 90.237h58.915a2.028 2.028 0 010 4.057H47.102a2.029 2.029 0 010-4.057z",fill:"#B1AABD"}),r().createElement("path",{opacity:".43",fillRule:"evenodd",clipRule:"evenodd",d:"M46.523 97.772h49.096a1.449 1.449 0 110 2.897H46.524a1.448 1.448 0 110-2.897z",fill:"#B1AABD"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M45.943 102.988h21.62a.87.87 0 010 1.739h-21.62a.87.87 0 110-1.739z",fill:"#B1AABD"}),r().createElement("path",{opacity:".1",fillRule:"evenodd",clipRule:"evenodd",d:"M102.927 64.75l44.536 77.139-58.989 34.057-44.536-77.14.405-.234c4.06 9.263 12.074 16.712 22.462 19.616 18.103 5.059 36.562-5.599 41.232-23.805 2.679-10.449.235-21.113-5.757-29.26l.647-.374z",fill:"url(#paint1_linear)"}),r().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"url(#paint2_linear)"}),r().createElement("g",{filter:"url(#filter0_d)",fillRule:"evenodd",clipRule:"evenodd"},r().createElement("path",{d:"M74.981 49.719c19.06 0 34.512 15.462 34.512 34.536a34.418 34.418 0 01-8.665 22.886l29.603 29.623a51.708 51.708 0 01-5.837 5.43l-29.705-29.725a34.338 34.338 0 01-19.908 6.322c-19.06 0-34.512-15.462-34.512-34.536S55.92 49.719 74.98 49.719zm0 10.265c-13.395 0-24.254 10.866-24.254 24.27 0 13.405 10.859 24.272 24.254 24.272 13.395 0 24.254-10.867 24.254-24.271S88.376 59.984 74.981 59.984z",fill:"#B5C8C9"}),r().createElement("path",{d:"M52.903 110.801c-7.598-6.335-12.434-15.876-12.434-26.546 0-19.074 15.451-34.536 34.512-34.536 10.663 0 20.197 4.839 26.528 12.442l-5.662 5.667c-4.862-6.175-12.401-10.14-20.866-10.14-14.662 0-26.548 11.895-26.548 26.567 0 8.47 3.962 16.015 10.132 20.88l-5.662 5.666z",fill:"#fff",fillOpacity:".4"})),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.352 103.62c10.385 10.611 27.223 10.611 37.609 0 10.385-10.612 10.385-27.816 0-38.427-10.386-10.611-27.224-10.611-37.61 0-10.385 10.611-10.385 27.815 0 38.427z",fill:"#D9F5FF",opacity:".4"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#000",fillOpacity:".87"}),r().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M71.621 91.769c0-2.272.257-4.065.77-5.38.513-1.314 1.346-2.453 2.497-3.418 1.151-.964 2.026-1.847 2.625-2.648.6-.802.899-1.684.899-2.649 0-2.35-1.012-3.524-3.034-3.524-.933 0-1.688.343-2.263 1.027-.576.685-.88 1.61-.91 2.777h-7.888c.031-3.111 1.011-5.534 2.94-7.27 1.93-1.734 4.636-2.601 8.121-2.601 3.47 0 6.157.801 8.063 2.404 1.905 1.602 2.858 3.881 2.858 6.837 0 1.291-.257 2.466-.77 3.524-.513 1.058-1.338 2.139-2.474 3.243l-2.683 2.497c-.762.732-1.291 1.482-1.587 2.252-.295.77-.459 1.746-.49 2.929h-6.674zm-.957 7.094c0-1.151.416-2.096 1.249-2.835.832-.74 1.87-1.109 3.115-1.109s2.283.37 3.115 1.109c.833.739 1.249 1.684 1.249 2.835s-.416 2.096-1.249 2.835c-.832.739-1.87 1.109-3.115 1.109s-2.283-.37-3.115-1.109c-.833-.739-1.249-1.684-1.249-2.835z",fill:"#3C74B4",fillOpacity:".38"})),r().createElement("defs",null,r().createElement("linearGradient",{id:"paint0_linear",x1:"74",y1:"5.203",x2:"74",y2:"148",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:"0"}),r().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),r().createElement("linearGradient",{id:"paint1_linear",x1:"123.612",y1:"142.028",x2:"76.729",y2:"122.717",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopOpacity:"0"}),r().createElement("stop",{offset:"1"})),r().createElement("linearGradient",{id:"paint2_linear",x1:"75.156",y1:"57.234",x2:"75.156",y2:"111.578",gradientUnits:"userSpaceOnUse"},r().createElement("stop",{stopColor:"#EEFBFF"}),r().createElement("stop",{offset:"1",stopColor:"#0072CE"})),r().createElement("filter",{id:"filter0_d",x:"36.469",y:"47.719",width:"97.962",height:"100.475",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},r().createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),r().createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),r().createElement("feOffset",{dy:"2"}),r().createElement("feGaussianBlur",{stdDeviation:"2"}),r().createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),r().createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow"}),r().createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"}))))},Dl=(0,v.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.54)",marginLeft:"16px",paddingLeft:"16px",overflow:"hidden",textOverflow:"ellipsis"}})));function Pl(){return Pl=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},Pl.apply(this,arguments)}const jl=e=>{const{config:t}=e,{data:l,state:n,reload:i,errorCode:s}=(0,a.useContext)(Ne),u=(d=(0,a.useContext)(Te).uri,(l||[]).filter((0,c.propEq)("attribute",d)));var d;const{data:f,state:m,reload:v}=we((T=u,(0,c.pipe)(Kt("dataValidationFunctions"),Xt(T)))),g=Re(il),E=Dl(),b=(0,a.useMemo)((()=>n===h.o.LOADED&&m===h.o.LOADED?h.o.LOADED:n===h.o.ERROR||m===h.o.ERROR?h.o.ERROR:h.o.LOADING),[m,n]),x=(0,a.useMemo)((()=>()=>{n===h.o.ERROR&&i(),m===h.o.ERROR&&v()}),[m,n,i,v]),O=e=>1===e?p().text("profile"):p().text("profiles"),w=r().createElement(ul.C,{value:`${t.title} | ${f.length} ${O(f.length)}`},r().createElement(y.Z,{className:E.title},t.title,r().createElement("span",{className:E.titleCount},f.length," ",O(f.length)))),N=[p().text("Validation function"),p().text("Count")];var T;return b===h.o.ERROR&&s===o.Xt7.DVF_NOT_CONFIGURED||0===f.length?r().createElement(Wt,Pl({},e,{message:r().createElement(r().Fragment,null,p().text("There are no")," ",r().createElement(Cl.Z,{href:"https://docs.reltio.com/dvf/overview.html",target:"_blank"},p().text("Data Validation Functions"))," ",p().text("for this attribute type")),title:p().text("No data"),icon:r().createElement(Ll,null)})):r().createElement(Al,{config:t,title:"",headers:N,data:f,onItemClick:g,titleChildren:w,state:b,onRefresh:x})},Fl=(0,v.Z)((()=>({monoFontCell:{fontFamily:'"Roboto Mono", monospace'}}))),kl=e=>{let{config:t}=e;const l=Fl(),{data:n,state:i,reload:c}=we(Jt),s=(0,a.useContext)(Te).type,u=(0,o.Lt4)(s)?n.map((e=>C({},e,{label:p().date(Number(e.label),"L")}))):n,d=Re(nl),f=[p().text("Value"),p().text("Count")],m=r().createElement(Q,{title:p().text("Frequency analysis"),data:[{label:p().text("Shows the number of times each value occurs"),value:""}]});return r().createElement(Al,{config:t,data:u,headers:f,title:t.title,infoTooltipTitle:m,onItemClick:d,state:i,onRefresh:c,labelCellClassName:V()({[l.monoFontCell]:(0,o.m6e)(s)})})};function Ul(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){zl(e,t,l[t])}))}return e}function zl(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var _l,Vl;!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"}(_l||(_l={})),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"}(Vl||(Vl={}));const Bl=e=>(0,c.pipe)((0,c.propOr)({},e),(0,c.propOr)({},"data"),Object.entries,(0,c.map)((e=>{let[t,l]=e;return{label:t,group:t,value:l}})),L);var Hl;!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"}(Hl||(Hl={}));const Yl=(e,t)=>{const l={lengthStatistics:{[Hl.MEDIAN]:p().text("Median"),[Hl.AVERAGE]:p().text("Average"),[Hl.MININMUN]:p().text("Minimum"),[Hl.MAXIMUM]:p().text("Maximum")},valueDistribution:{[Hl.MEDIAN]:p().text("Median"),[Hl.AVERAGE]:p().text("Average"),[Hl.MININMUN]:p().text("Minimum"),[Hl.MAXIMUM]:p().text("Maximum")},crosswalkAnalysis:{[Hl.NUMBER_OF_SOURCES]:p().text("No. of source types"),[Hl.AVG_NUMBER_OF_PROFILES]:p().text("Avg no. of profiles"),[Hl.MIN_NUMBER_OF_PROFILES]:p().text("Min no. of profiles"),[Hl.MAX_NUMBER_OF_PROFILES]:p().text("Max no. of profiles")}};return(0,c.pathOr)(null,[t,e],l)},Zl=e=>(0,c.pipe)((0,c.propOr)({},e),Object.entries,(0,c.map)((t=>{let[l,a]=t;return{label:Yl(l,e),value:a}})),(0,c.filter)((e=>{let{label:t}=e;return t})),L),Gl=e=>t=>({chartData:Bl(e)(t),infoPanelData:Zl(e)(t)}),Wl=(e,t)=>(0,o.Lt4)(t)?p().date(Number(e),"L"):String(e),ql=(0,c.curry)(((e,t)=>{const l=t.chartData.map(((l,a)=>{const[r,n=r]=l.group.split(" ").map(Number),i=a===t.chartData.length-1,o=r!==n?((e,t,l)=>Ve(t)?`[${e}${l?"]":")"}`:e)(`${Wl(r,e)} - ${Wl(n,e)}`,e,i):Wl(r,e);return Ul({},l,{label:o,group:[r,n,i?"last":""].toString()})}));return{infoPanelData:t.infoPanelData.map((t=>Ul({},t,{value:(0,o.Lt4)(e)?p().date(Number(t.value),"L"):(0,o.k7L)(t.value,999)}))),chartData:l}})),Ql=(0,c.pipe)(Gl("lengthStatistics"),ql("")),$l=(0,c.pipe)(Gl("crosswalkAnalysis"),(0,c.applySpec)({chartData:(0,c.prop)("chartData"),infoPanelData:(0,c.pipe)((0,c.prop)("infoPanelData"),(0,c.map)((e=>(0,c.assoc)("value",(0,o.k7L)(e.value,999),e))))})),Kl=Gl("monthDistribution"),Xl=Gl("dayOfWeekDistribution"),Jl=Gl("dayOfMonthDistribution"),ea=(0,c.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return Qt({fieldName:`${l.fieldName}.day_of_week`,value:_l[t.toLowerCase()],entityTypeUri:a})})),ta=(0,c.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return Qt({fieldName:`${l.fieldName}.month`,value:Vl[t.toLowerCase()],entityTypeUri:a})})),la=(0,c.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return Qt({fieldName:`${l.fieldName}.day_of_month`,value:t,entityTypeUri:a})})),aa=(0,c.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;const[r,n]=t.split(",");return r===n?Qt({fieldName:`${l.fieldName}.length`,value:r,entityTypeUri:a}):(e=>{let{fieldName:t,startRange:l,endRange:a,entityTypeUri:r}=e;return qt({keyword:`${o.j5E.IN_RANGE}(${t}, ${l}, ${a})`,entityTypeUri:r})})({fieldName:`${l.fieldName}.length`,startRange:r,endRange:n,entityTypeUri:a})})),ra=(0,c.curry)(((e,t)=>{let{detailedAttributeType:l,entityTypeUri:a}=e;return Qt({fieldName:`${l.fieldName}.crosswalk_sources`,value:t,entityTypeUri:a})})),na=(0,c.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[{filter:o.j5E.AFTER,values:[a],fieldName:l},{filter:o.j5E.BEFORE,values:[r],fieldName:l}]})),ia=(0,c.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r]=t.split(",");return[a===r?{filter:o.j5E.EQUALS,values:[[a]],fieldName:l}:{filter:o.j5E.IN_RANGE,values:[[a,r]],fieldName:l}]})),oa=(0,c.curry)(((e,t)=>{let{fieldName:l}=e;const[a,r,n]=t.split(","),i=a===r,c=i?[{filter:o.j5E.EQUALS,values:[[a]],fieldName:l}]:[{filter:o.j5E.IN_RANGE,values:[[a,r]],fieldName:l}];return!n&&!i&&c.push({filter:o.j5E.NOT_EQUALS,values:[[r]],fieldName:l}),c})),ca=(0,c.cond)([[o.Lt4,(0,c.always)(F(na))],[Ve,(0,c.always)(F(oa))],[c.identity,(0,c.always)(F(ia))]]),sa=(0,v.Z)({tooltipWrapper:{borderRadius:"4px",background:"rgba(0, 0, 0, 0.54)",padding:"6px 8px 7px 8px",textAlign:"left",color:"#FFFFFF"}}),pa=e=>{var t;let{payload:l,active:a,name:n}=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=n?`${n}`:"",u=sa();return a&&r().createElement("div",{className:u.tooltipWrapper},r().createElement(Q,{data:[{label:s,value:c},{label:p().text("No of profiles"),value:p().number(o)}]}))},ua=(0,v.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"}}))),da=e=>{let{data:t}=e;const l=ua();return r().createElement("div",{className:l.chartInfoWrapper},t.map((e=>{let{label:t,value:a}=e;return r().createElement("div",{key:t,className:l.chartInfoItem},r().createElement("span",{className:l.chartInfoLabel},t,": "),r().createElement("span",{className:l.chartInfoValue},a))})))},fa=(0,v.Z)((()=>({labelWrapper:e=>{let{width:t}=e;return{overflow:"hidden",width:`${t}px`,marginTop:"-3px"}},xAxisLabel:{textAlign:"center",whiteSpace:"nowrap",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"}}}))),ma=e=>{let{width:t,height:l,label:a,x:n,y:i}=e;const o=fa({width:t}),c=n-t/2;return r().createElement("foreignObject",{x:c,y:i,width:t,height:l},r().createElement("div",{className:o.labelWrapper},r().createElement(ul.C,{value:a},r().createElement("div",{className:o.xAxisLabel},a))))},ha=e=>{const{x:t,y:l,width:a,height:n,payload:i,visibleTicksCount:o}=e,{value:c}=i,s=a/o-4;return r().createElement(ma,{width:s,height:n,label:c,x:t,y:l})};function ya(){return ya=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},ya.apply(this,arguments)}const va=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=ua(),n=t?a.clickable:void 0;return r().createElement(O.Ae,ya({},l,{className:n,fill:"#000",opacity:"0.1",pointerEvents:"visibleFill"}))},ga=e=>{const{value:t}=e;return t>0?r().createElement(O.Ae,e):null};function Ea(){return Ea=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},Ea.apply(this,arguments)}const ba=e=>{let{data:t,config:l,xAxisLabel:a,yAxisLabel:n,barTooltipTitle:i,infoPanelData:c,infoTooltipTitle:s,onItemClick:p,options:u={},state:d,onRefresh:f}=e;const m=ua(),{title:y}=l,{cartesianGrid:v,bar:g,xAxis:E,yAxis:b,labelForX:x,labelForY:w,barChart:N}=(e=>{let{showCategories:t,interval:l,barCategoryGap:a}=e;return{barChart:{barCategoryGap:a||"10%"},bar:{dataKey:"value",fill:"#0072CE",minPointSize:3},xAxis:{tick:!!t&&ha,tickLine:!1,interval:l||0,dataKey:"label"},yAxis:{tickCount:8,axisLine:!1,tickLine:!1,tick:{fill:"#000"},width:60,tickFormatter:e=>(0,o.k7L)(e,999)},cartesianGrid:{stroke:"#000",strokeOpacity:"0.05",vertical:!1},labelForX:{position:"insideBottom",style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"},offset:-3},labelForY:{angle:270,position:"left",offset:-3,style:{textAnchor:"middle",fontSize:"10px",fill:"rgba(0, 0, 0, 0.54)"}}}})(u),T=p&&(e=>{let{activePayload:t}=e;return p(t[0].payload.group)}),S=T?m.clickable:void 0,R=d===h.o.LOADED&&c.length>0;return r().createElement(de,{config:l},r().createElement(ne,{title:y,infoTooltipTitle:s}),R&&r().createElement(da,{data:c}),r().createElement(se,{data:t,loadingState:d,onRefresh:f},(e=>{let{data:t,width:l=0,height:o=0}=e;return r().createElement("div",null,r().createElement(O.vz,Ea({width:l,height:o,data:t,onClick:T},N),r().createElement(O.q3,v),r().createElement(O.u,{content:r().createElement(pa,{name:i}),cursor:r().createElement(va,{isClickable:!!T})}),r().createElement(O.$Q,Ea({},g,{shape:r().createElement(ga,{className:S})})),r().createElement(O.B2,b,r().createElement(O.__,Ea({},w,{value:n}))),r().createElement(O.Kc,E,r().createElement(O.__,Ea({},x,{value:a})))))})))},xa=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=we(Ql),{chartData:i,infoPanelData:o}=l,c=Re(aa),s=r().createElement(Q,{title:p().text("Length statistics"),data:[{label:p().text("Measures the string length of values"),value:""}]});return r().createElement(ba,{config:t,data:i,xAxisLabel:p().text("Length of values"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Length"),infoTooltipTitle:s,onItemClick:c,state:a,onRefresh:n})},Oa=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=we($l),{chartData:i,infoPanelData:o}=l,c=Re(ra);return r().createElement(ba,{config:t,data:i,xAxisLabel:p().text("Type of sources"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Type of sources"),options:{showCategories:!0},onItemClick:c,state:a,onRefresh:n})},wa=e=>{let{config:t}=e;const l=(0,a.useContext)(Te).type,{data:n,state:i,reload:o}=we((e=>(0,c.pipe)(Gl("valueDistribution"),ql(e)))(l)),{chartData:s,infoPanelData:u}=n,d=Re(ca(l));return r().createElement(ba,{config:t,data:s,xAxisLabel:p().text("Value"),yAxisLabel:p().text("No. of profiles"),infoPanelData:u,barTooltipTitle:p().text("Value"),onItemClick:d,state:i,onRefresh:o})},Na=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=we(Kl),{chartData:i,infoPanelData:o}=l,c=Re(ta);return r().createElement(ba,{config:t,data:i,xAxisLabel:p().text("Months of the year"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Months of the year"),options:{showCategories:!0,barCategoryGap:"20%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:n})},Ta=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=we(Xl),{chartData:i,infoPanelData:o}=l,c=Re(ea);return r().createElement(ba,{config:t,data:i,xAxisLabel:p().text("Days of the week"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Days of the week"),options:{showCategories:!0,barCategoryGap:"25%",interval:"preserveStartEnd"},onItemClick:c,state:a,onRefresh:n})},Sa=e=>{let{config:t}=e;const{data:l,state:a,reload:n}=we(Jl),{chartData:i,infoPanelData:o}=l,c=Re(la);return r().createElement(ba,{config:t,data:i,xAxisLabel:p().text("Days of the month"),yAxisLabel:p().text("No. of profiles"),infoPanelData:o,barTooltipTitle:p().text("Days of the month"),options:{showCategories:!0,interval:1},onItemClick:c,state:a,onRefresh:n})},Ra=e=>{let{config:t}=e;const l=Fl(),{data:a,state:n,reload:i}=we(el),o=Re(ol),c=[p().text("Value"),p().text("Count")],s=r().createElement(Q,{title:p().text("Pattern analysis"),data:[]});return r().createElement(Al,{config:t,data:a,headers:c,title:t.title,infoTooltipTitle:s,onItemClick:o,state:n,onRefresh:i,labelCellClassName:l.monoFontCell})};function Ia(){return Ia=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},Ia.apply(this,arguments)}class Aa{}Aa.getComponent=e=>{let{type:t,config:l,isFullscreen:a,onToggleFullscreen:n}=e;const i={config:l,isFullscreen:a,onToggleFullscreen:n};switch(t){case x.FILL_RATE_CHART:return r().createElement(Ie,i);case x.UNIQUENESS_CHART:return r().createElement(je,i);case x.SUMMARY:return r().createElement(Bt,i);case x.VALIDATION:return r().createElement(jl,i);case x.FREQUENCY:return r().createElement(kl,i);case x.LENGTH:return r().createElement(xa,i);case x.CROSSWALK:return r().createElement(Oa,i);case x.VALUE_DISTRIBUTION:return r().createElement(wa,i);case x.MONTH_DISTRIBUTION:return r().createElement(Na,i);case x.DAY_OF_WEEK_DISTRIBUTION:return r().createElement(Ta,i);case x.DAY_OF_MONTH_DISTRIBUTION:return r().createElement(Sa,i);case x.PATTERN:return r().createElement(Ra,i);default:return r().createElement(Wt,Ia({},i,{message:p().text("Chart isn't supported for this data type")}))}};const Ca=Aa,Ma=e=>{let{layoutItemConfig:t,views:l,onToggleFullscreen:a,isFullscreen:n,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 r().createElement("div",{style:c,className:i},Ca.getComponent({type:p,config:s,onToggleFullscreen:a,isFullscreen:n}),o)},La=(0,v.Z)({root:{overflow:"auto",backgroundColor:"#F9F9F9",height:"100%",flexGrow:1,padding:"4px"}}),Da=(0,c.map)((0,c.assoc)("isStatic",!0)),Pa={cols:4,rowHeight:10,margin:[12,12]},ja=(0,a.memo)((e=>{let{views:t,layout:l,layoutOptions:n=Pa}=e;const i=La(),c=(()=>{const[e,t]=(0,a.useState)(h.o.INIT),[l,r]=(0,a.useState)({}),n=(0,a.useContext)(Se),i=(0,a.useContext)(Te),c=null==i?void 0:i.fieldName,s=n.uri,p=e=>{console.error(e),t(h.o.ERROR),r({})},u=(0,a.useCallback)((()=>{if(c&&s)return t(h.o.LOADING),(0,o.TTx)({entityTypeUri:s,attributeFieldName:c}).then((e=>{r(e),t(h.o.LOADED)})).catch(p)}),[t,r,c,s]),d=(0,a.useCallback)((()=>{try{u()}catch(e){p(e)}}),[u]);return(0,a.useEffect)((()=>{d()}),[d]),{data:l,state:e,reload:d}})(),s=(0,a.useMemo)((()=>Da(l)),[l]);return r().createElement("div",{className:i.root},r().createElement(Oe.Provider,{value:c},r().createElement(b.Z,{LayoutItem:Ma,views:t,layout:s,layoutOptions:n})))}));var Fa=l(50166),ka=l(88267),Ua=l(43129),za=l(5336),_a=l(83543),Va=l(98989),Ba=l(38402),Ha=l(33286),Ya=l(40435);const Za=(0,v.Z)({root:{paddingRight:"23px",paddingLeft:"28px",display:"flex",flexDirection:"row-reverse"},detailIcon:{marginLeft:"-5px",borderRadius:"50%",padding:"2px",width:"26px",height:"26px",boxSizing:"border-box"},activeIcon:{background:"white"}}),Ga=e=>{let{details:t,classes:l,fillRateData:a,fillRateState:n}=e;const i=Za(),s=(0,c.prop)("iconRoot",l);return r().createElement("div",{className:i.root},Object.entries(t||{}).reverse().map((e=>{let[t,l]=e,p=mt.NORMAL;if(t===Be.REQUIRED){const e=n===h.o.LOADING,t=0===(null==(u=a)||null===(d=u.find((0,c.propEq)("group",o.s9T.MISSING)))||void 0===d?void 0:d.value);e&&(p=mt.LOADING),e||t||(p=mt.BAD_QUALITY)}var u,d;return r().createElement("div",{key:t,className:V()(l&&(s||i.activeIcon),i.detailIcon)},l&&r().createElement(Ue.ZP,{title:et(t)},r().createElement("span",null,r().createElement(ht,{detailType:t,variant:p,size:ft.SMALL}))))})))},Wa="rgba(0, 114, 206, 0.12)",qa=(0,v.Z)({linesWrapper:{position:"absolute",left:"9px",top:0,bottom:0},line:{position:"absolute",width:"2px",background:Wa,bottom:0,zIndex:2,left:0,top:0},horizontalLine:{"&:after":{content:'""',position:"absolute",left:"2px",top:"15px",width:"3px",height:"2px",background:Wa}},parentLine:{left:"20px",top:"34px"},lastLevel:{bottom:"31px"}}),Qa=e=>{let{level:t,margin:l,hasChildren:a,isLastLevelItem:n,isCollapsed:i}=e;const o=qa(),s=!i&&(t>0||a);return r().createElement("div",{className:o.linesWrapper},((e,t)=>t>0&&e?(0,c.range)(1,t+1):t>1?(0,c.range)(1,t):[])(a,t).map((e=>r().createElement(Ha.Z,{key:e,margin:l,level:e,className:o.line}))),s&&r().createElement(Ha.Z,{margin:l,level:t,className:V()(o.line,!a&&t>0&&o.horizontalLine,a&&o.parentLine,n&&o.lastLevel)}))},$a=(0,v.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 Ka(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){Xa(e,t,l[t])}))}return e}function Xa(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Ja=(0,N.Z)((e=>{let{data:t}=e;const l=$a(),a=me(t),n=t.map(((e,t)=>{let{label:n,percent:i,value:o}=e;return{label:r().createElement("span",null,r().createElement("div",{className:l.fillRateSquare,style:{background:a[t]}}),n),value:`${p().number(o)} ${D(i)}`}}));return P(t)?r().createElement("div",{className:l.bar},r().createElement("div",{className:V()(l.barPart,l.inactiveBarPart)})):r().createElement(Ue.ZP,{title:r().createElement(Q,{title:p().text("Fill rate"),data:n})},r().createElement("div",{className:l.bar},t.map(((e,t)=>r().createElement("div",{key:e.group,className:l.barPart,style:Ka({},U(e),{background:a[t]})})))))})),er=(0,v.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"},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"}}),tr=e=>{let{detailedAttributeType:t,fillRateData:l,fillRateState:a,style:n,level:i,selected:c=!1,onClick:s,onCollapse:p=cl.ZT,isCollapsed:u=!1,isLastLevelItem:d=!1}=e;const f=er(),m=!!t.children,h=!!l,y=(e=>(0,o.idV)(e.label||e.name))(t),v=u?Va.Z:_a.Z,g=c?f.detailsIconSelected:f.detailsIcon;return r().createElement(Ba.Z,{style:n,selected:c,classes:{selected:f.selectedItem},onClick:m?void 0:()=>{s(t)},component:"div",className:V()(f.listItem,!m&&f.pointerCursor)},r().createElement("div",{className:f.content},!m&&r().createElement("div",{className:f.attributeType},r().createElement(zt,{type:t.type})),r().createElement("div",{className:f.attribute},r().createElement(Qa,{level:i,margin:20,hasChildren:m,isLastLevelItem:d,isCollapsed:u}),r().createElement(Ha.Z,{margin:20,level:i,className:f.marginWrapper},r().createElement(ul.C,{value:y},r().createElement("div",{className:V()(f.attributeLabel,c&&f.selectedAttributeLabel,m&&f.parentAttributeLabel)},m&&r().createElement(Ya.Z,{size:"XXS",icon:v,onClick:p,className:f.collapseIcon}),y))),h&&!m&&r().createElement("div",{className:f.fillRate},r().createElement(Ja,{data:l}))),r().createElement(Ga,{details:t.details,classes:{iconRoot:g},fillRateData:l,fillRateState:a})))},lr=(0,c.propOr)({},"attributeItem"),ar=(0,c.pipe)((0,c.find)((0,c.pipe)(lr,(0,c.either)(o.YkM,o.Or$),c.not)),lr),rr=e=>(0,c.pipe)(lr,(0,c.propEq)("fieldName",e)),nr=e=>(0,c.filter)((0,c.propEq)("group",e)),ir=(0,c.reject)((0,c.path)(["attributeItem","children"])),or=(0,c.pipe)(ir,(0,c.prop)("length")),cr=(e,t)=>(0,c.pipe)(ir,(0,c.filter)((0,c.pipe)(lr,We(t))),(0,c.prop)("length"))(e),sr=(e,t)=>(0,c.pipe)(ir,(0,c.filter)((0,c.pipe)(lr,qe(t))),(0,c.prop)("length"))(e),pr=(e,t)=>e.filter((e=>Ze(t,e.attributeItem))).length;let ur;!function(e){e.NOT_EMPTY="notEmpty",e.EMPTY="empty"}(ur||(ur={}));const dr=(e,t)=>{const l=Object.values(Be).map((e=>({value:e,label:et(e),group:"details"}))).map((l=>(0,c.assoc)("count",((e,t,l)=>e.filter((e=>Ze([...(0,c.filter)((0,c.propEq)("group","details"),l||[]),t],e.attributeItem))).length)(e,l,t),l))),a={label:p().text("All attribute properties"),value:"all",count:pr(e,l),group:"details"};return{label:p().text("Attribute properties"),options:[a,...l]}},fr=(0,c.pipe)(lr,(0,c.prop)("fieldName"));function mr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}var hr=l(92391),yr=l(36444),vr=l(33662),gr=l(15793),Er=l(21324),br=l(12231),xr=l(44962);function Or(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){wr(e,t,l[t])}))}return e}function wr(e,t,l){return t in e?Object.defineProperty(e,t,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[t]=l,e}const Nr=(0,v.Z)((e=>({serachWrapper:{padding:"8px 10px 8px 16px",alignItems:"center",display:"flex"},filterByDetails:{width:"32px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",marginLeft:"9px"},searchInput:{borderRadius:"2px",flexGrow:1},menu:{width:"256px!important",right:"0",paddingTop:"8px",top:"24px!important",margin:0},dropdownIndicator:{color:e.palette.text.secondary,cursor:"pointer"},dropDownIndicatorFilterApplied:{color:"#0072CE",cursor:"pointer"},dropDownIndicatorActive:{width:"32px",height:"32px",background:"rgba(0, 0, 0, 0.1)",borderRadius:"4px",display:"flex",justifyContent:"center",alignItems:"center"},dropdownMenuTitle:{fontWeight:500,fontSize:"20px",lineHeight:"55px",height:"55px",paddingLeft:"16px"},option:{paddingLeft:"4px",fontSize:"13px",height:"28px",filter:e=>e?"grayscale(0)":"grayscale(1)",opacity:e=>e?1:.5},typeIconWrapper:{width:"41px","& svg":{width:"20px",height:"20px"}},valueContainer:{marginLeft:0},counter:{marginLeft:"5px"}}))),Tr=e=>Or({},e,{borderBottom:"1px solid rgba(0, 0, 0, 0.08)",marginBottom:"5px",paddingTop:0,paddingBottom:"5px","&:last-child":{borderBottom:"none"}}),Sr=e=>Or({},e,{zIndex:2}),Rr=e=>Or({},e,{maxHeight:"400px"}),Ir=e=>Or({},e,{padding:"6px 0 2px 18px",fontSize:"11px"});function Ar(){return Ar=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},Ar.apply(this,arguments)}const Cr=e=>{let{innerProps:t,innerRef:l,children:a,isFocused:n,isSelected:i,selectProps:{classes:c},label:s,data:p}=e;const u=!!p.count,d=Nr(u);return r().createElement(br.Z,Ar({className:d.option,ref:l,selected:n,component:"div"},t),"radio"===p.inputType?r().createElement(xr.Z,{checked:i}):r().createElement(r().Fragment,null,r().createElement(Er.Z,{color:"primary",checked:i}),r().createElement("span",{className:d.typeIconWrapper},r().createElement(ht,{detailType:p.value}))),r().createElement(ul.C,{value:s},r().createElement("div",{className:c["option--item"]},a)),r().createElement("span",{className:d.counter},(0,o.k7L)(p.count,999)))},Mr=(0,c.reject)((0,c.propEq)("value","all")),Lr=(e,t)=>(0,c.reject)((0,c.propEq)("group",e.group))(t),Dr=e=>(0,c.pipe)((0,c.filter)((0,c.propEq)("group",e)),Mr),Pr=e=>(0,c.pipe)((0,c.reduce)(((t,l)=>t.concat(Dr(e)(l.options))),[]),Mr),jr=(0,c.find)((0,c.propEq)("value","all")),Fr=e=>{let{selectedFilterOptions:t=[],filterOptions:l,defaultFilterText:n,onChangeFilterText:i,onChangeFilterOptions:o}=e;const s=Nr(),u=(0,c.reduce)(((e,t)=>{if(t.options.length){const l=(0,c.head)(t.options)||{},{group:a,inputType:r}=l,n=(e||[]).filter((0,c.propEq)("group",a));if("radio"===r){if(!n.length)return e.concat(l)}else{const l=jr(t.options);if(l&&Mr(n).length===Mr(t.options).length)return e.concat(l)}}return e}),t)(l),d=e=>e.selectProps.menuIsOpen?s.dropDownIndicatorActive:"",f=(0,a.useCallback)((()=>t.length?s.dropDownIndicatorFilterApplied:s.dropdownIndicator),[t]),[m,h]=(0,a.useState)(n||null);return r().createElement("div",{className:s.serachWrapper},r().createElement(vr.Z,{className:s.searchInput,autofocus:!0,onSearch:e=>{h(e),i(e)},value:m,height:40,placeholder:p().text("Search attribute name"),"data-reltio-id":"reltio-dq-dashboard-attributes-search-input"}),r().createElement("div",{className:s.filterByDetails,"data-reltio-id":"reltio-dq-dashboard-attributes-filter"},r().createElement(gr.Z,{value:u,options:l,onChange:(e,a)=>{const{action:r,option:n}=a;o(((e,a,r)=>{if("radio"===a.inputType)return[...Lr(a,r),a];{const i=(n=a.group,Pr(n)(l).length===Dr(n)(t).length),o=Lr(a,r),s=Pr(a.group)(l);return"all"===a.value?"select-option"===e?[...o,...s]:o:i?(0,c.without)([a],[...o,...s]):r}var n})(r,n,e))},TextFieldProps:{InputProps:{disableUnderline:!0}},isSearchable:!1,classes:{menu:s.menu,option:s.option,valueContainer:s.valueContainer},styles:{groupHeading:Ir,group:Tr,menu:Sr,menuList:Rr},components:{DropdownIndicator:e=>r().createElement("div",{className:d(e)},r().createElement(yr.Z,{className:f()})),IndicatorSeparator:cl.Vd,ClearIndicator:cl.Vd,MultiValue:cl.Vd,MenuList:e=>r().createElement(hr.F.MenuList,e,r().createElement("div",{className:s.dropdownMenuTitle},p().text("Filter")),e.children),Option:Cr,GroupHeading:e=>r().createElement(hr.F.GroupHeading,e,e.children)}})))},kr=(0,v.Z)((e=>({root:{width:"480px",display:"flex",flexDirection:"column",borderRight:"solid 1px rgba(0, 0, 0, 0.12)",flexGrow:1},title:{height:"24px",margin:"16px",display:"flex",alignItems:"center"},itemCount:{color:e.palette.text.secondary,borderLeft:"1px solid rgba(0, 0, 0, 0.54)",marginLeft:"16px",paddingLeft:"16px"},listWrapper:{flexGrow:1,overflow:"hidden",position:"relative"},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:"rgba(0, 0, 0, 0.54)"},loaderWrapper:{position:"absolute",top:"0",left:"0",width:"100%",height:"4px",zIndex:1}}))),Ur=e=>{var t;let{entityType:l,onAttributesListChange:i,defaultFieldName:s,defaultFilterOptions:u,defaultFilterText:d,disableAttributeSelection:f}=e;const v=kr(),g=(0,a.useRef)(),[E,b]=(0,a.useState)(d||""),[x,O]=(0,a.useState)([]),[w,N]=(0,a.useState)(u||[]),[T,S]=(0,a.useState)({fieldName:s}),{data:R,state:I}=(e=>{const[t,l]=(0,a.useState)(h.o.INIT),[r,n]=(0,a.useState)({}),i=e=>{console.error(e),l(h.o.ERROR),n({})},c=(0,a.useCallback)((()=>(l(h.o.LOADING),n({}),(0,o.aTW)({entityTypeUri:e}).then(ve).then((e=>{n(e),l(h.o.LOADED)})).catch(i))),[l,n,e]),s=(0,a.useCallback)((()=>{try{c()}catch(e){i(e)}}),[c]);return(0,a.useEffect)((()=>{s()}),[s]),{data:r,state:t,reload:s}})(l.uri),A=null===(t=(0,a.useContext)(Ne))||void 0===t?void 0:t.state,C=((e,t)=>{var l;const r=(0,n.useSelector)(m.ZP.selectors.getMetadata),i=(0,a.useMemo)((()=>(e=>(0,c.pipe)(o.WN0,$e(e),tt))(t)(r,e)),[r,e,t]),[s,p]=(0,a.useState)([]),u=e.uri,d=(0,a.useMemo)((()=>(0,o.qhs)(r,u)),[r,u]),f=null===(l=(0,a.useContext)(Ne))||void 0===l?void 0:l.data;return(0,a.useEffect)((()=>{f&&p(i.map((0,c.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){mr(e,t,l[t])}))}return e}({},e,{details:Je({attrTypeItem:e,dvf:f,matchAttributes:d})},e.children&&{children:e.children.map((t=>(t.details=Je({attrTypeItem:t,dvf:f,matchAttributes:d}),t.details.reference=e.isAttributeReference,t)))})})))}),[i,d,f]),s})(l,E),{filteredItems:M,filterOptions:L}=(0,a.useMemo)((()=>{const e=((e,t)=>{const l=nr("details")(e),a=(e=>(0,c.pipe)((0,c.filter)((0,c.pipe)(lr,(0,c.both)((0,c.prop)("children"),Ze(e)))),(0,c.map)(fr)))(l)(t);return t.filter((e=>{let{attributeItem:t}=e;return a.some((e=>t.fieldName.startsWith(e)))||Ge(l,t)}))})(w,C),t=((e,t)=>{const l=[{label:p().text("All"),value:"All",group:"emptiness",count:or(e),inputType:"radio"},{label:p().text("With data"),value:ur.NOT_EMPTY,group:"emptiness",count:cr(e,t),inputType:"radio"},{label:p().text("W/o data"),value:ur.EMPTY,group:"emptiness",count:sr(e,t),inputType:"radio"}];return{label:p().text("Attributes"),options:l}})(e,R),l=((e,t,l)=>{const a=(0,c.head)(nr("emptiness")(e));switch(null==a?void 0:a.value){case ur.EMPTY:return l.filter((0,c.pipe)(lr,Qe(t)));case ur.NOT_EMPTY:return l.filter((0,c.pipe)(lr,We(t)));default:return l}})(w,R,e);return{filteredItems:l,filterOptions:[t,dr(l,w)]}}),[C,w,R]),D=(0,a.useMemo)((()=>((e,t)=>e.filter((e=>{let{attributeItem:l}=e;return!t.some((e=>l.fieldName.startsWith(e)&&l.fieldName!==e))})))(M,x)),[M,x]),P=M.length,j=(0,a.useCallback)((0,o.DsO)(b,300),[]),F=e=>{i({selectedDetailedAttributeType:e,filterText:E,filterOptions:w}),S({fieldName:e.fieldName})},k=()=>{const e=((e,t)=>(0,c.pipe)((0,c.find)(rr(t)),(0,c.propOr)(null,"attributeItem"))(e))(M,T.fieldName)||ar(M);return(0,c.isEmpty)(e)||f?null:e};(0,a.useEffect)((()=>{var e,t,l;if(f)return void(null===(l=g.current)||void 0===l||l.scrollTo(0));if(M.length){const e=k();S({fieldName:(null==e?void 0:e.fieldName)||T.fieldName})}const a=((e,t)=>(0,c.findIndex)(rr(t))(e))(M,T.fieldName);a>-1?null===(e=g.current)||void 0===e||e.scrollToItem(a,"center"):null===(t=g.current)||void 0===t||t.scrollTo(0)}),[M]),(0,a.useEffect)((()=>{const e=k();i({selectedDetailedAttributeType:e,filterText:E,filterOptions:w})}),[E,w,T]),(0,a.useEffect)((()=>{S((e=>{let{fieldName:t}=e;return f?{fieldName:null}:{fieldName:t}}))}),[f]);const U=e=>{let{data:t,index:l,style:a}=e;const{attributeItem:n,level:i=0}=t[l],o=T.fieldName===n.fieldName,s=((e,t)=>e[t.fieldName])(R,n),p=l>0&&i>(0,c.pathOr)(-1,[l+1,"level"],D);return r().createElement(tr,{fillRateData:s,fillRateState:I,style:a,detailedAttributeType:n,level:i,onClick:F,selected:o,onCollapse:(u=n.fieldName,()=>{O((e=>e.includes(u)?e.filter((e=>e!==u)):e.concat(u)))}),isCollapsed:x.includes(n.fieldName),isLastLevelItem:p});var u},z=D.length,_=!!z,V=I===h.o.LOADING||A===h.o.LOADING;return r().createElement("div",{className:v.root},r().createElement(y.Z,{className:v.title},(0,o.idV)(l.label)," ",p().text("attributes"),r().createElement("span",{className:v.itemCount},`${P} ${B=P,1===B?p().text("item"):p().text("items")}`)),r().createElement(Fr,{selectedFilterOptions:w,onChangeFilterOptions:N,defaultFilterText:d,onChangeFilterText:j,filterOptions:L}),_&&r().createElement("div",{className:v.columnsTitle},r().createElement("div",null,p().text("Name")),r().createElement("div",null,p().text("Attribute details"))),r().createElement("div",{className:v.listWrapper,"data-reltio-id":"reltio-dq-dashboard-attributes-list"},r().createElement("div",{className:v.loaderWrapper},V&&r().createElement(Ua.Z,null)),_?r().createElement(ka.Z,{refreshMode:"debounce",refreshRate:100,handleHeight:!0},(e=>{let{height:t=250}=e;return r().createElement(Fa.FixedSizeList,{ref:g,itemCount:z,width:"100%",height:t,itemData:D,itemSize:48},U)})):!V&&r().createElement(za.Z,{height:250})));var B},zr=(0,v.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"},content:{display:"flex",flexGrow:1,overflow:"hidden"},additionalLabel:{color:e.palette.text.secondary,marginLeft:"10px"},entityLevelButton:{height:"48px",padding:"0 16px",borderBottom:"1px solid rgba(0, 0, 0, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.1)",fontSize:"16px",lineHeight:"48px",color:"rgba(0, 0, 0, 0.87)",cursor:"pointer"},selectedButton:{background:"#F0F7FC"},wrapper:{display:"flex",flexDirection:"column"}})));function _r(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){Vr(e,t,l[t])}))}return e}function Vr(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=(0,c.path)([0,"value"]),Hr=e=>{var t,l;let{config:i,saveState:s,getSavedState:y}=e;const v=zr(),{entityType:g,tabs:b,setEntityTypeByUri:O}=(()=>{const e=(0,n.useSelector)(m.ZP.selectors.getMetadata),t=(0,a.useMemo)((()=>e.entityTypes.filter(o.oDv)),[e.entityTypes]),l=(e=>{const[t,l]=(0,a.useState)(null);return(0,a.useEffect)((()=>{const t=(0,o.Uqd)()([{fieldName:"type",filter:o.j5E.EQUALS,values:(0,c.pluck)("uri",e)}]);(0,o.FK9)({query:(0,o.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]),t})(t),[r,i]=(0,a.useState)(null);return{entityType:r,tabs:(0,a.useMemo)((()=>t.map(((e,t)=>{let{label:a,uri:r}=e;return{label:a,value:r,additionalLabel:(0,o.k7L)(Number((null==l?void 0:l[(0,o.nIW)(r)])||0),999),dataReltioId:`reltio-dq-dashboard-entity-tab-${t}`}}))),[t,l]),setEntityTypeByUri:(0,c.pipe)((0,o.nt9)(e),i)}})(),[w,N]=(0,a.useState)(null),{isLoaded:T,savedState:C}=(0,u.a)(y),M=(0,n.useSelector)(m.ZP.selectors.getCanUserGetDQStatistic),[L,D]=(0,a.useState)(),P=(e=>{const[t,l]=(0,a.useState)(null),[r,i]=(0,a.useState)(h.o.INIT),[c,s]=(0,a.useState)(),p=(0,n.useSelector)(m.ZP.selectors.getTenant),u=(0,n.useSelector)(m.ZP.selectors.getDVFPath),d=e=>{console.error(e),i(h.o.ERROR),l([]),s(null==e?void 0:e.errorCode)},f=e=>{l(e.functions),i(h.o.LOADED)},y=(0,a.useCallback)((()=>{if(e)return i(h.o.LOADING),(0,o.HaQ)({dvfPath:u,tenant:p,entityTypeUri:e}).then(f).catch(d)}),[u,p,e]);return(0,a.useEffect)((()=>{y()}),[y]),{data:t,state:r,reload:y,errorCode:c}})(null==g?void 0:g.uri),j=null==b?void 0:b.map((e=>_r({},e,{additionalLabel:r().createElement("span",{className:v.additionalLabel},"(",e.additionalLabel,")")}))),F=(0,a.useCallback)((e=>{(null==g?void 0:g.uri)!==e&&(N(null),O(e),L===R.ENTITY_TYPE&&s(_r({dataLevel:L,entityTypeUri:e},H.current&&{filterOptions:H.current.filterOptions,filterText:H.current.filterText})))}),[null==g?void 0:g.uri]),U=(null===(t=i.layoutsByDataLevel)||void 0===t?void 0:t[R.ENTITY_TYPE])||A[R.ENTITY_TYPE],z=null===(l=i.layoutsByDataLevel)||void 0===l?void 0:l[R.ATTRIBUTE_TYPE],_=(0,a.useMemo)((()=>L===R.ENTITY_TYPE&&U?U:((e,t)=>{const l=k(t),a=(0,c.mergeLeft)(e,A[R.ATTRIBUTE_TYPE]);return a[l]||a.default||[]})(z,null==w?void 0:w.type)),[U,null==w?void 0:w.type,z,L]),B=(0,a.useMemo)((()=>((e,t,l,a)=>{const r=(0,c.uniqBy)((0,c.prop)("id"),(0,c.concat)((null==e?void 0:e[a])||[],I[a]||[])),n=(e=>{switch(e){case R.ATTRIBUTE_TYPE:return(e=>{switch(e){case S.INTEGER:case S.FLOAT:return[x.SUMMARY,x.CROSSWALK,x.VALIDATION,x.FILL_RATE_CHART,x.FREQUENCY,x.UNIQUENESS_CHART,x.VALUE_DISTRIBUTION];case S.BOOLEAN:return[x.SUMMARY,x.CROSSWALK,x.VALIDATION,x.FILL_RATE_CHART,x.FREQUENCY];case S.STRING:return[x.LENGTH,x.SUMMARY,x.CROSSWALK,x.VALIDATION,x.FILL_RATE_CHART,x.FREQUENCY,x.UNIQUENESS_CHART];case S.DATE:return[x.SUMMARY,x.CROSSWALK,x.VALIDATION,x.FILL_RATE_CHART,x.FREQUENCY,x.UNIQUENESS_CHART,x.VALUE_DISTRIBUTION,x.MONTH_DISTRIBUTION,x.DAY_OF_MONTH_DISTRIBUTION,x.DAY_OF_WEEK_DISTRIBUTION];case S.SSN:return[x.SUMMARY,x.CROSSWALK,x.VALIDATION,x.FILL_RATE_CHART,x.FREQUENCY,x.UNIQUENESS_CHART,x.PATTERN];case S.UNKNOWN:return[x.SUMMARY,x.CROSSWALK,x.VALIDATION,x.FILL_RATE_CHART,x.FREQUENCY,x.UNIQUENESS_CHART,x.LENGTH];default:return[]}})(k(t));case R.ENTITY_TYPE:return[x.UNSUPPORTED];default:return[]}})(a);return l.reduce(((e,t)=>{const l=(0,c.prop)("type",e.find((0,c.propEq)("id",t.id)));if(!n.includes(l)){const l=e.findIndex((0,c.propEq)("id",t.id));if(-1!==l)return(0,c.adjust)(l,(0,c.assoc)("type",x.UNSUPPORTED),e)}return e}),r)})(i.viewsByDataLevel,null==w?void 0:w.type,_,L)),[null==w?void 0:w.type,_,L]);(0,a.useEffect)((()=>{T&&(O(C.entityTypeUri||Br(b)),D(U?C.dataLevel||R.ENTITY_TYPE:R.ATTRIBUTE_TYPE))}),[T]);const H=(0,a.useRef)(),Y=g&&M&&T;return r().createElement("div",{className:v.perspectiveView},r().createElement(E,{title:p().text("Data Quality")},g&&r().createElement(d.Z,{value:g.uri,tabs:j,onChange:F,scrollButtons:"auto"})),r().createElement("div",{className:v.content},Y&&r().createElement(r().Fragment,null,r().createElement(Ne.Provider,{value:P},r().createElement("div",{className:v.wrapper},U&&r().createElement("div",{className:V()(v.entityLevelButton,{[v.selectedButton]:L===R.ENTITY_TYPE}),onClick:()=>{N(null),D(R.ENTITY_TYPE)}},`${g.label} ${p().text("summary")}`),r().createElement(Ur,{entityType:g,onAttributesListChange:e=>{let{selectedDetailedAttributeType:t,filterText:l,filterOptions:a}=e;const r=null==t?void 0:t.fieldName,n={entityTypeUri:g.uri,fieldName:r,filterOptions:a,filterText:l,dataLevel:L};!r&&L!==R.ENTITY_TYPE||(0,c.equals)(H.current,n)||(s(n),H.current=n),r&&D(R.ATTRIBUTE_TYPE),N(t)},defaultFieldName:null==C?void 0:C.fieldName,defaultFilterText:null==C?void 0:C.filterText,defaultFilterOptions:null==C?void 0:C.filterOptions,disableAttributeSelection:L===R.ENTITY_TYPE})),(w||L===R.ENTITY_TYPE)&&r().createElement(Se.Provider,{value:g},r().createElement(Te.Provider,{value:w},r().createElement(ja,{views:B,layout:_}))))),!M&&r().createElement(f.ZP,{text:p().text("403: Permission denied"),secondaryText:p().text("Permission denied")})))},Yr=(0,i.createGenerateClassName)({productionPrefix:"DQDashboardPerspective",disableGlobal:!0}),Zr=e=>{let{store:t,config:l,saveState:c,getSavedState:s}=e;const p=(0,a.useCallback)((0,o.aYu)(s),[s]);return r().createElement(n.Provider,{store:t},r().createElement(i.StylesProvider,{generateClassName:Yr},r().createElement(Hr,{config:l,saveState:c,getSavedState:p})))}}}]);
|
package/980.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[980],{68262:(e,r,t)=>{"use strict";var n=t(23586);function o(){}function s(){}s.resetWarningCache=o,e.exports=function(){function e(e,r,t,o,s,a){if(a!==n){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:s,resetWarningCache:o};return t.PropTypes=t,t}},13980:(e,r,t)=>{e.exports=t(68262)()},23586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
|
package/main.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(()=>{"use strict";var e,r,t,o,n,a,i,l,u,s,f,d,c,p,h,m,v,g={38920:()=>{}},b={};function y(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={exports:{}};return g[e](t,t.exports,y),t.exports}y.m=g,y.c=b,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.miniCssF=e=>(179===e?"main":e)+".css",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@reltio/remotes:",y.l=(t,o,n,a)=>{if(e[t])e[t].push(o);else{var i,l;if(void 0!==n)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==t||f.getAttribute("data-webpack")==r+n){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",r+n),i.src=t),e[t]=[o];var d=(r,o)=>{i.onerror=i.onload=null,clearTimeout(c);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(o))),r)return r(o)},c=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),l&&document.head.appendChild(i)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.j=179,(()=>{y.S={};var e={},r={};y.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@reltio/remotes",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},l=n[r];(!l||!l.loaded&&(!o!=!l.eager?o:i>l.from))&&(n[r]={get:t,from:i,eager:!!o})},u=[];return"default"===t&&(l("@material-ui/core","4.11.3",(()=>Promise.all([y.e(348),y.e(526),y.e(413),y.e(670),y.e(614),y.e(645),y.e(63),y.e(328),y.e(61),y.e(980)]).then((()=>()=>y(77063))))),l("@material-ui/pickers","3.2.0",(()=>Promise.all([y.e(348),y.e(413),y.e(614),y.e(26),y.e(328),y.e(61),y.e(79),y.e(794)]).then((()=>()=>y(65026))))),l("@material-ui/styles","4.11.3",(()=>Promise.all([y.e(393),y.e(328),y.e(737)]).then((()=>()=>y(92393))))),l("react-dnd","9.5.1",(()=>Promise.all([y.e(626),y.e(328),y.e(523),y.e(570)]).then((()=>()=>y(53348)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;y.g.importScripts&&(e=y.g.location+"");var r=y.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),y.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var n=e[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var i=r[o],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;o++}},n=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,a=1;a<e.length;a++)o--,t+="u"==(typeof(l=e[a]))[0]?"-":(o>0?".":"")+(o=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():n(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var o=e[0],n=o<0;n&&(o=-o-1);for(var i=0,l=1,u=!0;;l++,i++){var s,f,d=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(f=(typeof(s=r[i]))[0]))return!u||("u"==d?l>o&&!n:""==d!=n);if("u"==f){if(!u||"u"!=d)return!1}else if(u)if(d==f)if(l<=o){if(s!=e[l])return!1}else{if(n?s>e[l]:s<e[l])return!1;s!=e[l]&&(u=!1)}else if("s"!=d&&"n"!=d){if(n||l<=o)return!1;u=!1,l--}else{if(l<=o||f<d!=n)return!1;u=!1}else"s"!=d&&"n"!=d&&(u=!1,l--)}}var c=[],p=c.pop.bind(c);for(i=1;i<e.length;i++){var h=e[i];c.push(1==h?p()|p():2==h?p()&p():h?a(h,r):!p())}return!!p()},i=(e,r)=>{var t=y.S[e];if(!t||!y.o(t,r))throw new Error("Shared module "+r+" doesn't exist in shared scope "+e);return t},l=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},u=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",s=(e,r,t,o)=>{var n=l(e,t);return a(o,n)||"undefined"!=typeof console&&console.warn&&console.warn(u(e,t,n,o)),f(e[t][n])},f=e=>(e.loaded=1,e.get()),c=(d=e=>function(r,t,o,n){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,o,n)):e(r,y.S[r],t,o,n)})(((e,r,t,o)=>(i(e,t),s(r,0,t,o)))),p=d(((e,r,t,o,n)=>r&&y.o(r,t)?s(r,0,t,o):n())),h={},m={24328:()=>c("default","react",[1,17,0,2]),36138:()=>p("default","@material-ui/styles",[1,4,11,3],(()=>y.e(393).then((()=>()=>y(92393))))),75047:()=>c("default","react-dom",[1,17,0,2]),94079:()=>p("default","@material-ui/core",[1,4,11,3],(()=>Promise.all([y.e(526),y.e(670),y.e(645),y.e(63)]).then((()=>()=>y(77063))))),28523:()=>c("default","redux",[1,4,1,2])},v={61:[36138,75047],79:[94079],328:[24328],523:[28523]},y.f.consumes=(e,r)=>{y.o(v,e)&&v[e].forEach((e=>{if(y.o(h,e))return r.push(h[e]);var t=r=>{h[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},o=r=>{delete h[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var n=m[e]();n.then?r.push(h[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}))},(()=>{var e={179:0};y.f.j=(r,t)=>{var o=y.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^(328|523|61|79)$/.test(r))e[r]=0;else{var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,o[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,n,[a,i,l]=t,u=0;if(a.some((r=>0!==e[r]))){for(o in i)y.o(i,o)&&(y.m[o]=i[o]);l&&l(y)}for(r&&r(t);u<a.length;u++)n=a[u],y.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),y(38920)})();
|
package/package.json
ADDED
package/remoteEntry.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var remotes;(()=>{"use strict";var e,r,t,o,n,a,i,l,s,u,d,f,c,h,p,m,v,g={22361:(e,r,t)=>{var o={"./components":()=>Promise.all([t.e(751),t.e(348),t.e(526),t.e(413),t.e(670),t.e(394),t.e(614),t.e(346),t.e(645),t.e(237),t.e(720),t.e(328),t.e(245),t.e(61),t.e(523),t.e(810),t.e(279),t.e(79),t.e(484),t.e(781),t.e(651)]).then((()=>()=>t(63651))),"./mdm-sdk":()=>Promise.all([t.e(751),t.e(245),t.e(707)]).then((()=>()=>t(71707))),"./mdm-module":()=>Promise.all([t.e(751),t.e(394),t.e(245),t.e(523),t.e(810),t.e(400)]).then((()=>()=>t(72400))),"./dashboard":()=>Promise.all([t.e(751),t.e(348),t.e(526),t.e(670),t.e(394),t.e(346),t.e(237),t.e(340),t.e(328),t.e(245),t.e(61),t.e(523),t.e(810),t.e(279),t.e(484),t.e(183),t.e(844)]).then((()=>()=>t(23844))),"./dq-dashboard":()=>Promise.all([t.e(751),t.e(348),t.e(526),t.e(413),t.e(394),t.e(346),t.e(328),t.e(245),t.e(61),t.e(523),t.e(810),t.e(279),t.e(781),t.e(183),t.e(895)]).then((()=>()=>t(70809)))},n=(e,r)=>(t.R=r,r=t.o(o,e)?o[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var o="default",n=t.S[o];if(n&&n!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[o]=e,t.I(o,r)}};t.d(r,{get:()=>n,init:()=>a})}},b={};function y(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}y.m=g,y.c=b,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.miniCssF=e=>(351===e?"remotes":e)+".css",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@reltio/remotes:",y.l=(t,o,n,a)=>{if(e[t])e[t].push(o);else{var i,l;if(void 0!==n)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var d=s[u];if(d.getAttribute("src")==t||d.getAttribute("data-webpack")==r+n){i=d;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",r+n),i.src=t),e[t]=[o];var f=(r,o)=>{i.onerror=i.onload=null,clearTimeout(c);var n=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((e=>e(o))),r)return r(o)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),y.j=351,(()=>{y.S={};var e={},r={};y.I=(t,o)=>{o||(o=[]);var n=r[t];if(n||(n=r[t]={}),!(o.indexOf(n)>=0)){if(o.push(n),e[t])return e[t];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@reltio/remotes",l=(e,r,t,o)=>{var n=a[e]=a[e]||{},l=n[r];(!l||!l.loaded&&(!o!=!l.eager?o:i>l.from))&&(n[r]={get:t,from:i,eager:!!o})},s=[];return"default"===t&&(l("@material-ui/core","4.11.3",(()=>Promise.all([y.e(348),y.e(526),y.e(413),y.e(670),y.e(614),y.e(645),y.e(63),y.e(328),y.e(61),y.e(980)]).then((()=>()=>y(77063))))),l("@material-ui/pickers","3.2.0",(()=>Promise.all([y.e(348),y.e(413),y.e(614),y.e(26),y.e(328),y.e(61),y.e(79),y.e(794)]).then((()=>()=>y(65026))))),l("@material-ui/styles","4.11.3",(()=>Promise.all([y.e(393),y.e(328),y.e(737)]).then((()=>()=>y(92393))))),l("react-dnd","9.5.1",(()=>Promise.all([y.e(626),y.e(328),y.e(523),y.e(570)]).then((()=>()=>y(53348)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;y.g.importScripts&&(e=y.g.location+"");var r=y.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),y.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),o=t[1]?r(t[1]):[];return t[2]&&(o.length++,o.push.apply(o,r(t[2]))),t[3]&&(o.push([]),o.push.apply(o,r(t[3]))),o},o=(e,r)=>{e=t(e),r=t(r);for(var o=0;;){if(o>=e.length)return o<r.length&&"u"!=(typeof r[o])[0];var n=e[o],a=(typeof n)[0];if(o>=r.length)return"u"==a;var i=r[o],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;o++}},n=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,a=1;a<e.length;a++)o--,t+="u"==(typeof(l=e[a]))[0]?"-":(o>0?".":"")+(o=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():n(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var o=e[0],n=o<0;n&&(o=-o-1);for(var i=0,l=1,s=!0;;l++,i++){var u,d,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(d=(typeof(u=r[i]))[0]))return!s||("u"==f?l>o&&!n:""==f!=n);if("u"==d){if(!s||"u"!=f)return!1}else if(s)if(f==d)if(l<=o){if(u!=e[l])return!1}else{if(n?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(n||l<=o)return!1;s=!1,l--}else{if(l<=o||d<f!=n)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var c=[],h=c.pop.bind(c);for(i=1;i<e.length;i++){var p=e[i];c.push(1==p?h()|h():2==p?h()&h():p?a(p,r):!h())}return!!h()},i=(e,r)=>{var t=y.S[e];if(!t||!y.o(t,r))throw new Error("Shared module "+r+" doesn't exist in shared scope "+e);return t},l=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},s=(e,r,t,o)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+n(o)+")",u=(e,r,t,o)=>{var n=l(e,t);return a(o,n)||"undefined"!=typeof console&&console.warn&&console.warn(s(e,t,n,o)),d(e[t][n])},d=e=>(e.loaded=1,e.get()),c=(f=e=>function(r,t,o,n){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,o,n)):e(r,y.S[r],t,o,n)})(((e,r,t,o)=>(i(e,t),u(r,0,t,o)))),h=f(((e,r,t,o,n)=>r&&y.o(r,t)?u(r,0,t,o):n())),p={},m={24328:()=>c("default","react",[1,17,0,2]),36138:()=>h("default","@material-ui/styles",[1,4,11,3],(()=>y.e(393).then((()=>()=>y(92393))))),75047:()=>c("default","react-dom",[1,17,0,2]),94079:()=>h("default","@material-ui/core",[1,4,11,3],(()=>Promise.all([y.e(526),y.e(670),y.e(645),y.e(63)]).then((()=>()=>y(77063))))),28523:()=>c("default","redux",[1,4,1,2]),95038:()=>c("default","moment",[1,2,29,1]),17440:()=>c("default","ramda",[2,0,27,1]),87918:()=>c("default","ui-i18n",[1,1,3,1]),22664:()=>h("default","@material-ui/pickers",[1,3,1,1],(()=>Promise.all([y.e(413),y.e(614),y.e(26),y.e(79)]).then((()=>()=>y(65026))))),71153:()=>c("default","classnames",[1,2,3,1]),13896:()=>h("default","react-dnd",[1,9,5,1],(()=>y.e(626).then((()=>()=>y(53348))))),52730:()=>c("default","react-redux",[1,7,2,6])},v={61:[36138,75047],79:[94079],245:[95038,17440,87918],279:[22664,71153,13896,52730],328:[24328],523:[28523]},y.f.consumes=(e,r)=>{y.o(v,e)&&v[e].forEach((e=>{if(y.o(p,e))return r.push(p[e]);var t=r=>{p[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},o=r=>{delete p[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var n=m[e]();n.then?r.push(p[e]=n.then(t).catch(o)):t(n)}catch(e){o(e)}}))},(()=>{var e={351:0};y.f.j=(r,t)=>{var o=y.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else if(/^(328|523|61|79)$/.test(r))e[r]=0;else{var n=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=n);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+n+": "+a+")",i.name="ChunkLoadError",i.type=n,i.request=a,o[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,n,[a,i,l]=t,s=0;if(a.some((r=>0!==e[r]))){for(o in i)y.o(i,o)&&(y.m[o]=i[o]);l&&l(y)}for(r&&r(t);s<a.length;s++)n=a[s],y.o(e,n)&&e[n]&&e[n][0](),e[n]=0},t=self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var w=y(22361);remotes=w})();
|