@reltio/remotes 1.4.1084 → 1.4.1087
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/1396.js +1 -0
- package/1635.js +1 -0
- package/183.js +1 -0
- package/1867.js +1 -1
- package/1920.js +1 -0
- package/2605.js +1 -0
- package/2890.js +1 -0
- package/3100.js +2 -0
- package/{2521.js.LICENSE.txt → 3100.js.LICENSE.txt} +0 -0
- package/3405.js +1 -0
- package/350.js +1 -0
- package/3980.js +1 -0
- package/4132.js +1 -0
- package/4190.js +1 -0
- package/4277.js +1 -0
- package/4279.js +1 -0
- package/4361.js +1 -0
- package/4689.js +1 -0
- package/{727.css → 4765.css} +0 -0
- package/4765.js +1 -0
- package/4803.js +1 -1
- package/4843.js +1 -0
- package/4944.js +1 -0
- package/5400.js +1 -0
- package/5686.js +1 -0
- package/5701.js +1 -0
- package/5709.js +1 -0
- package/5714.js +1 -0
- package/5884.js +1 -0
- package/5888.js +1 -0
- package/597.js +1 -0
- package/6248.js +1 -0
- package/6250.js +1 -0
- package/6425.js +1 -0
- package/{590.css → 6596.css} +0 -0
- package/6596.js +1 -0
- package/663.js +1 -0
- package/6685.js +1 -0
- package/6897.js +2 -0
- package/{4589.js.LICENSE.txt → 6897.js.LICENSE.txt} +0 -0
- package/6947.js +2 -0
- package/{7478.js.LICENSE.txt → 6947.js.LICENSE.txt} +0 -0
- package/7215.js +1 -0
- package/{3247.css → 7560.css} +0 -0
- package/7560.js +1 -0
- package/7638.js +1 -0
- package/{5411.css → 77.css} +0 -0
- package/77.js +1 -0
- package/7737.js +1 -1
- package/781.js +2 -0
- package/{888.js.LICENSE.txt → 781.js.LICENSE.txt} +0 -0
- package/8047.js +1 -0
- package/8122.js +1 -0
- package/8238.js +1 -0
- package/8419.js +1 -0
- package/8421.js +1 -0
- package/845.js +1 -0
- package/8716.js +2 -0
- package/{6952.js.LICENSE.txt → 8716.js.LICENSE.txt} +0 -0
- package/{2400.js → 8753.js} +1 -1
- package/8789.js +1 -0
- package/8794.js +1 -1
- package/8969.js +1 -0
- package/9290.js +1 -0
- package/9446.js +1 -0
- package/9551.js +1 -0
- package/9678.js +1 -0
- package/9774.js +1 -0
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/1050.js +0 -1
- package/1071.js +0 -1
- package/1157.js +0 -1
- package/1466.js +0 -1
- package/1707.js +0 -1
- package/174.js +0 -1
- package/1962.js +0 -1
- package/229.js +0 -1
- package/2521.js +0 -2
- package/2547.js +0 -1
- package/2994.js +0 -1
- package/3027.js +0 -1
- package/3247.js +0 -1
- package/3319.js +0 -1
- package/3431.js +0 -1
- package/3628.js +0 -1
- package/3716.js +0 -1
- package/3845.js +0 -1
- package/4397.js +0 -1
- package/4478.js +0 -1
- package/4589.js +0 -2
- package/4614.js +0 -1
- package/5092.js +0 -1
- package/5108.js +0 -1
- package/5242.js +0 -1
- package/5406.js +0 -1
- package/5411.js +0 -1
- package/545.js +0 -1
- package/546.js +0 -1
- package/5674.js +0 -1
- package/5773.js +0 -1
- package/590.js +0 -1
- package/6115.js +0 -1
- package/614.js +0 -1
- package/6156.js +0 -1
- package/64.js +0 -1
- package/6517.js +0 -1
- package/6538.js +0 -1
- package/6817.js +0 -1
- package/6952.js +0 -2
- package/696.js +0 -1
- package/727.js +0 -1
- package/7478.js +0 -2
- package/7830.js +0 -1
- package/7890.js +0 -1
- package/8040.js +0 -1
- package/86.js +0 -1
- package/8732.js +0 -1
- package/8741.js +0 -1
- package/8862.js +0 -1
- package/888.js +0 -2
- package/8899.js +0 -1
- package/9002.js +0 -1
- package/9109.js +0 -1
- package/9147.js +0 -1
package/7890.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[7890],{25601:(e,t,n)=>{n.d(t,{K:()=>h,N:()=>g});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),s=n(77277),c=n(12231),i=n(90436);const u=(0,n(79692).Z)((e=>({button:{padding:"9px 16px 9px 12px","& svg g path":{fill:e.palette.primary.main,fillOpacity:1}},iconButton:{"& svg g path":{fill:e.palette.primary.main,fillOpacity:1}},startIcon:{marginLeft:0,marginRight:"8px",width:"18px",height:"18px",alignItems:"center"},label:{whiteSpace:"nowrap",fontSize:"14px",lineHeight:"16px",letterSpacing:0},overflowStyle:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},menuIcon:{marginRight:"12px"},menuItem:{minHeight:"28px",padding:"2px 16px 2px 12px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}})));var m=n(79573),p=n(83088),d=n(39475);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}let g;!function(e){e.iconButton="iconButton",e.button="button",e.menuItem="menuItem"}(g||(g={}));const h=(0,r.forwardRef)(((e,t)=>{let{className:n,mode:r=g.iconButton,label:l,disabled:h,icon:b,onClick:v=m.ZT,onMenuClose:y=m.ZT}=e,E=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className","mode","label","disabled","icon","onClick","onMenuClose"]);const x=u();return(()=>{switch(r){case"iconButton":return a().createElement(d.k,f({disabled:h,className:o()(x.iconButton,n),size:"S",tooltipTitle:l,onClick:v,icon:b},E));case"button":return a().createElement(s.Z,f({className:o()(x.button,n),disabled:h,startIcon:a().createElement(b,null),onClick:v,color:"primary",classes:{startIcon:x.startIcon,label:x.label}},E),a().createElement(p.C,{value:l},a().createElement("div",{className:x.overflowStyle},l)));case"menuItem":{const e=()=>{y(),v()};return a().createElement(c.Z,f({classes:{root:x.menuItem},onClick:e,disabled:h,ref:t},E),a().createElement(a().Fragment,null,a().createElement(b,{className:x.menuIcon}),a().createElement(i.Z,{classes:{root:x.menuText}},l)))}}})()}));h.displayName="ActionButton"},33903:(e,t,n)=>{n.d(t,{Z:()=>h});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),s=n(87918),c=n.n(s),i=n(61837),u=n(87685),m=n(80030);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=e=>a().createElement("svg",p({width:18,height:18,viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg"},e),a().createElement("path",{d:"M18 2V0H0v2l7 8v8l4-2v-6z",fill:"currentColor",fillRule:"nonzero",stroke:"none",strokeWidth:1})),f=(0,n(79692).Z)((e=>({"filterIcon--enabled":{color:e.palette.primary.main},closeIcon:{position:"absolute",right:"3px",bottom:"3px",transform:"scale(0.5)"},button:{padding:"11px"}}))),g=e=>{let{enabled:t,onClick:n}=e;const r=f();return a().createElement(m.ZP,{title:t?c().text("Clear all filters"):c().text("Filter")},a().createElement(i.Z,{onClick:n,classes:{root:r.button}},t?a().createElement(a().Fragment,null,a().createElement(d,{className:r["filterIcon--enabled"]}),a().createElement(u.default,{color:"primary",className:r.closeIcon})):a().createElement(d,null)))};g.propTypes={enabled:o().bool,onClick:o().func};const h=g},75975:(e,t,n)=>{n.d(t,{ZP:()=>g});var r=n(17440),a=n(79573);function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s="CHANGE_COLUMNS",c="TOGGLE_FILTERS",i="CHANGE_FILTER",u="TOGGLE_SORT",m="CHANGE_PAGE",p="CHANGE_ROWS_PER_PAGE",d={changeColumns:(0,a.zD)(s),toggleFilters:(0,a.zD)(c),changeFilter:(0,a.zD)(i),toggleSort:(0,a.zD)(u),changePage:(0,a.zD)(m),changeRowsPerPage:(0,a.zD)(p)},f=(e,t)=>{const n=(0,r.difference)(e.visibleColumns,t),a=e=>n.includes(e);return(0,r.evolve)({visibleColumns:(0,r.always)(t),sorting:(0,r.when)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(e.field)}),(()=>{const[e]=t;return{field:e,order:"asc"}})),filters:e=>(0,r.keys)(e).reduce(((e,t)=>a(t)?(0,r.dissoc)(t,e):e),e)},e)},g={reducer:(e,t)=>{switch(t.type){case s:{const n=t.payload;return f(e,n)}case c:{const t=!e.filters;return l({},e,{filters:t?{}:null,page:t?e.page:0})}case i:{const{columnId:n,filter:a}=t.payload;return(0,r.evolve)({filters:a?(0,r.assoc)(n,a):(0,r.dissoc)(n),page:(0,r.always)(0)},e)}case u:{const n=t.payload,o=(0,r.path)(["sorting","field"],e),s=(0,r.path)(["sorting","order"],e);return l({},e,{sorting:{field:n,order:(0,a.Dh)(n===o?s:null)},page:0})}case m:return l({},e,{page:t.payload});case p:return l({},e,{rowsPerPage:t.payload});default:return e}},actions:d,changeVisibleColumns:f}},85596:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),s=n(22241),c=n(17440),i=n(64651),u=n(65629);function m(){return m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m.apply(this,arguments)}const p=e=>{let{relation:t={},inRelationTypes:n=[],outRelationTypes:l=[],onChange:o=c.identity,applyFirstByDefault:s=!1,reversedContextLabels:p=!1}=e,d=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["relation","inRelationTypes","outRelationTypes","onChange","applyFirstByDefault","reversedContextLabels"]);const{getRelationTypesOptions:f,fromEditorValue:g,toEditorValue:h}=(0,i.n)({reversedContextLabels:p}),b=(0,r.useMemo)((()=>f(n,l)),[f,n,l]),v=(0,r.useCallback)((0,c.pipe)(g(n,l),o),[g,n,l,o]),y=!!t.relationType;return(0,r.useEffect)((()=>{s&&b.length&&!y&&v(b[0])}),[b,s,v,y]),a().createElement(u.Z,m({value:h(t,b),options:b,onChange:v},d))};p.propTypes={className:o().string,relation:s.bNA,inRelationTypes:o().arrayOf(s.IYE),outRelationTypes:o().arrayOf(s.IYE),applyFirstByDefault:o().bool,reversedContextLabels:o().bool,onChange:o().func};const d=p},22834:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),s=n(85777);const c=(0,n(79692).Z)((e=>({label:{backgroundColor:"rgba(43,152,240,0.12)",fontSize:"12px",lineHeight:"14px",color:e.palette.text.primary,display:"flex",alignItems:"center",padding:"4px 8px"},container:{display:"flex",alignItems:"center",cursor:"pointer",marginBottom:"8px"}})));function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const u=(0,r.forwardRef)(((e,t)=>{let{children:n,expanded:r,onExpand:l,className:u}=e,m=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["children","expanded","onExpand","className"]);const p=c();return a().createElement("div",i({onClick:l,ref:t,className:o()(p.container,u)},m),a().createElement(s.Z,{expanded:r}),a().createElement("div",{className:p.label},n))}));u.displayName="MatchRuleBadge";const m=u},10160:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(24328),a=n.n(r),l=n(22241),o=n(35583),s=n(70170),c=n(3421);const i=e=>{let{entitiesMap:t,entity:n,match:r,metadata:i}=e;return(0,l.Pcm)(r)?a().createElement(s.Z,{transitiveMatchRules:(0,l.wB1)(i,r,t)}):a().createElement(c.Z,{matchRules:(0,l.LS0)(i,n.type,r.matchRules),Component:o.Z})}},6975:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),a=n.n(r),l=n(87918),o=n.n(l);const s=e=>{let{isMlMatch:t=!1}=e;return a().createElement(a().Fragment,null,t?o().text("Match IQ"):o().text("Match rules"))}},43977:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(24328),a=n.n(r),l=n(6975);const o=(0,n(79692).Z)({title:{fontWeight:500,marginBottom:"9px"},body:{fontWeight:"normal",marginLeft:"16px"},container:{padding:"8px",fontSize:"12px",lineHeight:"14px"}}),s=e=>{let{isMlMatch:t=!1,matchRules:n}=e;const r=o();return a().createElement("div",{className:r.container},a().createElement("div",{className:r.title},a().createElement(l.Z,{isMlMatch:t})," "),a().createElement("div",{className:r.body},n.map((e=>a().createElement("div",{key:e.uri},`- ${e.label}`)))))}},45362:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(24328),a=n.n(r),l=n(71153),o=n.n(l),s=n(6975);const c=(0,n(79692).Z)((e=>({container:{fontSize:"13px",lineHeight:"15px"},title:{color:e.palette.text.secondary,marginBottom:"7px"},labelsContainer:{color:e.palette.text.primary,marginBottom:"8px"}}))),i=e=>{let{isMlMatch:t,matchRules:n,className:r}=e;const l=c();return a().createElement("div",{className:o()(l.container,r)},a().createElement("div",{className:l.title},a().createElement(s.Z,{isMlMatch:t})),a().createElement("div",{className:l.labelsContainer},n.map((e=>a().createElement("div",{key:e.uri},`- ${e.label}`)))))}},35583:(e,t,n)=>{n.d(t,{Z:()=>g});var r=n(24328),a=n.n(r),l=n(43977),o=n(45362),s=n(78223),c=n(22834);const i=(0,n(79692).Z)({container:{display:"flex",flexDirection:"column",alignItems:"flex-start"},rulesContainer:{marginLeft:"16px"},icon:{height:"17px",width:"15px",marginRight:"5px"}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}const m=e=>a().createElement("svg",u({width:192,height:192,viewBox:"0 0 192 192",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),a().createElement("defs",null,a().createElement("linearGradient",{x1:"94.582%",y1:"6.451%",x2:"23.195%",y2:"83.323%",id:"MLMatch_svg__b"},a().createElement("stop",{stopColor:"#CDE1FF",offset:"0%"}),a().createElement("stop",{stopColor:"#AFFBF4",offset:"100%"})),a().createElement("linearGradient",{x1:"94.582%",y1:"6.594%",x2:"23.195%",y2:"83.214%",id:"MLMatch_svg__d"},a().createElement("stop",{stopColor:"#FFF",offset:"0%"}),a().createElement("stop",{stopColor:"#FDFFFF",offset:"100%"})),a().createElement("linearGradient",{x1:"93.837%",y1:"55.274%",x2:"29.292%",y2:"-20.431%",id:"MLMatch_svg__g"},a().createElement("stop",{stopColor:"#FFFCC7",stopOpacity:0,offset:"0%"}),a().createElement("stop",{stopColor:"#FFF470",offset:"100%"})),a().createElement("linearGradient",{x1:"50%",y1:"0%",x2:"50%",y2:"98.152%",id:"MLMatch_svg__i"},a().createElement("stop",{stopColor:"#83D6FF",offset:"0%"}),a().createElement("stop",{stopColor:"#72B9EF",offset:"100%"})),a().createElement("path",{d:"M1.821 66.003L34.263 9.94C36.633 5.813 45.673.594 51.398.072l64.445-.064c5.06-.241 14.821 5.084 17.888 10.395l31.467 54.503c3.186 5.518 2.765 16.592-.13 22.117l-30.948 53.481c-3.776 5.127-14.165 11.126-19.57 11.328l-62.134.061c-5.51-.264-15.934-5.764-18.758-10.655L1.856 86.155C-.846 81.475-.37 70.648 1.82 66.003z",id:"MLMatch_svg__a"}),a().createElement("path",{d:"M11.109 67.042l28.713-49.618C41.92 13.77 49.931 9.158 55.006 8.7l57.143.005c4.486-.209 13.147 4.516 15.871 9.223l27.954 48.298c2.83 4.89 2.467 14.696-.095 19.586l-27.391 47.334c-3.343 4.537-12.55 9.84-17.342 10.013l-55.094-.004c-4.886-.24-14.134-5.12-16.643-9.454L11.16 84.889c-2.4-4.147-1.989-13.735-.05-17.847z",id:"MLMatch_svg__c"}),a().createElement("path",{d:"M.995 0c26.4.684 47.59 22.234 47.59 48.72 0 26.23-23.795 34.53-23.795 56.987 0 3.703-3.011 6.705-6.725 6.705l-17.07-.001V68.985c6.466-1.238 11.353-6.923 11.353-13.75S7.46 42.722.995 41.485V0z",id:"MLMatch_svg__e"}),a().createElement("path",{d:"M47.353 0l-.087 41.235-.225.003c-7.588.167-13.688 6.37-13.688 13.997 0 7.683 6.19 13.92 13.854 14l-.091 43.265H27.887c-1.894-.56-3.197-1.234-3.91-2.025-.712-.79-1.357-2.275-1.933-4.455l-2.335-10.733c-.354-1.265-.674-2.183-.96-2.753-.286-.57-.784-1.281-1.494-2.134L2.002 70.367c-.846-.949-1.383-1.73-1.61-2.343-.228-.613-.356-1.626-.386-3.038V31.34c-.028-.785.044-1.37.216-1.757.173-.387.566-.848 1.18-1.382L28.368.885c.37-.367.665-.601.885-.704.22-.103.557-.163 1.01-.181h17.09z",id:"MLMatch_svg__h"})),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("g",{transform:"translate(12 6)"},a().createElement("use",{fill:"url(#MLMatch_svg__b)",xlinkHref:"#MLMatch_svg__a"}),a().createElement("use",{fill:"url(#MLMatch_svg__d)",opacity:.5,xlinkHref:"#MLMatch_svg__c"})),a().createElement("g",{transform:"translate(69.652 30.765)"},a().createElement("rect",{fill:"#363636",x:15.457,y:132.745,width:21.151,height:23.158,rx:10.576}),a().createElement("path",{d:"M48.146 118.763v18.93c0 7.198-5.944 13.035-13.277 13.035h-16.71c-7.333 0-13.278-5.837-13.278-13.036v-18.929a13 13 0 01.023-.763h43.22a13 13 0 01.022.763z",fill:"#717171"}),a().createElement("path",{d:"M41.348 137.2c0 7.199-4.947 13.035-11.048 13.035H16.395c-6.101 0-11.047-5.836-11.047-13.035v-18.965h36V137.2z",fill:"#828282"}),a().createElement("path",{d:"M47.51 138.235a4 4 0 110 8H4.556a4 4 0 110-8h42.956zm0-11a4 4 0 110 8H4.556a4 4 0 110-8h42.956zm0-11a4 4 0 110 8H4.556a4 4 0 110-8h42.956z",fill:"#B1B1B1"}),a().createElement("path",{d:"M24.999 138.234v8h-16v-8h16zm0-11v8h-16v-8h16zm0-11v8h-16v-8h16z",fill:"#C5C5C5"}),a().createElement("g",{transform:"translate(27)"},a().createElement("mask",{id:"MLMatch_svg__f",fill:"#fff"},a().createElement("use",{xlinkHref:"#MLMatch_svg__e"})),a().createElement("use",{fill:"#FFD44B",xlinkHref:"#MLMatch_svg__e"}),a().createElement("path",{d:"M-49 48.729C-49 21.583-27.155 0-.207 0 26.74 0 48.585 21.817 48.585 48.729c0 26.227-23.75 34.525-23.75 56.98a6.708 6.708 0 01-6.713 6.703h-38.208a6.708 6.708 0 01-6.712-6.704C-26.798 85.217-49 75.875-49 48.73z",fill:"#FFD347",mask:"url(#MLMatch_svg__f)"}),a().createElement("path",{d:"M-49 48.729C-49 21.583-27.155 0-.207 0 26.74 0 48.585 21.817 48.585 48.729c0 26.227-23.75 34.525-23.75 56.98a6.708 6.708 0 01-6.713 6.703h-38.208a6.708 6.708 0 01-6.712-6.704C-26.798 85.217-49 75.875-49 48.73z",fill:"#FFDE72",mask:"url(#MLMatch_svg__f)"}),a().createElement("path",{d:"M11.965 48.645c.17-7.171 7.488-10.693 13.863-6.802 7.245 4.422 4.05 16.311-4.742 16.548l-.268.004h-3.227l-4.608 56.092-5.995-.253 4.413-51.248.185-4.592-10.592.001v-6h10.83l.139-3.585.002-.165zm10.737-1.681c-2.54-1.55-4.64-.58-4.737 1.766l-.005.284-.131 3.38 2.99.001c2.852 0 3.999-3.945 2.011-5.347l-.128-.084z",fill:"#F3BE13",mask:"url(#MLMatch_svg__f)"}),a().createElement("ellipse",{fill:"url(#MLMatch_svg__g)",mask:"url(#MLMatch_svg__f)",cx:-1.89,cy:48.245,rx:36.534,ry:36.667}))),a().createElement("g",{transform:"translate(45.647 30.765)"},a().createElement("mask",{id:"MLMatch_svg__j",fill:"#fff"},a().createElement("use",{xlinkHref:"#MLMatch_svg__h"})),a().createElement("use",{fill:"url(#MLMatch_svg__i)",xlinkHref:"#MLMatch_svg__h"}),a().createElement("path",{fill:"#D6FCFA",fillRule:"nonzero",opacity:.5,mask:"url(#MLMatch_svg__j)",d:"M38.24 11.235v6l-3.55-.001-22.207 22.207h-18.13v-6H9.997l22.207-22.206zM25.682 40.779l13.8 13.799H50v6H36.997L21.439 45.021zM53.311 28.235v6h-13.65l-3.935 4.246-4.4-4.08 5.718-6.166zM14.248 52.235l20.52 20.52h3.695v6h-6.18l-20.52-20.52H-.647v-6zM21.353 84.235h8.95L40.4 94.332h16.753v6H37.915L27.817 90.235z"})),a().createElement("circle",{fill:"#008FD8",cx:94,cy:86,r:9})));var p=n(87918),d=n.n(p);const f=(0,s.Z)(c.Z),g=e=>{let{isMlMatch:t=!1,matchRules:n}=e;const s=i(),[c,u]=(0,r.useState)(!1),p=(0,r.useCallback)((()=>u((e=>!e))),[]);return a().createElement("div",{className:s.container},a().createElement(f,{tooltipTitle:a().createElement(l.Z,{matchRules:n,isMlMatch:t}),tooltipPlacement:"bottom-start",onExpand:p,expanded:c},t?a().createElement(a().Fragment,null,a().createElement(m,{className:s.icon}),d().text("Match IQ")):d().text("Rules")),c?a().createElement(o.Z,{className:s.rulesContainer,matchRules:n,isMlMatch:t}):null)}},3421:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),s=n(17440),c=n(22241);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const u=e=>{let{matchRules:t,Component:n}=e,r=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["matchRules","Component"]);const[l,o]=(0,c.UkJ)(t);return a().createElement(a().Fragment,null,(0,s.isEmpty)(o)?null:a().createElement(n,i({matchRules:o},r)),(0,s.isEmpty)(l)?null:a().createElement(n,i({isMlMatch:!0,matchRules:l},r)))};u.propTypes={matchRules:c.p3$,Component:o().func};const m=u},70170:(e,t,n)=>{n.d(t,{Z:()=>x});var r=n(24328),a=n.n(r),l=n(87918),o=n.n(l),s=n(22834),c=n(85777),i=n(45362),u=n(3421),m=n(79692);const p=(0,m.Z)((e=>({label:{fontSize:"13px",lineHeight:"15px",color:e.palette.primary.light},container:{display:"flex",flexDirection:"column"},badge:{display:"flex",marginBottom:"8px",cursor:"pointer"},matchLabels:{marginLeft:"30px"}}))),d=e=>{let{label:t,matchRules:n}=e;const l=p(),[o,s]=(0,r.useState)(!1),m=(0,r.useCallback)((()=>s((e=>!e))),[]);return a().createElement("div",{className:l.container},a().createElement("div",{onClick:m,className:l.badge},a().createElement(c.Z,{expanded:o}),a().createElement("div",{className:l.label},t)),o?a().createElement(u.Z,{Component:i.Z,matchRules:n,className:l.matchLabels}):null)},f=(0,m.Z)({container:{display:"flex",flexDirection:"column"},rulesWrapper:{display:"flex",flexDirection:"column"}});var g=n(78223),h=n(43977);const b=(0,m.Z)({ruleWrapper:{paddingTop:"8px"},label:{fontWeight:500,fontSize:"12px"}}),v=e=>{let{transitiveMatchRules:t}=e;const n=b();return a().createElement(a().Fragment,null,t.map(((e,t)=>{let{label:r,matchRules:l}=e;return a().createElement("div",{key:t,className:n.ruleWrapper},a().createElement("div",{className:n.label},r),a().createElement(h.Z,{matchRules:l}))})))};function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}const E=(0,g.Z)(s.Z),x=e=>{let{transitiveMatchRules:t}=e;const n=f(),[l,s]=(0,r.useState)(!1),c=(0,r.useCallback)((()=>s((e=>!e))),[]);return a().createElement("div",{className:n.container},a().createElement(E,{tooltipTitle:a().createElement(v,{transitiveMatchRules:t}),tooltipPlacement:"bottom-start",onExpand:c,expanded:l},o().text("Transitive matches")),l?t.map(((e,t)=>a().createElement(d,y({key:t},e)))):null)}},84236:(e,t,n)=>{n.d(t,{H:()=>d});var r=n(24328),a=n.n(r),l=n(87918),o=n.n(l);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const c=e=>a().createElement("svg",s({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),a().createElement("defs",null,a().createElement("path",{d:"M17.045 20.455l1.41-1.41-3.41-3.41-1.41 1.41 3.41 3.41zm-9.5-12.41h3.5v5.59l-5.41 5.41 1.41 1.41 6-6v-6.41h3.5l-4.5-4.5-4.5 4.5z",id:"MergeDark_svg__a"})),a().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},a().createElement("mask",{id:"MergeDark_svg__b",fill:"#fff"},a().createElement("use",{xlinkHref:"#MergeDark_svg__a",transform:"rotate(90 12.045 12)"})),a().createElement("path",{fillOpacity:.54,fill:"#000",mask:"url(#MergeDark_svg__b)",d:"M0 0h24v24H0z"})));var i=n(79573),u=n(25601),m=n(50447);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=(0,r.forwardRef)(((e,t)=>{let{className:n,mode:r=u.N.iconButton,onMenuClose:l=i.ZT,disabled:s=!1,entity:d,entities:f,onStartRequest:g,onFinishRequest:h,onError:b}=e,v=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className","mode","onMenuClose","disabled","entity","entities","onStartRequest","onFinishRequest","onError"]);const{sendMergeAllRequest:y}=(0,m._)({entity:d,entities:f,onStartRequest:g,onFinishRequest:h,onError:b});return a().createElement(u.K,p({className:n,disabled:s,mode:r,label:o().text("Merge"),icon:c,onClick:y,onMenuClose:l,ref:t},v))}));d.displayName="mergeButton"},48376:(e,t,n)=>{n.d(t,{i:()=>d});var r=n(25601),a=n(24328),l=n.n(a);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const s=e=>l().createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e),l().createElement("defs",null,l().createElement("path",{d:"M17 13.138l4.5 4.5-4.5 4.5V18.5h-1.247l-3.488-3.479 1.413-1.414 2.901 2.893H17v-3.362zM17 1.5L21.5 6 17 10.5V7.138h-.421l-11.03 11H2v-2h2.723l11.03-11H17V1.5zm-11.45 4l3.294 3.286-1.414 1.413L4.723 7.5H2v-2h3.55z",id:"NotMatchDark_svg__a"})),l().createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l().createElement("mask",{id:"NotMatchDark_svg__b",fill:"#fff"},l().createElement("use",{xlinkHref:"#NotMatchDark_svg__a"})),l().createElement("path",{fillOpacity:.54,fill:"#000",mask:"url(#NotMatchDark_svg__b)",d:"M0 0h24v24H0z"})));var c=n(79573),i=n(87918),u=n.n(i),m=n(19278);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}const d=(0,a.forwardRef)(((e,t)=>{let{className:n,mode:a=r.N.iconButton,onMenuClose:o=c.ZT,disabled:i=!1,entity:d,entities:f,onStartRequest:g,onFinishRequest:h}=e,b=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["className","mode","onMenuClose","disabled","entity","entities","onStartRequest","onFinishRequest"]);const{sendMarkAsNotMatchRequest:v}=(0,m.m)({entity:d,entities:f,onStartRequest:g,onFinishRequest:h});return l().createElement(r.K,p({className:n,disabled:i,mode:a,label:u().text("Not a match"),icon:s,onClick:v,onMenuClose:o,ref:t},b))}));d.displayName="notMatchButton"},11821:(e,t,n)=>{n.d(t,{h:()=>o});var r=n(24328),a=n.n(r);const l=(0,n(79692).Z)((e=>({contentWrapper:{display:"flex",flexDirection:"column",backgroundColor:e.palette.background.paper,boxShadow:"0 1px 1px 0 rgba(0,0,0,0.14), 0 2px 1px -1px rgba(0,0,0,0.12), 0 1px 3px 0 rgba(0,0,0,0.2)",marginLeft:"3px",transition:e.transitions.create(["width"],{duration:e.transitions.duration.enteringScreen})}}))),o=e=>{let{width:t,open:n,children:r}=e;const o=l();return a().createElement("div",{className:o.contentWrapper,style:{width:`${n?t:0}px`}},n&&a().createElement(a().Fragment,null,r))}},98273:(e,t,n)=>{n.d(t,{P:()=>p});var r=n(24328),a=n.n(r),l=n(87685);const o=(0,n(79692).Z)({container:{display:"flex",flexShrink:0,height:"63px",alignItems:"center",borderBottom:"1px solid rgba(0,0,0,0.12)"},icon:{margin:"0 12px"},divider:{backgroundColor:"rgba(0,0,0,0.12)",margin:"19px 17px"},secondTitle:{fontSize:"14px"}});var s=n(90436),c=n(85256),i=n(87918),u=n.n(i),m=n(39475);const p=e=>{let{onClose:t,mainTitle:n,secondTitle:r,content:i,rightContent:p}=e;const d=o();return a().createElement("div",{className:d.container},a().createElement(m.k,{size:"L",icon:l.default,onClick:t,className:d.icon,tooltipTitle:u().text("Close")}),i||a().createElement(a().Fragment,null,a().createElement(s.Z,{variant:"h6"},n),r&&a().createElement(a().Fragment,null,a().createElement(c.Z,{orientation:"vertical",flexItem:!0,className:d.divider}),a().createElement(s.Z,{variant:"body1",color:"textSecondary",className:d.secondTitle},r)),p))}},55310:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n(13980),a=n.n(r),l=n(24328),o=n.n(l);const s=e=>{let{height:t,margin:n}=e;return o().createElement("div",{style:{width:"1px",height:`${t}px`,borderLeft:"1px solid rgba(0,0,0,0.38)",margin:`0 ${n}px`,flexShrink:"0"}})};s.propTypes={height:a().number,margin:a().number};const c=s},65629:(e,t,n)=>{n.d(t,{Z:()=>S});var r=n(24328),a=n.n(r),l=n(13980),o=n.n(l),s=n(87918),c=n.n(s),i=n(17440),u=n(71153),m=n.n(u),p=n(12231),d=n(90436);const f=(0,n(79692).Z)({container:{display:"flex",alignItems:"center",height:"32px",minHeight:"32px",padding:0},text:{display:"flex",width:"calc(100% - 68px)"},textItem:{fontSize:"13px",lineHeight:"15px",marginRight:10},primaryTextItem:{flex:"1 0",flexBasis:0,maxWidth:"50%",overflow:"hidden",textOverflow:"ellipsis"},secondaryTextItem:{flex:"1 0",flexBasis:0,overflow:"hidden",textOverflow:"ellipsis"},icons:{transform:"scale(0.5)",position:"relative",flexShrink:0,width:"68px",bottom:"10px"},iconTop:{position:"absolute",top:0,left:0,zIndex:1},iconBottom:{position:"absolute",top:0,left:26,zIndex:0}});var g=n(42662),h=n(83088);function b(){return b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},b.apply(this,arguments)}const v=e=>{let{innerRef:t,innerProps:n,selectOption:r,data:l}=e;const o=f(),{value:s,label:c,startObject:i,endObject:u}=l,v=i.objectType.label+" ↔ "+u.objectType.label;return a().createElement(p.Z,b({className:o.container,ref:t,key:s,onClick:()=>r({label:c,value:s,startObject:i,endObject:u})},n),a().createElement("div",{className:o.icons},a().createElement(g.Z,{className:o.iconTop,entityType:i.objectType}),a().createElement(g.Z,{className:o.iconBottom,entityType:u.objectType})),a().createElement("div",{className:o.text},a().createElement(h.C,{value:c},a().createElement(d.Z,{className:m()(o.textItem,o.primaryTextItem)},c)),a().createElement(h.C,{value:v},a().createElement(d.Z,{color:"textSecondary",className:m()(o.textItem,o.secondaryTextItem)},v))))};v.propTypes={innerRef:o().oneOfType([o().oneOf([null]),o().func,o().shape({current:o().any.isRequired})]),innerProps:o().object.isRequired,selectOption:o().func.isRequired,data:o().shape({value:o().string.isRequired,label:o().string.isRequired,startObject:o().object,endObject:o().object})};const y=v;var E=n(84425);function x(){return x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const C=e=>{let{value:t={},options:n=[],onChange:l=i.identity,TextFieldProps:o}=e,s=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,["value","options","onChange","TextFieldProps"]);const u=(0,r.useMemo)((()=>function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){O(e,t,n[t])}))}return e}({},(0,i.defaultTo)({},o),{"data-reltio-id":"relation-type-selector"})),[o]);return a().createElement(E.Z,x({value:t,options:n,onChange:l,label:c().text("Select relationship type "),components:{Option:y},TextFieldProps:u},s))},k=o().shape({label:o().string.isRequired,value:o().string.isRequired,startObject:o().object,endObject:o().object});C.propTypes={value:k,options:o().arrayOf(k),onChange:o().func};const S=C},55932:(e,t,n)=>{n.d(t,{V:()=>M});var r=n(24328),a=n.n(r),l=n(17440),o=n(29611),s=n(50581),c=n(94842),i=n(13980),u=n.n(i),m=n(87918),p=n.n(m),d=n(61837),f=n(43434),g=n(98685),h=n(71153),b=n.n(h),v=n(79692);const y=(0,v.Z)((e=>({comment:{display:"flex",flexDirection:"row",flex:1,marginLeft:"6px"},avatar:{height:"24px",width:"24px",margin:"3px 13px 0 0"},icon:{fill:"#537280",backgroundColor:"#EAEDEE"},firstLine:{display:"flex",flexDirection:"row"},info:{flex:1},author:{flex:1,fontWeight:"500",color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px"},date:{color:"rgba(0, 0, 0, 0.54)",fontSize:"11px",marginRight:"17px",lineHeight:"15px"},text:{color:"rgba(0, 0, 0, 0.6)",fontSize:"13px",wordWrap:"break-word",wordBreak:"break-all",paddingRight:"10px"}}))),E=(0,v.Z)((e=>({circleButton:{maxWidth:"14px",maxHeight:"14px",border:"1px solid rgba(0, 0, 0, 0.3)",fontSize:"13px",color:"rgba(0, 0, 0, 0.6)",position:"absolute",top:"-11px",left:"5px",backgroundColor:"#ffffff","&:hover":{backgroundColor:"#f7f7f7"},"&.focused":{backgroundColor:"#f7f7f7"}},delimiter:{position:"relative",height:"4px",borderTop:"1px solid rgba(0, 0, 0, 0.3)",borderBottom:"1px solid rgba(0, 0, 0, 0.3)",margin:"15px 0 24px 0"}}))),x=(0,v.Z)((e=>({container:{padding:"5px 0",display:"flex",flexDirection:"column"},commentsContainer:{maxHeight:"300px",overflowY:"auto"},title:{margin:"0 0 8px 5px",fontSize:"14px",color:"rgba(0, 0, 0, 0.87)"},filledInputRoot:{backgroundColor:"rgba(0, 0, 0, 0.03)",padding:"0 6px",height:"40px",margin:"10px 17px 0 6px",fontSize:"14px","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.03)"},"&.focused":{backgroundColor:"rgba(0, 0, 0, 0.03)"}}}))),O=(0,v.Z)((e=>({messageContainer:{borderBottom:"1px solid rgba(0,0,0,0.3)",paddingBottom:"7px",marginBottom:"7px"}}))),C=e=>{let{author:t,classes:n,message:r,time:l}=e;const o=y();return a().createElement("div",{className:o.comment},a().createElement(f.Z,{className:o.avatar},a().createElement(g.Z,{className:o.icon})),a().createElement("div",{className:b()(o.info,n.messageContainer)},a().createElement("div",{className:o.firstLine},a().createElement("div",{className:o.author},t),a().createElement("span",{className:o.date},p().date(l,"L LT"))),a().createElement("div",{className:o.text},r)))};C.defaultProps={classes:{}},C.propTypes={classes:u().object,author:u().string,id:u().string,message:u().string,time:u().number};const k=e=>{let{comments:t,onClick:n}=e;const r=E();return a().createElement(a().Fragment,null,a().createElement(C,t[0]),a().createElement("div",{className:r.delimiter},a().createElement(d.Z,{className:r.circleButton,onClick:n},t.length-2)),a().createElement(C,t[t.length-1]))};k.propTypes={comments:u().arrayOf(u().shape({author:u().string,id:u().string,message:u().string,time:u().number})),onClick:u().func};const S=e=>{let{comments:t}=e;const n=O();return t.map((e=>{let{author:t,id:r,message:l,time:o}=e;return a().createElement(C,{classes:{messageContainer:n.messageContainer},key:r,author:t,message:l,time:o})}))};S.propTypes={comments:u().arrayOf(u().shape({author:u().string,id:u().string,message:u().string,time:u().number}))};var w=n(12132),P=n(40435);const _=e=>e.target.value,M=e=>{let{processInstanceComments:t,taskId:n,isTaskOpen:i}=e;const u=x(),[m,d]=(0,r.useState)(!1),[f,g]=(0,r.useState)(""),{comments:h,writeComment:b,readOnly:v}=(0,w.W)({processInstanceComments:t,taskId:n,isOpen:i}),y=(0,r.useCallback)((()=>{b(f),g("")}),[f,b]),E=(0,l.pipe)(_,g);return a().createElement("div",{className:u.container},a().createElement("div",{className:u.title}," ",p().text("Comments")," "),a().createElement("div",{className:u.commentsContainer},m||h.length<3?a().createElement(S,{comments:h}):a().createElement(k,{onClick:()=>d(!0),comments:h})),!v&&a().createElement(o.Z,{endAdornment:a().createElement(s.Z,{position:"end"},a().createElement(P.Z,{icon:c.Z,disabled:0===f.length,onClick:y})),classes:{root:u.filledInputRoot},placeholder:p().text("Write a comment"),value:f,onKeyPress:(0,l.when)((0,l.propEq)("key","Enter"),y),onChange:E,disableUnderline:!0}))};M.propTypes={processInstanceComments:u().arrayOf(u().shape({author:u().string,id:u().string,message:u().string,time:u().number})),taskId:u().string}},35782:(e,t,n)=>{n.d(t,{R:()=>s});var r=n(87918),a=n.n(r),l=n(22241),o=n(97333);const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{errorMessage:t,errorCode:n}=e;n!==l.Xt7.WORKFLOW_IS_NOT_REGISTERED_ERROR&&(console.error(e),o.Z.addError({title:a().text("Error"),message:t||a().text("Something went wrong...")}))}},35860:(e,t,n)=>{n.d(t,{rc:()=>a,Xs:()=>l,tg:()=>o});var r=n(17440);const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.find((0,r.startsWith)("changeRequests/"))},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(0,r.pipe)(a,(0,r.unless)(r.isNil,(0,r.pipe)((0,r.split)("/"),(0,r.nth)(1))))(e)},o=e=>void 0===e||!0===e},4091:(e,t,n)=>{n.d(t,{r:()=>f});var r=n(24328),a=n(17440),l=n(52730),o=n(22241),s=n(35674),c=n(29627),i=n(14834),u=n(35782),m=n(36571),p=n(35860);const d=e=>({label:e,value:e}),f=e=>{let{assignee:t,taskId:n,isOpen:f}=e;const{updateTaskState:g}=(0,r.useContext)(i.O)||{},h=(0,l.useSelector)(s.ZP.selectors.getWorkflowPath),b=(0,l.useSelector)(s.ZP.selectors.getWorkflowEnvironmentUrl),v=(0,l.useSelector)(s.ZP.selectors.getTenant),y=(0,c._)(),E=(0,c._)(),[x,O]=(0,r.useState)(null),[C,k]=(0,r.useState)(),[S,w]=(0,r.useState)(!1),P=(0,m.Z)()("UPDATE_TASK")&&(0,p.tg)(f);(0,r.useEffect)((()=>{O(d(t))}),[t]);const _=(0,r.useCallback)((e=>{if(h&&P&&n){const t=(0,a.filter)((t=>t.value.toLowerCase().includes(e)));return C?Promise.resolve(t(C)):E((0,o.j2$)({taskId:n,workflowPath:h,environment:b,tenant:v})).then((e=>{const{data:n}=e,r=n.sort(((e,t)=>o.P6Y.strings.sort("asc",e,t))).map(d);return k(r),t(r)})).catch(u.R)}}),[h,n,b,v,C,k,P]),M=(0,r.useCallback)((e=>{if(h&&P&&n){const{value:t}=e;w(!0),y((0,o._C4)({taskId:n,workflowPath:h,environment:b,tenant:v,assignee:t})).then((()=>{O(d(t)),null==g||g(n,{assignee:t})})).catch(u.R).finally((()=>{w(!1)}))}}),[h,n,b,v,P]);return{assignee:x,getAssignees:_,updateAssignee:M,updateRequestIsInProgress:S,readOnly:!P}}},36571:(e,t,n)=>{n.d(t,{Z:()=>l});var r=n(52730),a=n(35674);const l=()=>{const e=(0,r.useSelector)(a.ZP.selectors.getWorkflowPath),t=(0,r.useSelector)(a.ZP.selectors.getCanUserStartProcessFromQuery),n=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowJobs),l=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowEnvironmentConfigJar),o=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowDefinition),s=(0,r.useSelector)(a.ZP.selectors.getCanUserViewWorkflowConfigJar),c=(0,r.useSelector)(a.ZP.selectors.getCanUserViewProcessInstanceSearchQuery),i=(0,r.useSelector)(a.ZP.selectors.getCanUserUpdateWorkflowDataTask),u=(0,r.useSelector)(a.ZP.selectors.getCanUserUpdateProcessInstance),m=(0,r.useSelector)(a.ZP.selectors.getCanUserReadWorkflowDataTask),p=(0,r.useSelector)(a.ZP.selectors.getCanUserManageWorkflowEnvironmentDefinition),d=(0,r.useSelector)(a.ZP.selectors.getCanUserManageWorkflowDefinition),f=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsValidateTasks),g=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsUpdateTasks),h=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsTerminateProcessInstance),b=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobsSyncBusinessProcessData),v=(0,r.useSelector)(a.ZP.selectors.getCanUserExecuteWorkflowJobs),y=(0,r.useSelector)(a.ZP.selectors.getCanUserCreateWorkflowEnvironmentConfigJar),E=(0,r.useSelector)(a.ZP.selectors.getCanUserRegisterConfigEnvironments),x=(0,r.useSelector)(a.ZP.selectors.getCanUserCreateWorkflowConfigJar);return r=>{if(!e)return!1;switch(r){case"VIEW_PROCESS_DEFINITIONS":return o;case"DEPLOY_GENERIC_PROCESS_DEFINITION":return p;case"VIEW_JOBS":return n;case"START_JOB":return v||b&&h&&g&&f;case"VIEW_CUSTOM_JARS":return s||l;case"UPDATE_PROCESS_INSTANCE":return u;case"VIEW_TASKS":return m;case"REGISTER_TENANT":return E;case"START_PROCESS_INSTANCE":case"START_PROCESS_INSTANCE_SEARCH_QUERY":return t;case"VIEW_PROCESS_INSTANCE_COMMENTS":case"VIEW_PROCESS_INSTANCES":case"VIEW_PROCESS_INSTANCE_COUNT":return c;case"UPDATE_TASK":return i;case"DEPLOY_TENANT_PROCESS_DEFINITION":return d;case"DEPLOY_CUSTOM_JAR":return x&&y}return!1}}},12132:(e,t,n)=>{n.d(t,{W:()=>p});var r=n(24328),a=n(22241),l=n(35674),o=n(52730),s=n(29627),c=n(14834),i=n(35782),u=n(36571),m=n(35860);const p=e=>{let{processInstanceComments:t,taskId:n,isOpen:p}=e;const{updateTaskState:d}=(0,r.useContext)(c.O)||{},f=(0,o.useSelector)(l.ZP.selectors.getWorkflowPath),g=(0,o.useSelector)(l.ZP.selectors.getWorkflowEnvironmentUrl),h=(0,o.useSelector)(l.ZP.selectors.getTenant),b=(0,s._)(),[v,y]=(0,r.useState)([]),[E,x]=(0,r.useState)(!1),O=(0,u.Z)()("UPDATE_TASK")&&(0,m.tg)(p);(0,r.useEffect)((()=>{y(t||[])}),[t]);const C=(0,r.useCallback)((e=>{O&&(x(!0),b((0,a.tZe)({workflowPath:f,environment:g,tenant:h,taskId:n,comment:e}).then((()=>(0,a.yW4)({workflowPath:f,environment:g,tenant:h,taskId:n})))).then((e=>{let{processInstanceComments:t}=e;y(t||[]),null==d||d(n,{processInstanceComments:t})})).catch(i.R).finally((()=>x(!1))))}),[g,n,h,f,b,d,O]);return{comments:v,requestIsInProgress:E,writeComment:C,readOnly:!O}}},14834:(e,t,n)=>{n.d(t,{O:()=>a});var r=n(24328);const a=n.n(r)().createContext(null);a.displayName="WorkflowTasksContext"},17569:(e,t,n)=>{n.d(t,{o:()=>o});var r=n(24328),a=n(17440);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const o=e=>{let{actions:t,dispatch:n}=e;return(0,r.useMemo)((()=>Object.entries(t).reduce(((e,t)=>{let[r,o]=t;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){l(e,t,n[t])}))}return e}({},e,{[r]:(0,a.pipe)(o,n)})}),{})),[n,t])}},36852:(e,t,n)=>{n.d(t,{C:()=>p});var r=n(24328),a=n(52730),l=n(17440),o=n(22241),s=n(35674);function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){i(e,t,n[t])}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=[],m=e=>console.error("Collaboration error",e),p=e=>{let{objectIds:t=u,objectTypes:n,enabled:i=!0}=e;const p=(0,a.useSelector)(s.ZP.selectors.getEntity),d=(0,a.useSelector)(s.ZP.selectors.getTenant),f=(0,a.useSelector)(s.ZP.selectors.getCollaborationPath),g=(0,a.useSelector)(s.ZP.selectors.isCollaborationEnabled)&&i,[h,b]=(0,r.useState)(null),[v,y]=(0,r.useState)([]),[E,x]=(0,r.useState)(null),[O,C]=(0,r.useState)(null),[k,S]=(0,r.useState)(!1),[w,P]=(0,r.useState)(!1),_=(0,r.useCallback)((e=>{x((t=>c({},t,e)))}),[]),M=null==p?void 0:p.uri,T=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(g&&M&&!(0,o.ZiX)(M)){const n=e=>{console.warn("Collaboration error",e),x(null)};(0,l.pipe)(o.$oF,(0,l.andThen)((0,l.map)((0,l.props)(["objectId","comments"]))),(0,l.andThen)(l.fromPairs),(0,l.andThen)(t?x:_),(0,l.otherwise)(n))({uris:e,tenant:d,collaborationPath:f})}else x(null)}),[_,f,M,g,d]);(0,r.useEffect)((()=>{T(t,!0)}),[t,T]);const j=(0,r.useCallback)(((e,t)=>{(0,o.liG)({collaborationPath:f,tenant:d,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:r}=e;y((e=>t?(0,l.uniqBy)((0,l.prop)("commentId"),[...e,...n]):n)),b(r)})).catch(m)}),[f,d]),I=(0,r.useCallback)((e=>{P(!0),(0,o.d7q)({collaborationPath:f,tenant:d,commentId:e}).then(C).catch(m).finally((()=>P(!1)))}),[f,d]),R=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:a,relatedObjectUris:l}=e;S(!0);const s={objectId:a,content:t,relatedObjectUris:l,objectType:r,visibility:"public",namedUsers:n,permanentLink:""};return(0,o.Yrx)({collaborationPath:f,tenant:d,data:s}).then((e=>{let[t]=e;return((e,t)=>{C(e),x((n=>c({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),y((t=>[e,...t]))})(t,a)})).catch(m).finally((()=>S(!1)))}),[f,d]),N=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:a,relatedObjectUris:s,commentId:i,replies:u}=e;S(!0);const p={objectId:a,content:t,relatedObjectUris:s,objectType:r,visibility:"public",namedUsers:n,permanentLink:"",commentId:i,replies:u};return(0,o.uAg)({collaborationPath:f,tenant:d,data:p}).then((e=>(e=>{C(e),y((0,l.map)((0,l.when)((0,l.propEq)("commentId",e.commentId),(0,l.always)(e))))})(c({},e,{replies:u})))).catch(m).finally((()=>S(!1)))}),[f,d]),Z=(0,r.useCallback)((e=>{let{uri:t,commentId:n}=e;S(!0),(0,o.YFy)({collaborationPath:f,tenant:d,commentId:n}).then((()=>((e,t)=>{C(null),x((n=>{const r=n[t]||[];return c({},n,{[t]:r.filter((t=>t.commentId!==e))})})),y((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(m).finally((()=>S(!1)))}),[f,d]),L=(0,r.useCallback)(((e,t,n)=>{const r="resolve"===e.action?"resolved":"open";C("resolved"===r?e=>{if(e)return null}:t=>{if(t)return c({},t,{replies:[...t.replies,e]})}),x((e=>c({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?c({},e,{status:r,replies:e.replies+1}):e))}))),y((t=>t.map((t=>t.commentId===n?c({},t,{status:r,replies:[...t.replies,e]}):t))))}),[]),F=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,commentId:r,action:a,uri:l}=e;S(!0);const s={content:t,action:a,namedUsers:n};return(0,o.PP2)({collaborationPath:f,tenant:d,commentId:r,data:s}).then((e=>{let[t]=e;return L(t,l,r)})).catch(m).finally((()=>S(!1)))}),[f,d,L]),D=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;F({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[F]),z=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;F({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[F]);return{clearCurrentComment:(0,r.useCallback)((()=>{C(null)}),[]),comments:v,commentsMap:E,createComment:R,createReply:F,currentComment:O,deleteComment:Z,editComment:N,getComment:I,getComments:j,getCommentsCount:T,loading:w,objectTypes:n,pageToken:h,reOpenThread:z,resolveThread:D,sending:k}}},19278:(e,t,n)=>{n.d(t,{m:()=>s});var r=n(22241),a=n(52730),l=n(35674),o=n(24328);const s=e=>{let{entities:t,entity:n,onFinishRequest:s,onStartRequest:c}=e;const i=(0,a.useSelector)(l.ZP.selectors.getTenant),u=(0,a.useSelector)(l.ZP.selectors.getDtssPath),[m,p]=(0,o.useState)(!1);return{isPending:m,sendMarkAsNotMatchRequest:(0,o.useCallback)((()=>{null==c||c(),p(!0);const e={dtssPath:u,customerTenant:i,entity:n,entities:t};((0,r.biM)(n)?(0,r.bMg)(e):(0,r.fZN)(e)).finally((()=>{null==s||s(),p(!1)}))}),[u,t,n,s,c,i])}}},23044:(e,t,n)=>{n.d(t,{s:()=>u});var r=n(24328),a=n(52730),l=n(35674),o=n(22241),s=n(18907),c=n(29627),i=n(17440);const u=e=>{let{enabled:t,entity:n,filter:u,onFinishLoading:m,onStartLoading:p,options:d,page:f,rowsPerPage:g,sorting:h}=e;const{order:b,field:v}=h||{},[y,E]=(0,r.useState)(0),[x,O]=(0,r.useState)([]),[C,k]=(0,r.useState)({}),S=(0,a.useSelector)(l.ZP.selectors.getTenant),w=(0,a.useSelector)(l.ZP.selectors.getDtssPath),P=(0,a.useSelector)(l.ZP.selectors.getDataTenants),_=(0,r.useMemo)((()=>({dtssPath:w,dataTenants:P,entity:n,customerTenant:S,dtssRequest:o.Rgl})),[w,P,n,S]),M=(0,r.useCallback)((0,o.U_T)(_,o.SP6),[_]),T=(0,s.a)(M),j=(0,s.a)(o.bFH),I=(0,i.prop)("uri",n),R=(0,c._)(),N=(0,r.useCallback)((function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!t||(0,o.ZiX)(I))return E(0),O([]),void k({});null==p||p(),R((0,o.biM)(n)?j({dtssPath:w,entity:n,customerTenant:S,offset:f*g,max:g,force:e}):T({entityUri:I,offset:f*g,max:g,filter:u,sort:v,order:b,force:e,deep:d.showTransitiveMatches?void 0:1,activeness:d.showInactiveEntities?o.YJ7.ALL:o.YJ7.ACTIVE_ONLY})).then((e=>{const{response:t,total:n,originalResponse:r}=e;E(n),O(t),(0,o.B1H)(r).length>0&&k((0,o.KPC)(r))})).finally((()=>{null==m||m()}))}),[w,t,I,v,u,j,T,m,p,d,b,f,g,R,S]);return(0,r.useEffect)((()=>{N()}),[N]),{total:y,matches:x,entitiesMap:C,loadMatches:(0,r.useCallback)((()=>{N(!0)}),[N])}}},50447:(e,t,n)=>{n.d(t,{_:()=>c});var r=n(24328),a=n(52730),l=n(35674),o=n(22241),s=n(79573);const c=e=>{let{entities:t,entity:n,onFinishRequest:c,onStartRequest:i,onError:u=s.ZT}=e;const m=(0,a.useSelector)(l.ZP.selectors.getTenant),p=(0,a.useSelector)(l.ZP.selectors.getDtssPath),[d,f]=(0,r.useState)(!1);return{isPending:d,sendMergeAllRequest:(0,r.useCallback)((()=>{null==i||i(),f(!0);const e={dtssPath:p,customerTenant:m,entity:n,entities:t};((0,o.biM)(n)?(0,o.uJQ)(e):(0,o.OxG)(e)).catch(u).finally((()=>{null==c||c(),f(!1)}))}),[p,t,n,c,i,m])}}},18907:(e,t,n)=>{n.d(t,{a:()=>l});var r=n(24328),a=n(17440);const l=e=>(0,r.useCallback)((e=>{let t={},n=[];return async r=>{let{max:l,offset:o,force:s}=r,c=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},l=Object.keys(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(r,["max","offset","force"]),i=s;const u=Object.keys(t);if(i=i||!(0,a.equals)(Object.keys(c),u),!i)for(const e of u)i=i||!(0,a.equals)(t[e],c[e]);return i&&(n=await e(c),t=c),{response:n.slice(o,o+l),total:n.length,originalResponse:n}}})(e),[e])},64651:(e,t,n)=>{n.d(t,{n:()=>o});var r=n(24328),a=n(22241),l=n(17440);const o=e=>{let{reversedContextLabels:t}=e;return{getRelationTypesOptions:(0,r.useCallback)(((e,n)=>{const r={},o=(0,l.pipe)(a.PjQ,(0,l.tap)((e=>r[e]=(0,l.propOr)(0,e,r)+1))),s=(0,l.ascend)((0,l.prop)("label")),c=(0,l.curry)(((e,n)=>{let{uri:r,label:l,startObject:s,endObject:c}=n;const i=e===(t?a.Nsj.OUT:a.Nsj.IN)?s:c;return{label:{directionalLabel:o(i),typeLabel:l},value:`${r},${e}`,startObject:s,endObject:c}}));return e.map(c(a.Nsj.IN)).concat(n.map(c(a.Nsj.OUT))).map((0,l.evolve)({label:e=>{let{directionalLabel:t,typeLabel:n}=e;return t?r[t]>1?`${t} (${n})`:t:n}})).sort(s)}),[t]),fromEditorValue:(0,r.useCallback)(((e,t)=>n=>{const[r,o]=n.value.split(",");return{type:(o===a.Nsj.IN?e:t).find((0,l.propEq)("uri",r)),direction:o}}),[]),toEditorValue:(0,r.useCallback)(((e,t)=>t.find((0,l.propEq)("value",`${e.relationType},${e.direction}`))),[])}}},10:(e,t,n)=>{n.d(t,{U:()=>s});var r=n(24328),a=n(52730),l=n(22241),o=n(35674);const s=()=>{const[e,t]=(0,r.useState)([]),n=(0,a.useSelector)(o.ZP.selectors.getTenant),s=(0,a.useSelector)(o.ZP.selectors.getServicesPath),c=e=>{console.warn("Users error",e),t([])};return(0,r.useEffect)((()=>{(0,l.kz_)({tenant:n,servicesPath:s}).then((e=>{let{array:n}=e;return t(n)})).catch(c)}),[n,s]),e}}}]);
|
package/8040.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8040],{4190:(e,t,o)=>{o.d(t,{wE:()=>g,ni:()=>b,ZP:()=>w});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(6277)),s=o(35111),d=o(41262),c=o(15459),l=o(62339),p=o(27556),u=o(97580),h=o(39265),f=o(60364),m={left:"right",right:"left",top:"down",bottom:"up"};function g(e){return-1!==["left","right"].indexOf(e)}function b(e,t){return"rtl"===e.direction&&g(t)?m[t]:t}var v={enter:h.x9.enteringScreen,exit:h.x9.leavingScreen},x=i.forwardRef((function(e,t){var o=e.anchor,c=void 0===o?"left":o,h=e.BackdropProps,g=e.children,x=e.classes,w=e.className,k=e.elevation,y=void 0===k?16:k,Z=e.ModalProps,E=(Z=void 0===Z?{}:Z).BackdropProps,C=(0,r.Z)(Z,["BackdropProps"]),P=e.onClose,R=e.open,T=void 0!==R&&R,N=e.PaperProps,S=void 0===N?{}:N,z=e.SlideProps,B=e.TransitionComponent,D=void 0===B?l.Z:B,A=e.transitionDuration,V=void 0===A?v:A,I=e.variant,M=void 0===I?"temporary":I,W=(0,r.Z)(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"]),H=(0,f.Z)(),L=i.useRef(!1);i.useEffect((function(){L.current=!0}),[]);var O=b(H,c),$=i.createElement(p.Z,(0,n.Z)({elevation:"temporary"===M?y:0,square:!0},S,{className:(0,a.Z)(x.paper,x["paperAnchor".concat((0,u.Z)(O))],S.className,"temporary"!==M&&x["paperAnchorDocked".concat((0,u.Z)(O))])}),g);if("permanent"===M)return i.createElement("div",(0,n.Z)({className:(0,a.Z)(x.root,x.docked,w),ref:t},W),$);var Y=i.createElement(D,(0,n.Z)({in:T,direction:m[O],timeout:V,appear:L.current},z),$);return"persistent"===M?i.createElement("div",(0,n.Z)({className:(0,a.Z)(x.root,x.docked,w),ref:t},W),Y):i.createElement(s.Z,(0,n.Z)({BackdropProps:(0,n.Z)({},h,E,{transitionDuration:V}),BackdropComponent:d.Z,className:(0,a.Z)(x.root,x.modal,w),open:T,onClose:P,ref:t},W,C),Y)}));const w=(0,c.Z)((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(x)},1585:(e,t,o)=>{o.d(t,{Z:()=>p});var n=o(54530),r=o(7560),i=o(24328),a=(o(13980),o(6277)),s=o(15459),d=o(57074),c=o(97580),l=i.forwardRef((function(e,t){var o=e.children,s=e.classes,l=e.className,p=e.color,u=void 0===p?"default":p,h=e.component,f=void 0===h?"button":h,m=e.disabled,g=void 0!==m&&m,b=e.disableFocusRipple,v=void 0!==b&&b,x=e.focusVisibleClassName,w=e.size,k=void 0===w?"large":w,y=e.variant,Z=void 0===y?"round":y,E=(0,n.Z)(e,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return i.createElement(d.Z,(0,r.Z)({className:(0,a.Z)(s.root,l,"round"!==Z&&s.extended,"large"!==k&&s["size".concat((0,c.Z)(k))],g&&s.disabled,{primary:s.primary,secondary:s.secondary,inherit:s.colorInherit}[u]),component:f,disabled:g,focusRipple:!v,focusVisibleClassName:(0,a.Z)(s.focusVisible,x),ref:t},E),i.createElement("span",{className:s.label},o))}));const p=(0,s.Z)((function(e){return{root:(0,r.Z)({},e.typography.button,{boxSizing:"border-box",minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]},color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground},textDecoration:"none"},"&$focusVisible":{boxShadow:e.shadows[6]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},secondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(l)},62339:(e,t,o)=>{o.d(t,{Z:()=>m});var n=o(7560),r=o(54530),i=o(24328),a=(o(13980),o(75047)),s=o(90708),d=o(75614),c=o(85974),l=o(60364),p=o(39265),u=o(41070);function h(e,t){var o=function(e,t){var o,n=t.getBoundingClientRect();if(t.fakeTransform)o=t.fakeTransform;else{var r=window.getComputedStyle(t);o=r.getPropertyValue("-webkit-transform")||r.getPropertyValue("transform")}var i=0,a=0;if(o&&"none"!==o&&"string"==typeof o){var s=o.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(i-n.left,"px)"):"right"===e?"translateX(-".concat(n.left+n.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(a-n.top,"px)"):"translateY(-".concat(n.top+n.height-a,"px)")}(e,t);o&&(t.style.webkitTransform=o,t.style.transform=o)}var f={enter:p.x9.enteringScreen,exit:p.x9.leavingScreen};const m=i.forwardRef((function(e,t){var o=e.children,p=e.direction,m=void 0===p?"down":p,g=e.in,b=e.onEnter,v=e.onEntered,x=e.onEntering,w=e.onExit,k=e.onExited,y=e.onExiting,Z=e.style,E=e.timeout,C=void 0===E?f:E,P=e.TransitionComponent,R=void 0===P?d.ZP:P,T=(0,r.Z)(e,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),N=(0,l.Z)(),S=i.useRef(null),z=i.useCallback((function(e){S.current=a.findDOMNode(e)}),[]),B=(0,c.Z)(o.ref,z),D=(0,c.Z)(B,t),A=function(e){return function(t){e&&(void 0===t?e(S.current):e(S.current,t))}},V=A((function(e,t){h(m,e),(0,u.n)(e),b&&b(e,t)})),I=A((function(e,t){var o=(0,u.C)({timeout:C,style:Z},{mode:"enter"});e.style.webkitTransition=N.transitions.create("-webkit-transform",(0,n.Z)({},o,{easing:N.transitions.easing.easeOut})),e.style.transition=N.transitions.create("transform",(0,n.Z)({},o,{easing:N.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",x&&x(e,t)})),M=A(v),W=A(y),H=A((function(e){var t=(0,u.C)({timeout:C,style:Z},{mode:"exit"});e.style.webkitTransition=N.transitions.create("-webkit-transform",(0,n.Z)({},t,{easing:N.transitions.easing.sharp})),e.style.transition=N.transitions.create("transform",(0,n.Z)({},t,{easing:N.transitions.easing.sharp})),h(m,e),w&&w(e)})),L=A((function(e){e.style.webkitTransition="",e.style.transition="",k&&k(e)})),O=i.useCallback((function(){S.current&&h(m,S.current)}),[m]);return i.useEffect((function(){if(!g&&"down"!==m&&"right"!==m){var e=(0,s.Z)((function(){S.current&&h(m,S.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[m,g]),i.useEffect((function(){g||O()}),[g,O]),i.createElement(R,(0,n.Z)({nodeRef:S,onEnter:V,onEntered:M,onEntering:I,onExit:H,onExited:L,onExiting:W,appear:!0,in:g,timeout:C},T),(function(e,t){return i.cloneElement(o,(0,n.Z)({ref:D,style:(0,n.Z)({visibility:"exited"!==e||g?void 0:"hidden"},Z,o.props.style)},t))}))}))}}]);
|
package/86.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[86],{89998:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"}},54053:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r.Z});var r=n(43434)},41262:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(7560),o=n(54530),a=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(14498),s=a.forwardRef((function(e,t){var n=e.children,c=e.classes,s=e.className,u=e.invisible,f=void 0!==u&&u,d=e.open,p=e.transitionDuration,v=e.TransitionComponent,m=void 0===v?l.Z:v,h=(0,o.Z)(e,["children","classes","className","invisible","open","transitionDuration","TransitionComponent"]);return a.createElement(m,(0,r.Z)({in:d,timeout:p},h),a.createElement("div",{className:(0,i.Z)(c.root,s,f&&c.invisible),"aria-hidden":!0,ref:t},n))}));const u=(0,c.Z)({root:{zIndex:-1,position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(s)},14498:(e,t,n)=>{n.d(t,{Z:()=>v});var r=n(7560),o=n(85354),a=n(54530),i=n(24328),c=(n(13980),n(75614)),l=n(39265),s=n(60364),u=n(41070),f=n(85974),d={entering:{opacity:1},entered:{opacity:1}},p={enter:l.x9.enteringScreen,exit:l.x9.leavingScreen};const v=i.forwardRef((function(e,t){var n=e.children,l=e.disableStrictModeCompat,v=void 0!==l&&l,m=e.in,h=e.onEnter,y=e.onEntered,b=e.onEntering,g=e.onExit,Z=e.onExited,C=e.onExiting,E=e.style,w=e.TransitionComponent,O=void 0===w?c.ZP:w,k=e.timeout,P=void 0===k?p:k,x=(0,a.Z)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","TransitionComponent","timeout"]),S=(0,s.Z)(),_=S.unstable_strictMode&&!v,j=i.useRef(null),z=(0,f.Z)(n.ref,t),M=(0,f.Z)(_?j:void 0,z),R=function(e){return function(t,n){if(e){var r=_?[j.current,t]:[t,n],a=(0,o.Z)(r,2),i=a[0],c=a[1];void 0===c?e(i):e(i,c)}}},N=R(b),D=R((function(e,t){(0,u.n)(e);var n=(0,u.C)({style:E,timeout:P},{mode:"enter"});e.style.webkitTransition=S.transitions.create("opacity",n),e.style.transition=S.transitions.create("opacity",n),h&&h(e,t)})),F=R(y),I=R(C),V=R((function(e){var t=(0,u.C)({style:E,timeout:P},{mode:"exit"});e.style.webkitTransition=S.transitions.create("opacity",t),e.style.transition=S.transitions.create("opacity",t),g&&g(e)})),H=R(Z);return i.createElement(O,(0,r.Z)({appear:!0,in:m,nodeRef:_?j:void 0,onEnter:D,onEntered:F,onEntering:N,onExit:V,onExited:H,onExiting:I,timeout:P},x),(function(e,t){return i.cloneElement(n,(0,r.Z)({style:(0,r.Z)({opacity:0,visibility:"exited"!==e||m?void 0:"hidden"},d[e],E,n.props.style),ref:M},t))}))}))},64326:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(7560),o=n(54530),a=n(24328),i=(n(13980),n(6277)),c=n(15459),l=a.forwardRef((function(e,t){var n=e.classes,c=e.className,l=e.row,s=void 0!==l&&l,u=(0,o.Z)(e,["classes","className","row"]);return a.createElement("div",(0,r.Z)({className:(0,i.Z)(n.root,c,s&&n.row),ref:t},u))}));const s=(0,c.Z)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(l)},86136:(e,t,n)=>{n.d(t,{Z:()=>u});var r=n(7560),o=n(54530),a=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(20413),s=a.forwardRef((function(e,t){var n=e.classes,c=e.className,s=(0,o.Z)(e,["classes","className"]),u=a.useContext(l.Z);return a.createElement("div",(0,r.Z)({className:(0,i.Z)(n.root,c,"flex-start"===u.alignItems&&n.alignItemsFlexStart),ref:t},s))}));const u=(0,c.Z)((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(s)},44962:(e,t,n)=>{n.d(t,{Z:()=>Z});var r=n(7560),o=n(54530),a=n(24328),i=(n(13980),n(6277)),c=n(28838),l=n(3752);const s=(0,l.Z)(a.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),u=(0,l.Z)(a.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var f=n(15459);const d=(0,f.Z)((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes,r=e.fontSize;return a.createElement("div",{className:(0,i.Z)(n.root,t&&n.checked)},a.createElement(s,{fontSize:r}),a.createElement(u,{fontSize:r,className:n.layer}))}));var p=n(41128),v=n(97580),m=n(11375),h=n(72909),y=a.createElement(d,{checked:!0}),b=a.createElement(d,null),g=a.forwardRef((function(e,t){var n=e.checked,l=e.classes,s=e.color,u=void 0===s?"secondary":s,f=e.name,d=e.onChange,p=e.size,g=void 0===p?"medium":p,Z=(0,o.Z)(e,["checked","classes","color","name","onChange","size"]),C=(0,h.Z)(),E=n,w=(0,m.Z)(d,C&&C.onChange),O=f;return C&&(void 0===E&&(E=C.value===e.value),void 0===O&&(O=C.name)),a.createElement(c.Z,(0,r.Z)({color:u,type:"radio",icon:a.cloneElement(b,{fontSize:"small"===g?"small":"default"}),checkedIcon:a.cloneElement(y,{fontSize:"small"===g?"small":"default"}),classes:{root:(0,i.Z)(l.root,l["color".concat((0,v.Z)(u))]),checked:l.checked,disabled:l.disabled},name:O,checked:E,onChange:w,ref:t},Z))}));const Z=(0,f.Z)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,p.U1)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,p.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(g)},2682:(e,t,n)=>{n.d(t,{Z:()=>d});var r=n(7560),o=n(85354),a=n(54530),i=n(24328),c=(n(13980),n(64326)),l=n(85974),s=n(24514),u=n(28006),f=n(66049);const d=i.forwardRef((function(e,t){var n=e.actions,d=e.children,p=e.name,v=e.value,m=e.onChange,h=(0,a.Z)(e,["actions","children","name","value","onChange"]),y=i.useRef(null),b=(0,s.Z)({controlled:v,default:e.defaultValue,name:"RadioGroup"}),g=(0,o.Z)(b,2),Z=g[0],C=g[1];i.useImperativeHandle(n,(function(){return{focus:function(){var e=y.current.querySelector("input:not(:disabled):checked");e||(e=y.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var E=(0,l.Z)(t,y),w=(0,f.Z)(p);return i.createElement(u.Z.Provider,{value:{name:w,onChange:function(e){C(e.target.value),m&&m(e,e.target.value)},value:Z}},i.createElement(c.Z,(0,r.Z)({role:"radiogroup",ref:E},h),d))}))},28006:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n(24328).createContext()},72909:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(24328),o=n(28006);function a(){return r.useContext(o.Z)}},6782:(e,t,n)=>{t.Z=function(e){if("string"!=typeof e)throw new Error((0,r.formatMuiErrorMessage)(7));return e.charAt(0).toUpperCase()+e.slice(1)};var r=n(65144)},65549:(e,t,n)=>{var r=n(14859);t.Z=void 0;var o=r(n(24328)),a=(0,r(n(50175)).default)(o.default.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},77224:(e,t,n)=>{var r=n(14859);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(24328)),a=(0,r(n(50175)).default)(o.default.createElement("path",{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}),"Business");t.default=a},38016:(e,t,n)=>{var r=n(14859);t.Z=void 0;var o=r(n(24328)),a=(0,r(n(50175)).default)(o.default.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},73272:(e,t,n)=>{var r=n(14859);t.Z=void 0;var o=r(n(24328)),a=(0,r(n(50175)).default)(o.default.createElement("path",{d:"M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"}),"Flag");t.Z=a},43054:(e,t,n)=>{var r=n(14859);t.Z=void 0;var o=r(n(24328)),a=(0,r(n(50175)).default)(o.default.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");t.Z=a},43266:(e,t,n)=>{var r=n(14859);t.Z=void 0;var o=r(n(24328)),a=(0,r(n(50175)).default)(o.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=a},98018:(e,t,n)=>{t.ZP=void 0;var r=d(n(54053)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==p(e)&&"function"!=typeof e)return{default:e};var t=f();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=r?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(n,o,a):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}(n(24328)),a=d(n(99340)),i=d(n(77224)),c=d(n(13980)),l=d(n(80835)),s=d(n(97339)),u=d(n(71153));function f(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function d(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function y(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=d(n(89998)).default[500],E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,a=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var n,r=g(e);if(t()){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}(c);function c(){var e;v(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Z(b(e=a.call.apply(a,[this].concat(n))),"state",{error:!1}),Z(b(e),"handleError",(function(){e.setState({error:!0})})),e}return t=c,(n=[{key:"render",value:function(){var e=this.props,t=e.entityType,n=e.storagePath,a=e.classes,c=e.backgroundColor,s=e.color,f=e.className,d=t.typeIcon||t.typeImage;if(d&&!this.state.error)return o.default.createElement(r.default,{className:(0,u.default)(f,a.avatar),style:{border:"2px solid ".concat(t.typeColor||C),backgroundColor:"#FFFFFF"},src:n+d,imgProps:{onError:this.handleError}});var p=(0,l.default)(t);return o.default.createElement(r.default,{className:(0,u.default)(f,a.avatar),style:{border:"2px solid ".concat(t.typeColor||C),backgroundColor:c||t.typeColor||C,color:s}},p&&p.charAt(0)||o.default.createElement(i.default,null))}}])&&m(t.prototype,n),c}(o.PureComponent);Z(E,"propTypes",{entityType:c.default.shape({typeColor:c.default.string,typeIcon:c.default.string,typeImage:c.default.string,label:c.default.string,uri:c.default.string}),className:c.default.string,classes:c.default.shape({avatar:c.default.string}),storagePath:c.default.string,backgroundColor:c.default.string,color:c.default.string}),Z(E,"defaultProps",{storagePath:"https://reltio-images.s3.amazonaws.com/api/",entityType:{},color:"#FFFFFF"});var w=(0,a.default)(s.default)(E);t.ZP=w},97339:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={avatar:{"& img":{display:"flex",flexDirection:"row",alignItems:"center","&::before":{width:"100%"}}}}},80835:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?(0,o.default)(e,"label")||(0,o.default)(e,"uri","").slice((0,o.default)(e,"uri","").lastIndexOf("/")+1):null};var r,o=(r=n(72579))&&r.__esModule?r:{default:r}},70347:(e,t,n)=>{n.d(t,{ZP:()=>w}),n(22220);var r=n(7560),o=(n(51068),n(11720)),a=n(51119),i=n(64659),c=n(4730),l=(n(38111),n(96474)),s=n(50591),u=n(75630),f=n(24328),d=n.n(f),p=(n(27377),n(75047),n(58921),n(92391)),v=n(54573),m=(n(78951),n(19976),n(61950),n(64486));function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var y,b,g,Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),r=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return r===n||o===n},C=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return Z(e,t)}))||n.some((function(t){return Z(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),E=(y=v.S,g=b=function(e){(0,l.Z)(f,e);var t,n,a=(t=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function f(e){var t;(0,i.Z)(this,f),(t=a.call(this,e)).select=void 0,t.onChange=function(e,n){var r=t.props,a=r.getNewOptionData,i=r.inputValue,c=r.isMulti,l=r.onChange,s=r.onCreateOption,u=r.value,f=r.name;if("select-option"!==n.action)return l(e,n);var d=t.state.newOption,v=Array.isArray(e)?e:[e];if(v[v.length-1]!==d)l(e,n);else if(s)s(i);else{var m=a(i,i),h={action:"create-option",name:f};l(c?[].concat((0,o.Z)((0,p.C)(u)),[m]):m,h)}};var n=e.options||[];return t.state={newOption:void 0,options:n},t}return(0,c.Z)(f,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,r=e.formatCreateLabel,a=e.getNewOptionData,i=e.inputValue,c=e.isLoading,l=e.isValidNewOption,s=e.value,u=e.options||[],f=this.state.newOption;f=l(i,(0,p.C)(s),u)?a(i,r(i)):void 0,this.setState({newOption:f,options:!t&&c||!f?u:"first"===n?[f].concat((0,o.Z)(u)):[].concat((0,o.Z)(u),[f])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return d().createElement(y,(0,r.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),f}(f.Component),b.defaultProps=C,g);const w=(0,m.m)(E)},44711:(e,t,n)=>{n.d(t,{ZP:()=>i}),n(22220),n(58527),n(51068),n(75182),n(81260);n(64659),n(4730),n(38111),n(96474),n(50591),n(75630);var r=n(24328),o=(n(36631),n(27377),n(75047),n(58921),n(54573)),a=(n(78951),n(19976),n(61950),n(64486));n(5049);r.Component;const i=(0,a.m)(o.S)}}]);
|
package/8732.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8732],{73989:(e,t,o)=>{function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}o.d(t,{Z:()=>r})},75630:(e,t,o)=>{function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}o.d(t,{Z:()=>r})},96474:(e,t,o)=>{function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}o.d(t,{Z:()=>n})},50591:(e,t,o)=>{o.d(t,{Z:()=>i});var r=o(90929),n=o(73989);function i(e,t){return!t||"object"!==(0,r.Z)(t)&&"function"!=typeof t?(0,n.Z)(e):t}},21324:(e,t,o)=>{o.d(t,{Z:()=>y});var r=o(7560),n=o(54530),i=o(24328),a=(o(13980),o(6277)),l=o(28838),c=o(3752);const s=(0,c.Z)(i.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),p=(0,c.Z)(i.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox");var d=o(41128);const u=(0,c.Z)(i.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var f=o(97580),m=o(15459),h=i.createElement(p,null),g=i.createElement(s,null),v=i.createElement(u,null),b=i.forwardRef((function(e,t){var o=e.checkedIcon,c=void 0===o?h:o,s=e.classes,p=e.color,d=void 0===p?"secondary":p,u=e.icon,m=void 0===u?g:u,b=e.indeterminate,y=void 0!==b&&b,Z=e.indeterminateIcon,w=void 0===Z?v:Z,x=e.inputProps,k=e.size,C=void 0===k?"medium":k,E=(0,n.Z)(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps","size"]),T=y?w:m,O=y?w:c;return i.createElement(l.Z,(0,r.Z)({type:"checkbox",classes:{root:(0,a.Z)(s.root,s["color".concat((0,f.Z)(d))],y&&s.indeterminate),checked:s.checked,disabled:s.disabled},color:d,inputProps:(0,r.Z)({"data-indeterminate":y},x),icon:i.cloneElement(T,{fontSize:void 0===T.props.fontSize&&"small"===C?C:T.props.fontSize}),checkedIcon:i.cloneElement(O,{fontSize:void 0===O.props.fontSize&&"small"===C?C:O.props.fontSize}),ref:t},E))}));const y=(0,m.Z)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,d.U1)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,d.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(b)},7089:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(7560),n=o(54530),i=o(24328),a=(o(13980),o(6277));const l=(0,o(3752).Z)(i.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");var c=o(15459),s=o(41128),p=o(85974),d=o(97580),u=o(57074);function f(e){return"Backspace"===e.key||"Delete"===e.key}var m=i.forwardRef((function(e,t){var o=e.avatar,c=e.classes,s=e.className,m=e.clickable,h=e.color,g=void 0===h?"default":h,v=e.component,b=e.deleteIcon,y=e.disabled,Z=void 0!==y&&y,w=e.icon,x=e.label,k=e.onClick,C=e.onDelete,E=e.onKeyDown,T=e.onKeyUp,O=e.size,P=void 0===O?"medium":O,S=e.variant,N=void 0===S?"default":S,R=(0,n.Z)(e,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),L=i.useRef(null),I=(0,p.Z)(L,t),D=function(e){e.stopPropagation(),C&&C(e)},M=!(!1===m||!k)||m,B="small"===P,F=v||(M?u.Z:"div"),z=F===u.Z?{component:"div"}:{},H=null;if(C){var A=(0,a.Z)("default"!==g&&("default"===N?c["deleteIconColor".concat((0,d.Z)(g))]:c["deleteIconOutlinedColor".concat((0,d.Z)(g))]),B&&c.deleteIconSmall);H=b&&i.isValidElement(b)?i.cloneElement(b,{className:(0,a.Z)(b.props.className,c.deleteIcon,A),onClick:D}):i.createElement(l,{className:(0,a.Z)(c.deleteIcon,A),onClick:D})}var $=null;o&&i.isValidElement(o)&&($=i.cloneElement(o,{className:(0,a.Z)(c.avatar,o.props.className,B&&c.avatarSmall,"default"!==g&&c["avatarColor".concat((0,d.Z)(g))])}));var W=null;return w&&i.isValidElement(w)&&(W=i.cloneElement(w,{className:(0,a.Z)(c.icon,w.props.className,B&&c.iconSmall,"default"!==g&&c["iconColor".concat((0,d.Z)(g))])})),i.createElement(F,(0,r.Z)({role:M||C?"button":void 0,className:(0,a.Z)(c.root,s,"default"!==g&&[c["color".concat((0,d.Z)(g))],M&&c["clickableColor".concat((0,d.Z)(g))],C&&c["deletableColor".concat((0,d.Z)(g))]],"default"!==N&&[c.outlined,{primary:c.outlinedPrimary,secondary:c.outlinedSecondary}[g]],Z&&c.disabled,B&&c.sizeSmall,M&&c.clickable,C&&c.deletable),"aria-disabled":!!Z||void 0,tabIndex:M||C?0:void 0,onClick:k,onKeyDown:function(e){e.currentTarget===e.target&&f(e)&&e.preventDefault(),E&&E(e)},onKeyUp:function(e){e.currentTarget===e.target&&(C&&f(e)?C(e):"Escape"===e.key&&L.current&&L.current.blur()),T&&T(e)},ref:I},z,R),$||W,i.createElement("span",{className:(0,a.Z)(c.label,B&&c.labelSmall)},x),H)}));const h=(0,c.Z)((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],o=(0,s.U1)(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:(0,s._4)(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:(0,s._4)(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:(0,s._4)(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:(0,s._4)(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:(0,s._4)(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:(0,s._4)(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,s.U1)(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,s.U1)(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:(0,s.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:o,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:(0,s.U1)(o,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:(0,s.U1)(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:(0,s.U1)(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:(0,s.U1)(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:(0,s.U1)(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"MuiChip"})(m)},5806:(e,t,o)=>{o.d(t,{Z:()=>u});var r=o(7560),n=o(54530),i=o(24328),a=(o(13980),o(6277)),l=o(81180),c=o(15459),s=o(90436),p=o(97580),d=i.forwardRef((function(e,t){e.checked;var o=e.classes,c=e.className,d=e.control,u=e.disabled,f=(e.inputRef,e.label),m=e.labelPlacement,h=void 0===m?"end":m,g=(e.name,e.onChange,e.value,(0,n.Z)(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"])),v=(0,l.Z)(),b=u;void 0===b&&void 0!==d.props.disabled&&(b=d.props.disabled),void 0===b&&v&&(b=v.disabled);var y={disabled:b};return["checked","name","onChange","value","inputRef"].forEach((function(t){void 0===d.props[t]&&void 0!==e[t]&&(y[t]=e[t])})),i.createElement("label",(0,r.Z)({className:(0,a.Z)(o.root,c,"end"!==h&&o["labelPlacement".concat((0,p.Z)(h))],b&&o.disabled),ref:t},g),i.cloneElement(d,y),i.createElement(s.Z,{component:"span",className:(0,a.Z)(o.label,b&&o.disabled)},f))}));const u=(0,c.Z)((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(d)},67358:(e,t,o)=>{o.d(t,{Z:()=>u});var r=o(7560),n=o(54530),i=o(24328),a=(o(13980),o(6277)),l=o(97580),c=o(15459),s=o(41128),p=o(60364),d=i.forwardRef((function(e,t){var o=e.classes,c=e.className,s=e.color,d=void 0===s?"primary":s,u=e.value,f=e.valueBuffer,m=e.variant,h=void 0===m?"indeterminate":m,g=(0,n.Z)(e,["classes","className","color","value","valueBuffer","variant"]),v=(0,p.Z)(),b={},y={bar1:{},bar2:{}};if(("determinate"===h||"buffer"===h)&&void 0!==u){b["aria-valuenow"]=Math.round(u),b["aria-valuemin"]=0,b["aria-valuemax"]=100;var Z=u-100;"rtl"===v.direction&&(Z=-Z),y.bar1.transform="translateX(".concat(Z,"%)")}if("buffer"===h&&void 0!==f){var w=(f||0)-100;"rtl"===v.direction&&(w=-w),y.bar2.transform="translateX(".concat(w,"%)")}return i.createElement("div",(0,r.Z)({className:(0,a.Z)(o.root,o["color".concat((0,l.Z)(d))],c,{determinate:o.determinate,indeterminate:o.indeterminate,buffer:o.buffer,query:o.query}[h]),role:"progressbar"},b,{ref:t},g),"buffer"===h?i.createElement("div",{className:(0,a.Z)(o.dashed,o["dashedColor".concat((0,l.Z)(d))])}):null,i.createElement("div",{className:(0,a.Z)(o.bar,o["barColor".concat((0,l.Z)(d))],("indeterminate"===h||"query"===h)&&o.bar1Indeterminate,{determinate:o.bar1Determinate,buffer:o.bar1Buffer}[h]),style:y.bar1}),"determinate"===h?null:i.createElement("div",{className:(0,a.Z)(o.bar,("indeterminate"===h||"query"===h)&&o.bar2Indeterminate,"buffer"===h?[o["color".concat((0,l.Z)(d))],o.bar2Buffer]:o["barColor".concat((0,l.Z)(d))]),style:y.bar2}))}));const u=(0,c.Z)((function(e){var t=function(t){return"light"===e.palette.type?(0,s.$n)(t,.62):(0,s._j)(t,.5)},o=t(e.palette.primary.main),r=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:o},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(o," 0%, ").concat(o," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(d)},86689:(e,t,o)=>{o.d(t,{Z:()=>f});var r=o(7560),n=o(54530),i=o(24328),a=(o(13980),o(6277)),l=o(97580),c=o(15459),s=o(54736),p=o(85974),d=o(90436),u=i.forwardRef((function(e,t){var o=e.classes,c=e.className,u=e.color,f=void 0===u?"primary":u,m=e.component,h=void 0===m?"a":m,g=e.onBlur,v=e.onFocus,b=e.TypographyClasses,y=e.underline,Z=void 0===y?"hover":y,w=e.variant,x=void 0===w?"inherit":w,k=(0,n.Z)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),C=(0,s.Z)(),E=C.isFocusVisible,T=C.onBlurVisible,O=C.ref,P=i.useState(!1),S=P[0],N=P[1],R=(0,p.Z)(t,O);return i.createElement(d.Z,(0,r.Z)({className:(0,a.Z)(o.root,o["underline".concat((0,l.Z)(Z))],c,S&&o.focusVisible,"button"===h&&o.button),classes:b,color:f,component:h,onBlur:function(e){S&&(T(),N(!1)),g&&g(e)},onFocus:function(e){E(e)&&N(!0),v&&v(e)},ref:R,variant:x},k))}));const f=(0,c.Z)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(u)},38402:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(7560),n=o(54530),i=o(24328),a=(o(13980),o(6277)),l=o(15459),c=o(57074),s=o(33996),p=o(85974),d=o(20413),u=o(75047),f="undefined"==typeof window?i.useEffect:i.useLayoutEffect,m=i.forwardRef((function(e,t){var o=e.alignItems,l=void 0===o?"center":o,m=e.autoFocus,h=void 0!==m&&m,g=e.button,v=void 0!==g&&g,b=e.children,y=e.classes,Z=e.className,w=e.component,x=e.ContainerComponent,k=void 0===x?"li":x,C=e.ContainerProps,E=(C=void 0===C?{}:C).className,T=(0,n.Z)(C,["className"]),O=e.dense,P=void 0!==O&&O,S=e.disabled,N=void 0!==S&&S,R=e.disableGutters,L=void 0!==R&&R,I=e.divider,D=void 0!==I&&I,M=e.focusVisibleClassName,B=e.selected,F=void 0!==B&&B,z=(0,n.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),H=i.useContext(d.Z),A={dense:P||H.dense||!1,alignItems:l},$=i.useRef(null);f((function(){h&&$.current&&$.current.focus()}),[h]);var W=i.Children.toArray(b),U=W.length&&(0,s.Z)(W[W.length-1],["ListItemSecondaryAction"]),j=i.useCallback((function(e){$.current=u.findDOMNode(e)}),[]),V=(0,p.Z)(j,t),K=(0,r.Z)({className:(0,a.Z)(y.root,Z,A.dense&&y.dense,!L&&y.gutters,D&&y.divider,N&&y.disabled,v&&y.button,"center"!==l&&y.alignItemsFlexStart,U&&y.secondaryAction,F&&y.selected),disabled:N},z),_=w||"li";return v&&(K.component=w||"div",K.focusVisibleClassName=(0,a.Z)(y.focusVisible,M),_=c.Z),U?(_=K.component||w?_:"div","li"===k&&("li"===_?_="div":"li"===K.component&&(K.component="div")),i.createElement(d.Z.Provider,{value:A},i.createElement(k,(0,r.Z)({className:(0,a.Z)(y.container,E),ref:V},T),i.createElement(_,K,W),W.pop()))):i.createElement(d.Z.Provider,{value:A},i.createElement(_,(0,r.Z)({ref:V},K),W))}));const h=(0,l.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(m)},12231:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(54530),n=o(51119),i=o(7560),a=o(24328),l=(o(13980),o(6277)),c=o(15459),s=o(38402),p=a.forwardRef((function(e,t){var o,n=e.classes,c=e.className,p=e.component,d=void 0===p?"li":p,u=e.disableGutters,f=void 0!==u&&u,m=e.ListItemClasses,h=e.role,g=void 0===h?"menuitem":h,v=e.selected,b=e.tabIndex,y=(0,r.Z)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(o=void 0!==b?b:-1),a.createElement(s.Z,(0,i.Z)({button:!0,role:g,tabIndex:o,component:d,selected:v,disableGutters:f,classes:(0,i.Z)({dense:n.dense},m),className:(0,l.Z)(n.root,c,v&&n.selected,!f&&n.gutters),ref:t},y))}));const d=(0,c.Z)((function(e){return{root:(0,i.Z)({},e.typography.body1,(0,n.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,i.Z)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(p)},35379:(e,t,o)=>{o.d(t,{Z:()=>be});var r=o(7560),n=o(54530),i=o(24328),a=(o(13980),"undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator),l=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(a&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),c=a&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),l))}};function s(e){return e&&"[object Function]"==={}.toString.call(e)}function p(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?o[t]:o}function d(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function u(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=p(e),o=t.overflow,r=t.overflowX,n=t.overflowY;return/(auto|scroll|overlay)/.test(o+n+r)?e:u(d(e))}function f(e){return e&&e.referenceNode?e.referenceNode:e}var m=a&&!(!window.MSInputMethodContext||!document.documentMode),h=a&&/MSIE 10/.test(navigator.userAgent);function g(e){return 11===e?m:10===e?h:m||h}function v(e){if(!e)return document.documentElement;for(var t=g(10)?document.body:null,o=e.offsetParent||null;o===t&&e.nextElementSibling;)o=(e=e.nextElementSibling).offsetParent;var r=o&&o.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(o.nodeName)&&"static"===p(o,"position")?v(o):o:e?e.ownerDocument.documentElement:document.documentElement}function b(e){return null!==e.parentNode?b(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=o?e:t,n=o?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(n,0);var a,l,c=i.commonAncestorContainer;if(e!==c&&t!==c||r.contains(n))return"BODY"===(l=(a=c).nodeName)||"HTML"!==l&&v(a.firstElementChild)!==a?v(c):c;var s=b(e);return s.host?y(s.host,t):y(e,b(t).host)}function Z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",o="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var n=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||n;return i[o]}return e[o]}function w(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=Z(t,"top"),n=Z(t,"left"),i=o?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=n*i,e.right+=n*i,e}function x(e,t){var o="x"===t?"Left":"Top",r="Left"===o?"Right":"Bottom";return parseFloat(e["border"+o+"Width"])+parseFloat(e["border"+r+"Width"])}function k(e,t,o,r){return Math.max(t["offset"+e],t["scroll"+e],o["client"+e],o["offset"+e],o["scroll"+e],g(10)?parseInt(o["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function C(e){var t=e.body,o=e.documentElement,r=g(10)&&getComputedStyle(o);return{height:k("Height",t,o,r),width:k("Width",t,o,r)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},T=function(){function e(e,t){for(var o=0;o<t.length;o++){var r=t[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,o,r){return o&&e(t.prototype,o),r&&e(t,r),t}}(),O=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e};function S(e){return P({},e,{right:e.left+e.width,bottom:e.top+e.height})}function N(e){var t={};try{if(g(10)){t=e.getBoundingClientRect();var o=Z(e,"top"),r=Z(e,"left");t.top+=o,t.left+=r,t.bottom+=o,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?C(e.ownerDocument):{},a=i.width||e.clientWidth||n.width,l=i.height||e.clientHeight||n.height,c=e.offsetWidth-a,s=e.offsetHeight-l;if(c||s){var d=p(e);c-=x(d,"x"),s-=x(d,"y"),n.width-=c,n.height-=s}return S(n)}function R(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(10),n="HTML"===t.nodeName,i=N(e),a=N(t),l=u(e),c=p(t),s=parseFloat(c.borderTopWidth),d=parseFloat(c.borderLeftWidth);o&&n&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=S({top:i.top-a.top-s,left:i.left-a.left-d,width:i.width,height:i.height});if(f.marginTop=0,f.marginLeft=0,!r&&n){var m=parseFloat(c.marginTop),h=parseFloat(c.marginLeft);f.top-=s-m,f.bottom-=s-m,f.left-=d-h,f.right-=d-h,f.marginTop=m,f.marginLeft=h}return(r&&!o?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(f=w(f,t)),f}function L(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,r=R(e,o),n=Math.max(o.clientWidth,window.innerWidth||0),i=Math.max(o.clientHeight,window.innerHeight||0),a=t?0:Z(o),l=t?0:Z(o,"left"),c={top:a-r.top+r.marginTop,left:l-r.left+r.marginLeft,width:n,height:i};return S(c)}function I(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===p(e,"position"))return!0;var o=d(e);return!!o&&I(o)}function D(e){if(!e||!e.parentElement||g())return document.documentElement;for(var t=e.parentElement;t&&"none"===p(t,"transform");)t=t.parentElement;return t||document.documentElement}function M(e,t,o,r){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=n?D(e):y(e,f(t));if("viewport"===r)i=L(a,n);else{var l=void 0;"scrollParent"===r?"BODY"===(l=u(d(t))).nodeName&&(l=e.ownerDocument.documentElement):l="window"===r?e.ownerDocument.documentElement:r;var c=R(l,a,n);if("HTML"!==l.nodeName||I(a))i=c;else{var s=C(e.ownerDocument),p=s.height,m=s.width;i.top+=c.top-c.marginTop,i.bottom=p+c.top,i.left+=c.left-c.marginLeft,i.right=m+c.left}}var h="number"==typeof(o=o||0);return i.left+=h?o:o.left||0,i.top+=h?o:o.top||0,i.right-=h?o:o.right||0,i.bottom-=h?o:o.bottom||0,i}function B(e){return e.width*e.height}function F(e,t,o,r,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=M(o,r,i,n),l={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(l).map((function(e){return P({key:e},l[e],{area:B(l[e])})})).sort((function(e,t){return t.area-e.area})),s=c.filter((function(e){var t=e.width,r=e.height;return t>=o.clientWidth&&r>=o.clientHeight})),p=s.length>0?s[0].key:c[0].key,d=e.split("-")[1];return p+(d?"-"+d:"")}function z(e,t,o){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=r?D(t):y(t,f(o));return R(o,n,r)}function H(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),o=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+o}}function A(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function $(e,t,o){o=o.split("-")[0];var r=H(e),n={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(o),a=i?"top":"left",l=i?"left":"top",c=i?"height":"width",s=i?"width":"height";return n[a]=t[a]+t[c]/2-r[c]/2,n[l]=o===l?t[l]-r[s]:t[A(l)],n}function W(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function U(e,t,o){return(void 0===o?e:e.slice(0,function(e,t,o){if(Array.prototype.findIndex)return e.findIndex((function(e){return e.name===o}));var r=W(e,(function(e){return e.name===o}));return e.indexOf(r)}(e,0,o))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var o=e.function||e.fn;e.enabled&&s(o)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=o(t,e))})),t}function j(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=z(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=F(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=$(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=U(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function V(e,t){return e.some((function(e){var o=e.name;return e.enabled&&o===t}))}function K(e){for(var t=[!1,"ms","Webkit","Moz","O"],o=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var n=t[r],i=n?""+n+o:e;if(void 0!==document.body.style[i])return i}return null}function _(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[K("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function G(e,t,o,r){var n="BODY"===e.nodeName,i=n?e.ownerDocument.defaultView:e;i.addEventListener(t,o,{passive:!0}),n||G(u(i.parentNode),t,o,r),r.push(i)}function Y(e,t,o,r){o.updateBound=r,q(e).addEventListener("resize",o.updateBound,{passive:!0});var n=u(e);return G(n,"scroll",o.updateBound,o.scrollParents),o.scrollElement=n,o.eventsEnabled=!0,o}function X(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function J(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach((function(o){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(o)&&Q(t[o])&&(r="px"),e.style[o]=t[o]+r}))}var te=a&&/Firefox/i.test(navigator.userAgent);function oe(e,t,o){var r=W(e,(function(e){return e.name===t})),n=!!r&&e.some((function(e){return e.name===o&&e.enabled&&e.order<r.order}));if(!n){var i="`"+t+"`",a="`"+o+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return n}var re=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ne=re.slice(3);function ie(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=ne.indexOf(e),r=ne.slice(o+1).concat(ne.slice(0,o));return t?r.reverse():r}var ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split("-")[0],r=t.split("-")[1];if(r){var n=e.offsets,i=n.reference,a=n.popper,l=-1!==["bottom","top"].indexOf(o),c=l?"left":"top",s=l?"width":"height",p={start:O({},c,i[c]),end:O({},c,i[c]+i[s]-a[s])};e.offsets.popper=P({},a,p[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var o,r=t.offset,n=e.placement,i=e.offsets,a=i.popper,l=i.reference,c=n.split("-")[0];return o=Q(+r)?[+r,0]:function(e,t,o,r){var n=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),l=a.indexOf(W(a,(function(e){return-1!==e.search(/,|\s/)})));a[l]&&-1===a[l].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,s=-1!==l?[a.slice(0,l).concat([a[l].split(c)[0]]),[a[l].split(c)[1]].concat(a.slice(l+1))]:[a];return s=s.map((function(e,r){var n=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,o,r){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+n[1],a=n[2];return i?0===a.indexOf("%")?S("%p"===a?o:r)[t]/100*i:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i:e}(e,n,t,o)}))})),s.forEach((function(e,t){e.forEach((function(o,r){Q(o)&&(n[t]+=o*("-"===e[r-1]?-1:1))}))})),n}(r,a,l,c),"left"===c?(a.top+=o[0],a.left-=o[1]):"right"===c?(a.top+=o[0],a.left+=o[1]):"top"===c?(a.left+=o[0],a.top-=o[1]):"bottom"===c&&(a.left+=o[0],a.top+=o[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||v(e.instance.popper);e.instance.reference===o&&(o=v(o));var r=K("transform"),n=e.instance.popper.style,i=n.top,a=n.left,l=n[r];n.top="",n.left="",n[r]="";var c=M(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);n.top=i,n.left=a,n[r]=l,t.boundaries=c;var s=t.priority,p=e.offsets.popper,d={primary:function(e){var o=p[e];return p[e]<c[e]&&!t.escapeWithReference&&(o=Math.max(p[e],c[e])),O({},e,o)},secondary:function(e){var o="right"===e?"left":"top",r=p[o];return p[e]>c[e]&&!t.escapeWithReference&&(r=Math.min(p[o],c[e]-("right"===e?p.width:p.height))),O({},o,r)}};return s.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";p=P({},p,d[t](e))})),e.offsets.popper=p,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,r=t.reference,n=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(n),l=a?"right":"bottom",c=a?"left":"top",s=a?"width":"height";return o[l]<i(r[c])&&(e.offsets.popper[c]=i(r[c])-o[s]),o[c]>i(r[l])&&(e.offsets.popper[c]=i(r[l])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var o;if(!oe(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var n=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(n),s=c?"height":"width",d=c?"Top":"Left",u=d.toLowerCase(),f=c?"left":"top",m=c?"bottom":"right",h=H(r)[s];l[m]-h<a[u]&&(e.offsets.popper[u]-=a[u]-(l[m]-h)),l[u]+h>a[m]&&(e.offsets.popper[u]+=l[u]+h-a[m]),e.offsets.popper=S(e.offsets.popper);var g=l[u]+l[s]/2-h/2,v=p(e.instance.popper),b=parseFloat(v["margin"+d]),y=parseFloat(v["border"+d+"Width"]),Z=g-e.offsets.popper[u]-b-y;return Z=Math.max(Math.min(a[s]-h,Z),0),e.arrowElement=r,e.offsets.arrow=(O(o={},u,Math.round(Z)),O(o,f,""),o),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(V(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=M(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],n=A(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case"flip":a=[r,n];break;case"clockwise":a=ie(r);break;case"counterclockwise":a=ie(r,!0);break;default:a=t.behavior}return a.forEach((function(l,c){if(r!==l||a.length===c+1)return e;r=e.placement.split("-")[0],n=A(r);var s=e.offsets.popper,p=e.offsets.reference,d=Math.floor,u="left"===r&&d(s.right)>d(p.left)||"right"===r&&d(s.left)<d(p.right)||"top"===r&&d(s.bottom)>d(p.top)||"bottom"===r&&d(s.top)<d(p.bottom),f=d(s.left)<d(o.left),m=d(s.right)>d(o.right),h=d(s.top)<d(o.top),g=d(s.bottom)>d(o.bottom),v="left"===r&&f||"right"===r&&m||"top"===r&&h||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===i&&f||b&&"end"===i&&m||!b&&"start"===i&&h||!b&&"end"===i&&g),Z=!!t.flipVariationsByContent&&(b&&"start"===i&&m||b&&"end"===i&&f||!b&&"start"===i&&g||!b&&"end"===i&&h),w=y||Z;(u||v||w)&&(e.flipped=!0,(u||v)&&(r=a[c+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=P({},e.offsets.popper,$(e.instance.popper,e.offsets.reference,e.placement)),e=U(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split("-")[0],r=e.offsets,n=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(o),l=-1===["top","left"].indexOf(o);return n[a?"left":"top"]=i[o]-(l?n[a?"width":"height"]:0),e.placement=A(t),e.offsets.popper=S(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!oe(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,o=W(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,r=t.y,n=e.offsets.popper,i=W(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,l,c=void 0!==i?i:t.gpuAcceleration,s=v(e.instance.popper),p=N(s),d={position:n.position},u=function(e,t){var o=e.offsets,r=o.popper,n=o.reference,i=Math.round,a=Math.floor,l=function(e){return e},c=i(n.width),s=i(r.width),p=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),u=t?p||d||c%2==s%2?i:a:l,f=t?i:l;return{left:u(c%2==1&&s%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:u(r.right)}}(e,window.devicePixelRatio<2||!te),f="bottom"===o?"top":"bottom",m="right"===r?"left":"right",h=K("transform");if(l="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-p.height+u.bottom:u.top,a="right"===m?"HTML"===s.nodeName?-s.clientWidth+u.right:-p.width+u.right:u.left,c&&h)d[h]="translate3d("+a+"px, "+l+"px, 0)",d[f]=0,d[m]=0,d.willChange="transform";else{var g="bottom"===f?-1:1,b="right"===m?-1:1;d[f]=l*g,d[m]=a*b,d.willChange=f+", "+m}var y={"x-placement":e.placement};return e.attributes=P({},y,e.attributes),e.styles=P({},d,e.styles),e.arrowStyles=P({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,o;return ee(e.instance.popper,e.styles),t=e.instance.popper,o=e.attributes,Object.keys(o).forEach((function(e){!1!==o[e]?t.setAttribute(e,o[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,r,n){var i=z(n,t,e,o.positionFixed),a=F(o.placement,i,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute("x-placement",a),ee(t,{position:o.positionFixed?"fixed":"absolute"}),o},gpuAcceleration:void 0}}},le=function(){function e(t,o){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=c(this.update.bind(this)),this.options=P({},e.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=o&&o.jquery?o[0]:o,this.options.modifiers={},Object.keys(P({},e.Defaults.modifiers,n.modifiers)).forEach((function(t){r.options.modifiers[t]=P({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return P({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&s(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return T(e,[{key:"update",value:function(){return j.call(this)}},{key:"destroy",value:function(){return _.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return J.call(this)}}]),e}();le.Utils=("undefined"!=typeof window?window:o.g).PopperUtils,le.placements=re,le.Defaults=ae;const ce=le;var se=o(36138),pe=o(8560),de=o(11375),ue=o(52955),fe=o(85974);function me(e){return"function"==typeof e?e():e}var he="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,ge={},ve=i.forwardRef((function(e,t){var o=e.anchorEl,a=e.children,l=e.container,c=e.disablePortal,s=void 0!==c&&c,p=e.keepMounted,d=void 0!==p&&p,u=e.modifiers,f=e.open,m=e.placement,h=void 0===m?"bottom":m,g=e.popperOptions,v=void 0===g?ge:g,b=e.popperRef,y=e.style,Z=e.transition,w=void 0!==Z&&Z,x=(0,n.Z)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),k=i.useRef(null),C=(0,fe.Z)(k,t),E=i.useRef(null),T=(0,fe.Z)(E,b),O=i.useRef(T);he((function(){O.current=T}),[T]),i.useImperativeHandle(b,(function(){return E.current}),[]);var P=i.useState(!0),S=P[0],N=P[1],R=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,(0,se.useTheme)()),L=i.useState(R),I=L[0],D=L[1];i.useEffect((function(){E.current&&E.current.update()}));var M=i.useCallback((function(){if(k.current&&o&&f){E.current&&(E.current.destroy(),O.current(null));var e=function(e){D(e.placement)},t=(me(o),new ce(me(o),k.current,(0,r.Z)({placement:R},v,{modifiers:(0,r.Z)({},s?{}:{preventOverflow:{boundariesElement:"window"}},u,v.modifiers),onCreate:(0,de.Z)(e,v.onCreate),onUpdate:(0,de.Z)(e,v.onUpdate)})));O.current(t)}}),[o,s,u,f,R,v]),B=i.useCallback((function(e){(0,ue.Z)(C,e),M()}),[C,M]),F=function(){E.current&&(E.current.destroy(),O.current(null))};if(i.useEffect((function(){return function(){F()}}),[]),i.useEffect((function(){f||w||F()}),[f,w]),!d&&!f&&(!w||S))return null;var z={placement:I};return w&&(z.TransitionProps={in:f,onEnter:function(){N(!1)},onExited:function(){N(!0),F()}}),i.createElement(pe.Z,{disablePortal:s,container:l},i.createElement("div",(0,r.Z)({ref:B,role:"tooltip"},x,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:f||!d||w?null:"none"},y)}),"function"==typeof a?a(z):a))}));const be=ve},76625:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(64659),n=o(4730),i=o(96474),a=o(50591),l=o(75630),c=o(24328),s=o(75047),p=(o(13980),o(52955));const d=function(e){(0,i.Z)(d,e);var t,o,c=(t=d,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(o){var n=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function d(){return(0,r.Z)(this,d),c.apply(this,arguments)}return(0,n.Z)(d,[{key:"componentDidMount",value:function(){this.ref=s.findDOMNode(this),(0,p.Z)(this.props.rootRef,this.ref)}},{key:"componentDidUpdate",value:function(e){var t=s.findDOMNode(this);e.rootRef===this.props.rootRef&&this.ref===t||(e.rootRef!==this.props.rootRef&&(0,p.Z)(e.rootRef,null),this.ref=t,(0,p.Z)(this.props.rootRef,this.ref))}},{key:"componentWillUnmount",value:function(){this.ref=null,(0,p.Z)(this.props.rootRef,null)}},{key:"render",value:function(){return this.props.children}}]),d}(c.Component)},80030:(e,t,o)=>{o.d(t,{ZP:()=>T});var r=o(7560),n=o(85354),i=o(54530),a=o(51119),l=o(24328),c=o(75047),s=(o(13980),o(6277)),p=o(83593),d=o(41128),u=o(15459),f=o(97580),m=o(72654),h=o(35379),g=o(85974),v=o(66049),b=o(52955),y=o(54736),Z=o(24514),w=o(60364);function x(e){return Math.round(1e5*e)/1e5}var k=!1,C=null,E=l.forwardRef((function(e,t){var o=e.arrow,a=void 0!==o&&o,d=e.children,u=e.classes,x=e.disableFocusListener,E=void 0!==x&&x,T=e.disableHoverListener,O=void 0!==T&&T,P=e.disableTouchListener,S=void 0!==P&&P,N=e.enterDelay,R=void 0===N?100:N,L=e.enterNextDelay,I=void 0===L?0:L,D=e.enterTouchDelay,M=void 0===D?700:D,B=e.id,F=e.interactive,z=void 0!==F&&F,H=e.leaveDelay,A=void 0===H?0:H,$=e.leaveTouchDelay,W=void 0===$?1500:$,U=e.onClose,j=e.onOpen,V=e.open,K=e.placement,_=void 0===K?"bottom":K,q=e.PopperComponent,G=void 0===q?h.Z:q,Y=e.PopperProps,X=e.title,J=e.TransitionComponent,Q=void 0===J?m.Z:J,ee=e.TransitionProps,te=(0,i.Z)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),oe=(0,w.Z)(),re=l.useState(),ne=re[0],ie=re[1],ae=l.useState(null),le=ae[0],ce=ae[1],se=l.useRef(!1),pe=l.useRef(),de=l.useRef(),ue=l.useRef(),fe=l.useRef(),me=(0,Z.Z)({controlled:V,default:!1,name:"Tooltip",state:"open"}),he=(0,n.Z)(me,2),ge=he[0],ve=he[1],be=ge,ye=(0,v.Z)(B);l.useEffect((function(){return function(){clearTimeout(pe.current),clearTimeout(de.current),clearTimeout(ue.current),clearTimeout(fe.current)}}),[]);var Ze=function(e){clearTimeout(C),k=!0,ve(!0),j&&j(e)},we=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var o=d.props;"mouseover"===t.type&&o.onMouseOver&&e&&o.onMouseOver(t),se.current&&"touchstart"!==t.type||(ne&&ne.removeAttribute("title"),clearTimeout(de.current),clearTimeout(ue.current),R||k&&I?(t.persist(),de.current=setTimeout((function(){Ze(t)}),k?I:R)):Ze(t))}},xe=(0,y.Z)(),ke=xe.isFocusVisible,Ce=xe.onBlurVisible,Ee=xe.ref,Te=l.useState(!1),Oe=Te[0],Pe=Te[1],Se=function(){Oe&&(Pe(!1),Ce())},Ne=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){ne||ie(t.currentTarget),ke(t)&&(Pe(!0),we()(t));var o=d.props;o.onFocus&&e&&o.onFocus(t)}},Re=function(e){clearTimeout(C),C=setTimeout((function(){k=!1}),800+A),ve(!1),U&&U(e),clearTimeout(pe.current),pe.current=setTimeout((function(){se.current=!1}),oe.transitions.duration.shortest)},Le=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var o=d.props;"blur"===t.type&&(o.onBlur&&e&&o.onBlur(t),Se()),"mouseleave"===t.type&&o.onMouseLeave&&t.currentTarget===ne&&o.onMouseLeave(t),clearTimeout(de.current),clearTimeout(ue.current),t.persist(),ue.current=setTimeout((function(){Re(t)}),A)}},Ie=function(e){se.current=!0;var t=d.props;t.onTouchStart&&t.onTouchStart(e)},De=(0,g.Z)(ie,t),Me=(0,g.Z)(Ee,De),Be=l.useCallback((function(e){(0,b.Z)(Me,c.findDOMNode(e))}),[Me]),Fe=(0,g.Z)(d.ref,Be);""===X&&(be=!1);var ze=!be&&!O,He=(0,r.Z)({"aria-describedby":be?ye:null,title:ze&&"string"==typeof X?X:null},te,d.props,{className:(0,s.Z)(te.className,d.props.className),onTouchStart:Ie,ref:Fe}),Ae={};S||(He.onTouchStart=function(e){Ie(e),clearTimeout(ue.current),clearTimeout(pe.current),clearTimeout(fe.current),e.persist(),fe.current=setTimeout((function(){we()(e)}),M)},He.onTouchEnd=function(e){d.props.onTouchEnd&&d.props.onTouchEnd(e),clearTimeout(fe.current),clearTimeout(ue.current),e.persist(),ue.current=setTimeout((function(){Re(e)}),W)}),O||(He.onMouseOver=we(),He.onMouseLeave=Le(),z&&(Ae.onMouseOver=we(!1),Ae.onMouseLeave=Le(!1))),E||(He.onFocus=Ne(),He.onBlur=Le(),z&&(Ae.onFocus=Ne(!1),Ae.onBlur=Le(!1)));var $e=l.useMemo((function(){return(0,p.Z)({popperOptions:{modifiers:{arrow:{enabled:Boolean(le),element:le}}}},Y)}),[le,Y]);return l.createElement(l.Fragment,null,l.cloneElement(d,He),l.createElement(G,(0,r.Z)({className:(0,s.Z)(u.popper,z&&u.popperInteractive,a&&u.popperArrow),placement:_,anchorEl:ne,open:!!ne&&be,id:He["aria-describedby"],transition:!0},Ae,$e),(function(e){var t=e.placement,o=e.TransitionProps;return l.createElement(Q,(0,r.Z)({timeout:oe.transitions.duration.shorter},o,ee),l.createElement("div",{className:(0,s.Z)(u.tooltip,u["tooltipPlacement".concat((0,f.Z)(t.split("-")[0]))],se.current&&u.touch,a&&u.tooltipArrow)},X,a?l.createElement("span",{className:u.arrow,ref:ce}):null))})))}));const T=(0,u.Z)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:(0,d.U1)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(x(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:(0,d.U1)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(x(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:(0,a.Z)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,a.Z)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,a.Z)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,a.Z)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(E)},28838:(e,t,o)=>{o.d(t,{Z:()=>f});var r=o(7560),n=o(85354),i=o(54530),a=o(24328),l=(o(13980),o(6277)),c=o(24514),s=o(81180),p=o(15459),d=o(61837),u=a.forwardRef((function(e,t){var o=e.autoFocus,p=e.checked,u=e.checkedIcon,f=e.classes,m=e.className,h=e.defaultChecked,g=e.disabled,v=e.icon,b=e.id,y=e.inputProps,Z=e.inputRef,w=e.name,x=e.onBlur,k=e.onChange,C=e.onFocus,E=e.readOnly,T=e.required,O=e.tabIndex,P=e.type,S=e.value,N=(0,i.Z)(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),R=(0,c.Z)({controlled:p,default:Boolean(h),name:"SwitchBase",state:"checked"}),L=(0,n.Z)(R,2),I=L[0],D=L[1],M=(0,s.Z)(),B=g;M&&void 0===B&&(B=M.disabled);var F="checkbox"===P||"radio"===P;return a.createElement(d.Z,(0,r.Z)({component:"span",className:(0,l.Z)(f.root,m,I&&f.checked,B&&f.disabled),disabled:B,tabIndex:null,role:void 0,onFocus:function(e){C&&C(e),M&&M.onFocus&&M.onFocus(e)},onBlur:function(e){x&&x(e),M&&M.onBlur&&M.onBlur(e)},ref:t},N),a.createElement("input",(0,r.Z)({autoFocus:o,checked:p,defaultChecked:h,className:f.input,disabled:B,id:F&&b,name:w,onChange:function(e){var t=e.target.checked;D(t),k&&k(e,t)},readOnly:E,ref:Z,required:T,tabIndex:O,type:P,value:S},y)),I?u:v)}));const f=(0,p.Z)({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(u)},66049:(e,t,o)=>{o.d(t,{Z:()=>n});var r=o(24328);function n(e){var t=r.useState(e),o=t[0],n=t[1],i=e||o;return r.useEffect((function(){null==o&&n("mui-".concat(Math.round(1e5*Math.random())))}),[o]),i}},3340:(e,t,o)=>{o.d(t,{Cg:()=>a,j1:()=>l,vQ:()=>c,h$:()=>s,sc:()=>p,tv:()=>d,E0:()=>u,ZP:()=>f});var r=o(24809),n=o(35328);function i(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var a=(0,r.Z)({prop:"border",themeKey:"borders",transform:i}),l=(0,r.Z)({prop:"borderTop",themeKey:"borders",transform:i}),c=(0,r.Z)({prop:"borderRight",themeKey:"borders",transform:i}),s=(0,r.Z)({prop:"borderBottom",themeKey:"borders",transform:i}),p=(0,r.Z)({prop:"borderLeft",themeKey:"borders",transform:i}),d=(0,r.Z)({prop:"borderColor",themeKey:"palette"}),u=(0,r.Z)({prop:"borderRadius",themeKey:"shape"});const f=(0,n.Z)(a,l,c,s,p,d,u)},35328:(e,t,o)=>{o.d(t,{Z:()=>n});var r=o(39413);const n=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var n=function(e){return t.reduce((function(t,o){var n=o(e);return n?(0,r.Z)(t,n):t}),{})};return n.propTypes={},n.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),n}},48557:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(11720),n=o(7560),i=(o(13980),o(39413));const a=function(e){var t=function(t){var o=e(t);return t.css?(0,n.Z)({},(0,i.Z)(o,e((0,n.Z)({theme:t.theme},t.css))),function(e,t){var o={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(o[r]=e[r])})),o}(t.css,[e.filterProps])):o};return t.propTypes={},t.filterProps=["css"].concat((0,r.Z)(e.filterProps)),t}},15857:(e,t,o)=>{o.d(t,{ZP:()=>d});var r=o(24809),n=o(35328),i=(0,r.Z)({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),a=(0,r.Z)({prop:"display"}),l=(0,r.Z)({prop:"overflow"}),c=(0,r.Z)({prop:"textOverflow"}),s=(0,r.Z)({prop:"visibility"}),p=(0,r.Z)({prop:"whiteSpace"});const d=(0,n.Z)(i,a,l,c,s,p)},61700:(e,t,o)=>{o.d(t,{P_:()=>i,Me:()=>a,WO:()=>l,Kl:()=>c,cq:()=>s,Kv:()=>p,vm:()=>d,fU:()=>u,H7:()=>f,i4:()=>m,uk:()=>h,eY:()=>g,zo:()=>v,ZP:()=>b});var r=o(24809),n=o(35328),i=(0,r.Z)({prop:"flexBasis"}),a=(0,r.Z)({prop:"flexDirection"}),l=(0,r.Z)({prop:"flexWrap"}),c=(0,r.Z)({prop:"justifyContent"}),s=(0,r.Z)({prop:"alignItems"}),p=(0,r.Z)({prop:"alignContent"}),d=(0,r.Z)({prop:"order"}),u=(0,r.Z)({prop:"flex"}),f=(0,r.Z)({prop:"flexGrow"}),m=(0,r.Z)({prop:"flexShrink"}),h=(0,r.Z)({prop:"alignSelf"}),g=(0,r.Z)({prop:"justifyItems"}),v=(0,r.Z)({prop:"justifySelf"});const b=(0,n.Z)(i,a,l,c,s,p,d,u,f,m,h,g,v)},58881:(e,t,o)=>{o.d(t,{Cc:()=>i,W3:()=>a,Ub:()=>l,t4:()=>c,oI:()=>s,B:()=>p,aN:()=>d,FW:()=>u,K$:()=>f,RG:()=>m,zI:()=>h,fD:()=>g,ZP:()=>v});var r=o(24809),n=o(35328),i=(0,r.Z)({prop:"gridGap"}),a=(0,r.Z)({prop:"gridColumnGap"}),l=(0,r.Z)({prop:"gridRowGap"}),c=(0,r.Z)({prop:"gridColumn"}),s=(0,r.Z)({prop:"gridRow"}),p=(0,r.Z)({prop:"gridAutoFlow"}),d=(0,r.Z)({prop:"gridAutoColumns"}),u=(0,r.Z)({prop:"gridAutoRows"}),f=(0,r.Z)({prop:"gridTemplateColumns"}),m=(0,r.Z)({prop:"gridTemplateRows"}),h=(0,r.Z)({prop:"gridTemplateAreas"}),g=(0,r.Z)({prop:"gridArea"});const v=(0,n.Z)(i,a,l,c,s,p,d,u,f,m,h,g)},27358:(e,t,o)=>{o.d(t,{$_:()=>i,n9:()=>a,ZP:()=>l});var r=o(24809),n=o(35328),i=(0,r.Z)({prop:"color",themeKey:"palette"}),a=(0,r.Z)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"});const l=(0,n.Z)(i,a)},3305:(e,t,o)=>{o.d(t,{FK:()=>i,W5:()=>a,we:()=>l,F2:()=>c,I:()=>s,t$:()=>p,ZP:()=>d});var r=o(24809),n=o(35328),i=(0,r.Z)({prop:"position"}),a=(0,r.Z)({prop:"zIndex",themeKey:"zIndex"}),l=(0,r.Z)({prop:"top"}),c=(0,r.Z)({prop:"right"}),s=(0,r.Z)({prop:"bottom"}),p=(0,r.Z)({prop:"left"});const d=(0,n.Z)(i,a,l,c,s,p)},12221:(e,t,o)=>{o.d(t,{Z:()=>r});const r=(0,o(24809).Z)({prop:"boxShadow",themeKey:"shadows"})},27804:(e,t,o)=>{o.d(t,{bf:()=>a,kk:()=>l,ih:()=>c,Cb:()=>s,kC:()=>p,jw:()=>d,lO:()=>u,Vs:()=>f,ix:()=>m,ZP:()=>h});var r=o(24809),n=o(35328);function i(e){return e<=1?"".concat(100*e,"%"):e}var a=(0,r.Z)({prop:"width",transform:i}),l=(0,r.Z)({prop:"maxWidth",transform:i}),c=(0,r.Z)({prop:"minWidth",transform:i}),s=(0,r.Z)({prop:"height",transform:i}),p=(0,r.Z)({prop:"maxHeight",transform:i}),d=(0,r.Z)({prop:"minHeight",transform:i}),u=(0,r.Z)({prop:"size",cssProperty:"width",transform:i}),f=(0,r.Z)({prop:"size",cssProperty:"height",transform:i}),m=(0,r.Z)({prop:"boxSizing"});const h=(0,n.Z)(a,l,c,s,p,d,m)},24809:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(51119),n=o(21226);function i(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}const a=function(e){var t=e.prop,o=e.cssProperty,a=void 0===o?e.prop:o,l=e.themeKey,c=e.transform,s=function(e){if(null==e[t])return null;var o=e[t],s=i(e.theme,l)||{};return(0,n.k)(e,o,(function(e){var t;return"function"==typeof s?t=s(e):Array.isArray(s)?t=s[e]||e:(t=i(s,e)||e,c&&(t=c(t))),!1===a?t:(0,r.Z)({},a,t)}))};return s.propTypes={},s.filterProps=[t],s}},63842:(e,t,o)=>{o.d(t,{I8:()=>i,JB:()=>a,p_:()=>l,Ue:()=>c,rX:()=>s,Nv:()=>p,yd:()=>d,ZP:()=>u});var r=o(24809),n=o(35328),i=(0,r.Z)({prop:"fontFamily",themeKey:"typography"}),a=(0,r.Z)({prop:"fontSize",themeKey:"typography"}),l=(0,r.Z)({prop:"fontStyle",themeKey:"typography"}),c=(0,r.Z)({prop:"fontWeight",themeKey:"typography"}),s=(0,r.Z)({prop:"letterSpacing"}),p=(0,r.Z)({prop:"lineHeight"}),d=(0,r.Z)({prop:"textAlign"});const u=(0,n.Z)(i,a,l,c,s,p,d)}}]);
|
package/8741.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8741],{14625:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(52730),i=r(35674),a=r(22241),s=r(42639);const c=(0,r(79692).Z)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),u=e=>{let{group:t,metadata:r}=e;const n=c(),u=(0,l.useSelector)(i.ZP.selectors.getAbsoluteImagePath),p=(0,a.XH8)(r,{type:t.id}),d=(0,a.vPL)(u,p);return o().createElement(s.Z,{className:n.icon,icon:d,avatarText:t.title[0]})}},12933:(e,t,r)=>{r.d(t,{Z:()=>V});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(71153),s=r.n(a),c=r(17440),u=r(22311),p=r(26638),d=r(45767),m=r(83088),b=r(40435),f=r(79692);const h=(0,f.Z)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:r=g,onSelectAttributeClick:n,disabled:l=!1}=e;const a=h(),c=t&&r(t);return o().createElement("div",{onClick:l?void 0:n,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.C,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(b.Z,{size:"M",icon:d.Z,disabled:l}))};var x=r(22241);function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){v(e,t,r[t])}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),j=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,n);return[{item:n?w({},e,{filterText:n}):e,level:o,groupId:t,groupName:r}].concat(e.children?e.children.filter((e=>l||i||I(e,n))).flatMap((e=>j(e,t,r,n,o+1,l||i))):[]).flat()},P=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((r=>j(r,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=r(52730),N=r(38402),R=r(35674),L=r(33117),Z=r(63485),D=r(94792),A=r(14625);const F=(0,f.Z)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function B(){return B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},B.apply(this,arguments)}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){$(e,t,r[t])}))}return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=(0,n.memo)((e=>{let{selectedAttributes:t,onItemClick:r,focusIndex:n,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=F(),s=(0,T.useSelector)(R.ZP.selectors.getMetadata);return o().createElement(Z.Z,B({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:u,groupName:p}=i;const d=C(s,t),m=a===n;return o().createElement(L.Z,{key:`item-${u}-${s.fieldName}`,onClick:r,checked:d,data:W({},s,{groupName:p}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(D.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:u,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(N.Z,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(A.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:n},i))}));var M=r(41008);const H=(0,f.Z)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),V=(0,n.memo)((e=>{let{className:t,itemsGroups:r,value:l,getLabel:a,onSelect:d,onRestoreFocus:m=c.identity,onOpenPopup:b=c.identity,disableRestoreFocus:f=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[j,T]=(0,n.useState)(null),N=(0,n.useCallback)((()=>T(null)),[]),R=!!j,[L,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),[A,F]=(0,n.useState)([]),B=(0,n.useCallback)((()=>F([])),[]),W=(0,n.useMemo)((()=>P(L,r)),[r,L]),$=(0,n.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),M.LG)(W)),[x,W]),V=(0,n.useMemo)((()=>Math.max(k(W),308)),[W]),G=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,D,N)),m),U=(0,n.useRef)(),K=(0,n.useCallback)(((e,t)=>{d({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),G({})):(F((e=>{let{attribute:t,selectedAttributes:r,checked:n}=e;return n?r.concat(t):r.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),U.current&&U.current.focus())}),[A,d,g,G,U]),X=(0,n.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:r}=e;return e=>{let{item:n,groupData:o}=e;const l=C(n,r);t(w({},n,{groupName:o.groupName}),!l)}})({onListItemClick:K,selectedAttributes:A}),[K,A]),{focusIndex:_,handleKeyDown:q}=(0,p.t)({items:$,open:R,onSelectFocusedItem:X,selectedItems:A,onClose:G});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{b(),T(e.currentTarget)},disabled:v}),o().createElement(u.Z,{open:R,anchorEl:j,onClose:G,onSearch:Z,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:U,disableRestoreFocus:f,disableEnforceFocus:h},o().createElement(z,{items:$,onItemClick:K,selectedAttributes:A,width:V,height:400,focusIndex:_,hideCheckBox:S})))}))},91431:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(3073),s=r(28831),c=r(71153),u=r.n(c);const p=(0,r(79692).Z)((()=>({hidden:{visibility:"hidden"}}))),d=e=>{let{rowIndex:t,rowValue:r,className:l}=e;const i=p(),{toggleRowCollapse:c,getIsRowCollapsible:d,getIsRowCollapsed:m}=(0,n.useContext)(a.x),b=d(r),f=m(t);return o().createElement(s.Z,{className:u()(l,{[i.hidden]:!b}),isOpen:!f,onClick:e=>{c(t),e.stopPropagation()}})};d.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=d},89902:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440);const s=(0,r(79692).Z)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,a.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:l}=e;const a=s(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return r?o().createElement("div",{className:i()(a.bar,t),style:{width:c(r)?u(r):r}}):null}},80560:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(87918),s=r.n(a),c=r(71153),u=r.n(c),p=r(17440),d=r(22241),m=r(22311),b=r(33117),f=r(41008),h=r(63485),g=r(26638),y=r(94792);const x=(0,r(79692).Z)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){O(e,t,r[t])}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{let{open:t,anchorEl:r,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,n.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),j=(0,n.useCallback)((e=>k(e)||(e.children||[]).some(j)),[k]),P=(0,n.useMemo)((()=>{const e=(0,p.curry)(((e,r,n,o)=>[{item:v({},r,{filterText:c}),level:e,groupId:n,groupName:o},...t(r.children||[],n,o,e+1)])),t=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,r,n),i=t.filter(j);return(I?p.map:p.chain)(l,i)};return t}),[c,I,j]),T=(0,n.useCallback)((e=>e.map((e=>({item:e,items:P(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[P]),N=(0,n.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),R=(0,n.useMemo)((()=>(I?T:P)(l)),[l,I,T,P]),L=(0,n.useMemo)((()=>(0,f.LG)(R)),[R]),{focusIndex:Z,handleKeyDown:D}=(0,g.t)({items:L,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,n.useRef)(null);A.current=Z;const F=(0,n.useCallback)(((e,t,r)=>{let{item:n,level:l=0}=t;const i=!!C.find((e=>e.id===n.id||e.id.includes(`${n.id}.`))),a=A.current===r;return o().createElement(b.Z,{key:n.id,onClick:O,checked:i,level:l,data:n,label:o().createElement(y.Z,{text:n.label,highlight:n.filterText}),labelInText:n.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:n.notSelectable,LogoIcon:n.LogoIcon})}),[S,O,C]),B=(0,d.fW1)("label")(R)||308,W=x();return o().createElement(m.Z,w({open:t,className:u()(W.container,W.popupContainer),anchorEl:r,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:D},E),o().createElement(h.Z,{height:300,renderItem:F,items:L,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:Z,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},87086:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(24328),o=r.n(n),l=r(4190),i=r(60364);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:r}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","children"]);const[c,u]=(0,n.useState)(t),p=(0,i.Z)().transitions.duration.leavingScreen;return(0,n.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{u(!1)}),p);return()=>clearTimeout(e)}u(!0)}}),[t,p,c]),o().createElement(l.ZP,a({open:t},s),c&&r)};s.displayName="Drawer";const c=s},92934:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(24328),o=r.n(n),l=r(87918),i=r.n(l),a=r(22241),s=r(72108);const c=(0,n.memo)((e=>{let{entityTypes:t,selectedEntityTypes:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d={},ListLabelProps:m={},disabled:b=!1}=e;const f=(0,n.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:f,selectedItemsUris:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:p,classes:d,ListLabelProps:m,disabled:b,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},72108:(e,t,r)=>{r.d(t,{S:()=>N});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(17440),s=r(22241),c=r(86619),u=r(83543),p=r(80030),d=r(79692);const m=(0,d.Z)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),b=(e,t)=>{const{childNodes:r,clientLeft:n,clientWidth:o}=t;if(r.length>0){const[t]=Array.from(r),l=document.createRange();l.setStart(t,0);for(let r=0;r<e.length;r++){l.setEnd(t,l.endOffset+e[r].length);const{width:i}=l.getBoundingClientRect();if(n+i>o)return r;r!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},f=e=>e.join(", "),h=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,g=e=>{let{list:t,maxWidth:r}=e;const l=m(),i=(0,n.useRef)(),[a,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{s(((e,t)=>{const r=e.length,n=((e,t)=>{if(t){const r=b(e,t);return-1===r?0:e.length-r}return 0})(e,t);return r-Math.max(1,r-n)})(t,i.current))}),[t]);const c=f(t),u=a>0,d=u?f(t.slice(0,-a)):c;return o().createElement(p.ZP,{title:u?c:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:h(r)},className:l.listLabel,ref:i},c),o().createElement("div",{className:l.visibleItemsLabel},d),u&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var y=r(40435),x=r(22311),w=r(26638),v=r(33117),O=r(94792),C=r(63485);function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},S.apply(this,arguments)}const I=(0,a.always)(32),E=(0,n.memo)((e=>{let{selectedItems:t,onItemClick:r,focusIndex:n,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(C.Z,S({getItemSize:I,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===n;return o().createElement(v.Z,{key:a.uri,onClick:r,checked:s,data:a,label:o().createElement(O.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:n,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));E.displayName="SelectMetadataTypesList";const k=(0,d.Z)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&[disabled]":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){T(e,t,r[t])}))}return e}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=(0,n.memo)((e=>{let{placeholder:t,classes:r={},items:l,selectedItemsUris:p,onChange:d,ListLabelProps:m={},disabled:b,enableEmptyValueUnderline:f,single:h,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=k(),[I,T]=(0,n.useState)(!1),N=(0,n.useCallback)((()=>T(!0)),[]),R=(0,n.useCallback)((()=>T(!1)),[]),[L,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),A=(0,n.useCallback)((0,a.pipe)(D,R),[R,D]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,L)})).map(((e,t)=>({item:{item:P({},e,{filterText:L})},index:t}))),B=(0,n.useMemo)((()=>p.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[p,l]),W=(0,n.useCallback)(((e,t)=>{h?(d(t?[e.uri]:[]),A()):d(t?p.concat(e.uri):p.filter((t=>t!==e.uri)))}),[p,d,h,A]),$=(0,n.useCallback)((e=>{let{item:t}=e;const r=!p.includes(t.uri);W(t,r)}),[p,W]),{focusIndex:z,handleKeyDown:M}=(0,w.t)({items:F,open:I,onSelectFocusedItem:$,selectedItems:p,onClose:A}),H=(0,n.useRef)(),V=H.current?H.current.getBoundingClientRect().width:0,G=Math.max(V,255),U=0===p.length;return o().createElement(o().Fragment,null,o().createElement(c.Z,{label:v,ref:H,InputProps:{startAdornment:U&&!t?null:o().createElement("div",{className:i()(S.inputText,r.inputText)},U?o().createElement("div",null,t):o().createElement(g,j({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,r.input,{[S.emptyInput]:U&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:b}),underline:S.disabledUnderline},endAdornment:o().createElement(y.Z,{size:"L",icon:u.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:I}),disabled:b}),readOnly:!0,disabled:!0,disableUnderline:U&&!f},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,r.label)}},value:"",onClick:b?void 0:N,classes:{root:i()(S.root,r.root)},margin:"dense",variant:"filled",disabled:b,"data-reltio-id":O}),o().createElement(x.Z,{open:I,anchorEl:H.current,onClose:A,onSearch:Z,title:C,containerWidth:G,containerHeight:355,searchInputOnKeyDown:M,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(E,{items:F,onItemClick:W,selectedItems:p,width:G,height:245,focusIndex:z})))}));N.displayName="MetadataTypesSelector"},88357:(e,t,r)=>{r.d(t,{Z:()=>C});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(71153),s=r.n(a),c=r(79692);const u=(0,c.Z)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));var p=r(87918),d=r.n(p),m=r(6782);const b="46px",f=(0,c.Z)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:b},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:b}}))),h=e=>{let{className:t,rowData:r}=e;const n=f();return o().createElement("div",{className:s()(n.readOnlyLogicOperatorContainer,t)},r&&r.operator?(0,m.Z)(r.operator):d().text("Where"))};h.propTypes={className:i().string,rowData:i().object};const g=h;var y=r(22241);const x=e=>{let{className:t,rowData:r}=e;const n=f();return o().createElement("div",{className:s()(n.readOnlyFilter,t)},r&&r.filter?(0,y.XS2)(r.filter):d().text("equals"))};x.propTypes={className:i().string,rowData:i().object};const w=x;var v=r(53862);const O=e=>{let{classes:t={},rowData:r,previousRowData:n,LogicOperatorComponent:l=g,AttributeSelectorComponent:i,FilterSelectorComponent:a=w,ValuesEditorComponent:c,ActionsComponent:p,filterSelectorRef:d,attributeSelectorProps:m={}}=e,b=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const f=u();return o().createElement("div",{className:s()(f.row,t.root)},o().createElement(l,{className:t.logicOperatorContainer,rowContext:b,rowData:n}),o().createElement("div",{className:s()(f.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:m,rowContext:b,rowData:r})),o().createElement("div",{className:s()(f.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:d,rowContext:b,rowData:r})),o().createElement("div",{className:s()(f.rowItem,f.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:b,rowData:r})),o().createElement("div",{className:s()(f.rowItem,t.actionsContainer,{[f.hidden]:!r})},o().createElement(p,{rowContext:b,rowData:r})))};O.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:v.Xw,previousRowData:v.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const C=(0,n.memo)(O)},51586:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(17440),s=r(88357),c=r(53862);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const p=e=>{let{className:t,rowClasses:r,rowsData:n,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,p=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const d=(e,t,n)=>{const d=t>0?(0,a.path)([t-1],n):null,m=t===n.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,u({key:e&&e.id,rowData:e,previousRowData:d,classes:r,filterSelectorRef:t===c?i:void 0},p,m))};return o().createElement("div",{className:t},n.map(d),d(null,n.length,n))};p.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const d=(0,n.memo)(p)},2633:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(54573),o=r(17440);const l={BY_LABEL:(0,n.c)({stringify:(0,o.prop)("label")})}}}]);
|
package/8862.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8862],{48862:(e,s,t)=>{t.r(s),t.d(s,{default:()=>r});const r=t(61962)._}}]);
|