@reltio/remotes 1.4.1521 → 1.4.1523
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/1032.js +1 -1
- package/1032.js.map +1 -1
- package/1268.js +1 -1
- package/1396.js +1 -1
- package/1396.js.map +1 -1
- package/1901.js +3 -0
- package/1901.js.map +1 -0
- package/233.js +2 -0
- package/233.js.map +1 -0
- package/316.js +2 -0
- package/316.js.map +1 -0
- package/3164.js +2 -0
- package/3164.js.map +1 -0
- package/3396.js +1 -1
- package/3396.js.map +1 -1
- package/3758.js +2 -0
- package/3758.js.map +1 -0
- package/385.js +2 -0
- package/385.js.map +1 -0
- package/4120.js +2 -0
- package/4120.js.map +1 -0
- package/4183.js +1 -1
- package/4183.js.map +1 -1
- package/4571.js +1 -1
- package/545.js +2 -0
- package/545.js.map +1 -0
- package/5605.js.map +1 -1
- package/566.js +2 -0
- package/566.js.map +1 -0
- package/{4407.css → 574.css} +1 -1
- package/574.css.map +1 -0
- package/574.js +2 -0
- package/574.js.map +1 -0
- package/{6046.js → 6211.js} +2 -2
- package/6211.js.map +1 -0
- package/6233.js +1 -1
- package/6233.js.map +1 -1
- package/6299.js.map +1 -1
- package/{5285.js → 6578.js} +2 -2
- package/6578.js.map +1 -0
- package/7198.js +2 -0
- package/7198.js.map +1 -0
- package/769.js +2 -0
- package/769.js.map +1 -0
- package/8594.js +2 -0
- package/8594.js.map +1 -0
- package/8684.js +1 -1
- package/{3294.js → 8768.js} +2 -2
- package/8768.js.map +1 -0
- package/9835.js +2 -0
- package/9835.js.map +1 -0
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/remoteEntry.js.map +1 -1
- package/3270.js +0 -2
- package/3270.js.map +0 -1
- package/3294.js.map +0 -1
- package/4407.css.map +0 -1
- package/4407.js +0 -2
- package/4407.js.map +0 -1
- package/5285.js.map +0 -1
- package/6046.js.map +0 -1
- package/6103.js +0 -2
- package/6103.js.map +0 -1
- package/6244.js +0 -2
- package/6244.js.map +0 -1
- package/6413.js +0 -3
- package/6413.js.map +0 -1
- package/6669.js +0 -2
- package/6669.js.map +0 -1
- package/6719.js +0 -2
- package/6719.js.map +0 -1
- package/6880.js +0 -2
- package/6880.js.map +0 -1
- package/8443.js +0 -2
- package/8443.js.map +0 -1
- package/8932.js +0 -2
- package/8932.js.map +0 -1
- package/929.js +0 -2
- package/929.js.map +0 -1
- package/9481.js +0 -2
- package/9481.js.map +0 -1
- package/9561.js +0 -2
- package/9561.js.map +0 -1
- package/9852.js +0 -2
- package/9852.js.map +0 -1
- /package/{6413.js.LICENSE.txt → 1901.js.LICENSE.txt} +0 -0
package/6719.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[6719],{36444:(t,e,n)=>{"use strict";var o=n(71600);e.Z=void 0;var r=o(n(24328)),i=(0,o(n(50175)).default)(r.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"}),"FilterList");e.Z=i},98357:(t,e,n)=>{var o="Expected a function",r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,f=u||p||Function("return this")(),s=Object.prototype.toString,m=Math.max,h=Math.min,d=function(){return f.Date.now()};function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==s.call(t)}(t))return NaN;if(v(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=v(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var n=a.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):i.test(t)?NaN:+t}t.exports=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new TypeError(o);return v(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),function(t,e,n){var r,i,a,l,c,u,p=0,f=!1,s=!1,g=!0;if("function"!=typeof t)throw new TypeError(o);function w(e){var n=r,o=i;return r=i=void 0,p=e,l=t.apply(o,n)}function b(t){return p=t,c=setTimeout(_,e),f?w(t):l}function S(t){var n=t-u;return void 0===u||n>=e||n<0||s&&t-p>=a}function _(){var t=d();if(S(t))return U(t);c=setTimeout(_,function(t){var n=e-(t-u);return s?h(n,a-(t-p)):n}(t))}function U(t){return c=void 0,g&&r?w(t):(r=i=void 0,l)}function W(){var t=d(),n=S(t);if(r=arguments,i=this,u=t,n){if(void 0===c)return b(u);if(s)return c=setTimeout(_,e),w(u)}return void 0===c&&(c=setTimeout(_,e)),l}return e=y(e)||0,v(n)&&(f=!!n.leading,a=(s="maxWait"in n)?m(y(n.maxWait)||0,e):a,g="trailing"in n?!!n.trailing:g),W.cancel=function(){void 0!==c&&clearTimeout(c),p=0,r=u=i=c=void 0},W.flush=function(){return void 0===c?l:U(d())},W}(t,e,{leading:r,maxWait:e,trailing:i})}},9057:function(t,e,n){var o=n(34406);(function(){var e,n,r,i,a,l;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:null!=o&&o.hrtime?(t.exports=function(){return(e()-a)/1e6},n=o.hrtime,i=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),l=1e9*o.uptime(),a=i-l):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},23493:(t,e,n)=>{for(var o=n(9057),r="undefined"==typeof window?n.g:window,i=["moz","webkit"],a="AnimationFrame",l=r["request"+a],c=r["cancel"+a]||r["cancelRequest"+a],u=0;!l&&u<i.length;u++)l=r[i[u]+"Request"+a],c=r[i[u]+"Cancel"+a]||r[i[u]+"CancelRequest"+a];if(!l||!c){var p=0,f=0,s=[];l=function(t){if(0===s.length){var e=o(),n=Math.max(0,16.666666666666668-(e-p));p=n+e,setTimeout((function(){var t=s.slice(0);s.length=0;for(var e=0;e<t.length;e++)if(!t[e].cancelled)try{t[e].callback(p)}catch(t){setTimeout((function(){throw t}),0)}}),Math.round(n))}return s.push({handle:++f,callback:t,cancelled:!1}),f},c=function(t){for(var e=0;e<s.length;e++)s[e].handle===t&&(s[e].cancelled=!0)}}t.exports=function(t){return l.call(r,t)},t.exports.cancel=function(){c.apply(r,arguments)},t.exports.polyfill=function(t){t||(t=r),t.requestAnimationFrame=l,t.cancelAnimationFrame=c}},46847:(t,e,n)=>{"use strict";function o(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=t&&this.setState(t)}function r(t){this.setState(function(e){var n=this.constructor.getDerivedStateFromProps(t,e);return null!=n?n:null}.bind(this))}function i(t,e){try{var n=this.props,o=this.state;this.props=t,this.state=e,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}function a(t){var e=t.prototype;if(!e||!e.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof t.getDerivedStateFromProps&&"function"!=typeof e.getSnapshotBeforeUpdate)return t;var n=null,a=null,l=null;if("function"==typeof e.componentWillMount?n="componentWillMount":"function"==typeof e.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof e.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof e.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof e.componentWillUpdate?l="componentWillUpdate":"function"==typeof e.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==l){var c=t.displayName||t.name,u="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+u+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof t.getDerivedStateFromProps&&(e.componentWillMount=o,e.componentWillReceiveProps=r),"function"==typeof e.getSnapshotBeforeUpdate){if("function"!=typeof e.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");e.componentWillUpdate=i;var p=e.componentDidUpdate;e.componentDidUpdate=function(t,e,n){var o=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;p.call(this,t,e,o)}}return t}n.r(e),n.d(e,{polyfill:()=>a}),o.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0}}]);
|
|
2
|
-
//# sourceMappingURL=6719.js.map
|
package/6719.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"6719.js","mappings":"uHAEIA,EAAyB,EAAQ,OAKrCC,EAAQ,OAAU,EAElB,IAAIC,EAASF,EAAuB,EAAQ,QAIxCG,GAAW,EAFMH,EAAuB,EAAQ,QAElBI,SAASF,EAAOE,QAAQC,cAAc,OAAQ,CAC9EC,EAAG,mDACD,cAEJL,EAAQ,EAAUE,G,gBCPlB,IAAII,EAAkB,sBASlBC,EAAS,aAGTC,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SAGfC,EAA8B,iBAAV,EAAAC,GAAsB,EAAAA,GAAU,EAAAA,EAAOC,SAAWA,QAAU,EAAAD,EAGhFE,EAA0B,iBAARC,MAAoBA,MAAQA,KAAKF,SAAWA,QAAUE,KAGxEC,EAAOL,GAAcG,GAAYG,SAAS,cAATA,GAUjCC,EAPcL,OAAOM,UAOQC,SAG7BC,EAAYC,KAAKC,IACjBC,EAAYF,KAAKG,IAkBjBC,EAAM,WACR,OAAOV,EAAKW,KAAKD,OA0QnB,SAASE,EAASC,GAChB,IAAIC,SAAcD,EAClB,QAASA,IAAkB,UAARC,GAA4B,YAARA,GA4EzC,SAASC,EAASF,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,GAhCF,SAAkBA,GAChB,MAAuB,iBAATA,GAtBhB,SAAsBA,GACpB,QAASA,GAAyB,iBAATA,EAsBtBG,CAAaH,IAvXF,mBAuXYX,EAAee,KAAKJ,GA8B1CK,CAASL,GACX,OAzZM,IA2ZR,GAAID,EAASC,GAAQ,CACnB,IAAIM,EAAgC,mBAAjBN,EAAMO,QAAwBP,EAAMO,UAAYP,EACnEA,EAAQD,EAASO,GAAUA,EAAQ,GAAMA,EAE3C,GAAoB,iBAATN,EACT,OAAiB,IAAVA,EAAcA,GAASA,EAEhCA,EAAQA,EAAMQ,QAAQhC,EAAQ,IAC9B,IAAIiC,EAAW/B,EAAWgC,KAAKV,GAC/B,OAAQS,GAAY9B,EAAU+B,KAAKV,GAC/BpB,EAAaoB,EAAMW,MAAM,GAAIF,EAAW,EAAI,GAC3ChC,EAAWiC,KAAKV,GAtab,KAsa6BA,EAGvCY,EAAO3C,QA9IP,SAAkB4C,EAAMC,EAAMC,GAC5B,IAAIC,GAAU,EACVC,GAAW,EAEf,GAAmB,mBAARJ,EACT,MAAM,IAAIK,UAAU3C,GAMtB,OAJIwB,EAASgB,KACXC,EAAU,YAAaD,IAAYA,EAAQC,QAAUA,EACrDC,EAAW,aAAcF,IAAYA,EAAQE,SAAWA,GA/K5D,SAAkBJ,EAAMC,EAAMC,GAC5B,IAAII,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EAAiB,EACjBT,GAAU,EACVU,GAAS,EACTT,GAAW,EAEf,GAAmB,mBAARJ,EACT,MAAM,IAAIK,UAAU3C,GAUtB,SAASoD,EAAWC,GAClB,IAAIC,EAAOV,EACPW,EAAUV,EAKd,OAHAD,EAAWC,OAAWW,EACtBN,EAAiBG,EACjBN,EAAST,EAAKmB,MAAMF,EAASD,GAI/B,SAASI,EAAYL,GAMnB,OAJAH,EAAiBG,EAEjBL,EAAUW,WAAWC,EAAcrB,GAE5BE,EAAUW,EAAWC,GAAQN,EAWtC,SAASc,EAAaR,GACpB,IAAIS,EAAoBT,EAAOJ,EAM/B,YAAyBO,IAAjBP,GAA+Ba,GAAqBvB,GACzDuB,EAAoB,GAAOX,GANJE,EAAOH,GAM8BJ,EAGjE,SAASc,IACP,IAAIP,EAAO/B,IACX,GAAIuC,EAAaR,GACf,OAAOU,EAAaV,GAGtBL,EAAUW,WAAWC,EAzBvB,SAAuBP,GACrB,IAEIN,EAASR,GAFWc,EAAOJ,GAI/B,OAAOE,EAAS/B,EAAU2B,EAAQD,GAHRO,EAAOH,IAGkCH,EAoBhCiB,CAAcX,IAGnD,SAASU,EAAaV,GAKpB,OAJAL,OAAUQ,EAINd,GAAYE,EACPQ,EAAWC,IAEpBT,EAAWC,OAAWW,EACfT,GAeT,SAASkB,IACP,IAAIZ,EAAO/B,IACP4C,EAAaL,EAAaR,GAM9B,GAJAT,EAAWuB,UACXtB,EAAWuB,KACXnB,EAAeI,EAEXa,EAAY,CACd,QAAgBV,IAAZR,EACF,OAAOU,EAAYT,GAErB,GAAIE,EAGF,OADAH,EAAUW,WAAWC,EAAcrB,GAC5Ba,EAAWH,GAMtB,YAHgBO,IAAZR,IACFA,EAAUW,WAAWC,EAAcrB,IAE9BQ,EAIT,OAxGAR,EAAOZ,EAASY,IAAS,EACrBf,EAASgB,KACXC,IAAYD,EAAQC,QAEpBK,GADAK,EAAS,YAAaX,GACHvB,EAAUU,EAASa,EAAQM,UAAY,EAAGP,GAAQO,EACrEJ,EAAW,aAAcF,IAAYA,EAAQE,SAAWA,GAiG1DuB,EAAUI,OAnCV,gBACkBb,IAAZR,GACFsB,aAAatB,GAEfE,EAAiB,EACjBN,EAAWK,EAAeJ,EAAWG,OAAUQ,GA+BjDS,EAAUM,MA5BV,WACE,YAAmBf,IAAZR,EAAwBD,EAASgB,EAAazC,MA4BhD2C,EA0DAO,CAASlC,EAAMC,EAAM,CAC1B,QAAWE,EACX,QAAWF,EACX,SAAYG,M,qCCrThB,WACE,IAAI+B,EAAgBC,EAAQC,EAAUC,EAAgBC,EAAcC,EAExC,oBAAhBC,aAA+C,OAAhBA,aAAyBA,YAAYzD,IAC9Ee,EAAO3C,QAAU,WACf,OAAOqF,YAAYzD,OAEZ,MAAQ0D,GAAgDA,EAAQN,QACzErC,EAAO3C,QAAU,WACf,OAAQ+E,IAAmBI,GAAgB,KAE7CH,EAASM,EAAQN,OAMjBE,GALAH,EAAiB,WACf,IAAIQ,EAEJ,OAAe,KADfA,EAAKP,KACK,GAAWO,EAAG,OAG1BH,EAA4B,IAAnBE,EAAQE,SACjBL,EAAeD,EAAiBE,GACvBvD,KAAKD,KACde,EAAO3C,QAAU,WACf,OAAO6B,KAAKD,MAAQqD,GAEtBA,EAAWpD,KAAKD,QAEhBe,EAAO3C,QAAU,WACf,OAAO,IAAI6B,MAAO4D,UAAYR,GAEhCA,GAAW,IAAIpD,MAAO4D,aAGvBtD,KAAKuC,O,gBC1BR,IAPA,IAAI9C,EAAM,EAAQ,MACdV,EAAyB,oBAAXwE,OAAyB,EAAA5E,EAAS4E,OAChDC,EAAU,CAAC,MAAO,UAClBC,EAAS,iBACTC,EAAM3E,EAAK,UAAY0E,GACvBE,EAAM5E,EAAK,SAAW0E,IAAW1E,EAAK,gBAAkB0E,GAEpDG,EAAI,GAAIF,GAAOE,EAAIJ,EAAQK,OAAQD,IACzCF,EAAM3E,EAAKyE,EAAQI,GAAK,UAAYH,GACpCE,EAAM5E,EAAKyE,EAAQI,GAAK,SAAWH,IAC5B1E,EAAKyE,EAAQI,GAAK,gBAAkBH,GAI7C,IAAIC,IAAQC,EAAK,CACf,IAAIG,EAAO,EACPC,EAAK,EACLC,EAAQ,GAGZN,EAAM,SAASO,GACb,GAAoB,IAAjBD,EAAMH,OAAc,CACrB,IAAIK,EAAOzE,IACP0E,EAAO9E,KAAKC,IAAI,EALJ,oBAKwB4E,EAAOJ,IAC/CA,EAAOK,EAAOD,EACdpC,YAAW,WACT,IAAIsC,EAAKJ,EAAMzD,MAAM,GAIrByD,EAAMH,OAAS,EACf,IAAI,IAAID,EAAI,EAAGA,EAAIQ,EAAGP,OAAQD,IAC5B,IAAIQ,EAAGR,GAAGS,UACR,IACED,EAAGR,GAAGK,SAASH,GACf,MAAMQ,GACNxC,YAAW,WAAa,MAAMwC,IAAK,MAIxCjF,KAAKkF,MAAMJ,IAOhB,OALAH,EAAMQ,KAAK,CACTC,SAAUV,EACVE,SAAUA,EACVI,WAAW,IAENN,GAGTJ,EAAM,SAASc,GACb,IAAI,IAAIb,EAAI,EAAGA,EAAII,EAAMH,OAAQD,IAC5BI,EAAMJ,GAAGa,SAAWA,IACrBT,EAAMJ,GAAGS,WAAY,IAM7B7D,EAAO3C,QAAU,SAAS6G,GAIxB,OAAOhB,EAAI1D,KAAKjB,EAAM2F,IAExBlE,EAAO3C,QAAQ2E,OAAS,WACtBmB,EAAI/B,MAAM7C,EAAMuD,YAElB9B,EAAO3C,QAAQ8G,SAAW,SAASC,GAC5BA,IACHA,EAAS7F,GAEX6F,EAAOC,sBAAwBnB,EAC/BkB,EAAOE,qBAAuBnB,I,6BClEhC,SAASoB,IAEP,IAAIC,EAAQzC,KAAK0C,YAAYC,yBAAyB3C,KAAK4C,MAAO5C,KAAKyC,OACnEA,MAAAA,GACFzC,KAAK6C,SAASJ,GAIlB,SAASK,EAA0BC,GAQjC/C,KAAK6C,SALL,SAAiBG,GACf,IAAIP,EAAQzC,KAAK0C,YAAYC,yBAAyBI,EAAWC,GACjE,OAAOP,MAAAA,EAAwCA,EAAQ,MAGnCQ,KAAKjD,OAG7B,SAASkD,EAAoBH,EAAWI,GACtC,IACE,IAAIC,EAAYpD,KAAK4C,MACjBI,EAAYhD,KAAKyC,MACrBzC,KAAK4C,MAAQG,EACb/C,KAAKyC,MAAQU,EACbnD,KAAKqD,6BAA8B,EACnCrD,KAAKsD,wBAA0BtD,KAAKuD,wBAClCH,EACAJ,GAEF,QACAhD,KAAK4C,MAAQQ,EACbpD,KAAKyC,MAAQO,GAUjB,SAASZ,EAASoB,GAChB,IAAI7G,EAAY6G,EAAU7G,UAE1B,IAAKA,IAAcA,EAAU8G,iBAC3B,MAAM,IAAIC,MAAM,sCAGlB,GACgD,mBAAvCF,EAAUb,0BAC4B,mBAAtChG,EAAU4G,wBAEjB,OAAOC,EAMT,IAAIG,EAAqB,KACrBC,EAA4B,KAC5BC,EAAsB,KAgB1B,GAf4C,mBAAjClH,EAAU6F,mBACnBmB,EAAqB,qBACmC,mBAAxChH,EAAUmH,4BAC1BH,EAAqB,6BAE4B,mBAAxChH,EAAUmG,0BACnBc,EAA4B,4BACmC,mBAA/CjH,EAAUoH,mCAC1BH,EAA4B,oCAEe,mBAAlCjH,EAAUuG,oBACnBW,EAAsB,sBACmC,mBAAzClH,EAAUqH,6BAC1BH,EAAsB,8BAGC,OAAvBF,GAC8B,OAA9BC,GACwB,OAAxBC,EACA,CACA,IAAII,EAAgBT,EAAUU,aAAeV,EAAUW,KACnDC,EAC4C,mBAAvCZ,EAAUb,yBACb,6BACA,4BAEN,MAAMe,MACJ,2FACEO,EACA,SACAG,EACA,uDACwB,OAAvBT,EAA8B,OAASA,EAAqB,KAC9B,OAA9BC,EACG,OAASA,EACT,KACqB,OAAxBC,EAA+B,OAASA,EAAsB,IATjE,wIA0BJ,GARkD,mBAAvCL,EAAUb,2BACnBhG,EAAU6F,mBAAqBA,EAC/B7F,EAAUmG,0BAA4BA,GAMS,mBAAtCnG,EAAU4G,wBAAwC,CAC3D,GAA4C,mBAAjC5G,EAAU0H,mBACnB,MAAM,IAAIX,MACR,qHAIJ/G,EAAUuG,oBAAsBA,EAEhC,IAAImB,EAAqB1H,EAAU0H,mBAEnC1H,EAAU0H,mBAAqB,SAC7BjB,EACAJ,EACAsB,GAUA,IAAIC,EAAWvE,KAAKqD,4BAChBrD,KAAKsD,wBACLgB,EAEJD,EAAmB5G,KAAKuC,KAAMoD,EAAWJ,EAAWuB,IAIxD,OAAOf,E,+BA7GThB,EAAmBgC,8BAA+B,EAClD1B,EAA0B0B,8BAA+B,EACzDtB,EAAoBsB,8BAA+B","sources":["webpack://@reltio/remotes/../../node_modules/@material-ui/icons/FilterList.js","webpack://@reltio/remotes/../../node_modules/lodash.throttle/index.js","webpack://@reltio/remotes/../../node_modules/performance-now/lib/performance-now.js","webpack://@reltio/remotes/../../node_modules/raf/index.js","webpack://@reltio/remotes/../../node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\n\nvar _default = (0, _createSvgIcon.default)(_react.default.createElement(\"path\", {\n d: \"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z\"\n}), 'FilterList');\n\nexports.default = _default;","/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = throttle;\n","// Generated by CoffeeScript 1.12.2\n(function() {\n var getNanoSeconds, hrtime, loadTime, moduleLoadTime, nodeLoadTime, upTime;\n\n if ((typeof performance !== \"undefined\" && performance !== null) && performance.now) {\n module.exports = function() {\n return performance.now();\n };\n } else if ((typeof process !== \"undefined\" && process !== null) && process.hrtime) {\n module.exports = function() {\n return (getNanoSeconds() - nodeLoadTime) / 1e6;\n };\n hrtime = process.hrtime;\n getNanoSeconds = function() {\n var hr;\n hr = hrtime();\n return hr[0] * 1e9 + hr[1];\n };\n moduleLoadTime = getNanoSeconds();\n upTime = process.uptime() * 1e9;\n nodeLoadTime = moduleLoadTime - upTime;\n } else if (Date.now) {\n module.exports = function() {\n return Date.now() - loadTime;\n };\n loadTime = Date.now();\n } else {\n module.exports = function() {\n return new Date().getTime() - loadTime;\n };\n loadTime = new Date().getTime();\n }\n\n}).call(this);\n\n//# sourceMappingURL=performance-now.js.map\n","var now = require('performance-now')\n , root = typeof window === 'undefined' ? global : window\n , vendors = ['moz', 'webkit']\n , suffix = 'AnimationFrame'\n , raf = root['request' + suffix]\n , caf = root['cancel' + suffix] || root['cancelRequest' + suffix]\n\nfor(var i = 0; !raf && i < vendors.length; i++) {\n raf = root[vendors[i] + 'Request' + suffix]\n caf = root[vendors[i] + 'Cancel' + suffix]\n || root[vendors[i] + 'CancelRequest' + suffix]\n}\n\n// Some versions of FF have rAF but not cAF\nif(!raf || !caf) {\n var last = 0\n , id = 0\n , queue = []\n , frameDuration = 1000 / 60\n\n raf = function(callback) {\n if(queue.length === 0) {\n var _now = now()\n , next = Math.max(0, frameDuration - (_now - last))\n last = next + _now\n setTimeout(function() {\n var cp = queue.slice(0)\n // Clear queue here to prevent\n // callbacks from appending listeners\n // to the current frame's queue\n queue.length = 0\n for(var i = 0; i < cp.length; i++) {\n if(!cp[i].cancelled) {\n try{\n cp[i].callback(last)\n } catch(e) {\n setTimeout(function() { throw e }, 0)\n }\n }\n }\n }, Math.round(next))\n }\n queue.push({\n handle: ++id,\n callback: callback,\n cancelled: false\n })\n return id\n }\n\n caf = function(handle) {\n for(var i = 0; i < queue.length; i++) {\n if(queue[i].handle === handle) {\n queue[i].cancelled = true\n }\n }\n }\n}\n\nmodule.exports = function(fn) {\n // Wrap in a new function to prevent\n // `cancel` potentially being assigned\n // to the native rAF function\n return raf.call(root, fn)\n}\nmodule.exports.cancel = function() {\n caf.apply(root, arguments)\n}\nmodule.exports.polyfill = function(object) {\n if (!object) {\n object = root;\n }\n object.requestAnimationFrame = raf\n object.cancelAnimationFrame = caf\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nfunction componentWillMount() {\n // Call this.constructor.gDSFP to support sub-classes.\n var state = this.constructor.getDerivedStateFromProps(this.props, this.state);\n if (state !== null && state !== undefined) {\n this.setState(state);\n }\n}\n\nfunction componentWillReceiveProps(nextProps) {\n // Call this.constructor.gDSFP to support sub-classes.\n // Use the setState() updater to ensure state isn't stale in certain edge cases.\n function updater(prevState) {\n var state = this.constructor.getDerivedStateFromProps(nextProps, prevState);\n return state !== null && state !== undefined ? state : null;\n }\n // Binding \"this\" is important for shallow renderer support.\n this.setState(updater.bind(this));\n}\n\nfunction componentWillUpdate(nextProps, nextState) {\n try {\n var prevProps = this.props;\n var prevState = this.state;\n this.props = nextProps;\n this.state = nextState;\n this.__reactInternalSnapshotFlag = true;\n this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate(\n prevProps,\n prevState\n );\n } finally {\n this.props = prevProps;\n this.state = prevState;\n }\n}\n\n// React may warn about cWM/cWRP/cWU methods being deprecated.\n// Add a flag to suppress these warnings for this special case.\ncomponentWillMount.__suppressDeprecationWarning = true;\ncomponentWillReceiveProps.__suppressDeprecationWarning = true;\ncomponentWillUpdate.__suppressDeprecationWarning = true;\n\nfunction polyfill(Component) {\n var prototype = Component.prototype;\n\n if (!prototype || !prototype.isReactComponent) {\n throw new Error('Can only polyfill class components');\n }\n\n if (\n typeof Component.getDerivedStateFromProps !== 'function' &&\n typeof prototype.getSnapshotBeforeUpdate !== 'function'\n ) {\n return Component;\n }\n\n // If new component APIs are defined, \"unsafe\" lifecycles won't be called.\n // Error if any of these lifecycles are present,\n // Because they would work differently between older and newer (16.3+) versions of React.\n var foundWillMountName = null;\n var foundWillReceivePropsName = null;\n var foundWillUpdateName = null;\n if (typeof prototype.componentWillMount === 'function') {\n foundWillMountName = 'componentWillMount';\n } else if (typeof prototype.UNSAFE_componentWillMount === 'function') {\n foundWillMountName = 'UNSAFE_componentWillMount';\n }\n if (typeof prototype.componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'componentWillReceiveProps';\n } else if (typeof prototype.UNSAFE_componentWillReceiveProps === 'function') {\n foundWillReceivePropsName = 'UNSAFE_componentWillReceiveProps';\n }\n if (typeof prototype.componentWillUpdate === 'function') {\n foundWillUpdateName = 'componentWillUpdate';\n } else if (typeof prototype.UNSAFE_componentWillUpdate === 'function') {\n foundWillUpdateName = 'UNSAFE_componentWillUpdate';\n }\n if (\n foundWillMountName !== null ||\n foundWillReceivePropsName !== null ||\n foundWillUpdateName !== null\n ) {\n var componentName = Component.displayName || Component.name;\n var newApiName =\n typeof Component.getDerivedStateFromProps === 'function'\n ? 'getDerivedStateFromProps()'\n : 'getSnapshotBeforeUpdate()';\n\n throw Error(\n 'Unsafe legacy lifecycles will not be called for components using new component APIs.\\n\\n' +\n componentName +\n ' uses ' +\n newApiName +\n ' but also contains the following legacy lifecycles:' +\n (foundWillMountName !== null ? '\\n ' + foundWillMountName : '') +\n (foundWillReceivePropsName !== null\n ? '\\n ' + foundWillReceivePropsName\n : '') +\n (foundWillUpdateName !== null ? '\\n ' + foundWillUpdateName : '') +\n '\\n\\nThe above lifecycles should be removed. Learn more about this warning here:\\n' +\n 'https://fb.me/react-async-component-lifecycle-hooks'\n );\n }\n\n // React <= 16.2 does not support static getDerivedStateFromProps.\n // As a workaround, use cWM and cWRP to invoke the new static lifecycle.\n // Newer versions of React will ignore these lifecycles if gDSFP exists.\n if (typeof Component.getDerivedStateFromProps === 'function') {\n prototype.componentWillMount = componentWillMount;\n prototype.componentWillReceiveProps = componentWillReceiveProps;\n }\n\n // React <= 16.2 does not support getSnapshotBeforeUpdate.\n // As a workaround, use cWU to invoke the new lifecycle.\n // Newer versions of React will ignore that lifecycle if gSBU exists.\n if (typeof prototype.getSnapshotBeforeUpdate === 'function') {\n if (typeof prototype.componentDidUpdate !== 'function') {\n throw new Error(\n 'Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype'\n );\n }\n\n prototype.componentWillUpdate = componentWillUpdate;\n\n var componentDidUpdate = prototype.componentDidUpdate;\n\n prototype.componentDidUpdate = function componentDidUpdatePolyfill(\n prevProps,\n prevState,\n maybeSnapshot\n ) {\n // 16.3+ will not execute our will-update method;\n // It will pass a snapshot value to did-update though.\n // Older versions will require our polyfilled will-update value.\n // We need to handle both cases, but can't just check for the presence of \"maybeSnapshot\",\n // Because for <= 15.x versions this might be a \"prevContext\" object.\n // We also can't just check \"__reactInternalSnapshot\",\n // Because get-snapshot might return a falsy value.\n // So check for the explicit __reactInternalSnapshotFlag flag to determine behavior.\n var snapshot = this.__reactInternalSnapshotFlag\n ? this.__reactInternalSnapshot\n : maybeSnapshot;\n\n componentDidUpdate.call(this, prevProps, prevState, snapshot);\n };\n }\n\n return Component;\n}\n\nexport { polyfill };\n"],"names":["_interopRequireDefault","exports","_react","_default","default","createElement","d","FUNC_ERROR_TEXT","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","freeGlobal","g","Object","freeSelf","self","root","Function","objectToString","prototype","toString","nativeMax","Math","max","nativeMin","min","now","Date","isObject","value","type","toNumber","isObjectLike","call","isSymbol","other","valueOf","replace","isBinary","test","slice","module","func","wait","options","leading","trailing","TypeError","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","maxing","invokeFunc","time","args","thisArg","undefined","apply","leadingEdge","setTimeout","timerExpired","shouldInvoke","timeSinceLastCall","trailingEdge","remainingWait","debounced","isInvoking","arguments","this","cancel","clearTimeout","flush","debounce","getNanoSeconds","hrtime","loadTime","moduleLoadTime","nodeLoadTime","upTime","performance","process","hr","uptime","getTime","window","vendors","suffix","raf","caf","i","length","last","id","queue","callback","_now","next","cp","cancelled","e","round","push","handle","fn","polyfill","object","requestAnimationFrame","cancelAnimationFrame","componentWillMount","state","constructor","getDerivedStateFromProps","props","setState","componentWillReceiveProps","nextProps","prevState","bind","componentWillUpdate","nextState","prevProps","__reactInternalSnapshotFlag","__reactInternalSnapshot","getSnapshotBeforeUpdate","Component","isReactComponent","Error","foundWillMountName","foundWillReceivePropsName","foundWillUpdateName","UNSAFE_componentWillMount","UNSAFE_componentWillReceiveProps","UNSAFE_componentWillUpdate","componentName","displayName","name","newApiName","componentDidUpdate","maybeSnapshot","snapshot","__suppressDeprecationWarning"],"sourceRoot":""}
|
package/6880.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[6880],{32528:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(13688),o=n(48852);const a=e=>t=>(0,o.l)(r.X,e,t)},68439:(e,t,n)=>{n.d(t,{Z:()=>m});var r=n(24328),o=n.n(r),a=n(52730),l=n(71153),i=n.n(l),s=n(94079),c=n(67958),u=n(49885),d=n(95613);const p=(0,n(79692).Z)({"entityType-overflow":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",marginRight:"12px",borderRadius:"2px",flexShrink:0},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",marginRight:"16px",flexShrink:0}}),m=e=>{let{entity:t,className:n,size:r="small"}=e;const l=p(),m=(0,a.useSelector)(u.ZP.selectors.getMetadata),h=t.type,f=(0,c.nt9)(m,h)||{},g=(0,c.VD3)(m,f,"typeColor")||c.rSc.palette.primary.main,b=(0,c.jFi)(m,t);return o().createElement(d.Z,{value:b,placement:"top"},o().createElement(s.Typography,{style:{backgroundColor:g,color:c.P6Y.Colors.getColor(g)?"#FFFFFF":"#212121"},className:i()(l[`entityType-${r}`],l["entityType-overflow"],n),component:"div"},b))}},64459:(e,t,n)=>{n.d(t,{Z:()=>b});var r=n(24328),o=n.n(r),a=n(71153),l=n.n(a),i=n(52730),s=n(17440),c=n(94079),u=n(87918),d=n.n(u),p=n(67958),m=n(49885),h=n(53180),f=n(68439);const g=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"0px 1px 0px rgba(0, 0, 0, 0.12)",marginBottom:"1px","&:after":{content:'""',minHeight:"inherit",fontSize:0}},inactive:{background:e.inactiveBackground},profileIcon:{marginRight:"12px"},imageProfileIcon:{width:"48px",height:"48px"},profileInfo:{display:"flex",flexDirection:"column",flex:"1 1 50%"},badge:{},label:{lineHeight:"1.2",letterSpacing:"0.25px",color:e.palette.text.primary,wordBreak:"break-word","&+ $specialInfo":{marginTop:"4px"}},secondaryLabel:{display:"inline-flex",color:e.palette.text.primary,marginTop:"2px",lineHeight:"16px",fontSize:"14px",fontWeight:400,"&+ $businessCard":{marginLeft:"12px"}},businessCard:{color:e.palette.text.secondary,display:"inline-flex",fontSize:"14px",marginTop:"4px",lineHeight:"1.2"},specialInfo:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",width:"100%",marginTop:"8px"},entityType:{display:"flex",flexWrap:"wrap"},entityId:{fontSize:"13px",color:e.palette.text.secondary,whiteSpace:"nowrap",cursor:"pointer","&:hover":{textDecoration:"underline"}}}))),b=e=>{let{className:t,entity:n,children:a,classes:u,renderLabel:b=s.identity}=e;const y=g({classes:u}),v=(0,i.useSelector)(m.ZP.selectors.getMetadata),x=(0,i.useSelector)(m.ZP.selectors.getShowEntityId),E=(0,r.useCallback)((()=>{navigator.clipboard.writeText((0,p.BTI)(n))}),[n]);if((0,s.isNil)(n))return null;const k=(0,p.idV)(n.label),w=n.secondaryLabel,C=(0,p.ptG)(v,n),S=(0,p.Fn9)(n),O=n.uri,P=(0,p.BTI)(n);return o().createElement("div",{className:l()(y.profileBandWrapper,t)},o().createElement("div",{className:l()(y.profileBand,{[y.inactive]:!S}),"data-entity-uri":O},o().createElement(h.Z,{key:n.uri,entity:n,avatarClassName:y.profileIcon,imageClassName:y.imageProfileIcon}),o().createElement("div",{className:y.profileInfo},o().createElement("div",null,o().createElement(c.Typography,{variant:"h6",className:y.label},b(k)),w&&o().createElement(c.Typography,{variant:"subtitle2",className:y.secondaryLabel},w),C&&o().createElement(c.Typography,{variant:"subtitle1",className:y.businessCard},C)),o().createElement("div",{className:y.specialInfo},o().createElement("div",{className:y.entityType},o().createElement(f.Z,{entity:n,size:"medium",className:y.badge}),!(0,p.ZiX)(O)&&x&&o().createElement(c.Tooltip,{title:d().text("Copy to clipboard")},o().createElement(c.Typography,{display:"inline",variant:"body2",className:y.entityId,onClick:E},d().text("Entity ID"),": ",P))))),a&&o().createElement("div",null,a)))}},79618:(e,t,n)=>{n.d(t,{a:()=>Z});var r=n(24328),o=n.n(r),a=n(94079),l=n(67766),i=n(42767),s=n(67958),c=n(71153),u=n.n(c),d=n(17440),p=n(87918),m=n.n(p),h=n(79468),f=n(83348),g=n(8818);const b=(0,n(79692).Z)({container:{display:"flex",alignItems:"center"},link:{whiteSpace:"nowrap",marginRight:"9px"}}),y=(0,f.Z)(a.Link),v=e=>{var t;let{className:n,total:a=0,onPrev:c,onNext:p,onSearchResultsClick:f,isPrevDisabled:v,isNextDisabled:x}=e;const E=b(),k=(0,r.useContext)(h.T),{OPEN_RESULTS:w,SEARCH_RESULT:C,SEARCH_RESULTS:S,NEXT_PROFILE:O,PREVIOUS_PROFILE:P}=(0,d.mergeRight)({OPEN_RESULTS:m().text("Go to search results"),SEARCH_RESULT:m().text("Search result"),SEARCH_RESULTS:m().text("Search results"),PREVIOUS_PROFILE:m().text("Go to previous profile"),NEXT_PROFILE:m().text("Go to next profile")},null!==(t=null==k?void 0:k.profileBand)&&void 0!==t?t:{});return o().createElement("div",{className:u()(E.container,n)},o().createElement(y,{className:E.link,component:"button",variant:"caption",onClick:f,underline:"none",tooltipTitle:w},(0,s.k7L)(a,1e6)," ",1===a?C:S),o().createElement(g.k,{size:"L",icon:l.Z,tooltipTitle:P,onClick:c,disabled:v,showForDisabled:!0}),o().createElement(g.k,{size:"L",icon:i.Z,tooltipTitle:O,onClick:p,disabled:x,showForDisabled:!0}))};var x=n(52730),E=n(49885),k=n(94622),w=n(47898),C=n(54198),S=n(85229);function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){P(e,t,n[t])}))}return e}function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class T{constructor(e){var t=this;let{data:{query:n,sortField:r,sortOrder:o},tenant:a,searchTenant:l,apiPath:i,dtssPath:c,globalSearchRequestOptions:u}=e;this.query=void 0,this.sortField=void 0,this.sortOrder=void 0,this.tenant=void 0,this.searchTenant=void 0,this.apiPath=void 0,this.dtssPath=void 0,this.globalSearchRequestOptions=void 0,this.isDT=()=>this.tenant!==this.searchTenant,this.getQueryFilter=()=>({rawFilter:this.query}),this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[t.getQueryFilter(),...e],o=O({},t.globalSearchRequestOptions,{sort:t.sortField,order:t.sortOrder,select:"uri,label,type",scoreEnabled:!1},n);return t.isDT()?(0,s.uqV)({filters:r,options:o,customerTenant:t.tenant,dataTenant:t.searchTenant,dtssPath:t.dtssPath}):(0,s.ZOr)(r,o)},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"uri",values:[e]}],{offset:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{offset:t,max:e}),this.requestTotal=()=>{const e=[this.getQueryFilter()],t=this.globalSearchRequestOptions;return(this.isDT()?(0,s.J$m)({filters:e,options:t,customerTenant:this.tenant,dataTenant:this.searchTenant,dtssPath:this.dtssPath}):(0,s.j_Q)(e,t)).then((e=>e.total))},this.query=n,this.sortField=r,this.sortOrder=o,this.tenant=a,this.searchTenant=l,this.apiPath=i,this.dtssPath=c,this.globalSearchRequestOptions=u}}function N(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){j(e,t,n[t])}))}return e}function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class R{constructor(e){var t=this;let{data:n,tenant:r,apiPath:o}=e;this.searchBody=void 0,this.tenant=void 0,this.apiPath=void 0,this.getEntities=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=[{rawFilter:t.searchBody.filter},...e];return(0,s.P2h)({apiPath:t.apiPath,tenant:t.tenant,searchBody:N({},t.searchBody,{filter:e.length?(0,s.Uqd)()(r):t.searchBody.filter}),options:n})},this.checkEntity=e=>this.getEntities([{filter:"equals",fieldName:"id",values:[(0,s.BTI)({uri:e})]}],{from:0,max:1}).then((t=>t&&t.length>0&&t[0].uri===e)),this.requestEntities=(e,t)=>this.getEntities([],{from:t,max:e}),this.requestTotal=()=>(0,s.dED)({apiPath:this.apiPath,tenant:this.tenant,searchBody:this.searchBody}).then((e=>e.count)),this.searchBody=n,this.tenant=r,this.apiPath=o}}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){U(e,t,n[t])}))}return e}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const L=(e,t)=>(0,d.pipe)((0,d.map)((0,d.prop)("uri")),(0,d.reject)((e=>t.includes(e))))(e),D=()=>{const e=(0,S._)(),t=(0,S._)(),n=(0,S._)(),{uri:o,index:a,total:l,tenant:i,cache:c}=(0,x.useSelector)(E.ZP.selectors.getSearchNavigationData)||{},{type:u,data:d}=(0,x.useSelector)(E.ZP.selectors.getSearchProviderData)||{},p=(0,x.useSelector)(E.ZP.selectors.getTenant),m=(0,x.useSelector)(E.ZP.selectors.getApiPath),h=(0,x.useSelector)(E.ZP.selectors.getDtssPath),f=(0,x.useSelector)((e=>E.ZP.selectors.getGlobalSearchRequestOptions(e,["ovOnly"]))),{updateEntitiesNavigationLoadingState:g}=(0,k.M)(),b=(0,r.useContext)(w.m),y=(0,x.useDispatch)(),[v,O]=(0,r.useState)(!1),P=(0,r.useMemo)((()=>((e,t)=>{switch(e){case"search":return new T(t);case"graphsearch":return new R(t)}})(u,{data:d,tenant:p,searchTenant:i,apiPath:m,dtssPath:h,globalSearchRequestOptions:f})),[u,d,p,i,m,h,f]),N=(0,r.useCallback)((e=>{y(E.yC.actions.updateSearchNavigationDataFields(e))}),[y]),j=(0,r.useCallback)((e=>{const t=p!==i?(0,s.wwR)({uri:e,dataTenant:i}):e;y(E.ui.actions.openEntity({uri:t,viewId:b,source:"navigation"}))}),[y,b,p,i]),U=(0,r.useCallback)((()=>{y(E.ui.actions.openPerspective({perspectiveId:u,viewId:b}))}),[y,u,b]);(0,r.useEffect)((()=>{a>=l?N({index:l-1}):a<0&&N({index:0})}),[l,a,N]);const D=(0,C.u)();(0,r.useEffect)((()=>{const e=D(((e,t)=>{switch(e.type){case E.yC.constants.UPDATE_SEARCH_NAVIGATION_DATA_ON_MERGE:{const n=E.ZP.selectors.getSearchNavigationData(t);n&&N(((e,t)=>{const{winnerUri:n,losersUris:r=[]}=t,o=((e,t)=>{let{uri:n,index:r,total:o,cache:a}=e;if(t&&t!==n){if(a&&a.includes(n)){a=[...a];const e=a.indexOf(t);let l=a.indexOf(n);e>=0&&(a.splice(e,1),o--,e<l&&r--),l=a.indexOf(n),a.splice(l,1,t)}return n=t,I({},e,{uri:n,index:r,cache:a,total:o})}return e})(e,n);return((e,t)=>{const{cache:n=[],index:r,total:o,uri:a}=e,l=t.filter((e=>n.includes(e)));if(0===l.length)return e;const i=o-l.length,s=n.indexOf(a);let c=r;for(const e of l)n.indexOf(e)<s&&c--;const u=n.filter((e=>!l.includes(e)));return I({},e,{cache:u,index:c,total:i})})(o,r)})(n,e.payload));break}}}));return()=>e()}),[D,N]);const Z=(0,r.useCallback)(((e,r,o)=>{O(!0),t(P.requestTotal()).then((e=>N({total:e})));const a=o+1;return n(P.requestEntities(15,a)).then((t=>{if(t){if(t.length){const n=L(t,e);if(n.length>0)return N({cache:e.concat(n),uri:n[0],index:a+t.length-n.length}),void j(n[0]);if(o+t.length<r-1)return Z(e,r-t.length,o+t.length)}N({index:a})}})).finally((()=>{O(!1)}))}),[P,N,j]),M=(0,r.useCallback)(((e,r)=>{O(!0),t(P.requestTotal()).then((e=>N({total:e})));const o=r-1,a=Math.max(0,r-15),l=15+Math.min(0,r-15);return n(P.requestEntities(l,a)).then((t=>{if(t){if(t.length){const n=L(t,e);if(n.length>0)return N({cache:n.concat(e),uri:n[n.length-1],index:o-(t.length-n.length)}),void j(n[n.length-1]);if(r-t.length>0)return M(e,r-t.length)}N({index:0})}})).finally((()=>{O(!1)}))}),[P,N,j]),B=(0,r.useCallback)(((t,n,r,o)=>{if(n<t.length){const a=t[n];return O(!0),e(P.checkEntity(a)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),B(e,n,r-1,o)}N({index:o+1,uri:a,cache:t,total:r}),j(a)})).finally((()=>{O(!1)}))}if(!(o>=r-1))return Z(t,r,o);N({cache:t,total:r,index:r-1})}),[P,N,j,Z]),z=(0,r.useCallback)(((t,n,r,o)=>{if(n>-1){const a=t[n];return O(!0),e(P.checkEntity(a)).then((e=>{if(!e){const e=[...t];return e.splice(n,1),z(e,n-1,r-1,o-1)}N({index:o-1,uri:a,cache:t,total:r}),j(a)})).finally((()=>{O(!1)}))}if(!(o<=0))return M(t,o);N({index:0,cache:t,total:r})}),[P,N,j,M]),F=(0,r.useCallback)((()=>{if(c&&o){const e=c.indexOf(o)-1;z(c,e,l,a)}}),[z,c,o,l,a]),H=(0,r.useCallback)((()=>{if(c&&o){const e=c.indexOf(o)+1;B(c,e,l,a)}}),[B,c,o,l,a]);return(0,r.useEffect)((()=>{g(v)}),[g,v]),(0,r.useEffect)((()=>()=>g(!1)),[]),{total:l,onPrev:F,onNext:H,onSearchResultsClick:U,isPrevDisabled:v||a<=0,isNextDisabled:v||a>=l-1}},Z=e=>{let{className:t}=e;const{total:n,onPrev:r,onNext:a,onSearchResultsClick:l,isPrevDisabled:i,isNextDisabled:c}=D();return(()=>{const{cache:e}=(0,x.useSelector)(E.ZP.selectors.getSearchNavigationData)||{},t=(0,x.useSelector)(E.ZP.selectors.getMode),n=(0,x.useSelector)(E.ZP.selectors.getEntity);return(0,s.uzs)(t)&&(null==e?void 0:e.includes(null==n?void 0:n.uri))})()?o().createElement(v,{className:t,total:n,onPrev:r,onNext:a,onSearchResultsClick:l,isPrevDisabled:i,isNextDisabled:c}):null}},39827:(e,t,n)=>{n.d(t,{G:()=>m});var r=n(24328),o=n.n(r),a=n(71153),l=n.n(a),i=n(8818),s=n(79692),c=n(41128);const u=(0,s.Z)((e=>({container:{display:"flex",flexDirection:"column",flexShrink:0,width:"64px",paddingTop:"8px",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)"},active:{backgroundColor:(0,c.U1)(e.palette.primary.main,.12),color:e.palette.primary.main,"&:after":{content:'""',position:"absolute",height:"42px",width:"3px",backgroundColor:e.palette.primary.main,left:"-8px",borderRadius:"0 6px 6px 0"}},buttonWrapper:{position:"relative",width:"48px",height:"44px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"6px",margin:"2px 8px",color:e.palette.text.secondary}})));function d(){return d=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},d.apply(this,arguments)}function p(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const m=e=>{let{buttonsProps:t,activeIndexId:n,className:r,onButtonClick:a,classes:s={}}=e;const c=u(),{active:m,buttonWrapper:h}=s,f=p(s,["active","buttonWrapper"]);return o().createElement("div",{className:l()(c.container,r)},t.map((e=>{let{id:t}=e,r=p(e,["id"]);return o().createElement(i.k,d({},r,{classes:f,size:"S",key:t,className:l()({[l()(c.active,m)]:n===t},c.buttonWrapper,h),onClick:()=>a(t),"data-reltio-id":`reltio-profile-right-side-button-${t}`}))})))}},3409:(e,t,n)=>{n.d(t,{Z:()=>p});var r=n(24328),o=n.n(r),a=n(52730),l=n(49885),i=n(94079),s=n(17440),c=n(87918),u=n.n(c);const d=(0,n(79692).Z)({root:{display:"flex",alignItems:"flex-start"},slice:{fontWeight:500},cancelButton:{width:"88px",flexShrink:0,marginLeft:"15px"}}),p=()=>{const e=d(),t=(0,a.useSelector)(l.ZP.selectors.getHistoryEvent),n=(0,a.useDispatch)(),r=(0,s.pipe)(l.N5.history.actions.clearHistoryEvent,n);return t?o().createElement("div",{className:e.root},o().createElement(i.Typography,{component:"div"},u().text("You are viewing a historic slice:")," ",o().createElement("span",{className:e.slice},u().date(t.aStamp,"llll"))),o().createElement(i.Button,{className:e.cancelButton,variant:"contained",color:"primary",onClick:r},u().text("Cancel"))):null}},54198:(e,t,n)=>{n.d(t,{G:()=>l,u:()=>i});var r=n(24328),o=n.n(r);const a=(0,r.createContext)(null);a.displayName="ActionsHookContext";const l=e=>{let{children:t,hook:n}=e;return o().createElement(a.Provider,{value:n},t)},i=()=>{const e=(0,r.useContext)(a);if(!e)throw new Error("ActionsHookContext must be provided");return e}},94622:(e,t,n)=>{n.d(t,{f:()=>u,M:()=>d});var r=n(24328),o=n.n(r),a=n(31276);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){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 s=o().createContext({isLoading:!1,updateEntityLoadingState:a.ZT,updateEntitiesNavigationLoadingState:a.ZT,resetLoadingState:a.ZT}),c={entitiesNavigation:!1,entity:!1},u=e=>{let{children:t}=e;const n=(()=>{const[e,t]=(0,r.useState)(c),n=(0,r.useCallback)((e=>{t((t=>l({},t,{entity:e})))}),[]),o=(0,r.useCallback)((e=>{t((t=>l({},t,{entitiesNavigation:e})))}),[]),a=(0,r.useCallback)((()=>{t(c)}),[]);return{isLoading:Object.values(e).includes(!0),updateEntityLoadingState:n,updateEntitiesNavigationLoadingState:o,resetLoadingState:a}})();return o().createElement(s.Provider,{value:n},t)},d=()=>(0,r.useContext)(s)},79468:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(24328);const o=n.n(r)().createContext({profileBand:{}});o.displayName="LabelsContext"},7718:(e,t,n)=>{n.d(t,{C:()=>h});var r=n(24328),o=n(52730),a=n(17440),l=n(67958),i=n(49885);function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){c(e,t,n[t])}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=(e,t)=>t.filter((t=>t.replyId!==e)),d=(e,t)=>{const n=e.replies.findIndex((e=>{let{replyId:n}=e;return n===t.replyId})),r=[...e.replies];return r[n]=t,r},p=[],m=e=>console.error("Collaboration error",e),h=e=>{let{objectIds:t=p,objectTypes:n,enabled:c=!0}=e;const h=(0,o.useSelector)(i.ZP.selectors.getEntity),f=(0,o.useSelector)(i.ZP.selectors.getTenant),g=(0,o.useSelector)(i.ZP.selectors.getCollaborationPath),b=(0,o.useSelector)(i.ZP.selectors.isCollaborationEnabled)&&c,[y,v]=(0,r.useState)(null),[x,E]=(0,r.useState)([]),[k,w]=(0,r.useState)(null),[C,S]=(0,r.useState)(null),[O,P]=(0,r.useState)(!1),[T,N]=(0,r.useState)(!1),[j,R]=(0,r.useState)({}),I=(0,r.useCallback)((e=>{w((t=>s({},t,e)))}),[]),U=null==h?void 0:h.uri,L=(0,r.useCallback)((function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(b&&U&&!(0,l.ZiX)(U)){const n=e=>{console.warn("Collaboration error",e),w(null)};(0,a.pipe)(l.$oF,(0,a.andThen)((0,a.map)((0,a.props)(["objectId","comments"]))),(0,a.andThen)(a.fromPairs),(0,a.andThen)(t?w:I),(0,a.otherwise)(n))({uris:e,tenant:f,collaborationPath:g})}else w(null)}),[I,g,U,b,f]);(0,r.useEffect)((()=>{L(t,!0)}),[t,L]);const D=(0,r.useCallback)(((e,t)=>{(0,l.liG)({collaborationPath:g,tenant:f,relatedObjectUri:e,pageToken:t}).then((e=>{let{items:n,nextPageToken:r}=e;E((e=>t?(0,a.uniqBy)((0,a.prop)("commentId"),[...e,...n]):n)),v(r)})).catch(m)}),[g,f]),Z=(0,r.useCallback)((e=>{N(!0),(0,l.d7q)({collaborationPath:g,tenant:f,commentId:e}).then(S).catch(m).finally((()=>N(!1)))}),[g,f]),M=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:o,relatedObjectUris:a}=e;P(!0);const i={objectId:o,content:t,relatedObjectUris:a,objectType:r,visibility:"public",namedUsers:n,permanentLink:`${window.location.href}&commentId=${encodeURIComponent("{commentId}")}`};return(0,l.Yrx)({collaborationPath:g,tenant:f,data:i}).then((e=>{let[t]=e;return((e,t)=>{S(e),w((n=>s({},n,{[t]:[...n[t]||[],{commentId:e.commentId,replies:0,status:"open"}]}))),E((t=>[e,...t]))})(t,o)})).catch(m).finally((()=>P(!1)))}),[g,f]),B=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,objectType:r,uri:o,relatedObjectUris:i,commentId:c,replies:u}=e;P(!0);const d={objectId:o,content:t,relatedObjectUris:i,objectType:r,visibility:"public",namedUsers:n,commentId:c,replies:u};return(0,l.uAg)({collaborationPath:g,tenant:f,data:d}).then((e=>(e=>{S(e),E((0,a.map)((0,a.when)((0,a.propEq)("commentId",e.commentId),(0,a.always)(e))))})(s({},e,{replies:u})))).catch(m).finally((()=>P(!1)))}),[g,f]),z=(0,r.useCallback)((e=>{let{uri:t,commentId:n}=e;P(!0),(0,l.YFy)({collaborationPath:g,tenant:f,commentId:n}).then((()=>((e,t)=>{S(null),w((n=>{const r=n[t]||[];return s({},n,{[t]:r.filter((t=>t.commentId!==e))})})),E((t=>t.filter((t=>t.commentId!==e))))})(n,t))).catch(m).finally((()=>P(!1)))}),[g,f]),F=(0,r.useCallback)(((e,t,n,r)=>{const o="resolve"===e.action?"resolved":"open",{replyId:a}=e;S("resolved"===o?e=>{if(e)return null}:t=>{if(t)return s({},t,{replies:r?u(a,t.replies):[...t.replies,e]})}),w((e=>s({},e,{[t]:(e[t]||[]).map((e=>e.commentId===n?s({},e,{status:o,replies:r?e.replies-1:e.replies+1}):e))}))),E((t=>t.map((t=>t.commentId===n?s({},t,{status:o,replies:r?u(e.replyId,t.replies):[...t.replies,e]}):t))))}),[]),H=(0,r.useCallback)((e=>{let{uri:t,commentId:n,reply:r}=e;P(!0),(0,l.Mfr)({collaborationPath:g,tenant:f,commentId:n,replyId:r.replyId}).then((()=>F(r,t,n,!0))).catch(m).finally((()=>P(!1)))}),[g,F,f]),A=(0,r.useCallback)(((e,t)=>{S((t=>{if(t)return s({},t,{replies:d(t,e)})})),E((n=>n.map((n=>n.commentId===t?s({},n,{replies:d(n,e)}):n))))}),[]),$=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,commentId:r,replyId:o}=e;P(!0);const a={content:t,namedUsers:n};return(0,l.ufV)({collaborationPath:g,tenant:f,commentId:r,replyId:o,data:a}).then((e=>A(e,r))).catch(m).finally((()=>P(!1)))}),[g,f,A]),W=(0,r.useCallback)((e=>{let{content:t,namedUsers:n,commentId:r,action:o,uri:a}=e;P(!0);const i={content:t,action:o,namedUsers:n};return(0,l.PP2)({collaborationPath:g,tenant:f,commentId:r,data:i}).then((e=>{let[t]=e;return F(t,a,r)})).catch(m).finally((()=>P(!1)))}),[g,f,F]),G=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;W({content:"",namedUsers:[],commentId:t,action:"resolve",uri:n})}),[W]),q=(0,r.useCallback)((e=>{let{commentId:t,uri:n}=e;W({content:"",namedUsers:[],commentId:t,action:"reopen",uri:n})}),[W]);return{clearCurrentComment:(0,r.useCallback)((()=>{S(null)}),[]),comments:x,commentsMap:k,getCommentState:(e,t)=>(0,a.pathOr)({},[e,t],j),updateCommentState:(e,t,n)=>{R((r=>{const o=[e,t],l=(0,a.path)(o,r);return(0,a.assocPath)(o,(0,a.mergeRight)(l,n),r)}))},clearCommentState:(e,t)=>R((0,a.dissocPath)([e,t])),createComment:M,createReply:W,currentComment:C,deleteComment:z,editComment:B,getComment:Z,getComments:D,getCommentsCount:L,loading:T,objectTypes:n,pageToken:y,reOpenThread:q,resolveThread:G,sending:O,deleteReply:H,editReply:$}}},2804:(e,t,n)=>{n.d(t,{a:()=>o});var r=n(24328);const o=e=>{const[t,n]=(0,r.useState)(!1),[o,a]=(0,r.useState)({});return(0,r.useEffect)((()=>{e().then((e=>{a(e||{})})).then((e=>n(!0))).catch((e=>n(!0)))}),[]),{isLoaded:t,savedState:o}}},51386:(e,t,n)=>{n.r(t),n.d(t,{default:()=>bt});var r=n(24328),o=n.n(r),a=n(52730),l=n(8598),i=n(36138),s=n(44443),c=n(22664),u=n(47898),d=n(585),p=n(87918),m=n.n(p),h=n(49885),f=n(67958),g=n(71820),b=n(57730),y=n(20562),v=n(24605),x=n(2804),E=n(85965),k=n(44021),w=n(91515),C=n(54362),S=n(6674),O=n(63149),P=n(48017),T=n(96955),N=n(40715),j=n(66095),R=n(20982),I=n(39827),U=n(94079),L=n(80147),D=n(87685),Z=n(22385),M=n(79692);const B=(0,M.Z)({header:{display:"flex",flexDirection:"row",alignItems:"center",padding:"16px 12px",borderBottom:"1px solid rgba(0, 0, 0, 0.12);"},closeButton:{marginRight:"12px"}}),z=e=>{let{title:t,className:n,onClose:r,children:a}=e;const l=B();return o().createElement("div",{className:n},o().createElement("div",{className:l.header},o().createElement(Z.Z,{className:l.closeButton,icon:D.default,onClick:r}),t),a)};var F=n(99144),H=n(17440),A=n(31276),$=n(83401);let W;!function(e){e.Crosswalk="crosswalks",e.Source="source",e.Contributor="contributor"}(W||(W={}));const G=e=>(0,H.pipe)((0,H.map)((0,H.prop)("value")),H.sum)(e);function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){_(e,t,n[t])}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const V=e=>{let{data:t,width:n,height:o}=e;return(0,r.useMemo)((()=>{if(!n||!o)return{nodes:[],links:[]};const e=function(){let e=24,t=15,n=10,r=8,o=[1,1];function a(a){let{nodes:i,links:s}=a;const c={nodes:i,links:s};return function(e){let{nodes:t,links:n}=e;t.forEach((e=>{e.sourceLinks=[],e.targetLinks=[]})),n.forEach((e=>{e.source.sourceLinks.push(e),e.target.targetLinks.push(e)}))}(c),function(e){let{nodes:t}=e;t.forEach((e=>{e.value=Math.max(G(e.sourceLinks),G(e.targetLinks))}))}(c),function(t){let{nodes:n}=t;if(!n.length)return;let r,a=[n[0]],l=0;for(;a.length;)r=[],a.forEach((t=>{t.x=l,t.dx=e,t.targetLinks.forEach((e=>{r.indexOf(e.source)<0&&r.push(e.source)}))})),a=r,++l;if(n.forEach((e=>{e.x=l-1-e.x})),l>2){const t=(o[0]-2*e-22)/(l-2);n.forEach((n=>{n.sourceLinks&&0!=n.sourceLinks.length?n.x*=t:n.x=o[0]-e}))}else n[0].x=o[0]-e,n[1].x=n[0].x-22-e}(c),function(e){let{nodes:a,links:l}=e;const i=(0,H.pipe)((0,H.groupBy)((0,H.prop)("x")),H.toPairs,(0,H.sort)(((e,t)=>e[0]-t[0])),(0,H.map)((0,H.nth)(1)))(a);(function(){let e=(0,H.pipe)((0,H.map)((e=>(o[1]-(e.length-1)*r)/G(e))),(0,H.reduce)(Math.min,1/0))(i);const s=(0,H.pipe)((0,H.map)((e=>{var t;return e.value/((null===(t=e.targetLinks)||void 0===t?void 0:t.length)||1)})),(0,H.reduce)(Math.min,1/0))(a);e=Math.max(Math.min(e,t/s),n/s),i.forEach((t=>{t.forEach(((t,n)=>{t.y=n,t.dy=t.value*e}))})),l.forEach((t=>{t.dy=t.value*e}))})(),i.forEach((e=>{let t,n,a,l=0;const i=e.length;for(e.sort(((e,t)=>e.y-t.y)),a=0;a<i;++a)t=e[a],n=l-t.y,n>0&&(t.y+=n),l=t.y+t.dy+r;if(n=l-r-o[1],n>0)for(l=t.y-=n,a=i-2;a>=0;--a)t=e[a],n=t.y+t.dy+r-l,n>0&&(t.y-=n),l=t.y}));const s=(0,H.pipe)((0,H.map)((e=>(e.length-1)*r+(0,H.sum)((0,H.map)((e=>e.dy),e)))),(0,H.reduce)(Math.max,0))(i),c=(o[1]-s)/2;i.forEach((e=>{const{y:t,dy:n}=(0,H.last)(e),r=o[1]-(t+n);e.forEach((e=>{e.y+=r,c>0&&(e.y-=c)}))}))}(c),l(c),function(e){let{nodes:t}=e;(0,H.pipe)((0,H.groupBy)((0,H.prop)("x")),H.toPairs,(0,H.sort)(((e,t)=>t[0]-e[0])),(0,H.map)((0,H.nth)(1)))(t).forEach((e=>{(e=e.concat().sort(((e,t)=>e.y-t.y))).forEach(((t,n)=>{var o;if(null!==(o=t.sourceLinks)&&void 0!==o&&o.length){var a,l,i;const{target:o,ty:s,dy:c}=(0,H.last)(t.sourceLinks);let u=o.y+s+c-t.dy;(null===(a=e[n-1])||void 0===a?void 0:a.x)==t.x&&u<(null===(l=e[n-1])||void 0===l?void 0:l.y)+(null===(i=e[n-1])||void 0===i?void 0:i.dy)+r&&(u=e[n-1].y+e[n-1].dy+r),t.y>u&&(t.y=u)}}))}))}(c),c}function l(e){let{nodes:t}=e;(0,H.pipe)((0,H.groupBy)((0,H.prop)("x")),H.toPairs,(0,H.sort)(((e,t)=>e[0]-t[0])),(0,H.map)((0,H.nth)(1)))(t).forEach((e=>{e.forEach((e=>{var t,n;if(null!==(t=e.targetLinks)&&void 0!==t&&t.length){const t=[],n=e.targetLinks.map((e=>e.crosswalk.uuid)),r=[];e.targetLinks.forEach((function(e){-1==this.indexOf(e.source)&&this.push(e.source)}),r);for(let o=0;o<r.length;o++)for(let a=0;a<r[o].sourceLinks.length;a++){const l=n.indexOf(r[o].sourceLinks[a].crosswalk.uuid);-1!=l&&t.push(e.targetLinks[l])}e.targetLinks=t}if(null!==(n=e.sourceLinks)&&void 0!==n&&n.length){var r;const t=[];if(null!==(r=e.targetLinks)&&void 0!==r&&r.length){const n=e.sourceLinks.map((e=>e.crosswalk.uuid));for(let r=0;r<e.targetLinks.length;r++){const o=n.indexOf(e.targetLinks[r].crosswalk.uuid);-1!=o&&t.push(e.sourceLinks[o])}}const n=t.map((e=>e.crosswalk.uuid)),o=e.sourceLinks.filter((function(e){return-1==this.indexOf(e.crosswalk.uuid)}),n);if(e.sourceLinks=o.concat(t),t.length>0){let t=0;for(let e=0;e<o.length;e++)t+=o[e].dy;e.sizeForNewSources=t}}}))})),t.forEach((e=>{let t=0,n=e.sizeForNewSources||0;delete e.sizeForNewSources,e.sourceLinks.forEach((e=>{e.sy=t,t+=e.dy})),e.targetLinks.forEach((e=>{e.ty=n,n+=e.dy}))}))}return a.nodeWidth=()=>e,a.setNodeWidth=t=>(e=+t,a),a.nodePadding=()=>r,a.setNodePadding=e=>(r=+e,a),a.smallestNodeMaxHeight=()=>t,a.setSmallestNodeMaxHeight=e=>(t=+e,a),a.smallestNodeMinHeight=()=>n,a.setSmallestNodeMinHeight=e=>(n=+e,a),a.size=()=>o,a.setSize=e=>(o=e,a),a.update=e=>(l(e),e),a.link=()=>{let t=.5;function n(n){const r=!n.target.sourceLinks||0==n.target.sourceLinks.length,o=n.source.x+n.source.dx,a=n.target.x,l=(d=+(d=o),p=+(p=a),e=>d*(1-e)+p*e),i=l(t),s=l(1-t),c=n.source.y+n.sy-.13,u=n.target.y+n.ty-.13;var d,p;const m=r?"":`L${a+e},${u} L${a+e},${u+n.dy+.26}`;return c===u?`M${o},${c} \n L${a},${u}${m} \n L${a},${u+n.dy+.26} \n L${o},${c+n.dy+.26} Z`:`M${o},${c}\n C${i},${c} ${s},${u} ${a},${u}${m} \n L${a},${u+n.dy+.26} \n C${s},${u+n.dy+.26} ${i},${c+n.dy+.26} \n ${o},${c+n.dy+.26} Z`}return n.curvature=function(e){return arguments.length?(t=+e,n):t},n},a}().setNodeWidth(14).setNodePadding(20).setSize([o-2,n-2]),r=e.nodeWidth(),a=e.link(),l=(e=>{const t=e.nodes.map((e=>q({},e))),n=n=>{const r=e.nodes.indexOf(n);return t[r]},r=e.links.map((e=>q({},e,{source:n(e.source),target:n(e.target)})));return{nodes:t,links:r}})(t),{nodes:i,links:s}=e(l);return{nodes:i,links:s,nodeWidth:r,path:a}}),[t,o,n])};var X=n(94111),Y=n(12147),Q=n(98685);const K=(0,M.Z)({tooltipTitle:{fontWeight:500,fontSize:"16px",lineHeight:"24px",letterSpacing:"0.15px",marginBottom:"8px",userSelect:"none"},tooltipRow:{display:"flex",alignItems:"center",fontSize:"13px",lineHeight:"15px",fontWeight:"normal","&:not(:last-child)":{marginBottom:"4px"}},tooltipIcon:{fontSize:"18px",color:"rgba(0, 0, 0, 0.54)",marginRight:"8px"},node:{stroke:"#000000",strokeWidth:1,strokeOpacity:.38},rootNode:{transform:"rotate(90deg)",userSelect:"none",fontSize:"13px"}}),J=e=>{let{user:t,time:n,children:r}=e;const a=K(),l=o().createElement("div",null,o().createElement("span",{className:a.tooltipTitle},m().text("Merge details")),o().createElement("div",{className:a.tooltipRow},o().createElement(Y.Z,{className:a.tooltipIcon}),m().date(n,"L LTS")),o().createElement("div",{className:a.tooltipRow},o().createElement(Q.Z,{className:a.tooltipIcon}),t));return o().createElement(X.Z,{title:l,placement:"top"},r)},ee=e=>{let{node:t,nodeWidth:n,highlightEnabled:a,isColored:l}=e;const i=K(),[s,c]=(0,r.useState)(0),u=(0,r.useRef)(null),{x:d,y:p,name:m,label:h,targetLinks:f,sourceLinks:g,entity:{crosswalks:b=[],merges:y}}=t,[v]=b,{isDimmed:x,highlightCrosswalk:E,removeHighlight:k}=(0,O.pu)(v),w=(0,O.nX)(v),C=null!=b&&b.length?g[b.length-1].sy+g[b.length-1].dy:0;return(0,r.useEffect)((()=>{var e;const n=t.dy,r=(null==u||null===(e=u.current)||void 0===e?void 0:e.clientWidth)||0;n<r&&c(n/2-r/2)}),[]),o().createElement("g",{transform:`translate(${d},${p})`},"ROOT"===m?o().createElement("text",{dy:-5,dx:s,ref:u,className:i.rootNode},h||""):o().createElement(o().Fragment,null,o().createElement("rect",{height:C,width:14,className:i.node,fill:l?w:"#F0F0F0",key:"node-main",filter:a&&x?"url(#saturation)":null,opacity:a&&x?.19:1,onMouseEnter:()=>{a&&E()},onMouseLeave:()=>{a&&k()}}),!(null==f||!f.length)&&(()=>{const e=(0,H.pipe)((0,H.map)((0,H.prop)("source")),(0,H.groupBy)((0,H.prop)("time")))(f);return null==y?void 0:y.map(((t,r)=>{let{time:l,user:s}=t;const c=e[l];if(!c)return;const[u,d]=c.reduce(((e,t)=>{let{sourceLinks:n}=t;return[(0,H.min)((0,H.head)(n).ty,e[0]),(0,H.max)((0,H.last)(n).ty+(0,H.last)(n).dy,e[1])]}),[1/0,0]);return o().createElement(J,{user:s,time:l,key:"node-"+r},o().createElement("rect",{transform:`translate(0,${u})`,height:d-u,width:n,className:i.node,fillOpacity:.54,fill:"#F0F0F0",opacity:a&&x?.38:1}))}))})()))},te=e=>{let{link:t,path:n,highlightEnabled:r,isColored:a}=e;const{crosswalk:l}=t,i=(0,O.nX)(l),{isDimmed:s,highlightCrosswalk:c,removeHighlight:u}=(0,O.pu)(l);return o().createElement("path",{d:n,fill:a?i:"#F0F0F0",filter:r&&s?"url(#saturation)":null,opacity:r&&s?.19:1,onMouseEnter:()=>{r&&c()},onMouseLeave:()=>{r&&u()}})},ne=e=>{let{width:t,height:n,data:a,accentContributors:l}=e;const[i,s]=(0,r.useState)(!1),[c,u]=(0,r.useState)(0),[d,p]=(0,r.useState)(0),{links:m,nodes:h,nodeWidth:f,path:g}=V({data:a,width:t,height:n});(0,r.useEffect)((()=>{p(0),u(0)}),[t,n]);const b=(0,r.useMemo)((()=>h.map(((e,t)=>o().createElement(ee,{highlightEnabled:l,isColored:l,node:e,nodeWidth:f,key:`SankeyNode-${t}`})))),[h,l,f,t,n]),y=(0,r.useMemo)((()=>m.map(((e,t)=>o().createElement(te,{highlightEnabled:!l,isColored:!l,link:e,path:g(e),key:`SankeyLink-${t}`})))),[l,m,g]),v=e=>{const t=e.pageX,n=t-c;return u(t),n},x=()=>s(!1),E=i?"none":"auto",k=i?"move":"default";return o().createElement("svg",{width:t,height:n,cursor:k,onPointerDown:e=>{e.preventDefault(),s(!0),v(e)},onPointerMove:e=>{if(!i)return;const t=v(e);p(d+t)},onPointerUp:x,onPointerLeave:x},o().createElement("filter",{id:"saturation",filterUnits:"objectBoundingBox"},o().createElement("feColorMatrix",{id:"saturate",type:"saturate",values:"0.2"})),o().createElement("g",{transform:`translate(${d},${n-1}) rotate(-90)`,pointerEvents:E},o().createElement("g",null,y),o().createElement("g",null,b)))};function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const oe=(0,H.curry)(((e,t)=>!e||e.some((0,f.aFF)(t)))),ae=(0,H.curry)(((e,t)=>(0,H.evolve)({crosswalks:(0,H.filter)(oe(e)),merges:(0,H.map)((0,H.evolve)({losers:(0,H.map)(ae(e))}))},t))),le=e=>{let t=1;const n=(0,H.pipe)((0,H.evolve)({crosswalks:(0,H.map)((e=>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){re(e,t,n[t])}))}return e}({},e,{uuid:t++})))}),(0,H.evolve)({merges:(0,H.map)((0,H.evolve)({losers:(0,H.map)((e=>n(e)))}))}));return n(e)},ie=e=>{const t=[],n=[],r=(e,o,a)=>{const{crosswalks:l=[],merges:i=[],uri:s="",label:c}=e;t.push({entity:e,name:s,time:a,label:c});const u=t.length-1,d=(0,H.pipe)((0,H.chain)((e=>{let{losers:t,time:n}=e;return(0,H.pipe)((0,H.filter)((e=>{var t,n;return(null===(t=e.crosswalks)||void 0===t?void 0:t.length)||(null===(n=e.merges)||void 0===n?void 0:n.length)})),(0,H.chain)((e=>r(e,u,n))))(t)})),(0,H.concat)(l))(i);return-1!=o&&d.forEach((e=>n.push({source:t[u],target:t[o],value:10,crosswalk:e}))),d};r(e,-1,Date.now());const o=(0,H.pipe)((0,H.chain)((e=>{let{source:t,target:n}=e;return[t,n]})),H.uniq)(n);return{nodes:t.filter((e=>o.includes(e))),links:n}},se=(0,M.Z)((()=>({graph:{padding:"8px 0px",boxSizing:"border-box",height:"100%",width:"100%"}}))),ce=(0,r.memo)((e=>{let{crosswalkTree:t,entityLabel:n,visibleCrosswalks:r,accentContributors:a}=e;const l=se(),i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;return(0,H.pipe)(ae(n),le,ie)({uri:"ROOT",label:t,crosswalks:[],merges:[{time:Date.now(),losers:[e]}]})}(t,n,r);return o().createElement("div",{className:l.graph},o().createElement(s.Z,{refreshMode:"debounce",refreshRate:100,handleWidth:!0,handleHeight:!0},(e=>{let{width:t=0,height:n=200}=e;return o().createElement(ne,{width:t,height:n,data:i,accentContributors:a})})))}));var ue=n(90186),de=n(77243);function pe(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){me(e,t,n[t])}))}return e}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he=n(52017),fe=n(79769),ge=n(71153),be=n.n(ge),ye=n(65549);function ve(){return ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(this,arguments)}const xe=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["styles"]);return o().createElement("svg",ve({width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},n),o().createElement("defs",null,o().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:"svg1833706754a"})),o().createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},o().createElement("mask",{id:"svg1833706754b",fill:"#fff"},o().createElement("use",{xlinkHref:"#svg1833706754a"})),o().createElement("path",{fillOpacity:".54",fill:"#000",mask:"url(#svg1833706754b)",d:"M0 0h24v24H0z"})))};var Ee=n(22983),ke=n(72753),we=n(8818),Ce=n(51229);const Se=(0,M.Z)((e=>({root:{display:"flex",alignItems:"center",paddingRight:"8px","& button + button":{marginLeft:"4px"}},focusedIcon:e=>{let{isFocused:t}=e;return{width:28,height:28,color:t?"#000":"rgba(0, 0, 0, 0.54)",borderRadius:0}},title:{color:e.palette.text.secondary,paddingLeft:"6px",paddingRight:"2px"},uri:{lineHeight:"15px",color:e.palette.text.primary}})));function Oe(){return Oe=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},Oe.apply(this,arguments)}const Pe=e=>{let{contributorUri:t,focusable:n,contributorActions:r,onToggleFocus:a,isFocused:l}=e;const i=Se({isFocused:l});return o().createElement("div",{className:i.root},o().createElement(we.k,{size:"XXS",onClick:()=>a(),className:i.focusedIcon,icon:n&&ke.Z,disabled:!n,tooltipTitle:n&&m().text("Focus")}),o().createElement(U.Typography,{variant:"body2",className:i.uri},o().createElement("span",{className:i.title},m().text("Entity ID:")),(0,f.nIW)(t)),o().createElement(Ce.Z,null),r.map(((e,t)=>{let{show:n}=e,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["show"]);return n&&o().createElement(we.k,Oe({key:t,size:"XS",showForDisabled:!0},r))})))},Te=(0,M.Z)((()=>({root:e=>{let{contributorColor:t}=e;return{fontSize:"13px",position:"relative",display:"flex",flexDirection:"column",alignItems:"stretch",border:"1px solid rgba(0, 0, 0, 0.05)",paddingLeft:"8px","&:before":{content:'" "',borderLeft:`8px solid ${t}`,position:"absolute",top:-1,left:0,bottom:-1},"& > div + div":{marginTop:"1px"}}},editor:{padding:"0px 30px 0px 25px"}}))),Ne=e=>{let{className:t,contributorUri:n,accentContributor:l,crosswalksBySources:i,expandedSources:s,canUnmerge:c,disableAddCrosswalk:u,disableEditCrosswalk:d,disableDeleteCrosswalk:p,disableUnmergeContributor:g,onUnmerge:b,onEdit:y,onDelete:v,onAdd:x,onToggleSourceExpanded:E,onUnsubscribeContributor:k}=e;const w=l?(0,f.GtP)(n):"rgba(0, 0, 0, 0.38)",C=Te({contributorColor:w}),S=(0,a.useSelector)(h.ZP.selectors.getDataTenants),P=(0,r.useRef)(null),[T]=(0,O.RT)();(0,r.useEffect)((()=>{var e;l&&T&&((0,H.pipe)((0,H.find)((e=>{let{source:t}=e;return t===T.type})),(0,H.propOr)({},"crosswalksByTypes"),H.values,H.flatten)(i).some((e=>(0,f.aFF)(T,e)&&e!==T))&&(null==P||null===(e=P.current)||void 0===e||e.scrollIntoView({behavior:"smooth"})))}),[T]);const[N,j]=(0,r.useState)(!1),R=(0,H.pipe)((0,H.pluck)("crosswalksByTypes"),(0,H.find)((e=>e[de.Y.Simple].length||e[de.Y.Empty].length)),(0,H.props)([de.Y.Simple,de.Y.Empty]),H.flatten,H.head)(i),{toggleCrosswalkFocus:I,isFocused:U}=(0,O.BF)(R),L=(0,H.pipe)((0,H.pluck)("crosswalksByTypes"),(0,H.chain)(H.values),H.flatten)(i),D=(0,f.KMQ)(L,S),Z=[{icon:ye.Z,tooltipTitle:m().text("Add crosswalk"),onClick:()=>j(!0),disabled:u,show:!!R},{icon:xe,tooltipTitle:m().text("Unmerge"),onClick:()=>b(),disabled:g,show:c},{icon:Ee.Z,tooltipTitle:m().text("Unsubscribe"),onClick:()=>k({contributorUri:n,dataTenant:D,crosswalk:R}),disabled:g,show:c&&!!D}];return o().createElement("div",{ref:P,className:be()(C.root,t)},o().createElement(Pe,{contributorUri:n,focusable:l&&!!R,isFocused:l&&U,onToggleFocus:I,contributorActions:Z}),i.map((e=>{let{source:t,crosswalksByTypes:n}=e;return o().createElement(he.Z,{key:t,source:t,crosswalksByTypes:n,showCrosswalkColors:!l,crosswalksFocusEnabled:!l,expanded:null==s?void 0:s.includes(t),disableEditCrosswalk:d,disableDeleteCrosswalk:p,onEdit:y,onDelete:v,onToggleExpanded:()=>E(t)})})),N&&o().createElement(fe.Z,{className:C.editor,onAdd:e=>x({contributorCrosswalk:R,crosswalk:e}),onClose:()=>j(!1)}))},je=(0,M.Z)((()=>({table:{overflowY:"auto",overflowX:"hidden",paddingLeft:"16px",paddingRight:"6px"},tableRow:{"& + &":{marginTop:"10px"},margin:"auto",maxWidth:"448px"}})));function Re(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){Ie(e,t,n[t])}))}return e}function Ie(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ue=(0,r.memo)((e=>{let{accentContributors:t,entity:n,contributors:l,selectedAttributeTypes:i,onChangeVisibleCrosswalks:s,readOnly:c,canUnmerge:u,onAddCrosswalk:d=A.ZT,onEditCrosswalk:p=A.ZT,onDeleteCrosswalk:m=A.ZT,onUnmergeContributor:g=A.ZT,onUnsubscribeContributor:b=A.ZT}=e;const y=(0,a.useSelector)(h.ZP.selectors.getMetadata),v=(0,f.nt9)(y,n.type),x=je(),E=(0,r.useMemo)((()=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=e.crosswalks,o=(0,f.PUO)(e);return t.filter((e=>!(0,f.O27)(e.crosswalks))).map((t=>{let{uri:a,crosswalks:l}=t;return{contributorUri:a,crosswalksBySources:(0,H.pipe)((0,H.map)((e=>{if("relation"===e.ownerType){const t=o.find((0,f.aFF)(e));return t&&pe({ownerType:"relation"},t)}{const t=r.find((0,f.aFF)(e));return t&&pe({ownerType:"entity"},t)}})),(0,H.filter)((e=>!!e)),(0,ue.o)(e.type,n))(l)}})).filter((e=>{let{crosswalksBySources:t}=e;return t.length>0}))}(n,l,i)),[n,l,i]),[k,w]=(0,r.useState)({}),C=(0,r.useMemo)((()=>((e,t)=>e.reduce(((e,n)=>{let{contributorUri:r,crosswalksBySources:o}=n;const a=(0,H.chain)((e=>{var n;let{source:o,crosswalksByTypes:a}=e;const l=null===(n=t[r])||void 0===n?void 0:n.includes(o);return a[de.Y.Simple].concat(a[de.Y.Empty]).concat(l?a[de.Y.Dependent]:[])}),o);return e.concat(a)}),[]))(E,k)),[E,k]);(0,r.useEffect)((()=>{s(C)}),[C]);const S=(0,r.useCallback)((e=>{m({entityUri:null==n?void 0:n.uri,crosswalkId:e})}),[null==n?void 0:n.uri,m]),O=(0,r.useCallback)((e=>{p(Re({},e,{entityUri:null==n?void 0:n.uri}))}),[null==n?void 0:n.uri,p]);return o().createElement("div",{className:x.table},E.map((e=>{let{contributorUri:r,crosswalksBySources:a}=e;return o().createElement(Ne,{key:r,className:x.tableRow,canUnmerge:u,contributorUri:r,accentContributor:t,crosswalksBySources:a,disableAddCrosswalk:c||!(0,f.mkC)(v),disableEditCrosswalk:c||!(0,f.Zm0)(v),disableDeleteCrosswalk:c||!(0,f.a14)(v),disableUnmergeContributor:c||!(0,f.uGe)(f.BDP.UNMERGE,v),onAdd:e=>d(Re({},e,{entity:n})),onDelete:S,onEdit:O,onUnmerge:()=>g(r),onUnsubscribeContributor:b,expandedSources:k[r],onToggleSourceExpanded:e=>{w((0,H.pipe)((0,H.unless)((0,H.has)(r),(0,H.assoc)(r,[])),(0,H.evolve)({[r]:(0,H.ifElse)((0,H.includes)(e),(0,H.without)([e]),(0,H.append)(e))})))}})})))}));var Le=n(81556);const De=(0,M.Z)((e=>({container:{display:"flex",flexDirection:"column","& + &":{marginLeft:"16px"}},title:{fontSize:"13px",lineHeight:"15px",color:"#666666",marginBottom:"7px"},hintIcon:{width:"16px",height:"16px",verticalAlign:"middle"},graph:{width:"400px",height:"300px",borderRadius:"8px",background:"rgba(0, 0, 0, 0.03)",border:"1px solid rgba(0, 0, 0, 0.03)",position:"relative"},checkedIcon:{position:"absolute",height:"20px",width:"20px",right:"10px",top:"10px",color:e.palette.primary.main},selectedTree:{border:`1px solid ${e.palette.primary.main}`,background:"rgba(0, 114, 206, 0.05)"}}))),Ze=e=>{let{coloredCrosswalks:t,crosswalkTree:n,selected:a,title:l,onSelect:i=A.ZT}=e;const s=De(),c=(0,r.useCallback)((e=>t.includes(e.uri)?(0,f.CJp)((0,f.uKF)(e)):"#CACCD1"),[t]);return o().createElement(O.hR,{getCrosswalkColor:c},o().createElement("div",{className:s.container,onClick:i},o().createElement("span",{className:s.title},l," ",o().createElement(F.Z,{className:s.hintIcon})),o().createElement("div",{className:be()(s.graph,{[`${s.selectedTree}`]:a})},a&&o().createElement(Le.Z,{className:s.checkedIcon}),o().createElement(ce,{crosswalkTree:n}))))},Me=(0,M.Z)((e=>({dialogContainer:{maxWidth:"unset"},dialogTitle:{padding:"13px 16px 0 16px",fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px"},dialogContent:{display:"flex",flexDirection:"column",padding:"13px 16px 0 16px"},trees:{display:"flex"},uri:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.primary,marginBottom:"15px"},title:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.secondary,paddingRight:"2px"}}))),Be=e=>{let{canUnmerge:t,contributor:n,crosswalkTree:a,onClose:l,onUnmergeContributor:i}=e;const s=Me(),[c,u]=(0,r.useState)(f.MBD.Unmerge),d=(0,r.useCallback)((e=>(0,f.keo)(n,e).map((e=>{let{uri:t}=e;return t}))),[n]);return o().createElement(U.Dialog,{open:!0,onClose:l,classes:{paper:s.dialogContainer}},o().createElement(U.DialogTitle,{classes:{root:s.dialogTitle}},m().text("Unmerge")),o().createElement(U.DialogContent,{classes:{root:s.dialogContent}},o().createElement(U.Typography,{variant:"body2",className:s.uri},o().createElement("span",{className:s.title},m().text("Entity URI:")),(0,f.nIW)(n.uri).toUpperCase()),o().createElement("div",{className:s.trees},o().createElement(Ze,{onSelect:()=>u(f.MBD.Unmerge),selected:c===f.MBD.Unmerge,title:m().text("Unmerge"),crosswalkTree:a,coloredCrosswalks:d(!0)}),n.merges&&n.uri!==a.uri&&o().createElement(Ze,{onSelect:()=>u(f.MBD.TreeUnmerge),selected:c===f.MBD.TreeUnmerge,title:m().text("Tree unmerge"),crosswalkTree:a,coloredCrosswalks:d(!1)}))),o().createElement(U.DialogActions,null,o().createElement(U.Button,{onClick:l},m().text("Cancel")),o().createElement(U.Button,{disabled:!t,onClick:()=>{i(c),l()},color:"primary"},m().text("Unmerge"))))},ze=(0,M.Z)((e=>({dialogContainer:{maxWidth:"unset"},dialogTitle:{padding:"13px 16px 0 16px",fontWeight:500,fontSize:"20px",lineHeight:"23px",letterSpacing:"0.25px"},dialogContent:{display:"flex",flexDirection:"column",padding:"13px 16px 0 16px"},uri:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.primary,marginBottom:"15px"},title:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.secondary,paddingRight:"2px"}}))),Fe=e=>{let{canUnsubscribe:t,contributor:n,crosswalkTree:a,onClose:l,onUnsubscribeContributor:i}=e;const s=ze(),c=(0,r.useMemo)((()=>(0,f.keo)(n,!0).map((e=>{let{uri:t}=e;return t}))),[n]);return o().createElement(U.Dialog,{open:!0,onClose:l,classes:{paper:s.dialogContainer}},o().createElement(U.DialogTitle,{classes:{root:s.dialogTitle}},m().text("Unsubscribe")),o().createElement(U.DialogContent,{classes:{root:s.dialogContent}},o().createElement(U.Typography,{variant:"body2",className:s.uri},o().createElement("span",{className:s.title},m().text("Entity URI:")),(0,f.nIW)(n.uri).toUpperCase()),o().createElement(Ze,{selected:!0,title:m().text("Unsubscribe"),crosswalkTree:a,coloredCrosswalks:c})),o().createElement(U.DialogActions,null,o().createElement(U.Button,{onClick:l},m().text("Cancel")),o().createElement(U.Button,{disabled:!t,onClick:()=>{i(),l()},color:"primary"},m().text("Unsubscribe"))))},He=(0,M.Z)((e=>({root:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%"},modeSwitcher:{backgroundColor:e.palette.background.paper,marginTop:"8px"},infoIcon:{fontSize:"18px",marginRight:"8px"},hint:{color:e.palette.text.secondary,display:"flex",flexDirection:"row",alignItems:"center",alignSelf:"flex-start",margin:"5px 12px 10px 12px"},hintText:{fontSize:"12px",lineHeight:"16px"},crosswalksList:{height:"100%",width:"calc(100% - 24px)",margin:"8px 12px",background:e.palette.divider,opacity:.2},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"},resizablePanesWrapper:{flexGrow:1,width:"100%"}})));function Ae(){return Ae=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},Ae.apply(this,arguments)}const $e=(0,r.memo)((e=>{let{activeMode:t,contributors:n,crosswalkTree:a,entity:l,onChangeMode:i,onUnmergeContributor:s=A.ZT,onUnsubscribeContributor:c=A.ZT}=e,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["activeMode","contributors","crosswalkTree","entity","onChangeMode","onUnmergeContributor","onUnsubscribeContributor"]);const d=He(),p=(0,r.useRef)(),[h,g]=(0,r.useState)(170),b=(0,r.useCallback)((e=>{let{percentageSize:t}=e;return g(t)}),[]),[y,v]=(0,r.useState)(),[x,E]=(0,r.useState)(),k=(0,r.useMemo)((()=>(0,f.Qbq)(a)),[a]),w=k>1;(0,r.useEffect)((()=>{var e;const t=Math.max(170,60*k),n=(null===(e=p.current)||void 0===e?void 0:e.clientHeight)-170;g(Math.min(n,t))}),[k]);const C=(0,r.useMemo)((()=>[{id:W.Crosswalk,title:m().text("Crosswalk")},{id:W.Source,title:m().text("Source")},{id:W.Contributor,title:m().text("Contributor")}]),[]),[S,O]=(0,r.useState)(),P=t===W.Contributor;return o().createElement("div",{className:d.root,ref:p},y&&o().createElement(Be,{canUnmerge:w,onClose:()=>v(null),onUnmergeContributor:e=>{s({entityUri:l.uri,contributorUri:y,operationType:e})},crosswalkTree:a,contributor:n.find((e=>{let{uri:t}=e;return t===y}))}),x&&o().createElement(Fe,{canUnsubscribe:w,onClose:()=>E(null),onUnsubscribeContributor:()=>c({dataTenant:x.dataTenant,crosswalk:x.crosswalk}),crosswalkTree:a,contributor:n.find((e=>{let{uri:t}=e;return t===x.contributorUri}))}),o().createElement($.Z,{modes:C,modeId:t,className:d.modeSwitcher,onChange:i}),o().createElement(T.Z,{className:d.resizablePanesWrapper,orientation:"horizontal",size:h,minSize:170,maxSize:-170,allowResize:!0,onChange:b},o().createElement("div",{className:d.pane},a&&!(0,H.isEmpty)(S)&&o().createElement(ce,{entityLabel:(0,f.idV)(null==l?void 0:l.label),crosswalkTree:a,visibleCrosswalks:S,accentContributors:P})),o().createElement("div",{className:d.pane},o().createElement("div",{className:d.hint},o().createElement(F.Z,{className:d.infoIcon}),o().createElement("span",{className:d.hintText},m().text("You can drag a crosswalk to add values to attributes swimlanes"))),l&&o().createElement(Ue,Ae({onUnmergeContributor:v,onUnsubscribeContributor:E,accentContributors:P,contributors:n,entity:l,onChangeVisibleCrosswalks:O,canUnmerge:w},u)))))}));var We=n(85229);function Ge(){return Ge=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},Ge.apply(this,arguments)}const qe=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["styles"]);return o().createElement("svg",Ge({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),o().createElement("mask",{id:"svg4041339336a",masktype:"alpha",maskUnits:"userSpaceOnUse",x:"2",y:"3",width:"19",height:"17"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S4.83 6.5 4 6.5 2.5 5.83 2.5 5zM21 20H8v-2h13v2zM8 10h13V8H8v2zm0-4V4h13v2H8zm0 10h13v-2H8v2zm-2.5.5v-3h-3v3h3z",fill:"#fff"})),o().createElement("g",{mask:"url(#svg4041339336a)"},o().createElement("path",{fillOpacity:".54",fill:"#000",d:"M0 0h24v24H0z"})))},_e=e=>{console.error(e),d.Z.addError({title:m().text("Error"),message:(0,f.xU7)(e,m().text("Something went wrong"))})};var Ve=n(39417),Xe=n(58651),Ye=n(13896);function Qe(){return Qe=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},Qe.apply(this,arguments)}const Ke=e=>{let{styles:t={}}=e,n=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["styles"]);return o().createElement("svg",Qe({width:"90",height:"90",viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),o().createElement("circle",{cx:"45",cy:"45",r:"45",fill:"#0072CE",fillOpacity:".1"}),o().createElement("mask",{id:"svg985456408a",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"90",height:"90"},o().createElement("circle",{cx:"45",cy:"45",r:"45",fill:"#fff"})),o().createElement("g",{mask:"url(#svg985456408a)"},o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M-5.625 3.164h90V90h-90V3.164z",fill:"url(#paint0_linear)"}),o().createElement("path",{opacity:".05",fillRule:"evenodd",clipRule:"evenodd",d:"M66.01 19.992l20.615 20.615v52.337H32.83L18.281 79.131V19.99H66.01z",fill:"url(#paint1_linear)"}),o().createElement("path",{opacity:".06",fillRule:"evenodd",clipRule:"evenodd",d:"M16.523 20.39H87.54A2.46 2.46 0 0190 22.853v55.195a2.46 2.46 0 01-2.46 2.46H16.522a2.46 2.46 0 01-2.46-2.46V22.852a2.46 2.46 0 012.46-2.461z",fill:"#000"}),o().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.578 19.688h70.664c.971 0 1.758.787 1.758 1.757v55.196c0 .97-.787 1.757-1.758 1.757H17.578c-.97 0-1.758-.787-1.758-1.757V21.445c0-.97.787-1.758 1.758-1.758z",fill:"#fff"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M37.046 25.536c0-.583.472-1.055 1.055-1.055h14.633a1.055 1.055 0 110 2.11H38.101a1.055 1.055 0 01-1.055-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.914 29.754c0-.582.472-1.054 1.055-1.054H60.54a1.055 1.055 0 110 2.11H37.969a1.055 1.055 0 01-1.055-1.056z",fill:"#979797"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M37.046 57.305c0-.583.472-1.055 1.055-1.055h14.633a1.055 1.055 0 110 2.11H38.101a1.055 1.055 0 01-1.055-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.914 61.523c0-.582.472-1.054 1.055-1.054H60.54a1.055 1.055 0 110 2.11H37.969a1.055 1.055 0 01-1.055-1.056z",fill:"#979797"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M37.046 67.852c0-.583.472-1.055 1.055-1.055h28.696a1.055 1.055 0 110 2.11H38.1a1.055 1.055 0 01-1.055-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M36.914 72.07c0-.582.472-1.054 1.055-1.054h26.087a1.055 1.055 0 110 2.109H37.97a1.055 1.055 0 01-1.055-1.055z",fill:"#979797"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M48.648 36.21c0-.582.472-1.054 1.054-1.054h28.696a1.055 1.055 0 110 2.11H49.702a1.055 1.055 0 01-1.054-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M48.516 40.43c0-.583.472-1.055 1.054-1.055h22.572a1.055 1.055 0 110 2.11H49.57a1.055 1.055 0 01-1.054-1.055z",fill:"#979797"}),o().createElement("circle",{cx:"23.555",cy:"27.773",r:"3.164",fill:"#B6C7DB"}),o().createElement("circle",{cx:"23.555",cy:"27.773",r:"3.164",fill:"#B6C7DB"}),o().createElement("circle",{cx:"42.188",cy:"37.266",r:"2.109",fill:"#B6C7DB"}),o().createElement("circle",{cx:"42.188",cy:"47.813",r:"2.109",fill:"#B6C7DB"}),o().createElement("circle",{cx:"23.555",cy:"59.414",r:"3.164",fill:"#B6C7DB"}),o().createElement("circle",{cx:"23.555",cy:"69.961",r:"3.164",fill:"#B6C7DB"}),o().createElement("path",{opacity:".8",fillRule:"evenodd",clipRule:"evenodd",d:"M48.648 46.758c0-.583.472-1.055 1.054-1.055h28.696a1.055 1.055 0 110 2.11H49.702a1.055 1.055 0 01-1.054-1.055z",fill:"#B6C7DB"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M48.516 50.977c0-.583.472-1.055 1.054-1.055h26.088a1.055 1.055 0 110 2.11H49.57a1.055 1.055 0 01-1.054-1.055z",fill:"#979797"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M32.524 37.969v-2.813h-.703v14.191h3.93v-.703h-3.227v-9.972h3.227v-.703h-3.227z",fill:"#2B98F0"}),o().createElement("path",{opacity:".54",fillRule:"evenodd",clipRule:"evenodd",d:"M33.423 27.07l-1.242 1.243-1.243-1.243h2.485z",fill:"#000"}),o().createElement("path",{opacity:".6",fillRule:"evenodd",clipRule:"evenodd",d:"M17.578 7.734h65.39a2.11 2.11 0 012.11 2.11v6.328a2.11 2.11 0 01-2.11 2.11h-65.39a2.11 2.11 0 01-2.11-2.11V9.844a2.11 2.11 0 012.11-2.11z",fill:"#fff"}),o().createElement("path",{opacity:".2",fillRule:"evenodd",clipRule:"evenodd",d:"M20.39 13.008a2.11 2.11 0 012.11-2.11h24.61a2.11 2.11 0 110 4.22H22.5a2.11 2.11 0 01-2.11-2.11zM52.031 13.008a2.11 2.11 0 012.11-2.11h3.515a2.11 2.11 0 110 4.22h-3.515a2.11 2.11 0 01-2.11-2.11z",fill:"#979797"})),o().createElement("defs",null,o().createElement("linearGradient",{id:"paint0_linear",x1:"-5.625",y1:"3.164",x2:"-5.625",y2:"90",gradientUnits:"userSpaceOnUse"},o().createElement("stop",{stopColor:"#FAFAFA",stopOpacity:".01"}),o().createElement("stop",{offset:"1",stopColor:"#F4F4F4"})),o().createElement("linearGradient",{id:"paint1_linear",x1:"93.557",y1:"63.672",x2:"54.451",y2:"27.31",gradientUnits:"userSpaceOnUse"},o().createElement("stop",{stopOpacity:".01"}),o().createElement("stop",{offset:"1"}))))},Je=(0,M.Z)((e=>({root:{height:"100%",overflow:"hidden",background:e.palette.background.default,display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"115px"},info:{color:e.palette.text.secondary,fontSize:"16px",lineHeight:"24px",marginTop:"16px"}}))),et=()=>{const e=Je();return o().createElement("div",{className:e.root},o().createElement(Ke,null),o().createElement("span",{className:e.info},m().text("Please persist your profile to be able to edit crosswalks")))};var tt=n(72383);const nt=(0,M.Z)({snackbarMessage:{display:"flex",alignItems:"center"},snackbarIcon:{paddingRight:16}}),rt=e=>{let{entity:t,message:n}=e;const l=nt(),i=(0,a.useSelector)(h.ZP.selectors.getUIPath),{generateEntityUrl:s}=(0,r.useContext)(tt.v),c=s({uiPath:i,uri:t.uri});return o().createElement("div",{className:l.snackbarMessage},o().createElement(F.Z,{className:l.snackbarIcon}),o().createElement(U.Typography,null,(0,f.idV)(t.label)," ",o().createElement(U.Link,{href:c,target:"_blank"},m().text("lookup profile"))," ",n))};var ot=n(24737);const at=(0,M.Z)((e=>({root:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingTop:"14px",paddingBottom:"13px",borderBottom:"1px solid rgba(0, 0, 0, 0.05)",whiteSpace:"normal","&:last-child":{borderBottom:"none"}},label:{marginBottom:"2px",fontSize:"16px",lineHeight:"24px",color:e.palette.text.primary},description:{fontSize:"13px",lineHeight:"15px",color:e.palette.text.secondary}})));function lt(){return lt=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},lt.apply(this,arguments)}const it=e=>{let{innerRef:t,innerProps:n,data:r}=e;const a=at(),{label:l,description:i}=r;return o().createElement(U.MenuItem,lt({className:a.root,ref:t},n),o().createElement(U.Typography,{className:a.label},l),i&&o().createElement(U.Typography,{className:a.description},i))};function st(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ct=e=>{const{innerRef:t,getStyles:n,children:r}=e,a=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){st(e,t,n[t])}))}return e}({},n("menuList",e),{maxHeight:"500px",padding:0});return o().createElement("div",{ref:t,style:a},r)},ut=(0,M.Z)({root:{width:"280px"}});function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const pt=e=>{let{survivorshipGroups:t,currentSurvivorshipGroupUri:n,onChange:r}=e;const a=ut(),l=t.map((e=>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){dt(e,t,n[t])}))}return e}({},e,{label:(0,f.idV)(e.label)}))),i=l.find((0,H.propEq)("uri",n));return o().createElement(ot.Z,{height:40,className:a.root,components:{Option:it,MenuList:ct},label:m().text("Rulesets"),options:l,value:i,onChange:(0,H.pipe)((0,H.prop)("uri"),r)})},mt=(0,M.Z)({sourcesView:{position:"absolute",top:0,left:0,right:0,bottom:0,overflowX:"hidden",overflowY:"auto",fontFamily:"Roboto, Helvetica, Arial, sans-serif",display:"flex"},"@global div[role=tooltip]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},"@global div[role=presentation]":{fontFamily:"Roboto, Helvetica, Arial, sans-serif"},resizablePanesWrapper:{flexGrow:1,height:"100%"},pane:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",flexDirection:"column",overflow:"hidden"},tabs:{marginLeft:"1px"},headerDivider:{marginLeft:"16px",marginRight:"8px",height:"32px",backgroundColor:"rgba(0, 0, 0, 0.12)"},attributesTable:{backgroundColor:"#fff"}});var ht;!function(e){e[e.Legend=0]="Legend",e[e.History=1]="History"}(ht||(ht={}));const ft=(0,a.connect)((e=>({entity:h.ZP.selectors.getEntity(e),metadata:h.ZP.selectors.getMetadata(e),historyEvent:h.ZP.selectors.getHistoryEvent(e)})))((e=>{var t,n;let{config:l,entity:i,metadata:s,getSavedState:c,saveState:u,dispatch:d,historyEvent:p}=e;const D=mt(),[Z,M]=(0,r.useState)(W.Crosswalk),[B,F]=(0,r.useState)(0),[$,G]=(0,r.useState)(!1),q=e=>F((t=>t===e?null:e)),_=null!==B,{survivorshipGroups:V,currentSurvivorshipGroupUri:X,onChangeSurvivorshipGroup:Y,entity:Q,isDefaultSurvivorshipGroupUri:K,isLoading:J}=(e=>{const t=null==e?void 0:e.type,n=(0,a.useSelector)(h.ZP.selectors.getMetadata),o=(0,H.pipe)((0,f.nt9)(n),(0,H.propOr)([],"survivorshipGroups"))(t),l=(0,H.pipe)((0,H.find)((0,H.propEq)("default",!0)),(0,H.prop)("uri"))(o),[i,s]=(0,r.useState)(null),[c,u]=(0,r.useState)(null),[d,p]=(0,r.useState)(!1),m=(0,We._)();return(0,r.useEffect)((()=>{e&&(u(e),s(l))}),[e,l]),{survivorshipGroups:o,currentSurvivorshipGroupUri:i,onChangeSurvivorshipGroup:(0,r.useCallback)((t=>{s(t),l===t?u(e):(p(!0),m((0,f.BXy)(c.uri,t)).then(u).finally((()=>p(!1))))}),[e,l,c,m]),entity:c,isLoading:d,isDefaultSurvivorshipGroupUri:l===i}})(i),ee=B===ht.History,{isHistoryEnabled:te,isProfilePersisted:ne}=(0,g.C)({isHistoryTabActive:ee,entity:Q}),re=ne?Q:null,oe=null==re?void 0:re.uri,ae=(0,f.nt9)(s,null==Q?void 0:Q.type),{historySlice:le}=(0,b.a)({entity:re,historyEvent:p}),[ie,se]=(0,r.useState)();(0,y.D)((()=>{se(void 0)}),[le]),(0,y.D)((()=>{se(void 0)}),[oe]);const[ce,ue]=(0,r.useState)(-480),de=(0,r.useCallback)((e=>{let{percentageSize:t}=e;return ue(t)}),[]),{SnackbarRenderer:pe,showSnackbarMessage:me}=(0,v.D)({anchorOrigin:{vertical:"top",horizontal:"center"},showDismiss:!0}),{isLoaded:he,savedState:fe}=(0,x.a)(c),[ge,be]=(0,r.useState)();(0,r.useEffect)((()=>{he&&be(fe.visibleColumns)}),[he]),(0,r.useEffect)((()=>{const e=!(0,H.equals)(ge,fe.visibleColumns);he&&e&&u({visibleColumns:ge})}),[ge]);const ye=(0,r.useCallback)((()=>{G(!1)}),[]),{crosswalkTree:ve,reload:xe}=(e=>{let{entityUri:t,onSuccess:n=A.ZT}=e;const[o,a]=(0,r.useState)(null),l=(0,We._)(),i=e=>{console.warn("Failed to load crosswalk tree",e),a(null)},s=(0,r.useCallback)((()=>{t?l((0,f.wo0)({entityUri:t})).then((e=>{a(e)})).catch(i).finally(n):(a(null),n())}),[t,n]);return(0,r.useEffect)((()=>{s()}),[s]),{crosswalkTree:o,reload:s}})({entityUri:(null==le?void 0:le.aEntity.uri)||oe,onSuccess:ye}),Ee=(0,r.useMemo)((()=>(0,f.b7X)(ve)),[ve]),ke=(0,r.useCallback)((()=>{oe&&d(h.N5.entity.actions.loadEntity({viewId:l.id,uri:oe}))}),[oe,l,d]),we=(0,r.useCallback)((0,H.pipe)(ke,xe),[ke,xe]),Ce=(0,r.useCallback)(((e,t)=>{me(t?o().createElement(rt,{entity:t,message:e}):e)}),[]),{modifiedEntity:Se,crosswalksMap:Oe,newlyCreatedAttributes:Pe,onDeleteAttribute:Te,onPinAttribute:Ne,onIgnoreAttribute:je,onEditAttribute:Re,onAddAttribute:Ie}=(0,E.Q)({entity:(null==le?void 0:le.aEntity)||re,onModify:we,onError:_e}),{addCrosswalk:Ue,deleteCrosswalk:Le,editCrosswalk:De,unmergeContributor:Ze,unsubscribeContributor:Me}=(e=>{let{onLoad:t=A.ZT,onSuccess:n=A.ZT,onError:o=A.ZT,onShowMessage:l=A.ZT}=e;const{addCrosswalk:i,editCrosswalk:s,deleteCrosswalk:c}=(0,Ve.P)({onLoad:t,onSuccess:n,onError:o}),u=(0,a.useSelector)(h.ZP.selectors.getDtssPath),d=(0,a.useSelector)(h.ZP.selectors.getTenant),p=(0,r.useCallback)((e=>{t(),e.then((()=>{n()})).catch(o)}),[t,o,n]);return{addCrosswalk:i,editCrosswalk:s,deleteCrosswalk:c,unmergeContributor:(0,r.useCallback)((e=>(0,H.pipe)(f.L8n,(0,H.andThen)((e=>(l(m().text("has been unmerged"),e.b),e))),p)(e)),[p,l]),unsubscribeContributor:(0,r.useCallback)((e=>{let{crosswalk:t,dataTenant:n}=e;return(0,H.pipe)(f.R9X,(0,H.andThen)((e=>{if(!e.successful)throw new Error(m().text("Failed to unsubscribe contributor"));return e})),p)({dtssPath:u,value:t.value,type:t.type,sourceTable:t.sourceTable,dataTenant:n.id,customerTenant:d})}),[p,u,d])}})({onShowMessage:Ce,onSuccess:we,onError:(0,r.useCallback)((e=>{_e(e),e.errorCode===f.Xt7.CROSSWALK_NOT_FOUND&&we()}),[we]),onLoad:(0,r.useCallback)((()=>G(!0)),[])}),{historyFilter:Be,onApplyFilter:ze,isLoading:Fe,historicUris:He,historyWithTotal:Ae,canLoadMore:Ge,onLoadMore:Qe}=(0,k.k6)({entity:re,enabled:te}),Ke=(e=>{let{activeMode:t,contributors:n,entity:o}=e;const a=(0,r.useCallback)((e=>{var r;switch(t){case W.Source:return(0,f.kW2)(e.type);case W.Contributor:return(0,f.GtP)((null===(r=(0,f.A1W)(n,e))||void 0===r?void 0:r.uri)||"");case W.Crosswalk:return(0,f.CJp)((0,f.uKF)(e))}}),[t,n]),[l,i]=(0,r.useState)([]),s=(0,r.useRef)([]),c=(0,r.useCallback)((0,f.DsO)((()=>{i([...s.current])}),50),[]),u=(0,r.useCallback)((e=>{s.current=e,c(e)}),[c]),d=(0,r.useCallback)(((e,r)=>{if(e)if(r)if(t===W.Contributor){const t=(0,f.A1W)(n,e);u([e,...(null==t?void 0:t.crosswalks)||[]])}else u([e]);else u([])}),[t,u,n]),[p,m]=(0,r.useState)([]),h=(0,r.useCallback)(((e,t)=>(0,H.concat)(e.filter((e=>!(0,H.any)((0,f.aFF)(e),t))),t.filter((t=>!(0,H.any)((0,f.aFF)(t),e))))),[]),g=(0,r.useCallback)((e=>{if(e)if(t===W.Contributor){const t=(0,f.A1W)(n,e);m((n=>h([e,...(null==t?void 0:t.crosswalks)||[]],n)))}else m((t=>h([e],t)))}),[t,h,n]);return(0,r.useEffect)((()=>{p.length&&m([])}),[t,o]),{getCrosswalkColor:a,highlightedCrosswalks:(0,r.useMemo)((()=>[...l,...p]),[l,p]),focusedCrosswalks:p,toggleCrosswalkFocus:g,setCrosswalkHighlighted:d}})({activeMode:Z,contributors:Ee,entity:Q}),Je=[{buttonProps:{id:ht.Legend,icon:qe,tooltipTitle:m().text("Legend")},title:o().createElement(U.Typography,{variant:"h6"},m().text("Legend")),content:o().createElement($e,{activeMode:Z,onChangeMode:M,entity:(null==le?void 0:le.aEntity)||re,crosswalkTree:ve,contributors:Ee,selectedAttributeTypes:ie,readOnly:!!le||$,onAddCrosswalk:Ue,onUnmergeContributor:Ze,onUnsubscribeContributor:Me,onEditCrosswalk:De,onDeleteCrosswalk:Le})},{buttonProps:{id:ht.History,icon:L.Z,tooltipTitle:m().text("History")},title:o().createElement(w.Z,{total:((null==He?void 0:He.length)||0)+1,entityType:ae,filter:Be,onApplyFilter:ze}),content:ne?o().createElement(C.Z,{isLoading:Fe,historyWithTotal:Ae,contributorsUris:He,entityUri:oe,historyEvent:p,onLoadMore:Qe,canLoadMore:Ge}):o().createElement(S.Z,null)}],tt=o().createElement(o().Fragment,null,o().createElement(pt,{survivorshipGroups:V,currentSurvivorshipGroupUri:X,onChange:Y}),o().createElement(U.Divider,{className:D.headerDivider,orientation:"vertical"}));return o().createElement("div",{className:D.sourcesView},o().createElement(O.hR,Ke,o().createElement(Ye.DndProvider,{backend:Xe.default},o().createElement(P.Z,null),o().createElement(T.Z,{className:D.resizablePanesWrapper,orientation:"vertical",size:_?ce:"100%",minSize:480,maxSize:-480,allowResize:_,onChange:de},o().createElement("div",{className:D.pane},o().createElement(N.n,{entity:Q,historySlice:le}),ne?o().createElement(j.R,{attributeUris:Pe},o().createElement(R.Z,{className:D.attributesTable,isLoading:J,visibleColumns:ge,onChangeVisibleColumns:be,entity:Se,crosswalksMap:Oe,selectedAttributeTypes:ie,onSelectAttributeTypes:se,readOnly:!!le||!K,onDelete:Te,onPin:Ne,onIgnore:je,onEdit:Re,onAdd:Ie,additionalHeaderItems:tt,activeSurvivorshipGroupUri:X})):o().createElement(et,null)),o().createElement(z,{className:D.pane,title:null===(t=Je[B])||void 0===t?void 0:t.title,onClose:()=>q(B)},null===(n=Je[B])||void 0===n?void 0:n.content)))),o().createElement(I.G,{className:D.tabs,buttonsProps:(0,H.pipe)((0,H.reject)((0,H.propEq)("hidden",!0)),(0,H.pluck)("buttonProps"))(Je),onButtonClick:q,activeIndexId:B}),o().createElement(pe,null))})),gt=(0,i.createGenerateClassName)({productionPrefix:"sourcesPerspective",disableGlobal:!0}),bt=e=>{let{config:t,store:n,onResize:p,saveState:m,getSavedState:h}=e;const g=(0,r.useCallback)((0,f.aYu)(h),[h]);return o().createElement(a.Provider,{store:n},o().createElement(u.m.Provider,{value:t.id},o().createElement(i.StylesProvider,{generateClassName:gt},o().createElement(c.MuiPickersUtilsProvider,{utils:l.Z},o().createElement(s.Z,{handleHeight:!0,onResize:(e,t)=>null==p?void 0:p(Math.floor(e),Math.floor(t))}),t&&o().createElement(ft,{config:t,saveState:m,getSavedState:g}),o().createElement(d.Z,null)))))}}}]);
|
|
2
|
-
//# sourceMappingURL=6880.js.map
|