@reltio/remotes 1.4.1007 → 1.4.1008

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/3692.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[3692],{27291:(e,t,n)=>{var u=n(14859);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}),"Done");t.Z=o},43054:(e,t,n)=>{var u=n(14859);t.Z=void 0;var r=u(n(24328)),o=(0,u(n(50175)).default)(r.default.createElement("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreVert");t.Z=o},47677:e=>{e.exports=function(e,t,n,u,r,o,s,i){if(!e){var a;if(void 0===t)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,u,r,o,s,i],c=0;(a=new Error(t.replace(/%s/g,(function(){return l[c++]})))).name="Invariant Violation"}throw a.framesToPop=1,a}}},2271:(e,t,n)=>{function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(e[u]=n[u])}return e},r.apply(this,arguments)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var u=t[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(e,u.key,u)}}function i(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e){return l="function"==typeof Symbol&&"symbol"===a(Symbol.iterator)?function(e){return a(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)},l(e)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?c(e):t}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{p:()=>We,r:()=>ze});var h=n(24328),y=n.n(h),b=n(47677),v=n.n(b);var m=n(81260),A=n.n(m),C=n(75182),F=n.n(C),D=function(e){return e===Object(e)?Object.keys(e):[]},S=function(e){return e===Object(e)?Object.values(e):[]};function O(e,t){var n=Object.assign({},e);return B(e)&&B(t)&&D(t).forEach((function(u){B(t[u])&&u in e?n[u]=O(e[u],t[u]):Object.assign(n,A()({},u,t[u]))})),n}var w=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),u=1;u<t;u++)n[u-1]=arguments[u];return n.reduce((function(e,t){return O(e,t)}),e)},x=function(e,t){var n=Object.assign({},e);if(t)for(var u=0;u<t.length;u++)delete n[t[u]];return n},B=function(e){return!(e!==Object(e)||e instanceof Date||Array.isArray(e))},P=function(e){return(e||[]).filter(Boolean)},j=function(e){return"&"===e[0]},T=function(e){return!j(e)},L=function(e){return e.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))},k=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=D(e),u={},r=0,o=n.length;r<o;r+=1){var s=n[r],i="[object Object]"!==Object.prototype.toString.call(e[s])||":"===s[0]||"@"===s[0]||t.indexOf(s)>=0;i&&(u[s]=e[s])}return u},I=function(e,t){for(var n=t.map(L),u=D(e),r={},o=0,s=u.length;o<s;o+=1){var i=u[o];(t.indexOf(i)>=0||n.indexOf(L(i))>=0)&&(r[i]=e[i])}return r},_=function e(t,n){for(var u=w.apply(void 0,[{},x(t,n)].concat(F()(S(I(t,n))))),r=D(u).filter(j),o=0,s=r.length;o<s;o+=1){var i=r[o],a=e(u[i],n);n.indexOf(i)>=0?(delete u[i],u=w({},u,a)):u[i]=a}return u};function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){A()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=["animationName"];const q=function(e){var t=e.style,n=e.className;return N(N({},t?{style:k(t,M)}:{}),n?{className:n}:{})};var H=(0,h.createContext)(q);H.Provider;const z=function(e){if(!e)return[];if("string"==typeof e)return[e];if(!Array.isArray(e)){var t=e;return D(e).reduce((function(e,n){return e.concat(t[n]?[n]:[])}),[])}return e};var U={};const W=function(e){return function(t,n){var u,r=n||U;e.memoize=e.memoize||new WeakMap,e.memoize.has(r)?u=e.memoize.get(r):(u={},e.memoize.set(r,u));var o=z(t).join(" ");return o in u?u[o]:u[o]=e(t||[],n)}};function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){A()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Z=function(e){var t=e&&D(e)[0];return t&&t.split("__")[0].split("--")[0]},Q=function(e,t,n){if(e){var u=e.split(" ")[0],r=[].concat(F()(0===t.length?n.map((function(e){return"".concat(u,"--").concat(e.substring(1))})):[]),F()(t.map((function(e){return"".concat(u,"__").concat(e)}))));return 0===t.length?[e].concat(F()(r)):r}};const Y=function e(t){var n=t.style,u=t.className,r=t.classNames,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q,s=u||Z(r)||(null==n?void 0:n.className),i="function"==typeof n?n:W((function(t,u){var i=z(t);v()(Array.isArray(i),"First parameter must be a string, an array of strings, a plain object with boolean values, or a falsy value."),v()(!u||B(u),"Optional second parameter must be a plain object.");var a=i.filter(j),l=i.filter(T),c=l.length>0?function(e){return S(I(e,l))}:function(e){return[e]},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(_(e,a))},f=Q(s,l,a);return e(K(K(K({},(n||u)&&{style:w.apply(void 0,[{}].concat(F()(p(u)),F()(p(n))))}),f&&{className:f.join(" ")}),r&&{classNames:r}),o)})),a=K({},"function"==typeof n?n:{style:n}),l=F()(new Set([].concat(F()(a.className?a.className.split(" "):[]),F()(s?s.split(" "):[])))),c=r?P(l.map((function(e){return r[e]}))):l,p=o(K(K({},a),c.length>0?{className:c.join(" ")}:{}));return Object.assign(i,p),i},$=function(e,t,n){var u=t.style,r=t.className,o=t.classNames,s=(0,h.useContext)(H);return(0,h.useMemo)((function(){return Y({style:u,className:r,classNames:o},s)}),[u,r,o,s])(n,e)};function J(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?J(Object(n),!0).forEach((function(t){A()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):J(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X=n(13980),ee=n.n(X),te=n(75047),ne=n.n(te),ue=function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},re="__id__",oe="__display__",se=function(e,t){v()("id"===t||"display"===t,'Second arg must be either "id" or "display", got: "'.concat(t,'"'));var n=e.indexOf(oe),u=e.indexOf(re);return n<0&&(n=null),u<0&&(u=null),v()(null!==n||null!==u,"The markup '".concat(e,"' does not contain either of the placeholders '__id__' or '__display__'")),null!==n&&null!==u?"id"===t&&u<=n||"display"===t&&n<=u?0:1:0},ie=function(e){var t=/^\/(.+)\/(\w+)?$/;return new RegExp(e.map((function(e){var n,u,r=(n=t.exec(e.toString()),u=3,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=[],u=!0,r=!1,o=void 0;try{for(var s,i=e[Symbol.iterator]();!(u=(s=i.next()).done)&&(n.push(s.value),!t||n.length!==t);u=!0);}catch(e){r=!0,o=e}finally{try{u||null==i.return||i.return()}finally{if(r)throw o}}return n}(n,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),o=r[1],s=r[2];return v()(!s,"RegExp flags are not supported. Change /".concat(o,"/").concat(s," into /").concat(o,"/")),"(".concat(o,")")})).join("|"),"g")},ae=function(e){var t=0;return e.indexOf("__id__")>=0&&t++,e.indexOf("__display__")>=0&&t++,t},le=function(){},ce=function(e,t,n){for(var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:le,o=ie(t.map((function(e){return e.regex}))),s=2,i=t.map((function(e){var t=e.markup,n=s;return s+=ae(t)+1,n})),a=0,l=0;null!==(u=o.exec(e));){var c=i.find((function(e){return!!u[e]})),p=i.indexOf(c),f=t[p],g=f.markup,d=f.displayTransform,E=c+se(g,"id"),h=c+se(g,"display"),y=u[E],b=d(y,u[h]),v=e.substring(a,u.index);r(v,a,l),l+=v.length,n(u[0],u.index,l,y,b,p,a),l+=b.length,a=o.lastIndex}a<e.length&&r(e.substring(a),a,l)},pe=function(e,t){var n="";return ce(e,t,(function(e,t,u,r,o){n+=o}),(function(e){n+=e})),n},fe=function(e,t,n){var u,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"START";if("number"!=typeof n)return n;var o=function(e,t,r){void 0===u&&r+e.length>=n&&(u=t+n-r)},s=function(e,t,o,s,i,a,l){void 0===u&&o+i.length>n&&(u="NULL"===r?null:t+("END"===r?e.length:0))};return ce(e,t,s,o),void 0===u?e.length:u},ge=function(e,t,n,u){return e.substring(0,t)+u+e.substring(n)},de=function(e,t){var n=[];return ce(e,t,(function(e,t,u,r,o,s,i){n.push({id:r,display:o,childIndex:s,index:t,plainTextIndex:u})})),n},Ee=function(e,t){return"".concat(e,"-").concat(t)},he=function(e){return Object.values(e).reduce((function(e,t){return e+t.results.length}),0)},ye=function(e){var t=ue(e),n=e[e.indexOf(oe)+oe.length],u=e[e.indexOf(re)+re.length];return new RegExp(t.replace(oe,"([^".concat(ue(n||""),"]+?)")).replace(re,"([^".concat(ue(u||""),"]+?)")))},be=function(e){return h.Children.toArray(e).map((function(e){var t=e.props,n=t.markup,u=t.regex,r=t.displayTransform;return{markup:n,regex:u?ve(u,n):ye(n),displayTransform:r||function(e,t){return t||e}}}))},ve=function(e,t){var n=new RegExp(e.toString()+"|").exec("").length-1,u=ae(t);return v()(n===u,"Number of capturing groups in RegExp ".concat(e.toString()," (").concat(n,") does not match the number of placeholders in the markup '").concat(t,"' (").concat(u,")")),e},me=[{base:"A",letters:/(&#65;|&#9398;|&#65313;|&#192;|&#193;|&#194;|&#7846;|&#7844;|&#7850;|&#7848;|&#195;|&#256;|&#258;|&#7856;|&#7854;|&#7860;|&#7858;|&#550;|&#480;|&#196;|&#478;|&#7842;|&#197;|&#506;|&#461;|&#512;|&#514;|&#7840;|&#7852;|&#7862;|&#7680;|&#260;|&#570;|&#11375;|[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F])/g},{base:"AA",letters:/(&#42802;|[\uA732])/g},{base:"AE",letters:/(&#198;|&#508;|&#482;|[\u00C6\u01FC\u01E2])/g},{base:"AO",letters:/(&#42804;|[\uA734])/g},{base:"AU",letters:/(&#42806;|[\uA736])/g},{base:"AV",letters:/(&#42808;|&#42810;|[\uA738\uA73A])/g},{base:"AY",letters:/(&#42812;|[\uA73C])/g},{base:"B",letters:/(&#66;|&#9399;|&#65314;|&#7682;|&#7684;|&#7686;|&#579;|&#386;|&#385;|[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181])/g},{base:"C",letters:/(&#67;|&#9400;|&#65315;|&#262;|&#264;|&#266;|&#268;|&#199;|&#7688;|&#391;|&#571;|&#42814;|[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E])/g},{base:"D",letters:/(&#68;|&#9401;|&#65316;|&#7690;|&#270;|&#7692;|&#7696;|&#7698;|&#7694;|&#272;|&#395;|&#394;|&#393;|&#42873;|&#208;|[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779\u00D0])/g},{base:"DZ",letters:/(&#497;|&#452;|[\u01F1\u01C4])/g},{base:"Dz",letters:/(&#498;|&#453;|[\u01F2\u01C5])/g},{base:"E",letters:/(&#69;|&#9402;|&#65317;|&#200;|&#201;|&#202;|&#7872;|&#7870;|&#7876;|&#7874;|&#7868;|&#274;|&#7700;|&#7702;|&#276;|&#278;|&#203;|&#7866;|&#282;|&#516;|&#518;|&#7864;|&#7878;|&#552;|&#7708;|&#280;|&#7704;|&#7706;|&#400;|&#398;|[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E])/g},{base:"F",letters:/(&#70;|&#9403;|&#65318;|&#7710;|&#401;|&#42875;|[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B])/g},{base:"G",letters:/(&#71;|&#9404;|&#65319;|&#500;|&#284;|&#7712;|&#286;|&#288;|&#486;|&#290;|&#484;|&#403;|&#42912;|&#42877;|&#42878;|[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E])/g},{base:"H",letters:/(&#72;|&#9405;|&#65320;|&#292;|&#7714;|&#7718;|&#542;|&#7716;|&#7720;|&#7722;|&#294;|&#11367;|&#11381;|&#42893;|[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D])/g},{base:"I",letters:/(&#73;|&#9406;|&#65321;|&#204;|&#205;|&#206;|&#296;|&#298;|&#300;|&#304;|&#207;|&#7726;|&#7880;|&#463;|&#520;|&#522;|&#7882;|&#302;|&#7724;|&#407;|[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197])/g},{base:"J",letters:/(&#74;|&#9407;|&#65322;|&#308;|&#584;|[\u004A\u24BF\uFF2A\u0134\u0248])/g},{base:"K",letters:/(&#75;|&#9408;|&#65323;|&#7728;|&#488;|&#7730;|&#310;|&#7732;|&#408;|&#11369;|&#42816;|&#42818;|&#42820;|&#42914;|[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2])/g},{base:"L",letters:/(&#76;|&#9409;|&#65324;|&#319;|&#313;|&#317;|&#7734;|&#7736;|&#315;|&#7740;|&#7738;|&#321;|&#573;|&#11362;|&#11360;|&#42824;|&#42822;|&#42880;|[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780])/g},{base:"LJ",letters:/(&#455;|[\u01C7])/g},{base:"Lj",letters:/(&#456;|[\u01C8])/g},{base:"M",letters:/(&#77;|&#9410;|&#65325;|&#7742;|&#7744;|&#7746;|&#11374;|&#412;|[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C])/g},{base:"N",letters:/(&#78;|&#9411;|&#65326;|&#504;|&#323;|&#209;|&#7748;|&#327;|&#7750;|&#325;|&#7754;|&#7752;|&#544;|&#413;|&#42896;|&#42916;|&#330;|[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4\u014A])/g},{base:"NJ",letters:/(&#458;|[\u01CA])/g},{base:"Nj",letters:/(&#459;|[\u01CB])/g},{base:"O",letters:/(&#79;|&#9412;|&#65327;|&#210;|&#211;|&#212;|&#7890;|&#7888;|&#7894;|&#7892;|&#213;|&#7756;|&#556;|&#7758;|&#332;|&#7760;|&#7762;|&#334;|&#558;|&#560;|&#214;|&#554;|&#7886;|&#336;|&#465;|&#524;|&#526;|&#416;|&#7900;|&#7898;|&#7904;|&#7902;|&#7906;|&#7884;|&#7896;|&#490;|&#492;|&#216;|&#510;|&#390;|&#415;|&#42826;|&#42828;|[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C])/g},{base:"OE",letters:/(&#338;|[\u0152])/g},{base:"OI",letters:/(&#418;|[\u01A2])/g},{base:"OO",letters:/(&#42830;|[\uA74E])/g},{base:"OU",letters:/(&#546;|[\u0222])/g},{base:"P",letters:/(&#80;|&#9413;|&#65328;|&#7764;|&#7766;|&#420;|&#11363;|&#42832;|&#42834;|&#42836;|[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754])/g},{base:"Q",letters:/(&#81;|&#9414;|&#65329;|&#42838;|&#42840;|&#586;|[\u0051\u24C6\uFF31\uA756\uA758\u024A])/g},{base:"R",letters:/(&#82;|&#9415;|&#65330;|&#340;|&#7768;|&#344;|&#528;|&#530;|&#7770;|&#7772;|&#342;|&#7774;|&#588;|&#11364;|&#42842;|&#42918;|&#42882;|[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782])/g},{base:"S",letters:/(&#83;|&#9416;|&#65331;|&#7838;|&#346;|&#7780;|&#348;|&#7776;|&#352;|&#7782;|&#7778;|&#7784;|&#536;|&#350;|&#11390;|&#42920;|&#42884;|[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784])/g},{base:"T",letters:/(&#84;|&#9417;|&#65332;|&#7786;|&#356;|&#7788;|&#538;|&#354;|&#7792;|&#7790;|&#358;|&#428;|&#430;|&#574;|&#42886;|[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786])/g},{base:"TH",letters:/(&#222;|[\u00DE])/g},{base:"TZ",letters:/(&#42792;|[\uA728])/g},{base:"U",letters:/(&#85;|&#9418;|&#65333;|&#217;|&#218;|&#219;|&#360;|&#7800;|&#362;|&#7802;|&#364;|&#220;|&#475;|&#471;|&#469;|&#473;|&#7910;|&#366;|&#368;|&#467;|&#532;|&#534;|&#431;|&#7914;|&#7912;|&#7918;|&#7916;|&#7920;|&#7908;|&#7794;|&#370;|&#7798;|&#7796;|&#580;|[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244])/g},{base:"V",letters:/(&#86;|&#9419;|&#65334;|&#7804;|&#7806;|&#434;|&#42846;|&#581;|[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245])/g},{base:"VY",letters:/(&#42848;|[\uA760])/g},{base:"W",letters:/(&#87;|&#9420;|&#65335;|&#7808;|&#7810;|&#372;|&#7814;|&#7812;|&#7816;|&#11378;|[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72])/g},{base:"X",letters:/(&#88;|&#9421;|&#65336;|&#7818;|&#7820;|[\u0058\u24CD\uFF38\u1E8A\u1E8C])/g},{base:"Y",letters:/(&#89;|&#9422;|&#65337;|&#7922;|&#221;|&#374;|&#7928;|&#562;|&#7822;|&#376;|&#7926;|&#7924;|&#435;|&#590;|&#7934;|[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE])/g},{base:"Z",letters:/(&#90;|&#9423;|&#65338;|&#377;|&#7824;|&#379;|&#381;|&#7826;|&#7828;|&#437;|&#548;|&#11391;|&#11371;|&#42850;|[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762])/g},{base:"a",letters:/(&#97;|&#9424;|&#65345;|&#7834;|&#224;|&#225;|&#226;|&#7847;|&#7845;|&#7851;|&#7849;|&#227;|&#257;|&#259;|&#7857;|&#7855;|&#7861;|&#7859;|&#551;|&#481;|&#228;|&#479;|&#7843;|&#229;|&#507;|&#462;|&#513;|&#515;|&#7841;|&#7853;|&#7863;|&#7681;|&#261;|&#11365;|&#592;|[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250])/g},{base:"aa",letters:/(&#42803;|[\uA733])/g},{base:"ae",letters:/(&#230;|&#509;|&#483;|[\u00E6\u01FD\u01E3])/g},{base:"ao",letters:/(&#42805;|[\uA735])/g},{base:"au",letters:/(&#42807;|[\uA737])/g},{base:"av",letters:/(&#42809;|&#42811;|[\uA739\uA73B])/g},{base:"ay",letters:/(&#42813;|[\uA73D])/g},{base:"b",letters:/(&#98;|&#9425;|&#65346;|&#7683;|&#7685;|&#7687;|&#384;|&#387;|&#595;|[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253])/g},{base:"c",letters:/(&#99;|&#9426;|&#65347;|&#263;|&#265;|&#267;|&#269;|&#231;|&#7689;|&#392;|&#572;|&#42815;|&#8580;|[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184])/g},{base:"d",letters:/(&#100;|&#9427;|&#65348;|&#7691;|&#271;|&#7693;|&#7697;|&#7699;|&#7695;|&#273;|&#396;|&#598;|&#599;|&#42874;|&#240;|[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A\u00F0])/g},{base:"dz",letters:/(&#499;|&#454;|[\u01F3\u01C6])/g},{base:"e",letters:/(&#101;|&#9428;|&#65349;|&#232;|&#233;|&#234;|&#7873;|&#7871;|&#7877;|&#7875;|&#7869;|&#275;|&#7701;|&#7703;|&#277;|&#279;|&#235;|&#7867;|&#283;|&#517;|&#519;|&#7865;|&#7879;|&#553;|&#7709;|&#281;|&#7705;|&#7707;|&#583;|&#603;|&#477;|[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD])/g},{base:"f",letters:/(&#102;|&#9429;|&#65350;|&#7711;|&#402;|&#42876;|[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C])/g},{base:"g",letters:/(&#103;|&#9430;|&#65351;|&#501;|&#285;|&#7713;|&#287;|&#289;|&#487;|&#291;|&#485;|&#608;|&#42913;|&#7545;|&#42879;|[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F])/g},{base:"h",letters:/(&#104;|&#9431;|&#65352;|&#293;|&#7715;|&#7719;|&#543;|&#7717;|&#7721;|&#7723;|&#7830;|&#295;|&#11368;|&#11382;|&#613;|[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265])/g},{base:"hv",letters:/(&#405;|[\u0195])/g},{base:"i",letters:/(&#105;|&#9432;|&#65353;|&#236;|&#237;|&#238;|&#297;|&#299;|&#301;|&#239;|&#7727;|&#7881;|&#464;|&#521;|&#523;|&#7883;|&#303;|&#7725;|&#616;|&#305;|[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131])/g},{base:"ij",letters:/(&#307;|[\u0133])/g},{base:"j",letters:/(&#106;|&#9433;|&#65354;|&#309;|&#496;|&#585;|[\u006A\u24D9\uFF4A\u0135\u01F0\u0249])/g},{base:"k",letters:/(&#107;|&#9434;|&#65355;|&#7729;|&#489;|&#7731;|&#311;|&#7733;|&#409;|&#11370;|&#42817;|&#42819;|&#42821;|&#42915;|[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3])/g},{base:"l",letters:/(&#108;|&#9435;|&#65356;|&#320;|&#314;|&#318;|&#7735;|&#7737;|&#316;|&#7741;|&#7739;|&#322;|&#410;|&#619;|&#11361;|&#42825;|&#42881;|&#42823;|[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u0142\u019A\u026B\u2C61\uA749\uA781\uA747])/g},{base:"lj",letters:/(&#457;|[\u01C9])/g},{base:"m",letters:/(&#109;|&#9436;|&#65357;|&#7743;|&#7745;|&#7747;|&#625;|&#623;|[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F])/g},{base:"n",letters:/(&#110;|&#9437;|&#65358;|&#505;|&#324;|&#241;|&#7749;|&#328;|&#7751;|&#326;|&#7755;|&#7753;|&#414;|&#626;|&#329;|&#42897;|&#42917;|&#331;|[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u014B])/g},{base:"nj",letters:/(&#460;|[\u01CC])/g},{base:"o",letters:/(&#111;|&#9438;|&#65359;|&#242;|&#243;|&#244;|&#7891;|&#7889;|&#7895;|&#7893;|&#245;|&#7757;|&#557;|&#7759;|&#333;|&#7761;|&#7763;|&#335;|&#559;|&#561;|&#246;|&#555;|&#7887;|&#337;|&#466;|&#525;|&#527;|&#417;|&#7901;|&#7899;|&#7905;|&#7903;|&#7907;|&#7885;|&#7897;|&#491;|&#493;|&#248;|&#511;|&#596;|&#42827;|&#42829;|&#629;|[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275])/g},{base:"oe",letters:/(&#339;|[\u0153])/g},{base:"oi",letters:/(&#419;|[\u01A3])/g},{base:"ou",letters:/(&#547;|[\u0223])/g},{base:"oo",letters:/(&#42831;|[\uA74F])/g},{base:"p",letters:/(&#112;|&#9439;|&#65360;|&#7765;|&#7767;|&#421;|&#7549;|&#42833;|&#42835;|&#42837;|[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755])/g},{base:"q",letters:/(&#113;|&#9440;|&#65361;|&#587;|&#42839;|&#42841;|[\u0071\u24E0\uFF51\u024B\uA757\uA759])/g},{base:"r",letters:/(&#114;|&#9441;|&#65362;|&#341;|&#7769;|&#345;|&#529;|&#531;|&#7771;|&#7773;|&#343;|&#7775;|&#589;|&#637;|&#42843;|&#42919;|&#42883;|[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783])/g},{base:"s",letters:/(&#115;|&#9442;|&#65363;|&#347;|&#7781;|&#349;|&#7777;|&#353;|&#7783;|&#7779;|&#7785;|&#537;|&#351;|&#575;|&#42921;|&#42885;|&#7835;|&#383;|[\u0073\u24E2\uFF53\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B\u017F])/g},{base:"ss",letters:/(&#223;|[\u00DF])/g},{base:"t",letters:/(&#116;|&#9443;|&#65364;|&#7787;|&#7831;|&#357;|&#7789;|&#539;|&#355;|&#7793;|&#7791;|&#359;|&#429;|&#648;|&#11366;|&#42887;|[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787])/g},{base:"th",letters:/(&#254;|[\u00FE])/g},{base:"tz",letters:/(&#42793;|[\uA729])/g},{base:"u",letters:/(&#117;|&#9444;|&#65365;|&#249;|&#250;|&#251;|&#361;|&#7801;|&#363;|&#7803;|&#365;|&#252;|&#476;|&#472;|&#470;|&#474;|&#7911;|&#367;|&#369;|&#468;|&#533;|&#535;|&#432;|&#7915;|&#7913;|&#7919;|&#7917;|&#7921;|&#7909;|&#7795;|&#371;|&#7799;|&#7797;|&#649;|[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289])/g},{base:"v",letters:/(&#118;|&#9445;|&#65366;|&#7805;|&#7807;|&#651;|&#42847;|&#652;|[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C])/g},{base:"vy",letters:/(&#42849;|[\uA761])/g},{base:"w",letters:/(&#119;|&#9446;|&#65367;|&#7809;|&#7811;|&#373;|&#7815;|&#7813;|&#7832;|&#7817;|&#11379;|[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73])/g},{base:"x",letters:/(&#120;|&#9447;|&#65368;|&#7819;|&#7821;|[\u0078\u24E7\uFF58\u1E8B\u1E8D])/g},{base:"y",letters:/(&#121;|&#9448;|&#65369;|&#7923;|&#253;|&#375;|&#7929;|&#563;|&#7823;|&#255;|&#7927;|&#7833;|&#7925;|&#436;|&#591;|&#7935;|[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF])/g},{base:"z",letters:/(&#122;|&#9449;|&#65370;|&#378;|&#7825;|&#380;|&#382;|&#7827;|&#7829;|&#438;|&#549;|&#576;|&#11372;|&#42851;|[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763])/g}],Ae=function(e){return function(e){var t=e;return me.forEach((function(e){t=t.replace(e.letters,e.base)})),t}(e).toLowerCase()},Ce=function(e,t,n){return n?Ae(e).indexOf(Ae(t)):e.toLowerCase().indexOf(t.toLowerCase())},Fe=function(e){return"number"==typeof e},De=function(e){return e===Object(e)?Object.keys(e):[]},Se=function(e){for(var t,n=arguments.length,u=new Array(n>1?n-1:0),r=1;r<n;r++)u[r-1]=arguments[r];var o=(t=[]).concat.apply(t,u);return Object.keys(e).reduce((function(t,n){return e.hasOwnProperty(n)&&!o.includes(n)&&void 0!==e[n]&&(t[n]=e[n]),t}),{})};function Oe(e,t){return function(n){var u=function(u){var o=u.style,s=u.className,i=u.classNames,a=function(e,t){if(null==e)return{};var n,u,r=function(e,t){if(null==e)return{};var n,u,r={},o=Object.keys(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(u=0;u<o.length;u++)n=o[u],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(u,["style","className","classNames"]),l=t?t(a):void 0,c=$(e,{style:o,className:s,classNames:i},l);return y().createElement(n,r({},a,{style:c}))},o=n.displayName||n.name||"Component";return u.displayName="defaultStyle(".concat(o,")"),u}}var we=function(e){function t(){var e;return o(this,t),E(c(e=p(this,f(t).apply(this,arguments))),"setCaretElement",(function(t){e.caretElement=t})),e.state={left:void 0,top:void 0},e}return d(t,e),i(t,[{key:"componentDidMount",value:function(){this.notifyCaretPosition()}},{key:"componentDidUpdate",value:function(){this.notifyCaretPosition()}},{key:"notifyCaretPosition",value:function(){if(this.caretElement){var e=this.caretElement,t=e.offsetLeft,n=e.offsetTop;if(this.state.left!==t||this.state.top!==n){var u={left:t,top:n};this.setState(u),this.props.onCaretPositionChange(u)}}}},{key:"render",value:function(){var e,t=this,n=this.props,u=n.selectionStart,o=n.selectionEnd,s=n.value,i=n.style,a=n.children,l=n.containerRef,c=be(a);u===o&&(e=fe(s,c,u,"START"));var p=[],f={},g=p,d=0;return ce(s,c,(function(e,n,u,r,o,s,i){var a=function(e,t){return e.hasOwnProperty(t)?e[t]++:e[t]=0,t+"_"+e[t]}(f,r);g.push(t.getMentionComponentForMatch(r,o,s,a))}),(function(n,u,r){if(Fe(e)&&e>=u&&e<=u+n.length){var o=e-u;g.push(t.renderSubstring(n.substring(0,o),d)),g=[t.renderSubstring(n.substring(o),d)]}else g.push(t.renderSubstring(n,d));d++})),g.push(" "),g!==p&&p.push(this.renderHighlighterCaret(g)),y().createElement("div",r({},i,{ref:l}),p)}},{key:"renderSubstring",value:function(e,t){return y().createElement("span",r({},this.props.style("substring"),{key:t}),e)}},{key:"getMentionComponentForMatch",value:function(e,t,n,u){var r={id:e,display:t,key:u},o=h.Children.toArray(this.props.children)[n];return y().cloneElement(o,r)}},{key:"renderHighlighterCaret",value:function(e){return y().createElement("span",r({},this.props.style("caret"),{ref:this.setCaretElement,key:"caret"}),e)}}]),t}(h.Component);E(we,"propTypes",{selectionStart:ee().number,selectionEnd:ee().number,value:ee().string.isRequired,onCaretPositionChange:ee().func.isRequired,containerRef:ee().oneOfType([ee().func,ee().shape({current:"undefined"==typeof Element?ee().any:ee().instanceOf(Element)})]),children:ee().oneOfType([ee().element,ee().arrayOf(ee().element)]).isRequired}),E(we,"defaultProps",{value:""});var xe=Oe({position:"relative",boxSizing:"border-box",width:"100%",color:"transparent",overflow:"hidden",whiteSpace:"pre-wrap",wordWrap:"break-word",border:"1px solid transparent",textAlign:"start","&singleLine":{whiteSpace:"pre",wordWrap:null},substring:{visibility:"hidden"}},(function(e){return{"&singleLine":e.singleLine}}))(we),Be=function(e){function t(){return o(this,t),p(this,f(t).apply(this,arguments))}return d(t,e),i(t,[{key:"render",value:function(){var e=Se(this.props,["style","classNames","className"],De(t.propTypes));return y().createElement("li",r({id:this.props.id,role:"option","aria-selected":this.props.focused},e,this.props.style),this.renderContent())}},{key:"renderContent",value:function(){var e=this.props,t=e.query,n=e.renderSuggestion,u=e.suggestion,r=e.index,o=e.focused,s=this.getDisplay(),i=this.renderHighlightedDisplay(s,t);return n?n(u,t,i,r,o):i}},{key:"getDisplay",value:function(){var e=this.props.suggestion;if("string"==typeof e)return e;var t=e.id,n=e.display;return void 0!==t&&n?n:t}},{key:"renderHighlightedDisplay",value:function(e){var t=this.props,n=t.ignoreAccents,u=t.query,r=t.style,o=Ce(e,u,n);return-1===o?y().createElement("span",r("display"),e):y().createElement("span",r("display"),e.substring(0,o),y().createElement("b",r("highlight"),e.substring(o,o+u.length)),e.substring(o+u.length))}}]),t}(h.Component);E(Be,"propTypes",{id:ee().string.isRequired,query:ee().string.isRequired,index:ee().number.isRequired,ignoreAccents:ee().bool,suggestion:ee().oneOfType([ee().string,ee().shape({id:ee().oneOfType([ee().string,ee().number]).isRequired,display:ee().string})]).isRequired,renderSuggestion:ee().func,focused:ee().bool});var Pe=Oe({cursor:"pointer"},(function(e){return{"&focused":e.focused}}))(Be);function je(){var e=$(),t=e("spinner");return y().createElement("div",e,y().createElement("div",t,y().createElement("div",t(["element","element1"])),y().createElement("div",t(["element","element2"])),y().createElement("div",t(["element","element3"])),y().createElement("div",t(["element","element4"])),y().createElement("div",t(["element","element5"]))))}var Te=function(e){function t(){var e,n;o(this,t);for(var u=arguments.length,r=new Array(u),s=0;s<u;s++)r[s]=arguments[s];return E(c(n=p(this,(e=f(t)).call.apply(e,[this].concat(r)))),"handleMouseEnter",(function(e,t){n.props.onMouseEnter&&n.props.onMouseEnter(e)})),E(c(n),"select",(function(e,t){n.props.onSelect(e,t)})),E(c(n),"setUlElement",(function(e){n.ulElement=e})),n}return d(t,e),i(t,[{key:"componentDidUpdate",value:function(){if(this.ulElement&&!(this.ulElement.offsetHeight>=this.ulElement.scrollHeight)&&this.props.scrollFocusedIntoView){var e=this.ulElement.scrollTop,t=this.ulElement.children[this.props.focusIndex].getBoundingClientRect(),n=t.top,u=t.bottom,r=this.ulElement.getBoundingClientRect().top;u=u-r+e,(n=n-r+e)<e?this.ulElement.scrollTop=n:u>this.ulElement.offsetHeight&&(this.ulElement.scrollTop=u-this.ulElement.offsetHeight)}}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.a11ySuggestionsListLabel,u=e.isOpened,o=e.style,s=e.onMouseDown,i=e.containerRef,a=e.position,l=e.left,c=e.top;return u?y().createElement("div",r({},function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return G(G(G({},e),"function"==typeof t?t:{}),{},{style:G(G({},e.style),"function"==typeof t?t.style:t)})}),{})}({position:a||"absolute",left:l,top:c},o),{onMouseDown:s,ref:i}),y().createElement("ul",r({ref:this.setUlElement,id:t,role:"listbox","aria-label":n},o("list")),this.renderSuggestions()),this.renderLoadingIndicator()):null}},{key:"renderSuggestions",value:function(){var e=this;return Object.values(this.props.suggestions).reduce((function(t,n){var r=n.results,o=n.queryInfo;return[].concat(u(t),u(r.map((function(n,u){return e.renderSuggestion(n,o,t.length+u)}))))}),[])}},{key:"renderSuggestion",value:function(e,t,n){var u=this,r=n===this.props.focusIndex,o=t.childIndex,s=t.query,i=h.Children.toArray(this.props.children)[o].props.renderSuggestion,a=this.props.ignoreAccents;return y().createElement(Pe,{style:this.props.style("item"),key:"".concat(o,"-").concat(Le(e)),id:Ee(this.props.id,n),query:s,index:n,ignoreAccents:a,renderSuggestion:i,suggestion:e,focused:r,onClick:function(){return u.select(e,t)},onMouseEnter:function(){return u.handleMouseEnter(n)}})}},{key:"renderLoadingIndicator",value:function(){if(this.props.isLoading)return y().createElement(je,{style:this.props.style("loadingIndicator")})}}]),t}(h.Component);E(Te,"propTypes",{id:ee().string.isRequired,suggestions:ee().object.isRequired,a11ySuggestionsListLabel:ee().string,focusIndex:ee().number,position:ee().string,left:ee().number,top:ee().number,scrollFocusedIntoView:ee().bool,isLoading:ee().bool,isOpened:ee().bool.isRequired,onSelect:ee().func,ignoreAccents:ee().bool,containerRef:ee().oneOfType([ee().func,ee().shape({current:"undefined"==typeof Element?ee().any:ee().instanceOf(Element)})]),children:ee().oneOfType([ee().element,ee().arrayOf(ee().element)]).isRequired}),E(Te,"defaultProps",{suggestions:{},onSelect:function(){return null}});var Le=function(e){return"string"==typeof e?e:e.id},ke=Oe({zIndex:1,backgroundColor:"white",marginTop:14,minWidth:100,list:{margin:0,padding:0,listStyleType:"none"}})(Te);function Ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);t&&(u=u.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,u)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ie(n,!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ie(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Re={TAB:9,RETURN:13,ESC:27,UP:38,DOWN:40},Ne=!1,Me={singleLine:ee().bool,allowSpaceInQuery:ee().bool,allowSuggestionsAboveCursor:ee().bool,forceSuggestionsAboveCursor:ee().bool,ignoreAccents:ee().bool,a11ySuggestionsListLabel:ee().string,value:ee().string,onKeyDown:ee().func,onSelect:ee().func,onBlur:ee().func,onChange:ee().func,suggestionsPortalHost:"undefined"==typeof Element?ee().any:ee().PropTypes.instanceOf(Element),inputRef:ee().oneOfType([ee().func,ee().shape({current:"undefined"==typeof Element?ee().any:ee().instanceOf(Element)})]),children:ee().oneOfType([ee().element,ee().arrayOf(ee().element)]).isRequired},qe=function(e){function t(e){var n;return o(this,t),E(c(n=p(this,f(t).call(this,e))),"setContainerElement",(function(e){n.containerElement=e})),E(c(n),"getInputProps",(function(){var e=n.props,t=e.readOnly,u=e.disabled,r=e.style;return _e({},Se(n.props,["style","classNames","className"],De(Me)),{},r("input"),{value:n.getPlainText()},!t&&!u&&{onChange:n.handleChange,onSelect:n.handleSelect,onKeyDown:n.handleKeyDown,onBlur:n.handleBlur,onCompositionStart:n.handleCompositionStart,onCompositionEnd:n.handleCompositionEnd,onScroll:n.updateHighlighterScroll},{},n.isOpened()&&{role:"combobox","aria-controls":n.uuidSuggestionsOverlay,"aria-expanded":!0,"aria-autocomplete":"list","aria-haspopup":"listbox","aria-activedescendant":Ee(n.uuidSuggestionsOverlay,n.state.focusIndex)})})),E(c(n),"renderControl",(function(){var e=n.props,t=e.singleLine,u=e.style,r=n.getInputProps();return y().createElement("div",u("control"),n.renderHighlighter(),t?n.renderInput(r):n.renderTextarea(r))})),E(c(n),"renderInput",(function(e){return y().createElement("input",r({type:"text",ref:n.setInputRef},e))})),E(c(n),"renderTextarea",(function(e){return y().createElement("textarea",r({ref:n.setInputRef},e))})),E(c(n),"setInputRef",(function(e){n.inputElement=e;var t=n.props.inputRef;"function"==typeof t?t(e):t&&(t.current=e)})),E(c(n),"setSuggestionsElement",(function(e){n.suggestionsElement=e})),E(c(n),"renderSuggestionsOverlay",(function(){if(!Fe(n.state.selectionStart))return null;var e=n.state.suggestionsPosition,t=e.position,u=e.left,r=e.top,o=y().createElement(ke,{id:n.uuidSuggestionsOverlay,style:n.props.style("suggestions"),position:t,left:u,top:r,focusIndex:n.state.focusIndex,scrollFocusedIntoView:n.state.scrollFocusedIntoView,containerRef:n.setSuggestionsElement,suggestions:n.state.suggestions,onSelect:n.addMention,onMouseDown:n.handleSuggestionsMouseDown,onMouseEnter:n.handleSuggestionsMouseEnter,isLoading:n.isLoading(),isOpened:n.isOpened(),ignoreAccents:n.props.ignoreAccents,a11ySuggestionsListLabel:n.props.a11ySuggestionsListLabel},n.props.children);return n.props.suggestionsPortalHost?ne().createPortal(o,n.props.suggestionsPortalHost):o})),E(c(n),"renderHighlighter",(function(){var e=n.state,t=e.selectionStart,u=e.selectionEnd,r=n.props,o=r.singleLine,s=r.children,i=r.value,a=r.style;return y().createElement(xe,{containerRef:n.setHighlighterElement,style:a("highlighter"),value:i,singleLine:o,selectionStart:t,selectionEnd:u,onCaretPositionChange:n.handleCaretPositionChange},s)})),E(c(n),"setHighlighterElement",(function(e){n.highlighterElement=e})),E(c(n),"handleCaretPositionChange",(function(e){n.setState({caretPosition:e})})),E(c(n),"getPlainText",(function(){return pe(n.props.value||"",be(n.props.children))})),E(c(n),"executeOnChange",(function(e){for(var t=arguments.length,u=new Array(t>1?t-1:0),r=1;r<t;r++)u[r-1]=arguments[r];var o,s;return n.props.onChange?(o=n.props).onChange.apply(o,[e].concat(u)):n.props.valueLink?(s=n.props.valueLink).requestChange.apply(s,[e.target.value].concat(u)):void 0})),E(c(n),"handleChange",(function(e){if(Ne=!1,!document.documentMode||(document.activeElement&&document.activeElement.contentDocument||document).activeElement===e.target){var t=n.props.value||"",u=be(n.props.children),r=e.target.value,o=function(e,t,n,u){var r=n.selectionStartBefore,o=n.selectionEndBefore,s=n.selectionEndAfter,i=pe(e,u),a=i.length-t.length;"undefined"===r&&(r=s+a),"undefined"===o&&(o=r),r===o&&o===s&&i.length===t.length&&(r-=1);var l=t.slice(r,s),c=Math.min(r,s),p=o;r===s&&(p=Math.max(o,r+a));var f=fe(e,u,c,"START"),g=fe(e,u,p,"END"),d=fe(e,u,c,"NULL"),E=fe(e,u,p,"NULL"),h=null===d||null===E,y=ge(e,f,g,l);if(!h){var b=pe(y,u);if(b!==t){for(c=0;t[c]===b[c];)c++;l=t.slice(c,s),p=i.lastIndexOf(t.substring(s)),f=fe(e,u,c,"START"),g=fe(e,u,p,"END"),y=ge(e,f,g,l)}}return y}(t,r,{selectionStartBefore:n.state.selectionStart,selectionEndBefore:n.state.selectionEnd,selectionEndAfter:e.target.selectionEnd},u);r=pe(o,u);var s=e.target.selectionStart,i=e.target.selectionEnd,a=!1,l=function(e,t,n){var u=n,r=!1;if(ce(e,t,(function(e,t,o,s,i,a,l){o<=n&&o+i.length>n&&(u=o,r=!0)})),r)return u}(t,u,s);void 0!==l&&n.state.selectionEnd>l&&(i=s=l,a=!0),n.setState({selectionStart:s,selectionEnd:i,setSelectionAfterMentionChange:a});var c=de(o,u),p={target:{value:o}};n.executeOnChange(p,o,r,c)}})),E(c(n),"handleSelect",(function(e){if(n.setState({selectionStart:e.target.selectionStart,selectionEnd:e.target.selectionEnd}),!Ne){var t=n.inputElement;e.target.selectionStart===e.target.selectionEnd?n.updateMentionsQueries(t.value,e.target.selectionStart):n.clearSuggestions(),n.updateHighlighterScroll(),n.props.onSelect(e)}})),E(c(n),"handleKeyDown",(function(e){if(0!==he(n.state.suggestions)&&n.suggestionsElement)switch(Object.values(Re).indexOf(e.keyCode)>=0&&(e.preventDefault(),e.stopPropagation()),e.keyCode){case Re.ESC:return void n.clearSuggestions();case Re.DOWN:return void n.shiftFocus(1);case Re.UP:return void n.shiftFocus(-1);case Re.RETURN:case Re.TAB:return void n.selectFocused();default:return}else n.props.onKeyDown(e)})),E(c(n),"shiftFocus",(function(e){var t=he(n.state.suggestions);n.setState({focusIndex:(t+n.state.focusIndex+e)%t,scrollFocusedIntoView:!0})})),E(c(n),"selectFocused",(function(){var e=n.state,t=e.suggestions,r=e.focusIndex,o=Object.values(t).reduce((function(e,t){var n=t.results,r=t.queryInfo;return[].concat(u(e),u(n.map((function(e){return{result:e,queryInfo:r}}))))}),[])[r],s=o.result,i=o.queryInfo;n.addMention(s,i),n.setState({focusIndex:0})})),E(c(n),"handleBlur",(function(e){var t=n._suggestionsMouseDown;n._suggestionsMouseDown=!1,t||n.setState({selectionStart:null,selectionEnd:null}),window.setTimeout((function(){n.updateHighlighterScroll()}),1),n.props.onBlur(e,t)})),E(c(n),"handleSuggestionsMouseDown",(function(e){n._suggestionsMouseDown=!0})),E(c(n),"handleSuggestionsMouseEnter",(function(e){n.setState({focusIndex:e,scrollFocusedIntoView:!1})})),E(c(n),"updateSuggestionsPosition",(function(){var e=n.state.caretPosition,t=n.props,u=t.suggestionsPortalHost,r=t.allowSuggestionsAboveCursor,o=t.forceSuggestionsAboveCursor;if(e&&n.suggestionsElement){var s=n.suggestionsElement,i=n.highlighterElement,a=i.getBoundingClientRect(),l=He(i,"font-size"),c={left:a.left+e.left,top:a.top+e.top+l},p=Math.max(document.documentElement.clientHeight,window.innerHeight||0);if(s){var f={};if(u){f.position="fixed";var g=c.left,d=c.top;g-=He(s,"margin-left"),d-=He(s,"margin-top"),g-=i.scrollLeft,d-=i.scrollTop;var E=Math.max(document.documentElement.clientWidth,window.innerWidth||0);g+s.offsetWidth>E?f.left=Math.max(0,E-s.offsetWidth):f.left=g,r&&d+s.offsetHeight>p&&s.offsetHeight<d-l||o?f.top=Math.max(0,d-s.offsetHeight-l):f.top=d}else{var h=e.left-i.scrollLeft,y=e.top-i.scrollTop;h+s.offsetWidth>n.containerElement.offsetWidth?f.right=0:f.left=h,r&&c.top-i.scrollTop+s.offsetHeight>p&&s.offsetHeight<a.top-l-i.scrollTop?f.top=y-s.offsetHeight-l:f.top=y}f.left===n.state.suggestionsPosition.left&&f.top===n.state.suggestionsPosition.top&&f.position===n.state.suggestionsPosition.position||n.setState({suggestionsPosition:f})}}})),E(c(n),"updateHighlighterScroll",(function(){var e=n.inputElement,t=n.highlighterElement;e&&t&&(t.scrollLeft=e.scrollLeft,t.scrollTop=e.scrollTop,t.height=e.height)})),E(c(n),"handleCompositionStart",(function(){Ne=!0})),E(c(n),"handleCompositionEnd",(function(){Ne=!1})),E(c(n),"setSelection",(function(e,t){if(null!==e&&null!==t){var u=n.inputElement;if(u.setSelectionRange)u.setSelectionRange(e,t);else if(u.createTextRange){var r=u.createTextRange();r.collapse(!0),r.moveEnd("character",t),r.moveStart("character",e),r.select()}}})),E(c(n),"updateMentionsQueries",(function(e,t){n._queryId++,n.suggestions={},n.setState({suggestions:{}});var u=n.props.value||"",r=n.props.children,o=be(r),s=fe(u,o,t,"NULL");if(null!==s){var i=function(e,t){var n=de(e,t),u=n[n.length-1];return u?u.plainTextIndex+u.display.length:0}(u.substring(0,s),o),a=e.substring(i,t);y().Children.forEach(r,(function(t,u){if(t){var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e instanceof RegExp)return e;var n=t.allowSpaceInQuery,u=ue(e);return new RegExp("(?:^|\\s)(".concat(u,"([^").concat(n?"":"\\s").concat(u,"]*))$"))}(t.props.trigger,n.props),o=a.match(r);if(o){var s=i+a.indexOf(o[1],o.index);n.queryData(o[2],u,s,s+o[1].length,e)}}}))}})),E(c(n),"clearSuggestions",(function(){n._queryId++,n.suggestions={},n.setState({suggestions:{},focusIndex:0})})),E(c(n),"queryData",(function(e,t,u,r,o){var s=n.props,i=s.children,a=s.ignoreAccents,l=function(e,t){return e instanceof Array?function(n,u){for(var r=[],o=0,s=e.length;o<s;++o){var i=e[o].display||e[o].id;Ce(i,n,t)>=0&&r.push(e[o])}return r}:e}(h.Children.toArray(i)[t].props.data,a),c=l(e,n.updateSuggestions.bind(null,n._queryId,t,e,u,r,o));c instanceof Array&&n.updateSuggestions(n._queryId,t,e,u,r,o,c)})),E(c(n),"updateSuggestions",(function(e,t,u,r,o,s,i){if(e===n._queryId){n.suggestions=_e({},n.suggestions,E({},t,{queryInfo:{childIndex:t,query:u,querySequenceStart:r,querySequenceEnd:o,plainTextValue:s},results:i}));var a=n.state.focusIndex,l=he(n.suggestions);n.setState({suggestions:n.suggestions,focusIndex:a>=l?Math.max(l-1,0):a})}})),E(c(n),"addMention",(function(e,t){var u=e.id,r=e.display,o=t.childIndex,s=t.querySequenceStart,i=t.querySequenceEnd,a=t.plainTextValue,l=n.props.value||"",c=be(n.props.children),p=h.Children.toArray(n.props.children)[o].props,f=p.markup,g=p.displayTransform,d=p.appendSpaceOnAdd,E=p.onAdd,y=fe(l,c,s,"START"),b=y+i-s,v=function(e,t,n){return e.replace(re,t).replace(oe,n)}(f,u,r);d&&(v+=" ");var m=ge(l,y,b,v);n.inputElement.focus();var A=g(u,r);d&&(A+=" ");var C=s+A.length;n.setState({selectionStart:C,selectionEnd:C,setSelectionAfterMentionChange:!0});var F={target:{value:m}},D=de(m,c),S=ge(a,s,i,A);n.executeOnChange(F,m,S,D),E&&E(u,r,y,b),n.clearSuggestions()})),E(c(n),"isLoading",(function(){var e=!1;return y().Children.forEach(n.props.children,(function(t){e=e||t&&t.props.isLoading})),e})),E(c(n),"isOpened",(function(){return Fe(n.state.selectionStart)&&(0!==he(n.state.suggestions)||n.isLoading())})),E(c(n),"_queryId",0),n.suggestions={},n.uuidSuggestionsOverlay=Math.random().toString(16).substring(2),n.handleCopy=n.handleCopy.bind(c(n)),n.handleCut=n.handleCut.bind(c(n)),n.handlePaste=n.handlePaste.bind(c(n)),n.state={focusIndex:0,selectionStart:null,selectionEnd:null,suggestions:{},caretPosition:null,suggestionsPosition:{}},n}return d(t,e),i(t,[{key:"componentDidMount",value:function(){document.addEventListener("copy",this.handleCopy),document.addEventListener("cut",this.handleCut),document.addEventListener("paste",this.handlePaste),this.updateSuggestionsPosition()}},{key:"componentDidUpdate",value:function(e,t){t.suggestionsPosition===this.state.suggestionsPosition&&this.updateSuggestionsPosition(),this.state.setSelectionAfterMentionChange&&(this.setState({setSelectionAfterMentionChange:!1}),this.setSelection(this.state.selectionStart,this.state.selectionEnd))}},{key:"componentWillUnmount",value:function(){document.removeEventListener("copy",this.handleCopy),document.removeEventListener("cut",this.handleCut),document.removeEventListener("paste",this.handlePaste)}},{key:"render",value:function(){return y().createElement("div",r({ref:this.setContainerElement},this.props.style),this.renderControl(),this.renderSuggestionsOverlay())}},{key:"handlePaste",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault();var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.value,s=r.children,i=be(s),a=fe(o,i,n,"START"),l=fe(o,i,u,"END"),c=e.clipboardData.getData("text/react-mentions"),p=e.clipboardData.getData("text/plain"),f=ge(o,a,l,c||p).replace(/\r/g,""),g=pe(f,i),d={target:_e({},e.target,{value:f})};this.executeOnChange(d,f,g,de(f,i))}}},{key:"saveSelectionToClipboard",value:function(e){var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=be(o),a=fe(s,i,n,"START"),l=fe(s,i,u,"END");e.clipboardData.setData("text/plain",e.target.value.slice(n,u)),e.clipboardData.setData("text/react-mentions",s.slice(a,l))}},{key:"supportsClipboardActions",value:function(e){return!!e.clipboardData}},{key:"handleCopy",value:function(e){e.target===this.inputElement&&this.supportsClipboardActions(e)&&(e.preventDefault(),this.saveSelectionToClipboard(e))}},{key:"handleCut",value:function(e){if(e.target===this.inputElement&&this.supportsClipboardActions(e)){e.preventDefault(),this.saveSelectionToClipboard(e);var t=this.state,n=t.selectionStart,u=t.selectionEnd,r=this.props,o=r.children,s=r.value,i=be(o),a=fe(s,i,n,"START"),l=fe(s,i,u,"END"),c=[s.slice(0,a),s.slice(l)].join(""),p=pe(c,i),f={target:_e({},e.target,{value:p})};this.executeOnChange(f,c,p,de(s,i))}}}]),t}(y().Component);E(qe,"propTypes",Me),E(qe,"defaultProps",{ignoreAccents:!1,singleLine:!1,allowSuggestionsAboveCursor:!1,onKeyDown:function(){return null},onSelect:function(){return null},onBlur:function(){return null}});var He=function(e,t){var n=parseFloat(window.getComputedStyle(e,null).getPropertyValue(t));return isFinite(n)?n:0},ze=Oe({position:"relative",overflowY:"visible",input:{display:"block",width:"100%",position:"absolute",margin:0,top:0,left:0,boxSizing:"border-box",backgroundColor:"transparent",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit"},"&multiLine":{input:_e({height:"100%",bottom:0,overflow:"hidden",resize:"none"},"undefined"!=typeof navigator&&/iPhone|iPad|iPod/i.test(navigator.userAgent)?{marginTop:1,marginLeft:-3}:null)}},(function(e){var t=e.singleLine;return{"&singleLine":t,"&multiLine":!t}}))(qe),Ue={fontWeight:"inherit"},We=function(e){var t=e.display,n=e.style,u=e.className,r=e.classNames,o=$(Ue,{style:n,className:u,classNames:r});return y().createElement("strong",o,t)};We.propTypes={onAdd:ee().func,onRemove:ee().func,renderSuggestion:ee().func,trigger:ee().oneOfType([ee().string,ee().instanceOf(RegExp)]),markup:ee().string,displayTransform:ee().func,allowSpaceInQuery:ee().bool,isLoading:ee().bool},We.defaultProps={trigger:"@",markup:"@[__display__](__id__)",displayTransform:function(e,t){return t||e},onAdd:function(){return null},onRemove:function(){return null},renderSuggestion:null,isLoading:!1,appendSpaceOnAdd:!1}}}]);
package/4011.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4011],{43434:(e,t,r)=>{r.d(t,{Z:()=>c});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(15459);const p=(0,r(3752).Z)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var l=i.forwardRef((function(e,t){var r,s=e.alt,l=e.children,c=e.classes,u=e.className,f=e.component,d=void 0===f?"div":f,m=e.imgProps,h=e.sizes,g=e.src,v=e.srcSet,b=e.variant,y=void 0===b?"circle":b,w=(0,n.Z)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),Z=function(e){var t=e.src,r=e.srcSet,o=i.useState(!1),n=o[0],a=o[1];return i.useEffect((function(){if(t||r){a(!1);var e=!0,o=new Image;return o.src=t,o.srcSet=r,o.onload=function(){e&&a("loaded")},o.onerror=function(){e&&a("error")},function(){e=!1}}}),[t,r]),n}({src:g,srcSet:v}),x=g||v,E=x&&"error"!==Z;return r=E?i.createElement("img",(0,o.Z)({alt:s,src:g,srcSet:v,sizes:h,className:c.img},m)):null!=l?l:x&&s?s[0]:i.createElement(p,{className:c.fallback}),i.createElement(d,(0,o.Z)({className:(0,a.Z)(c.root,c.system,c[y],u,!E&&c.colorDefault),ref:t},w),r)}));const c=(0,s.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(l)},67358:(e,t,r)=>{r.d(t,{Z:()=>f});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(97580),p=r(15459),l=r(41128),c=r(60364),u=i.forwardRef((function(e,t){var r=e.classes,p=e.className,l=e.color,u=void 0===l?"primary":l,f=e.value,d=e.valueBuffer,m=e.variant,h=void 0===m?"indeterminate":m,g=(0,n.Z)(e,["classes","className","color","value","valueBuffer","variant"]),v=(0,c.Z)(),b={},y={bar1:{},bar2:{}};if(("determinate"===h||"buffer"===h)&&void 0!==f){b["aria-valuenow"]=Math.round(f),b["aria-valuemin"]=0,b["aria-valuemax"]=100;var w=f-100;"rtl"===v.direction&&(w=-w),y.bar1.transform="translateX(".concat(w,"%)")}if("buffer"===h&&void 0!==d){var Z=(d||0)-100;"rtl"===v.direction&&(Z=-Z),y.bar2.transform="translateX(".concat(Z,"%)")}return i.createElement("div",(0,o.Z)({className:(0,a.Z)(r.root,r["color".concat((0,s.Z)(u))],p,{determinate:r.determinate,indeterminate:r.indeterminate,buffer:r.buffer,query:r.query}[h]),role:"progressbar"},b,{ref:t},g),"buffer"===h?i.createElement("div",{className:(0,a.Z)(r.dashed,r["dashedColor".concat((0,s.Z)(u))])}):null,i.createElement("div",{className:(0,a.Z)(r.bar,r["barColor".concat((0,s.Z)(u))],("indeterminate"===h||"query"===h)&&r.bar1Indeterminate,{determinate:r.bar1Determinate,buffer:r.bar1Buffer}[h]),style:y.bar1}),"determinate"===h?null:i.createElement("div",{className:(0,a.Z)(r.bar,("indeterminate"===h||"query"===h)&&r.bar2Indeterminate,"buffer"===h?[r["color".concat((0,s.Z)(u))],r.bar2Buffer]:r["barColor".concat((0,s.Z)(u))]),style:y.bar2}))}));const f=(0,p.Z)((function(e){var t=function(t){return"light"===e.palette.type?(0,l.$n)(t,.62):(0,l._j)(t,.5)},r=t(e.palette.primary.main),o=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4,"@media print":{colorAdjust:"exact"}},colorPrimary:{backgroundColor:r},colorSecondary:{backgroundColor:o},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(o," 0%, ").concat(o," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0 -23px"},"50%":{opacity:0,backgroundPosition:"0 -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(u)},86689:(e,t,r)=>{r.d(t,{Z:()=>d});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(97580),p=r(15459),l=r(54736),c=r(85974),u=r(90436),f=i.forwardRef((function(e,t){var r=e.classes,p=e.className,f=e.color,d=void 0===f?"primary":f,m=e.component,h=void 0===m?"a":m,g=e.onBlur,v=e.onFocus,b=e.TypographyClasses,y=e.underline,w=void 0===y?"hover":y,Z=e.variant,x=void 0===Z?"inherit":Z,E=(0,n.Z)(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),T=(0,l.Z)(),C=T.isFocusVisible,k=T.onBlurVisible,O=T.ref,P=i.useState(!1),N=P[0],S=P[1],L=(0,c.Z)(t,O);return i.createElement(u.Z,(0,o.Z)({className:(0,a.Z)(r.root,r["underline".concat((0,s.Z)(w))],p,N&&r.focusVisible,"button"===h&&r.button),classes:b,color:d,component:h,onBlur:function(e){N&&(k(),S(!1)),g&&g(e)},onFocus:function(e){C(e)&&S(!0),v&&v(e)},ref:L,variant:x},E))}));const d=(0,p.Z)({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(f)},38402:(e,t,r)=>{r.d(t,{Z:()=>h});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),r(6277)),s=r(15459),p=r(57074),l=r(33996),c=r(85974),u=r(20413),f=r(75047),d="undefined"==typeof window?i.useEffect:i.useLayoutEffect,m=i.forwardRef((function(e,t){var r=e.alignItems,s=void 0===r?"center":r,m=e.autoFocus,h=void 0!==m&&m,g=e.button,v=void 0!==g&&g,b=e.children,y=e.classes,w=e.className,Z=e.component,x=e.ContainerComponent,E=void 0===x?"li":x,T=e.ContainerProps,C=(T=void 0===T?{}:T).className,k=(0,n.Z)(T,["className"]),O=e.dense,P=void 0!==O&&O,N=e.disabled,S=void 0!==N&&N,L=e.disableGutters,M=void 0!==L&&L,D=e.divider,F=void 0!==D&&D,R=e.focusVisibleClassName,B=e.selected,I=void 0!==B&&B,A=(0,n.Z)(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),H=i.useContext(u.Z),W={dense:P||H.dense||!1,alignItems:s},z=i.useRef(null);d((function(){h&&z.current&&z.current.focus()}),[h]);var j=i.Children.toArray(b),V=j.length&&(0,l.Z)(j[j.length-1],["ListItemSecondaryAction"]),K=i.useCallback((function(e){z.current=f.findDOMNode(e)}),[]),$=(0,c.Z)(K,t),U=(0,o.Z)({className:(0,a.Z)(y.root,w,W.dense&&y.dense,!M&&y.gutters,F&&y.divider,S&&y.disabled,v&&y.button,"center"!==s&&y.alignItemsFlexStart,V&&y.secondaryAction,I&&y.selected),disabled:S},A),G=Z||"li";return v&&(U.component=Z||"div",U.focusVisibleClassName=(0,a.Z)(y.focusVisible,R),G=p.Z),V?(G=U.component||Z?G:"div","li"===E&&("li"===G?G="div":"li"===U.component&&(U.component="div")),i.createElement(u.Z.Provider,{value:W},i.createElement(E,(0,o.Z)({className:(0,a.Z)(y.container,C),ref:$},k),i.createElement(G,U,j),j.pop()))):i.createElement(u.Z.Provider,{value:W},i.createElement(G,(0,o.Z)({ref:$},U),j))}));const h=(0,s.Z)((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(m)},12231:(e,t,r)=>{r.d(t,{Z:()=>u});var o=r(54530),n=r(51119),i=r(7560),a=r(24328),s=(r(13980),r(6277)),p=r(15459),l=r(38402),c=a.forwardRef((function(e,t){var r,n=e.classes,p=e.className,c=e.component,u=void 0===c?"li":c,f=e.disableGutters,d=void 0!==f&&f,m=e.ListItemClasses,h=e.role,g=void 0===h?"menuitem":h,v=e.selected,b=e.tabIndex,y=(0,o.Z)(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(r=void 0!==b?b:-1),a.createElement(l.Z,(0,i.Z)({button:!0,role:g,tabIndex:r,component:u,selected:v,disableGutters:d,classes:(0,i.Z)({dense:n.dense},m),className:(0,s.Z)(n.root,p,v&&n.selected,!d&&n.gutters),ref:t},y))}));const u=(0,p.Z)((function(e){return{root:(0,i.Z)({},e.typography.body1,(0,n.Z)({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:(0,i.Z)({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(c)},35379:(e,t,r)=>{r.d(t,{Z:()=>be});var o=r(7560),n=r(54530),i=r(24328),a=(r(13980),"undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator),s=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(a&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}(),p=a&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),s))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function c(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function u(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function f(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=c(e),r=t.overflow,o=t.overflowX,n=t.overflowY;return/(auto|scroll|overlay)/.test(r+n+o)?e:f(u(e))}function d(e){return e&&e.referenceNode?e.referenceNode:e}var m=a&&!(!window.MSInputMethodContext||!document.documentMode),h=a&&/MSIE 10/.test(navigator.userAgent);function g(e){return 11===e?m:10===e?h:m||h}function v(e){if(!e)return document.documentElement;for(var t=g(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var o=r&&r.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===c(r,"position")?v(r):r:e?e.ownerDocument.documentElement:document.documentElement}function b(e){return null!==e.parentNode?b(e.parentNode):e}function y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=r?e:t,n=r?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(n,0);var a,s,p=i.commonAncestorContainer;if(e!==p&&t!==p||o.contains(n))return"BODY"===(s=(a=p).nodeName)||"HTML"!==s&&v(a.firstElementChild)!==a?v(p):p;var l=b(e);return l.host?y(l.host,t):y(e,b(t).host)}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var n=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||n;return i[r]}return e[r]}function Z(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=w(t,"top"),n=w(t,"left"),i=r?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=n*i,e.right+=n*i,e}function x(e,t){var r="x"===t?"Left":"Top",o="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"])+parseFloat(e["border"+o+"Width"])}function E(e,t,r,o){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],g(10)?parseInt(r["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function T(e){var t=e.body,r=e.documentElement,o=g(10)&&getComputedStyle(r);return{height:E("Height",t,r,o),width:E("Width",t,r,o)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},k=function(){function e(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,r,o){return r&&e(t.prototype,r),o&&e(t,o),t}}(),O=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e};function N(e){return P({},e,{right:e.left+e.width,bottom:e.top+e.height})}function S(e){var t={};try{if(g(10)){t=e.getBoundingClientRect();var r=w(e,"top"),o=w(e,"left");t.top+=r,t.left+=o,t.bottom+=r,t.right+=o}else t=e.getBoundingClientRect()}catch(e){}var n={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?T(e.ownerDocument):{},a=i.width||e.clientWidth||n.width,s=i.height||e.clientHeight||n.height,p=e.offsetWidth-a,l=e.offsetHeight-s;if(p||l){var u=c(e);p-=x(u,"x"),l-=x(u,"y"),n.width-=p,n.height-=l}return N(n)}function L(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=g(10),n="HTML"===t.nodeName,i=S(e),a=S(t),s=f(e),p=c(t),l=parseFloat(p.borderTopWidth),u=parseFloat(p.borderLeftWidth);r&&n&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=N({top:i.top-a.top-l,left:i.left-a.left-u,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!o&&n){var m=parseFloat(p.marginTop),h=parseFloat(p.marginLeft);d.top-=l-m,d.bottom-=l-m,d.left-=u-h,d.right-=u-h,d.marginTop=m,d.marginLeft=h}return(o&&!r?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=Z(d,t)),d}function M(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,o=L(e,r),n=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:w(r),s=t?0:w(r,"left"),p={top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:n,height:i};return N(p)}function D(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===c(e,"position"))return!0;var r=u(e);return!!r&&D(r)}function F(e){if(!e||!e.parentElement||g())return document.documentElement;for(var t=e.parentElement;t&&"none"===c(t,"transform");)t=t.parentElement;return t||document.documentElement}function R(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=n?F(e):y(e,d(t));if("viewport"===o)i=M(a,n);else{var s=void 0;"scrollParent"===o?"BODY"===(s=f(u(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===o?e.ownerDocument.documentElement:o;var p=L(s,a,n);if("HTML"!==s.nodeName||D(a))i=p;else{var l=T(e.ownerDocument),c=l.height,m=l.width;i.top+=p.top-p.marginTop,i.bottom=c+p.top,i.left+=p.left-p.marginLeft,i.right=m+p.left}}var h="number"==typeof(r=r||0);return i.left+=h?r:r.left||0,i.top+=h?r:r.top||0,i.right-=h?r:r.right||0,i.bottom-=h?r:r.bottom||0,i}function B(e){return e.width*e.height}function I(e,t,r,o,n){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=R(r,o,i,n),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},p=Object.keys(s).map((function(e){return P({key:e},s[e],{area:B(s[e])})})).sort((function(e,t){return t.area-e.area})),l=p.filter((function(e){var t=e.width,o=e.height;return t>=r.clientWidth&&o>=r.clientHeight})),c=l.length>0?l[0].key:p[0].key,u=e.split("-")[1];return c+(u?"-"+u:"")}function A(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,n=o?F(t):y(t,d(r));return L(r,n,o)}function H(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+r}}function W(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function z(e,t,r){r=r.split("-")[0];var o=H(e),n={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(r),a=i?"top":"left",s=i?"left":"top",p=i?"height":"width",l=i?"width":"height";return n[a]=t[a]+t[p]/2-o[p]/2,n[s]=r===s?t[s]-o[l]:t[W(s)],n}function j(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function V(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e.name===r}));var o=j(e,(function(e){return e.name===r}));return e.indexOf(o)}(e,0,r))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&l(r)&&(t.offsets.popper=N(t.offsets.popper),t.offsets.reference=N(t.offsets.reference),t=r(t,e))})),t}function K(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=A(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=I(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=V(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function $(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function U(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),o=0;o<t.length;o++){var n=t[o],i=n?""+n+r:e;if(void 0!==document.body.style[i])return i}return null}function G(){return this.state.isDestroyed=!0,$(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[U("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function q(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,r,o){var n="BODY"===e.nodeName,i=n?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),n||Y(f(i.parentNode),t,r,o),o.push(i)}function _(e,t,r,o){r.updateBound=o,q(e).addEventListener("resize",r.updateBound,{passive:!0});var n=f(e);return Y(n,"scroll",r.updateBound,r.scrollParents),r.scrollElement=n,r.eventsEnabled=!0,r}function X(){this.state.eventsEnabled||(this.state=_(this.reference,this.options,this.state,this.scheduleUpdate))}function J(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,q(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function ee(e,t){Object.keys(t).forEach((function(r){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&Q(t[r])&&(o="px"),e.style[r]=t[r]+o}))}var te=a&&/Firefox/i.test(navigator.userAgent);function re(e,t,r){var o=j(e,(function(e){return e.name===t})),n=!!o&&e.some((function(e){return e.name===r&&e.enabled&&e.order<o.order}));if(!n){var i="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return n}var oe=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ne=oe.slice(3);function ie(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=ne.indexOf(e),o=ne.slice(r+1).concat(ne.slice(0,r));return t?o.reverse():o}var ae={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],o=t.split("-")[1];if(o){var n=e.offsets,i=n.reference,a=n.popper,s=-1!==["bottom","top"].indexOf(r),p=s?"left":"top",l=s?"width":"height",c={start:O({},p,i[p]),end:O({},p,i[p]+i[l]-a[l])};e.offsets.popper=P({},a,c[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r,o=t.offset,n=e.placement,i=e.offsets,a=i.popper,s=i.reference,p=n.split("-")[0];return r=Q(+o)?[+o,0]:function(e,t,r,o){var n=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(j(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,l=-1!==s?[a.slice(0,s).concat([a[s].split(p)[0]]),[a[s].split(p)[1]].concat(a.slice(s+1))]:[a];return l=l.map((function(e,o){var n=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,o){var n=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+n[1],a=n[2];return i?0===a.indexOf("%")?N("%p"===a?r:o)[t]/100*i:"vh"===a||"vw"===a?("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i:i:e}(e,n,t,r)}))})),l.forEach((function(e,t){e.forEach((function(r,o){Q(r)&&(n[t]+=r*("-"===e[o-1]?-1:1))}))})),n}(o,a,s,p),"left"===p?(a.top+=r[0],a.left-=r[1]):"right"===p?(a.top+=r[0],a.left+=r[1]):"top"===p?(a.left+=r[0],a.top-=r[1]):"bottom"===p&&(a.left+=r[0],a.top+=r[1]),e.popper=a,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||v(e.instance.popper);e.instance.reference===r&&(r=v(r));var o=U("transform"),n=e.instance.popper.style,i=n.top,a=n.left,s=n[o];n.top="",n.left="",n[o]="";var p=R(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);n.top=i,n.left=a,n[o]=s,t.boundaries=p;var l=t.priority,c=e.offsets.popper,u={primary:function(e){var r=c[e];return c[e]<p[e]&&!t.escapeWithReference&&(r=Math.max(c[e],p[e])),O({},e,r)},secondary:function(e){var r="right"===e?"left":"top",o=c[r];return c[e]>p[e]&&!t.escapeWithReference&&(o=Math.min(c[r],p[e]-("right"===e?c.width:c.height))),O({},r,o)}};return l.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=P({},c,u[t](e))})),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,o=t.reference,n=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(n),s=a?"right":"bottom",p=a?"left":"top",l=a?"width":"height";return r[s]<i(o[p])&&(e.offsets.popper[p]=i(o[p])-r[l]),r[p]>i(o[s])&&(e.offsets.popper[p]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var r;if(!re(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var n=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,p=-1!==["left","right"].indexOf(n),l=p?"height":"width",u=p?"Top":"Left",f=u.toLowerCase(),d=p?"left":"top",m=p?"bottom":"right",h=H(o)[l];s[m]-h<a[f]&&(e.offsets.popper[f]-=a[f]-(s[m]-h)),s[f]+h>a[m]&&(e.offsets.popper[f]+=s[f]+h-a[m]),e.offsets.popper=N(e.offsets.popper);var g=s[f]+s[l]/2-h/2,v=c(e.instance.popper),b=parseFloat(v["margin"+u]),y=parseFloat(v["border"+u+"Width"]),w=g-e.offsets.popper[f]-b-y;return w=Math.max(Math.min(a[l]-h,w),0),e.arrowElement=o,e.offsets.arrow=(O(r={},f,Math.round(w)),O(r,d,""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if($(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=R(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],n=W(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case"flip":a=[o,n];break;case"clockwise":a=ie(o);break;case"counterclockwise":a=ie(o,!0);break;default:a=t.behavior}return a.forEach((function(s,p){if(o!==s||a.length===p+1)return e;o=e.placement.split("-")[0],n=W(o);var l=e.offsets.popper,c=e.offsets.reference,u=Math.floor,f="left"===o&&u(l.right)>u(c.left)||"right"===o&&u(l.left)<u(c.right)||"top"===o&&u(l.bottom)>u(c.top)||"bottom"===o&&u(l.top)<u(c.bottom),d=u(l.left)<u(r.left),m=u(l.right)>u(r.right),h=u(l.top)<u(r.top),g=u(l.bottom)>u(r.bottom),v="left"===o&&d||"right"===o&&m||"top"===o&&h||"bottom"===o&&g,b=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&m||!b&&"start"===i&&h||!b&&"end"===i&&g),w=!!t.flipVariationsByContent&&(b&&"start"===i&&m||b&&"end"===i&&d||!b&&"start"===i&&g||!b&&"end"===i&&h),Z=y||w;(f||v||Z)&&(e.flipped=!0,(f||v)&&(o=a[p+1]),Z&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=P({},e.offsets.popper,z(e.instance.popper,e.offsets.reference,e.placement)),e=V(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],o=e.offsets,n=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(r),s=-1===["top","left"].indexOf(r);return n[a?"left":"top"]=i[r]-(s?n[a?"width":"height"]:0),e.placement=W(t),e.offsets.popper=N(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(!re(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=j(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,o=t.y,n=e.offsets.popper,i=j(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a,s,p=void 0!==i?i:t.gpuAcceleration,l=v(e.instance.popper),c=S(l),u={position:n.position},f=function(e,t){var r=e.offsets,o=r.popper,n=r.reference,i=Math.round,a=Math.floor,s=function(e){return e},p=i(n.width),l=i(o.width),c=-1!==["left","right"].indexOf(e.placement),u=-1!==e.placement.indexOf("-"),f=t?c||u||p%2==l%2?i:a:s,d=t?i:s;return{left:f(p%2==1&&l%2==1&&!u&&t?o.left-1:o.left),top:d(o.top),bottom:d(o.bottom),right:f(o.right)}}(e,window.devicePixelRatio<2||!te),d="bottom"===r?"top":"bottom",m="right"===o?"left":"right",h=U("transform");if(s="bottom"===d?"HTML"===l.nodeName?-l.clientHeight+f.bottom:-c.height+f.bottom:f.top,a="right"===m?"HTML"===l.nodeName?-l.clientWidth+f.right:-c.width+f.right:f.left,p&&h)u[h]="translate3d("+a+"px, "+s+"px, 0)",u[d]=0,u[m]=0,u.willChange="transform";else{var g="bottom"===d?-1:1,b="right"===m?-1:1;u[d]=s*g,u[m]=a*b,u.willChange=d+", "+m}var y={"x-placement":e.placement};return e.attributes=P({},y,e.attributes),e.styles=P({},u,e.styles),e.arrowStyles=P({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,r;return ee(e.instance.popper,e.styles),t=e.instance.popper,r=e.attributes,Object.keys(r).forEach((function(e){!1!==r[e]?t.setAttribute(e,r[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&ee(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,o,n){var i=A(n,t,e,r.positionFixed),a=I(r.placement,i,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),ee(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},se=function(){function e(t,r){var o=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=p(this.update.bind(this)),this.options=P({},e.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(P({},e.Defaults.modifiers,n.modifiers)).forEach((function(t){o.options.modifiers[t]=P({},e.Defaults.modifiers[t]||{},n.modifiers?n.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return P({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&l(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return k(e,[{key:"update",value:function(){return K.call(this)}},{key:"destroy",value:function(){return G.call(this)}},{key:"enableEventListeners",value:function(){return X.call(this)}},{key:"disableEventListeners",value:function(){return J.call(this)}}]),e}();se.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,se.placements=oe,se.Defaults=ae;const pe=se;var le=r(36138),ce=r(8560),ue=r(11375),fe=r(52955),de=r(85974);function me(e){return"function"==typeof e?e():e}var he="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,ge={},ve=i.forwardRef((function(e,t){var r=e.anchorEl,a=e.children,s=e.container,p=e.disablePortal,l=void 0!==p&&p,c=e.keepMounted,u=void 0!==c&&c,f=e.modifiers,d=e.open,m=e.placement,h=void 0===m?"bottom":m,g=e.popperOptions,v=void 0===g?ge:g,b=e.popperRef,y=e.style,w=e.transition,Z=void 0!==w&&w,x=(0,n.Z)(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition"]),E=i.useRef(null),T=(0,de.Z)(E,t),C=i.useRef(null),k=(0,de.Z)(C,b),O=i.useRef(k);he((function(){O.current=k}),[k]),i.useImperativeHandle(b,(function(){return C.current}),[]);var P=i.useState(!0),N=P[0],S=P[1],L=function(e,t){if("ltr"===(t&&t.direction||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(h,(0,le.useTheme)()),M=i.useState(L),D=M[0],F=M[1];i.useEffect((function(){C.current&&C.current.update()}));var R=i.useCallback((function(){if(E.current&&r&&d){C.current&&(C.current.destroy(),O.current(null));var e=function(e){F(e.placement)},t=(me(r),new pe(me(r),E.current,(0,o.Z)({placement:L},v,{modifiers:(0,o.Z)({},l?{}:{preventOverflow:{boundariesElement:"window"}},f,v.modifiers),onCreate:(0,ue.Z)(e,v.onCreate),onUpdate:(0,ue.Z)(e,v.onUpdate)})));O.current(t)}}),[r,l,f,d,L,v]),B=i.useCallback((function(e){(0,fe.Z)(T,e),R()}),[T,R]),I=function(){C.current&&(C.current.destroy(),O.current(null))};if(i.useEffect((function(){return function(){I()}}),[]),i.useEffect((function(){d||Z||I()}),[d,Z]),!u&&!d&&(!Z||N))return null;var A={placement:D};return Z&&(A.TransitionProps={in:d,onEnter:function(){S(!1)},onExited:function(){S(!0),I()}}),i.createElement(ce.Z,{disablePortal:l,container:s},i.createElement("div",(0,o.Z)({ref:B,role:"tooltip"},x,{style:(0,o.Z)({position:"fixed",top:0,left:0,display:d||!u||Z?null:"none"},y)}),"function"==typeof a?a(A):a))}));const be=ve},80030:(e,t,r)=>{r.d(t,{ZP:()=>k});var o=r(7560),n=r(85354),i=r(54530),a=r(51119),s=r(24328),p=r(75047),l=(r(13980),r(6277)),c=r(83593),u=r(41128),f=r(15459),d=r(97580),m=r(72654),h=r(35379),g=r(85974),v=r(66049),b=r(52955),y=r(54736),w=r(24514),Z=r(60364);function x(e){return Math.round(1e5*e)/1e5}var E=!1,T=null,C=s.forwardRef((function(e,t){var r=e.arrow,a=void 0!==r&&r,u=e.children,f=e.classes,x=e.disableFocusListener,C=void 0!==x&&x,k=e.disableHoverListener,O=void 0!==k&&k,P=e.disableTouchListener,N=void 0!==P&&P,S=e.enterDelay,L=void 0===S?100:S,M=e.enterNextDelay,D=void 0===M?0:M,F=e.enterTouchDelay,R=void 0===F?700:F,B=e.id,I=e.interactive,A=void 0!==I&&I,H=e.leaveDelay,W=void 0===H?0:H,z=e.leaveTouchDelay,j=void 0===z?1500:z,V=e.onClose,K=e.onOpen,$=e.open,U=e.placement,G=void 0===U?"bottom":U,q=e.PopperComponent,Y=void 0===q?h.Z:q,_=e.PopperProps,X=e.title,J=e.TransitionComponent,Q=void 0===J?m.Z:J,ee=e.TransitionProps,te=(0,i.Z)(e,["arrow","children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","title","TransitionComponent","TransitionProps"]),re=(0,Z.Z)(),oe=s.useState(),ne=oe[0],ie=oe[1],ae=s.useState(null),se=ae[0],pe=ae[1],le=s.useRef(!1),ce=s.useRef(),ue=s.useRef(),fe=s.useRef(),de=s.useRef(),me=(0,w.Z)({controlled:$,default:!1,name:"Tooltip",state:"open"}),he=(0,n.Z)(me,2),ge=he[0],ve=he[1],be=ge,ye=(0,v.Z)(B);s.useEffect((function(){return function(){clearTimeout(ce.current),clearTimeout(ue.current),clearTimeout(fe.current),clearTimeout(de.current)}}),[]);var we=function(e){clearTimeout(T),E=!0,ve(!0),K&&K(e)},Ze=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var r=u.props;"mouseover"===t.type&&r.onMouseOver&&e&&r.onMouseOver(t),le.current&&"touchstart"!==t.type||(ne&&ne.removeAttribute("title"),clearTimeout(ue.current),clearTimeout(fe.current),L||E&&D?(t.persist(),ue.current=setTimeout((function(){we(t)}),E?D:L)):we(t))}},xe=(0,y.Z)(),Ee=xe.isFocusVisible,Te=xe.onBlurVisible,Ce=xe.ref,ke=s.useState(!1),Oe=ke[0],Pe=ke[1],Ne=function(){Oe&&(Pe(!1),Te())},Se=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){ne||ie(t.currentTarget),Ee(t)&&(Pe(!0),Ze()(t));var r=u.props;r.onFocus&&e&&r.onFocus(t)}},Le=function(e){clearTimeout(T),T=setTimeout((function(){E=!1}),800+W),ve(!1),V&&V(e),clearTimeout(ce.current),ce.current=setTimeout((function(){le.current=!1}),re.transitions.duration.shortest)},Me=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return function(t){var r=u.props;"blur"===t.type&&(r.onBlur&&e&&r.onBlur(t),Ne()),"mouseleave"===t.type&&r.onMouseLeave&&t.currentTarget===ne&&r.onMouseLeave(t),clearTimeout(ue.current),clearTimeout(fe.current),t.persist(),fe.current=setTimeout((function(){Le(t)}),W)}},De=function(e){le.current=!0;var t=u.props;t.onTouchStart&&t.onTouchStart(e)},Fe=(0,g.Z)(ie,t),Re=(0,g.Z)(Ce,Fe),Be=s.useCallback((function(e){(0,b.Z)(Re,p.findDOMNode(e))}),[Re]),Ie=(0,g.Z)(u.ref,Be);""===X&&(be=!1);var Ae=!be&&!O,He=(0,o.Z)({"aria-describedby":be?ye:null,title:Ae&&"string"==typeof X?X:null},te,u.props,{className:(0,l.Z)(te.className,u.props.className),onTouchStart:De,ref:Ie}),We={};N||(He.onTouchStart=function(e){De(e),clearTimeout(fe.current),clearTimeout(ce.current),clearTimeout(de.current),e.persist(),de.current=setTimeout((function(){Ze()(e)}),R)},He.onTouchEnd=function(e){u.props.onTouchEnd&&u.props.onTouchEnd(e),clearTimeout(de.current),clearTimeout(fe.current),e.persist(),fe.current=setTimeout((function(){Le(e)}),j)}),O||(He.onMouseOver=Ze(),He.onMouseLeave=Me(),A&&(We.onMouseOver=Ze(!1),We.onMouseLeave=Me(!1))),C||(He.onFocus=Se(),He.onBlur=Me(),A&&(We.onFocus=Se(!1),We.onBlur=Me(!1)));var ze=s.useMemo((function(){return(0,c.Z)({popperOptions:{modifiers:{arrow:{enabled:Boolean(se),element:se}}}},_)}),[se,_]);return s.createElement(s.Fragment,null,s.cloneElement(u,He),s.createElement(Y,(0,o.Z)({className:(0,l.Z)(f.popper,A&&f.popperInteractive,a&&f.popperArrow),placement:G,anchorEl:ne,open:!!ne&&be,id:He["aria-describedby"],transition:!0},We,ze),(function(e){var t=e.placement,r=e.TransitionProps;return s.createElement(Q,(0,o.Z)({timeout:re.transitions.duration.shorter},r,ee),s.createElement("div",{className:(0,l.Z)(f.tooltip,f["tooltipPlacement".concat((0,d.Z)(t.split("-")[0]))],le.current&&f.touch,a&&f.tooltipArrow)},X,a?s.createElement("span",{className:f.arrow,ref:pe}):null))})))}));const k=(0,f.Z)((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none"},popperInteractive:{pointerEvents:"auto"},popperArrow:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},tooltip:{backgroundColor:(0,u.U1)(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(x(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},tooltipArrow:{position:"relative",margin:"0"},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:(0,u.U1)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(x(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:(0,a.Z)({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:(0,a.Z)({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:(0,a.Z)({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:(0,a.Z)({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip",flip:!1})(C)},66049:(e,t,r)=>{r.d(t,{Z:()=>n});var o=r(24328);function n(e){var t=o.useState(e),r=t[0],n=t[1],i=e||r;return o.useEffect((function(){null==r&&n("mui-".concat(Math.round(1e5*Math.random())))}),[r]),i}},3340:(e,t,r)=>{r.d(t,{Cg:()=>a,j1:()=>s,vQ:()=>p,h$:()=>l,sc:()=>c,tv:()=>u,E0:()=>f,ZP:()=>d});var o=r(24809),n=r(35328);function i(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var a=(0,o.Z)({prop:"border",themeKey:"borders",transform:i}),s=(0,o.Z)({prop:"borderTop",themeKey:"borders",transform:i}),p=(0,o.Z)({prop:"borderRight",themeKey:"borders",transform:i}),l=(0,o.Z)({prop:"borderBottom",themeKey:"borders",transform:i}),c=(0,o.Z)({prop:"borderLeft",themeKey:"borders",transform:i}),u=(0,o.Z)({prop:"borderColor",themeKey:"palette"}),f=(0,o.Z)({prop:"borderRadius",themeKey:"shape"});const d=(0,n.Z)(a,s,p,l,c,u,f)},35328:(e,t,r)=>{r.d(t,{Z:()=>n});var o=r(39413);const n=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=function(e){return t.reduce((function(t,r){var n=r(e);return n?(0,o.Z)(t,n):t}),{})};return n.propTypes={},n.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),n}},48557:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(11720),n=r(7560),i=(r(13980),r(39413));const a=function(e){var t=function(t){var r=e(t);return t.css?(0,n.Z)({},(0,i.Z)(r,e((0,n.Z)({theme:t.theme},t.css))),function(e,t){var r={};return Object.keys(e).forEach((function(o){-1===t.indexOf(o)&&(r[o]=e[o])})),r}(t.css,[e.filterProps])):r};return t.propTypes={},t.filterProps=["css"].concat((0,o.Z)(e.filterProps)),t}},15857:(e,t,r)=>{r.d(t,{ZP:()=>u});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),a=(0,o.Z)({prop:"display"}),s=(0,o.Z)({prop:"overflow"}),p=(0,o.Z)({prop:"textOverflow"}),l=(0,o.Z)({prop:"visibility"}),c=(0,o.Z)({prop:"whiteSpace"});const u=(0,n.Z)(i,a,s,p,l,c)},61700:(e,t,r)=>{r.d(t,{P_:()=>i,Me:()=>a,WO:()=>s,Kl:()=>p,cq:()=>l,Kv:()=>c,vm:()=>u,fU:()=>f,H7:()=>d,i4:()=>m,uk:()=>h,eY:()=>g,zo:()=>v,ZP:()=>b});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"flexBasis"}),a=(0,o.Z)({prop:"flexDirection"}),s=(0,o.Z)({prop:"flexWrap"}),p=(0,o.Z)({prop:"justifyContent"}),l=(0,o.Z)({prop:"alignItems"}),c=(0,o.Z)({prop:"alignContent"}),u=(0,o.Z)({prop:"order"}),f=(0,o.Z)({prop:"flex"}),d=(0,o.Z)({prop:"flexGrow"}),m=(0,o.Z)({prop:"flexShrink"}),h=(0,o.Z)({prop:"alignSelf"}),g=(0,o.Z)({prop:"justifyItems"}),v=(0,o.Z)({prop:"justifySelf"});const b=(0,n.Z)(i,a,s,p,l,c,u,f,d,m,h,g,v)},58881:(e,t,r)=>{r.d(t,{Cc:()=>i,W3:()=>a,Ub:()=>s,t4:()=>p,oI:()=>l,B:()=>c,aN:()=>u,FW:()=>f,K$:()=>d,RG:()=>m,zI:()=>h,fD:()=>g,ZP:()=>v});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"gridGap"}),a=(0,o.Z)({prop:"gridColumnGap"}),s=(0,o.Z)({prop:"gridRowGap"}),p=(0,o.Z)({prop:"gridColumn"}),l=(0,o.Z)({prop:"gridRow"}),c=(0,o.Z)({prop:"gridAutoFlow"}),u=(0,o.Z)({prop:"gridAutoColumns"}),f=(0,o.Z)({prop:"gridAutoRows"}),d=(0,o.Z)({prop:"gridTemplateColumns"}),m=(0,o.Z)({prop:"gridTemplateRows"}),h=(0,o.Z)({prop:"gridTemplateAreas"}),g=(0,o.Z)({prop:"gridArea"});const v=(0,n.Z)(i,a,s,p,l,c,u,f,d,m,h,g)},27358:(e,t,r)=>{r.d(t,{$_:()=>i,n9:()=>a,ZP:()=>s});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"color",themeKey:"palette"}),a=(0,o.Z)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"});const s=(0,n.Z)(i,a)},3305:(e,t,r)=>{r.d(t,{FK:()=>i,W5:()=>a,we:()=>s,F2:()=>p,I:()=>l,t$:()=>c,ZP:()=>u});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"position"}),a=(0,o.Z)({prop:"zIndex",themeKey:"zIndex"}),s=(0,o.Z)({prop:"top"}),p=(0,o.Z)({prop:"right"}),l=(0,o.Z)({prop:"bottom"}),c=(0,o.Z)({prop:"left"});const u=(0,n.Z)(i,a,s,p,l,c)},12221:(e,t,r)=>{r.d(t,{Z:()=>o});const o=(0,r(24809).Z)({prop:"boxShadow",themeKey:"shadows"})},27804:(e,t,r)=>{r.d(t,{bf:()=>a,kk:()=>s,ih:()=>p,Cb:()=>l,kC:()=>c,jw:()=>u,lO:()=>f,Vs:()=>d,ix:()=>m,ZP:()=>h});var o=r(24809),n=r(35328);function i(e){return e<=1?"".concat(100*e,"%"):e}var a=(0,o.Z)({prop:"width",transform:i}),s=(0,o.Z)({prop:"maxWidth",transform:i}),p=(0,o.Z)({prop:"minWidth",transform:i}),l=(0,o.Z)({prop:"height",transform:i}),c=(0,o.Z)({prop:"maxHeight",transform:i}),u=(0,o.Z)({prop:"minHeight",transform:i}),f=(0,o.Z)({prop:"size",cssProperty:"width",transform:i}),d=(0,o.Z)({prop:"size",cssProperty:"height",transform:i}),m=(0,o.Z)({prop:"boxSizing"});const h=(0,n.Z)(a,s,p,l,c,u,m)},24809:(e,t,r)=>{r.d(t,{Z:()=>a});var o=r(51119),n=r(21226);function i(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}const a=function(e){var t=e.prop,r=e.cssProperty,a=void 0===r?e.prop:r,s=e.themeKey,p=e.transform,l=function(e){if(null==e[t])return null;var r=e[t],l=i(e.theme,s)||{};return(0,n.k)(e,r,(function(e){var t;return"function"==typeof l?t=l(e):Array.isArray(l)?t=l[e]||e:(t=i(l,e)||e,p&&(t=p(t))),!1===a?t:(0,o.Z)({},a,t)}))};return l.propTypes={},l.filterProps=[t],l}},63842:(e,t,r)=>{r.d(t,{I8:()=>i,JB:()=>a,p_:()=>s,Ue:()=>p,rX:()=>l,Nv:()=>c,yd:()=>u,ZP:()=>f});var o=r(24809),n=r(35328),i=(0,o.Z)({prop:"fontFamily",themeKey:"typography"}),a=(0,o.Z)({prop:"fontSize",themeKey:"typography"}),s=(0,o.Z)({prop:"fontStyle",themeKey:"typography"}),p=(0,o.Z)({prop:"fontWeight",themeKey:"typography"}),l=(0,o.Z)({prop:"letterSpacing"}),c=(0,o.Z)({prop:"lineHeight"}),u=(0,o.Z)({prop:"textAlign"});const f=(0,n.Z)(i,a,s,p,l,c,u)}}]);
package/4276.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4276],{1292:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(24328),a=n(75047),r=(n(13980),n(8732)),i=n(85974),c=n(74718);function l(e){return e.substring(2).toLowerCase()}const s=function(e){var t=e.children,n=e.disableReactTree,s=void 0!==n&&n,d=e.mouseEvent,u=void 0===d?"onClick":d,p=e.onClickAway,m=e.touchEvent,f=void 0===m?"onTouchEnd":m,g=o.useRef(!1),h=o.useRef(null),v=o.useRef(!1),Z=o.useRef(!1);o.useEffect((function(){return setTimeout((function(){v.current=!0}),0),function(){v.current=!1}}),[]);var y=o.useCallback((function(e){h.current=a.findDOMNode(e)}),[]),x=(0,i.Z)(t.ref,y),b=(0,c.Z)((function(e){var t=Z.current;if(Z.current=!1,v.current&&h.current&&!function(e){return document.documentElement.clientWidth<e.clientX||document.documentElement.clientHeight<e.clientY}(e))if(g.current)g.current=!1;else{(e.composedPath?e.composedPath().indexOf(h.current)>-1:!(0,r.Z)(h.current).documentElement.contains(e.target)||h.current.contains(e.target))||!s&&t||p(e)}})),E=function(e){return function(n){Z.current=!0;var o=t.props[e];o&&o(n)}},k={ref:x};return!1!==f&&(k[f]=E(f)),o.useEffect((function(){if(!1!==f){var e=l(f),t=(0,r.Z)(h.current),n=function(){g.current=!0};return t.addEventListener(e,b),t.addEventListener("touchmove",n),function(){t.removeEventListener(e,b),t.removeEventListener("touchmove",n)}}}),[b,f]),!1!==u&&(k[u]=E(u)),o.useEffect((function(){if(!1!==u){var e=l(u),t=(0,r.Z)(h.current);return t.addEventListener(e,b),function(){t.removeEventListener(e,b)}}}),[b,u]),o.createElement(o.Fragment,null,o.cloneElement(t,k))}},85256:(e,t,n)=>{n.d(t,{Z:()=>d});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(41128),s=r.forwardRef((function(e,t){var n=e.absolute,c=void 0!==n&&n,l=e.classes,s=e.className,d=e.component,u=void 0===d?"hr":d,p=e.flexItem,m=void 0!==p&&p,f=e.light,g=void 0!==f&&f,h=e.orientation,v=void 0===h?"horizontal":h,Z=e.role,y=void 0===Z?"hr"!==u?"separator":void 0:Z,x=e.variant,b=void 0===x?"fullWidth":x,E=(0,a.Z)(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return r.createElement(u,(0,o.Z)({className:(0,i.Z)(l.root,s,"fullWidth"!==b&&l[b],c&&l.absolute,m&&l.flexItem,g&&l.light,"vertical"===v&&l.vertical),role:y,ref:t},E))}));const d=(0,c.Z)((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:(0,l.U1)(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(s)},64326:(e,t,n)=>{n.d(t,{Z:()=>s});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=r.forwardRef((function(e,t){var n=e.classes,c=e.className,l=e.row,s=void 0!==l&&l,d=(0,a.Z)(e,["classes","className","row"]);return r.createElement("div",(0,o.Z)({className:(0,i.Z)(n.root,c,s&&n.row),ref:t},d))}));const s=(0,c.Z)({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(l)},49378:(e,t,n)=>{n.d(t,{Z:()=>u});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(90436),s=n(20413),d=r.forwardRef((function(e,t){var n=e.children,c=e.classes,d=e.className,u=e.disableTypography,p=void 0!==u&&u,m=e.inset,f=void 0!==m&&m,g=e.primary,h=e.primaryTypographyProps,v=e.secondary,Z=e.secondaryTypographyProps,y=(0,a.Z)(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),x=r.useContext(s.Z).dense,b=null!=g?g:n;null==b||b.type===l.Z||p||(b=r.createElement(l.Z,(0,o.Z)({variant:x?"body2":"body1",className:c.primary,component:"span",display:"block"},h),b));var E=v;return null==E||E.type===l.Z||p||(E=r.createElement(l.Z,(0,o.Z)({variant:"body2",className:c.secondary,color:"textSecondary",display:"block"},Z),E)),r.createElement("div",(0,o.Z)({className:(0,i.Z)(c.root,d,x&&c.dense,f&&c.inset,b&&E&&c.multiline),ref:t},y),b,E)}));const u=(0,c.Z)({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(d)},44962:(e,t,n)=>{n.d(t,{Z:()=>x});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(28838),l=n(3752);const s=(0,l.Z)(r.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),d=(0,l.Z)(r.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked");var u=n(15459);const p=(0,u.Z)((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes,o=e.fontSize;return r.createElement("div",{className:(0,i.Z)(n.root,t&&n.checked)},r.createElement(s,{fontSize:o}),r.createElement(d,{fontSize:o,className:n.layer}))}));var m=n(41128),f=n(97580),g=n(11375),h=n(72909),v=r.createElement(p,{checked:!0}),Z=r.createElement(p,null),y=r.forwardRef((function(e,t){var n=e.checked,l=e.classes,s=e.color,d=void 0===s?"secondary":s,u=e.name,p=e.onChange,m=e.size,y=void 0===m?"medium":m,x=(0,a.Z)(e,["checked","classes","color","name","onChange","size"]),b=(0,h.Z)(),E=n,k=(0,g.Z)(p,b&&b.onChange),C=u;return b&&(void 0===E&&(E=b.value===e.value),void 0===C&&(C=b.name)),r.createElement(c.Z,(0,o.Z)({color:d,type:"radio",icon:r.cloneElement(Z,{fontSize:"small"===y?"small":"default"}),checkedIcon:r.cloneElement(v,{fontSize:"small"===y?"small":"default"}),classes:{root:(0,i.Z)(l.root,l["color".concat((0,f.Z)(d))]),checked:l.checked,disabled:l.disabled},name:C,checked:E,onChange:k,ref:t},x))}));const x=(0,u.Z)((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:(0,m.U1)(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:(0,m.U1)(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(y)},2682:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(7560),a=n(85354),r=n(54530),i=n(24328),c=(n(13980),n(64326)),l=n(85974),s=n(24514),d=n(28006),u=n(66049);const p=i.forwardRef((function(e,t){var n=e.actions,p=e.children,m=e.name,f=e.value,g=e.onChange,h=(0,r.Z)(e,["actions","children","name","value","onChange"]),v=i.useRef(null),Z=(0,s.Z)({controlled:f,default:e.defaultValue,name:"RadioGroup"}),y=(0,a.Z)(Z,2),x=y[0],b=y[1];i.useImperativeHandle(n,(function(){return{focus:function(){var e=v.current.querySelector("input:not(:disabled):checked");e||(e=v.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var E=(0,l.Z)(t,v),k=(0,u.Z)(m);return i.createElement(d.Z.Provider,{value:{name:k,onChange:function(e){b(e.target.value),g&&g(e,e.target.value)},value:x}},i.createElement(c.Z,(0,o.Z)({role:"radiogroup",ref:E},h),p))}))},28006:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},72909:(e,t,n)=>{n.d(t,{Z:()=>r});var o=n(24328),a=n(28006);function r(){return o.useContext(a.Z)}},37265:(e,t,n)=>{n.d(t,{Z:()=>v});var o=n(54530),a=n(51119),r=n(7560),i=n(24328),c=(n(13980),n(6277)),l=n(15459),s=n(39265),d=n(1292),u=n(74718),p=n(97580),m=n(11375),f=n(72654),g=n(93657),h=i.forwardRef((function(e,t){var n=e.action,a=e.anchorOrigin,l=(a=void 0===a?{vertical:"bottom",horizontal:"center"}:a).vertical,h=a.horizontal,v=e.autoHideDuration,Z=void 0===v?null:v,y=e.children,x=e.classes,b=e.className,E=e.ClickAwayListenerProps,k=e.ContentProps,C=e.disableWindowBlurListener,w=void 0!==C&&C,P=e.message,R=e.onClose,N=e.onEnter,I=e.onEntered,T=e.onEntering,L=e.onExit,S=e.onExited,B=e.onExiting,z=e.onMouseEnter,M=e.onMouseLeave,O=e.open,D=e.resumeHideDuration,A=e.TransitionComponent,H=void 0===A?f.Z:A,W=e.transitionDuration,$=void 0===W?{enter:s.x9.enteringScreen,exit:s.x9.leavingScreen}:W,U=e.TransitionProps,_=(0,o.Z)(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),j=i.useRef(),G=i.useState(!0),q=G[0],F=G[1],X=(0,u.Z)((function(){R&&R.apply(void 0,arguments)})),J=(0,u.Z)((function(e){R&&null!=e&&(clearTimeout(j.current),j.current=setTimeout((function(){X(null,"timeout")}),e))}));i.useEffect((function(){return O&&J(Z),function(){clearTimeout(j.current)}}),[O,Z,J]);var V=function(){clearTimeout(j.current)},Y=i.useCallback((function(){null!=Z&&J(null!=D?D:.5*Z)}),[Z,D,J]);return i.useEffect((function(){if(!w&&O)return window.addEventListener("focus",Y),window.addEventListener("blur",V),function(){window.removeEventListener("focus",Y),window.removeEventListener("blur",V)}}),[w,Y,O]),!O&&q?null:i.createElement(d.Z,(0,r.Z)({onClickAway:function(e){R&&R(e,"clickaway")}},E),i.createElement("div",(0,r.Z)({className:(0,c.Z)(x.root,x["anchorOrigin".concat((0,p.Z)(l)).concat((0,p.Z)(h))],b),onMouseEnter:function(e){z&&z(e),V()},onMouseLeave:function(e){M&&M(e),Y()},ref:t},_),i.createElement(H,(0,r.Z)({appear:!0,in:O,onEnter:(0,m.Z)((function(){F(!1)}),N),onEntered:I,onEntering:T,onExit:L,onExited:(0,m.Z)((function(){F(!0)}),S),onExiting:B,timeout:$,direction:"top"===l?"down":"up"},U),y||i.createElement(g.Z,(0,r.Z)({message:P,action:n},k)))))}));const v=(0,l.Z)((function(e){var t={top:8},n={bottom:8},o={justifyContent:"flex-end"},i={justifyContent:"flex-start"},c={top:24},l={bottom:24},s={right:24},d={left:24},u={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:(0,r.Z)({},t,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({},c,u))),anchorOriginBottomCenter:(0,r.Z)({},n,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({},l,u))),anchorOriginTopRight:(0,r.Z)({},t,o,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({left:"auto"},c,s))),anchorOriginBottomRight:(0,r.Z)({},n,o,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({left:"auto"},l,s))),anchorOriginTopLeft:(0,r.Z)({},t,i,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({right:"auto"},c,d))),anchorOriginBottomLeft:(0,r.Z)({},n,i,(0,a.Z)({},e.breakpoints.up("sm"),(0,r.Z)({right:"auto"},l,d)))}}),{flip:!1,name:"MuiSnackbar"})(h)},93657:(e,t,n)=>{n.d(t,{Z:()=>p});var o=n(54530),a=n(51119),r=n(7560),i=n(24328),c=(n(13980),n(6277)),l=n(15459),s=n(27556),d=n(41128),u=i.forwardRef((function(e,t){var n=e.action,a=e.classes,l=e.className,d=e.message,u=e.role,p=void 0===u?"alert":u,m=(0,o.Z)(e,["action","classes","className","message","role"]);return i.createElement(s.Z,(0,r.Z)({role:p,square:!0,elevation:6,className:(0,c.Z)(a.root,l),ref:t},m),i.createElement("div",{className:a.message},d),n?i.createElement("div",{className:a.action},n):null)}));const p=(0,l.Z)((function(e){var t="light"===e.palette.type?.8:.98,n=(0,d._4)(e.palette.background.default,t);return{root:(0,r.Z)({},e.typography.body2,(0,a.Z)({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(u)},98287:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},49456:(e,t,n)=>{n.d(t,{Z:()=>o});const o=n(24328).createContext()},15584:(e,t,n)=>{n.d(t,{Z:()=>m});var o=n(54530),a=n(7560),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(97580),s=n(41128),d=n(98287),u=n(49456),p=r.forwardRef((function(e,t){var n,c,s=e.align,p=void 0===s?"inherit":s,m=e.classes,f=e.className,g=e.component,h=e.padding,v=e.scope,Z=e.size,y=e.sortDirection,x=e.variant,b=(0,o.Z)(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),E=r.useContext(d.Z),k=r.useContext(u.Z),C=k&&"head"===k.variant;g?(c=g,n=C?"columnheader":"cell"):c=C?"th":"td";var w=v;!w&&C&&(w="col");var P=h||(E&&E.padding?E.padding:"default"),R=Z||(E&&E.size?E.size:"medium"),N=x||k&&k.variant,I=null;return y&&(I="asc"===y?"ascending":"descending"),r.createElement(c,(0,a.Z)({ref:t,className:(0,i.Z)(m.root,m[N],f,"inherit"!==p&&m["align".concat((0,l.Z)(p))],"default"!==P&&m["padding".concat((0,l.Z)(P))],"medium"!==R&&m["size".concat((0,l.Z)(R))],"head"===N&&E&&E.stickyHeader&&m.stickyHeader),"aria-sort":I,role:n,scope:w},b))}));const m=(0,c.Z)((function(e){return{root:(0,a.Z)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?(0,s.$n)((0,s.U1)(e.palette.divider,1),.88):(0,s._j)((0,s.U1)(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(p)},28899:(e,t,n)=>{n.d(t,{Z:()=>R});var o=n(7560),a=n(54530),r=n(24328),i=(n(13980),n(6277)),c=n(15459),l=n(74603),s=n(12231),d=n(73698),u=n(15584),p=n(15223),m=n(90436),f=n(92979),g=n(64656),h=n(60364),v=n(61837),Z=r.createElement(g.Z,null),y=r.createElement(f.Z,null),x=r.createElement(f.Z,null),b=r.createElement(g.Z,null);const E=r.forwardRef((function(e,t){var n=e.backIconButtonProps,i=e.count,c=e.nextIconButtonProps,l=e.onChangePage,s=e.page,d=e.rowsPerPage,u=(0,a.Z)(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),p=(0,h.Z)();return r.createElement("div",(0,o.Z)({ref:t},u),r.createElement(v.Z,(0,o.Z)({onClick:function(e){l(e,s-1)},disabled:0===s,color:"inherit"},n),"rtl"===p.direction?Z:y),r.createElement(v.Z,(0,o.Z)({onClick:function(e){l(e,s+1)},disabled:-1!==i&&s>=Math.ceil(i/d)-1,color:"inherit"},c),"rtl"===p.direction?x:b))}));var k=n(66049),C=function(e){var t=e.from,n=e.to,o=e.count;return"".concat(t,"-").concat(n," of ").concat(-1!==o?o:"more than ".concat(n))},w=[10,25,50,100],P=r.forwardRef((function(e,t){var n,c=e.ActionsComponent,f=void 0===c?E:c,g=e.backIconButtonProps,h=e.backIconButtonText,v=void 0===h?"Previous page":h,Z=e.classes,y=e.className,x=e.colSpan,b=e.component,P=void 0===b?u.Z:b,R=e.count,N=e.labelDisplayedRows,I=void 0===N?C:N,T=e.labelRowsPerPage,L=void 0===T?"Rows per page:":T,S=e.nextIconButtonProps,B=e.nextIconButtonText,z=void 0===B?"Next page":B,M=e.onChangePage,O=e.onChangeRowsPerPage,D=e.page,A=e.rowsPerPage,H=e.rowsPerPageOptions,W=void 0===H?w:H,$=e.SelectProps,U=void 0===$?{}:$,_=(0,a.Z)(e,["ActionsComponent","backIconButtonProps","backIconButtonText","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","nextIconButtonText","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);P!==u.Z&&"td"!==P||(n=x||1e3);var j=(0,k.Z)(),G=(0,k.Z)(),q=U.native?"option":s.Z;return r.createElement(P,(0,o.Z)({className:(0,i.Z)(Z.root,y),colSpan:n,ref:t},_),r.createElement(p.Z,{className:Z.toolbar},r.createElement("div",{className:Z.spacer}),W.length>1&&r.createElement(m.Z,{color:"inherit",variant:"body2",className:Z.caption,id:G},L),W.length>1&&r.createElement(d.Z,(0,o.Z)({classes:{select:Z.select,icon:Z.selectIcon},input:r.createElement(l.Z,{className:(0,i.Z)(Z.input,Z.selectRoot)}),value:A,onChange:O,id:j,labelId:G},U),W.map((function(e){return r.createElement(q,{className:Z.menuItem,key:e.value?e.value:e,value:e.value?e.value:e},e.label?e.label:e)}))),r.createElement(m.Z,{color:"inherit",variant:"body2",className:Z.caption},I({from:0===R?0:D*A+1,to:-1!==R?Math.min(R,(D+1)*A):(D+1)*A,count:-1===R?-1:R,page:D})),r.createElement(f,{className:Z.actions,backIconButtonProps:(0,o.Z)({title:v,"aria-label":v},g),count:R,nextIconButtonProps:(0,o.Z)({title:z,"aria-label":z},S),onChangePage:M,page:D,rowsPerPage:A})))}));const R=(0,c.Z)((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),overflow:"auto","&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})(P)}}]);
package/4850.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4850],{89925:(e,t,n)=>{n.d(t,{J:()=>Q});var a=n(24328),r=n.n(a),o=n(95544),l=n(87918),i=n.n(l),s=n(86689),c=n(90436),m=n(43054),p=n(98538),d=n(39475),u=n(52730),g=n(71153),x=n.n(g),f=n(89810),h=n(4171),b=n(63929),y=n(18527);const C=(e,t)=>{const n=e.relatedObjectUris.indexOf(t);if(n>=0)return e.relatedObjectUris[1-n]},v=e=>`${i().date(e,"LT")} ${i().date(e,"LL")}`;var E=n(79692);const w=(0,E.Z)((e=>({title:{marginBottom:"10px",color:e.palette.divider,fontSize:"12px",lineHeight:"14px"},label:{paddingLeft:"9px",borderLeft:"1px solid #D8D8D8",fontSize:"13px",color:e.palette.text.primary,lineHeight:"15px"},link:{color:e.palette.primary.main,textDecoration:"none"}}))),N=e=>{let{comment:t,className:n}=e;const l=w(),s=(0,u.useSelector)(f.ZP.selectors.getEntity),m=(0,u.useSelector)(f.ZP.selectors.getMetadata),p=(0,a.useContext)(b.X);return r().createElement(o.Z,{className:n},(()=>{switch(t.objectType){case h.q7e.ENTITY_ATTRIBUTE:{const e=(0,h.AFK)(t.objectId,s.type),n=(0,h.zeJ)(m,e);return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected attribute:")),r().createElement(c.Z,{className:l.label},null==n?void 0:n.label))}case h.q7e.ENTITY:return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected profile:")),r().createElement(y.Z,{className:x()(l.label,l.link),value:(0,h.wwR)(s)},(0,h.idV)(s.label)));case h.q7e.RELATION:{var e;const n=C(t,s.uri),a={uri:n,label:null===(e=p[n])||void 0===e?void 0:e.label};return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected relation:")),r().createElement(c.Z,{className:l.label},r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(s)},(0,h.idV)(s.label)),n&&r().createElement(r().Fragment,null,` ${i().text("to")} `,r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(a)},a.label?(0,h.idV)(a.label):(0,h.BTI)(a)))))}case h.q7e.POTENTIAL_MATCH:{var n;const e=C(t,s.uri),a={uri:e,label:null===(n=p[e])||void 0===n?void 0:n.label};return r().createElement(r().Fragment,null,r().createElement(c.Z,{className:l.title},i().text("Selected potential match:")),r().createElement(c.Z,{className:l.label},r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(s)},(0,h.idV)(s.label)),e&&r().createElement(r().Fragment,null,` ${i().text("and")} `,r().createElement(y.Z,{className:l.link,value:(0,h.wwR)(a)},a.label?(0,h.idV)(a.label):(0,h.BTI)(a)))))}default:return null}})())};var Z=n(89575);const k=(0,E.Z)((e=>({root:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",wordBreak:"break-word"}}))),S=e=>{let{comment:t,className:n}=e;const o=k(),l=(0,a.useContext)(Z.s);return r().createElement(c.Z,{className:x()(o.root,n)},function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e=>e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"+";const r=[];let o="",l=!1;for(let i=0;i<=e.length;i++){const s=e[i],c=e[i+1],m=i===e.length-1;o+=s,s===a&&0===i&&(l=!0),l&&t.includes(o.slice(a.length))&&(l=!1,r.push(n(o)),o=""),c===a&&(l=!0,r.push(o),o=""),m&&r.push(o)}return r}(t.content,t.namedUsers,(e=>{const t=l.find((t=>t.username===e.slice(1)));return t?r().createElement(s.Z,{href:`mailto:${t.email}`},e):e})).map(((e,t)=>r().createElement(a.Fragment,{key:t},e))))};var R=n(43434);const T=(0,E.Z)((e=>({root:{width:"32px",height:"32px",fontSize:"12px",color:e.palette.text.secondary,backgroundColor:"rgba(144, 164, 174, 0.2)"}})));function I(){return I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},I.apply(this,arguments)}const O=e=>{let{className:t,children:n}=e,a=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["className","children"]);const o=T();return r().createElement(R.Z,I({},a,{className:x()(o.root,t)}),n.split(".").map((e=>e[0].toUpperCase())).join(""))};var L=n(58142);const j=(0,E.Z)((e=>({header:{display:"flex"},avatar:{marginRight:"8px"},username:{marginBottom:"1px",color:e.palette.text.primary,fontSize:"13px",fontWeight:500,lineHeight:"15px"},createdAt:{marginTop:"3px",marginRight:"4px",color:e.palette.text.secondary,fontSize:"11px",lineHeight:"13px",whiteSpace:"nowrap"},body:{marginLeft:"40px"},commentTarget:{marginTop:"-15px"},message:{marginTop:"12px"},dropdownMenu:{zIndex:"3000 !important"},buttons:{marginTop:"15px",marginBottom:"12px",display:"flex","& $button + $button":{marginLeft:"10px"}},button:{fontSize:"13px",lineHeight:"15px"}}))),P=e=>{let{onReply:t,className:n,uri:l,comment:g,onStartEditing:x}=e;const h=j(),b=(0,u.useSelector)(f.ZP.selectors.getUserName),y=g.createdBy===b,{resolveThread:C,reOpenThread:E,sending:w,deleteComment:Z}=(0,a.useContext)(L.h),k=(0,a.useMemo)((()=>[{text:i().text("Edit"),onClick:x},{text:i().text("Delete"),onClick:()=>Z({uri:l,commentId:g.commentId})}]),[x,Z,l,g]);return r().createElement(o.Z,{className:n},r().createElement(o.Z,{className:h.header},r().createElement(O,{classes:{root:h.avatar}},g.createdBy),r().createElement(o.Z,{width:"100%"},r().createElement(c.Z,{className:h.username},g.createdBy)),r().createElement(c.Z,{className:h.createdAt},v(g.createdTime)),y&&r().createElement(p.Z,{buttonComponent:d.k,buttonProps:{icon:m.Z,tooltipTitle:i().text("Open menu")},popoverProps:{PopoverClasses:{root:h.dropdownMenu}},menuItems:k,menuId:"collaboration-comment-menu"})),r().createElement(o.Z,{className:h.body},r().createElement(N,{comment:g,className:h.commentTarget}),r().createElement(S,{comment:g,className:h.message}),r().createElement(o.Z,{className:h.buttons},r().createElement(s.Z,{className:h.button,onClick:t,component:"button"},i().text("Reply")),"open"===g.status&&r().createElement(s.Z,{disabled:w,className:h.button,onClick:()=>{C({commentId:g.commentId,uri:l})},component:"button"},i().text("Resolve")),"resolved"===g.status&&r().createElement(s.Z,{disabled:w,className:h.button,onClick:()=>{E({commentId:g.commentId,uri:l})},component:"button"},i().text("Re-open")))))},B=(0,E.Z)((e=>({root:{display:"flex",padding:"8px",borderRadius:"4px",backgroundColor:"rgba(0,114,206,0.06)"},avatar:{marginRight:"8px"},header:{display:"flex",marginBottom:"8px"},username:{color:e.palette.text.primary,fontSize:"13px",fontWeight:500,lineHeight:"15px"},message:{marginBottom:"8px",color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px"},createdAt:{color:e.palette.text.secondary,fontSize:"11px",lineHeight:"13px",whiteSpace:"nowrap"},marked:{marginLeft:"8px",color:e.palette.text.secondary,fontSize:"13px",fontStyle:"italic",lineHeight:"15px"}}))),z=e=>{let{className:t,reply:n}=e;const{createdBy:a,action:l,createdTime:s}=n,m=B();return r().createElement(o.Z,{className:x()(m.root,t)},r().createElement(O,{classes:{root:m.avatar}},a),r().createElement(o.Z,null,r().createElement(o.Z,{className:m.header},r().createElement(c.Z,{className:m.username},a),"resolve"===l&&r().createElement(c.Z,{className:m.marked},i().text("Marked as resolved")),"reopen"===l&&r().createElement(c.Z,{className:m.marked},i().text("Re-opened"))),"resolve"!==l&&r().createElement(S,{className:m.message,comment:n}),r().createElement(c.Z,{className:m.createdAt},v(s))))};var A=n(77277),H=n(17440),M=n(2271);const U=(0,E.Z)((e=>({root:{width:"100%",backgroundColor:"#fff",fontFamily:"Roboto","&__control":{fontSize:"13px"},"&__highlighter":{padding:"10px 22px",border:"1px solid transparent !important",maxHeight:"70px"},"&__input":{borderRadius:"2px",border:"1px solid rgba(0,0,0,0.12)",padding:"10px 22px",outline:0,maxHeight:"70px",overflow:"auto !important"},"&__suggestions":{padding:"8px 0",borderRadius:"4px",backgroundColor:"#fafafa !important",boxShadow:"0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2)",transform:"translateY(-100%)"},"&__suggestions__list":{maxHeight:"200px",overflowY:"scroll"},"&__suggestions__item":{padding:"6px 12px",color:e.palette.text.primary,fontSize:"13px",transition:e.transitions.create(["background-color"]),"&:hover, &--focused":{backgroundColor:"rgba(0,0,0,0.04)"}}},mention:{position:"relative",zIndex:1,color:e.palette.primary.main,textShadow:"1px 1px 1px white, 1px -1px 1px white, -1px 1px 1px white, -1px -1px 1px white",pointerEvents:"none"}})));function F(){return F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},F.apply(this,arguments)}const _=e=>{let{onChange:t,className:n}=e,o=function(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,["onChange","className"]);const l=U(),i=(0,a.useContext)(Z.s);return r().createElement(M.r,F({},o,{onChange:(e,n,a,r)=>{t(n,a,(0,H.uniq)(r.map((e=>{let{display:t}=e;return t.slice(1)}))))},className:x()(l.root,n)}),r().createElement(M.p,{trigger:"+",data:i.map((e=>{let{username:t}=e;return{id:t,display:t}})),displayTransform:(e,t)=>`+${t}`,appendSpaceOnAdd:!0,className:l.mention}))},D=(0,E.Z)({root:{padding:"6px 6px 6px 8px",borderRadius:"4px",backgroundColor:"rgba(0,114,206,0.06)"},textField:{maxWidth:"calc(100% - 40px)"},form:{marginBottom:0},main:{display:"flex",alignItems:"center"},avatar:{marginRight:"8px"},buttons:{marginLeft:"40px",marginTop:"8px"},button:{"& + $button":{marginLeft:"8px"}}});var $=n(29627);const W=e=>{switch(e){case"open":return i().text("Reply...");case"resolved":return i().text("Adding a comment will re-open this");default:return""}},V=e=>{let{inputRef:t,className:n,uri:l,relatedObjectUris:s,objectType:c,popperRef:m,comment:p,isEditingComment:d,onCancel:g}=e;const h=D(),b=(0,u.useSelector)(f.ZP.selectors.getUserName),{createReply:y,createComment:C,sending:v,editComment:E}=(0,a.useContext)(L.h),[w,N]=(0,a.useState)(""),[Z,k]=(0,a.useState)(""),[S,R]=(0,a.useState)([]),[T,I]=(0,a.useState)(!1),j=(0,$._)(),P=""!==w.trim(),B=T||P,z=null==p?void 0:p.status,M=(e,t,n)=>{R(n),N(e),k(t)},U=()=>{null==g||g(),M("","",[])};return(0,a.useEffect)((()=>{m&&m.current.update()}),[m,B]),(0,a.useEffect)((()=>{d?N(p.content):U()}),[d]),r().createElement(o.Z,{className:x()(h.root,n)},r().createElement("form",{onSubmit:e=>{e.preventDefault();const t=(0,H.cond)([[(0,H.always)(!p),()=>C({content:Z,namedUsers:S,objectType:c,uri:l,relatedObjectUris:s})],[(0,H.always)(d),()=>E({content:Z,namedUsers:S,commentId:p.commentId,objectType:c,replies:p.replies,relatedObjectUris:s,uri:l})],[H.T,()=>y({content:Z,namedUsers:S,commentId:p.commentId,action:"open"===p.status?"none":"reopen",uri:l})]]);return j(t()).then(U).catch(console.log)},className:h.form},r().createElement(o.Z,{className:h.main},r().createElement(O,{classes:{root:h.avatar}},b),r().createElement(_,{className:h.textField,disabled:v,onChange:(e,t,n)=>{M(e,t,n)},inputRef:t,value:w,onFocus:()=>I(!0),onBlur:()=>I(!1),placeholder:W(z)})),B&&r().createElement(o.Z,{className:h.buttons},r().createElement(A.Z,{className:h.button,variant:"contained",color:"primary",disabled:!P||v,type:"submit"},((e,t)=>t?i().text("Edit"):"open"===e||"resolved"===e?i().text("Reply"):i().text("Comment"))(z,d)),r().createElement(A.Z,{disabled:v,onClick:()=>U(),className:h.button,variant:"outlined",color:"primary"},i().text("Cancel")))))},q=(0,E.Z)((()=>({root:{maxWidth:"100%",padding:"8px 4px 10px 16px"},messages:{},repliedComment:{marginBottom:"2px"},replies:{marginLeft:"40px"},sendMessageArea:{marginLeft:"40px"},comment:{}}))),Q=(0,a.memo)((e=>{let{uri:t,relatedObjectUris:n,objectType:l,classes:i,popperRef:s,messagesRef:c,comment:m}=e;const p=(0,a.useRef)(),d=q({classes:i}),[u,g]=(0,a.useState)(!1),x=r().createElement(V,{className:d.sendMessageArea,inputRef:p,popperRef:s,uri:t,relatedObjectUris:n,objectType:l,comment:m,onCancel:()=>g(!1),isEditingComment:u});return r().createElement(o.Z,{className:d.root},m&&r().createElement(r().Fragment,null,r().createElement("div",{className:d.messages,ref:c},r().createElement(P,{comment:m,uri:t,onReply:()=>{u&&g(!1),p.current.focus()},onStartEditing:()=>{g(!0)},className:d.comment}),r().createElement(o.Z,{className:d.replies},m.replies.map((e=>r().createElement(z,{key:e.replyId,className:d.repliedComment,reply:e}))))),x),!m&&x)}))},72316:(e,t,n)=>{n.d(t,{Z:()=>L});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(79692),s=n(62901);const c=(0,i.Z)((()=>({root:{display:"flex",alignItems:"start"},addButton:{visibility:"hidden","&$showAlways":{visibility:"visible"},[`.${s.U}:hover &`]:{visibility:"visible"}},showAlways:{}})));var m=n(55962),p=n(58142),d=n(38309),u=n(87918),g=n.n(u),x=n(80030);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},f.apply(this,arguments)}const h=e=>r().createElement("svg",f({width:20,height:20,fillOpacity:.54,fill:"#000",fillRule:"nonzero",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M2.8 1h14.4c.99 0 1.8.81 1.8 1.8v10.8c0 .99-.81 1.8-1.8 1.8H4.6L1 19V2.8C1 1.81 1.81 1 2.8 1z"})),b=(0,i.Z)((()=>({root:{position:"relative",height:"18px",display:"flex",alignItems:"center",justifyContent:"center",marginLeft:"4px",cursor:"pointer"},icon:{"&:hover":{fillOpacity:.7}},childrenWrapper:{position:"absolute",width:"100%",height:"100%",lineHeight:"15px",display:"flex",alignItems:"center",justifyContent:"center",top:"-2px",left:0,right:0,bottom:0,color:"white",fontSize:"10px",pointerEvents:"none"}}))),y=r().forwardRef(((e,t)=>{let{children:n,onClick:a}=e;const o=b();return r().createElement(x.ZP,{title:g().text("Show comment")},r().createElement("div",{ref:t,className:o.root,onClick:a},r().createElement(h,{className:o.icon}),r().createElement("div",{className:o.childrenWrapper},n)))}));y.displayName="CommentButton";const C=y;function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}const E=e=>r().createElement("svg",v({width:20,height:20,fillOpacity:.54,fill:"#000",fillRule:"nonzero",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),r().createElement("path",{d:"M2.8 14.653L3.853 13.6H17.2V2.8H2.8v11.853zM17.2 1c.99 0 1.8.81 1.8 1.8v10.8c0 .99-.81 1.8-1.8 1.8H4.6L1 19V2.8C1 1.81 1.81 1 2.8 1h14.4zm-6.3 3.6H9.1v2.699L6.4 7.3v1.8l2.7-.001V11.8h1.8V9.099l2.7.001V7.3l-2.7-.001V4.6z"})),w=e=>{let{className:t,onClick:n}=e;const a=b();return r().createElement(x.ZP,{title:g().text("Add comment")},r().createElement("div",{className:l()(a.root,t),onClick:n},r().createElement(E,{className:a.icon})))};var N=n(95544),Z=n(90436),k=n(27291),S=n(89925),R=n(39475),T=n(80233);const I=(0,i.Z)((e=>({root:{},header:{display:"flex",alignItems:"center",height:"48px",paddingLeft:"16px",paddingRight:"8px"},headerInfo:{marginRight:"auto",display:"flex",alignItems:"center"},title:{marginRight:"15px",color:e.palette.text.primary,fontSize:"16px"},counter:{paddingLeft:"15px",borderLeft:"1px solid rgba(0,0,0,0.12)",color:e.palette.text.secondary,fontSize:"14px",lineHeight:"24px"},resolveButton:{zIndex:3e3,"&:hover":{backgroundColor:"transparent"}},popper:{width:"424px",borderRadius:"0 0 4px 4px"},collaborationItem:{padding:"0 0 10px 0"},comment:e=>{let{hasScroll:t}=e;return{marginLeft:"16px",marginRight:t?"2px":"8px"}},replies:e=>{let{hasScroll:t}=e;return{marginLeft:"8px",marginRight:t?"2px":"8px"}},sendMessageArea:e=>{let{hasScroll:t,scrollWidth:n}=e;return{marginLeft:"8px",marginRight:t?n+2:"8px"}},messages:{maxHeight:"400px",overflowY:"auto"}}))),O=e=>{let{uri:t,relatedObjectUris:n,objectType:o,anchorEl:l,onClose:i,open:s,comment:c}=e;const[m,d]=(0,a.useState)(0),u=I({scrollWidth:m,hasScroll:0!==m}),x=(0,a.useRef)(null),{resolveThread:f,loading:h,sending:b}=(0,a.useContext)(p.h),y=1+(null==c?void 0:c.replies.length);return r().createElement(T.Z,{popperRef:x,anchorEl:l,open:s,placement:"right-start",onClose:i,className:u.popper},r().createElement(N.Z,{className:u.header},r().createElement(N.Z,{className:u.headerInfo},r().createElement(Z.Z,{className:u.title},g().text("Comments")),c&&!h&&r().createElement(Z.Z,{className:u.counter},g().number(y)," ",1===y?g().text("item"):g().text("items"))),c&&!h&&r().createElement(R.k,{className:u.resolveButton,size:"S",onClick:()=>{f({commentId:c.commentId,uri:t})},disabled:b,showForDisabled:!0,tooltipTitle:g().text("Resolve"),icon:k.Z,color:"primary"})),!h&&r().createElement(S.J,{popperRef:x,messagesRef:e=>{e&&d(e.offsetWidth-e.clientWidth)},classes:{root:u.collaborationItem,replies:u.replies,sendMessageArea:u.sendMessageArea,messages:u.messages,comment:u.comment},uri:t,relatedObjectUris:n,objectType:o,comment:c}))},L=e=>{let{className:t,uri:n,objectType:o,relatedObjectUris:i,onChangePopupVisibility:s,allowOnlyOneComment:u=!1,showAlways:g=!1}=e;const x=c(),[f,h]=(0,a.useState)(null),[b,y]=(0,a.useState)(!1),v=b&&Boolean(f),{currentComment:E,commentsMap:N,getComment:Z,clearCurrentComment:k,objectTypes:S}=(0,a.useContext)(p.h),R=!!N&&(!S||S.includes(o)),T=((null==N?void 0:N[n])||[]).filter((e=>{let{status:t}=e;return"resolved"!==t})).reverse(),I=!u||u&&0===T.length,L=null===E&&v;(0,m.D)((()=>{s&&s(v)}),[v]);const j=(0,a.useContext)(d.A),P=(0,a.useMemo)((()=>j?[...i,...j]:i),[j,i]);return R&&r().createElement("div",{className:l()(x.root,t)},I&&r().createElement(w,{className:l()(x.addButton,{[x.showAlways]:g||L}),onClick:e=>{h(e.currentTarget),y(!0)}}),T.map((e=>{let{replies:t,commentId:n}=e;return r().createElement(C,{ref:n===(null==E?void 0:E.commentId)?h:null,key:n,onClick:()=>(e=>{Z(e),y(!0)})(n)},1+t)})),r().createElement(O,{anchorEl:f,open:v,onClose:()=>{h(null),k(),y(!1)},uri:n,relatedObjectUris:P,objectType:o,comment:E}))}},98538:(e,t,n)=>{n.d(t,{Z:()=>E});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(17440),s=n(77277),c=n(48348),m=n(55962),p=n(12231),d=n(90436),u=n(78223),g=n(79692),x=n(41128);const f=(0,g.Z)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,x.U1)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,x.U1)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),h=(0,u.Z)(p.Z),b=(0,a.forwardRef)(((e,t)=>{let{item:n,onMenuClose:a=i.identity}=e;const o=f(),{disabled:l,text:s,tooltip:c,onClick:m,id:p=""}=n;return r().createElement(h,{tooltipTitle:c,showForDisabled:!0,classes:{root:o.menuItem},onClick:e=>{a(e),m(e)},disabled:l,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${p}`},r().createElement(d.Z,{classes:{root:o.menuText}},s))}));b.displayName="MenuItemRenderer";const y=b;function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},C.apply(this,arguments)}function v(e){let{className:t,menuId:n,buttonComponent:o=s.Z,buttonContent:p,menuItems:d=[],buttonProps:u={},popoverProps:g={},onMenuOpen:x=i.identity,onMenuClose:h=i.identity,MenuItemRenderer:b=y}=e;const v=o,E=f(),w=(0,a.useRef)(),[N,Z]=(0,a.useState)(!1);(0,m.D)((()=>{N?x():h()}),[N]);const k=(0,a.useCallback)((e=>{null==e||e.stopPropagation(),Z((e=>!e))}),[]);return r().createElement(r().Fragment,null,r().createElement(v,C({ref:w,className:l()(E.buttonRoot,{[E.selected]:N},t),onClick:k,"aria-pressed":N,"aria-controls":N?n:void 0,"aria-haspopup":"true"},u),p),r().createElement(c.Z,C({id:n,variant:"menu",open:N,autoFocus:!1,classes:{paper:E.paper},anchorEl:w.current,onClose:k,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,getContentAnchorEl:null,MenuListProps:{autoFocusItem:N}},g),d.map(((e,t)=>r().createElement(b,{item:e,key:t,onMenuClose:k})))))}v.displayName="DropDownMenuButton";const E=v},37573:(e,t,n)=>{n.d(t,{Z:()=>p});var a=n(24328),r=n.n(a),o=n(52730),l=n(71153),i=n.n(l),s=n(43434),c=n(4171),m=n(89810);const p=e=>{let{entity:t,avatarClassName:n,imageClassName:a}=e;const l=(0,o.useSelector)(m.ZP.selectors.getMetadata),p=(0,o.useSelector)(m.ZP.selectors.getAbsoluteImagePath)||"",d=(0,c.uie)(l,p,t),u=(0,c.vPL)(p,(0,c.XH2)(l,t.type)),g=e=>{e.target.onError=null,e.target.src=(0,c.m5F)('\n<svg width="400px" height="400px" viewBox="0 0 400 400" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Group</title>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g id="Group" fill-rule="nonzero">\n <rect id="Rectangle" fill="#DFE5E9" x="0" y="0" width="400" height="400"></rect>\n <path d="M0,387.023257 L0,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 0,387.023257 Z" id="Path" fill="#B3BCC4"></path>\n <path d="M0,387.023257 L0,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 0,387.023257 Z" id="Path" fill="#B3BCC4"></path>\n <path d="M5.68434189e-14,387.023257 L5.68434189e-14,399.918908 L400,399.918908 L400,386.023594 C366.631,377.336524 321.866,364.269931 315.979,359.161654 C308.985,353.083704 270.481,310.508063 270.481,310.508063 L270.481,286.186267 C270.481,286.186267 284.478,266.204006 284.478,261.854473 C284.478,257.515936 285.353,246.219746 291.481,241.011503 C297.61,235.792263 311.607,211.471466 312.481,206.253226 C313.355,201.043983 319.484,188.009379 312.481,185.400259 C305.478,182.801135 307.236,173.244359 308.984,168.026119 C310.733,162.817875 319.484,139.355788 322.981,133.277838 C326.488,127.199888 312.481,108.956041 312.481,108.956041 C312.481,108.956041 294.978,80.2857109 245.975,53.3547939 C196.971,26.4138803 168.967,42.9283105 168.967,42.9283105 L161.964,60.3024507 C161.964,60.3024507 138.341,64.6409874 123.46,77.6765909 C108.589,90.7121943 99.837,106.346921 98.963,115.903698 C98.088,125.460475 103.334,159.339048 105.966,164.557289 C108.589,169.765532 112.96,185.400259 112.96,185.400259 C112.96,185.400259 108.589,183.670842 105.966,188.879085 C103.334,194.097325 112.085,218.419122 112.96,220.159535 C113.834,221.897949 114.718,238.403382 119.963,237.532676 C125.218,236.663969 130.463,251.42799 130.463,251.42799 C130.463,251.42799 143.596,271.41125 144.47,275.759783 C145.344,280.09832 147.967,307.039233 147.967,307.039233 L126.967,331.36103 L102.46,355.682827 C102.459,355.682827 34.042,375.886013 5.68434189e-14,387.023257 Z" id="Path" fill="#B3BCC4"></path>\n </g>\n </g>\n</svg>\n')};return r().createElement(s.Z,{className:i()(n,a),src:d,imgProps:{onError:g}},r().createElement("img",{className:a,src:u,alt:"fallback entity avatar",onError:g}))}},20146:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),r=n.n(a),o=n(52730),l=n(71153),i=n.n(l),s=n(90436),c=n(4171),m=n(89810);const p=(0,n(79692).Z)({"entityType-small":{padding:"1px 4px",fontSize:"10px",lineHeight:"normal",display:"inline-flex",marginRight:"12px",borderRadius:"2px"},"entityType-medium":{padding:"2px 8px 3px",borderRadius:"2px",fontSize:"13px",fontWeight:500,lineHeight:"15px",display:"inline-flex",marginRight:"16px"}}),d=e=>{let{entity:t,className:n,size:a="small"}=e;const l=p(),d=(0,o.useSelector)(m.ZP.selectors.getMetadata),u=t.type,g=(0,c.nt9)(d,u)||{},x=(0,c.VD3)(d,g,"typeColor")||c.rSc.palette.primary.main;return r().createElement(s.Z,{style:{backgroundColor:x,color:c.P6Y.Colors.getColor(x)?"#FFFFFF":"#212121"},className:i()(l[`entityType-${a}`],n),component:"div"},(0,c.jFi)(d,t))}},18527:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(24328),r=n.n(a),o=n(52730),l=n(12212),i=n(89810),s=n(4171);const c=(0,a.forwardRef)(((e,t)=>{let{value:n,children:c,className:m}=e;const p=(0,o.useDispatch)(),d=(0,a.useContext)(l.m),u=(0,o.useSelector)(i.ZP.selectors.getUIPath),g=(0,a.useCallback)((()=>{p(i.ui.actions.openEntity({uri:n,viewId:d}))}),[d,n,p]);return r().createElement("a",{ref:t,href:(x=n,(0,s.ChB)({uiPath:u,uri:x})),onClick:e=>{g(),e.stopPropagation(),e.preventDefault()},className:m},c);var x}));c.displayName="EntityUriLink";const m=c},87378:(e,t,n)=>{n.d(t,{Z:()=>c});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(67358);const s=(0,n(79692).Z)({loadingOverlay:{position:"absolute",width:"100%",height:"100%",top:0,left:0,opacity:.37,zIndex:10,backgroundColor:"#fff"},transparent:{backgroundColor:"transparent"},relativePosition:{"&$loadingOverlay":{position:"relative"}}}),c=e=>{let{transparent:t=!1,relativePosition:n=!1,className:a}=e;const o=s();return r().createElement(r().Fragment,null,r().createElement("div",{className:l()(o.loadingOverlay,a,{[o.transparent]:t,[o.relativePosition]:n})},r().createElement(i.Z,{color:"secondary"})))}},80233:(e,t,n)=>{n.d(t,{Z:()=>d});var a=n(24328),r=n.n(a),o=n(71153),l=n.n(o),i=n(27556),s=n(1292),c=n(95544),m=n(7421);const p=(0,n(79692).Z)((e=>{const t=e.palette.background.paper;return{popoverRoot:{backgroundColor:t,maxWidth:1e3},popper:{'&[x-placement*="bottom"] $arrow':{top:0,left:0,marginTop:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"0 100%"}},'&[x-placement*="top"] $arrow':{bottom:0,left:0,marginBottom:"-0.71em",marginLeft:4,marginRight:4,"&::before":{transformOrigin:"100% 0"}},'&[x-placement*="right"] $arrow':{left:0,marginLeft:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"100% 100%"}},'&[x-placement*="left"] $arrow':{right:0,marginRight:"-0.71em",height:"1em",width:"0.71em",marginTop:4,marginBottom:4,"&::before":{transformOrigin:"0 0"}}},arrow:{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t,"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",boxShadow:e.shadows[1],backgroundColor:"currentColor",transform:"rotate(45deg)"}}}})),d=e=>{let{anchorEl:t,placement:n="top",arrow:a=!0,open:o,onClose:d=(()=>{}),children:u,className:g,popperRef:x}=e;const f=p(),[h,b]=r().useState(null);return r().createElement(m.Z,{anchorEl:t,placement:n,className:l()(f.popper,g),modifiers:{preventOverflow:{enabled:!0,boundariesElement:"window"},arrow:{enabled:a,element:h}},open:o,modal:!1,popperRef:x},r().createElement(c.Z,null,r().createElement(s.Z,{onClickAway:e=>{var t;t=e.target,Array.from(document.querySelectorAll("[data-modal]")).some((e=>e.contains(t)))||d()}},r().createElement(i.Z,{className:f.popoverRoot},a?r().createElement("span",{className:f.arrow,ref:b}):null,r().createElement(c.Z,null,u)))))}},33109:(e,t,n)=>{n.d(t,{Z:()=>w});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(71153),s=n.n(i),c=n(52730),m=n(17440),p=n(90436),d=n(80030),u=n(87918),g=n.n(u),x=n(4171),f=n(89810),h=n(37573),b=n(63127),y=n(20146);const C=(0,n(79692).Z)((e=>({profileBandWrapper:{flexShrink:0},profileBand:{display:"flex",padding:"16px 12px 16px 16px",alignItems:"flex-start",backgroundColor:"#fff",boxShadow:"inset 0 -1px 0 0 rgba(0,114,206,0.06), inset 0 1px 0 0 rgba(0,114,206,0.06);","&: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"}},scores:{display:"flex",flexGrow:1,justifyContent:"flex-end",paddingRight:"20px"}})));function v(){return v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}const E=e=>{let{className:t,entity:n,scoresToShow:o,rangeColorsConfig:l,children:i,classes:u}=e;const E=C({classes:u}),w=(0,c.useSelector)(f.ZP.selectors.getMetadata),N=(0,a.useCallback)((()=>{navigator.clipboard.writeText((0,x.BTI)(n))}),[n]);if((0,m.isNil)(n))return null;const Z=(0,x.idV)(n.label),k=n.secondaryLabel,S=(0,x.ptG)(w,n),R=(0,x.Fn9)(n),T=(0,x.AET)(w,n,o),I=n.uri,O=(0,x.BTI)(n);return r().createElement("div",{className:s()(E.profileBandWrapper,t)},r().createElement("div",{className:s()(E.profileBand,{[E.inactive]:!R}),"data-entity-uri":I},r().createElement(h.Z,{key:n.uri,entity:n,avatarClassName:E.profileIcon,imageClassName:E.imageProfileIcon}),r().createElement("div",{className:E.profileInfo},r().createElement("div",null,r().createElement(p.Z,{variant:"h6",className:E.label},Z),k&&r().createElement(p.Z,{variant:"subtitle2",className:E.secondaryLabel},k),S&&r().createElement(p.Z,{variant:"subtitle1",className:E.businessCard},S)),r().createElement("div",{className:E.specialInfo},r().createElement("div",{className:E.entityType},r().createElement(y.Z,{entity:n,size:"medium",className:E.badge}),T.length>0&&r().createElement("div",{className:E.scores},T.map((e=>r().createElement(b.Z,v({key:e.uri},e,{rangeColorsConfig:l}))))),!(0,x.ZiX)(I)&&r().createElement(d.ZP,{title:g().text("Copy to clipboard")},r().createElement(p.Z,{display:"inline",variant:"body2",className:E.entityId,onClick:N},g().text("Entity ID"),": ",O))))),i&&r().createElement("div",null,i)))};E.propTypes={className:l().string,entity:l().object,scoresToShow:l().arrayOf(l().string),rangeColorsConfig:l().object,children:l().node,classes:l().object};const w=E},63127:(e,t,n)=>{n.d(t,{Z:()=>u});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(71153),s=n.n(i),c=n(4171),m=n(74139),p=n(46801);const d=e=>{let{label:t,value:n,uri:a,rangeColorsConfig:o,className:l}=e;const i=(0,p.y)();return r().createElement("div",{className:s()(i.container,l),key:a},r().createElement(m.Z,{attrTypeUri:a,label:t}),r().createElement("span",{className:i.value,style:{color:(0,c.Uz2)(a,n,o)}},n))};d.propTypes={label:l().string,value:l().oneOfType([l().string,l().number]),uri:l().string,rangeColorsConfig:l().object,className:l().string};const u=d},74139:(e,t,n)=>{n.d(t,{Z:()=>x});var a=n(24328),r=n.n(a),o=n(13980),l=n.n(o),i=n(87918),s=n.n(i),c=n(17440),m=n(46801);const p=()=>{const e=(0,m.m)();return r().createElement(r().Fragment,null,r().createElement("span",null,"DQ"),r().createElement("span",{className:e.dqiq},"IQ"))},d=["analyticsAttributes/DQ/analyticsAttributes/score","analyticsAttributes/DQ"],u=["analyticsAttributes/IQ/analyticsAttributes/score","analyticsAttributes/IQ"],g=e=>{let{label:t="",attrTypeUri:n=""}=e;const a=n.indexOf("analyticsAttributes/"),o=n.substr(a),l=(0,c.includes)(o,d),i=(0,c.includes)(o,u);return(0,c.cond)([[(0,c.always)(l),(0,c.always)(r().createElement(p,null))],[(0,c.always)(i),(0,c.always)(s().text("Rank"))],[c.T,(0,c.always)(t)]])()};g.propTypes={label:l().string,attrTypeUri:l().string};const x=g},46801:(e,t,n)=>{n.d(t,{y:()=>r,m:()=>o});var a=n(79692);const r=(0,a.Z)({container:{display:"flex",flexShrink:0,marginLeft:"10px",alignItems:"center"},value:{marginLeft:"4px",minWidth:"20px",textAlign:"center"}}),o=(0,a.Z)({dqiq:{width:"14px",height:"14px",lineHeight:"14px",background:"#e6605e",color:"#fff",fontSize:"10px",fontWeight:100,marginLeft:"2px",marginRight:"1px",borderRadius:"2px",display:"inline-flex",justifyContent:"center",alignItems:"center",flexShrink:0,textIndent:0}})},62901:(e,t,n)=>{n.d(t,{U:()=>a});const a="commentsContainerVisibilityArea"},58142:(e,t,n)=>{n.d(t,{h:()=>o});var a=n(24328);const r=()=>{},o=n.n(a)().createContext({comments:[],commentsMap:null,currentComment:null,getComment:r,getComments:()=>new Promise(r),getCommentsCount:r,createComment:()=>new Promise(r),editComment:()=>new Promise(r),createReply:()=>new Promise(r),resolveThread:r,reOpenThread:r,clearCurrentComment:r,deleteComment:r,sending:!1,loading:!1,pageToken:null});o.displayName="CollaborationContext"},63929:(e,t,n)=>{n.d(t,{X:()=>r});var a=n(24328);const r=n.n(a)().createContext({});r.displayName="EntitiesMapContext"},38309:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(24328);const r=n.n(a)().createContext([]);r.displayName="RelatedObjectUrisContext"},89575:(e,t,n)=>{n.d(t,{s:()=>r});var a=n(24328);const r=n.n(a)().createContext([]);r.displayName="UsersContext"},12212:(e,t,n)=>{n.d(t,{m:()=>r});var a=n(24328);const r=n.n(a)().createContext(null);r.displayName="ViewIdContext"}}]);
package/4992.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[4992],{89998:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea"}},54053:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n.Z});var n=r(43434)},6782:(e,t,r)=>{t.Z=function(e){if("string"!=typeof e)throw new Error((0,n.formatMuiErrorMessage)(7));return e.charAt(0).toUpperCase()+e.slice(1)};var n=r(65144)},65549:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}),"Add");t.Z=a},77224:(e,t,r)=>{var n=r(14859);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"}),"Business");t.default=a},38016:(e,t,r)=>{var n=r(14859);t.Z=void 0;var o=n(r(24328)),a=(0,n(r(50175)).default)(o.default.createElement("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");t.Z=a},98018:(e,t,r)=>{t.ZP=void 0;var n=p(r(54053)),o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,t&&t.set(e,r),r}(r(24328)),a=p(r(99340)),i=p(r(77224)),u=p(r(13980)),l=p(r(80835)),c=p(r(97339)),f=p(r(71153));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function p(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var w=p(r(89998)).default[500],P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(u,e);var t,r,a=function(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}return function(){var r,n=m(e);if(t()){var o=m(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return b(this,r)}}(u);function u(){var e;v(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return O(g(e=a.call.apply(a,[this].concat(r))),"state",{error:!1}),O(g(e),"handleError",(function(){e.setState({error:!0})})),e}return t=u,(r=[{key:"render",value:function(){var e=this.props,t=e.entityType,r=e.storagePath,a=e.classes,u=e.backgroundColor,c=e.color,s=e.className,p=t.typeIcon||t.typeImage;if(p&&!this.state.error)return o.default.createElement(n.default,{className:(0,f.default)(s,a.avatar),style:{border:"2px solid ".concat(t.typeColor||w),backgroundColor:"#FFFFFF"},src:r+p,imgProps:{onError:this.handleError}});var d=(0,l.default)(t);return o.default.createElement(n.default,{className:(0,f.default)(s,a.avatar),style:{border:"2px solid ".concat(t.typeColor||w),backgroundColor:u||t.typeColor||w,color:c}},d&&d.charAt(0)||o.default.createElement(i.default,null))}}])&&h(t.prototype,r),u}(o.PureComponent);O(P,"propTypes",{entityType:u.default.shape({typeColor:u.default.string,typeIcon:u.default.string,typeImage:u.default.string,label:u.default.string,uri:u.default.string}),className:u.default.string,classes:u.default.shape({avatar:u.default.string}),storagePath:u.default.string,backgroundColor:u.default.string,color:u.default.string}),O(P,"defaultProps",{storagePath:"https://reltio-images.s3.amazonaws.com/api/",entityType:{},color:"#FFFFFF"});var _=(0,a.default)(c.default)(P);t.ZP=_},97339:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={avatar:{"& img":{display:"flex",flexDirection:"row",alignItems:"center","&::before":{width:"100%"}}}}},80835:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e?(0,o.default)(e,"label")||(0,o.default)(e,"uri","").slice((0,o.default)(e,"uri","").lastIndexOf("/")+1):null};var n,o=(n=r(72579))&&n.__esModule?n:{default:n}},70347:(e,t,r)=>{r.d(t,{ZP:()=>_}),r(22220);var n=r(7560),o=(r(51068),r(11720)),a=r(51119),i=r(64659),u=r(4730),l=(r(38111),r(96474)),c=r(50591),f=r(75630),s=r(24328),p=r.n(s),d=(r(27377),r(75047),r(58921),r(92391)),v=r(54573),h=(r(78951),r(19976),r(61950),r(64486));function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var b,g,m,O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r=String(e).toLowerCase(),n=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return n===r||o===r},w=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach((function(t){(0,a.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,r){return!(!e||t.some((function(t){return O(e,t)}))||r.some((function(t){return O(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),P=(b=v.S,m=g=function(e){(0,l.Z)(s,e);var t,r,a=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,f.Z)(t);if(r){var o=(0,f.Z)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function s(e){var t;(0,i.Z)(this,s),(t=a.call(this,e)).select=void 0,t.onChange=function(e,r){var n=t.props,a=n.getNewOptionData,i=n.inputValue,u=n.isMulti,l=n.onChange,c=n.onCreateOption,f=n.value,s=n.name;if("select-option"!==r.action)return l(e,r);var p=t.state.newOption,v=Array.isArray(e)?e:[e];if(v[v.length-1]!==p)l(e,r);else if(c)c(i);else{var h=a(i,i),y={action:"create-option",name:s};l(u?[].concat((0,o.Z)((0,d.C)(f)),[h]):h,y)}};var r=e.options||[];return t.state={newOption:void 0,options:r},t}return(0,u.Z)(s,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.allowCreateWhileLoading,r=e.createOptionPosition,n=e.formatCreateLabel,a=e.getNewOptionData,i=e.inputValue,u=e.isLoading,l=e.isValidNewOption,c=e.value,f=e.options||[],s=this.state.newOption;s=l(i,(0,d.C)(c),f)?a(i,n(i)):void 0,this.setState({newOption:s,options:!t&&u||!s?f:"first"===r?[s].concat((0,o.Z)(f)):[].concat((0,o.Z)(f),[s])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var e=this,t=this.state.options;return p().createElement(b,(0,n.Z)({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))}}]),s}(s.Component),g.defaultProps=w,m);const _=(0,h.m)(P)},44711:(e,t,r)=>{r.d(t,{ZP:()=>i}),r(22220),r(58527),r(51068),r(75182),r(81260);r(64659),r(4730),r(38111),r(96474),r(50591),r(75630);var n=r(24328),o=(r(36631),r(27377),r(75047),r(58921),r(54573)),a=(r(78951),r(19976),r(61950),r(64486));r(5049);n.Component;const i=(0,a.m)(o.S)}}]);
package/5541.js DELETED
@@ -1 +0,0 @@
1
- (self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[5541,3980],{14859:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}}},2196:(e,s,t)=>{"use strict";var a=t(14859);s.__esModule=!0,s.default=function(e,s){e.classList?e.classList.add(s):(0,r.default)(e,s)||("string"==typeof e.className?e.className=e.className+" "+s:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+s))};var r=a(t(57218));e.exports=s.default},57218:(e,s)=>{"use strict";s.__esModule=!0,s.default=function(e,s){return e.classList?!!s&&e.classList.contains(s):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+s+" ")},e.exports=s.default},24812:e=>{"use strict";function s(e,s){return e.replace(new RegExp("(^|\\s)"+s+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=s(e.className,t):e.setAttribute("class",s(e.className&&e.className.baseVal||"",t))}},68262:(e,s,t)=>{"use strict";var a=t(23586);function r(){}function c(){}c.resetWarningCache=r,e.exports=function(){function e(e,s,t,r,c,n){if(n!==a){var o=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw o.name="Invariant Violation",o}}function s(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:s,element:e,elementType:e,instanceOf:s,node:e,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:c,resetWarningCache:r};return t.PropTypes=t,t}},13980:(e,s,t)=>{e.exports=t(68262)()},23586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);